From a48bc3c3abca09fc2759113144e7360274d080ac Mon Sep 17 00:00:00 2001 From: Georg Mangold <67909897+georgmangold@users.noreply.github.com> Date: Mon, 14 Jul 2025 14:25:35 +0200 Subject: [PATCH] test for removing and don't pushing web-app build folder --- web-app/.gitignore | 5 +- web-app/build/Loader.svg | 42 ----- web-app/build/agpl-logo.svg | 25 --- web-app/build/agpl.svg | 1 - web-app/build/amazon.png | Bin 9185 -> 0 bytes web-app/build/amqp-logo.svg | 1 - web-app/build/amqp.png | Bin 30271 -> 0 bytes web-app/build/android-icon-144x144.png | Bin 4381 -> 0 bytes web-app/build/android-icon-192x192.png | Bin 6124 -> 0 bytes web-app/build/android-icon-36x36.png | Bin 1017 -> 0 bytes web-app/build/android-icon-48x48.png | Bin 1495 -> 0 bytes web-app/build/android-icon-72x72.png | Bin 2165 -> 0 bytes web-app/build/android-icon-96x96.png | Bin 2881 -> 0 bytes web-app/build/apple-icon-180x180.png | Bin 5592 -> 0 bytes web-app/build/asset-manifest.json | 120 -------------- web-app/build/aws-logo.svg | 38 ----- web-app/build/azure-logo.svg | 1 - web-app/build/azure.png | Bin 8888 -> 0 bytes web-app/build/elasticsearch-logo.svg | 1 - web-app/build/elasticsearch.png | Bin 8003 -> 0 bytes web-app/build/favicon-16x16.png | Bin 405 -> 0 bytes web-app/build/favicon-32x32.png | Bin 713 -> 0 bytes web-app/build/favicon-96x96.png | Bin 2151 -> 0 bytes web-app/build/favicon.ico | Bin 16958 -> 0 bytes web-app/build/gcs-logo.svg | 1 - web-app/build/gcs.png | Bin 7804 -> 0 bytes web-app/build/images/ob_bucket_clear.svg | 6 - web-app/build/images/ob_bucket_filled.svg | 6 - web-app/build/images/ob_file_clear.svg | 10 -- web-app/build/images/ob_file_filled.svg | 10 -- web-app/build/images/ob_folder_clear.svg | 10 -- web-app/build/images/ob_folder_filled.svg | 10 -- .../images/object-browser-folder-icn.svg | 11 -- web-app/build/images/object-browser-icn.svg | 6 - web-app/build/images/search-icn.svg | 3 - web-app/build/images/trash-icn.svg | 6 - web-app/build/index.html | 1 - web-app/build/kafka-logo.svg | 1 - web-app/build/kafka.png | Bin 10782 -> 0 bytes web-app/build/lambda-rect.svg | 1 - web-app/build/logo192.png | Bin 9284 -> 0 bytes web-app/build/logo512.png | Bin 15302 -> 0 bytes web-app/build/manifest.json | 50 ------ web-app/build/minio-logo.svg | 1 - web-app/build/minioTier.png | Bin 7679 -> 0 bytes web-app/build/mqtt-logo.svg | 1 - web-app/build/mqtt.png | Bin 24598 -> 0 bytes web-app/build/mysql-logo.svg | 1 - web-app/build/mysql.png | Bin 19940 -> 0 bytes web-app/build/nats-logo.svg | 1 - web-app/build/nats.png | Bin 25129 -> 0 bytes web-app/build/nsq-logo.svg | 1 - web-app/build/postgres-logo.svg | 1 - web-app/build/postgres.png | Bin 46793 -> 0 bytes web-app/build/redis-logo.svg | 1 - web-app/build/redis.png | Bin 48048 -> 0 bytes web-app/build/robots.txt | 2 - web-app/build/safari-pinned-tab.svg | 25 --- web-app/build/scripts/pdf.worker.min.mjs | 29 ---- web-app/build/static/css/main.849b542e.css | 1 - .../build/static/js/1004.94a825c6.chunk.js | 1 - web-app/build/static/js/116.d72fac0b.chunk.js | 1 - .../build/static/js/1366.9849e99a.chunk.js | 1 - .../build/static/js/1634.60fdc0b6.chunk.js | 1 - .../build/static/js/1715.27bf60ec.chunk.js | 1 - .../build/static/js/1869.0f80c90a.chunk.js | 1 - .../build/static/js/1988.2b6fa00d.chunk.js | 1 - .../build/static/js/2258.40327c01.chunk.js | 1 - .../build/static/js/2499.a423e5db.chunk.js | 1 - .../build/static/js/2587.52daa1fb.chunk.js | 1 - .../build/static/js/2643.e00d71a1.chunk.js | 1 - .../build/static/js/2684.c186c305.chunk.js | 1 - .../build/static/js/2797.c53d9c9c.chunk.js | 1 - .../build/static/js/2813.f128a9fb.chunk.js | 1 - .../build/static/js/2896.27ff0208.chunk.js | 1 - .../build/static/js/2928.999f6aa5.chunk.js | 1 - .../build/static/js/2979.1c1ffc3c.chunk.js | 1 - .../build/static/js/3126.ab390859.chunk.js | 1 - .../build/static/js/3214.ed7fb3fd.chunk.js | 1 - .../build/static/js/3477.3cc8bd40.chunk.js | 1 - .../build/static/js/3541.34ae70ef.chunk.js | 1 - .../build/static/js/3576.89f6718c.chunk.js | 1 - .../build/static/js/3697.ae39b184.chunk.js | 1 - .../build/static/js/4043.e97d09a3.chunk.js | 1 - .../build/static/js/4121.4051bbf5.chunk.js | 1 - .../build/static/js/4169.96b3dd33.chunk.js | 1 - .../build/static/js/4186.1b3f78a1.chunk.js | 1 - .../build/static/js/4274.247cb27e.chunk.js | 1 - .../build/static/js/4388.f2cdce6f.chunk.js | 1 - .../build/static/js/4402.d8bb81a3.chunk.js | 1 - .../build/static/js/4517.ecaf7d95.chunk.js | 1 - .../build/static/js/4540.7d7510b7.chunk.js | 1 - .../build/static/js/4599.93da78de.chunk.js | 1 - .../build/static/js/4758.894e4bf0.chunk.js | 1 - .../build/static/js/4803.2a486f1b.chunk.js | 1 - .../build/static/js/4857.17d79bcb.chunk.js | 1 - .../build/static/js/4860.8173be96.chunk.js | 1 - .../build/static/js/4945.b4f6f750.chunk.js | 1 - .../build/static/js/4964.f7712fa8.chunk.js | 1 - .../build/static/js/5028.88444243.chunk.js | 1 - .../build/static/js/5169.f67830ab.chunk.js | 1 - .../build/static/js/5238.1b851f9f.chunk.js | 1 - .../build/static/js/5354.36064e92.chunk.js | 1 - .../build/static/js/5412.7b253da5.chunk.js | 1 - .../build/static/js/5465.15dfdf24.chunk.js | 1 - .../build/static/js/5503.a9d9da00.chunk.js | 1 - .../build/static/js/5692.8621ba1a.chunk.js | 1 - web-app/build/static/js/583.f19c0589.chunk.js | 1 - web-app/build/static/js/593.fb5ea6de.chunk.js | 1 - .../build/static/js/5938.d0dc8bf3.chunk.js | 1 - .../build/static/js/6215.3e9b6962.chunk.js | 1 - .../build/static/js/6242.24c7dc20.chunk.js | 1 - .../build/static/js/6481.f7633420.chunk.js | 1 - .../build/static/js/6582.fb2dceaa.chunk.js | 1 - web-app/build/static/js/66.6c94b445.chunk.js | 1 - .../build/static/js/6644.a53d4ec8.chunk.js | 1 - .../build/static/js/6681.da659a1c.chunk.js | 1 - web-app/build/static/js/669.7276830a.chunk.js | 1 - .../build/static/js/6777.aa21fae5.chunk.js | 1 - web-app/build/static/js/68.5a8e7ba6.chunk.js | 1 - .../build/static/js/7102.28d59501.chunk.js | 1 - .../build/static/js/7356.3b77119f.chunk.js | 1 - .../build/static/js/7389.2d39bf47.chunk.js | 1 - .../build/static/js/7401.cd4f5830.chunk.js | 1 - .../build/static/js/7445.6ddb0188.chunk.js | 1 - .../build/static/js/7470.4b28f453.chunk.js | 2 - .../js/7470.4b28f453.chunk.js.LICENSE.txt | 153 ------------------ .../build/static/js/7478.a490512a.chunk.js | 1 - web-app/build/static/js/756.0c323599.chunk.js | 1 - .../build/static/js/7726.cd9216d1.chunk.js | 1 - .../build/static/js/7852.bfb1c5b8.chunk.js | 1 - .../build/static/js/7945.948a1b2f.chunk.js | 1 - .../build/static/js/7958.d5f7989a.chunk.js | 1 - .../build/static/js/8231.bd61de62.chunk.js | 1 - .../build/static/js/8308.b17edc51.chunk.js | 1 - .../build/static/js/8350.64629895.chunk.js | 1 - .../build/static/js/8399.dbae1106.chunk.js | 1 - .../build/static/js/8530.2dee5b9d.chunk.js | 1 - .../build/static/js/8682.65338008.chunk.js | 1 - .../build/static/js/8796.a27f6ee3.chunk.js | 1 - .../build/static/js/8814.7ba6f8b7.chunk.js | 1 - .../build/static/js/8894.9c332859.chunk.js | 1 - .../build/static/js/9010.3d0cf884.chunk.js | 1 - .../build/static/js/9033.9a564e55.chunk.js | 1 - .../build/static/js/9117.3c176205.chunk.js | 1 - .../build/static/js/9185.cc2a0952.chunk.js | 1 - .../build/static/js/9287.2ebcab7b.chunk.js | 1 - .../build/static/js/9459.730903fb.chunk.js | 1 - .../build/static/js/9506.f54e4e5b.chunk.js | 1 - .../build/static/js/9559.cf39aa7d.chunk.js | 1 - .../build/static/js/9636.04da1350.chunk.js | 1 - web-app/build/static/js/main.1266bae7.js | 2 - .../static/js/main.1266bae7.js.LICENSE.txt | 127 --------------- .../Inter-Black.15ca31c0a2a68f76d2d1.woff2 | Bin 102868 -> 0 bytes .../Inter-Black.c6938660eec019fefd68.woff | Bin 138764 -> 0 bytes ...nter-BlackItalic.ca1e738e4f349f27514d.woff | Bin 146824 -> 0 bytes ...ter-BlackItalic.cb2a7335650c690077fe.woff2 | Bin 108752 -> 0 bytes .../Inter-Bold.93c1301bd9f486c573b3.woff | Bin 143208 -> 0 bytes .../Inter-Bold.ec64ea577b0349e055ad.woff2 | Bin 106140 -> 0 bytes ...nter-BoldItalic.2d26c56a606662486796.woff2 | Bin 111808 -> 0 bytes ...Inter-BoldItalic.b376885042f6c961a541.woff | Bin 151052 -> 0 bytes .../Inter-Italic.890025e726861dba417f.woff | Bin 144372 -> 0 bytes .../Inter-Italic.cb10ffd7684cd9836a05.woff2 | Bin 106876 -> 0 bytes .../Inter-Light.2d5198822ab091ce4305.woff2 | Bin 104332 -> 0 bytes .../Inter-Light.994e34451cc19ede31d3.woff | Bin 140632 -> 0 bytes ...nter-LightItalic.ef9f65d91d2b0ba9b2e4.woff | Bin 150092 -> 0 bytes ...ter-LightItalic.f86952265d7b0f02c921.woff2 | Bin 111332 -> 0 bytes .../Inter-Regular.8c206db99195777c6769.woff | Bin 133844 -> 0 bytes .../Inter-Regular.c8ba52b05a9ef10f4758.woff2 | Bin 98868 -> 0 bytes .../Inter-Thin.29b9c616a95a912abf73.woff | Bin 135920 -> 0 bytes .../Inter-Thin.fff2a096db014f6239d4.woff2 | Bin 99632 -> 0 bytes .../media/background.435dd27a31c18d712ec4.jpg | Bin 42887 -> 0 bytes web-app/build/styles/root-styles.css | 20 --- web-app/build/verified.svg | 58 ------- web-app/build/webhooks-logo.svg | 1 - 175 files changed, 4 insertions(+), 878 deletions(-) delete mode 100644 web-app/build/Loader.svg delete mode 100644 web-app/build/agpl-logo.svg delete mode 100644 web-app/build/agpl.svg delete mode 100644 web-app/build/amazon.png delete mode 100644 web-app/build/amqp-logo.svg delete mode 100644 web-app/build/amqp.png delete mode 100644 web-app/build/android-icon-144x144.png delete mode 100644 web-app/build/android-icon-192x192.png delete mode 100644 web-app/build/android-icon-36x36.png delete mode 100644 web-app/build/android-icon-48x48.png delete mode 100644 web-app/build/android-icon-72x72.png delete mode 100644 web-app/build/android-icon-96x96.png delete mode 100644 web-app/build/apple-icon-180x180.png delete mode 100644 web-app/build/asset-manifest.json delete mode 100644 web-app/build/aws-logo.svg delete mode 100644 web-app/build/azure-logo.svg delete mode 100644 web-app/build/azure.png delete mode 100644 web-app/build/elasticsearch-logo.svg delete mode 100644 web-app/build/elasticsearch.png delete mode 100644 web-app/build/favicon-16x16.png delete mode 100644 web-app/build/favicon-32x32.png delete mode 100644 web-app/build/favicon-96x96.png delete mode 100644 web-app/build/favicon.ico delete mode 100644 web-app/build/gcs-logo.svg delete mode 100644 web-app/build/gcs.png delete mode 100644 web-app/build/images/ob_bucket_clear.svg delete mode 100644 web-app/build/images/ob_bucket_filled.svg delete mode 100644 web-app/build/images/ob_file_clear.svg delete mode 100644 web-app/build/images/ob_file_filled.svg delete mode 100644 web-app/build/images/ob_folder_clear.svg delete mode 100644 web-app/build/images/ob_folder_filled.svg delete mode 100644 web-app/build/images/object-browser-folder-icn.svg delete mode 100644 web-app/build/images/object-browser-icn.svg delete mode 100644 web-app/build/images/search-icn.svg delete mode 100644 web-app/build/images/trash-icn.svg delete mode 100644 web-app/build/index.html delete mode 100644 web-app/build/kafka-logo.svg delete mode 100644 web-app/build/kafka.png delete mode 100644 web-app/build/lambda-rect.svg delete mode 100644 web-app/build/logo192.png delete mode 100644 web-app/build/logo512.png delete mode 100644 web-app/build/manifest.json delete mode 100644 web-app/build/minio-logo.svg delete mode 100644 web-app/build/minioTier.png delete mode 100644 web-app/build/mqtt-logo.svg delete mode 100644 web-app/build/mqtt.png delete mode 100644 web-app/build/mysql-logo.svg delete mode 100644 web-app/build/mysql.png delete mode 100644 web-app/build/nats-logo.svg delete mode 100644 web-app/build/nats.png delete mode 100644 web-app/build/nsq-logo.svg delete mode 100644 web-app/build/postgres-logo.svg delete mode 100644 web-app/build/postgres.png delete mode 100644 web-app/build/redis-logo.svg delete mode 100644 web-app/build/redis.png delete mode 100644 web-app/build/robots.txt delete mode 100644 web-app/build/safari-pinned-tab.svg delete mode 100644 web-app/build/scripts/pdf.worker.min.mjs delete mode 100644 web-app/build/static/css/main.849b542e.css delete mode 100644 web-app/build/static/js/1004.94a825c6.chunk.js delete mode 100644 web-app/build/static/js/116.d72fac0b.chunk.js delete mode 100644 web-app/build/static/js/1366.9849e99a.chunk.js delete mode 100644 web-app/build/static/js/1634.60fdc0b6.chunk.js delete mode 100644 web-app/build/static/js/1715.27bf60ec.chunk.js delete mode 100644 web-app/build/static/js/1869.0f80c90a.chunk.js delete mode 100644 web-app/build/static/js/1988.2b6fa00d.chunk.js delete mode 100644 web-app/build/static/js/2258.40327c01.chunk.js delete mode 100644 web-app/build/static/js/2499.a423e5db.chunk.js delete mode 100644 web-app/build/static/js/2587.52daa1fb.chunk.js delete mode 100644 web-app/build/static/js/2643.e00d71a1.chunk.js delete mode 100644 web-app/build/static/js/2684.c186c305.chunk.js delete mode 100644 web-app/build/static/js/2797.c53d9c9c.chunk.js delete mode 100644 web-app/build/static/js/2813.f128a9fb.chunk.js delete mode 100644 web-app/build/static/js/2896.27ff0208.chunk.js delete mode 100644 web-app/build/static/js/2928.999f6aa5.chunk.js delete mode 100644 web-app/build/static/js/2979.1c1ffc3c.chunk.js delete mode 100644 web-app/build/static/js/3126.ab390859.chunk.js delete mode 100644 web-app/build/static/js/3214.ed7fb3fd.chunk.js delete mode 100644 web-app/build/static/js/3477.3cc8bd40.chunk.js delete mode 100644 web-app/build/static/js/3541.34ae70ef.chunk.js delete mode 100644 web-app/build/static/js/3576.89f6718c.chunk.js delete mode 100644 web-app/build/static/js/3697.ae39b184.chunk.js delete mode 100644 web-app/build/static/js/4043.e97d09a3.chunk.js delete mode 100644 web-app/build/static/js/4121.4051bbf5.chunk.js delete mode 100644 web-app/build/static/js/4169.96b3dd33.chunk.js delete mode 100644 web-app/build/static/js/4186.1b3f78a1.chunk.js delete mode 100644 web-app/build/static/js/4274.247cb27e.chunk.js delete mode 100644 web-app/build/static/js/4388.f2cdce6f.chunk.js delete mode 100644 web-app/build/static/js/4402.d8bb81a3.chunk.js delete mode 100644 web-app/build/static/js/4517.ecaf7d95.chunk.js delete mode 100644 web-app/build/static/js/4540.7d7510b7.chunk.js delete mode 100644 web-app/build/static/js/4599.93da78de.chunk.js delete mode 100644 web-app/build/static/js/4758.894e4bf0.chunk.js delete mode 100644 web-app/build/static/js/4803.2a486f1b.chunk.js delete mode 100644 web-app/build/static/js/4857.17d79bcb.chunk.js delete mode 100644 web-app/build/static/js/4860.8173be96.chunk.js delete mode 100644 web-app/build/static/js/4945.b4f6f750.chunk.js delete mode 100644 web-app/build/static/js/4964.f7712fa8.chunk.js delete mode 100644 web-app/build/static/js/5028.88444243.chunk.js delete mode 100644 web-app/build/static/js/5169.f67830ab.chunk.js delete mode 100644 web-app/build/static/js/5238.1b851f9f.chunk.js delete mode 100644 web-app/build/static/js/5354.36064e92.chunk.js delete mode 100644 web-app/build/static/js/5412.7b253da5.chunk.js delete mode 100644 web-app/build/static/js/5465.15dfdf24.chunk.js delete mode 100644 web-app/build/static/js/5503.a9d9da00.chunk.js delete mode 100644 web-app/build/static/js/5692.8621ba1a.chunk.js delete mode 100644 web-app/build/static/js/583.f19c0589.chunk.js delete mode 100644 web-app/build/static/js/593.fb5ea6de.chunk.js delete mode 100644 web-app/build/static/js/5938.d0dc8bf3.chunk.js delete mode 100644 web-app/build/static/js/6215.3e9b6962.chunk.js delete mode 100644 web-app/build/static/js/6242.24c7dc20.chunk.js delete mode 100644 web-app/build/static/js/6481.f7633420.chunk.js delete mode 100644 web-app/build/static/js/6582.fb2dceaa.chunk.js delete mode 100644 web-app/build/static/js/66.6c94b445.chunk.js delete mode 100644 web-app/build/static/js/6644.a53d4ec8.chunk.js delete mode 100644 web-app/build/static/js/6681.da659a1c.chunk.js delete mode 100644 web-app/build/static/js/669.7276830a.chunk.js delete mode 100644 web-app/build/static/js/6777.aa21fae5.chunk.js delete mode 100644 web-app/build/static/js/68.5a8e7ba6.chunk.js delete mode 100644 web-app/build/static/js/7102.28d59501.chunk.js delete mode 100644 web-app/build/static/js/7356.3b77119f.chunk.js delete mode 100644 web-app/build/static/js/7389.2d39bf47.chunk.js delete mode 100644 web-app/build/static/js/7401.cd4f5830.chunk.js delete mode 100644 web-app/build/static/js/7445.6ddb0188.chunk.js delete mode 100644 web-app/build/static/js/7470.4b28f453.chunk.js delete mode 100644 web-app/build/static/js/7470.4b28f453.chunk.js.LICENSE.txt delete mode 100644 web-app/build/static/js/7478.a490512a.chunk.js delete mode 100644 web-app/build/static/js/756.0c323599.chunk.js delete mode 100644 web-app/build/static/js/7726.cd9216d1.chunk.js delete mode 100644 web-app/build/static/js/7852.bfb1c5b8.chunk.js delete mode 100644 web-app/build/static/js/7945.948a1b2f.chunk.js delete mode 100644 web-app/build/static/js/7958.d5f7989a.chunk.js delete mode 100644 web-app/build/static/js/8231.bd61de62.chunk.js delete mode 100644 web-app/build/static/js/8308.b17edc51.chunk.js delete mode 100644 web-app/build/static/js/8350.64629895.chunk.js delete mode 100644 web-app/build/static/js/8399.dbae1106.chunk.js delete mode 100644 web-app/build/static/js/8530.2dee5b9d.chunk.js delete mode 100644 web-app/build/static/js/8682.65338008.chunk.js delete mode 100644 web-app/build/static/js/8796.a27f6ee3.chunk.js delete mode 100644 web-app/build/static/js/8814.7ba6f8b7.chunk.js delete mode 100644 web-app/build/static/js/8894.9c332859.chunk.js delete mode 100644 web-app/build/static/js/9010.3d0cf884.chunk.js delete mode 100644 web-app/build/static/js/9033.9a564e55.chunk.js delete mode 100644 web-app/build/static/js/9117.3c176205.chunk.js delete mode 100644 web-app/build/static/js/9185.cc2a0952.chunk.js delete mode 100644 web-app/build/static/js/9287.2ebcab7b.chunk.js delete mode 100644 web-app/build/static/js/9459.730903fb.chunk.js delete mode 100644 web-app/build/static/js/9506.f54e4e5b.chunk.js delete mode 100644 web-app/build/static/js/9559.cf39aa7d.chunk.js delete mode 100644 web-app/build/static/js/9636.04da1350.chunk.js delete mode 100644 web-app/build/static/js/main.1266bae7.js delete mode 100644 web-app/build/static/js/main.1266bae7.js.LICENSE.txt delete mode 100644 web-app/build/static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2 delete mode 100644 web-app/build/static/media/Inter-Black.c6938660eec019fefd68.woff delete mode 100644 web-app/build/static/media/Inter-BlackItalic.ca1e738e4f349f27514d.woff delete mode 100644 web-app/build/static/media/Inter-BlackItalic.cb2a7335650c690077fe.woff2 delete mode 100644 web-app/build/static/media/Inter-Bold.93c1301bd9f486c573b3.woff delete mode 100644 web-app/build/static/media/Inter-Bold.ec64ea577b0349e055ad.woff2 delete mode 100644 web-app/build/static/media/Inter-BoldItalic.2d26c56a606662486796.woff2 delete mode 100644 web-app/build/static/media/Inter-BoldItalic.b376885042f6c961a541.woff delete mode 100644 web-app/build/static/media/Inter-Italic.890025e726861dba417f.woff delete mode 100644 web-app/build/static/media/Inter-Italic.cb10ffd7684cd9836a05.woff2 delete mode 100644 web-app/build/static/media/Inter-Light.2d5198822ab091ce4305.woff2 delete mode 100644 web-app/build/static/media/Inter-Light.994e34451cc19ede31d3.woff delete mode 100644 web-app/build/static/media/Inter-LightItalic.ef9f65d91d2b0ba9b2e4.woff delete mode 100644 web-app/build/static/media/Inter-LightItalic.f86952265d7b0f02c921.woff2 delete mode 100644 web-app/build/static/media/Inter-Regular.8c206db99195777c6769.woff delete mode 100644 web-app/build/static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2 delete mode 100644 web-app/build/static/media/Inter-Thin.29b9c616a95a912abf73.woff delete mode 100644 web-app/build/static/media/Inter-Thin.fff2a096db014f6239d4.woff2 delete mode 100644 web-app/build/static/media/background.435dd27a31c18d712ec4.jpg delete mode 100644 web-app/build/styles/root-styles.css delete mode 100644 web-app/build/verified.svg delete mode 100644 web-app/build/webhooks-logo.svg diff --git a/web-app/.gitignore b/web-app/.gitignore index 7aa4ad5e24..a493aafc79 100644 --- a/web-app/.gitignore +++ b/web-app/.gitignore @@ -29,4 +29,7 @@ yarn-error.log* !.yarn/sdks !.yarn/versions -yarn.log \ No newline at end of file +yarn.log + +# Build +build/ \ No newline at end of file diff --git a/web-app/build/Loader.svg b/web-app/build/Loader.svg deleted file mode 100644 index 85076a0f80..0000000000 --- a/web-app/build/Loader.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web-app/build/agpl-logo.svg b/web-app/build/agpl-logo.svg deleted file mode 100644 index 64d745ce28..0000000000 --- a/web-app/build/agpl-logo.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - diff --git a/web-app/build/agpl.svg b/web-app/build/agpl.svg deleted file mode 100644 index 149816dc0e..0000000000 --- a/web-app/build/agpl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/amazon.png b/web-app/build/amazon.png deleted file mode 100644 index 80296722b616eae8128c023b1b02f13b0f6a7a5d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9185 zcmeHN^;Z-?*Cuv}ML>xqq`L$GDQO8oLaC);X{1XUfyG4uX(?$Csof=)4wsbfW@!YG zMoQ}A{Tsd?zVn^){xIjvnRDjMGtb<6=b3va>W%hGQV=}|2M32#T}@dR2M1T+KaGgs zek33y?i~&e3y!+7qQ1YyUbg#Z#u?+DTt8HDsxF$C;*Ea(^Obk}tZQh#Nj!9os{S60 zEg`E()C-2Zx@4B_N5KlgQ8&bLV!mu&5PDP2x>0p({i;7cK2tNVSRhbTIpBhWE2dCz z<@^#Ktyc!sOH$ieR}KeD*%{u$gNw~4`!agQu6r4x2bZk}GUwMJ@nJN?2{^<&tSql~ zzh!VJ;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-GPsY#TZoyx=w8QCKJ}%GvH8Vm061w} zMPnt&)&YFdAyxZN8fu$rp1r`F+9I;=Qe8xHQadldODe+4vaisz=S$h zG`!}KPu2|*ae(D)KX~O)uPS@y(g*wrmpp>D5gvOgxTXY$6aWn`kY$dSOYPdb`wXrd z;<_YNYXwL@6&w?kWa~B%;;v2flTe#H1U}B05lstj2i6LO-6LkiK zXgcYLy<1bWrj(_-+}l%pBDao}%)+&LYN@l zJ;K`pG{>kD9u)%8oSVXpYYwGO3`$By(T|DS>VFTnrpasQXW|91>tgx&<91Pjrr*7sj`aMV?_l~FICu>S$`y{2mb diff --git a/web-app/build/amqp-logo.svg b/web-app/build/amqp-logo.svg deleted file mode 100644 index 5b2cfec44d..0000000000 --- a/web-app/build/amqp-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/amqp.png b/web-app/build/amqp.png deleted file mode 100644 index 1636373cd57a4a23ab6a1a0171d9b6c65999f6a1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 30271 zcmc$_1#nzFvo@GGW@g7sF*A*sDdw0N#>~tdGqW8tGcz+YGc(1^?49?1_q%(y>fgVX zS5;GUM$>Awbfly1r=Ju0OI92K76Auow4n+&6jt+0`)*-v+SBSm*vB?EU0 z15QH{em)`|S1ynODq$OfzWM*VwWMg1rregwdF|u+ou@n7gAp!MfZ)nV= zAR_jkeSv=Ql9)O=+Hx^4xVX5`yRgvP*qbmgadL7pFfubRGt+@2=p5Xv9f7WN)()iq z)*xc!U|?@%>u6?UP4tgOpuUZhBQFWa(ti!X%2r0^zZ6?L{O3f0ri{TAXv@Gv&&Xh9 z_0PEeL)yVn!RUWA<9{gapyXz2#Gqj0VB=(O0Jr2lRVn!EpbNB;VywWEXxFA3-$dP6fqE=D6G0H*;H6CEojGb0@|JCVZ02#&b&szC!Yvq&?RD!HznX+yaxEi7)hNV*ee#7z^=f0+e` zC=}P(dZG`X4Ev z#7|J^jf(-50J8tB^u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bdF*m z`#*yc+3^}r??=v3#V_~M1qR>ljDNtvea{EL!TG(1gTsWa8~WSm9UPe!Y{}1m@NjS+ z@c%z-KtzT6fA{!a4cqg7KlOik!+%E#_rEdzJJSCR{(pPJ|4!5Y8T@~z>A%7MZ*TbD liT(e7jqVliN#7yCIX8T;sqcH5`EN;AX$b}KN>L-f{|CX5lpX*8 diff --git a/web-app/build/android-icon-144x144.png b/web-app/build/android-icon-144x144.png deleted file mode 100644 index 70e43f7973896e991d5a86324053f8d8cca2fd80..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4381 zcmYjVcRbYpA3r*KJ1aya8w-cnc3@*73%EE%nWB_gd|@iGO|~8p)xMc zjI5H#==b*h{`0%X<8z;JpZ9vcUhn7g`8vE2N{4}#n-&6rFzD%Ont*fa`9VzyzSp!# zP2fc1t83v8fsjd_A7qsZhn3*r#Q-hy08=05fFOInyO5xuAPF~b4}V8{-@6h%elB_2 zH@G1X=I45vYUp6XR=$Tp`bVCQLVfWV4mP$VBn`1C#0+vpW?Np%#HovAOq;kC{)wX?o%tX5 zjox=tY+n{Su3HNk^^YJlzP&>uC@5v!<=)V>)Sp6iHVZCx7rV(I$frgR4TNEJH`G#T zZ62DhfBP2Q+^pp4>I%t6Q7Pp!=H})WH8ij*DJgZ>Nj>a!z;e6v#Is1bPl{60(M9d< z`o=$c6d4^2jZaC5J3oOt0gc#QsVfnw^nI5GoMbwE+D|F()L>$4ADptE9WF7sy1SFE zHmW~;I5~-aB6FA4py0;EX9hXsG&D4=%d3%U0;%)faho4&G(tiYGqSV08$3RCcsJ77 zOhX*|5^)yw&T7ui!o#`pbb^9{(Gr7q!z_!QKZhg24yAZiBY4k#Z%RHL!shh!Xqq<% zh`lhcRX=Hg{pPB!t~NI}kC&E~riNft!FZ8iKJtM90o3y|DCy+Q$Z#He|M>Z66*cLi-j$lo4X3d1>3u zcm4YH5DWeZ+R2%jM?=|?oMCFM_cXP%7C+a!DB6k`)9#=C`r>GA{$wFxf$oZ=B-4nq ztc%B0I4)89%IfkmH8H@JM@&pCcyn4DHEkeAZg%HRiDflM>*tq@G3q!00RhYpN%b-l z{N1~ECqLd|``D$gufLEVL?o-4f(M8(v$IpUH*k}dmZ-EnJ+IO8tMF#%UmaNSqh@4` z*!VL$J*^G|kE6dBsi&v+q_8lhKZU{F@Xebyk!O8Y?GefcKYtqMWZRKj zT;s5=bE4T9N!KrHvg;(j5xOt>y0MW?K0E-yYi?#1llQkzUsDr;c$}J^uCYS@`Z9Tr zfv|z0;aY>eWa}j*ujGh< zd2@5ttr4e6Uq0+}MRh)G3EU!Wy*Mt`N{9~>#89~V`1I?g3uB3F0Ii+2UwrNjmMY~s z>!RG<1KRH zRgacoXi+x8!S+&$>OqAH1}ejyL>Q8Na27U-%EFViVaAU1rqj|`8#hVTMFjocMd63wJx}P-<&YmEf7iCO2#i(N4iA3Ji8 zD=RDOYil~;ejsl?jgNPjea7hAy?Zq_F3xnvAB(NMd8EivQCUf&p`lS}=uT`6iTa+p zlGxX$9d>rKR(YU=KydN!@Z_&PlK?w=ZCU3Bk54O3AulQLjY`ynYfq(Vxyja1%g)
\ No newline at end of file diff --git a/web-app/build/kafka-logo.svg b/web-app/build/kafka-logo.svg deleted file mode 100644 index 43cfd55349..0000000000 --- a/web-app/build/kafka-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/kafka.png b/web-app/build/kafka.png deleted file mode 100644 index 8e878373cd5a9db43f1d54d1936e8153fd05d72b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10782 zcmbVycTkhvw=PHr=>e49Yv>SaKzc_yp+jOQ5+L*rf=CZdiqbox0TU3EBAuupA}SE1 zBTYbxf^@yn?|kRpKYnxO&dE$B@4K?r-fQnw^6ckLnuWOmEj2qe5fKrsk)f^?5fL%) z&zq8*Ac>643MG7857C2!SO<89gnI*Ni}Vzq%25PMnP3p ziTA%={Dj$pZh5L&>FWR2T!cF?zjsIo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5)V~ME(oOBQ^`20>ofv;z9is7hF~wA}(bQ \ No newline at end of file diff --git a/web-app/build/logo192.png b/web-app/build/logo192.png deleted file mode 100644 index 69bf9d7710ac6469d335583de06ee5a4f6d490ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9284 zcmd6NbyyYM7WW)NN$HgC?rsU`?v6u9*Fi!+8kG*|t^)`NN`rJG-Q5Br-Ti^@z3=sV zzkC1x<~)1$nzh$&)vPto>}Sq<6(wm@Btj$r08nLRB-I|~mdAncKZ`uY#_b(Zk2N`zY z;S69t3>Of`ZyNi74hppf;Qob8dYB&%nTPS9^{-jQ+QY)m-W1~KLdMC$&%(|IaIkT3 z2(YsWuyK>Ib3PKBTmS%@1^SOaSulU=Y{`QC5B;co7P$!bVM270(RBp?WUR*l0#efO z0RWEHT0;k-qo^PNcC=?PHFq?#VDYebdPD(29s&=fy#>US%){Q!!BxORnBupDzytlr zW~CteEdsF>rqEGTA(L=)u^{7NVPj#V5J4g%BNK8lw-iv5eEBccQ;bO8J+Pf9sL7a0RQ1I$ z3lVmq-@*LJ`cEeQlKx#rI+E588eJc~c^wG@YP55o%Pu@S} zb^ha)2=Bjr`jh!jfbM?-{K@xetvig7lE|e?J67kiylU=P1;ncF&y|uOsQ@Yuc!&k@=P+dZ}ECo-kWp-p_7ok%`B2 zz{TatQFfY zHQAi3k_(K{<0xP)x{XfFDWkQh>Ml&(td3F7T;A|j{a7g5tl3->ztfk!$i)PoB1GH- zzA?#BxEVt!y0=p-G(B8)|GB@8t->khG8;af%H0~`>ZaH*)Yh}FFgMgl-=PA_plYC} zJuaEzI4A_=Rc8R!llJX#PK_rayWHs&a)kNEhr^YF1iWhoX*yFgHwq#@nI;6{k>bIF z&Vj7YoR}TkloztO;n*gJshf9phn=r~)P_+THo}NKo0$@D7&JXN9-{mvx`gJL1Y@u? zW%gq?mRZePsSS`yq6#8-|G5qu&n%`tleE)n6ZahCAyP2pi1y9v$Drc`uO!FV*S|#O7Lwk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%qL^^v$%ucz&F6(7Z^wP*rtOguFTV}0pqXVLNE z5=PO>ab;+3Rye-*c3{5xnRN^BEOt=AiVuBpka-?? z#GIb6Qb8xxENNz|bK3Z{{~_?v_-cX` z|MXD<79M5*nz6_kjJKaF@m_VF^V`)AV?9c;6L>6HevH6@s*{5S9w%BZ<5boZkW{k+rTCWAf(Pt*mTSCiIGJ!>6Q{;&x^NB-ir9VtkJf4DaK z;RNxpd}Gah(%!~wP>L?#qhvw{ylXL`VDnU3-g3Np&*gEoCSm$UXBE)-8c+r zUCbPUGyXsaGm+7P5mKWZ$@OhpZm&qmLeW3=DM05$hA4cCVkg?+9HN}mR-apDd)+iw zQj~|}#Qdls#T*%sx{G+(gZQ8}W!^G|tpXfyU2AUQ0P!duDKJPthGp~5Mi{?Xkg~cMsAcSzcDgp8 z!m(`qpvoiVw)hwckb5Ge2!aQczZ$z4fy8?Kp!8Y5vh~@gK}LX%;QvQsNX)QmN8-G# z{iloocFJ`c@*wsTq|PVse&VW4%|`SyF1>jHV*VFdfC^a~nub0W|IHLTxx>lIpbIw| ziVF4HW*p#1ddJju)h?zmlFQKE#q(yYnrO`4#$k> z=5o~-vQU7H!u)$vv{d-}6sIu@AGP`H@$6sQ$<`0=$jNF9Xxp!73K2|Mh3P^8?kGkicvFTWiK322Ya_h?G1 zzDp)yY{BiytFmK5paR#^C|12rp#Fpne4#QC`7&kyYO%|EBv{p&8R`Z@Y}=LAduox* zu79lBoVuezDTC;I{>|C7%dFzpIeyho1@frR5nT8AK`F-ZinnifN*(x*_dZKK{uxGA MN=dRz+$7-t04UbDlmGw# diff --git a/web-app/build/logo512.png b/web-app/build/logo512.png deleted file mode 100644 index 407c51380410459aab7179a1577715edaeda7377..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15302 zcmeHui93{S^zbu}F~*ibWh=%K3Q-ZV4Jw2vl`YwlrR*xZXCy>QLWE447WY98?Gu!vU^_!uT_YypPi1Jj!Ur1LRl1)wtA~xTGr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P6E Z)X}_-aWC} \ No newline at end of file diff --git a/web-app/build/minioTier.png b/web-app/build/minioTier.png deleted file mode 100644 index a94d8a42ec6aecf5aee01b97411aede73d4e0bc1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7679 zcmeHM=Q|sG)Yevws#+~dl~j$AQWUjU)TSt6KU!)Pk4;px8hdXwTSW+JQ;E^WdWcdh zcI=th5|qU2{U6>B?}vUkU(R)|-+i6?-1oVD*L7lE7-})z;JQIYMa8J24Kkskx&r*) zprg6W1cxU2Q&I8s=z!E-2H9=r2fw?$O71P3n!A@f_b@j(Zk9GC8MGrR9D5G@r%JXF zD^f-*;{z+cU}kv~-5@f~yQFhRn7zuX+B{rS^9Fc_{|bP<<-gGRK0(yz1fQPie>;N& zvf_}leKp1SaA4s0jG`Fqoc$^EIp4{9D!TVn0@T#HTcA&TR9E>_`GERYnW?V0(W!#R zKoRO{RMdRHfh&JAf7$q}gugEMzjlGx?M#t8=1_h>8!TCDp;qUI$|ufnU2R|5)0C{v zLOS(uV%O(@AX->5>&UD+9ZUWcE#RSW4)d4DWJ3-DrqARa&PH1>@iws#sgef~NrHA23GH1f&!jZCWgyz`DI@8sp@`=%x?yGHkMt~!(D2X3 zEQ_tY5Kw(gbeDGYpu7O4+!wFt3oi z+^hO)T+QL#IVo!=_*#ZI`u&c6zYxD}+8g@j#hLx9s_rPm zU0&bM^_0&h)VSN&d9jv*c?szBKGtmz|CVyzlJolbPN3hI@HU2f8Bke2CM^pSFhD(i z;9%_Y9$IvC(Uub7r{BjLGQBk)R$sbztf^ELF^C1U7Rc`}v#3Sp61K}aXDu2J25NKL zU8_!;+iHPiMN4>GumqIQTMM1O7ZOU0c{RFnKKpOTve(5(jhfX?Qcb`?O43Apz1#)xs>P%#qm#n<)$41~j7gO+uO*Eop z=k#V6(Y(J)yx!kg{Mvt%hMYgK<^^){cvRE$T%GK}g6jPU;$d{LJ8!hE{iPs^l%l80 zHSPp7@0{3nf3eTs+Csdj<99G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k`!+|Asw zI%0p>WrY@bwMsjGR|cLXtkCxo#!+7=N39bTMpccngT2silxNHRr&{t+e%Uo7Mre1e8QW7YEE-XH1ZR6l|mr9WNDb+cM-ZvP@TX_3i`T! zM-S`KFwH;HUf!);g}u`Rvwjrto)Z1W7#G%WCpq6d?q&4?879Lx(U9to%vKRFkpJIb z{Wg)Px=Hz>HM2FOl1=bM%TK(261XS8bRnr29AU-mN6wMtA-J5+q%O4`BbTet%$aSQ zzWYOSkAWDLsOwy*1&04YWd&4s$9#Q!AuW2#Pt#~aDI$tceTbl0eDfnxS%%oG+mk-fCw2JO$u$uHyQbWxjGtTc% zl|xRYBTue_aQGo7+4VSdYHXOa)A`v~|HbBhk78sqeiE6JcG&LrjWU=Ywox_C-^SsG zT^Kl(jSvF1FWBqKSl2Y#DZ$2>cwhp@7Kbe&>Vy)VjzsTj~V(ky=yD^a@1XIB@&2SqREiX9MSkW5%~}YeGQ(~`03W+*fLP! zEoe;0vp{;yej)WNW1BwK@Kwg>3XVs-4pjwbroujbO!b5azuDlv5^(=|%|x|0gB~I@ z+MK&X%yp#Tp9K5XHanU>Eq?1&4e;e3$J>ndJKJSbme@DIO2O?B5%@@boX>rbSvM;y z=RHm?C4CObS9#Fi4U5w?^z{wW8YIw_DO|Bac}ZXIW*6 z8rm&YlRw|$ySmR2%~uuVc3jkw7mge#?HAHzvPV^a9bDt~9lS7`PE*pb;+9t(9Hixv z`h6goxPzIQSuBM0v+aG6s*H=}Wx1EK?>O+AvF{2*(ADbHc?rrxl4J<~O;Qm)G%TIUud=rK0TtCncVCA9|3;J z%zs@Q8&vvUdz6eQ;LL-32O(UdjWk9`z-YY(iNJd5uK^%c6f7|vnp ozh!?3`Kyq>Uig2%94OZgtHUi^Yu<8Q9(Jj8Gz~%D)c* \ No newline at end of file diff --git a/web-app/build/mqtt.png b/web-app/build/mqtt.png deleted file mode 100644 index 54c66969cbdec2e205f299f1e2ddceb2d6a6fed7..0000000000000000000000000000000000000000 GIT binary patch literal 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4124~AzLCHK2HdiL* zxt-p*qp`Fnkx63qThOxIsf|`ii(*sVivN3K+7=e#UjfJ_KfF{dEeR45DNLQNYBGFI zi?eBH*J#0>vtJG65ydogGs{kb$l)CWcpDp7oe5it19yLhxbT=bLCSN0E5R^3{pEIf z7o68Eztl0XhLDKm`h#W(^S!y5@xFV^{8!SPng9=(@w!;-p&#e97wN@+&8Btlh2|30 z3TmYMi0?_H3t_ReOCIk19m_yP6~j`{g^kX<({TQi4!qPqNFhiB=Q>{6Qy8^a7cfU& zL_X3`3F8p`Q)0`1tN1DCcB+*_@-aKlIH0aCujgD z+n>*ps`g59;Jaq~mA$}{VVFu`^vi^+-)$dsFos|Iv7Co=Vl<0IPeVPzs! ziYwqgYe98mY}u0$F$un!k12aFT=^gb5e(m$RzIieXxc-Lgk;eSdEUP^cry;z8=#hA z3AH@+`0S(?aIC=B!SC*nLp$sUN&%oGfzzMKAp-EW!R(PxWPv;E>G=yRt5(IUTl>8O zo&M&*{|Wl;^-6JwHbDBawIVXKIhB7*R98RCOUZ=~#c*E*AZWb#t$i*qu%!*3iwM+zi~p%l&;Fl20qKAA7})>O|2NrlA03nX Yg?e-UMri>$=--o76g1?kWi7(~3*FPqR{#J2 diff --git a/web-app/build/mysql-logo.svg b/web-app/build/mysql-logo.svg deleted file mode 100644 index c87a4e325a..0000000000 --- a/web-app/build/mysql-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/mysql.png b/web-app/build/mysql.png deleted file mode 100644 index 2610494104d3aa832d2e7744948e825cc6518be5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19940 zcmcG#1yG#dvM(Bv;O_43ZiBnK4sHX%-QC?`u;A_lcY@0h2yVe41h?RJ`R{%9J+EG! zy7lT-y{Vd-{(Ab?wpRE0*7|0mRh4Cs5eN`IeE5JYCo8G`;R6)YKW{jgcaFDzg8Tai zzMGV;n}(yMo2RJ@=!2MrqZx=y&fe4tqz*E*@OB;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`UuT_^Ea6i)zzL_>!hQOVz z%r`jgT~0=QP=L(;ZqTZXnLIp;vWRi;6#4LI zLY7?*sC}*>*1b_)AA7SbVB>iD#JWaoI&A9gMpdde?fl!)@t8gfYa6_3b1NxuSV06o zA>q2GRBExXs!3=Y4z!rt2OVF$Gm&Nh9#3%7{1L#5Y~?1Z=t*kQ?oYtCUXg5Na<}eZ z%}d{Wjob+(?AG6x=b}{=DyA#z)ce{eCrUZRj07M%9(<&4`#GbBU+pbg1dqe0sTloq z@yUC@06CxBIe6iK2Hhn$J|9;yc>~?hOOQ(5uM5rSNZ+P-H210gsqp+m(D`2>HvfX& z`KzF_$C0=l>+d+wf7kf=YoY%T82UdM&tFsjQ_|?)Y4>G(_ID-!9}uafQ3ZKEK7YDv N4riS0YHa \ No newline at end of file diff --git a/web-app/build/nats.png b/web-app/build/nats.png deleted file mode 100644 index 621848ec134342b57496be7c4e4c64a72c71f217..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 25129 zcmbTd1yEc;&@LJXBxrC5?#|+_!QE}~APX$+?(XjH?(Xgq+}(o*2pS-7^UJ;OR{eGB z)!V95J7>;xPft(JOwY{M;YtdU$Ow1{A3l6QmX;Dz`S1aX;ok%I36kUP9peo7!*vn| zI;q;4I=LD;fIbMD*cyRIq^%9jKq??Z6LZCZ@b9 zViNyV7vxQV%-qSzj+cqa)zy{Jm5tHX!HkK8hlhuWnU#r^6#yv#aCEnEGIRsjIFkQ2 z2QiSNu>;u732bXa@{gmTk*%|n02xHm|7?P_oxJ@2Vr=91Uy6dLjLFT=j){elnaSGv zU%URJw4;*>=zojxKbCe>bGHLAsel}9ogIuJ{b5S}-^38z{ogD4R}dl%uc8AO(kX^k zVz$Q4)*u@vX)ysZ$QMQvunDgT54)i$w~+||1mZFVu$!220E`ToIRG4nCT#57Y@E!@ zT!#P6=YOK-6ys)R;S^?J<`fZUVG$SMVHe>MX6NJ-72)LJ;1TBdZ(3;^M<+uYW6*!s z4TjYHU$o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FQ)+xP(eGCU2a1kQkbdkP-YTL98TOxle(!}#J%tR_z>m-K)imVKy z0+bR9%`m!#%Y`6lnZ0;PbNEG8-uG2KBab0w|C9OSTgYBNCf&U7#yQN|>VyA#7VadD z+u+M+6kfxg50RSO5(J1b_b#*h&at6VJC>W2$`dZQ=!+)S(Y7e>ig|B$BT$m0u#Zh5 z;|ZJBYQ&GFl|y9WsH_){BDewbN+EPpRrOu+Yfz7T0PUcsO8dKsVr!w=0MaUL5ElU& zbfJ7w?dG?$1=xLn9W~V~v9Cce+Ft-GTZ#)QP{{vO2%E`&C(HiE_7M7$dBlBIOQSz6 z=KVlSqvV}v;X{Gu=Dl3nw8M6u-jWhpE+=++%&v2PK!nnO5|Fu!h#Zo8Fu3-JCd<47 z!B;^uIZeW0*{<@LrZypB?WMRR0y{W|aopRp&?9AG=YD@V%goKM{w{ToRsP?DCA@=#xEh4{n*mN1)faMDa^5T;*{C^dr_}Q|AiWM2^llMZx!uUOK5VOr|c- z?u>&=(ySk#Lkoc$X6V29UPezNemUY+25>gR4tr&A0f8*E(pR#Sam?NqLUvC>lVerQ zvvW{|V^X{HYRkQx%a8lH0A%L=KPz{7=9kS~yEN3Z#iN%yVH#N_;Lo}#?P`{xbgP#Q zkkXAe#J?aEqO|TEk>eN7R*yq=D ztUJ^5+Gb=pAxkm2su_>49aXoY65H9!~zv@%*y({jIK;%FXqsax=w9Bye8h0`_ShQQuq&w;&5YN3g2L)>EmrrGmGrrXT<_G z_RgR%u5cjt2>kH>TiXApX8&IVviilr9pQ`ri2a7oEbG5%{rh->A_y#B`PMAx{{Ra~ Bb5j5S diff --git a/web-app/build/nsq-logo.svg b/web-app/build/nsq-logo.svg deleted file mode 100644 index e5fe58ac66..0000000000 --- a/web-app/build/nsq-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/postgres-logo.svg b/web-app/build/postgres-logo.svg deleted file mode 100644 index fdca8d8b4b..0000000000 --- a/web-app/build/postgres-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/postgres.png b/web-app/build/postgres.png deleted file mode 100644 index 42ebd81643d3a89cdb57a77103980d89bf387be0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 46793 zcmbrlbyQrzvoMIeyK8Wp!QCxEf-|@d?(Xgk5}W`D65QS0EkJO02`<4UOMdUYZ}*Sy zd}q(@oO93g?ORn{-Cfo9mPM;5%b}x?pg=)Ep?{Q@R)d0qX8m^|A-wl^`^US#{}H>% zfZWs_E!;d!T)h|pZLchgW=n~TtB^C$t7oTR{3*780sV09m54Kp8G zGXZlNF;OaEFTr;L_Fy*?DldCG2UkHa5t{$d6?||1>*k=L`VWYktq9G3F$Gdmp^|cR z0aNj^1K7*}08T1C0d^oSH#aYUm5LL<3E%+mZ~!^kfV_eLZb2X))qnqJ-bZsWw-8j5 zmi_Os-tRjX0EfN( zzj^%!+SN@B{C~6YzlC|*T!HkWmAw5R&dG7DP&Z&>($H~s&@H~;^-d>rpgar~2&|A*}SPuIIZ{%ig( zO?bcgU%CW#cvm2ocTEBOhPHx&syqHDEurDHa%zB>tvPrrTJN8J*8XRs945pV`jn(M zUgXV8Ns)U9$5$c0R@y8s`Xi*1RHoKc8w>gi^Dp0Jc#ma+ru)aKOwS8n^`HJ1)K)1u zH)c!g+UM=}T|%3$KQmps`uPvHCNjA!#o!g3ihJH07&X}ft_Ks)XS=Ifnb=r;S|IYwVM8j`9d!nLG*jWmt?>SuV9q)))X(g_9MjJ)DF7<1c@`Pa4&v% zt`}Lq=N`>bvlOE_p&n8J-VvH561|G#9zTfqQ-my|012XNK@fOTKiVO!d(9XAxHD@w zyIr($6$onr{GPApU%cI)n|tf8o?f2MC_v`U;XpL4tza3k3ojp^iJ}~$XwwhA!{LO= zjYK>Yp-lHg3bmg4Cj%hL-IkSD=R~5&Xy+(ItS{YP2fzkTQ@rw)R*1O*M{L=>5Yz7)gG&v$mQ@ zYG7nTYE>3Wk9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K3{&zshF;{uA=JYwpRlUC??jwM_B!5LDPZUNwRv{hLeOFQ#>> z!x&jX;txVphZdM5%fJky=?C?E2Cc$_HOg1a`^;4*-$E#4)l9%h2=TF;I>6xYs=VK6aSJoz8#+p#KAQT>Inz diff --git a/web-app/build/redis-logo.svg b/web-app/build/redis-logo.svg deleted file mode 100644 index d2eb2304de..0000000000 --- a/web-app/build/redis-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/redis.png b/web-app/build/redis.png deleted file mode 100644 index efdf9651a21a68055f705c8e38104da412e77283..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 48048 zcmbTd1yH0tvoJciyW8UK?(WVagF6F@yDjdvxVyWvxVtWkySqCqx^Q{F?|kRns{hnq zx9(KUGfAGdB;B2)I}@RzB#i`*4-WtUkYr^fQ~>}mhJU`W(4Q@yJ~6JJKX@*ZS}tn# z<}U8WP9T7&nY{^!MAp{W0;CEuHuH2G0|@{C5U!T$S}t0O3Vf#awoJzVz%Y5(I(%XS z00P1u4#uX|AQuu7kcFk4AlX$%4;hK2nIM@ary`4@gE;7$rObCHklJ@8b<^+Gro3ik z!a^hh9(mRW$HKwK%1!cLAF@wwPG;tOsuEKF z#p|;sNcPRe#et8R+1=fp$(^0a-pPWQm6w;7nT3s+jg9dWg3;O2&c)b+(axFtKNKWD z&ZbV54lb7Vb|n8$G&Zq!brB@{l=R~f3tTWVPj=tBcV|=Hnp_-r-k;PS^9UU zB|uJ=ZXh!$Cwp6xe+@IA<^LkW|F`b{8{h2z@9;5y3dQ`7uKd4r=RZxK3i(g*zb)aj z^53=uvime3r%y|%uXz;%09s~bB}COdR?oXEEBI}>Q5qRLRt^ew6w-{mF0Zdmd<^5;MJ68kgt-Qs?gbFVE5?znC0AaM^xMtT7Xsk zO|s)lhNfQNKSd~`f9mu)U|OG#8Tej0ota2rBY55Ci>j^1OkBnCyXRLpz?p{ z{0F80%U|Pv===xfKWzR@=RYw25#`@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J(j<9xQ@sq8Eg2fLcOOs%rw^{~3_wlN-jEF$Ozs_@5;kr6Wq0sA}cHKcS4 zYXh;MhxR}uO-iW7xN5z6w)>$*EKIJA5h>LQrIdl<^a_~ocZCXkC5>vil - - - - - - - - diff --git a/web-app/build/scripts/pdf.worker.min.mjs b/web-app/build/scripts/pdf.worker.min.mjs deleted file mode 100644 index de36edcd7d..0000000000 --- a/web-app/build/scripts/pdf.worker.min.mjs +++ /dev/null @@ -1,29 +0,0 @@ -/** - * @licstart The following is the entire license notice for the - * JavaScript code in this page - * - * Copyright 2024 Mozilla Foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * @licend The above is the entire license notice for the - * JavaScript code in this page - */ -/** - * pdfjsVersion = 5.3.31 - * pdfjsBuild = 47ad820d9 - */ -const e=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),t=[.001,0,0,.001,0,0],a=1.35,r=.35,i=.25925925925925924,n=1,s=2,o=4,c=8,l=16,h=64,u=128,d=256,f="pdfjs_internal_editor_",g=3,p=9,m=13,b=15,y=101,w={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},S=0,x=4,k=1,C=2,v=3,F=1,O=2,T=3,M=4,D=5,R=6,N=7,E=8,L=9,j=10,_=11,U=12,X=13,q=14,H=15,W=16,z=17,$=20,G="Group",V="R",K=1,J=2,Y=4,Z=16,Q=32,ee=128,te=512,ae=1,re=2,ie=4096,ne=8192,se=32768,oe=65536,ce=131072,le=1048576,he=2097152,ue=8388608,de=16777216,fe=1,ge=2,pe=3,me=4,be=5,ye={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},we={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},Se={O:"PageOpen",C:"PageClose"},xe=1,Ae=5,ke=1,Ce=2,ve=3,Fe=4,Ie=5,Oe=6,Te=7,Me=8,De=9,Be=10,Re=11,Ne=12,Ee=13,Pe=14,Le=15,je=16,_e=17,Ue=18,Xe=19,qe=20,He=21,We=22,ze=23,$e=24,Ge=25,Ve=26,Ke=27,Je=28,Ye=29,Ze=30,Qe=31,et=32,tt=33,at=34,rt=35,it=36,nt=37,st=38,ot=39,ct=40,lt=41,ht=42,ut=43,dt=44,ft=45,gt=46,pt=47,mt=48,bt=49,yt=50,wt=51,St=52,xt=53,At=54,kt=55,Ct=56,vt=57,Ft=58,It=59,Ot=60,Tt=61,Mt=62,Dt=63,Bt=64,Rt=65,Nt=66,Et=67,Pt=68,Lt=69,jt=70,_t=71,Ut=72,Xt=73,qt=74,Ht=75,Wt=76,zt=77,$t=80,Gt=81,Vt=83,Kt=84,Jt=85,Yt=86,Zt=87,Qt=88,ea=89,ta=90,aa=91,ra=92,ia=93,na=94,sa=0,oa=1,ca=2,la=3,ha=1,ua=2;let da=xe;function getVerbosityLevel(){return da}function info(e){da>=Ae&&console.log(`Info: ${e}`)}function warn(e){da>=xe&&console.log(`Warning: ${e}`)}function unreachable(e){throw new Error(e)}function assert(e,t){e||unreachable(t)}function createValidAbsoluteUrl(e,t=null,a=null){if(!e)return null;if(a&&"string"==typeof e){if(a.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);t?.length>=2&&(e=`http://${e}`)}if(a.tryConvertEncoding)try{e=stringToUTF8String(e)}catch{}}const r=t?URL.parse(e,t):URL.parse(e);return function _isValidProtocol(e){switch(e?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(r)?r:null}function shadow(e,t,a,r=!1){Object.defineProperty(e,t,{value:a,enumerable:!r,configurable:!0,writable:!1});return a}const fa=function BaseExceptionClosure(){function BaseException(e,t){this.message=e;this.name=t}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();class PasswordException extends fa{constructor(e,t){super(e,"PasswordException");this.code=t}}class UnknownErrorException extends fa{constructor(e,t){super(e,"UnknownErrorException");this.details=t}}class InvalidPDFException extends fa{constructor(e){super(e,"InvalidPDFException")}}class ResponseException extends fa{constructor(e,t,a){super(e,"ResponseException");this.status=t;this.missing=a}}class FormatError extends fa{constructor(e){super(e,"FormatError")}}class AbortException extends fa{constructor(e){super(e,"AbortException")}}function bytesToString(e){"object"==typeof e&&void 0!==e?.length||unreachable("Invalid argument for bytesToString");const t=e.length,a=8192;if(t>24&255,e>>16&255,e>>8&255,255&e)}function objectSize(e){return Object.keys(e).length}class FeatureTest{static get isLittleEndian(){return shadow(this,"isLittleEndian",function isLittleEndian(){const e=new Uint8Array(4);e[0]=1;return 1===new Uint32Array(e.buffer,0,1)[0]}())}static get isEvalSupported(){return shadow(this,"isEvalSupported",function isEvalSupported(){try{new Function("");return!0}catch{return!1}}())}static get isOffscreenCanvasSupported(){return shadow(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get isImageDecoderSupported(){return shadow(this,"isImageDecoderSupported","undefined"!=typeof ImageDecoder)}static get platform(){const{platform:e,userAgent:t}=navigator;return shadow(this,"platform",{isAndroid:t.includes("Android"),isLinux:e.includes("Linux"),isMac:e.includes("Mac"),isWindows:e.includes("Win"),isFirefox:t.includes("Firefox")})}static get isCSSRoundSupported(){return shadow(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}}const ga=Array.from(Array(256).keys(),(e=>e.toString(16).padStart(2,"0")));class Util{static makeHexColor(e,t,a){return`#${ga[e]}${ga[t]}${ga[a]}`}static scaleMinMax(e,t){let a;if(e[0]){if(e[0]<0){a=t[0];t[0]=t[2];t[2]=a}t[0]*=e[0];t[2]*=e[0];if(e[3]<0){a=t[1];t[1]=t[3];t[3]=a}t[1]*=e[3];t[3]*=e[3]}else{a=t[0];t[0]=t[1];t[1]=a;a=t[2];t[2]=t[3];t[3]=a;if(e[1]<0){a=t[1];t[1]=t[3];t[3]=a}t[1]*=e[1];t[3]*=e[1];if(e[2]<0){a=t[0];t[0]=t[2];t[2]=a}t[0]*=e[2];t[2]*=e[2]}t[0]+=e[4];t[1]+=e[5];t[2]+=e[4];t[3]+=e[5]}static transform(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]]}static applyTransform(e,t,a=0){const r=e[a],i=e[a+1];e[a]=r*t[0]+i*t[2]+t[4];e[a+1]=r*t[1]+i*t[3]+t[5]}static applyTransformToBezier(e,t,a=0){const r=t[0],i=t[1],n=t[2],s=t[3],o=t[4],c=t[5];for(let t=0;t<6;t+=2){const l=e[a+t],h=e[a+t+1];e[a+t]=l*r+h*n+o;e[a+t+1]=l*i+h*s+c}}static applyInverseTransform(e,t){const a=e[0],r=e[1],i=t[0]*t[3]-t[1]*t[2];e[0]=(a*t[3]-r*t[2]+t[2]*t[5]-t[4]*t[3])/i;e[1]=(-a*t[1]+r*t[0]+t[4]*t[1]-t[5]*t[0])/i}static axialAlignedBoundingBox(e,t,a){const r=t[0],i=t[1],n=t[2],s=t[3],o=t[4],c=t[5],l=e[0],h=e[1],u=e[2],d=e[3];let f=r*l+o,g=f,p=r*u+o,m=p,b=s*h+c,y=b,w=s*d+c,S=w;if(0!==i||0!==n){const e=i*l,t=i*u,a=n*h,r=n*d;f+=a;m+=a;p+=r;g+=r;b+=e;S+=e;w+=t;y+=t}a[0]=Math.min(a[0],f,p,g,m);a[1]=Math.min(a[1],b,w,y,S);a[2]=Math.max(a[2],f,p,g,m);a[3]=Math.max(a[3],b,w,y,S)}static inverseTransform(e){const 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]}static singularValueDecompose2dScale(e,t){const a=e[0],r=e[1],i=e[2],n=e[3],s=a**2+r**2,o=a*i+r*n,c=i**2+n**2,l=(s+c)/2,h=Math.sqrt(l**2-(s*c-o**2));t[0]=Math.sqrt(l+h||1);t[1]=Math.sqrt(l-h||1)}static normalizeRect(e){const t=e.slice(0);if(e[0]>e[2]){t[0]=e[2];t[2]=e[0]}if(e[1]>e[3]){t[1]=e[3];t[3]=e[1]}return t}static intersect(e,t){const a=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),r=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(a>r)return null;const i=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),n=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return i>n?null:[a,i,r,n]}static pointBoundingBox(e,t,a){a[0]=Math.min(a[0],e);a[1]=Math.min(a[1],t);a[2]=Math.max(a[2],e);a[3]=Math.max(a[3],t)}static rectBoundingBox(e,t,a,r,i){i[0]=Math.min(i[0],e,a);i[1]=Math.min(i[1],t,r);i[2]=Math.max(i[2],e,a);i[3]=Math.max(i[3],t,r)}static#e(e,t,a,r,i,n,s,o,c,l){if(c<=0||c>=1)return;const h=1-c,u=c*c,d=u*c,f=h*(h*(h*e+3*c*t)+3*u*a)+d*r,g=h*(h*(h*i+3*c*n)+3*u*s)+d*o;l[0]=Math.min(l[0],f);l[1]=Math.min(l[1],g);l[2]=Math.max(l[2],f);l[3]=Math.max(l[3],g)}static#t(e,t,a,r,i,n,s,o,c,l,h,u){if(Math.abs(c)<1e-12){Math.abs(l)>=1e-12&&this.#e(e,t,a,r,i,n,s,o,-h/l,u);return}const d=l**2-4*h*c;if(d<0)return;const f=Math.sqrt(d),g=2*c;this.#e(e,t,a,r,i,n,s,o,(-l+f)/g,u);this.#e(e,t,a,r,i,n,s,o,(-l-f)/g,u)}static bezierBoundingBox(e,t,a,r,i,n,s,o,c){c[0]=Math.min(c[0],e,s);c[1]=Math.min(c[1],t,o);c[2]=Math.max(c[2],e,s);c[3]=Math.max(c[3],t,o);this.#t(e,a,i,s,t,r,n,o,3*(3*(a-i)-e+s),6*(e-2*a+i),3*(a-e),c);this.#t(e,a,i,s,t,r,n,o,3*(3*(r-n)-t+o),6*(t-2*r+n),3*(r-t),c)}}const pa=[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 stringToPDFString(e,t=!1){if(e[0]>="ï"){let a;if("þ"===e[0]&&"ÿ"===e[1]){a="utf-16be";e.length%2==1&&(e=e.slice(0,-1))}else if("ÿ"===e[0]&&"þ"===e[1]){a="utf-16le";e.length%2==1&&(e=e.slice(0,-1))}else"ï"===e[0]&&"»"===e[1]&&"¿"===e[2]&&(a="utf-8");if(a)try{const r=new TextDecoder(a,{fatal:!0}),i=stringToBytes(e),n=r.decode(i);return t||!n.includes("")?n:n.replaceAll(/\x1b[^\x1b]*(?:\x1b|$)/g,"")}catch(e){warn(`stringToPDFString: "${e}".`)}}const a=[];for(let r=0,i=e.length;rga[e])).join("")}"function"!=typeof Promise.try&&(Promise.try=function(e,...t){return new Promise((a=>{a(e(...t))}))});"function"!=typeof Math.sumPrecise&&(Math.sumPrecise=function(e){return e.reduce(((e,t)=>e+t),0)});const ya=Symbol("CIRCULAR_REF"),wa=Symbol("EOF");let Sa=Object.create(null),xa=Object.create(null),Aa=Object.create(null);class Name{constructor(e){this.name=e}static get(e){return xa[e]||=new Name(e)}}class Cmd{constructor(e){this.cmd=e}static get(e){return Sa[e]||=new Cmd(e)}}const ka=function nonSerializableClosure(){return ka};class Dict{constructor(e=null){this._map=new Map;this.xref=e;this.objId=null;this.suppressEncryption=!1;this.__nonSerializable__=ka}assignXref(e){this.xref=e}get size(){return this._map.size}get(e,t,a){let r=this._map.get(e);if(void 0===r&&void 0!==t){r=this._map.get(t);void 0===r&&void 0!==a&&(r=this._map.get(a))}return r instanceof Ref&&this.xref?this.xref.fetch(r,this.suppressEncryption):r}async getAsync(e,t,a){let r=this._map.get(e);if(void 0===r&&void 0!==t){r=this._map.get(t);void 0===r&&void 0!==a&&(r=this._map.get(a))}return r instanceof Ref&&this.xref?this.xref.fetchAsync(r,this.suppressEncryption):r}getArray(e,t,a){let r=this._map.get(e);if(void 0===r&&void 0!==t){r=this._map.get(t);void 0===r&&void 0!==a&&(r=this._map.get(a))}r instanceof Ref&&this.xref&&(r=this.xref.fetch(r,this.suppressEncryption));if(Array.isArray(r)){r=r.slice();for(let e=0,t=r.length;e{unreachable("Should not call `set` on the empty dictionary.")};return shadow(this,"empty",e)}static merge({xref:e,dictArray:t,mergeSubDicts:a=!1}){const r=new Dict(e),i=new Map;for(const e of t)if(e instanceof Dict)for(const[t,r]of e._map){let e=i.get(t);if(void 0===e){e=[];i.set(t,e)}else if(!(a&&r instanceof Dict))continue;e.push(r)}for(const[t,a]of i){if(1===a.length||!(a[0]instanceof Dict)){r._map.set(t,a[0]);continue}const i=new Dict(e);for(const e of a)for(const[t,a]of e._map)i._map.has(t)||i._map.set(t,a);i.size>0&&r._map.set(t,i)}i.clear();return r.size>0?r:Dict.empty}clone(){const e=new Dict(this.xref);for(const t of this.getKeys())e.set(t,this.getRaw(t));return e}delete(e){delete this._map[e]}}class Ref{constructor(e,t){this.num=e;this.gen=t}toString(){return 0===this.gen?`${this.num}R`:`${this.num}R${this.gen}`}static fromString(e){const t=Aa[e];if(t)return t;const a=/^(\d+)R(\d*)$/.exec(e);return a&&"0"!==a[1]?Aa[e]=new Ref(parseInt(a[1]),a[2]?parseInt(a[2]):0):null}static get(e,t){const a=0===t?`${e}R`:`${e}R${t}`;return Aa[a]||=new Ref(e,t)}}class RefSet{constructor(e=null){this._set=new Set(e?._set)}has(e){return this._set.has(e.toString())}put(e){this._set.add(e.toString())}remove(e){this._set.delete(e.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}class RefSetCache{constructor(){this._map=new Map}get size(){return this._map.size}get(e){return this._map.get(e.toString())}has(e){return this._map.has(e.toString())}put(e,t){this._map.set(e.toString(),t)}putAlias(e,t){this._map.set(e.toString(),this.get(t))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}*values(){yield*this._map.values()}*items(){for(const[e,t]of this._map)yield[Ref.fromString(e),t]}}function isName(e,t){return e instanceof Name&&(void 0===t||e.name===t)}function isCmd(e,t){return e instanceof Cmd&&(void 0===t||e.cmd===t)}function isDict(e,t){return e instanceof Dict&&(void 0===t||isName(e.get("Type"),t))}function isRefsEqual(e,t){return e.num===t.num&&e.gen===t.gen}class BaseStream{get length(){unreachable("Abstract getter `length` accessed")}get isEmpty(){unreachable("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return shadow(this,"isDataLoaded",!0)}getByte(){unreachable("Abstract method `getByte` called")}getBytes(e){unreachable("Abstract method `getBytes` called")}async getImageData(e,t){return this.getBytes(e,t)}async asyncGetBytes(){unreachable("Abstract method `asyncGetBytes` called")}get isAsync(){return!1}get isAsyncDecoder(){return!1}get canAsyncDecodeImageFromBuffer(){return!1}async getTransferableImage(){return null}peekByte(){const e=this.getByte();-1!==e&&this.pos--;return e}peekBytes(e){const t=this.getBytes(e);this.pos-=t.length;return t}getUint16(){const e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}getInt32(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}getByteRange(e,t){unreachable("Abstract method `getByteRange` called")}getString(e){return bytesToString(this.getBytes(e))}skip(e){this.pos+=e||1}reset(){unreachable("Abstract method `reset` called")}moveStart(){unreachable("Abstract method `moveStart` called")}makeSubStream(e,t,a=null){unreachable("Abstract method `makeSubStream` called")}getBaseStreams(){return null}}const Ca=/^[1-9]\.\d$/,va=2**31-1,Fa=[1,0,0,1,0,0],Ia=["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"],Oa=["ExtGState","Font","Properties","XObject"];function getLookupTableFactory(e){let t;return function(){if(e){t=Object.create(null);e(t);e=null}return t}}class MissingDataException extends fa{constructor(e,t){super(`Missing data [${e}, ${t})`,"MissingDataException");this.begin=e;this.end=t}}class ParserEOFException extends fa{constructor(e){super(e,"ParserEOFException")}}class XRefEntryException extends fa{constructor(e){super(e,"XRefEntryException")}}class XRefParseException extends fa{constructor(e){super(e,"XRefParseException")}}function arrayBuffersToBytes(e){const t=e.length;if(0===t)return new Uint8Array(0);if(1===t)return new Uint8Array(e[0]);let a=0;for(let r=0;r0,"The number should be a positive integer.");const a="M".repeat(e/1e3|0)+Ta[e%1e3/100|0]+Ta[10+(e%100/10|0)]+Ta[20+e%10];return t?a.toLowerCase():a}function log2(e){return e>0?Math.ceil(Math.log2(e)):0}function readInt8(e,t){return e[t]<<24>>24}function readInt16(e,t){return(e[t]<<24|e[t+1]<<16)>>16}function readUint16(e,t){return e[t]<<8|e[t+1]}function readUint32(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function isWhiteSpace(e){return 32===e||9===e||13===e||10===e}function isNumberArray(e,t){return Array.isArray(e)?(null===t||e.length===t)&&e.every((e=>"number"==typeof e)):ArrayBuffer.isView(e)&&!(e instanceof BigInt64Array||e instanceof BigUint64Array)&&(null===t||e.length===t)}function lookupMatrix(e,t){return isNumberArray(e,6)?e:t}function lookupRect(e,t){return isNumberArray(e,4)?e:t}function lookupNormalRect(e,t){return isNumberArray(e,4)?Util.normalizeRect(e):t}function parseXFAPath(e){const t=/(.+)\[(\d+)\]$/;return e.split(".").map((e=>{const a=e.match(t);return a?{name:a[1],pos:parseInt(a[2],10)}:{name:e,pos:0}}))}function escapePDFName(e){const t=[];let a=0;for(let r=0,i=e.length;r126||35===i||40===i||41===i||60===i||62===i||91===i||93===i||123===i||125===i||47===i||37===i){a"\n"===e?"\\n":"\r"===e?"\\r":`\\${e}`))}function _collectJS(e,t,a,r){if(!e)return;let i=null;if(e instanceof Ref){if(r.has(e))return;i=e;r.put(i);e=t.fetch(e)}if(Array.isArray(e))for(const i of e)_collectJS(i,t,a,r);else if(e instanceof Dict){if(isName(e.get("S"),"JavaScript")){const t=e.get("JS");let r;t instanceof BaseStream?r=t.getString():"string"==typeof t&&(r=t);r&&=stringToPDFString(r,!0).replaceAll("\0","");r&&a.push(r)}_collectJS(e.getRaw("Next"),t,a,r)}i&&r.remove(i)}function collectActions(e,t,a){const r=Object.create(null),i=getInheritableProperty({dict:t,key:"AA",stopWhenFound:!1});if(i)for(let t=i.length-1;t>=0;t--){const n=i[t];if(n instanceof Dict)for(const t of n.getKeys()){const i=a[t];if(!i)continue;const s=[];_collectJS(n.getRaw(t),e,s,new RefSet);s.length>0&&(r[i]=s)}}if(t.has("A")){const a=[];_collectJS(t.get("A"),e,a,new RefSet);a.length>0&&(r.Action=a)}return objectSize(r)>0?r:null}const Ma={60:"<",62:">",38:"&",34:""",39:"'"};function*codePointIter(e){for(let t=0,a=e.length;t55295&&(a<57344||a>65533)&&t++;yield a}}function encodeToXmlString(e){const t=[];let a=0;for(let r=0,i=e.length;r55295&&(i<57344||i>65533)&&r++;a=r+1}}if(0===t.length)return e;a: ${e}.`);return!1}return!0}function validateCSSFont(e){const t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),{fontFamily:a,fontWeight:r,italicAngle:i}=e;if(!validateFontName(a,!0))return!1;const n=r?r.toString():"";e.fontWeight=t.has(n)?n:"400";const s=parseFloat(i);e.italicAngle=isNaN(s)||s<-90||s>90?"14":i.toString();return!0}function recoverJsURL(e){const t=new RegExp("^\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").replaceAll(".","\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec(e);return t?.[2]?{url:t[2],newWindow:"app.launchURL"===t[1]&&"true"===t[3]}:null}function numberToString(e){if(Number.isInteger(e))return e.toString();const t=Math.round(100*e);return t%100==0?(t/100).toString():t%10==0?e.toFixed(1):e.toFixed(2)}function getNewAnnotationsMap(e){if(!e)return null;const t=new Map;for(const[a,r]of e){if(!a.startsWith(f))continue;let e=t.get(r.pageIndex);if(!e){e=[];t.set(r.pageIndex,e)}e.push(r)}return t.size>0?t:null}function stringToAsciiOrUTF16BE(e){return function isAscii(e){return/^[\x00-\x7F]*$/.test(e)}(e)?e:stringToUTF16String(e,!0)}function stringToUTF16HexString(e){const t=[];for(let a=0,r=e.length;a>8&255],ga[255&r])}return t.join("")}function stringToUTF16String(e,t=!1){const a=[];t&&a.push("þÿ");for(let t=0,r=e.length;t>8&255),String.fromCharCode(255&r))}return a.join("")}function getRotationMatrix(e,t,a){switch(e){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,a];case 270:return[0,-1,1,0,0,a];default:throw new Error("Invalid rotation")}}function getSizeInBytes(e){return Math.ceil(Math.ceil(Math.log2(1+e))/8)}class QCMS{static#a=null;static _memory=null;static _mustAddAlpha=!1;static _destBuffer=null;static _destOffset=0;static _destLength=0;static _cssColor="";static _makeHexColor=null;static get _memoryArray(){const e=this.#a;return e?.byteLength?e:this.#a=new Uint8Array(this._memory.buffer)}}let Da;const Ba="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&Ba.decode();let Ra=null;function getUint8ArrayMemory0(){null!==Ra&&0!==Ra.byteLength||(Ra=new Uint8Array(Da.memory.buffer));return Ra}let Na=0;function passArray8ToWasm0(e,t){const a=t(1*e.length,1)>>>0;getUint8ArrayMemory0().set(e,a/1);Na=e.length;return a}const Ea=Object.freeze({RGB8:0,0:"RGB8",RGBA8:1,1:"RGBA8",BGRA8:2,2:"BGRA8",Gray8:3,3:"Gray8",GrayA8:4,4:"GrayA8",CMYK:5,5:"CMYK"}),Pa=Object.freeze({Perceptual:0,0:"Perceptual",RelativeColorimetric:1,1:"RelativeColorimetric",Saturation:2,2:"Saturation",AbsoluteColorimetric:3,3:"AbsoluteColorimetric"});function __wbg_get_imports(){const e={wbg:{}};e.wbg.__wbg_copyresult_b08ee7d273f295dd=function(e,t){!function copy_result(e,t){const{_mustAddAlpha:a,_destBuffer:r,_destOffset:i,_destLength:n,_memoryArray:s}=QCMS;if(t!==n)if(a)for(let a=e,n=e+t,o=i;a>>0,t>>>0)};e.wbg.__wbg_copyrgb_d60ce17bb05d9b67=function(e){!function copy_rgb(e){const{_destBuffer:t,_destOffset:a,_memoryArray:r}=QCMS;t[a]=r[e];t[a+1]=r[e+1];t[a+2]=r[e+2]}(e>>>0)};e.wbg.__wbg_makecssRGB_893bf0cd9fdb302d=function(e){!function make_cssRGB(e){const{_memoryArray:t}=QCMS;QCMS._cssColor=QCMS._makeHexColor(t[e],t[e+1],t[e+2])}(e>>>0)};e.wbg.__wbindgen_init_externref_table=function(){const e=Da.__wbindgen_export_0,t=e.grow(4);e.set(0,void 0);e.set(t+0,void 0);e.set(t+1,null);e.set(t+2,!0);e.set(t+3,!1)};e.wbg.__wbindgen_throw=function(e,t){throw new Error(function getStringFromWasm0(e,t){e>>>=0;return Ba.decode(getUint8ArrayMemory0().subarray(e,e+t))}(e,t))};return e}function __wbg_finalize_init(e,t){Da=e.exports;__wbg_init.__wbindgen_wasm_module=t;Ra=null;Da.__wbindgen_start();return Da}async function __wbg_init(e){if(void 0!==Da)return Da;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module_or_path:e}=e):console.warn("using deprecated parameters for the initialization function; pass a single object instead"));const t=__wbg_get_imports();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:a,module:r}=await async function __wbg_load(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if("application/wasm"==e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const a=await e.arrayBuffer();return await WebAssembly.instantiate(a,t)}{const a=await WebAssembly.instantiate(e,t);return a instanceof WebAssembly.Instance?{instance:a,module:e}:a}}(await e,t);return __wbg_finalize_init(a,r)}class ColorSpace{static#r=new Uint8ClampedArray(3);constructor(e,t){this.name=e;this.numComps=t}getRgb(e,t,a=new Uint8ClampedArray(3)){this.getRgbItem(e,t,a,0);return a}getRgbHex(e,t){const a=this.getRgb(e,t,ColorSpace.#r);return Util.makeHexColor(a[0],a[1],a[2])}getRgbItem(e,t,a,r){unreachable("Should not call ColorSpace.getRgbItem")}getRgbBuffer(e,t,a,r,i,n,s){unreachable("Should not call ColorSpace.getRgbBuffer")}getOutputLength(e,t){unreachable("Should not call ColorSpace.getOutputLength")}isPassthrough(e){return!1}isDefaultDecode(e,t){return ColorSpace.isDefaultDecode(e,this.numComps)}fillRgb(e,t,a,r,i,n,s,o,c){const l=t*a;let h=null;const u=1<u&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){const t=s<=8?new Uint8Array(u):new Uint16Array(u);for(let e=0;e=.99554525?1:MathClamp(1.055*e**(1/2.4)-.055,0,1)}#b(e){return e<0?-this.#b(-e):e>8?((e+16)/116)**3:e*CalRGBCS.#d}#y(e,t,a){if(0===e[0]&&0===e[1]&&0===e[2]){a[0]=t[0];a[1]=t[1];a[2]=t[2];return}const r=this.#b(0),i=(1-r)/(1-this.#b(e[0])),n=1-i,s=(1-r)/(1-this.#b(e[1])),o=1-s,c=(1-r)/(1-this.#b(e[2])),l=1-c;a[0]=t[0]*i+n;a[1]=t[1]*s+o;a[2]=t[2]*c+l}#w(e,t,a){if(1===e[0]&&1===e[2]){a[0]=t[0];a[1]=t[1];a[2]=t[2];return}const r=a;this.#f(CalRGBCS.#n,t,r);const i=CalRGBCS.#l;this.#g(e,r,i);this.#f(CalRGBCS.#s,i,a)}#S(e,t,a){const r=a;this.#f(CalRGBCS.#n,t,r);const i=CalRGBCS.#l;this.#p(e,r,i);this.#f(CalRGBCS.#s,i,a)}#i(e,t,a,r,i){const n=MathClamp(e[t]*i,0,1),s=MathClamp(e[t+1]*i,0,1),o=MathClamp(e[t+2]*i,0,1),c=1===n?1:n**this.GR,l=1===s?1:s**this.GG,h=1===o?1:o**this.GB,u=this.MXA*c+this.MXB*l+this.MXC*h,d=this.MYA*c+this.MYB*l+this.MYC*h,f=this.MZA*c+this.MZB*l+this.MZC*h,g=CalRGBCS.#h;g[0]=u;g[1]=d;g[2]=f;const p=CalRGBCS.#u;this.#w(this.whitePoint,g,p);const m=CalRGBCS.#h;this.#y(this.blackPoint,p,m);const b=CalRGBCS.#u;this.#S(CalRGBCS.#c,m,b);const y=CalRGBCS.#h;this.#f(CalRGBCS.#o,b,y);a[r]=255*this.#m(y[0]);a[r+1]=255*this.#m(y[1]);a[r+2]=255*this.#m(y[2])}getRgbItem(e,t,a,r){this.#i(e,t,a,r,1)}getRgbBuffer(e,t,a,r,i,n,s){const o=1/((1<this.amax||this.bmin>this.bmax){info("Invalid Range, falling back to defaults");this.amin=-100;this.amax=100;this.bmin=-100;this.bmax=100}}#x(e){return e>=6/29?e**3:108/841*(e-4/29)}#A(e,t,a,r){return a+e*(r-a)/t}#i(e,t,a,r,i){let n=e[t],s=e[t+1],o=e[t+2];if(!1!==a){n=this.#A(n,a,0,100);s=this.#A(s,a,this.amin,this.amax);o=this.#A(o,a,this.bmin,this.bmax)}s>this.amax?s=this.amax:sthis.bmax?o=this.bmax:o{!function qcms_drop_transformer(e){Da.qcms_drop_transformer(e)}(e)}));constructor(e,t,a){if(!IccColorSpace.isUsable)throw new Error("No ICC color space support");super(t,a);let r;switch(a){case 1:r=Ea.Gray8;this.#C=(e,t,a)=>function qcms_convert_one(e,t,a){Da.qcms_convert_one(e,t,a)}(this.#k,255*e[t],a);break;case 3:r=Ea.RGB8;this.#C=(e,t,a)=>function qcms_convert_three(e,t,a,r,i){Da.qcms_convert_three(e,t,a,r,i)}(this.#k,255*e[t],255*e[t+1],255*e[t+2],a);break;case 4:r=Ea.CMYK;this.#C=(e,t,a)=>function qcms_convert_four(e,t,a,r,i,n){Da.qcms_convert_four(e,t,a,r,i,n)}(this.#k,255*e[t],255*e[t+1],255*e[t+2],255*e[t+3],a);break;default:throw new Error(`Unsupported number of components: ${a}`)}this.#k=function qcms_transformer_from_memory(e,t,a){const r=passArray8ToWasm0(e,Da.__wbindgen_malloc),i=Na;return Da.qcms_transformer_from_memory(r,i,t,a)>>>0}(e,r,Pa.Perceptual);if(!this.#k)throw new Error("Failed to create ICC color space");IccColorSpace.#I.register(this,this.#k)}getRgbHex(e,t){this.#C(e,t,!0);return QCMS._cssColor}getRgbItem(e,t,a,r){QCMS._destBuffer=a;QCMS._destOffset=r;QCMS._destLength=3;this.#C(e,t,!1);QCMS._destBuffer=null}getRgbBuffer(e,t,a,r,i,n,s){e=e.subarray(t,t+a*this.numComps);if(8!==n){const t=255/((1<=this.end?-1:this.bytes[this.pos++]}getBytes(e){const t=this.bytes,a=this.pos,r=this.end;if(!e)return t.subarray(a,r);let i=a+e;i>r&&(i=r);this.pos=i;return t.subarray(a,i)}getByteRange(e,t){e<0&&(e=0);t>this.end&&(t=this.end);return this.bytes.subarray(e,t)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(e,t,a=null){return new Stream(this.bytes.buffer,e,t,a)}}class StringStream extends Stream{constructor(e){super(stringToBytes(e))}}class NullStream extends Stream{constructor(){super(new Uint8Array(0))}}class ChunkedStream extends Stream{constructor(e,t,a){super(new Uint8Array(e),0,e,null);this.chunkSize=t;this._loadedChunks=new Set;this.numChunks=Math.ceil(e/t);this.manager=a;this.progressiveDataLength=0;this.lastSuccessfulEnsureByteChunk=-1}getMissingChunks(){const e=[];for(let t=0,a=this.numChunks;t=this.end?this.numChunks:Math.floor(t/this.chunkSize);for(let e=a;ethis.numChunks)&&t!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(t))throw new MissingDataException(e,e+1);this.lastSuccessfulEnsureByteChunk=t}}ensureRange(e,t){if(e>=t)return;if(t<=this.progressiveDataLength)return;const a=Math.floor(e/this.chunkSize);if(a>this.numChunks)return;const r=Math.min(Math.floor((t-1)/this.chunkSize)+1,this.numChunks);for(let i=a;i=this.end)return-1;e>=this.progressiveDataLength&&this.ensureByte(e);return this.bytes[this.pos++]}getBytes(e){const t=this.bytes,a=this.pos,r=this.end;if(!e){r>this.progressiveDataLength&&this.ensureRange(a,r);return t.subarray(a,r)}let i=a+e;i>r&&(i=r);i>this.progressiveDataLength&&this.ensureRange(a,i);this.pos=i;return t.subarray(a,i)}getByteRange(e,t){e<0&&(e=0);t>this.end&&(t=this.end);t>this.progressiveDataLength&&this.ensureRange(e,t);return this.bytes.subarray(e,t)}makeSubStream(e,t,a=null){t?e+t>this.progressiveDataLength&&this.ensureRange(e,e+t):e>=this.progressiveDataLength&&this.ensureByte(e);function ChunkedStreamSubstream(){}ChunkedStreamSubstream.prototype=Object.create(this);ChunkedStreamSubstream.prototype.getMissingChunks=function(){const e=this.chunkSize,t=Math.floor(this.start/e),a=Math.floor((this.end-1)/e)+1,r=[];for(let e=t;e{const readChunk=({value:n,done:s})=>{try{if(s){const t=arrayBuffersToBytes(r);r=null;e(t);return}i+=n.byteLength;a.isStreamingSupported&&this.onProgress({loaded:i});r.push(n);a.read().then(readChunk,t)}catch(e){t(e)}};a.read().then(readChunk,t)})).then((t=>{this.aborted||this.onReceiveData({chunk:t,begin:e})}))}requestAllChunks(e=!1){if(!e){const e=this.stream.getMissingChunks();this._requestChunks(e)}return this._loadedStreamCapability.promise}_requestChunks(e){const t=this.currRequestId++,a=new Set;this._chunksNeededByRequest.set(t,a);for(const t of e)this.stream.hasChunk(t)||a.add(t);if(0===a.size)return Promise.resolve();const r=Promise.withResolvers();this._promisesByRequest.set(t,r);const i=[];for(const e of a){let a=this._requestsByChunk.get(e);if(!a){a=[];this._requestsByChunk.set(e,a);i.push(e)}a.push(t)}if(i.length>0){const e=this.groupChunks(i);for(const t of e){const e=t.beginChunk*this.chunkSize,a=Math.min(t.endChunk*this.chunkSize,this.length);this.sendRequest(e,a).catch(r.reject)}}return r.promise.catch((e=>{if(!this.aborted)throw e}))}getStream(){return this.stream}requestRange(e,t){t=Math.min(t,this.length);const a=this.getBeginChunk(e),r=this.getEndChunk(t),i=[];for(let e=a;ee-t));return this._requestChunks(t)}groupChunks(e){const t=[];let a=-1,r=-1;for(let i=0,n=e.length;i=0&&r+1!==n){t.push({beginChunk:a,endChunk:r+1});a=n}i+1===e.length&&t.push({beginChunk:a,endChunk:n+1});r=n}return t}onProgress(e){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+e.loaded,total:this.length})}onReceiveData(e){const t=e.chunk,a=void 0===e.begin,r=a?this.progressiveDataLength:e.begin,i=r+t.byteLength,n=Math.floor(r/this.chunkSize),s=i0||o.push(a)}}}if(!this.disableAutoFetch&&0===this._requestsByChunk.size){let e;if(1===this.stream.numChunksLoaded){const t=this.stream.numChunks-1;this.stream.hasChunk(t)||(e=t)}else e=this.stream.nextEmptyChunk(s);Number.isInteger(e)&&this._requestChunks([e])}for(const e of o){const t=this._promisesByRequest.get(e);this._promisesByRequest.delete(e);t.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}onError(e){this._loadedStreamCapability.reject(e)}getBeginChunk(e){return Math.floor(e/this.chunkSize)}getEndChunk(e){return Math.floor((e-1)/this.chunkSize)+1}abort(e){this.aborted=!0;this.pdfNetworkStream?.cancelAllRequests(e);for(const t of this._promisesByRequest.values())t.reject(e)}}function convertToRGBA(e){switch(e.kind){case k:return convertBlackAndWhiteToRGBA(e);case C:return function convertRGBToRGBA({src:e,srcPos:t=0,dest:a,destPos:r=0,width:i,height:n}){let s=0;const o=i*n*3,c=o>>2,l=new Uint32Array(e.buffer,t,c);if(FeatureTest.isLittleEndian){for(;s>>24|t<<8|4278190080;a[r+2]=t>>>16|i<<16|4278190080;a[r+3]=i>>>8|4278190080}for(let i=4*s,n=t+o;i>>8|255;a[r+2]=t<<16|i>>>16|255;a[r+3]=i<<8|255}for(let i=4*s,n=t+o;i>3,u=7&r,d=e.length;a=new Uint32Array(a.buffer);let f=0;for(let r=0;ra||t>a)return!0;const r=e*t;if(this._hasMaxArea)return r>this.MAX_AREA;if(r(this.MAX_AREA=this.#T**2)}static getReducePowerForJPX(e,t,a){const r=e*t,i=2**30/(4*a);if(!this.needsToBeResized(e,t))return r>i?Math.ceil(Math.log2(r/i)):0;const{MAX_DIM:n,MAX_AREA:s}=this,o=Math.max(e/n,t/n,Math.sqrt(r/Math.min(i,s)));return Math.ceil(Math.log2(o))}static get MAX_DIM(){return shadow(this,"MAX_DIM",this._guessMax(2048,65537,0,1))}static get MAX_AREA(){this._hasMaxArea=!0;return shadow(this,"MAX_AREA",this._guessMax(this.#T,this.MAX_DIM,128,0)**2)}static set MAX_AREA(e){if(e>=0){this._hasMaxArea=!0;shadow(this,"MAX_AREA",e)}}static setOptions({canvasMaxAreaInBytes:e=-1,isImageDecoderSupported:t=!1}){this._hasMaxArea||(this.MAX_AREA=e>>2);this.#M=t}static _areGoodDims(e,t){try{const a=new OffscreenCanvas(e,t),r=a.getContext("2d");r.fillRect(0,0,1,1);const i=r.getImageData(0,0,1,1).data[3];a.width=a.height=1;return 0!==i}catch{return!1}}static _guessMax(e,t,a,r){for(;e+a+1va){const e=this.#D();if(e)return e}const r=this._encodeBMP();let i,n;if(await ImageResizer.canUseImageDecoder){i=new ImageDecoder({data:r,type:"image/bmp",preferAnimation:!1,transfer:[r.buffer]});n=i.decode().catch((e=>{warn(`BMP image decoding failed: ${e}`);return createImageBitmap(new Blob([this._encodeBMP().buffer],{type:"image/bmp"}))})).finally((()=>{i.close()}))}else n=createImageBitmap(new Blob([r.buffer],{type:"image/bmp"}));const{MAX_AREA:s,MAX_DIM:o}=ImageResizer,c=Math.max(t/o,a/o,Math.sqrt(t*a/s)),l=Math.max(c,2),h=Math.round(10*(c+1.25))/10/l,u=Math.floor(Math.log2(h)),d=new Array(u+2).fill(2);d[0]=l;d.splice(-1,1,h/(1<>s,c=r>>s;let l,h=r;try{l=new Uint8Array(n)}catch{let e=Math.floor(Math.log2(n+1));for(;;)try{l=new Uint8Array(2**e-1);break}catch{e-=1}h=Math.floor((2**e-1)/(4*a));const t=a*h*4;t>s;e>3,s=a+3&-4;if(a!==s){const e=new Uint8Array(s*t);let r=0;for(let n=0,o=t*a;ni&&(r=i)}else{for(;!this.eof;)this.readBlock(t);r=this.bufferLength}this.pos=r;return this.buffer.subarray(a,r)}async getImageData(e,t){if(!this.canAsyncDecodeImageFromBuffer)return this.isAsyncDecoder?this.decodeImage(null,t):this.getBytes(e,t);const a=await this.stream.asyncGetBytes();return this.decodeImage(a,t)}reset(){this.pos=0}makeSubStream(e,t,a=null){if(void 0===t)for(;!this.eof;)this.readBlock();else{const a=e+t;for(;this.bufferLength<=a&&!this.eof;)this.readBlock()}return new Stream(this.buffer,e,t,a)}getBaseStreams(){return this.str?this.str.getBaseStreams():null}}class StreamsSequenceStream extends DecodeStream{constructor(e,t=null){e=e.filter((e=>e instanceof BaseStream));let a=0;for(const t of e)a+=t instanceof DecodeStream?t._rawMinBufferLength:t.length;super(a);this.streams=e;this._onError=t}readBlock(){const e=this.streams;if(0===e.length){this.eof=!0;return}const t=e.shift();let a;try{a=t.getBytes()}catch(e){if(this._onError){this._onError(e,t.dict?.objId);return}throw e}const r=this.bufferLength,i=r+a.length;this.ensureBuffer(i).set(a,r);this.bufferLength=i}getBaseStreams(){const e=[];for(const t of this.streams){const a=t.getBaseStreams();a&&e.push(...a)}return e.length>0?e:null}}class ColorSpaceUtils{static parse({cs:e,xref:t,resources:a=null,pdfFunctionFactory:r,globalColorSpaceCache:i,localColorSpaceCache:n,asyncIfNotCached:s=!1}){const o={xref:t,resources:a,pdfFunctionFactory:r,globalColorSpaceCache:i,localColorSpaceCache:n};let c,l,h;if(e instanceof Ref){l=e;const a=i.getByRef(l)||n.getByRef(l);if(a)return a;e=t.fetch(e)}if(e instanceof Name){c=e.name;const t=n.getByName(c);if(t)return t}try{h=this.#B(e,o)}catch(e){if(s&&!(e instanceof MissingDataException))return Promise.reject(e);throw e}if(c||l){n.set(c,l,h);l&&i.set(null,l,h)}return s?Promise.resolve(h):h}static#R(e,t){const{globalColorSpaceCache:a}=t;let r;if(e instanceof Ref){r=e;const t=a.getByRef(r);if(t)return t}const i=this.#B(e,t);r&&a.set(null,r,i);return i}static#B(e,t){const{xref:a,resources:r,pdfFunctionFactory:i,globalColorSpaceCache:n}=t;if((e=a.fetchIfRef(e))instanceof Name)switch(e.name){case"G":case"DeviceGray":return this.gray;case"RGB":case"DeviceRGB":return this.rgb;case"DeviceRGBA":return this.rgba;case"CMYK":case"DeviceCMYK":return this.cmyk;case"Pattern":return new PatternCS(null);default:if(r instanceof Dict){const a=r.get("ColorSpace");if(a instanceof Dict){const r=a.get(e.name);if(r){if(r instanceof Name)return this.#B(r,t);e=r;break}}}warn(`Unrecognized ColorSpace: ${e.name}`);return this.gray}if(Array.isArray(e)){const r=a.fetchIfRef(e[0]).name;let s,o,c,l,h,u;switch(r){case"G":case"DeviceGray":return this.gray;case"RGB":case"DeviceRGB":return this.rgb;case"CMYK":case"DeviceCMYK":return this.cmyk;case"CalGray":s=a.fetchIfRef(e[1]);l=s.getArray("WhitePoint");h=s.getArray("BlackPoint");u=s.get("Gamma");return new CalGrayCS(l,h,u);case"CalRGB":s=a.fetchIfRef(e[1]);l=s.getArray("WhitePoint");h=s.getArray("BlackPoint");u=s.getArray("Gamma");const d=s.getArray("Matrix");return new CalRGBCS(l,h,u,d);case"ICCBased":const f=e[1]instanceof Ref;if(f){const t=n.getByRef(e[1]);if(t)return t}const g=a.fetchIfRef(e[1]),p=g.dict;o=p.get("N");if(IccColorSpace.isUsable)try{const t=new IccColorSpace(g.getBytes(),"ICCBased",o);f&&n.set(null,e[1],t);return t}catch(t){if(t instanceof MissingDataException)throw t;warn(`ICCBased color space (${e[1]}): "${t}".`)}const m=p.getRaw("Alternate");if(m){const e=this.#R(m,t);if(e.numComps===o)return e;warn("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===o)return this.gray;if(3===o)return this.rgb;if(4===o)return this.cmyk;break;case"Pattern":c=e[1]||null;c&&(c=this.#R(c,t));return new PatternCS(c);case"I":case"Indexed":c=this.#R(e[1],t);const b=MathClamp(a.fetchIfRef(e[2]),0,255),y=a.fetchIfRef(e[3]);return new IndexedCS(c,b,y);case"Separation":case"DeviceN":const w=a.fetchIfRef(e[1]);o=Array.isArray(w)?w.length:1;c=this.#R(e[2],t);const S=i.create(e[3]);return new AlternateCS(o,c,S);case"Lab":s=a.fetchIfRef(e[1]);l=s.getArray("WhitePoint");h=s.getArray("BlackPoint");const x=s.getArray("Range");return new LabCS(l,h,x);default:warn(`Unimplemented ColorSpace object: ${r}`);return this.gray}}warn(`Unrecognized ColorSpace object: ${e}`);return this.gray}static get gray(){return shadow(this,"gray",new DeviceGrayCS)}static get rgb(){return shadow(this,"rgb",new DeviceRgbCS)}static get rgba(){return shadow(this,"rgba",new DeviceRgbaCS)}static get cmyk(){if(CmykICCBasedCS.isUsable)try{return shadow(this,"cmyk",new CmykICCBasedCS)}catch{warn("CMYK fallback: DeviceCMYK")}return shadow(this,"cmyk",new DeviceCmykCS)}}class JpegError extends fa{constructor(e){super(e,"JpegError")}}class DNLMarkerError extends fa{constructor(e,t){super(e,"DNLMarkerError");this.scanLines=t}}class EOIMarkerError extends fa{constructor(e){super(e,"EOIMarkerError")}}const ja=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),_a=4017,Ua=799,Xa=3406,qa=2276,Ha=1567,Wa=3784,za=5793,$a=2896;function buildHuffmanTable(e,t){let a,r,i=0,n=16;for(;n>0&&!e[n-1];)n--;const s=[{children:[],index:0}];let o,c=s[0];for(a=0;a0;)c=s.pop();c.index++;s.push(c);for(;s.length<=a;){s.push(o={children:[],index:0});c.children[c.index]=o.children;c=o}i++}if(a+10){g--;return f>>g&1}f=e[t++];if(255===f){const r=e[t++];if(r){if(220===r&&l){const r=readUint16(e,t+=2);t+=2;if(r>0&&r!==a.scanLines)throw new DNLMarkerError("Found DNL marker (0xFFDC) while parsing scan data",r)}else if(217===r){if(l){const e=y*(8===a.precision?8:0);if(e>0&&Math.round(a.scanLines/e)>=5)throw new DNLMarkerError("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",e)}throw new EOIMarkerError("Found EOI marker (0xFFD9) while parsing scan data")}throw new JpegError(`unexpected marker ${(f<<8|r).toString(16)}`)}}g=7;return f>>>7}function decodeHuffman(e){let t=e;for(;;){t=t[readBit()];switch(typeof t){case"number":return t;case"object":continue}throw new JpegError("invalid huffman sequence")}}function receive(e){let t=0;for(;e>0;){t=t<<1|readBit();e--}return t}function receiveAndExtend(e){if(1===e)return 1===readBit()?1:-1;const t=receive(e);return t>=1<0){p--;return}let a=n;const r=s;for(;a<=r;){const r=decodeHuffman(e.huffmanTableAC),i=15&r,n=r>>4;if(0===i){if(n<15){p=receive(n)+(1<>4;if(0===i)if(l<15){p=receive(l)+(1<>4;if(0===r){if(n<15)break;i+=16;continue}i+=n;const s=ja[i];e.blockData[t+s]=receiveAndExtend(r);i++}};let O,T=0;const M=1===w?r[0].blocksPerLine*r[0].blocksPerColumn:h*a.mcusPerColumn;let D,R;for(;T<=M;){const a=i?Math.min(M-T,i):M;if(a>0){for(x=0;x0?"unexpected":"excessive"} MCU data, current marker is: ${O.invalid}`);t=O.offset}if(!(O.marker>=65488&&O.marker<=65495))break;t+=2}return t-d}function quantizeAndInverse(e,t,a){const r=e.quantizationTable,i=e.blockData;let n,s,o,c,l,h,u,d,f,g,p,m,b,y,w,S,x;if(!r)throw new JpegError("missing required Quantization Table.");for(let e=0;e<64;e+=8){f=i[t+e];g=i[t+e+1];p=i[t+e+2];m=i[t+e+3];b=i[t+e+4];y=i[t+e+5];w=i[t+e+6];S=i[t+e+7];f*=r[e];if(g|p|m|b|y|w|S){g*=r[e+1];p*=r[e+2];m*=r[e+3];b*=r[e+4];y*=r[e+5];w*=r[e+6];S*=r[e+7];n=za*f+128>>8;s=za*b+128>>8;o=p;c=w;l=$a*(g-S)+128>>8;d=$a*(g+S)+128>>8;h=m<<4;u=y<<4;n=n+s+1>>1;s=n-s;x=o*Wa+c*Ha+128>>8;o=o*Ha-c*Wa+128>>8;c=x;l=l+u+1>>1;u=l-u;d=d+h+1>>1;h=d-h;n=n+c+1>>1;c=n-c;s=s+o+1>>1;o=s-o;x=l*qa+d*Xa+2048>>12;l=l*Xa-d*qa+2048>>12;d=x;x=h*Ua+u*_a+2048>>12;h=h*_a-u*Ua+2048>>12;u=x;a[e]=n+d;a[e+7]=n-d;a[e+1]=s+u;a[e+6]=s-u;a[e+2]=o+h;a[e+5]=o-h;a[e+3]=c+l;a[e+4]=c-l}else{x=za*f+512>>10;a[e]=x;a[e+1]=x;a[e+2]=x;a[e+3]=x;a[e+4]=x;a[e+5]=x;a[e+6]=x;a[e+7]=x}}for(let e=0;e<8;++e){f=a[e];g=a[e+8];p=a[e+16];m=a[e+24];b=a[e+32];y=a[e+40];w=a[e+48];S=a[e+56];if(g|p|m|b|y|w|S){n=za*f+2048>>12;s=za*b+2048>>12;o=p;c=w;l=$a*(g-S)+2048>>12;d=$a*(g+S)+2048>>12;h=m;u=y;n=4112+(n+s+1>>1);s=n-s;x=o*Wa+c*Ha+2048>>12;o=o*Ha-c*Wa+2048>>12;c=x;l=l+u+1>>1;u=l-u;d=d+h+1>>1;h=d-h;n=n+c+1>>1;c=n-c;s=s+o+1>>1;o=s-o;x=l*qa+d*Xa+2048>>12;l=l*Xa-d*qa+2048>>12;d=x;x=h*Ua+u*_a+2048>>12;h=h*_a-u*Ua+2048>>12;u=x;f=n+d;S=n-d;g=s+u;w=s-u;p=o+h;y=o-h;m=c+l;b=c-l;f<16?f=0:f>=4080?f=255:f>>=4;g<16?g=0:g>=4080?g=255:g>>=4;p<16?p=0:p>=4080?p=255:p>>=4;m<16?m=0:m>=4080?m=255:m>>=4;b<16?b=0:b>=4080?b=255:b>>=4;y<16?y=0:y>=4080?y=255:y>>=4;w<16?w=0:w>=4080?w=255:w>>=4;S<16?S=0:S>=4080?S=255:S>>=4;i[t+e]=f;i[t+e+8]=g;i[t+e+16]=p;i[t+e+24]=m;i[t+e+32]=b;i[t+e+40]=y;i[t+e+48]=w;i[t+e+56]=S}else{x=za*f+8192>>14;x=x<-2040?0:x>=2024?255:x+2056>>4;i[t+e]=x;i[t+e+8]=x;i[t+e+16]=x;i[t+e+24]=x;i[t+e+32]=x;i[t+e+40]=x;i[t+e+48]=x;i[t+e+56]=x}}}function buildComponentData(e,t){const a=t.blocksPerLine,r=t.blocksPerColumn,i=new Int16Array(64);for(let e=0;e=r)return null;const n=readUint16(e,t);if(n>=65472&&n<=65534)return{invalid:null,marker:n,offset:t};let s=readUint16(e,i);for(;!(s>=65472&&s<=65534);){if(++i>=r)return null;s=readUint16(e,i)}return{invalid:n.toString(16),marker:s,offset:i}}function prepareComponents(e){const t=Math.ceil(e.samplesPerLine/8/e.maxH),a=Math.ceil(e.scanLines/8/e.maxV);for(const r of e.components){const i=Math.ceil(Math.ceil(e.samplesPerLine/8)*r.h/e.maxH),n=Math.ceil(Math.ceil(e.scanLines/8)*r.v/e.maxV),s=t*r.h,o=64*(a*r.v)*(s+1);r.blockData=new Int16Array(o);r.blocksPerLine=i;r.blocksPerColumn=n}e.mcusPerLine=t;e.mcusPerColumn=a}function readDataBlock(e,t){const a=readUint16(e,t);let r=(t+=2)+a-2;const i=findNextFileMarker(e,r,t);if(i?.invalid){warn("readDataBlock - incorrect length, current marker is: "+i.invalid);r=i.offset}const n=e.subarray(t,r);return{appData:n,oldOffset:t,newOffset:t+n.length}}function skipData(e,t){const a=readUint16(e,t),r=(t+=2)+a-2,i=findNextFileMarker(e,r,t);return i?.invalid?i.offset:r}class JpegImage{constructor({decodeTransform:e=null,colorTransform:t=-1}={}){this._decodeTransform=e;this._colorTransform=t}static canUseImageDecoder(e,t=-1){let a=null,r=0,i=null,n=readUint16(e,r);r+=2;if(65496!==n)throw new JpegError("SOI not found");n=readUint16(e,r);r+=2;e:for(;65497!==n;){switch(n){case 65505:const{appData:t,oldOffset:s,newOffset:o}=readDataBlock(e,r);r=o;if(69===t[0]&&120===t[1]&&105===t[2]&&102===t[3]&&0===t[4]&&0===t[5]){if(a)throw new JpegError("Duplicate EXIF-blocks found.");a={exifStart:s+6,exifEnd:o}}n=readUint16(e,r);r+=2;continue;case 65472:case 65473:case 65474:i=e[r+7];break e;case 65535:255!==e[r]&&r--}r=skipData(e,r);n=readUint16(e,r);r+=2}return 4===i||3===i&&0===t?null:a||{}}parse(e,{dnlScanLines:t=null}={}){let a,r,i=0,n=null,s=null,o=0;const c=[],l=[],h=[];let u=readUint16(e,i);i+=2;if(65496!==u)throw new JpegError("SOI not found");u=readUint16(e,i);i+=2;e:for(;65497!==u;){let d,f,g;switch(u){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:const{appData:p,newOffset:m}=readDataBlock(e,i);i=m;65504===u&&74===p[0]&&70===p[1]&&73===p[2]&&70===p[3]&&0===p[4]&&(n={version:{major:p[5],minor:p[6]},densityUnits:p[7],xDensity:p[8]<<8|p[9],yDensity:p[10]<<8|p[11],thumbWidth:p[12],thumbHeight:p[13],thumbData:p.subarray(14,14+3*p[12]*p[13])});65518===u&&65===p[0]&&100===p[1]&&111===p[2]&&98===p[3]&&101===p[4]&&(s={version:p[5]<<8|p[6],flags0:p[7]<<8|p[8],flags1:p[9]<<8|p[10],transformCode:p[11]});break;case 65499:const b=readUint16(e,i);i+=2;const y=b+i-2;let w;for(;i>4){if(t>>4!=1)throw new JpegError("DQT - invalid table spec");for(f=0;f<64;f++){w=ja[f];a[w]=readUint16(e,i);i+=2}}else for(f=0;f<64;f++){w=ja[f];a[w]=e[i++]}c[15&t]=a}break;case 65472:case 65473:case 65474:if(a)throw new JpegError("Only single frame JPEGs supported");i+=2;a={};a.extended=65473===u;a.progressive=65474===u;a.precision=e[i++];const S=readUint16(e,i);i+=2;a.scanLines=t||S;a.samplesPerLine=readUint16(e,i);i+=2;a.components=[];a.componentIds={};const x=e[i++];let k=0,C=0;for(d=0;d>4,n=15&e[i+1];k>4?l:h)[15&t]=buildHuffmanTable(a,n)}break;case 65501:i+=2;r=readUint16(e,i);i+=2;break;case 65498:const F=1==++o&&!t;i+=2;const O=e[i++],T=[];for(d=0;d>4];n.huffmanTableAC=l[15&s];T.push(n)}const M=e[i++],D=e[i++],R=e[i++];try{i+=decodeScan(e,i,a,T,r,M,D,R>>4,15&R,F)}catch(t){if(t instanceof DNLMarkerError){warn(`${t.message} -- attempting to re-parse the JPEG image.`);return this.parse(e,{dnlScanLines:t.scanLines})}if(t instanceof EOIMarkerError){warn(`${t.message} -- ignoring the rest of the image data.`);break e}throw t}break;case 65500:i+=4;break;case 65535:255!==e[i]&&i--;break;default:const N=findNextFileMarker(e,i-2,i-3);if(N?.invalid){warn("JpegImage.parse - unexpected data, current marker is: "+N.invalid);i=N.offset;break}if(!N||i>=e.length-1){warn("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new JpegError("JpegImage.parse - unknown marker: "+u.toString(16))}u=readUint16(e,i);i+=2}if(!a)throw new JpegError("JpegImage.parse - no frame data found.");this.width=a.samplesPerLine;this.height=a.scanLines;this.jfif=n;this.adobe=s;this.components=[];for(const e of a.components){const t=c[e.quantizationId];t&&(e.quantizationTable=t);this.components.push({index:e.index,output:buildComponentData(0,e),scaleX:e.h/a.maxH,scaleY:e.v/a.maxV,blocksPerLine:e.blocksPerLine,blocksPerColumn:e.blocksPerColumn})}this.numComponents=this.components.length}_getLinearizedBlockData(e,t,a=!1){const r=this.width/e,i=this.height/t;let n,s,o,c,l,h,u,d,f,g,p,m=0;const b=this.components.length,y=e*t*b,w=new Uint8ClampedArray(y),S=new Uint32Array(e),x=4294967288;let k;for(u=0;u>8)+C[f+1];return w}get _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this._colorTransform&&(82!==this.components[0].index||71!==this.components[1].index||66!==this.components[2].index):1===this._colorTransform}_convertYccToRgb(e){let t,a,r;for(let i=0,n=e.length;i4)throw new JpegError("Unsupported color mode");const n=this._getLinearizedBlockData(e,t,i);if(1===this.numComponents&&(a||r)){const e=n.length*(a?4:3),t=new Uint8ClampedArray(e);let r=0;if(a)!function grayToRGBA(e,t){if(FeatureTest.isLittleEndian)for(let a=0,r=e.length;a0&&(e=e.subarray(t));break}return e}decodeImage(e){if(this.eof)return this.buffer;e=this.#N(e||this.bytes);const t=new JpegImage(this.jpegOptions);t.parse(e);const a=t.getData({width:this.drawWidth,height:this.drawHeight,forceRGBA:this.forceRGBA,forceRGB:this.forceRGB,isSourcePDF:!0});this.buffer=a;this.bufferLength=a.length;this.eof=!0;return this.buffer}get canAsyncDecodeImageFromBuffer(){return this.stream.isAsync}async getTransferableImage(){if(!await JpegStream.canUseImageDecoder)return null;const e=this.jpegOptions;if(e.decodeTransform)return null;let t;try{const a=this.canAsyncDecodeImageFromBuffer&&await this.stream.asyncGetBytes()||this.bytes;if(!a)return null;let r=this.#N(a);const i=JpegImage.canUseImageDecoder(r,e.colorTransform);if(!i)return null;if(i.exifStart){r=r.slice();r.fill(0,i.exifStart,i.exifEnd)}t=new ImageDecoder({data:r,type:"image/jpeg",preferAnimation:!1});return(await t.decode()).image}catch(e){warn(`getTransferableImage - failed: "${e}".`);return null}finally{t?.close()}}}var OpenJPEG=async function(e={}){var t,a,r=e,i=new Promise(((e,r)=>{t=e;a=r})),n="./this.program",quit_=(e,t)=>{throw t},s=import.meta.url;try{new URL(".",s).href}catch{}var o,c,l,h,u,d,f=console.log.bind(console),g=console.error.bind(console),p=!1;function updateMemoryViews(){var e=o.buffer;l=new Int8Array(e);new Int16Array(e);h=new Uint8Array(e);new Uint16Array(e);u=new Int32Array(e);d=new Uint32Array(e);new Float32Array(e);new Float64Array(e);new BigInt64Array(e);new BigUint64Array(e)}var m=0,b=null;class ExitStatus{name="ExitStatus";constructor(e){this.message=`Program terminated with exit(${e})`;this.status=e}}var callRuntimeCallbacks=e=>{for(;e.length>0;)e.shift()(r)},y=[],addOnPostRun=e=>y.push(e),w=[],addOnPreRun=e=>w.push(e),S=!0,x=0,k={},handleException=e=>{if(e instanceof ExitStatus||"unwind"==e)return c;quit_(0,e)},keepRuntimeAlive=()=>S||x>0,_proc_exit=e=>{c=e;if(!keepRuntimeAlive()){r.onExit?.(e);p=!0}quit_(0,new ExitStatus(e))},_exit=(e,t)=>{c=e;_proc_exit(e)},callUserCallback=e=>{if(!p)try{e();(()=>{if(!keepRuntimeAlive())try{_exit(c)}catch(e){handleException(e)}})()}catch(e){handleException(e)}},growMemory=e=>{var t=(e-o.buffer.byteLength+65535)/65536|0;try{o.grow(t);updateMemoryViews();return 1}catch(e){}},C={},getEnvStrings=()=>{if(!getEnvStrings.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:n||"./this.program"};for(var t in C)void 0===C[t]?delete e[t]:e[t]=C[t];var a=[];for(var t in e)a.push(`${t}=${e[t]}`);getEnvStrings.strings=a}return getEnvStrings.strings},lengthBytesUTF8=e=>{for(var t=0,a=0;a=55296&&r<=57343){t+=4;++a}else t+=3}return t},v=[null,[],[]],F="undefined"!=typeof TextDecoder?new TextDecoder:void 0,UTF8ArrayToString=(e,t=0,a=NaN)=>{for(var r=t+a,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&F)return F.decode(e.subarray(t,i));for(var n="";t>10,56320|1023&l)}}else n+=String.fromCharCode((31&s)<<6|o)}else n+=String.fromCharCode(s)}return n},printChar=(e,t)=>{var a=v[e];if(0===t||10===t){(1===e?f:g)(UTF8ArrayToString(a));a.length=0}else a.push(t)},UTF8ToString=(e,t)=>e?UTF8ArrayToString(h,e,t):"";r.noExitRuntime&&(S=r.noExitRuntime);r.print&&(f=r.print);r.printErr&&(g=r.printErr);r.wasmBinary&&r.wasmBinary;r.arguments&&r.arguments;r.thisProgram&&(n=r.thisProgram);r.writeArrayToMemory=(e,t)=>{l.set(e,t)};var O={l:()=>function abort(e){r.onAbort?.(e);g(e="Aborted("+e+")");p=!0;e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);a(t);throw t}(""),k:()=>{S=!1;x=0},m:(e,t)=>{if(k[e]){clearTimeout(k[e].id);delete k[e]}if(!t)return 0;var a=setTimeout((()=>{delete k[e];callUserCallback((()=>M(e,performance.now())))}),t);k[e]={id:a,timeout_ms:t};return 0},g:function _copy_pixels_1(e,t){e>>=2;const a=r.imageData=new Uint8ClampedArray(t),i=u.subarray(e,e+t);a.set(i)},f:function _copy_pixels_3(e,t,a,i){e>>=2;t>>=2;a>>=2;const n=r.imageData=new Uint8ClampedArray(3*i),s=u.subarray(e,e+i),o=u.subarray(t,t+i),c=u.subarray(a,a+i);for(let e=0;e>=2;t>>=2;a>>=2;i>>=2;const s=r.imageData=new Uint8ClampedArray(4*n),o=u.subarray(e,e+n),c=u.subarray(t,t+n),l=u.subarray(a,a+n),h=u.subarray(i,i+n);for(let e=0;e{var t,a,r=h.length,i=2147483648;if((e>>>=0)>i)return!1;for(var n=1;n<=4;n*=2){var s=r*(1+.2/n);s=Math.min(s,e+100663296);var o=Math.min(i,(t=Math.max(e,s),a=65536,Math.ceil(t/a)*a));if(growMemory(o))return!0}return!1},p:(e,t)=>{var a=0,r=0;for(var i of getEnvStrings()){var n=t+a;d[e+r>>2]=n;a+=((e,t,a,r)=>{if(!(r>0))return 0;for(var i=a,n=a+r-1,s=0;s=55296&&o<=57343&&(o=65536+((1023&o)<<10)|1023&e.charCodeAt(++s));if(o<=127){if(a>=n)break;t[a++]=o}else if(o<=2047){if(a+1>=n)break;t[a++]=192|o>>6;t[a++]=128|63&o}else if(o<=65535){if(a+2>=n)break;t[a++]=224|o>>12;t[a++]=128|o>>6&63;t[a++]=128|63&o}else{if(a+3>=n)break;t[a++]=240|o>>18;t[a++]=128|o>>12&63;t[a++]=128|o>>6&63;t[a++]=128|63&o}}t[a]=0;return a-i})(i,h,n,1/0)+1;r+=4}return 0},q:(e,t)=>{var a=getEnvStrings();d[e>>2]=a.length;var r=0;for(var i of a)r+=lengthBytesUTF8(i)+1;d[t>>2]=r;return 0},b:e=>52,o:function _fd_seek(e,t,a,r){t=(i=t)<-9007199254740992||i>9007199254740992?NaN:Number(i);var i;return 70},c:(e,t,a,r)=>{for(var i=0,n=0;n>2],o=d[t+4>>2];t+=8;for(var c=0;c>2]=i;return 0},r:function _gray_to_rgba(e,t){e>>=2;const a=r.imageData=new Uint8ClampedArray(4*t),i=u.subarray(e,e+t);for(let e=0;e>=2;t>>=2;const i=r.imageData=new Uint8ClampedArray(4*a),n=u.subarray(e,e+a),s=u.subarray(t,t+a);for(let e=0;e>=2;t>>=2;a>>=2;const n=r.imageData=new Uint8ClampedArray(4*i),s=u.subarray(e,e+i),o=u.subarray(t,t+i),c=u.subarray(a,a+i);for(let e=0;e{r.instantiateWasm(e,((e,a)=>{t(receiveInstance(e))}))}))}(),M=(T.t,r._malloc=T.u,r._free=T.v,r._jp2_decode=T.w,T.x);!function preInit(){if(r.preInit){"function"==typeof r.preInit&&(r.preInit=[r.preInit]);for(;r.preInit.length>0;)r.preInit.shift()()}}();!function run(){if(m>0)b=run;else{!function preRun(){if(r.preRun){"function"==typeof r.preRun&&(r.preRun=[r.preRun]);for(;r.preRun.length;)addOnPreRun(r.preRun.shift())}callRuntimeCallbacks(w)}();if(m>0)b=run;else if(r.setStatus){r.setStatus("Running...");setTimeout((()=>{setTimeout((()=>r.setStatus("")),1);doRun()}),1)}else doRun()}function doRun(){r.calledRun=!0;if(!p){!function initRuntime(){T.t()}();t(r);r.onRuntimeInitialized?.();!function postRun(){if(r.postRun){"function"==typeof r.postRun&&(r.postRun=[r.postRun]);for(;r.postRun.length;)addOnPostRun(r.postRun.shift())}callRuntimeCallbacks(y)}()}}}();return i};const Ga=OpenJPEG;class JpxError extends fa{constructor(e){super(e,"JpxError")}}class JpxImage{static#E=null;static#P=null;static#L=null;static#v=!0;static#j=!0;static#F=null;static setOptions({handler:e,useWasm:t,useWorkerFetch:a,wasmUrl:r}){this.#v=t;this.#j=a;this.#F=r;a||(this.#P=e)}static async#_(e){const t=`${this.#F}openjpeg_nowasm_fallback.js`;let a=null;try{a=(await import( -/*webpackIgnore: true*/ -/*@vite-ignore*/ -t)).default()}catch(e){warn(`JpxImage#getJsModule: ${e}`)}e(a)}static async#U(e,t,a){const r="openjpeg.wasm";try{this.#E||(this.#j?this.#E=await fetchBinaryData(`${this.#F}${r}`):this.#E=await this.#P.sendWithPromise("FetchBinaryData",{type:"wasmFactory",filename:r}));return a((await WebAssembly.instantiate(this.#E,t)).instance)}catch(t){warn(`JpxImage#instantiateWasm: ${t}`);this.#_(e);return null}finally{this.#P=null}}static async decode(e,{numComponents:t=4,isIndexedColormap:a=!1,smaskInData:r=!1,reducePower:i=0}={}){if(!this.#L){const{promise:e,resolve:t}=Promise.withResolvers(),a=[e];this.#v?a.push(Ga({warn,instantiateWasm:this.#U.bind(this,t)})):this.#_(t);this.#L=Promise.race(a)}const n=await this.#L;if(!n)throw new JpxError("OpenJPEG failed to initialize");let s;try{const o=e.length;s=n._malloc(o);n.writeArrayToMemory(e,s);if(n._jp2_decode(s,o,t>0?t:0,!!a,!!r,i)){const{errorMessages:e}=n;if(e){delete n.errorMessages;throw new JpxError(e)}throw new JpxError("Unknown error")}const{imageData:c}=n;n.imageData=null;return c}finally{s&&n._free(s)}}static cleanup(){this.#L=null}static parseImageProperties(e){let t=e.getByte();for(;t>=0;){const a=t;t=e.getByte();if(65361===(a<<8|t)){e.skip(4);const t=e.getInt32()>>>0,a=e.getInt32()>>>0,r=e.getInt32()>>>0,i=e.getInt32()>>>0;e.skip(16);return{width:t-r,height:a-i,bitsPerComponent:8,componentsCount:e.getUint16()}}}throw new JpxError("No size marker found in JPX stream")}}function addState(e,t,a,r,i){let n=e;for(let e=0,a=t.length-1;e1e3){l=Math.max(l,d);f+=u+2;d=0;u=0}h.push({transform:t,x:d,y:f,w:a.width,h:a.height});d+=a.width+2;u=Math.max(u,a.height)}const g=Math.max(l,d)+1,p=f+u+1,m=new Uint8Array(g*p*4),b=g<<2;for(let e=0;e=0;){t[n-4]=t[n];t[n-3]=t[n+1];t[n-2]=t[n+2];t[n-1]=t[n+3];t[n+a]=t[n+a-4];t[n+a+1]=t[n+a-3];t[n+a+2]=t[n+a-2];t[n+a+3]=t[n+a-1];n-=b}}const y={width:g,height:p};if(e.isOffscreenCanvasSupported){const e=new OffscreenCanvas(g,p);e.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(m.buffer),g,p),0,0);y.bitmap=e.transferToImageBitmap();y.data=null}else{y.kind=v;y.data=m}a.splice(n,4*c,Zt);r.splice(n,4*c,[y,h]);return n+1}));addState(Va,[Be,Ne,Vt,Re],null,(function iterateImageMaskGroup(e,t){const a=e.fnArray,r=(t-(e.iCurr-3))%4;switch(r){case 0:return a[t]===Be;case 1:return a[t]===Ne;case 2:return a[t]===Vt;case 3:return a[t]===Re}throw new Error(`iterateImageMaskGroup - invalid pos: ${r}`)}),(function foundImageMaskGroup(e,t){const a=e.fnArray,r=e.argsArray,i=e.iCurr,n=i-3,s=i-2,o=i-1;let c=Math.floor((t-n)/4);if(c<10)return t-(t-n)%4;let l,h,u=!1;const d=r[o][0],f=r[s][0],g=r[s][1],p=r[s][2],m=r[s][3];if(g===p){u=!0;l=s+4;let e=o+4;for(let t=1;t=4&&a[n-4]===a[s]&&a[n-3]===a[o]&&a[n-2]===a[c]&&a[n-1]===a[l]&&r[n-4][0]===h&&r[n-4][1]===u){d++;f-=5}let g=f+4;for(let e=1;e{const t=e.argsArray,a=t[e.iCurr-1][0];if(a!==qe&&a!==He&&a!==$e&&a!==Ge&&a!==Ve&&a!==Ke)return!0;const r=t[e.iCurr-2];return 1===r[0]&&0===r[1]&&0===r[2]&&1===r[3]}),(()=>!1),((e,t)=>{const{fnArray:a,argsArray:r}=e,i=e.iCurr,n=i-3,s=i-2,o=r[i-1],c=r[s],[,[l],h]=o;if(h){Util.scaleMinMax(c,h);for(let e=0,t=l.length;e=a)break}r=(r||Va)[e[t]];if(r&&!Array.isArray(r)){n.iCurr=t;t++;if(!r.checkFn||(0,r.checkFn)(n)){i=r;r=null}else r=null}else t++}this.state=r;this.match=i;this.lastProcessed=t}flush(){for(;this.match;){const e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e);this.match=null;this.state=null;this._optimize()}}reset(){this.state=null;this.match=null;this.lastProcessed=0}}class OperatorList{static CHUNK_SIZE=1e3;static CHUNK_SIZE_ABOUT=this.CHUNK_SIZE-5;static isOffscreenCanvasSupported=!1;constructor(e=0,t){this._streamSink=t;this.fnArray=[];this.argsArray=[];this.optimizer=!t||e&d?new NullOptimizer(this):new QueueOptimizer(this);this.dependencies=new Set;this._totalLength=0;this.weight=0;this._resolved=t?null:Promise.resolve()}static setOptions({isOffscreenCanvasSupported:e}){this.isOffscreenCanvasSupported=e}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}get totalLength(){return this._totalLength+this.length}addOp(e,t){this.optimizer.push(e,t);this.weight++;this._streamSink&&(this.weight>=OperatorList.CHUNK_SIZE||this.weight>=OperatorList.CHUNK_SIZE_ABOUT&&(e===Re||e===et))&&this.flush()}addImageOps(e,t,a,r=!1){if(r){this.addOp(Be);this.addOp(De,[[["SMask",!1]]])}void 0!==a&&this.addOp(jt,["OC",a]);this.addOp(e,t);void 0!==a&&this.addOp(_t,[]);r&&this.addOp(Re)}addDependency(e){if(!this.dependencies.has(e)){this.dependencies.add(e);this.addOp(ke,[e])}}addDependencies(e){for(const t of e)this.addDependency(t)}addOpList(e){if(e instanceof OperatorList){for(const t of e.dependencies)this.dependencies.add(t);for(let t=0,a=e.length;t>>0}function hexToStr(e,t){return 1===t?String.fromCharCode(e[0],e[1]):3===t?String.fromCharCode(e[0],e[1],e[2],e[3]):String.fromCharCode(...e.subarray(0,t+1))}function addHex(e,t,a){let r=0;for(let i=a;i>=0;i--){r+=e[i]+t[i];e[i]=255&r;r>>=8}}function incHex(e,t){let a=1;for(let r=t;r>=0&&a>0;r--){a+=e[r];e[r]=255&a;a>>=8}}const Ka=16;class BinaryCMapStream{constructor(e){this.buffer=e;this.pos=0;this.end=e.length;this.tmpBuf=new Uint8Array(19)}readByte(){return this.pos>=this.end?-1:this.buffer[this.pos++]}readNumber(){let e,t=0;do{const a=this.readByte();if(a<0)throw new FormatError("unexpected EOF in bcmap");e=!(128&a);t=t<<7|127&a}while(!e);return t}readSigned(){const e=this.readNumber();return 1&e?~(e>>>1):e>>>1}readHex(e,t){e.set(this.buffer.subarray(this.pos,this.pos+t+1));this.pos+=t+1}readHexNumber(e,t){let a;const r=this.tmpBuf;let i=0;do{const e=this.readByte();if(e<0)throw new FormatError("unexpected EOF in bcmap");a=!(128&e);r[i++]=127&e}while(!a);let n=t,s=0,o=0;for(;n>=0;){for(;o<8&&r.length>0;){s|=r[--i]<>=8;o-=8}}readHexSigned(e,t){this.readHexNumber(e,t);const a=1&e[t]?255:0;let r=0;for(let i=0;i<=t;i++){r=(1&r)<<8|e[i];e[i]=r>>1^a}}readString(){const e=this.readNumber(),t=new Array(e);for(let a=0;a=0;){const e=d>>5;if(7===e){switch(31&d){case 0:r.readString();break;case 1:n=r.readString()}continue}const a=!!(16&d),i=15&d;if(i+1>Ka)throw new Error("BinaryCMapReader.process: Invalid dataSize.");const f=1,g=r.readNumber();switch(e){case 0:r.readHex(s,i);r.readHexNumber(o,i);addHex(o,s,i);t.addCodespaceRange(i+1,hexToInt(s,i),hexToInt(o,i));for(let e=1;e=0;--i){r[a+i]=255&s;s>>=8}}}}class AsciiHexStream extends DecodeStream{constructor(e,t){t&&(t*=.5);super(t);this.str=e;this.dict=e.dict;this.firstDigit=-1}readBlock(){const e=this.str.getBytes(8e3);if(!e.length){this.eof=!0;return}const t=e.length+1>>1,a=this.ensureBuffer(this.bufferLength+t);let r=this.bufferLength,i=this.firstDigit;for(const t of e){let e;if(t>=48&&t<=57)e=15&t;else{if(!(t>=65&&t<=70||t>=97&&t<=102)){if(62===t){this.eof=!0;break}continue}e=9+(15&t)}if(i<0)i=e;else{a[r++]=i<<4|e;i=-1}}if(i>=0&&this.eof){a[r++]=i<<4;i=-1}this.firstDigit=i;this.bufferLength=r}}const Ja=-1,Ya=[[-1,-1],[-1,-1],[7,8],[7,7],[6,6],[6,6],[6,5],[6,5],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2]],Za=[[-1,-1],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],Qa=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],er=[[-1,-1],[-1,-1],[12,-2],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],tr=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],ar=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];class CCITTFaxDecoder{constructor(e,t={}){if("function"!=typeof e?.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=e;this.eof=!1;this.encoding=t.K||0;this.eoline=t.EndOfLine||!1;this.byteAlign=t.EncodedByteAlign||!1;this.columns=t.Columns||1728;this.rows=t.Rows||0;this.eoblock=t.EndOfBlock??!0;this.black=t.BlackIs1||!1;this.codingLine=new Uint32Array(this.columns+1);this.refLine=new Uint32Array(this.columns+2);this.codingLine[0]=this.columns;this.codingPos=0;this.row=0;this.nextLine2D=this.encoding<0;this.inputBits=0;this.inputBuf=0;this.outputBits=0;this.rowsDone=!1;let a;for(;0===(a=this._lookBits(12));)this._eatBits(1);1===a&&this._eatBits(12);if(this.encoding>0){this.nextLine2D=!this._lookBits(1);this._eatBits(1)}}readNextChar(){if(this.eof)return-1;const e=this.refLine,t=this.codingLine,a=this.columns;let r,i,n,s,o;if(0===this.outputBits){this.rowsDone&&(this.eof=!0);if(this.eof)return-1;this.err=!1;let n,o,c;if(this.nextLine2D){for(s=0;t[s]=64);do{o+=c=this._getWhiteCode()}while(c>=64)}else{do{n+=c=this._getWhiteCode()}while(c>=64);do{o+=c=this._getBlackCode()}while(c>=64)}this._addPixels(t[this.codingPos]+n,i);t[this.codingPos]0?--r:++r;for(;e[r]<=t[this.codingPos]&&e[r]0?--r:++r;for(;e[r]<=t[this.codingPos]&&e[r]0?--r:++r;for(;e[r]<=t[this.codingPos]&&e[r]=64);else do{n+=c=this._getWhiteCode()}while(c>=64);this._addPixels(t[this.codingPos]+n,i);i^=1}}let l=!1;this.byteAlign&&(this.inputBits&=-8);if(this.eoblock||this.row!==this.rows-1){n=this._lookBits(12);if(this.eoline)for(;n!==Ja&&1!==n;){this._eatBits(1);n=this._lookBits(12)}else for(;0===n;){this._eatBits(1);n=this._lookBits(12)}if(1===n){this._eatBits(12);l=!0}else n===Ja&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&this.encoding>0&&!this.rowsDone){this.nextLine2D=!this._lookBits(1);this._eatBits(1)}if(this.eoblock&&l&&this.byteAlign){n=this._lookBits(12);if(1===n){this._eatBits(12);if(this.encoding>0){this._lookBits(1);this._eatBits(1)}if(this.encoding>=0)for(s=0;s<4;++s){n=this._lookBits(12);1!==n&&info("bad rtc code: "+n);this._eatBits(12);if(this.encoding>0){this._lookBits(1);this._eatBits(1)}}this.eof=!0}}else if(this.err&&this.eoline){for(;;){n=this._lookBits(13);if(n===Ja){this.eof=!0;return-1}if(n>>1==1)break;this._eatBits(1)}this._eatBits(12);if(this.encoding>0){this._eatBits(1);this.nextLine2D=!(1&n)}}this.outputBits=t[0]>0?t[this.codingPos=0]:t[this.codingPos=1];this.row++}if(this.outputBits>=8){o=1&this.codingPos?0:255;this.outputBits-=8;if(0===this.outputBits&&t[this.codingPos]n){o<<=n;1&this.codingPos||(o|=255>>8-n);this.outputBits-=n;n=0}else{o<<=this.outputBits;1&this.codingPos||(o|=255>>8-this.outputBits);n-=this.outputBits;this.outputBits=0;if(t[this.codingPos]0){o<<=n;n=0}}}while(n)}this.black&&(o^=255);return o}_addPixels(e,t){const a=this.codingLine;let r=this.codingPos;if(e>a[r]){if(e>this.columns){info("row is wrong length");this.err=!0;e=this.columns}1&r^t&&++r;a[r]=e}this.codingPos=r}_addPixelsNeg(e,t){const a=this.codingLine;let r=this.codingPos;if(e>a[r]){if(e>this.columns){info("row is wrong length");this.err=!0;e=this.columns}1&r^t&&++r;a[r]=e}else if(e0&&e=i){const t=a[e-i];if(t[0]===r){this._eatBits(r);return[!0,t[1],!0]}}}return[!1,0,!1]}_getTwoDimCode(){let e,t=0;if(this.eoblock){t=this._lookBits(7);e=Ya[t];if(e?.[0]>0){this._eatBits(e[0]);return e[1]}}else{const e=this._findTableCode(1,7,Ya);if(e[0]&&e[2])return e[1]}info("Bad two dim code");return Ja}_getWhiteCode(){let e,t=0;if(this.eoblock){t=this._lookBits(12);if(t===Ja)return 1;e=t>>5?Qa[t>>3]:Za[t];if(e[0]>0){this._eatBits(e[0]);return e[1]}}else{let e=this._findTableCode(1,9,Qa);if(e[0])return e[1];e=this._findTableCode(11,12,Za);if(e[0])return e[1]}info("bad white code");this._eatBits(1);return 1}_getBlackCode(){let e,t;if(this.eoblock){e=this._lookBits(13);if(e===Ja)return 1;t=e>>7?!(e>>9)&&e>>7?tr[(e>>1)-64]:ar[e>>7]:er[e];if(t[0]>0){this._eatBits(t[0]);return t[1]}}else{let e=this._findTableCode(2,6,ar);if(e[0])return e[1];e=this._findTableCode(7,12,tr,64);if(e[0])return e[1];e=this._findTableCode(10,13,er);if(e[0])return e[1]}info("bad black code");this._eatBits(1);return 1}_lookBits(e){let t;for(;this.inputBits>16-e;this.inputBuf=this.inputBuf<<8|t;this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e}_eatBits(e){(this.inputBits-=e)<0&&(this.inputBits=0)}}class CCITTFaxStream extends DecodeStream{constructor(e,t,a){super(t);this.str=e;this.dict=e.dict;a instanceof Dict||(a=Dict.empty);const r={next:()=>e.getByte()};this.ccittFaxDecoder=new CCITTFaxDecoder(r,{K:a.get("K"),EndOfLine:a.get("EndOfLine"),EncodedByteAlign:a.get("EncodedByteAlign"),Columns:a.get("Columns"),Rows:a.get("Rows"),EndOfBlock:a.get("EndOfBlock"),BlackIs1:a.get("BlackIs1")})}readBlock(){for(;!this.eof;){const e=this.ccittFaxDecoder.readNextChar();if(-1===e){this.eof=!0;return}this.ensureBuffer(this.bufferLength+1);this.buffer[this.bufferLength++]=e}}}const rr=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ir=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),nr=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),sr=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],or=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];class FlateStream extends DecodeStream{constructor(e,t){super(t);this.str=e;this.dict=e.dict;const a=e.getByte(),r=e.getByte();if(-1===a||-1===r)throw new FormatError(`Invalid header in flate stream: ${a}, ${r}`);if(8!=(15&a))throw new FormatError(`Unknown compression method in flate stream: ${a}, ${r}`);if(((a<<8)+r)%31!=0)throw new FormatError(`Bad FCHECK in flate stream: ${a}, ${r}`);if(32&r)throw new FormatError(`FDICT bit set in flate stream: ${a}, ${r}`);this.codeSize=0;this.codeBuf=0}async getImageData(e,t){const a=await this.asyncGetBytes();return a?a.length<=e?a:a.subarray(0,e):this.getBytes(e)}async asyncGetBytes(){this.str.reset();const e=this.str.getBytes();try{const{readable:t,writable:a}=new DecompressionStream("deflate"),r=a.getWriter();await r.ready;r.write(e).then((async()=>{await r.ready;await r.close()})).catch((()=>{}));const i=[];let n=0;for await(const e of t){i.push(e);n+=e.byteLength}const s=new Uint8Array(n);let o=0;for(const e of i){s.set(e,o);o+=e.byteLength}return s}catch{this.str=new Stream(e,2,e.length,this.str.dict);this.reset();return null}}get isAsync(){return!0}getBits(e){const t=this.str;let a,r=this.codeSize,i=this.codeBuf;for(;r>e;this.codeSize=r-=e;return a}getCode(e){const t=this.str,a=e[0],r=e[1];let i,n=this.codeSize,s=this.codeBuf;for(;n>16,l=65535&o;if(c<1||n>c;this.codeSize=n-c;return l}generateHuffmanTable(e){const t=e.length;let a,r=0;for(a=0;ar&&(r=e[a]);const i=1<>=1}for(a=e;a>=1;if(0===t){let t;if(-1===(t=r.getByte())){this.#X("Bad block header in flate stream");return}let a=t;if(-1===(t=r.getByte())){this.#X("Bad block header in flate stream");return}a|=t<<8;if(-1===(t=r.getByte())){this.#X("Bad block header in flate stream");return}let i=t;if(-1===(t=r.getByte())){this.#X("Bad block header in flate stream");return}i|=t<<8;if(i!==(65535&~a)&&(0!==a||0!==i))throw new FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0;this.codeSize=0;const n=this.bufferLength,s=n+a;e=this.ensureBuffer(s);this.bufferLength=s;if(0===a)-1===r.peekByte()&&(this.eof=!0);else{const t=r.getBytes(a);e.set(t,n);t.length0;)h[o++]=f}i=this.generateHuffmanTable(h.subarray(0,e));n=this.generateHuffmanTable(h.subarray(e,l))}}e=this.buffer;let s=e?e.length:0,o=this.bufferLength;for(;;){let t=this.getCode(i);if(t<256){if(o+1>=s){e=this.ensureBuffer(o+1);s=e.length}e[o++]=t;continue}if(256===t){this.bufferLength=o;return}t-=257;t=ir[t];let r=t>>16;r>0&&(r=this.getBits(r));a=(65535&t)+r;t=this.getCode(n);t=nr[t];r=t>>16;r>0&&(r=this.getBits(r));const c=(65535&t)+r;if(o+a>=s){e=this.ensureBuffer(o+a);s=e.length}for(let t=0;t>9&127;this.clow=this.clow<<7&65535;this.ct-=7;this.a=32768}byteIn(){const e=this.data;let t=this.bp;if(255===e[t])if(e[t+1]>143){this.clow+=65280;this.ct=8}else{t++;this.clow+=e[t]<<9;this.ct=7;this.bp=t}else{t++;this.clow+=t65535){this.chigh+=this.clow>>16;this.clow&=65535}}readBit(e,t){let a=e[t]>>1,r=1&e[t];const i=cr[a],n=i.qe;let s,o=this.a-n;if(this.chigh>15&1;this.clow=this.clow<<1&65535;this.ct--}while(!(32768&o));this.a=o;e[t]=a<<1|r;return s}}class Jbig2Error extends fa{constructor(e){super(e,"Jbig2Error")}}class ContextCache{getContexts(e){return e in this?this[e]:this[e]=new Int8Array(65536)}}class DecodingContext{constructor(e,t,a){this.data=e;this.start=t;this.end=a}get decoder(){return shadow(this,"decoder",new ArithmeticDecoder(this.data,this.start,this.end))}get contextCache(){return shadow(this,"contextCache",new ContextCache)}}function decodeInteger(e,t,a){const r=e.getContexts(t);let i=1;function readBits(e){let t=0;for(let n=0;n>>0}const n=readBits(1),s=readBits(1)?readBits(1)?readBits(1)?readBits(1)?readBits(1)?readBits(32)+4436:readBits(12)+340:readBits(8)+84:readBits(6)+20:readBits(4)+4:readBits(2);let o;0===n?o=s:s>0&&(o=-s);return o>=-2147483648&&o<=va?o:null}function decodeIAID(e,t,a){const r=e.getContexts("IAID");let i=1;for(let e=0;ee.y-t.y||e.x-t.x));const h=l.length,u=new Int8Array(h),d=new Int8Array(h),f=[];let g,p,m=0,b=0,y=0,w=0;for(p=0;p=v&&E=F){q=q<<1&m;for(p=0;p=0&&j=0){_=D[L][j];_&&(q|=_<=e?l<<=1:l=l<<1|x[o][c]}for(f=0;f=w||c<0||c>=y?l<<=1:l=l<<1|r[o][c]}const g=k.readBit(C,l);t[s]=g}}return x}function decodeTextRegion(e,t,a,r,i,n,s,o,c,l,h,u,d,f,g,p,m,b,y){if(e&&t)throw new Jbig2Error("refinement with Huffman is not supported");const w=[];let S,x;for(S=0;S1&&(i=e?y.readBits(b):decodeInteger(C,"IAIT",k));const n=s*v+i,F=e?f.symbolIDTable.decode(y):decodeIAID(C,k,c),O=t&&(e?y.readBit():decodeInteger(C,"IARI",k));let T=o[F],M=T[0].length,D=T.length;if(O){const e=decodeInteger(C,"IARDW",k),t=decodeInteger(C,"IARDH",k);M+=e;D+=t;T=decodeRefinement(M,D,g,T,(e>>1)+decodeInteger(C,"IARDX",k),(t>>1)+decodeInteger(C,"IARDY",k),!1,p,m)}let R=0;l?1&u?R=D-1:r+=D-1:u>1?r+=M-1:R=M-1;const N=n-(1&u?0:D-1),E=r-(2&u?M-1:0);let L,j,_;if(l)for(L=0;L>5&7;const c=[31&s];let l=t+6;if(7===s){o=536870911&readUint32(e,l-1);l+=3;let t=o+7>>3;c[0]=e[l++];for(;--t>0;)c.push(e[l++])}else if(5===s||6===s)throw new Jbig2Error("invalid referred-to flags");a.retainBits=c;let h=4;a.number<=256?h=1:a.number<=65536&&(h=2);const u=[];let d,f;for(d=0;d>>24&255;n[3]=t.height>>16&255;n[4]=t.height>>8&255;n[5]=255&t.height;for(d=l,f=e.length;d>2&3;e.huffmanDWSelector=t>>4&3;e.bitmapSizeSelector=t>>6&1;e.aggregationInstancesSelector=t>>7&1;e.bitmapCodingContextUsed=!!(256&t);e.bitmapCodingContextRetained=!!(512&t);e.template=t>>10&3;e.refinementTemplate=t>>12&1;l+=2;if(!e.huffman){c=0===e.template?4:1;s=[];for(o=0;o>2&3;h.stripSize=1<>4&3;h.transposed=!!(64&u);h.combinationOperator=u>>7&3;h.defaultPixelValue=u>>9&1;h.dsOffset=u<<17>>27;h.refinementTemplate=u>>15&1;if(h.huffman){const e=readUint16(r,l);l+=2;h.huffmanFS=3&e;h.huffmanDS=e>>2&3;h.huffmanDT=e>>4&3;h.huffmanRefinementDW=e>>6&3;h.huffmanRefinementDH=e>>8&3;h.huffmanRefinementDX=e>>10&3;h.huffmanRefinementDY=e>>12&3;h.huffmanRefinementSizeSelector=!!(16384&e)}if(h.refinement&&!h.refinementTemplate){s=[];for(o=0;o<2;o++){s.push({x:readInt8(r,l),y:readInt8(r,l+1)});l+=2}h.refinementAt=s}h.numberOfSymbolInstances=readUint32(r,l);l+=4;n=[h,a.referredTo,r,l,i];break;case 16:const d={},f=r[l++];d.mmr=!!(1&f);d.template=f>>1&3;d.patternWidth=r[l++];d.patternHeight=r[l++];d.maxPatternIndex=readUint32(r,l);l+=4;n=[d,a.number,r,l,i];break;case 22:case 23:const g={};g.info=readRegionSegmentInformation(r,l);l+=gr;const p=r[l++];g.mmr=!!(1&p);g.template=p>>1&3;g.enableSkip=!!(8&p);g.combinationOperator=p>>4&7;g.defaultPixelValue=p>>7&1;g.gridWidth=readUint32(r,l);l+=4;g.gridHeight=readUint32(r,l);l+=4;g.gridOffsetX=4294967295&readUint32(r,l);l+=4;g.gridOffsetY=4294967295&readUint32(r,l);l+=4;g.gridVectorX=readUint16(r,l);l+=2;g.gridVectorY=readUint16(r,l);l+=2;n=[g,a.referredTo,r,l,i];break;case 38:case 39:const m={};m.info=readRegionSegmentInformation(r,l);l+=gr;const b=r[l++];m.mmr=!!(1&b);m.template=b>>1&3;m.prediction=!!(8&b);if(!m.mmr){c=0===m.template?4:1;s=[];for(o=0;o>2&1;y.combinationOperator=w>>3&3;y.requiresBuffer=!!(32&w);y.combinationOperatorOverride=!!(64&w);n=[y];break;case 49:case 50:case 51:case 62:break;case 53:n=[a.number,r,l,i];break;default:throw new Jbig2Error(`segment type ${a.typeName}(${a.type}) is not implemented`)}const h="on"+a.typeName;h in t&&t[h].apply(t,n)}function processSegments(e,t){for(let a=0,r=e.length;a>3,a=new Uint8ClampedArray(t*e.height);e.defaultPixelValue&&a.fill(255);this.buffer=a}drawBitmap(e,t){const a=this.currentPageInfo,r=e.width,i=e.height,n=a.width+7>>3,s=a.combinationOperatorOverride?e.combinationOperator:a.combinationOperator,o=this.buffer,c=128>>(7&e.x);let l,h,u,d,f=e.y*n+(e.x>>3);switch(s){case 0:for(l=0;l>=1;if(!u){u=128;d++}}f+=n}break;case 2:for(l=0;l>=1;if(!u){u=128;d++}}f+=n}break;default:throw new Jbig2Error(`operator ${s} is not supported`)}}onImmediateGenericRegion(e,t,a,r){const i=e.info,n=new DecodingContext(t,a,r),s=decodeBitmap(e.mmr,i.width,i.height,e.template,e.prediction,null,e.at,n);this.drawBitmap(i,s)}onImmediateLosslessGenericRegion(){this.onImmediateGenericRegion(...arguments)}onSymbolDictionary(e,t,a,r,i,n){let s,o;if(e.huffman){s=function getSymbolDictionaryHuffmanTables(e,t,a){let r,i,n,s,o=0;switch(e.huffmanDHSelector){case 0:case 1:r=getStandardTable(e.huffmanDHSelector+4);break;case 3:r=getCustomHuffmanTable(o,t,a);o++;break;default:throw new Jbig2Error("invalid Huffman DH selector")}switch(e.huffmanDWSelector){case 0:case 1:i=getStandardTable(e.huffmanDWSelector+2);break;case 3:i=getCustomHuffmanTable(o,t,a);o++;break;default:throw new Jbig2Error("invalid Huffman DW selector")}if(e.bitmapSizeSelector){n=getCustomHuffmanTable(o,t,a);o++}else n=getStandardTable(1);s=e.aggregationInstancesSelector?getCustomHuffmanTable(o,t,a):getStandardTable(1);return{tableDeltaHeight:r,tableDeltaWidth:i,tableBitmapSize:n,tableAggregateInstances:s}}(e,a,this.customTables);o=new Reader(r,i,n)}let c=this.symbols;c||(this.symbols=c={});const l=[];for(const e of a){const t=c[e];t&&l.push(...t)}const h=new DecodingContext(r,i,n);c[t]=function decodeSymbolDictionary(e,t,a,r,i,n,s,o,c,l,h,u){if(e&&t)throw new Jbig2Error("symbol refinement with Huffman is not supported");const d=[];let f=0,g=log2(a.length+r);const p=h.decoder,m=h.contextCache;let b,y;if(e){b=getStandardTable(1);y=[];g=Math.max(g,1)}for(;d.length1)w=decodeTextRegion(e,t,r,f,0,i,1,a.concat(d),g,0,0,1,0,n,c,l,h,0,u);else{const e=decodeIAID(m,p,g),t=decodeInteger(m,"IARDX",p),i=decodeInteger(m,"IARDY",p);w=decodeRefinement(r,f,c,e=32){let a,r,s;switch(t){case 32:if(0===e)throw new Jbig2Error("no previous value in symbol ID table");r=i.readBits(2)+3;a=n[e-1].prefixLength;break;case 33:r=i.readBits(3)+3;a=0;break;case 34:r=i.readBits(7)+11;a=0;break;default:throw new Jbig2Error("invalid code length in symbol ID table")}for(s=0;s=0;m--){T=e?decodeMMRBitmap(O,c,l,!0):decodeBitmap(!1,c,l,a,!1,null,v,g);F[m]=T}for(M=0;M=0;b--){R^=F[b][M][D];N|=R<>8;j=u+M*d-D*f>>8;if(L>=0&&L+x<=r&&j>=0&&j+k<=i)for(m=0;m=i)){U=p[t];_=E[m];for(b=0;b=0&&e>1&7),c=1+(r>>4&7),l=[];let h,u,d=i;do{h=s.readBits(o);u=s.readBits(c);l.push(new HuffmanLine([d,h,u,0]));d+=1<>t&1;if(t<=0)this.children[a]=new HuffmanTreeNode(e);else{let r=this.children[a];r||(this.children[a]=r=new HuffmanTreeNode(null));r.buildTree(e,t-1)}}decodeNode(e){if(this.isLeaf){if(this.isOOB)return null;const t=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}const t=this.children[e.readBit()];if(!t)throw new Jbig2Error("invalid Huffman data");return t.decodeNode(e)}}class HuffmanTable{constructor(e,t){t||this.assignPrefixCodes(e);this.rootNode=new HuffmanTreeNode(null);for(let t=0,a=e.length;t0&&this.rootNode.buildTree(a,a.prefixLength-1)}}decode(e){return this.rootNode.decodeNode(e)}assignPrefixCodes(e){const t=e.length;let a=0;for(let r=0;r=this.end)throw new Jbig2Error("end of data while reading bit");this.currentByte=this.data[this.position++];this.shift=7}const e=this.currentByte>>this.shift&1;this.shift--;return e}readBits(e){let t,a=0;for(t=e-1;t>=0;t--)a|=this.readBit()<=this.end?-1:this.data[this.position++]}}function getCustomHuffmanTable(e,t,a){let r=0;for(let i=0,n=t.length;i>a&1;a--}}if(r&&!o){const e=5;for(let t=0;t>>t&(1<0;if(e<256){d[0]=e;f=1}else{if(!(e>=258)){if(256===e){h=9;s=258;f=0;continue}this.eof=!0;delete this.lzwState;break}if(e=0;t--){d[t]=o[a];a=l[a]}}else d[f++]=d[0]}if(i){l[s]=u;c[s]=c[u]+1;o[s]=d[0];s++;h=s+n&s+n-1?h:0|Math.min(Math.log(s+n)/.6931471805599453+1,12)}u=e;g+=f;if(r15))throw new FormatError(`Unsupported predictor: ${r}`);this.readBlock=2===r?this.readBlockTiff:this.readBlockPng;this.str=e;this.dict=e.dict;const i=this.colors=a.get("Colors")||1,n=this.bits=a.get("BPC","BitsPerComponent")||8,s=this.columns=a.get("Columns")||1;this.pixBytes=i*n+7>>3;this.rowBytes=s*i*n+7>>3;return this}readBlockTiff(){const e=this.rowBytes,t=this.bufferLength,a=this.ensureBuffer(t+e),r=this.bits,i=this.colors,n=this.str.getBytes(e);this.eof=!n.length;if(this.eof)return;let s,o=0,c=0,l=0,h=0,u=t;if(1===r&&1===i)for(s=0;s>1;e^=e>>2;e^=e>>4;o=(1&e)<<7;a[u++]=e}else if(8===r){for(s=0;s>8&255;a[u++]=255&e}}else{const e=new Uint8Array(i+1),u=(1<>l-r)&u;l-=r;c=c<=8){a[f++]=c>>h-8&255;h-=8}}h>0&&(a[f++]=(c<<8-h)+(o&(1<<8-h)-1))}this.bufferLength+=e}readBlockPng(){const e=this.rowBytes,t=this.pixBytes,a=this.str.getByte(),r=this.str.getBytes(e);this.eof=!r.length;if(this.eof)return;const i=this.bufferLength,n=this.ensureBuffer(i+e);let s=n.subarray(i-e,i);0===s.length&&(s=new Uint8Array(e));let o,c,l,h=i;switch(a){case 0:for(o=0;o>1)+r[o];for(;o>1)+r[o]&255;h++}break;case 4:for(o=0;o0){const e=this.str.getBytes(r);t.set(e,a);a+=r}}else{r=257-r;t=this.ensureBuffer(a+r+1);t.fill(e[1],a,a+r);a+=r}this.bufferLength=a}}class Parser{constructor({lexer:e,xref:t,allowStreams:a=!1,recoveryMode:r=!1}){this.lexer=e;this.xref=t;this.allowStreams=a;this.recoveryMode=r;this.imageCache=Object.create(null);this._imageId=0;this.refill()}refill(){this.buf1=this.lexer.getObj();this.buf2=this.lexer.getObj()}shift(){if(this.buf2 instanceof Cmd&&"ID"===this.buf2.cmd){this.buf1=this.buf2;this.buf2=null}else{this.buf1=this.buf2;this.buf2=this.lexer.getObj()}}tryShift(){try{this.shift();return!0}catch(e){if(e instanceof MissingDataException)throw e;return!1}}getObj(e=null){const t=this.buf1;this.shift();if(t instanceof Cmd)switch(t.cmd){case"BI":return this.makeInlineImage(e);case"[":const a=[];for(;!isCmd(this.buf1,"]")&&this.buf1!==wa;)a.push(this.getObj(e));if(this.buf1===wa){if(this.recoveryMode)return a;throw new ParserEOFException("End of file inside array.")}this.shift();return a;case"<<":const r=new Dict(this.xref);for(;!isCmd(this.buf1,">>")&&this.buf1!==wa;){if(!(this.buf1 instanceof Name)){info("Malformed dictionary: key must be a name object");this.shift();continue}const t=this.buf1.name;this.shift();if(this.buf1===wa)break;r.set(t,this.getObj(e))}if(this.buf1===wa){if(this.recoveryMode)return r;throw new ParserEOFException("End of file inside dictionary.")}if(isCmd(this.buf2,"stream"))return this.allowStreams?this.makeStream(r,e):r;this.shift();return r;default:return t}if(Number.isInteger(t)){if(Number.isInteger(this.buf1)&&isCmd(this.buf2,"R")){const e=Ref.get(t,this.buf1);this.shift();this.shift();return e}return t}return"string"==typeof t&&e?e.decryptString(t):t}findDefaultInlineStreamEnd(e){const{knownCommands:t}=this.lexer,a=e.pos;let r,i,n=0;for(;-1!==(r=e.getByte());)if(0===n)n=69===r?1:0;else if(1===n)n=73===r?2:0;else if(32===r||10===r||13===r){i=e.pos;const a=e.peekBytes(15),s=a.length;if(0===s)break;for(let e=0;e127))){n=0;break}}if(2!==n)continue;if(!t){warn("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");continue}const o=new Lexer(new Stream(e.peekBytes(75)),t);o._hexStringWarn=()=>{};let c=0;for(;;){const e=o.getObj();if(e===wa){n=0;break}if(e instanceof Cmd){const a=t[e.cmd];if(!a){n=0;break}if(a.variableArgs?c<=a.numArgs:c===a.numArgs)break;c=0}else c++}if(2===n)break}else n=0;if(-1===r){warn("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker");if(i){warn('... trying to recover by using the last "EI" occurrence.');e.skip(-(e.pos-i))}}let s=4;e.skip(-s);r=e.peekByte();e.skip(s);isWhiteSpace(r)||s--;return e.pos-s-a}findDCTDecodeInlineStreamEnd(e){const t=e.pos;let a,r,i=!1;for(;-1!==(a=e.getByte());)if(255===a){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:i=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:r=e.getUint16();r>2?e.skip(r-2):e.skip(-2)}if(i)break}const n=e.pos-t;if(-1===a){warn("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead.");e.skip(-n);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return n}findASCII85DecodeInlineStreamEnd(e){const t=e.pos;let a;for(;-1!==(a=e.getByte());)if(126===a){const t=e.pos;a=e.peekByte();for(;isWhiteSpace(a);){e.skip();a=e.peekByte()}if(62===a){e.skip();break}if(e.pos>t){const t=e.peekBytes(2);if(69===t[0]&&73===t[1])break}}const r=e.pos-t;if(-1===a){warn("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead.");e.skip(-r);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return r}findASCIIHexDecodeInlineStreamEnd(e){const t=e.pos;let a;for(;-1!==(a=e.getByte())&&62!==a;);const r=e.pos-t;if(-1===a){warn("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead.");e.skip(-r);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return r}inlineStreamSkipEI(e){let t,a=0;for(;-1!==(t=e.getByte());)if(0===a)a=69===t?1:0;else if(1===a)a=73===t?2:0;else if(2===a)break}makeInlineImage(e){const t=this.lexer,a=t.stream,r=Object.create(null);let i;for(;!isCmd(this.buf1,"ID")&&this.buf1!==wa;){if(!(this.buf1 instanceof Name))throw new FormatError("Dictionary key must be a name object");const t=this.buf1.name;this.shift();if(this.buf1===wa)break;r[t]=this.getObj(e)}-1!==t.beginInlineImagePos&&(i=a.pos-t.beginInlineImagePos);const n=this.xref.fetchIfRef(r.F||r.Filter);let s;if(n instanceof Name)s=n.name;else if(Array.isArray(n)){const e=this.xref.fetchIfRef(n[0]);e instanceof Name&&(s=e.name)}const o=a.pos;let c,l;switch(s){case"DCT":case"DCTDecode":c=this.findDCTDecodeInlineStreamEnd(a);break;case"A85":case"ASCII85Decode":c=this.findASCII85DecodeInlineStreamEnd(a);break;case"AHx":case"ASCIIHexDecode":c=this.findASCIIHexDecodeInlineStreamEnd(a);break;default:c=this.findDefaultInlineStreamEnd(a)}if(c<1e3&&i>0){const e=a.pos;a.pos=t.beginInlineImagePos;l=function getInlineImageCacheKey(e){const t=[],a=e.length;let r=0;for(;r=r){let r=!1;for(const e of i){const t=e.length;let i=0;for(;i=n){r=!0;break}if(i>=t){if(isWhiteSpace(s[c+o+i])){info(`Found "${bytesToString([...a,...e])}" when searching for endstream command.`);r=!0}break}}if(r){t.pos+=c;return t.pos-e}}c++}t.pos+=o}return-1}makeStream(e,t){const a=this.lexer;let r=a.stream;a.skipToNextLine();const i=r.pos-1;let n=e.get("Length");if(!Number.isInteger(n)){info(`Bad length "${n&&n.toString()}" in stream.`);n=0}r.pos=i+n;a.nextChar();if(this.tryShift()&&isCmd(this.buf2,"endstream"))this.shift();else{n=this.#q(i);if(n<0)throw new FormatError("Missing endstream command.");a.nextChar();this.shift();this.shift()}this.shift();r=r.makeSubStream(i,n,e);t&&(r=t.createStream(r,n));r=this.filter(r,e,n);r.dict=e;return r}filter(e,t,a){let r=t.get("F","Filter"),i=t.get("DP","DecodeParms");if(r instanceof Name){Array.isArray(i)&&warn("/DecodeParms should not be an Array, when /Filter is a Name.");return this.makeFilter(e,r.name,a,i)}let n=a;if(Array.isArray(r)){const t=r,a=i;for(let s=0,o=t.length;s=48&&e<=57?15&e:e>=65&&e<=70||e>=97&&e<=102?9+(15&e):-1}class Lexer{constructor(e,t=null){this.stream=e;this.nextChar();this.strBuf=[];this.knownCommands=t;this._hexStringNumWarn=0;this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let e=this.currentChar,t=!1,a=0,r=1;if(45===e){r=-1;e=this.nextChar();45===e&&(e=this.nextChar())}else 43===e&&(e=this.nextChar());if(10===e||13===e)do{e=this.nextChar()}while(10===e||13===e);if(46===e){a=10;e=this.nextChar()}if(e<48||e>57){const t=`Invalid number: ${String.fromCharCode(e)} (charCode ${e})`;if(isWhiteSpace(e)||40===e||60===e||-1===e){info(`Lexer.getNumber - "${t}".`);return 0}throw new FormatError(t)}let i=e-48,n=0,s=1;for(;(e=this.nextChar())>=0;)if(e>=48&&e<=57){const r=e-48;if(t)n=10*n+r;else{0!==a&&(a*=10);i=10*i+r}}else if(46===e){if(0!==a)break;a=1}else if(45===e)warn("Badly formatted number: minus sign in the middle");else{if(69!==e&&101!==e)break;e=this.peekChar();if(43===e||45===e){s=45===e?-1:1;this.nextChar()}else if(e<48||e>57)break;t=!0}0!==a&&(i/=a);t&&(i*=10**(s*n));return r*i}getString(){let e=1,t=!1;const a=this.strBuf;a.length=0;let r=this.nextChar();for(;;){let i=!1;switch(0|r){case-1:warn("Unterminated string");t=!0;break;case 40:++e;a.push("(");break;case 41:if(0==--e){this.nextChar();t=!0}else a.push(")");break;case 92:r=this.nextChar();switch(r){case-1:warn("Unterminated string");t=!0;break;case 110:a.push("\n");break;case 114:a.push("\r");break;case 116:a.push("\t");break;case 98:a.push("\b");break;case 102:a.push("\f");break;case 92:case 40:case 41:a.push(String.fromCharCode(r));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let e=15&r;r=this.nextChar();i=!0;if(r>=48&&r<=55){e=(e<<3)+(15&r);r=this.nextChar();if(r>=48&&r<=55){i=!1;e=(e<<3)+(15&r)}}a.push(String.fromCharCode(e));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:a.push(String.fromCharCode(r))}break;default:a.push(String.fromCharCode(r))}if(t)break;i||(r=this.nextChar())}return a.join("")}getName(){let e,t;const a=this.strBuf;a.length=0;for(;(e=this.nextChar())>=0&&!mr[e];)if(35===e){e=this.nextChar();if(mr[e]){warn("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number.");a.push("#");break}const r=toHexDigit(e);if(-1!==r){t=e;e=this.nextChar();const i=toHexDigit(e);if(-1===i){warn(`Lexer_getName: Illegal digit (${String.fromCharCode(e)}) in hexadecimal number.`);a.push("#",String.fromCharCode(t));if(mr[e])break;a.push(String.fromCharCode(e));continue}a.push(String.fromCharCode(r<<4|i))}else a.push("#",String.fromCharCode(e))}else a.push(String.fromCharCode(e));a.length>127&&warn(`Name token is longer than allowed by the spec: ${a.length}`);return Name.get(a.join(""))}_hexStringWarn(e){5!=this._hexStringNumWarn++?this._hexStringNumWarn>5||warn(`getHexString - ignoring invalid character: ${e}`):warn("getHexString - ignoring additional invalid characters.")}getHexString(){const e=this.strBuf;e.length=0;let t=this.currentChar,a=-1,r=-1;this._hexStringNumWarn=0;for(;;){if(t<0){warn("Unterminated hex string");break}if(62===t){this.nextChar();break}if(1!==mr[t]){r=toHexDigit(t);if(-1===r)this._hexStringWarn(t);else if(-1===a)a=r;else{e.push(String.fromCharCode(a<<4|r));a=-1}t=this.nextChar()}else t=this.nextChar()}-1!==a&&e.push(String.fromCharCode(a<<4));return e.join("")}getObj(){let e=!1,t=this.currentChar;for(;;){if(t<0)return wa;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(1!==mr[t])break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:this.nextChar();return Cmd.get("[");case 93:this.nextChar();return Cmd.get("]");case 60:t=this.nextChar();if(60===t){this.nextChar();return Cmd.get("<<")}return this.getHexString();case 62:t=this.nextChar();if(62===t){this.nextChar();return Cmd.get(">>")}return Cmd.get(">");case 123:this.nextChar();return Cmd.get("{");case 125:this.nextChar();return Cmd.get("}");case 41:this.nextChar();throw new FormatError(`Illegal character: ${t}`)}let a=String.fromCharCode(t);if(t<32||t>127){const e=this.peekChar();if(e>=32&&e<=127){this.nextChar();return Cmd.get(a)}}const r=this.knownCommands;let i=void 0!==r?.[a];for(;(t=this.nextChar())>=0&&!mr[t];){const e=a+String.fromCharCode(t);if(i&&void 0===r[e])break;if(128===a.length)throw new FormatError(`Command token too long: ${a.length}`);a=e;i=void 0!==r?.[a]}if("true"===a)return!0;if("false"===a)return!1;if("null"===a)return null;"BI"===a&&(this.beginInlineImagePos=this.stream.pos);return Cmd.get(a)}skipToNextLine(){let e=this.currentChar;for(;e>=0;){if(13===e){e=this.nextChar();10===e&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}}class Linearization{static create(e){function getInt(e,t,a=!1){const r=e.get(t);if(Number.isInteger(r)&&(a?r>=0:r>0))return r;throw new Error(`The "${t}" parameter in the linearization dictionary is invalid.`)}const t=new Parser({lexer:new Lexer(e),xref:null}),a=t.getObj(),r=t.getObj(),i=t.getObj(),n=t.getObj();let s,o;if(!(Number.isInteger(a)&&Number.isInteger(r)&&isCmd(i,"obj")&&n instanceof Dict&&"number"==typeof(s=n.get("Linearized"))&&s>0))return null;if((o=getInt(n,"L"))!==e.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:o,hints:function getHints(e){const t=e.get("H");let a;if(Array.isArray(t)&&(2===(a=t.length)||4===a)){for(let e=0;e0))throw new Error(`Hint (${e}) in the linearization dictionary is invalid.`)}return t}throw new Error("Hint array in the linearization dictionary is invalid.")}(n),objectNumberFirst:getInt(n,"O"),endFirst:getInt(n,"E"),numPages:getInt(n,"N"),mainXRefEntriesOffset:getInt(n,"T"),pageFirst:n.has("P")?getInt(n,"P",!0):0}}}const br=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],yr=2**24-1;class CMap{constructor(e=!1){this.codespaceRanges=[[],[],[],[]];this.numCodespaceRanges=0;this._map=[];this.name="";this.vertical=!1;this.useCMap=null;this.builtInCMap=e}addCodespaceRange(e,t,a){this.codespaceRanges[e-1].push(t,a);this.numCodespaceRanges++}mapCidRange(e,t,a){if(t-e>yr)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;e<=t;)this._map[e++]=a++}mapBfRange(e,t,a){if(t-e>yr)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");const r=a.length-1;for(;e<=t;){this._map[e++]=a;const t=a.charCodeAt(r)+1;t>255?a=a.substring(0,r-1)+String.fromCharCode(a.charCodeAt(r-1)+1)+"\0":a=a.substring(0,r)+String.fromCharCode(t)}}mapBfRangeToArray(e,t,a){if(t-e>yr)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");const r=a.length;let i=0;for(;e<=t&&i>>0;const s=i[n];for(let e=0,t=s.length;e=t&&r<=i){a.charcode=r;a.length=n+1;return}}}a.charcode=0;a.length=1}getCharCodeLength(e){const t=this.codespaceRanges;for(let a=0,r=t.length;a=i&&e<=n)return a+1}}return 1}get length(){return this._map.length}get isIdentityCMap(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(let e=0;e<65536;e++)if(this._map[e]!==e)return!1;return!0}}class IdentityCMap extends CMap{constructor(e,t){super();this.vertical=e;this.addCodespaceRange(t,0,65535)}mapCidRange(e,t,a){unreachable("should not call mapCidRange")}mapBfRange(e,t,a){unreachable("should not call mapBfRange")}mapBfRangeToArray(e,t,a){unreachable("should not call mapBfRangeToArray")}mapOne(e,t){unreachable("should not call mapCidOne")}lookup(e){return Number.isInteger(e)&&e<=65535?e:void 0}contains(e){return Number.isInteger(e)&&e<=65535}forEach(e){for(let t=0;t<=65535;t++)e(t,t)}charCodeOf(e){return Number.isInteger(e)&&e<=65535?e:-1}getMap(){const e=new Array(65536);for(let t=0;t<=65535;t++)e[t]=t;return e}get length(){return 65536}get isIdentityCMap(){unreachable("should not access .isIdentityCMap")}}function strToInt(e){let t=0;for(let a=0;a>>0}function expectString(e){if("string"!=typeof e)throw new FormatError("Malformed CMap: expected string.")}function expectInt(e){if(!Number.isInteger(e))throw new FormatError("Malformed CMap: expected int.")}function parseBfChar(e,t){for(;;){let a=t.getObj();if(a===wa)break;if(isCmd(a,"endbfchar"))return;expectString(a);const r=strToInt(a);a=t.getObj();expectString(a);const i=a;e.mapOne(r,i)}}function parseBfRange(e,t){for(;;){let a=t.getObj();if(a===wa)break;if(isCmd(a,"endbfrange"))return;expectString(a);const r=strToInt(a);a=t.getObj();expectString(a);const i=strToInt(a);a=t.getObj();if(Number.isInteger(a)||"string"==typeof a){const t=Number.isInteger(a)?String.fromCharCode(a):a;e.mapBfRange(r,i,t)}else{if(!isCmd(a,"["))break;{a=t.getObj();const n=[];for(;!isCmd(a,"]")&&a!==wa;){n.push(a);a=t.getObj()}e.mapBfRangeToArray(r,i,n)}}}throw new FormatError("Invalid bf range.")}function parseCidChar(e,t){for(;;){let a=t.getObj();if(a===wa)break;if(isCmd(a,"endcidchar"))return;expectString(a);const r=strToInt(a);a=t.getObj();expectInt(a);const i=a;e.mapOne(r,i)}}function parseCidRange(e,t){for(;;){let a=t.getObj();if(a===wa)break;if(isCmd(a,"endcidrange"))return;expectString(a);const r=strToInt(a);a=t.getObj();expectString(a);const i=strToInt(a);a=t.getObj();expectInt(a);const n=a;e.mapCidRange(r,i,n)}}function parseCodespaceRange(e,t){for(;;){let a=t.getObj();if(a===wa)break;if(isCmd(a,"endcodespacerange"))return;if("string"!=typeof a)break;const r=strToInt(a);a=t.getObj();if("string"!=typeof a)break;const i=strToInt(a);e.addCodespaceRange(a.length,r,i)}throw new FormatError("Invalid codespace range.")}function parseWMode(e,t){const a=t.getObj();Number.isInteger(a)&&(e.vertical=!!a)}function parseCMapName(e,t){const a=t.getObj();a instanceof Name&&(e.name=a.name)}async function parseCMap(e,t,a,r){let i,n;e:for(;;)try{const a=t.getObj();if(a===wa)break;if(a instanceof Name){"WMode"===a.name?parseWMode(e,t):"CMapName"===a.name&&parseCMapName(e,t);i=a}else if(a instanceof Cmd)switch(a.cmd){case"endcmap":break e;case"usecmap":i instanceof Name&&(n=i.name);break;case"begincodespacerange":parseCodespaceRange(e,t);break;case"beginbfchar":parseBfChar(e,t);break;case"begincidchar":parseCidChar(e,t);break;case"beginbfrange":parseBfRange(e,t);break;case"begincidrange":parseCidRange(e,t)}}catch(e){if(e instanceof MissingDataException)throw e;warn("Invalid cMap data: "+e);continue}!r&&n&&(r=n);return r?extendCMap(e,a,r):e}async function extendCMap(e,t,a){e.useCMap=await createBuiltInCMap(a,t);if(0===e.numCodespaceRanges){const t=e.useCMap.codespaceRanges;for(let a=0;aextendCMap(i,t,e)));const n=new Lexer(new Stream(a));return parseCMap(i,n,t,null)}class CMapFactory{static async create({encoding:e,fetchBuiltInCMap:t,useCMap:a}){if(e instanceof Name)return createBuiltInCMap(e.name,t);if(e instanceof BaseStream){const r=await parseCMap(new CMap,new Lexer(e),t,a);return r.isIdentityCMap?createBuiltInCMap(r.name,t):r}throw new Error("Encoding required.")}}const wr=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],Sr=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""],xr=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"],Ar=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""],kr=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"],Cr=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""],vr=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""];function getEncoding(e){switch(e){case"WinAnsiEncoding":return kr;case"StandardEncoding":return Ar;case"MacRomanEncoding":return xr;case"SymbolSetEncoding":return Cr;case"ZapfDingbatsEncoding":return vr;case"ExpertEncoding":return wr;case"MacExpertEncoding":return Sr;default:return null}}const Fr=getLookupTableFactory((function(e){e.A=65;e.AE=198;e.AEacute=508;e.AEmacron=482;e.AEsmall=63462;e.Aacute=193;e.Aacutesmall=63457;e.Abreve=258;e.Abreveacute=7854;e.Abrevecyrillic=1232;e.Abrevedotbelow=7862;e.Abrevegrave=7856;e.Abrevehookabove=7858;e.Abrevetilde=7860;e.Acaron=461;e.Acircle=9398;e.Acircumflex=194;e.Acircumflexacute=7844;e.Acircumflexdotbelow=7852;e.Acircumflexgrave=7846;e.Acircumflexhookabove=7848;e.Acircumflexsmall=63458;e.Acircumflextilde=7850;e.Acute=63177;e.Acutesmall=63412;e.Acyrillic=1040;e.Adblgrave=512;e.Adieresis=196;e.Adieresiscyrillic=1234;e.Adieresismacron=478;e.Adieresissmall=63460;e.Adotbelow=7840;e.Adotmacron=480;e.Agrave=192;e.Agravesmall=63456;e.Ahookabove=7842;e.Aiecyrillic=1236;e.Ainvertedbreve=514;e.Alpha=913;e.Alphatonos=902;e.Amacron=256;e.Amonospace=65313;e.Aogonek=260;e.Aring=197;e.Aringacute=506;e.Aringbelow=7680;e.Aringsmall=63461;e.Asmall=63329;e.Atilde=195;e.Atildesmall=63459;e.Aybarmenian=1329;e.B=66;e.Bcircle=9399;e.Bdotaccent=7682;e.Bdotbelow=7684;e.Becyrillic=1041;e.Benarmenian=1330;e.Beta=914;e.Bhook=385;e.Blinebelow=7686;e.Bmonospace=65314;e.Brevesmall=63220;e.Bsmall=63330;e.Btopbar=386;e.C=67;e.Caarmenian=1342;e.Cacute=262;e.Caron=63178;e.Caronsmall=63221;e.Ccaron=268;e.Ccedilla=199;e.Ccedillaacute=7688;e.Ccedillasmall=63463;e.Ccircle=9400;e.Ccircumflex=264;e.Cdot=266;e.Cdotaccent=266;e.Cedillasmall=63416;e.Chaarmenian=1353;e.Cheabkhasiancyrillic=1212;e.Checyrillic=1063;e.Chedescenderabkhasiancyrillic=1214;e.Chedescendercyrillic=1206;e.Chedieresiscyrillic=1268;e.Cheharmenian=1347;e.Chekhakassiancyrillic=1227;e.Cheverticalstrokecyrillic=1208;e.Chi=935;e.Chook=391;e.Circumflexsmall=63222;e.Cmonospace=65315;e.Coarmenian=1361;e.Csmall=63331;e.D=68;e.DZ=497;e.DZcaron=452;e.Daarmenian=1332;e.Dafrican=393;e.Dcaron=270;e.Dcedilla=7696;e.Dcircle=9401;e.Dcircumflexbelow=7698;e.Dcroat=272;e.Ddotaccent=7690;e.Ddotbelow=7692;e.Decyrillic=1044;e.Deicoptic=1006;e.Delta=8710;e.Deltagreek=916;e.Dhook=394;e.Dieresis=63179;e.DieresisAcute=63180;e.DieresisGrave=63181;e.Dieresissmall=63400;e.Digammagreek=988;e.Djecyrillic=1026;e.Dlinebelow=7694;e.Dmonospace=65316;e.Dotaccentsmall=63223;e.Dslash=272;e.Dsmall=63332;e.Dtopbar=395;e.Dz=498;e.Dzcaron=453;e.Dzeabkhasiancyrillic=1248;e.Dzecyrillic=1029;e.Dzhecyrillic=1039;e.E=69;e.Eacute=201;e.Eacutesmall=63465;e.Ebreve=276;e.Ecaron=282;e.Ecedillabreve=7708;e.Echarmenian=1333;e.Ecircle=9402;e.Ecircumflex=202;e.Ecircumflexacute=7870;e.Ecircumflexbelow=7704;e.Ecircumflexdotbelow=7878;e.Ecircumflexgrave=7872;e.Ecircumflexhookabove=7874;e.Ecircumflexsmall=63466;e.Ecircumflextilde=7876;e.Ecyrillic=1028;e.Edblgrave=516;e.Edieresis=203;e.Edieresissmall=63467;e.Edot=278;e.Edotaccent=278;e.Edotbelow=7864;e.Efcyrillic=1060;e.Egrave=200;e.Egravesmall=63464;e.Eharmenian=1335;e.Ehookabove=7866;e.Eightroman=8551;e.Einvertedbreve=518;e.Eiotifiedcyrillic=1124;e.Elcyrillic=1051;e.Elevenroman=8554;e.Emacron=274;e.Emacronacute=7702;e.Emacrongrave=7700;e.Emcyrillic=1052;e.Emonospace=65317;e.Encyrillic=1053;e.Endescendercyrillic=1186;e.Eng=330;e.Enghecyrillic=1188;e.Enhookcyrillic=1223;e.Eogonek=280;e.Eopen=400;e.Epsilon=917;e.Epsilontonos=904;e.Ercyrillic=1056;e.Ereversed=398;e.Ereversedcyrillic=1069;e.Escyrillic=1057;e.Esdescendercyrillic=1194;e.Esh=425;e.Esmall=63333;e.Eta=919;e.Etarmenian=1336;e.Etatonos=905;e.Eth=208;e.Ethsmall=63472;e.Etilde=7868;e.Etildebelow=7706;e.Euro=8364;e.Ezh=439;e.Ezhcaron=494;e.Ezhreversed=440;e.F=70;e.Fcircle=9403;e.Fdotaccent=7710;e.Feharmenian=1366;e.Feicoptic=996;e.Fhook=401;e.Fitacyrillic=1138;e.Fiveroman=8548;e.Fmonospace=65318;e.Fourroman=8547;e.Fsmall=63334;e.G=71;e.GBsquare=13191;e.Gacute=500;e.Gamma=915;e.Gammaafrican=404;e.Gangiacoptic=1002;e.Gbreve=286;e.Gcaron=486;e.Gcedilla=290;e.Gcircle=9404;e.Gcircumflex=284;e.Gcommaaccent=290;e.Gdot=288;e.Gdotaccent=288;e.Gecyrillic=1043;e.Ghadarmenian=1346;e.Ghemiddlehookcyrillic=1172;e.Ghestrokecyrillic=1170;e.Gheupturncyrillic=1168;e.Ghook=403;e.Gimarmenian=1331;e.Gjecyrillic=1027;e.Gmacron=7712;e.Gmonospace=65319;e.Grave=63182;e.Gravesmall=63328;e.Gsmall=63335;e.Gsmallhook=667;e.Gstroke=484;e.H=72;e.H18533=9679;e.H18543=9642;e.H18551=9643;e.H22073=9633;e.HPsquare=13259;e.Haabkhasiancyrillic=1192;e.Hadescendercyrillic=1202;e.Hardsigncyrillic=1066;e.Hbar=294;e.Hbrevebelow=7722;e.Hcedilla=7720;e.Hcircle=9405;e.Hcircumflex=292;e.Hdieresis=7718;e.Hdotaccent=7714;e.Hdotbelow=7716;e.Hmonospace=65320;e.Hoarmenian=1344;e.Horicoptic=1e3;e.Hsmall=63336;e.Hungarumlaut=63183;e.Hungarumlautsmall=63224;e.Hzsquare=13200;e.I=73;e.IAcyrillic=1071;e.IJ=306;e.IUcyrillic=1070;e.Iacute=205;e.Iacutesmall=63469;e.Ibreve=300;e.Icaron=463;e.Icircle=9406;e.Icircumflex=206;e.Icircumflexsmall=63470;e.Icyrillic=1030;e.Idblgrave=520;e.Idieresis=207;e.Idieresisacute=7726;e.Idieresiscyrillic=1252;e.Idieresissmall=63471;e.Idot=304;e.Idotaccent=304;e.Idotbelow=7882;e.Iebrevecyrillic=1238;e.Iecyrillic=1045;e.Ifraktur=8465;e.Igrave=204;e.Igravesmall=63468;e.Ihookabove=7880;e.Iicyrillic=1048;e.Iinvertedbreve=522;e.Iishortcyrillic=1049;e.Imacron=298;e.Imacroncyrillic=1250;e.Imonospace=65321;e.Iniarmenian=1339;e.Iocyrillic=1025;e.Iogonek=302;e.Iota=921;e.Iotaafrican=406;e.Iotadieresis=938;e.Iotatonos=906;e.Ismall=63337;e.Istroke=407;e.Itilde=296;e.Itildebelow=7724;e.Izhitsacyrillic=1140;e.Izhitsadblgravecyrillic=1142;e.J=74;e.Jaarmenian=1345;e.Jcircle=9407;e.Jcircumflex=308;e.Jecyrillic=1032;e.Jheharmenian=1355;e.Jmonospace=65322;e.Jsmall=63338;e.K=75;e.KBsquare=13189;e.KKsquare=13261;e.Kabashkircyrillic=1184;e.Kacute=7728;e.Kacyrillic=1050;e.Kadescendercyrillic=1178;e.Kahookcyrillic=1219;e.Kappa=922;e.Kastrokecyrillic=1182;e.Kaverticalstrokecyrillic=1180;e.Kcaron=488;e.Kcedilla=310;e.Kcircle=9408;e.Kcommaaccent=310;e.Kdotbelow=7730;e.Keharmenian=1364;e.Kenarmenian=1343;e.Khacyrillic=1061;e.Kheicoptic=998;e.Khook=408;e.Kjecyrillic=1036;e.Klinebelow=7732;e.Kmonospace=65323;e.Koppacyrillic=1152;e.Koppagreek=990;e.Ksicyrillic=1134;e.Ksmall=63339;e.L=76;e.LJ=455;e.LL=63167;e.Lacute=313;e.Lambda=923;e.Lcaron=317;e.Lcedilla=315;e.Lcircle=9409;e.Lcircumflexbelow=7740;e.Lcommaaccent=315;e.Ldot=319;e.Ldotaccent=319;e.Ldotbelow=7734;e.Ldotbelowmacron=7736;e.Liwnarmenian=1340;e.Lj=456;e.Ljecyrillic=1033;e.Llinebelow=7738;e.Lmonospace=65324;e.Lslash=321;e.Lslashsmall=63225;e.Lsmall=63340;e.M=77;e.MBsquare=13190;e.Macron=63184;e.Macronsmall=63407;e.Macute=7742;e.Mcircle=9410;e.Mdotaccent=7744;e.Mdotbelow=7746;e.Menarmenian=1348;e.Mmonospace=65325;e.Msmall=63341;e.Mturned=412;e.Mu=924;e.N=78;e.NJ=458;e.Nacute=323;e.Ncaron=327;e.Ncedilla=325;e.Ncircle=9411;e.Ncircumflexbelow=7754;e.Ncommaaccent=325;e.Ndotaccent=7748;e.Ndotbelow=7750;e.Nhookleft=413;e.Nineroman=8552;e.Nj=459;e.Njecyrillic=1034;e.Nlinebelow=7752;e.Nmonospace=65326;e.Nowarmenian=1350;e.Nsmall=63342;e.Ntilde=209;e.Ntildesmall=63473;e.Nu=925;e.O=79;e.OE=338;e.OEsmall=63226;e.Oacute=211;e.Oacutesmall=63475;e.Obarredcyrillic=1256;e.Obarreddieresiscyrillic=1258;e.Obreve=334;e.Ocaron=465;e.Ocenteredtilde=415;e.Ocircle=9412;e.Ocircumflex=212;e.Ocircumflexacute=7888;e.Ocircumflexdotbelow=7896;e.Ocircumflexgrave=7890;e.Ocircumflexhookabove=7892;e.Ocircumflexsmall=63476;e.Ocircumflextilde=7894;e.Ocyrillic=1054;e.Odblacute=336;e.Odblgrave=524;e.Odieresis=214;e.Odieresiscyrillic=1254;e.Odieresissmall=63478;e.Odotbelow=7884;e.Ogoneksmall=63227;e.Ograve=210;e.Ogravesmall=63474;e.Oharmenian=1365;e.Ohm=8486;e.Ohookabove=7886;e.Ohorn=416;e.Ohornacute=7898;e.Ohorndotbelow=7906;e.Ohorngrave=7900;e.Ohornhookabove=7902;e.Ohorntilde=7904;e.Ohungarumlaut=336;e.Oi=418;e.Oinvertedbreve=526;e.Omacron=332;e.Omacronacute=7762;e.Omacrongrave=7760;e.Omega=8486;e.Omegacyrillic=1120;e.Omegagreek=937;e.Omegaroundcyrillic=1146;e.Omegatitlocyrillic=1148;e.Omegatonos=911;e.Omicron=927;e.Omicrontonos=908;e.Omonospace=65327;e.Oneroman=8544;e.Oogonek=490;e.Oogonekmacron=492;e.Oopen=390;e.Oslash=216;e.Oslashacute=510;e.Oslashsmall=63480;e.Osmall=63343;e.Ostrokeacute=510;e.Otcyrillic=1150;e.Otilde=213;e.Otildeacute=7756;e.Otildedieresis=7758;e.Otildesmall=63477;e.P=80;e.Pacute=7764;e.Pcircle=9413;e.Pdotaccent=7766;e.Pecyrillic=1055;e.Peharmenian=1354;e.Pemiddlehookcyrillic=1190;e.Phi=934;e.Phook=420;e.Pi=928;e.Piwrarmenian=1363;e.Pmonospace=65328;e.Psi=936;e.Psicyrillic=1136;e.Psmall=63344;e.Q=81;e.Qcircle=9414;e.Qmonospace=65329;e.Qsmall=63345;e.R=82;e.Raarmenian=1356;e.Racute=340;e.Rcaron=344;e.Rcedilla=342;e.Rcircle=9415;e.Rcommaaccent=342;e.Rdblgrave=528;e.Rdotaccent=7768;e.Rdotbelow=7770;e.Rdotbelowmacron=7772;e.Reharmenian=1360;e.Rfraktur=8476;e.Rho=929;e.Ringsmall=63228;e.Rinvertedbreve=530;e.Rlinebelow=7774;e.Rmonospace=65330;e.Rsmall=63346;e.Rsmallinverted=641;e.Rsmallinvertedsuperior=694;e.S=83;e.SF010000=9484;e.SF020000=9492;e.SF030000=9488;e.SF040000=9496;e.SF050000=9532;e.SF060000=9516;e.SF070000=9524;e.SF080000=9500;e.SF090000=9508;e.SF100000=9472;e.SF110000=9474;e.SF190000=9569;e.SF200000=9570;e.SF210000=9558;e.SF220000=9557;e.SF230000=9571;e.SF240000=9553;e.SF250000=9559;e.SF260000=9565;e.SF270000=9564;e.SF280000=9563;e.SF360000=9566;e.SF370000=9567;e.SF380000=9562;e.SF390000=9556;e.SF400000=9577;e.SF410000=9574;e.SF420000=9568;e.SF430000=9552;e.SF440000=9580;e.SF450000=9575;e.SF460000=9576;e.SF470000=9572;e.SF480000=9573;e.SF490000=9561;e.SF500000=9560;e.SF510000=9554;e.SF520000=9555;e.SF530000=9579;e.SF540000=9578;e.Sacute=346;e.Sacutedotaccent=7780;e.Sampigreek=992;e.Scaron=352;e.Scarondotaccent=7782;e.Scaronsmall=63229;e.Scedilla=350;e.Schwa=399;e.Schwacyrillic=1240;e.Schwadieresiscyrillic=1242;e.Scircle=9416;e.Scircumflex=348;e.Scommaaccent=536;e.Sdotaccent=7776;e.Sdotbelow=7778;e.Sdotbelowdotaccent=7784;e.Seharmenian=1357;e.Sevenroman=8550;e.Shaarmenian=1351;e.Shacyrillic=1064;e.Shchacyrillic=1065;e.Sheicoptic=994;e.Shhacyrillic=1210;e.Shimacoptic=1004;e.Sigma=931;e.Sixroman=8549;e.Smonospace=65331;e.Softsigncyrillic=1068;e.Ssmall=63347;e.Stigmagreek=986;e.T=84;e.Tau=932;e.Tbar=358;e.Tcaron=356;e.Tcedilla=354;e.Tcircle=9417;e.Tcircumflexbelow=7792;e.Tcommaaccent=354;e.Tdotaccent=7786;e.Tdotbelow=7788;e.Tecyrillic=1058;e.Tedescendercyrillic=1196;e.Tenroman=8553;e.Tetsecyrillic=1204;e.Theta=920;e.Thook=428;e.Thorn=222;e.Thornsmall=63486;e.Threeroman=8546;e.Tildesmall=63230;e.Tiwnarmenian=1359;e.Tlinebelow=7790;e.Tmonospace=65332;e.Toarmenian=1337;e.Tonefive=444;e.Tonesix=388;e.Tonetwo=423;e.Tretroflexhook=430;e.Tsecyrillic=1062;e.Tshecyrillic=1035;e.Tsmall=63348;e.Twelveroman=8555;e.Tworoman=8545;e.U=85;e.Uacute=218;e.Uacutesmall=63482;e.Ubreve=364;e.Ucaron=467;e.Ucircle=9418;e.Ucircumflex=219;e.Ucircumflexbelow=7798;e.Ucircumflexsmall=63483;e.Ucyrillic=1059;e.Udblacute=368;e.Udblgrave=532;e.Udieresis=220;e.Udieresisacute=471;e.Udieresisbelow=7794;e.Udieresiscaron=473;e.Udieresiscyrillic=1264;e.Udieresisgrave=475;e.Udieresismacron=469;e.Udieresissmall=63484;e.Udotbelow=7908;e.Ugrave=217;e.Ugravesmall=63481;e.Uhookabove=7910;e.Uhorn=431;e.Uhornacute=7912;e.Uhorndotbelow=7920;e.Uhorngrave=7914;e.Uhornhookabove=7916;e.Uhorntilde=7918;e.Uhungarumlaut=368;e.Uhungarumlautcyrillic=1266;e.Uinvertedbreve=534;e.Ukcyrillic=1144;e.Umacron=362;e.Umacroncyrillic=1262;e.Umacrondieresis=7802;e.Umonospace=65333;e.Uogonek=370;e.Upsilon=933;e.Upsilon1=978;e.Upsilonacutehooksymbolgreek=979;e.Upsilonafrican=433;e.Upsilondieresis=939;e.Upsilondieresishooksymbolgreek=980;e.Upsilonhooksymbol=978;e.Upsilontonos=910;e.Uring=366;e.Ushortcyrillic=1038;e.Usmall=63349;e.Ustraightcyrillic=1198;e.Ustraightstrokecyrillic=1200;e.Utilde=360;e.Utildeacute=7800;e.Utildebelow=7796;e.V=86;e.Vcircle=9419;e.Vdotbelow=7806;e.Vecyrillic=1042;e.Vewarmenian=1358;e.Vhook=434;e.Vmonospace=65334;e.Voarmenian=1352;e.Vsmall=63350;e.Vtilde=7804;e.W=87;e.Wacute=7810;e.Wcircle=9420;e.Wcircumflex=372;e.Wdieresis=7812;e.Wdotaccent=7814;e.Wdotbelow=7816;e.Wgrave=7808;e.Wmonospace=65335;e.Wsmall=63351;e.X=88;e.Xcircle=9421;e.Xdieresis=7820;e.Xdotaccent=7818;e.Xeharmenian=1341;e.Xi=926;e.Xmonospace=65336;e.Xsmall=63352;e.Y=89;e.Yacute=221;e.Yacutesmall=63485;e.Yatcyrillic=1122;e.Ycircle=9422;e.Ycircumflex=374;e.Ydieresis=376;e.Ydieresissmall=63487;e.Ydotaccent=7822;e.Ydotbelow=7924;e.Yericyrillic=1067;e.Yerudieresiscyrillic=1272;e.Ygrave=7922;e.Yhook=435;e.Yhookabove=7926;e.Yiarmenian=1349;e.Yicyrillic=1031;e.Yiwnarmenian=1362;e.Ymonospace=65337;e.Ysmall=63353;e.Ytilde=7928;e.Yusbigcyrillic=1130;e.Yusbigiotifiedcyrillic=1132;e.Yuslittlecyrillic=1126;e.Yuslittleiotifiedcyrillic=1128;e.Z=90;e.Zaarmenian=1334;e.Zacute=377;e.Zcaron=381;e.Zcaronsmall=63231;e.Zcircle=9423;e.Zcircumflex=7824;e.Zdot=379;e.Zdotaccent=379;e.Zdotbelow=7826;e.Zecyrillic=1047;e.Zedescendercyrillic=1176;e.Zedieresiscyrillic=1246;e.Zeta=918;e.Zhearmenian=1338;e.Zhebrevecyrillic=1217;e.Zhecyrillic=1046;e.Zhedescendercyrillic=1174;e.Zhedieresiscyrillic=1244;e.Zlinebelow=7828;e.Zmonospace=65338;e.Zsmall=63354;e.Zstroke=437;e.a=97;e.aabengali=2438;e.aacute=225;e.aadeva=2310;e.aagujarati=2694;e.aagurmukhi=2566;e.aamatragurmukhi=2622;e.aarusquare=13059;e.aavowelsignbengali=2494;e.aavowelsigndeva=2366;e.aavowelsigngujarati=2750;e.abbreviationmarkarmenian=1375;e.abbreviationsigndeva=2416;e.abengali=2437;e.abopomofo=12570;e.abreve=259;e.abreveacute=7855;e.abrevecyrillic=1233;e.abrevedotbelow=7863;e.abrevegrave=7857;e.abrevehookabove=7859;e.abrevetilde=7861;e.acaron=462;e.acircle=9424;e.acircumflex=226;e.acircumflexacute=7845;e.acircumflexdotbelow=7853;e.acircumflexgrave=7847;e.acircumflexhookabove=7849;e.acircumflextilde=7851;e.acute=180;e.acutebelowcmb=791;e.acutecmb=769;e.acutecomb=769;e.acutedeva=2388;e.acutelowmod=719;e.acutetonecmb=833;e.acyrillic=1072;e.adblgrave=513;e.addakgurmukhi=2673;e.adeva=2309;e.adieresis=228;e.adieresiscyrillic=1235;e.adieresismacron=479;e.adotbelow=7841;e.adotmacron=481;e.ae=230;e.aeacute=509;e.aekorean=12624;e.aemacron=483;e.afii00208=8213;e.afii08941=8356;e.afii10017=1040;e.afii10018=1041;e.afii10019=1042;e.afii10020=1043;e.afii10021=1044;e.afii10022=1045;e.afii10023=1025;e.afii10024=1046;e.afii10025=1047;e.afii10026=1048;e.afii10027=1049;e.afii10028=1050;e.afii10029=1051;e.afii10030=1052;e.afii10031=1053;e.afii10032=1054;e.afii10033=1055;e.afii10034=1056;e.afii10035=1057;e.afii10036=1058;e.afii10037=1059;e.afii10038=1060;e.afii10039=1061;e.afii10040=1062;e.afii10041=1063;e.afii10042=1064;e.afii10043=1065;e.afii10044=1066;e.afii10045=1067;e.afii10046=1068;e.afii10047=1069;e.afii10048=1070;e.afii10049=1071;e.afii10050=1168;e.afii10051=1026;e.afii10052=1027;e.afii10053=1028;e.afii10054=1029;e.afii10055=1030;e.afii10056=1031;e.afii10057=1032;e.afii10058=1033;e.afii10059=1034;e.afii10060=1035;e.afii10061=1036;e.afii10062=1038;e.afii10063=63172;e.afii10064=63173;e.afii10065=1072;e.afii10066=1073;e.afii10067=1074;e.afii10068=1075;e.afii10069=1076;e.afii10070=1077;e.afii10071=1105;e.afii10072=1078;e.afii10073=1079;e.afii10074=1080;e.afii10075=1081;e.afii10076=1082;e.afii10077=1083;e.afii10078=1084;e.afii10079=1085;e.afii10080=1086;e.afii10081=1087;e.afii10082=1088;e.afii10083=1089;e.afii10084=1090;e.afii10085=1091;e.afii10086=1092;e.afii10087=1093;e.afii10088=1094;e.afii10089=1095;e.afii10090=1096;e.afii10091=1097;e.afii10092=1098;e.afii10093=1099;e.afii10094=1100;e.afii10095=1101;e.afii10096=1102;e.afii10097=1103;e.afii10098=1169;e.afii10099=1106;e.afii10100=1107;e.afii10101=1108;e.afii10102=1109;e.afii10103=1110;e.afii10104=1111;e.afii10105=1112;e.afii10106=1113;e.afii10107=1114;e.afii10108=1115;e.afii10109=1116;e.afii10110=1118;e.afii10145=1039;e.afii10146=1122;e.afii10147=1138;e.afii10148=1140;e.afii10192=63174;e.afii10193=1119;e.afii10194=1123;e.afii10195=1139;e.afii10196=1141;e.afii10831=63175;e.afii10832=63176;e.afii10846=1241;e.afii299=8206;e.afii300=8207;e.afii301=8205;e.afii57381=1642;e.afii57388=1548;e.afii57392=1632;e.afii57393=1633;e.afii57394=1634;e.afii57395=1635;e.afii57396=1636;e.afii57397=1637;e.afii57398=1638;e.afii57399=1639;e.afii57400=1640;e.afii57401=1641;e.afii57403=1563;e.afii57407=1567;e.afii57409=1569;e.afii57410=1570;e.afii57411=1571;e.afii57412=1572;e.afii57413=1573;e.afii57414=1574;e.afii57415=1575;e.afii57416=1576;e.afii57417=1577;e.afii57418=1578;e.afii57419=1579;e.afii57420=1580;e.afii57421=1581;e.afii57422=1582;e.afii57423=1583;e.afii57424=1584;e.afii57425=1585;e.afii57426=1586;e.afii57427=1587;e.afii57428=1588;e.afii57429=1589;e.afii57430=1590;e.afii57431=1591;e.afii57432=1592;e.afii57433=1593;e.afii57434=1594;e.afii57440=1600;e.afii57441=1601;e.afii57442=1602;e.afii57443=1603;e.afii57444=1604;e.afii57445=1605;e.afii57446=1606;e.afii57448=1608;e.afii57449=1609;e.afii57450=1610;e.afii57451=1611;e.afii57452=1612;e.afii57453=1613;e.afii57454=1614;e.afii57455=1615;e.afii57456=1616;e.afii57457=1617;e.afii57458=1618;e.afii57470=1607;e.afii57505=1700;e.afii57506=1662;e.afii57507=1670;e.afii57508=1688;e.afii57509=1711;e.afii57511=1657;e.afii57512=1672;e.afii57513=1681;e.afii57514=1722;e.afii57519=1746;e.afii57534=1749;e.afii57636=8362;e.afii57645=1470;e.afii57658=1475;e.afii57664=1488;e.afii57665=1489;e.afii57666=1490;e.afii57667=1491;e.afii57668=1492;e.afii57669=1493;e.afii57670=1494;e.afii57671=1495;e.afii57672=1496;e.afii57673=1497;e.afii57674=1498;e.afii57675=1499;e.afii57676=1500;e.afii57677=1501;e.afii57678=1502;e.afii57679=1503;e.afii57680=1504;e.afii57681=1505;e.afii57682=1506;e.afii57683=1507;e.afii57684=1508;e.afii57685=1509;e.afii57686=1510;e.afii57687=1511;e.afii57688=1512;e.afii57689=1513;e.afii57690=1514;e.afii57694=64298;e.afii57695=64299;e.afii57700=64331;e.afii57705=64287;e.afii57716=1520;e.afii57717=1521;e.afii57718=1522;e.afii57723=64309;e.afii57793=1460;e.afii57794=1461;e.afii57795=1462;e.afii57796=1467;e.afii57797=1464;e.afii57798=1463;e.afii57799=1456;e.afii57800=1458;e.afii57801=1457;e.afii57802=1459;e.afii57803=1474;e.afii57804=1473;e.afii57806=1465;e.afii57807=1468;e.afii57839=1469;e.afii57841=1471;e.afii57842=1472;e.afii57929=700;e.afii61248=8453;e.afii61289=8467;e.afii61352=8470;e.afii61573=8236;e.afii61574=8237;e.afii61575=8238;e.afii61664=8204;e.afii63167=1645;e.afii64937=701;e.agrave=224;e.agujarati=2693;e.agurmukhi=2565;e.ahiragana=12354;e.ahookabove=7843;e.aibengali=2448;e.aibopomofo=12574;e.aideva=2320;e.aiecyrillic=1237;e.aigujarati=2704;e.aigurmukhi=2576;e.aimatragurmukhi=2632;e.ainarabic=1593;e.ainfinalarabic=65226;e.aininitialarabic=65227;e.ainmedialarabic=65228;e.ainvertedbreve=515;e.aivowelsignbengali=2504;e.aivowelsigndeva=2376;e.aivowelsigngujarati=2760;e.akatakana=12450;e.akatakanahalfwidth=65393;e.akorean=12623;e.alef=1488;e.alefarabic=1575;e.alefdageshhebrew=64304;e.aleffinalarabic=65166;e.alefhamzaabovearabic=1571;e.alefhamzaabovefinalarabic=65156;e.alefhamzabelowarabic=1573;e.alefhamzabelowfinalarabic=65160;e.alefhebrew=1488;e.aleflamedhebrew=64335;e.alefmaddaabovearabic=1570;e.alefmaddaabovefinalarabic=65154;e.alefmaksuraarabic=1609;e.alefmaksurafinalarabic=65264;e.alefmaksurainitialarabic=65267;e.alefmaksuramedialarabic=65268;e.alefpatahhebrew=64302;e.alefqamatshebrew=64303;e.aleph=8501;e.allequal=8780;e.alpha=945;e.alphatonos=940;e.amacron=257;e.amonospace=65345;e.ampersand=38;e.ampersandmonospace=65286;e.ampersandsmall=63270;e.amsquare=13250;e.anbopomofo=12578;e.angbopomofo=12580;e.angbracketleft=12296;e.angbracketright=12297;e.angkhankhuthai=3674;e.angle=8736;e.anglebracketleft=12296;e.anglebracketleftvertical=65087;e.anglebracketright=12297;e.anglebracketrightvertical=65088;e.angleleft=9001;e.angleright=9002;e.angstrom=8491;e.anoteleia=903;e.anudattadeva=2386;e.anusvarabengali=2434;e.anusvaradeva=2306;e.anusvaragujarati=2690;e.aogonek=261;e.apaatosquare=13056;e.aparen=9372;e.apostrophearmenian=1370;e.apostrophemod=700;e.apple=63743;e.approaches=8784;e.approxequal=8776;e.approxequalorimage=8786;e.approximatelyequal=8773;e.araeaekorean=12686;e.araeakorean=12685;e.arc=8978;e.arighthalfring=7834;e.aring=229;e.aringacute=507;e.aringbelow=7681;e.arrowboth=8596;e.arrowdashdown=8675;e.arrowdashleft=8672;e.arrowdashright=8674;e.arrowdashup=8673;e.arrowdblboth=8660;e.arrowdbldown=8659;e.arrowdblleft=8656;e.arrowdblright=8658;e.arrowdblup=8657;e.arrowdown=8595;e.arrowdownleft=8601;e.arrowdownright=8600;e.arrowdownwhite=8681;e.arrowheaddownmod=709;e.arrowheadleftmod=706;e.arrowheadrightmod=707;e.arrowheadupmod=708;e.arrowhorizex=63719;e.arrowleft=8592;e.arrowleftdbl=8656;e.arrowleftdblstroke=8653;e.arrowleftoverright=8646;e.arrowleftwhite=8678;e.arrowright=8594;e.arrowrightdblstroke=8655;e.arrowrightheavy=10142;e.arrowrightoverleft=8644;e.arrowrightwhite=8680;e.arrowtableft=8676;e.arrowtabright=8677;e.arrowup=8593;e.arrowupdn=8597;e.arrowupdnbse=8616;e.arrowupdownbase=8616;e.arrowupleft=8598;e.arrowupleftofdown=8645;e.arrowupright=8599;e.arrowupwhite=8679;e.arrowvertex=63718;e.asciicircum=94;e.asciicircummonospace=65342;e.asciitilde=126;e.asciitildemonospace=65374;e.ascript=593;e.ascriptturned=594;e.asmallhiragana=12353;e.asmallkatakana=12449;e.asmallkatakanahalfwidth=65383;e.asterisk=42;e.asteriskaltonearabic=1645;e.asteriskarabic=1645;e.asteriskmath=8727;e.asteriskmonospace=65290;e.asterisksmall=65121;e.asterism=8258;e.asuperior=63209;e.asymptoticallyequal=8771;e.at=64;e.atilde=227;e.atmonospace=65312;e.atsmall=65131;e.aturned=592;e.aubengali=2452;e.aubopomofo=12576;e.audeva=2324;e.augujarati=2708;e.augurmukhi=2580;e.aulengthmarkbengali=2519;e.aumatragurmukhi=2636;e.auvowelsignbengali=2508;e.auvowelsigndeva=2380;e.auvowelsigngujarati=2764;e.avagrahadeva=2365;e.aybarmenian=1377;e.ayin=1506;e.ayinaltonehebrew=64288;e.ayinhebrew=1506;e.b=98;e.babengali=2476;e.backslash=92;e.backslashmonospace=65340;e.badeva=2348;e.bagujarati=2732;e.bagurmukhi=2604;e.bahiragana=12400;e.bahtthai=3647;e.bakatakana=12496;e.bar=124;e.barmonospace=65372;e.bbopomofo=12549;e.bcircle=9425;e.bdotaccent=7683;e.bdotbelow=7685;e.beamedsixteenthnotes=9836;e.because=8757;e.becyrillic=1073;e.beharabic=1576;e.behfinalarabic=65168;e.behinitialarabic=65169;e.behiragana=12409;e.behmedialarabic=65170;e.behmeeminitialarabic=64671;e.behmeemisolatedarabic=64520;e.behnoonfinalarabic=64621;e.bekatakana=12505;e.benarmenian=1378;e.bet=1489;e.beta=946;e.betasymbolgreek=976;e.betdagesh=64305;e.betdageshhebrew=64305;e.bethebrew=1489;e.betrafehebrew=64332;e.bhabengali=2477;e.bhadeva=2349;e.bhagujarati=2733;e.bhagurmukhi=2605;e.bhook=595;e.bihiragana=12403;e.bikatakana=12499;e.bilabialclick=664;e.bindigurmukhi=2562;e.birusquare=13105;e.blackcircle=9679;e.blackdiamond=9670;e.blackdownpointingtriangle=9660;e.blackleftpointingpointer=9668;e.blackleftpointingtriangle=9664;e.blacklenticularbracketleft=12304;e.blacklenticularbracketleftvertical=65083;e.blacklenticularbracketright=12305;e.blacklenticularbracketrightvertical=65084;e.blacklowerlefttriangle=9699;e.blacklowerrighttriangle=9698;e.blackrectangle=9644;e.blackrightpointingpointer=9658;e.blackrightpointingtriangle=9654;e.blacksmallsquare=9642;e.blacksmilingface=9787;e.blacksquare=9632;e.blackstar=9733;e.blackupperlefttriangle=9700;e.blackupperrighttriangle=9701;e.blackuppointingsmalltriangle=9652;e.blackuppointingtriangle=9650;e.blank=9251;e.blinebelow=7687;e.block=9608;e.bmonospace=65346;e.bobaimaithai=3610;e.bohiragana=12412;e.bokatakana=12508;e.bparen=9373;e.bqsquare=13251;e.braceex=63732;e.braceleft=123;e.braceleftbt=63731;e.braceleftmid=63730;e.braceleftmonospace=65371;e.braceleftsmall=65115;e.bracelefttp=63729;e.braceleftvertical=65079;e.braceright=125;e.bracerightbt=63742;e.bracerightmid=63741;e.bracerightmonospace=65373;e.bracerightsmall=65116;e.bracerighttp=63740;e.bracerightvertical=65080;e.bracketleft=91;e.bracketleftbt=63728;e.bracketleftex=63727;e.bracketleftmonospace=65339;e.bracketlefttp=63726;e.bracketright=93;e.bracketrightbt=63739;e.bracketrightex=63738;e.bracketrightmonospace=65341;e.bracketrighttp=63737;e.breve=728;e.brevebelowcmb=814;e.brevecmb=774;e.breveinvertedbelowcmb=815;e.breveinvertedcmb=785;e.breveinverteddoublecmb=865;e.bridgebelowcmb=810;e.bridgeinvertedbelowcmb=826;e.brokenbar=166;e.bstroke=384;e.bsuperior=63210;e.btopbar=387;e.buhiragana=12406;e.bukatakana=12502;e.bullet=8226;e.bulletinverse=9688;e.bulletoperator=8729;e.bullseye=9678;e.c=99;e.caarmenian=1390;e.cabengali=2458;e.cacute=263;e.cadeva=2330;e.cagujarati=2714;e.cagurmukhi=2586;e.calsquare=13192;e.candrabindubengali=2433;e.candrabinducmb=784;e.candrabindudeva=2305;e.candrabindugujarati=2689;e.capslock=8682;e.careof=8453;e.caron=711;e.caronbelowcmb=812;e.caroncmb=780;e.carriagereturn=8629;e.cbopomofo=12568;e.ccaron=269;e.ccedilla=231;e.ccedillaacute=7689;e.ccircle=9426;e.ccircumflex=265;e.ccurl=597;e.cdot=267;e.cdotaccent=267;e.cdsquare=13253;e.cedilla=184;e.cedillacmb=807;e.cent=162;e.centigrade=8451;e.centinferior=63199;e.centmonospace=65504;e.centoldstyle=63394;e.centsuperior=63200;e.chaarmenian=1401;e.chabengali=2459;e.chadeva=2331;e.chagujarati=2715;e.chagurmukhi=2587;e.chbopomofo=12564;e.cheabkhasiancyrillic=1213;e.checkmark=10003;e.checyrillic=1095;e.chedescenderabkhasiancyrillic=1215;e.chedescendercyrillic=1207;e.chedieresiscyrillic=1269;e.cheharmenian=1395;e.chekhakassiancyrillic=1228;e.cheverticalstrokecyrillic=1209;e.chi=967;e.chieuchacirclekorean=12919;e.chieuchaparenkorean=12823;e.chieuchcirclekorean=12905;e.chieuchkorean=12618;e.chieuchparenkorean=12809;e.chochangthai=3594;e.chochanthai=3592;e.chochingthai=3593;e.chochoethai=3596;e.chook=392;e.cieucacirclekorean=12918;e.cieucaparenkorean=12822;e.cieuccirclekorean=12904;e.cieuckorean=12616;e.cieucparenkorean=12808;e.cieucuparenkorean=12828;e.circle=9675;e.circlecopyrt=169;e.circlemultiply=8855;e.circleot=8857;e.circleplus=8853;e.circlepostalmark=12342;e.circlewithlefthalfblack=9680;e.circlewithrighthalfblack=9681;e.circumflex=710;e.circumflexbelowcmb=813;e.circumflexcmb=770;e.clear=8999;e.clickalveolar=450;e.clickdental=448;e.clicklateral=449;e.clickretroflex=451;e.club=9827;e.clubsuitblack=9827;e.clubsuitwhite=9831;e.cmcubedsquare=13220;e.cmonospace=65347;e.cmsquaredsquare=13216;e.coarmenian=1409;e.colon=58;e.colonmonetary=8353;e.colonmonospace=65306;e.colonsign=8353;e.colonsmall=65109;e.colontriangularhalfmod=721;e.colontriangularmod=720;e.comma=44;e.commaabovecmb=787;e.commaaboverightcmb=789;e.commaaccent=63171;e.commaarabic=1548;e.commaarmenian=1373;e.commainferior=63201;e.commamonospace=65292;e.commareversedabovecmb=788;e.commareversedmod=701;e.commasmall=65104;e.commasuperior=63202;e.commaturnedabovecmb=786;e.commaturnedmod=699;e.compass=9788;e.congruent=8773;e.contourintegral=8750;e.control=8963;e.controlACK=6;e.controlBEL=7;e.controlBS=8;e.controlCAN=24;e.controlCR=13;e.controlDC1=17;e.controlDC2=18;e.controlDC3=19;e.controlDC4=20;e.controlDEL=127;e.controlDLE=16;e.controlEM=25;e.controlENQ=5;e.controlEOT=4;e.controlESC=27;e.controlETB=23;e.controlETX=3;e.controlFF=12;e.controlFS=28;e.controlGS=29;e.controlHT=9;e.controlLF=10;e.controlNAK=21;e.controlNULL=0;e.controlRS=30;e.controlSI=15;e.controlSO=14;e.controlSOT=2;e.controlSTX=1;e.controlSUB=26;e.controlSYN=22;e.controlUS=31;e.controlVT=11;e.copyright=169;e.copyrightsans=63721;e.copyrightserif=63193;e.cornerbracketleft=12300;e.cornerbracketlefthalfwidth=65378;e.cornerbracketleftvertical=65089;e.cornerbracketright=12301;e.cornerbracketrighthalfwidth=65379;e.cornerbracketrightvertical=65090;e.corporationsquare=13183;e.cosquare=13255;e.coverkgsquare=13254;e.cparen=9374;e.cruzeiro=8354;e.cstretched=663;e.curlyand=8911;e.curlyor=8910;e.currency=164;e.cyrBreve=63185;e.cyrFlex=63186;e.cyrbreve=63188;e.cyrflex=63189;e.d=100;e.daarmenian=1380;e.dabengali=2470;e.dadarabic=1590;e.dadeva=2342;e.dadfinalarabic=65214;e.dadinitialarabic=65215;e.dadmedialarabic=65216;e.dagesh=1468;e.dageshhebrew=1468;e.dagger=8224;e.daggerdbl=8225;e.dagujarati=2726;e.dagurmukhi=2598;e.dahiragana=12384;e.dakatakana=12480;e.dalarabic=1583;e.dalet=1491;e.daletdagesh=64307;e.daletdageshhebrew=64307;e.dalethebrew=1491;e.dalfinalarabic=65194;e.dammaarabic=1615;e.dammalowarabic=1615;e.dammatanaltonearabic=1612;e.dammatanarabic=1612;e.danda=2404;e.dargahebrew=1447;e.dargalefthebrew=1447;e.dasiapneumatacyrilliccmb=1157;e.dblGrave=63187;e.dblanglebracketleft=12298;e.dblanglebracketleftvertical=65085;e.dblanglebracketright=12299;e.dblanglebracketrightvertical=65086;e.dblarchinvertedbelowcmb=811;e.dblarrowleft=8660;e.dblarrowright=8658;e.dbldanda=2405;e.dblgrave=63190;e.dblgravecmb=783;e.dblintegral=8748;e.dbllowline=8215;e.dbllowlinecmb=819;e.dbloverlinecmb=831;e.dblprimemod=698;e.dblverticalbar=8214;e.dblverticallineabovecmb=782;e.dbopomofo=12553;e.dbsquare=13256;e.dcaron=271;e.dcedilla=7697;e.dcircle=9427;e.dcircumflexbelow=7699;e.dcroat=273;e.ddabengali=2465;e.ddadeva=2337;e.ddagujarati=2721;e.ddagurmukhi=2593;e.ddalarabic=1672;e.ddalfinalarabic=64393;e.dddhadeva=2396;e.ddhabengali=2466;e.ddhadeva=2338;e.ddhagujarati=2722;e.ddhagurmukhi=2594;e.ddotaccent=7691;e.ddotbelow=7693;e.decimalseparatorarabic=1643;e.decimalseparatorpersian=1643;e.decyrillic=1076;e.degree=176;e.dehihebrew=1453;e.dehiragana=12391;e.deicoptic=1007;e.dekatakana=12487;e.deleteleft=9003;e.deleteright=8998;e.delta=948;e.deltaturned=397;e.denominatorminusonenumeratorbengali=2552;e.dezh=676;e.dhabengali=2471;e.dhadeva=2343;e.dhagujarati=2727;e.dhagurmukhi=2599;e.dhook=599;e.dialytikatonos=901;e.dialytikatonoscmb=836;e.diamond=9830;e.diamondsuitwhite=9826;e.dieresis=168;e.dieresisacute=63191;e.dieresisbelowcmb=804;e.dieresiscmb=776;e.dieresisgrave=63192;e.dieresistonos=901;e.dihiragana=12386;e.dikatakana=12482;e.dittomark=12291;e.divide=247;e.divides=8739;e.divisionslash=8725;e.djecyrillic=1106;e.dkshade=9619;e.dlinebelow=7695;e.dlsquare=13207;e.dmacron=273;e.dmonospace=65348;e.dnblock=9604;e.dochadathai=3598;e.dodekthai=3604;e.dohiragana=12393;e.dokatakana=12489;e.dollar=36;e.dollarinferior=63203;e.dollarmonospace=65284;e.dollaroldstyle=63268;e.dollarsmall=65129;e.dollarsuperior=63204;e.dong=8363;e.dorusquare=13094;e.dotaccent=729;e.dotaccentcmb=775;e.dotbelowcmb=803;e.dotbelowcomb=803;e.dotkatakana=12539;e.dotlessi=305;e.dotlessj=63166;e.dotlessjstrokehook=644;e.dotmath=8901;e.dottedcircle=9676;e.doubleyodpatah=64287;e.doubleyodpatahhebrew=64287;e.downtackbelowcmb=798;e.downtackmod=725;e.dparen=9375;e.dsuperior=63211;e.dtail=598;e.dtopbar=396;e.duhiragana=12389;e.dukatakana=12485;e.dz=499;e.dzaltone=675;e.dzcaron=454;e.dzcurl=677;e.dzeabkhasiancyrillic=1249;e.dzecyrillic=1109;e.dzhecyrillic=1119;e.e=101;e.eacute=233;e.earth=9793;e.ebengali=2447;e.ebopomofo=12572;e.ebreve=277;e.ecandradeva=2317;e.ecandragujarati=2701;e.ecandravowelsigndeva=2373;e.ecandravowelsigngujarati=2757;e.ecaron=283;e.ecedillabreve=7709;e.echarmenian=1381;e.echyiwnarmenian=1415;e.ecircle=9428;e.ecircumflex=234;e.ecircumflexacute=7871;e.ecircumflexbelow=7705;e.ecircumflexdotbelow=7879;e.ecircumflexgrave=7873;e.ecircumflexhookabove=7875;e.ecircumflextilde=7877;e.ecyrillic=1108;e.edblgrave=517;e.edeva=2319;e.edieresis=235;e.edot=279;e.edotaccent=279;e.edotbelow=7865;e.eegurmukhi=2575;e.eematragurmukhi=2631;e.efcyrillic=1092;e.egrave=232;e.egujarati=2703;e.eharmenian=1383;e.ehbopomofo=12573;e.ehiragana=12360;e.ehookabove=7867;e.eibopomofo=12575;e.eight=56;e.eightarabic=1640;e.eightbengali=2542;e.eightcircle=9319;e.eightcircleinversesansserif=10129;e.eightdeva=2414;e.eighteencircle=9329;e.eighteenparen=9349;e.eighteenperiod=9369;e.eightgujarati=2798;e.eightgurmukhi=2670;e.eighthackarabic=1640;e.eighthangzhou=12328;e.eighthnotebeamed=9835;e.eightideographicparen=12839;e.eightinferior=8328;e.eightmonospace=65304;e.eightoldstyle=63288;e.eightparen=9339;e.eightperiod=9359;e.eightpersian=1784;e.eightroman=8567;e.eightsuperior=8312;e.eightthai=3672;e.einvertedbreve=519;e.eiotifiedcyrillic=1125;e.ekatakana=12456;e.ekatakanahalfwidth=65396;e.ekonkargurmukhi=2676;e.ekorean=12628;e.elcyrillic=1083;e.element=8712;e.elevencircle=9322;e.elevenparen=9342;e.elevenperiod=9362;e.elevenroman=8570;e.ellipsis=8230;e.ellipsisvertical=8942;e.emacron=275;e.emacronacute=7703;e.emacrongrave=7701;e.emcyrillic=1084;e.emdash=8212;e.emdashvertical=65073;e.emonospace=65349;e.emphasismarkarmenian=1371;e.emptyset=8709;e.enbopomofo=12579;e.encyrillic=1085;e.endash=8211;e.endashvertical=65074;e.endescendercyrillic=1187;e.eng=331;e.engbopomofo=12581;e.enghecyrillic=1189;e.enhookcyrillic=1224;e.enspace=8194;e.eogonek=281;e.eokorean=12627;e.eopen=603;e.eopenclosed=666;e.eopenreversed=604;e.eopenreversedclosed=606;e.eopenreversedhook=605;e.eparen=9376;e.epsilon=949;e.epsilontonos=941;e.equal=61;e.equalmonospace=65309;e.equalsmall=65126;e.equalsuperior=8316;e.equivalence=8801;e.erbopomofo=12582;e.ercyrillic=1088;e.ereversed=600;e.ereversedcyrillic=1101;e.escyrillic=1089;e.esdescendercyrillic=1195;e.esh=643;e.eshcurl=646;e.eshortdeva=2318;e.eshortvowelsigndeva=2374;e.eshreversedloop=426;e.eshsquatreversed=645;e.esmallhiragana=12359;e.esmallkatakana=12455;e.esmallkatakanahalfwidth=65386;e.estimated=8494;e.esuperior=63212;e.eta=951;e.etarmenian=1384;e.etatonos=942;e.eth=240;e.etilde=7869;e.etildebelow=7707;e.etnahtafoukhhebrew=1425;e.etnahtafoukhlefthebrew=1425;e.etnahtahebrew=1425;e.etnahtalefthebrew=1425;e.eturned=477;e.eukorean=12641;e.euro=8364;e.evowelsignbengali=2503;e.evowelsigndeva=2375;e.evowelsigngujarati=2759;e.exclam=33;e.exclamarmenian=1372;e.exclamdbl=8252;e.exclamdown=161;e.exclamdownsmall=63393;e.exclammonospace=65281;e.exclamsmall=63265;e.existential=8707;e.ezh=658;e.ezhcaron=495;e.ezhcurl=659;e.ezhreversed=441;e.ezhtail=442;e.f=102;e.fadeva=2398;e.fagurmukhi=2654;e.fahrenheit=8457;e.fathaarabic=1614;e.fathalowarabic=1614;e.fathatanarabic=1611;e.fbopomofo=12552;e.fcircle=9429;e.fdotaccent=7711;e.feharabic=1601;e.feharmenian=1414;e.fehfinalarabic=65234;e.fehinitialarabic=65235;e.fehmedialarabic=65236;e.feicoptic=997;e.female=9792;e.ff=64256;e.f_f=64256;e.ffi=64259;e.f_f_i=64259;e.ffl=64260;e.f_f_l=64260;e.fi=64257;e.f_i=64257;e.fifteencircle=9326;e.fifteenparen=9346;e.fifteenperiod=9366;e.figuredash=8210;e.filledbox=9632;e.filledrect=9644;e.finalkaf=1498;e.finalkafdagesh=64314;e.finalkafdageshhebrew=64314;e.finalkafhebrew=1498;e.finalmem=1501;e.finalmemhebrew=1501;e.finalnun=1503;e.finalnunhebrew=1503;e.finalpe=1507;e.finalpehebrew=1507;e.finaltsadi=1509;e.finaltsadihebrew=1509;e.firsttonechinese=713;e.fisheye=9673;e.fitacyrillic=1139;e.five=53;e.fivearabic=1637;e.fivebengali=2539;e.fivecircle=9316;e.fivecircleinversesansserif=10126;e.fivedeva=2411;e.fiveeighths=8541;e.fivegujarati=2795;e.fivegurmukhi=2667;e.fivehackarabic=1637;e.fivehangzhou=12325;e.fiveideographicparen=12836;e.fiveinferior=8325;e.fivemonospace=65301;e.fiveoldstyle=63285;e.fiveparen=9336;e.fiveperiod=9356;e.fivepersian=1781;e.fiveroman=8564;e.fivesuperior=8309;e.fivethai=3669;e.fl=64258;e.f_l=64258;e.florin=402;e.fmonospace=65350;e.fmsquare=13209;e.fofanthai=3615;e.fofathai=3613;e.fongmanthai=3663;e.forall=8704;e.four=52;e.fourarabic=1636;e.fourbengali=2538;e.fourcircle=9315;e.fourcircleinversesansserif=10125;e.fourdeva=2410;e.fourgujarati=2794;e.fourgurmukhi=2666;e.fourhackarabic=1636;e.fourhangzhou=12324;e.fourideographicparen=12835;e.fourinferior=8324;e.fourmonospace=65300;e.fournumeratorbengali=2551;e.fouroldstyle=63284;e.fourparen=9335;e.fourperiod=9355;e.fourpersian=1780;e.fourroman=8563;e.foursuperior=8308;e.fourteencircle=9325;e.fourteenparen=9345;e.fourteenperiod=9365;e.fourthai=3668;e.fourthtonechinese=715;e.fparen=9377;e.fraction=8260;e.franc=8355;e.g=103;e.gabengali=2455;e.gacute=501;e.gadeva=2327;e.gafarabic=1711;e.gaffinalarabic=64403;e.gafinitialarabic=64404;e.gafmedialarabic=64405;e.gagujarati=2711;e.gagurmukhi=2583;e.gahiragana=12364;e.gakatakana=12460;e.gamma=947;e.gammalatinsmall=611;e.gammasuperior=736;e.gangiacoptic=1003;e.gbopomofo=12557;e.gbreve=287;e.gcaron=487;e.gcedilla=291;e.gcircle=9430;e.gcircumflex=285;e.gcommaaccent=291;e.gdot=289;e.gdotaccent=289;e.gecyrillic=1075;e.gehiragana=12370;e.gekatakana=12466;e.geometricallyequal=8785;e.gereshaccenthebrew=1436;e.gereshhebrew=1523;e.gereshmuqdamhebrew=1437;e.germandbls=223;e.gershayimaccenthebrew=1438;e.gershayimhebrew=1524;e.getamark=12307;e.ghabengali=2456;e.ghadarmenian=1394;e.ghadeva=2328;e.ghagujarati=2712;e.ghagurmukhi=2584;e.ghainarabic=1594;e.ghainfinalarabic=65230;e.ghaininitialarabic=65231;e.ghainmedialarabic=65232;e.ghemiddlehookcyrillic=1173;e.ghestrokecyrillic=1171;e.gheupturncyrillic=1169;e.ghhadeva=2394;e.ghhagurmukhi=2650;e.ghook=608;e.ghzsquare=13203;e.gihiragana=12366;e.gikatakana=12462;e.gimarmenian=1379;e.gimel=1490;e.gimeldagesh=64306;e.gimeldageshhebrew=64306;e.gimelhebrew=1490;e.gjecyrillic=1107;e.glottalinvertedstroke=446;e.glottalstop=660;e.glottalstopinverted=662;e.glottalstopmod=704;e.glottalstopreversed=661;e.glottalstopreversedmod=705;e.glottalstopreversedsuperior=740;e.glottalstopstroke=673;e.glottalstopstrokereversed=674;e.gmacron=7713;e.gmonospace=65351;e.gohiragana=12372;e.gokatakana=12468;e.gparen=9378;e.gpasquare=13228;e.gradient=8711;e.grave=96;e.gravebelowcmb=790;e.gravecmb=768;e.gravecomb=768;e.gravedeva=2387;e.gravelowmod=718;e.gravemonospace=65344;e.gravetonecmb=832;e.greater=62;e.greaterequal=8805;e.greaterequalorless=8923;e.greatermonospace=65310;e.greaterorequivalent=8819;e.greaterorless=8823;e.greateroverequal=8807;e.greatersmall=65125;e.gscript=609;e.gstroke=485;e.guhiragana=12368;e.guillemotleft=171;e.guillemotright=187;e.guilsinglleft=8249;e.guilsinglright=8250;e.gukatakana=12464;e.guramusquare=13080;e.gysquare=13257;e.h=104;e.haabkhasiancyrillic=1193;e.haaltonearabic=1729;e.habengali=2489;e.hadescendercyrillic=1203;e.hadeva=2361;e.hagujarati=2745;e.hagurmukhi=2617;e.haharabic=1581;e.hahfinalarabic=65186;e.hahinitialarabic=65187;e.hahiragana=12399;e.hahmedialarabic=65188;e.haitusquare=13098;e.hakatakana=12495;e.hakatakanahalfwidth=65418;e.halantgurmukhi=2637;e.hamzaarabic=1569;e.hamzalowarabic=1569;e.hangulfiller=12644;e.hardsigncyrillic=1098;e.harpoonleftbarbup=8636;e.harpoonrightbarbup=8640;e.hasquare=13258;e.hatafpatah=1458;e.hatafpatah16=1458;e.hatafpatah23=1458;e.hatafpatah2f=1458;e.hatafpatahhebrew=1458;e.hatafpatahnarrowhebrew=1458;e.hatafpatahquarterhebrew=1458;e.hatafpatahwidehebrew=1458;e.hatafqamats=1459;e.hatafqamats1b=1459;e.hatafqamats28=1459;e.hatafqamats34=1459;e.hatafqamatshebrew=1459;e.hatafqamatsnarrowhebrew=1459;e.hatafqamatsquarterhebrew=1459;e.hatafqamatswidehebrew=1459;e.hatafsegol=1457;e.hatafsegol17=1457;e.hatafsegol24=1457;e.hatafsegol30=1457;e.hatafsegolhebrew=1457;e.hatafsegolnarrowhebrew=1457;e.hatafsegolquarterhebrew=1457;e.hatafsegolwidehebrew=1457;e.hbar=295;e.hbopomofo=12559;e.hbrevebelow=7723;e.hcedilla=7721;e.hcircle=9431;e.hcircumflex=293;e.hdieresis=7719;e.hdotaccent=7715;e.hdotbelow=7717;e.he=1492;e.heart=9829;e.heartsuitblack=9829;e.heartsuitwhite=9825;e.hedagesh=64308;e.hedageshhebrew=64308;e.hehaltonearabic=1729;e.heharabic=1607;e.hehebrew=1492;e.hehfinalaltonearabic=64423;e.hehfinalalttwoarabic=65258;e.hehfinalarabic=65258;e.hehhamzaabovefinalarabic=64421;e.hehhamzaaboveisolatedarabic=64420;e.hehinitialaltonearabic=64424;e.hehinitialarabic=65259;e.hehiragana=12408;e.hehmedialaltonearabic=64425;e.hehmedialarabic=65260;e.heiseierasquare=13179;e.hekatakana=12504;e.hekatakanahalfwidth=65421;e.hekutaarusquare=13110;e.henghook=615;e.herutusquare=13113;e.het=1495;e.hethebrew=1495;e.hhook=614;e.hhooksuperior=689;e.hieuhacirclekorean=12923;e.hieuhaparenkorean=12827;e.hieuhcirclekorean=12909;e.hieuhkorean=12622;e.hieuhparenkorean=12813;e.hihiragana=12402;e.hikatakana=12498;e.hikatakanahalfwidth=65419;e.hiriq=1460;e.hiriq14=1460;e.hiriq21=1460;e.hiriq2d=1460;e.hiriqhebrew=1460;e.hiriqnarrowhebrew=1460;e.hiriqquarterhebrew=1460;e.hiriqwidehebrew=1460;e.hlinebelow=7830;e.hmonospace=65352;e.hoarmenian=1392;e.hohipthai=3627;e.hohiragana=12411;e.hokatakana=12507;e.hokatakanahalfwidth=65422;e.holam=1465;e.holam19=1465;e.holam26=1465;e.holam32=1465;e.holamhebrew=1465;e.holamnarrowhebrew=1465;e.holamquarterhebrew=1465;e.holamwidehebrew=1465;e.honokhukthai=3630;e.hookabovecomb=777;e.hookcmb=777;e.hookpalatalizedbelowcmb=801;e.hookretroflexbelowcmb=802;e.hoonsquare=13122;e.horicoptic=1001;e.horizontalbar=8213;e.horncmb=795;e.hotsprings=9832;e.house=8962;e.hparen=9379;e.hsuperior=688;e.hturned=613;e.huhiragana=12405;e.huiitosquare=13107;e.hukatakana=12501;e.hukatakanahalfwidth=65420;e.hungarumlaut=733;e.hungarumlautcmb=779;e.hv=405;e.hyphen=45;e.hypheninferior=63205;e.hyphenmonospace=65293;e.hyphensmall=65123;e.hyphensuperior=63206;e.hyphentwo=8208;e.i=105;e.iacute=237;e.iacyrillic=1103;e.ibengali=2439;e.ibopomofo=12583;e.ibreve=301;e.icaron=464;e.icircle=9432;e.icircumflex=238;e.icyrillic=1110;e.idblgrave=521;e.ideographearthcircle=12943;e.ideographfirecircle=12939;e.ideographicallianceparen=12863;e.ideographiccallparen=12858;e.ideographiccentrecircle=12965;e.ideographicclose=12294;e.ideographiccomma=12289;e.ideographiccommaleft=65380;e.ideographiccongratulationparen=12855;e.ideographiccorrectcircle=12963;e.ideographicearthparen=12847;e.ideographicenterpriseparen=12861;e.ideographicexcellentcircle=12957;e.ideographicfestivalparen=12864;e.ideographicfinancialcircle=12950;e.ideographicfinancialparen=12854;e.ideographicfireparen=12843;e.ideographichaveparen=12850;e.ideographichighcircle=12964;e.ideographiciterationmark=12293;e.ideographiclaborcircle=12952;e.ideographiclaborparen=12856;e.ideographicleftcircle=12967;e.ideographiclowcircle=12966;e.ideographicmedicinecircle=12969;e.ideographicmetalparen=12846;e.ideographicmoonparen=12842;e.ideographicnameparen=12852;e.ideographicperiod=12290;e.ideographicprintcircle=12958;e.ideographicreachparen=12867;e.ideographicrepresentparen=12857;e.ideographicresourceparen=12862;e.ideographicrightcircle=12968;e.ideographicsecretcircle=12953;e.ideographicselfparen=12866;e.ideographicsocietyparen=12851;e.ideographicspace=12288;e.ideographicspecialparen=12853;e.ideographicstockparen=12849;e.ideographicstudyparen=12859;e.ideographicsunparen=12848;e.ideographicsuperviseparen=12860;e.ideographicwaterparen=12844;e.ideographicwoodparen=12845;e.ideographiczero=12295;e.ideographmetalcircle=12942;e.ideographmooncircle=12938;e.ideographnamecircle=12948;e.ideographsuncircle=12944;e.ideographwatercircle=12940;e.ideographwoodcircle=12941;e.ideva=2311;e.idieresis=239;e.idieresisacute=7727;e.idieresiscyrillic=1253;e.idotbelow=7883;e.iebrevecyrillic=1239;e.iecyrillic=1077;e.ieungacirclekorean=12917;e.ieungaparenkorean=12821;e.ieungcirclekorean=12903;e.ieungkorean=12615;e.ieungparenkorean=12807;e.igrave=236;e.igujarati=2695;e.igurmukhi=2567;e.ihiragana=12356;e.ihookabove=7881;e.iibengali=2440;e.iicyrillic=1080;e.iideva=2312;e.iigujarati=2696;e.iigurmukhi=2568;e.iimatragurmukhi=2624;e.iinvertedbreve=523;e.iishortcyrillic=1081;e.iivowelsignbengali=2496;e.iivowelsigndeva=2368;e.iivowelsigngujarati=2752;e.ij=307;e.ikatakana=12452;e.ikatakanahalfwidth=65394;e.ikorean=12643;e.ilde=732;e.iluyhebrew=1452;e.imacron=299;e.imacroncyrillic=1251;e.imageorapproximatelyequal=8787;e.imatragurmukhi=2623;e.imonospace=65353;e.increment=8710;e.infinity=8734;e.iniarmenian=1387;e.integral=8747;e.integralbottom=8993;e.integralbt=8993;e.integralex=63733;e.integraltop=8992;e.integraltp=8992;e.intersection=8745;e.intisquare=13061;e.invbullet=9688;e.invcircle=9689;e.invsmileface=9787;e.iocyrillic=1105;e.iogonek=303;e.iota=953;e.iotadieresis=970;e.iotadieresistonos=912;e.iotalatin=617;e.iotatonos=943;e.iparen=9380;e.irigurmukhi=2674;e.ismallhiragana=12355;e.ismallkatakana=12451;e.ismallkatakanahalfwidth=65384;e.issharbengali=2554;e.istroke=616;e.isuperior=63213;e.iterationhiragana=12445;e.iterationkatakana=12541;e.itilde=297;e.itildebelow=7725;e.iubopomofo=12585;e.iucyrillic=1102;e.ivowelsignbengali=2495;e.ivowelsigndeva=2367;e.ivowelsigngujarati=2751;e.izhitsacyrillic=1141;e.izhitsadblgravecyrillic=1143;e.j=106;e.jaarmenian=1393;e.jabengali=2460;e.jadeva=2332;e.jagujarati=2716;e.jagurmukhi=2588;e.jbopomofo=12560;e.jcaron=496;e.jcircle=9433;e.jcircumflex=309;e.jcrossedtail=669;e.jdotlessstroke=607;e.jecyrillic=1112;e.jeemarabic=1580;e.jeemfinalarabic=65182;e.jeeminitialarabic=65183;e.jeemmedialarabic=65184;e.jeharabic=1688;e.jehfinalarabic=64395;e.jhabengali=2461;e.jhadeva=2333;e.jhagujarati=2717;e.jhagurmukhi=2589;e.jheharmenian=1403;e.jis=12292;e.jmonospace=65354;e.jparen=9381;e.jsuperior=690;e.k=107;e.kabashkircyrillic=1185;e.kabengali=2453;e.kacute=7729;e.kacyrillic=1082;e.kadescendercyrillic=1179;e.kadeva=2325;e.kaf=1499;e.kafarabic=1603;e.kafdagesh=64315;e.kafdageshhebrew=64315;e.kaffinalarabic=65242;e.kafhebrew=1499;e.kafinitialarabic=65243;e.kafmedialarabic=65244;e.kafrafehebrew=64333;e.kagujarati=2709;e.kagurmukhi=2581;e.kahiragana=12363;e.kahookcyrillic=1220;e.kakatakana=12459;e.kakatakanahalfwidth=65398;e.kappa=954;e.kappasymbolgreek=1008;e.kapyeounmieumkorean=12657;e.kapyeounphieuphkorean=12676;e.kapyeounpieupkorean=12664;e.kapyeounssangpieupkorean=12665;e.karoriisquare=13069;e.kashidaautoarabic=1600;e.kashidaautonosidebearingarabic=1600;e.kasmallkatakana=12533;e.kasquare=13188;e.kasraarabic=1616;e.kasratanarabic=1613;e.kastrokecyrillic=1183;e.katahiraprolongmarkhalfwidth=65392;e.kaverticalstrokecyrillic=1181;e.kbopomofo=12558;e.kcalsquare=13193;e.kcaron=489;e.kcedilla=311;e.kcircle=9434;e.kcommaaccent=311;e.kdotbelow=7731;e.keharmenian=1412;e.kehiragana=12369;e.kekatakana=12465;e.kekatakanahalfwidth=65401;e.kenarmenian=1391;e.kesmallkatakana=12534;e.kgreenlandic=312;e.khabengali=2454;e.khacyrillic=1093;e.khadeva=2326;e.khagujarati=2710;e.khagurmukhi=2582;e.khaharabic=1582;e.khahfinalarabic=65190;e.khahinitialarabic=65191;e.khahmedialarabic=65192;e.kheicoptic=999;e.khhadeva=2393;e.khhagurmukhi=2649;e.khieukhacirclekorean=12920;e.khieukhaparenkorean=12824;e.khieukhcirclekorean=12906;e.khieukhkorean=12619;e.khieukhparenkorean=12810;e.khokhaithai=3586;e.khokhonthai=3589;e.khokhuatthai=3587;e.khokhwaithai=3588;e.khomutthai=3675;e.khook=409;e.khorakhangthai=3590;e.khzsquare=13201;e.kihiragana=12365;e.kikatakana=12461;e.kikatakanahalfwidth=65399;e.kiroguramusquare=13077;e.kiromeetorusquare=13078;e.kirosquare=13076;e.kiyeokacirclekorean=12910;e.kiyeokaparenkorean=12814;e.kiyeokcirclekorean=12896;e.kiyeokkorean=12593;e.kiyeokparenkorean=12800;e.kiyeoksioskorean=12595;e.kjecyrillic=1116;e.klinebelow=7733;e.klsquare=13208;e.kmcubedsquare=13222;e.kmonospace=65355;e.kmsquaredsquare=13218;e.kohiragana=12371;e.kohmsquare=13248;e.kokaithai=3585;e.kokatakana=12467;e.kokatakanahalfwidth=65402;e.kooposquare=13086;e.koppacyrillic=1153;e.koreanstandardsymbol=12927;e.koroniscmb=835;e.kparen=9382;e.kpasquare=13226;e.ksicyrillic=1135;e.ktsquare=13263;e.kturned=670;e.kuhiragana=12367;e.kukatakana=12463;e.kukatakanahalfwidth=65400;e.kvsquare=13240;e.kwsquare=13246;e.l=108;e.labengali=2482;e.lacute=314;e.ladeva=2354;e.lagujarati=2738;e.lagurmukhi=2610;e.lakkhangyaothai=3653;e.lamaleffinalarabic=65276;e.lamalefhamzaabovefinalarabic=65272;e.lamalefhamzaaboveisolatedarabic=65271;e.lamalefhamzabelowfinalarabic=65274;e.lamalefhamzabelowisolatedarabic=65273;e.lamalefisolatedarabic=65275;e.lamalefmaddaabovefinalarabic=65270;e.lamalefmaddaaboveisolatedarabic=65269;e.lamarabic=1604;e.lambda=955;e.lambdastroke=411;e.lamed=1500;e.lameddagesh=64316;e.lameddageshhebrew=64316;e.lamedhebrew=1500;e.lamfinalarabic=65246;e.lamhahinitialarabic=64714;e.laminitialarabic=65247;e.lamjeeminitialarabic=64713;e.lamkhahinitialarabic=64715;e.lamlamhehisolatedarabic=65010;e.lammedialarabic=65248;e.lammeemhahinitialarabic=64904;e.lammeeminitialarabic=64716;e.largecircle=9711;e.lbar=410;e.lbelt=620;e.lbopomofo=12556;e.lcaron=318;e.lcedilla=316;e.lcircle=9435;e.lcircumflexbelow=7741;e.lcommaaccent=316;e.ldot=320;e.ldotaccent=320;e.ldotbelow=7735;e.ldotbelowmacron=7737;e.leftangleabovecmb=794;e.lefttackbelowcmb=792;e.less=60;e.lessequal=8804;e.lessequalorgreater=8922;e.lessmonospace=65308;e.lessorequivalent=8818;e.lessorgreater=8822;e.lessoverequal=8806;e.lesssmall=65124;e.lezh=622;e.lfblock=9612;e.lhookretroflex=621;e.lira=8356;e.liwnarmenian=1388;e.lj=457;e.ljecyrillic=1113;e.ll=63168;e.lladeva=2355;e.llagujarati=2739;e.llinebelow=7739;e.llladeva=2356;e.llvocalicbengali=2529;e.llvocalicdeva=2401;e.llvocalicvowelsignbengali=2531;e.llvocalicvowelsigndeva=2403;e.lmiddletilde=619;e.lmonospace=65356;e.lmsquare=13264;e.lochulathai=3628;e.logicaland=8743;e.logicalnot=172;e.logicalnotreversed=8976;e.logicalor=8744;e.lolingthai=3621;e.longs=383;e.lowlinecenterline=65102;e.lowlinecmb=818;e.lowlinedashed=65101;e.lozenge=9674;e.lparen=9383;e.lslash=322;e.lsquare=8467;e.lsuperior=63214;e.ltshade=9617;e.luthai=3622;e.lvocalicbengali=2444;e.lvocalicdeva=2316;e.lvocalicvowelsignbengali=2530;e.lvocalicvowelsigndeva=2402;e.lxsquare=13267;e.m=109;e.mabengali=2478;e.macron=175;e.macronbelowcmb=817;e.macroncmb=772;e.macronlowmod=717;e.macronmonospace=65507;e.macute=7743;e.madeva=2350;e.magujarati=2734;e.magurmukhi=2606;e.mahapakhhebrew=1444;e.mahapakhlefthebrew=1444;e.mahiragana=12414;e.maichattawalowleftthai=63637;e.maichattawalowrightthai=63636;e.maichattawathai=3659;e.maichattawaupperleftthai=63635;e.maieklowleftthai=63628;e.maieklowrightthai=63627;e.maiekthai=3656;e.maiekupperleftthai=63626;e.maihanakatleftthai=63620;e.maihanakatthai=3633;e.maitaikhuleftthai=63625;e.maitaikhuthai=3655;e.maitholowleftthai=63631;e.maitholowrightthai=63630;e.maithothai=3657;e.maithoupperleftthai=63629;e.maitrilowleftthai=63634;e.maitrilowrightthai=63633;e.maitrithai=3658;e.maitriupperleftthai=63632;e.maiyamokthai=3654;e.makatakana=12510;e.makatakanahalfwidth=65423;e.male=9794;e.mansyonsquare=13127;e.maqafhebrew=1470;e.mars=9794;e.masoracirclehebrew=1455;e.masquare=13187;e.mbopomofo=12551;e.mbsquare=13268;e.mcircle=9436;e.mcubedsquare=13221;e.mdotaccent=7745;e.mdotbelow=7747;e.meemarabic=1605;e.meemfinalarabic=65250;e.meeminitialarabic=65251;e.meemmedialarabic=65252;e.meemmeeminitialarabic=64721;e.meemmeemisolatedarabic=64584;e.meetorusquare=13133;e.mehiragana=12417;e.meizierasquare=13182;e.mekatakana=12513;e.mekatakanahalfwidth=65426;e.mem=1502;e.memdagesh=64318;e.memdageshhebrew=64318;e.memhebrew=1502;e.menarmenian=1396;e.merkhahebrew=1445;e.merkhakefulahebrew=1446;e.merkhakefulalefthebrew=1446;e.merkhalefthebrew=1445;e.mhook=625;e.mhzsquare=13202;e.middledotkatakanahalfwidth=65381;e.middot=183;e.mieumacirclekorean=12914;e.mieumaparenkorean=12818;e.mieumcirclekorean=12900;e.mieumkorean=12609;e.mieumpansioskorean=12656;e.mieumparenkorean=12804;e.mieumpieupkorean=12654;e.mieumsioskorean=12655;e.mihiragana=12415;e.mikatakana=12511;e.mikatakanahalfwidth=65424;e.minus=8722;e.minusbelowcmb=800;e.minuscircle=8854;e.minusmod=727;e.minusplus=8723;e.minute=8242;e.miribaarusquare=13130;e.mirisquare=13129;e.mlonglegturned=624;e.mlsquare=13206;e.mmcubedsquare=13219;e.mmonospace=65357;e.mmsquaredsquare=13215;e.mohiragana=12418;e.mohmsquare=13249;e.mokatakana=12514;e.mokatakanahalfwidth=65427;e.molsquare=13270;e.momathai=3617;e.moverssquare=13223;e.moverssquaredsquare=13224;e.mparen=9384;e.mpasquare=13227;e.mssquare=13235;e.msuperior=63215;e.mturned=623;e.mu=181;e.mu1=181;e.muasquare=13186;e.muchgreater=8811;e.muchless=8810;e.mufsquare=13196;e.mugreek=956;e.mugsquare=13197;e.muhiragana=12416;e.mukatakana=12512;e.mukatakanahalfwidth=65425;e.mulsquare=13205;e.multiply=215;e.mumsquare=13211;e.munahhebrew=1443;e.munahlefthebrew=1443;e.musicalnote=9834;e.musicalnotedbl=9835;e.musicflatsign=9837;e.musicsharpsign=9839;e.mussquare=13234;e.muvsquare=13238;e.muwsquare=13244;e.mvmegasquare=13241;e.mvsquare=13239;e.mwmegasquare=13247;e.mwsquare=13245;e.n=110;e.nabengali=2472;e.nabla=8711;e.nacute=324;e.nadeva=2344;e.nagujarati=2728;e.nagurmukhi=2600;e.nahiragana=12394;e.nakatakana=12490;e.nakatakanahalfwidth=65413;e.napostrophe=329;e.nasquare=13185;e.nbopomofo=12555;e.nbspace=160;e.ncaron=328;e.ncedilla=326;e.ncircle=9437;e.ncircumflexbelow=7755;e.ncommaaccent=326;e.ndotaccent=7749;e.ndotbelow=7751;e.nehiragana=12397;e.nekatakana=12493;e.nekatakanahalfwidth=65416;e.newsheqelsign=8362;e.nfsquare=13195;e.ngabengali=2457;e.ngadeva=2329;e.ngagujarati=2713;e.ngagurmukhi=2585;e.ngonguthai=3591;e.nhiragana=12435;e.nhookleft=626;e.nhookretroflex=627;e.nieunacirclekorean=12911;e.nieunaparenkorean=12815;e.nieuncieuckorean=12597;e.nieuncirclekorean=12897;e.nieunhieuhkorean=12598;e.nieunkorean=12596;e.nieunpansioskorean=12648;e.nieunparenkorean=12801;e.nieunsioskorean=12647;e.nieuntikeutkorean=12646;e.nihiragana=12395;e.nikatakana=12491;e.nikatakanahalfwidth=65414;e.nikhahitleftthai=63641;e.nikhahitthai=3661;e.nine=57;e.ninearabic=1641;e.ninebengali=2543;e.ninecircle=9320;e.ninecircleinversesansserif=10130;e.ninedeva=2415;e.ninegujarati=2799;e.ninegurmukhi=2671;e.ninehackarabic=1641;e.ninehangzhou=12329;e.nineideographicparen=12840;e.nineinferior=8329;e.ninemonospace=65305;e.nineoldstyle=63289;e.nineparen=9340;e.nineperiod=9360;e.ninepersian=1785;e.nineroman=8568;e.ninesuperior=8313;e.nineteencircle=9330;e.nineteenparen=9350;e.nineteenperiod=9370;e.ninethai=3673;e.nj=460;e.njecyrillic=1114;e.nkatakana=12531;e.nkatakanahalfwidth=65437;e.nlegrightlong=414;e.nlinebelow=7753;e.nmonospace=65358;e.nmsquare=13210;e.nnabengali=2467;e.nnadeva=2339;e.nnagujarati=2723;e.nnagurmukhi=2595;e.nnnadeva=2345;e.nohiragana=12398;e.nokatakana=12494;e.nokatakanahalfwidth=65417;e.nonbreakingspace=160;e.nonenthai=3603;e.nonuthai=3609;e.noonarabic=1606;e.noonfinalarabic=65254;e.noonghunnaarabic=1722;e.noonghunnafinalarabic=64415;e.nooninitialarabic=65255;e.noonjeeminitialarabic=64722;e.noonjeemisolatedarabic=64587;e.noonmedialarabic=65256;e.noonmeeminitialarabic=64725;e.noonmeemisolatedarabic=64590;e.noonnoonfinalarabic=64653;e.notcontains=8716;e.notelement=8713;e.notelementof=8713;e.notequal=8800;e.notgreater=8815;e.notgreaternorequal=8817;e.notgreaternorless=8825;e.notidentical=8802;e.notless=8814;e.notlessnorequal=8816;e.notparallel=8742;e.notprecedes=8832;e.notsubset=8836;e.notsucceeds=8833;e.notsuperset=8837;e.nowarmenian=1398;e.nparen=9385;e.nssquare=13233;e.nsuperior=8319;e.ntilde=241;e.nu=957;e.nuhiragana=12396;e.nukatakana=12492;e.nukatakanahalfwidth=65415;e.nuktabengali=2492;e.nuktadeva=2364;e.nuktagujarati=2748;e.nuktagurmukhi=2620;e.numbersign=35;e.numbersignmonospace=65283;e.numbersignsmall=65119;e.numeralsigngreek=884;e.numeralsignlowergreek=885;e.numero=8470;e.nun=1504;e.nundagesh=64320;e.nundageshhebrew=64320;e.nunhebrew=1504;e.nvsquare=13237;e.nwsquare=13243;e.nyabengali=2462;e.nyadeva=2334;e.nyagujarati=2718;e.nyagurmukhi=2590;e.o=111;e.oacute=243;e.oangthai=3629;e.obarred=629;e.obarredcyrillic=1257;e.obarreddieresiscyrillic=1259;e.obengali=2451;e.obopomofo=12571;e.obreve=335;e.ocandradeva=2321;e.ocandragujarati=2705;e.ocandravowelsigndeva=2377;e.ocandravowelsigngujarati=2761;e.ocaron=466;e.ocircle=9438;e.ocircumflex=244;e.ocircumflexacute=7889;e.ocircumflexdotbelow=7897;e.ocircumflexgrave=7891;e.ocircumflexhookabove=7893;e.ocircumflextilde=7895;e.ocyrillic=1086;e.odblacute=337;e.odblgrave=525;e.odeva=2323;e.odieresis=246;e.odieresiscyrillic=1255;e.odotbelow=7885;e.oe=339;e.oekorean=12634;e.ogonek=731;e.ogonekcmb=808;e.ograve=242;e.ogujarati=2707;e.oharmenian=1413;e.ohiragana=12362;e.ohookabove=7887;e.ohorn=417;e.ohornacute=7899;e.ohorndotbelow=7907;e.ohorngrave=7901;e.ohornhookabove=7903;e.ohorntilde=7905;e.ohungarumlaut=337;e.oi=419;e.oinvertedbreve=527;e.okatakana=12458;e.okatakanahalfwidth=65397;e.okorean=12631;e.olehebrew=1451;e.omacron=333;e.omacronacute=7763;e.omacrongrave=7761;e.omdeva=2384;e.omega=969;e.omega1=982;e.omegacyrillic=1121;e.omegalatinclosed=631;e.omegaroundcyrillic=1147;e.omegatitlocyrillic=1149;e.omegatonos=974;e.omgujarati=2768;e.omicron=959;e.omicrontonos=972;e.omonospace=65359;e.one=49;e.onearabic=1633;e.onebengali=2535;e.onecircle=9312;e.onecircleinversesansserif=10122;e.onedeva=2407;e.onedotenleader=8228;e.oneeighth=8539;e.onefitted=63196;e.onegujarati=2791;e.onegurmukhi=2663;e.onehackarabic=1633;e.onehalf=189;e.onehangzhou=12321;e.oneideographicparen=12832;e.oneinferior=8321;e.onemonospace=65297;e.onenumeratorbengali=2548;e.oneoldstyle=63281;e.oneparen=9332;e.oneperiod=9352;e.onepersian=1777;e.onequarter=188;e.oneroman=8560;e.onesuperior=185;e.onethai=3665;e.onethird=8531;e.oogonek=491;e.oogonekmacron=493;e.oogurmukhi=2579;e.oomatragurmukhi=2635;e.oopen=596;e.oparen=9386;e.openbullet=9702;e.option=8997;e.ordfeminine=170;e.ordmasculine=186;e.orthogonal=8735;e.oshortdeva=2322;e.oshortvowelsigndeva=2378;e.oslash=248;e.oslashacute=511;e.osmallhiragana=12361;e.osmallkatakana=12457;e.osmallkatakanahalfwidth=65387;e.ostrokeacute=511;e.osuperior=63216;e.otcyrillic=1151;e.otilde=245;e.otildeacute=7757;e.otildedieresis=7759;e.oubopomofo=12577;e.overline=8254;e.overlinecenterline=65098;e.overlinecmb=773;e.overlinedashed=65097;e.overlinedblwavy=65100;e.overlinewavy=65099;e.overscore=175;e.ovowelsignbengali=2507;e.ovowelsigndeva=2379;e.ovowelsigngujarati=2763;e.p=112;e.paampssquare=13184;e.paasentosquare=13099;e.pabengali=2474;e.pacute=7765;e.padeva=2346;e.pagedown=8671;e.pageup=8670;e.pagujarati=2730;e.pagurmukhi=2602;e.pahiragana=12401;e.paiyannoithai=3631;e.pakatakana=12497;e.palatalizationcyrilliccmb=1156;e.palochkacyrillic=1216;e.pansioskorean=12671;e.paragraph=182;e.parallel=8741;e.parenleft=40;e.parenleftaltonearabic=64830;e.parenleftbt=63725;e.parenleftex=63724;e.parenleftinferior=8333;e.parenleftmonospace=65288;e.parenleftsmall=65113;e.parenleftsuperior=8317;e.parenlefttp=63723;e.parenleftvertical=65077;e.parenright=41;e.parenrightaltonearabic=64831;e.parenrightbt=63736;e.parenrightex=63735;e.parenrightinferior=8334;e.parenrightmonospace=65289;e.parenrightsmall=65114;e.parenrightsuperior=8318;e.parenrighttp=63734;e.parenrightvertical=65078;e.partialdiff=8706;e.paseqhebrew=1472;e.pashtahebrew=1433;e.pasquare=13225;e.patah=1463;e.patah11=1463;e.patah1d=1463;e.patah2a=1463;e.patahhebrew=1463;e.patahnarrowhebrew=1463;e.patahquarterhebrew=1463;e.patahwidehebrew=1463;e.pazerhebrew=1441;e.pbopomofo=12550;e.pcircle=9439;e.pdotaccent=7767;e.pe=1508;e.pecyrillic=1087;e.pedagesh=64324;e.pedageshhebrew=64324;e.peezisquare=13115;e.pefinaldageshhebrew=64323;e.peharabic=1662;e.peharmenian=1402;e.pehebrew=1508;e.pehfinalarabic=64343;e.pehinitialarabic=64344;e.pehiragana=12410;e.pehmedialarabic=64345;e.pekatakana=12506;e.pemiddlehookcyrillic=1191;e.perafehebrew=64334;e.percent=37;e.percentarabic=1642;e.percentmonospace=65285;e.percentsmall=65130;e.period=46;e.periodarmenian=1417;e.periodcentered=183;e.periodhalfwidth=65377;e.periodinferior=63207;e.periodmonospace=65294;e.periodsmall=65106;e.periodsuperior=63208;e.perispomenigreekcmb=834;e.perpendicular=8869;e.perthousand=8240;e.peseta=8359;e.pfsquare=13194;e.phabengali=2475;e.phadeva=2347;e.phagujarati=2731;e.phagurmukhi=2603;e.phi=966;e.phi1=981;e.phieuphacirclekorean=12922;e.phieuphaparenkorean=12826;e.phieuphcirclekorean=12908;e.phieuphkorean=12621;e.phieuphparenkorean=12812;e.philatin=632;e.phinthuthai=3642;e.phisymbolgreek=981;e.phook=421;e.phophanthai=3614;e.phophungthai=3612;e.phosamphaothai=3616;e.pi=960;e.pieupacirclekorean=12915;e.pieupaparenkorean=12819;e.pieupcieuckorean=12662;e.pieupcirclekorean=12901;e.pieupkiyeokkorean=12658;e.pieupkorean=12610;e.pieupparenkorean=12805;e.pieupsioskiyeokkorean=12660;e.pieupsioskorean=12612;e.pieupsiostikeutkorean=12661;e.pieupthieuthkorean=12663;e.pieuptikeutkorean=12659;e.pihiragana=12404;e.pikatakana=12500;e.pisymbolgreek=982;e.piwrarmenian=1411;e.planckover2pi=8463;e.planckover2pi1=8463;e.plus=43;e.plusbelowcmb=799;e.pluscircle=8853;e.plusminus=177;e.plusmod=726;e.plusmonospace=65291;e.plussmall=65122;e.plussuperior=8314;e.pmonospace=65360;e.pmsquare=13272;e.pohiragana=12413;e.pointingindexdownwhite=9759;e.pointingindexleftwhite=9756;e.pointingindexrightwhite=9758;e.pointingindexupwhite=9757;e.pokatakana=12509;e.poplathai=3611;e.postalmark=12306;e.postalmarkface=12320;e.pparen=9387;e.precedes=8826;e.prescription=8478;e.primemod=697;e.primereversed=8245;e.product=8719;e.projective=8965;e.prolongedkana=12540;e.propellor=8984;e.propersubset=8834;e.propersuperset=8835;e.proportion=8759;e.proportional=8733;e.psi=968;e.psicyrillic=1137;e.psilipneumatacyrilliccmb=1158;e.pssquare=13232;e.puhiragana=12407;e.pukatakana=12503;e.pvsquare=13236;e.pwsquare=13242;e.q=113;e.qadeva=2392;e.qadmahebrew=1448;e.qafarabic=1602;e.qaffinalarabic=65238;e.qafinitialarabic=65239;e.qafmedialarabic=65240;e.qamats=1464;e.qamats10=1464;e.qamats1a=1464;e.qamats1c=1464;e.qamats27=1464;e.qamats29=1464;e.qamats33=1464;e.qamatsde=1464;e.qamatshebrew=1464;e.qamatsnarrowhebrew=1464;e.qamatsqatanhebrew=1464;e.qamatsqatannarrowhebrew=1464;e.qamatsqatanquarterhebrew=1464;e.qamatsqatanwidehebrew=1464;e.qamatsquarterhebrew=1464;e.qamatswidehebrew=1464;e.qarneyparahebrew=1439;e.qbopomofo=12561;e.qcircle=9440;e.qhook=672;e.qmonospace=65361;e.qof=1511;e.qofdagesh=64327;e.qofdageshhebrew=64327;e.qofhebrew=1511;e.qparen=9388;e.quarternote=9833;e.qubuts=1467;e.qubuts18=1467;e.qubuts25=1467;e.qubuts31=1467;e.qubutshebrew=1467;e.qubutsnarrowhebrew=1467;e.qubutsquarterhebrew=1467;e.qubutswidehebrew=1467;e.question=63;e.questionarabic=1567;e.questionarmenian=1374;e.questiondown=191;e.questiondownsmall=63423;e.questiongreek=894;e.questionmonospace=65311;e.questionsmall=63295;e.quotedbl=34;e.quotedblbase=8222;e.quotedblleft=8220;e.quotedblmonospace=65282;e.quotedblprime=12318;e.quotedblprimereversed=12317;e.quotedblright=8221;e.quoteleft=8216;e.quoteleftreversed=8219;e.quotereversed=8219;e.quoteright=8217;e.quoterightn=329;e.quotesinglbase=8218;e.quotesingle=39;e.quotesinglemonospace=65287;e.r=114;e.raarmenian=1404;e.rabengali=2480;e.racute=341;e.radeva=2352;e.radical=8730;e.radicalex=63717;e.radoverssquare=13230;e.radoverssquaredsquare=13231;e.radsquare=13229;e.rafe=1471;e.rafehebrew=1471;e.ragujarati=2736;e.ragurmukhi=2608;e.rahiragana=12425;e.rakatakana=12521;e.rakatakanahalfwidth=65431;e.ralowerdiagonalbengali=2545;e.ramiddlediagonalbengali=2544;e.ramshorn=612;e.ratio=8758;e.rbopomofo=12566;e.rcaron=345;e.rcedilla=343;e.rcircle=9441;e.rcommaaccent=343;e.rdblgrave=529;e.rdotaccent=7769;e.rdotbelow=7771;e.rdotbelowmacron=7773;e.referencemark=8251;e.reflexsubset=8838;e.reflexsuperset=8839;e.registered=174;e.registersans=63720;e.registerserif=63194;e.reharabic=1585;e.reharmenian=1408;e.rehfinalarabic=65198;e.rehiragana=12428;e.rekatakana=12524;e.rekatakanahalfwidth=65434;e.resh=1512;e.reshdageshhebrew=64328;e.reshhebrew=1512;e.reversedtilde=8765;e.reviahebrew=1431;e.reviamugrashhebrew=1431;e.revlogicalnot=8976;e.rfishhook=638;e.rfishhookreversed=639;e.rhabengali=2525;e.rhadeva=2397;e.rho=961;e.rhook=637;e.rhookturned=635;e.rhookturnedsuperior=693;e.rhosymbolgreek=1009;e.rhotichookmod=734;e.rieulacirclekorean=12913;e.rieulaparenkorean=12817;e.rieulcirclekorean=12899;e.rieulhieuhkorean=12608;e.rieulkiyeokkorean=12602;e.rieulkiyeoksioskorean=12649;e.rieulkorean=12601;e.rieulmieumkorean=12603;e.rieulpansioskorean=12652;e.rieulparenkorean=12803;e.rieulphieuphkorean=12607;e.rieulpieupkorean=12604;e.rieulpieupsioskorean=12651;e.rieulsioskorean=12605;e.rieulthieuthkorean=12606;e.rieultikeutkorean=12650;e.rieulyeorinhieuhkorean=12653;e.rightangle=8735;e.righttackbelowcmb=793;e.righttriangle=8895;e.rihiragana=12426;e.rikatakana=12522;e.rikatakanahalfwidth=65432;e.ring=730;e.ringbelowcmb=805;e.ringcmb=778;e.ringhalfleft=703;e.ringhalfleftarmenian=1369;e.ringhalfleftbelowcmb=796;e.ringhalfleftcentered=723;e.ringhalfright=702;e.ringhalfrightbelowcmb=825;e.ringhalfrightcentered=722;e.rinvertedbreve=531;e.rittorusquare=13137;e.rlinebelow=7775;e.rlongleg=636;e.rlonglegturned=634;e.rmonospace=65362;e.rohiragana=12429;e.rokatakana=12525;e.rokatakanahalfwidth=65435;e.roruathai=3619;e.rparen=9389;e.rrabengali=2524;e.rradeva=2353;e.rragurmukhi=2652;e.rreharabic=1681;e.rrehfinalarabic=64397;e.rrvocalicbengali=2528;e.rrvocalicdeva=2400;e.rrvocalicgujarati=2784;e.rrvocalicvowelsignbengali=2500;e.rrvocalicvowelsigndeva=2372;e.rrvocalicvowelsigngujarati=2756;e.rsuperior=63217;e.rtblock=9616;e.rturned=633;e.rturnedsuperior=692;e.ruhiragana=12427;e.rukatakana=12523;e.rukatakanahalfwidth=65433;e.rupeemarkbengali=2546;e.rupeesignbengali=2547;e.rupiah=63197;e.ruthai=3620;e.rvocalicbengali=2443;e.rvocalicdeva=2315;e.rvocalicgujarati=2699;e.rvocalicvowelsignbengali=2499;e.rvocalicvowelsigndeva=2371;e.rvocalicvowelsigngujarati=2755;e.s=115;e.sabengali=2488;e.sacute=347;e.sacutedotaccent=7781;e.sadarabic=1589;e.sadeva=2360;e.sadfinalarabic=65210;e.sadinitialarabic=65211;e.sadmedialarabic=65212;e.sagujarati=2744;e.sagurmukhi=2616;e.sahiragana=12373;e.sakatakana=12469;e.sakatakanahalfwidth=65403;e.sallallahoualayhewasallamarabic=65018;e.samekh=1505;e.samekhdagesh=64321;e.samekhdageshhebrew=64321;e.samekhhebrew=1505;e.saraaathai=3634;e.saraaethai=3649;e.saraaimaimalaithai=3652;e.saraaimaimuanthai=3651;e.saraamthai=3635;e.saraathai=3632;e.saraethai=3648;e.saraiileftthai=63622;e.saraiithai=3637;e.saraileftthai=63621;e.saraithai=3636;e.saraothai=3650;e.saraueeleftthai=63624;e.saraueethai=3639;e.saraueleftthai=63623;e.sarauethai=3638;e.sarauthai=3640;e.sarauuthai=3641;e.sbopomofo=12569;e.scaron=353;e.scarondotaccent=7783;e.scedilla=351;e.schwa=601;e.schwacyrillic=1241;e.schwadieresiscyrillic=1243;e.schwahook=602;e.scircle=9442;e.scircumflex=349;e.scommaaccent=537;e.sdotaccent=7777;e.sdotbelow=7779;e.sdotbelowdotaccent=7785;e.seagullbelowcmb=828;e.second=8243;e.secondtonechinese=714;e.section=167;e.seenarabic=1587;e.seenfinalarabic=65202;e.seeninitialarabic=65203;e.seenmedialarabic=65204;e.segol=1462;e.segol13=1462;e.segol1f=1462;e.segol2c=1462;e.segolhebrew=1462;e.segolnarrowhebrew=1462;e.segolquarterhebrew=1462;e.segoltahebrew=1426;e.segolwidehebrew=1462;e.seharmenian=1405;e.sehiragana=12379;e.sekatakana=12475;e.sekatakanahalfwidth=65406;e.semicolon=59;e.semicolonarabic=1563;e.semicolonmonospace=65307;e.semicolonsmall=65108;e.semivoicedmarkkana=12444;e.semivoicedmarkkanahalfwidth=65439;e.sentisquare=13090;e.sentosquare=13091;e.seven=55;e.sevenarabic=1639;e.sevenbengali=2541;e.sevencircle=9318;e.sevencircleinversesansserif=10128;e.sevendeva=2413;e.seveneighths=8542;e.sevengujarati=2797;e.sevengurmukhi=2669;e.sevenhackarabic=1639;e.sevenhangzhou=12327;e.sevenideographicparen=12838;e.seveninferior=8327;e.sevenmonospace=65303;e.sevenoldstyle=63287;e.sevenparen=9338;e.sevenperiod=9358;e.sevenpersian=1783;e.sevenroman=8566;e.sevensuperior=8311;e.seventeencircle=9328;e.seventeenparen=9348;e.seventeenperiod=9368;e.seventhai=3671;e.sfthyphen=173;e.shaarmenian=1399;e.shabengali=2486;e.shacyrillic=1096;e.shaddaarabic=1617;e.shaddadammaarabic=64609;e.shaddadammatanarabic=64606;e.shaddafathaarabic=64608;e.shaddakasraarabic=64610;e.shaddakasratanarabic=64607;e.shade=9618;e.shadedark=9619;e.shadelight=9617;e.shademedium=9618;e.shadeva=2358;e.shagujarati=2742;e.shagurmukhi=2614;e.shalshelethebrew=1427;e.shbopomofo=12565;e.shchacyrillic=1097;e.sheenarabic=1588;e.sheenfinalarabic=65206;e.sheeninitialarabic=65207;e.sheenmedialarabic=65208;e.sheicoptic=995;e.sheqel=8362;e.sheqelhebrew=8362;e.sheva=1456;e.sheva115=1456;e.sheva15=1456;e.sheva22=1456;e.sheva2e=1456;e.shevahebrew=1456;e.shevanarrowhebrew=1456;e.shevaquarterhebrew=1456;e.shevawidehebrew=1456;e.shhacyrillic=1211;e.shimacoptic=1005;e.shin=1513;e.shindagesh=64329;e.shindageshhebrew=64329;e.shindageshshindot=64300;e.shindageshshindothebrew=64300;e.shindageshsindot=64301;e.shindageshsindothebrew=64301;e.shindothebrew=1473;e.shinhebrew=1513;e.shinshindot=64298;e.shinshindothebrew=64298;e.shinsindot=64299;e.shinsindothebrew=64299;e.shook=642;e.sigma=963;e.sigma1=962;e.sigmafinal=962;e.sigmalunatesymbolgreek=1010;e.sihiragana=12375;e.sikatakana=12471;e.sikatakanahalfwidth=65404;e.siluqhebrew=1469;e.siluqlefthebrew=1469;e.similar=8764;e.sindothebrew=1474;e.siosacirclekorean=12916;e.siosaparenkorean=12820;e.sioscieuckorean=12670;e.sioscirclekorean=12902;e.sioskiyeokkorean=12666;e.sioskorean=12613;e.siosnieunkorean=12667;e.siosparenkorean=12806;e.siospieupkorean=12669;e.siostikeutkorean=12668;e.six=54;e.sixarabic=1638;e.sixbengali=2540;e.sixcircle=9317;e.sixcircleinversesansserif=10127;e.sixdeva=2412;e.sixgujarati=2796;e.sixgurmukhi=2668;e.sixhackarabic=1638;e.sixhangzhou=12326;e.sixideographicparen=12837;e.sixinferior=8326;e.sixmonospace=65302;e.sixoldstyle=63286;e.sixparen=9337;e.sixperiod=9357;e.sixpersian=1782;e.sixroman=8565;e.sixsuperior=8310;e.sixteencircle=9327;e.sixteencurrencydenominatorbengali=2553;e.sixteenparen=9347;e.sixteenperiod=9367;e.sixthai=3670;e.slash=47;e.slashmonospace=65295;e.slong=383;e.slongdotaccent=7835;e.smileface=9786;e.smonospace=65363;e.sofpasuqhebrew=1475;e.softhyphen=173;e.softsigncyrillic=1100;e.sohiragana=12381;e.sokatakana=12477;e.sokatakanahalfwidth=65407;e.soliduslongoverlaycmb=824;e.solidusshortoverlaycmb=823;e.sorusithai=3625;e.sosalathai=3624;e.sosothai=3595;e.sosuathai=3626;e.space=32;e.spacehackarabic=32;e.spade=9824;e.spadesuitblack=9824;e.spadesuitwhite=9828;e.sparen=9390;e.squarebelowcmb=827;e.squarecc=13252;e.squarecm=13213;e.squarediagonalcrosshatchfill=9641;e.squarehorizontalfill=9636;e.squarekg=13199;e.squarekm=13214;e.squarekmcapital=13262;e.squareln=13265;e.squarelog=13266;e.squaremg=13198;e.squaremil=13269;e.squaremm=13212;e.squaremsquared=13217;e.squareorthogonalcrosshatchfill=9638;e.squareupperlefttolowerrightfill=9639;e.squareupperrighttolowerleftfill=9640;e.squareverticalfill=9637;e.squarewhitewithsmallblack=9635;e.srsquare=13275;e.ssabengali=2487;e.ssadeva=2359;e.ssagujarati=2743;e.ssangcieuckorean=12617;e.ssanghieuhkorean=12677;e.ssangieungkorean=12672;e.ssangkiyeokkorean=12594;e.ssangnieunkorean=12645;e.ssangpieupkorean=12611;e.ssangsioskorean=12614;e.ssangtikeutkorean=12600;e.ssuperior=63218;e.sterling=163;e.sterlingmonospace=65505;e.strokelongoverlaycmb=822;e.strokeshortoverlaycmb=821;e.subset=8834;e.subsetnotequal=8842;e.subsetorequal=8838;e.succeeds=8827;e.suchthat=8715;e.suhiragana=12377;e.sukatakana=12473;e.sukatakanahalfwidth=65405;e.sukunarabic=1618;e.summation=8721;e.sun=9788;e.superset=8835;e.supersetnotequal=8843;e.supersetorequal=8839;e.svsquare=13276;e.syouwaerasquare=13180;e.t=116;e.tabengali=2468;e.tackdown=8868;e.tackleft=8867;e.tadeva=2340;e.tagujarati=2724;e.tagurmukhi=2596;e.taharabic=1591;e.tahfinalarabic=65218;e.tahinitialarabic=65219;e.tahiragana=12383;e.tahmedialarabic=65220;e.taisyouerasquare=13181;e.takatakana=12479;e.takatakanahalfwidth=65408;e.tatweelarabic=1600;e.tau=964;e.tav=1514;e.tavdages=64330;e.tavdagesh=64330;e.tavdageshhebrew=64330;e.tavhebrew=1514;e.tbar=359;e.tbopomofo=12554;e.tcaron=357;e.tccurl=680;e.tcedilla=355;e.tcheharabic=1670;e.tchehfinalarabic=64379;e.tchehinitialarabic=64380;e.tchehmedialarabic=64381;e.tcircle=9443;e.tcircumflexbelow=7793;e.tcommaaccent=355;e.tdieresis=7831;e.tdotaccent=7787;e.tdotbelow=7789;e.tecyrillic=1090;e.tedescendercyrillic=1197;e.teharabic=1578;e.tehfinalarabic=65174;e.tehhahinitialarabic=64674;e.tehhahisolatedarabic=64524;e.tehinitialarabic=65175;e.tehiragana=12390;e.tehjeeminitialarabic=64673;e.tehjeemisolatedarabic=64523;e.tehmarbutaarabic=1577;e.tehmarbutafinalarabic=65172;e.tehmedialarabic=65176;e.tehmeeminitialarabic=64676;e.tehmeemisolatedarabic=64526;e.tehnoonfinalarabic=64627;e.tekatakana=12486;e.tekatakanahalfwidth=65411;e.telephone=8481;e.telephoneblack=9742;e.telishagedolahebrew=1440;e.telishaqetanahebrew=1449;e.tencircle=9321;e.tenideographicparen=12841;e.tenparen=9341;e.tenperiod=9361;e.tenroman=8569;e.tesh=679;e.tet=1496;e.tetdagesh=64312;e.tetdageshhebrew=64312;e.tethebrew=1496;e.tetsecyrillic=1205;e.tevirhebrew=1435;e.tevirlefthebrew=1435;e.thabengali=2469;e.thadeva=2341;e.thagujarati=2725;e.thagurmukhi=2597;e.thalarabic=1584;e.thalfinalarabic=65196;e.thanthakhatlowleftthai=63640;e.thanthakhatlowrightthai=63639;e.thanthakhatthai=3660;e.thanthakhatupperleftthai=63638;e.theharabic=1579;e.thehfinalarabic=65178;e.thehinitialarabic=65179;e.thehmedialarabic=65180;e.thereexists=8707;e.therefore=8756;e.theta=952;e.theta1=977;e.thetasymbolgreek=977;e.thieuthacirclekorean=12921;e.thieuthaparenkorean=12825;e.thieuthcirclekorean=12907;e.thieuthkorean=12620;e.thieuthparenkorean=12811;e.thirteencircle=9324;e.thirteenparen=9344;e.thirteenperiod=9364;e.thonangmonthothai=3601;e.thook=429;e.thophuthaothai=3602;e.thorn=254;e.thothahanthai=3607;e.thothanthai=3600;e.thothongthai=3608;e.thothungthai=3606;e.thousandcyrillic=1154;e.thousandsseparatorarabic=1644;e.thousandsseparatorpersian=1644;e.three=51;e.threearabic=1635;e.threebengali=2537;e.threecircle=9314;e.threecircleinversesansserif=10124;e.threedeva=2409;e.threeeighths=8540;e.threegujarati=2793;e.threegurmukhi=2665;e.threehackarabic=1635;e.threehangzhou=12323;e.threeideographicparen=12834;e.threeinferior=8323;e.threemonospace=65299;e.threenumeratorbengali=2550;e.threeoldstyle=63283;e.threeparen=9334;e.threeperiod=9354;e.threepersian=1779;e.threequarters=190;e.threequartersemdash=63198;e.threeroman=8562;e.threesuperior=179;e.threethai=3667;e.thzsquare=13204;e.tihiragana=12385;e.tikatakana=12481;e.tikatakanahalfwidth=65409;e.tikeutacirclekorean=12912;e.tikeutaparenkorean=12816;e.tikeutcirclekorean=12898;e.tikeutkorean=12599;e.tikeutparenkorean=12802;e.tilde=732;e.tildebelowcmb=816;e.tildecmb=771;e.tildecomb=771;e.tildedoublecmb=864;e.tildeoperator=8764;e.tildeoverlaycmb=820;e.tildeverticalcmb=830;e.timescircle=8855;e.tipehahebrew=1430;e.tipehalefthebrew=1430;e.tippigurmukhi=2672;e.titlocyrilliccmb=1155;e.tiwnarmenian=1407;e.tlinebelow=7791;e.tmonospace=65364;e.toarmenian=1385;e.tohiragana=12392;e.tokatakana=12488;e.tokatakanahalfwidth=65412;e.tonebarextrahighmod=741;e.tonebarextralowmod=745;e.tonebarhighmod=742;e.tonebarlowmod=744;e.tonebarmidmod=743;e.tonefive=445;e.tonesix=389;e.tonetwo=424;e.tonos=900;e.tonsquare=13095;e.topatakthai=3599;e.tortoiseshellbracketleft=12308;e.tortoiseshellbracketleftsmall=65117;e.tortoiseshellbracketleftvertical=65081;e.tortoiseshellbracketright=12309;e.tortoiseshellbracketrightsmall=65118;e.tortoiseshellbracketrightvertical=65082;e.totaothai=3605;e.tpalatalhook=427;e.tparen=9391;e.trademark=8482;e.trademarksans=63722;e.trademarkserif=63195;e.tretroflexhook=648;e.triagdn=9660;e.triaglf=9668;e.triagrt=9658;e.triagup=9650;e.ts=678;e.tsadi=1510;e.tsadidagesh=64326;e.tsadidageshhebrew=64326;e.tsadihebrew=1510;e.tsecyrillic=1094;e.tsere=1461;e.tsere12=1461;e.tsere1e=1461;e.tsere2b=1461;e.tserehebrew=1461;e.tserenarrowhebrew=1461;e.tserequarterhebrew=1461;e.tserewidehebrew=1461;e.tshecyrillic=1115;e.tsuperior=63219;e.ttabengali=2463;e.ttadeva=2335;e.ttagujarati=2719;e.ttagurmukhi=2591;e.tteharabic=1657;e.ttehfinalarabic=64359;e.ttehinitialarabic=64360;e.ttehmedialarabic=64361;e.tthabengali=2464;e.tthadeva=2336;e.tthagujarati=2720;e.tthagurmukhi=2592;e.tturned=647;e.tuhiragana=12388;e.tukatakana=12484;e.tukatakanahalfwidth=65410;e.tusmallhiragana=12387;e.tusmallkatakana=12483;e.tusmallkatakanahalfwidth=65391;e.twelvecircle=9323;e.twelveparen=9343;e.twelveperiod=9363;e.twelveroman=8571;e.twentycircle=9331;e.twentyhangzhou=21316;e.twentyparen=9351;e.twentyperiod=9371;e.two=50;e.twoarabic=1634;e.twobengali=2536;e.twocircle=9313;e.twocircleinversesansserif=10123;e.twodeva=2408;e.twodotenleader=8229;e.twodotleader=8229;e.twodotleadervertical=65072;e.twogujarati=2792;e.twogurmukhi=2664;e.twohackarabic=1634;e.twohangzhou=12322;e.twoideographicparen=12833;e.twoinferior=8322;e.twomonospace=65298;e.twonumeratorbengali=2549;e.twooldstyle=63282;e.twoparen=9333;e.twoperiod=9353;e.twopersian=1778;e.tworoman=8561;e.twostroke=443;e.twosuperior=178;e.twothai=3666;e.twothirds=8532;e.u=117;e.uacute=250;e.ubar=649;e.ubengali=2441;e.ubopomofo=12584;e.ubreve=365;e.ucaron=468;e.ucircle=9444;e.ucircumflex=251;e.ucircumflexbelow=7799;e.ucyrillic=1091;e.udattadeva=2385;e.udblacute=369;e.udblgrave=533;e.udeva=2313;e.udieresis=252;e.udieresisacute=472;e.udieresisbelow=7795;e.udieresiscaron=474;e.udieresiscyrillic=1265;e.udieresisgrave=476;e.udieresismacron=470;e.udotbelow=7909;e.ugrave=249;e.ugujarati=2697;e.ugurmukhi=2569;e.uhiragana=12358;e.uhookabove=7911;e.uhorn=432;e.uhornacute=7913;e.uhorndotbelow=7921;e.uhorngrave=7915;e.uhornhookabove=7917;e.uhorntilde=7919;e.uhungarumlaut=369;e.uhungarumlautcyrillic=1267;e.uinvertedbreve=535;e.ukatakana=12454;e.ukatakanahalfwidth=65395;e.ukcyrillic=1145;e.ukorean=12636;e.umacron=363;e.umacroncyrillic=1263;e.umacrondieresis=7803;e.umatragurmukhi=2625;e.umonospace=65365;e.underscore=95;e.underscoredbl=8215;e.underscoremonospace=65343;e.underscorevertical=65075;e.underscorewavy=65103;e.union=8746;e.universal=8704;e.uogonek=371;e.uparen=9392;e.upblock=9600;e.upperdothebrew=1476;e.upsilon=965;e.upsilondieresis=971;e.upsilondieresistonos=944;e.upsilonlatin=650;e.upsilontonos=973;e.uptackbelowcmb=797;e.uptackmod=724;e.uragurmukhi=2675;e.uring=367;e.ushortcyrillic=1118;e.usmallhiragana=12357;e.usmallkatakana=12453;e.usmallkatakanahalfwidth=65385;e.ustraightcyrillic=1199;e.ustraightstrokecyrillic=1201;e.utilde=361;e.utildeacute=7801;e.utildebelow=7797;e.uubengali=2442;e.uudeva=2314;e.uugujarati=2698;e.uugurmukhi=2570;e.uumatragurmukhi=2626;e.uuvowelsignbengali=2498;e.uuvowelsigndeva=2370;e.uuvowelsigngujarati=2754;e.uvowelsignbengali=2497;e.uvowelsigndeva=2369;e.uvowelsigngujarati=2753;e.v=118;e.vadeva=2357;e.vagujarati=2741;e.vagurmukhi=2613;e.vakatakana=12535;e.vav=1493;e.vavdagesh=64309;e.vavdagesh65=64309;e.vavdageshhebrew=64309;e.vavhebrew=1493;e.vavholam=64331;e.vavholamhebrew=64331;e.vavvavhebrew=1520;e.vavyodhebrew=1521;e.vcircle=9445;e.vdotbelow=7807;e.vecyrillic=1074;e.veharabic=1700;e.vehfinalarabic=64363;e.vehinitialarabic=64364;e.vehmedialarabic=64365;e.vekatakana=12537;e.venus=9792;e.verticalbar=124;e.verticallineabovecmb=781;e.verticallinebelowcmb=809;e.verticallinelowmod=716;e.verticallinemod=712;e.vewarmenian=1406;e.vhook=651;e.vikatakana=12536;e.viramabengali=2509;e.viramadeva=2381;e.viramagujarati=2765;e.visargabengali=2435;e.visargadeva=2307;e.visargagujarati=2691;e.vmonospace=65366;e.voarmenian=1400;e.voicediterationhiragana=12446;e.voicediterationkatakana=12542;e.voicedmarkkana=12443;e.voicedmarkkanahalfwidth=65438;e.vokatakana=12538;e.vparen=9393;e.vtilde=7805;e.vturned=652;e.vuhiragana=12436;e.vukatakana=12532;e.w=119;e.wacute=7811;e.waekorean=12633;e.wahiragana=12431;e.wakatakana=12527;e.wakatakanahalfwidth=65436;e.wakorean=12632;e.wasmallhiragana=12430;e.wasmallkatakana=12526;e.wattosquare=13143;e.wavedash=12316;e.wavyunderscorevertical=65076;e.wawarabic=1608;e.wawfinalarabic=65262;e.wawhamzaabovearabic=1572;e.wawhamzaabovefinalarabic=65158;e.wbsquare=13277;e.wcircle=9446;e.wcircumflex=373;e.wdieresis=7813;e.wdotaccent=7815;e.wdotbelow=7817;e.wehiragana=12433;e.weierstrass=8472;e.wekatakana=12529;e.wekorean=12638;e.weokorean=12637;e.wgrave=7809;e.whitebullet=9702;e.whitecircle=9675;e.whitecircleinverse=9689;e.whitecornerbracketleft=12302;e.whitecornerbracketleftvertical=65091;e.whitecornerbracketright=12303;e.whitecornerbracketrightvertical=65092;e.whitediamond=9671;e.whitediamondcontainingblacksmalldiamond=9672;e.whitedownpointingsmalltriangle=9663;e.whitedownpointingtriangle=9661;e.whiteleftpointingsmalltriangle=9667;e.whiteleftpointingtriangle=9665;e.whitelenticularbracketleft=12310;e.whitelenticularbracketright=12311;e.whiterightpointingsmalltriangle=9657;e.whiterightpointingtriangle=9655;e.whitesmallsquare=9643;e.whitesmilingface=9786;e.whitesquare=9633;e.whitestar=9734;e.whitetelephone=9743;e.whitetortoiseshellbracketleft=12312;e.whitetortoiseshellbracketright=12313;e.whiteuppointingsmalltriangle=9653;e.whiteuppointingtriangle=9651;e.wihiragana=12432;e.wikatakana=12528;e.wikorean=12639;e.wmonospace=65367;e.wohiragana=12434;e.wokatakana=12530;e.wokatakanahalfwidth=65382;e.won=8361;e.wonmonospace=65510;e.wowaenthai=3623;e.wparen=9394;e.wring=7832;e.wsuperior=695;e.wturned=653;e.wynn=447;e.x=120;e.xabovecmb=829;e.xbopomofo=12562;e.xcircle=9447;e.xdieresis=7821;e.xdotaccent=7819;e.xeharmenian=1389;e.xi=958;e.xmonospace=65368;e.xparen=9395;e.xsuperior=739;e.y=121;e.yaadosquare=13134;e.yabengali=2479;e.yacute=253;e.yadeva=2351;e.yaekorean=12626;e.yagujarati=2735;e.yagurmukhi=2607;e.yahiragana=12420;e.yakatakana=12516;e.yakatakanahalfwidth=65428;e.yakorean=12625;e.yamakkanthai=3662;e.yasmallhiragana=12419;e.yasmallkatakana=12515;e.yasmallkatakanahalfwidth=65388;e.yatcyrillic=1123;e.ycircle=9448;e.ycircumflex=375;e.ydieresis=255;e.ydotaccent=7823;e.ydotbelow=7925;e.yeharabic=1610;e.yehbarreearabic=1746;e.yehbarreefinalarabic=64431;e.yehfinalarabic=65266;e.yehhamzaabovearabic=1574;e.yehhamzaabovefinalarabic=65162;e.yehhamzaaboveinitialarabic=65163;e.yehhamzaabovemedialarabic=65164;e.yehinitialarabic=65267;e.yehmedialarabic=65268;e.yehmeeminitialarabic=64733;e.yehmeemisolatedarabic=64600;e.yehnoonfinalarabic=64660;e.yehthreedotsbelowarabic=1745;e.yekorean=12630;e.yen=165;e.yenmonospace=65509;e.yeokorean=12629;e.yeorinhieuhkorean=12678;e.yerahbenyomohebrew=1450;e.yerahbenyomolefthebrew=1450;e.yericyrillic=1099;e.yerudieresiscyrillic=1273;e.yesieungkorean=12673;e.yesieungpansioskorean=12675;e.yesieungsioskorean=12674;e.yetivhebrew=1434;e.ygrave=7923;e.yhook=436;e.yhookabove=7927;e.yiarmenian=1397;e.yicyrillic=1111;e.yikorean=12642;e.yinyang=9775;e.yiwnarmenian=1410;e.ymonospace=65369;e.yod=1497;e.yoddagesh=64313;e.yoddageshhebrew=64313;e.yodhebrew=1497;e.yodyodhebrew=1522;e.yodyodpatahhebrew=64287;e.yohiragana=12424;e.yoikorean=12681;e.yokatakana=12520;e.yokatakanahalfwidth=65430;e.yokorean=12635;e.yosmallhiragana=12423;e.yosmallkatakana=12519;e.yosmallkatakanahalfwidth=65390;e.yotgreek=1011;e.yoyaekorean=12680;e.yoyakorean=12679;e.yoyakthai=3618;e.yoyingthai=3597;e.yparen=9396;e.ypogegrammeni=890;e.ypogegrammenigreekcmb=837;e.yr=422;e.yring=7833;e.ysuperior=696;e.ytilde=7929;e.yturned=654;e.yuhiragana=12422;e.yuikorean=12684;e.yukatakana=12518;e.yukatakanahalfwidth=65429;e.yukorean=12640;e.yusbigcyrillic=1131;e.yusbigiotifiedcyrillic=1133;e.yuslittlecyrillic=1127;e.yuslittleiotifiedcyrillic=1129;e.yusmallhiragana=12421;e.yusmallkatakana=12517;e.yusmallkatakanahalfwidth=65389;e.yuyekorean=12683;e.yuyeokorean=12682;e.yyabengali=2527;e.yyadeva=2399;e.z=122;e.zaarmenian=1382;e.zacute=378;e.zadeva=2395;e.zagurmukhi=2651;e.zaharabic=1592;e.zahfinalarabic=65222;e.zahinitialarabic=65223;e.zahiragana=12374;e.zahmedialarabic=65224;e.zainarabic=1586;e.zainfinalarabic=65200;e.zakatakana=12470;e.zaqefgadolhebrew=1429;e.zaqefqatanhebrew=1428;e.zarqahebrew=1432;e.zayin=1494;e.zayindagesh=64310;e.zayindageshhebrew=64310;e.zayinhebrew=1494;e.zbopomofo=12567;e.zcaron=382;e.zcircle=9449;e.zcircumflex=7825;e.zcurl=657;e.zdot=380;e.zdotaccent=380;e.zdotbelow=7827;e.zecyrillic=1079;e.zedescendercyrillic=1177;e.zedieresiscyrillic=1247;e.zehiragana=12380;e.zekatakana=12476;e.zero=48;e.zeroarabic=1632;e.zerobengali=2534;e.zerodeva=2406;e.zerogujarati=2790;e.zerogurmukhi=2662;e.zerohackarabic=1632;e.zeroinferior=8320;e.zeromonospace=65296;e.zerooldstyle=63280;e.zeropersian=1776;e.zerosuperior=8304;e.zerothai=3664;e.zerowidthjoiner=65279;e.zerowidthnonjoiner=8204;e.zerowidthspace=8203;e.zeta=950;e.zhbopomofo=12563;e.zhearmenian=1386;e.zhebrevecyrillic=1218;e.zhecyrillic=1078;e.zhedescendercyrillic=1175;e.zhedieresiscyrillic=1245;e.zihiragana=12376;e.zikatakana=12472;e.zinorhebrew=1454;e.zlinebelow=7829;e.zmonospace=65370;e.zohiragana=12382;e.zokatakana=12478;e.zparen=9397;e.zretroflexhook=656;e.zstroke=438;e.zuhiragana=12378;e.zukatakana=12474;e[".notdef"]=0;e.angbracketleftbig=9001;e.angbracketleftBig=9001;e.angbracketleftbigg=9001;e.angbracketleftBigg=9001;e.angbracketrightBig=9002;e.angbracketrightbig=9002;e.angbracketrightBigg=9002;e.angbracketrightbigg=9002;e.arrowhookleft=8618;e.arrowhookright=8617;e.arrowlefttophalf=8636;e.arrowleftbothalf=8637;e.arrownortheast=8599;e.arrownorthwest=8598;e.arrowrighttophalf=8640;e.arrowrightbothalf=8641;e.arrowsoutheast=8600;e.arrowsouthwest=8601;e.backslashbig=8726;e.backslashBig=8726;e.backslashBigg=8726;e.backslashbigg=8726;e.bardbl=8214;e.bracehtipdownleft=65079;e.bracehtipdownright=65079;e.bracehtipupleft=65080;e.bracehtipupright=65080;e.braceleftBig=123;e.braceleftbig=123;e.braceleftbigg=123;e.braceleftBigg=123;e.bracerightBig=125;e.bracerightbig=125;e.bracerightbigg=125;e.bracerightBigg=125;e.bracketleftbig=91;e.bracketleftBig=91;e.bracketleftbigg=91;e.bracketleftBigg=91;e.bracketrightBig=93;e.bracketrightbig=93;e.bracketrightbigg=93;e.bracketrightBigg=93;e.ceilingleftbig=8968;e.ceilingleftBig=8968;e.ceilingleftBigg=8968;e.ceilingleftbigg=8968;e.ceilingrightbig=8969;e.ceilingrightBig=8969;e.ceilingrightbigg=8969;e.ceilingrightBigg=8969;e.circledotdisplay=8857;e.circledottext=8857;e.circlemultiplydisplay=8855;e.circlemultiplytext=8855;e.circleplusdisplay=8853;e.circleplustext=8853;e.contintegraldisplay=8750;e.contintegraltext=8750;e.coproductdisplay=8720;e.coproducttext=8720;e.floorleftBig=8970;e.floorleftbig=8970;e.floorleftbigg=8970;e.floorleftBigg=8970;e.floorrightbig=8971;e.floorrightBig=8971;e.floorrightBigg=8971;e.floorrightbigg=8971;e.hatwide=770;e.hatwider=770;e.hatwidest=770;e.intercal=7488;e.integraldisplay=8747;e.integraltext=8747;e.intersectiondisplay=8898;e.intersectiontext=8898;e.logicalanddisplay=8743;e.logicalandtext=8743;e.logicalordisplay=8744;e.logicalortext=8744;e.parenleftBig=40;e.parenleftbig=40;e.parenleftBigg=40;e.parenleftbigg=40;e.parenrightBig=41;e.parenrightbig=41;e.parenrightBigg=41;e.parenrightbigg=41;e.prime=8242;e.productdisplay=8719;e.producttext=8719;e.radicalbig=8730;e.radicalBig=8730;e.radicalBigg=8730;e.radicalbigg=8730;e.radicalbt=8730;e.radicaltp=8730;e.radicalvertex=8730;e.slashbig=47;e.slashBig=47;e.slashBigg=47;e.slashbigg=47;e.summationdisplay=8721;e.summationtext=8721;e.tildewide=732;e.tildewider=732;e.tildewidest=732;e.uniondisplay=8899;e.unionmultidisplay=8846;e.unionmultitext=8846;e.unionsqdisplay=8852;e.unionsqtext=8852;e.uniontext=8899;e.vextenddouble=8741;e.vextendsingle=8739})),Ir=getLookupTableFactory((function(e){e.space=32;e.a1=9985;e.a2=9986;e.a202=9987;e.a3=9988;e.a4=9742;e.a5=9990;e.a119=9991;e.a118=9992;e.a117=9993;e.a11=9755;e.a12=9758;e.a13=9996;e.a14=9997;e.a15=9998;e.a16=9999;e.a105=1e4;e.a17=10001;e.a18=10002;e.a19=10003;e.a20=10004;e.a21=10005;e.a22=10006;e.a23=10007;e.a24=10008;e.a25=10009;e.a26=10010;e.a27=10011;e.a28=10012;e.a6=10013;e.a7=10014;e.a8=10015;e.a9=10016;e.a10=10017;e.a29=10018;e.a30=10019;e.a31=10020;e.a32=10021;e.a33=10022;e.a34=10023;e.a35=9733;e.a36=10025;e.a37=10026;e.a38=10027;e.a39=10028;e.a40=10029;e.a41=10030;e.a42=10031;e.a43=10032;e.a44=10033;e.a45=10034;e.a46=10035;e.a47=10036;e.a48=10037;e.a49=10038;e.a50=10039;e.a51=10040;e.a52=10041;e.a53=10042;e.a54=10043;e.a55=10044;e.a56=10045;e.a57=10046;e.a58=10047;e.a59=10048;e.a60=10049;e.a61=10050;e.a62=10051;e.a63=10052;e.a64=10053;e.a65=10054;e.a66=10055;e.a67=10056;e.a68=10057;e.a69=10058;e.a70=10059;e.a71=9679;e.a72=10061;e.a73=9632;e.a74=10063;e.a203=10064;e.a75=10065;e.a204=10066;e.a76=9650;e.a77=9660;e.a78=9670;e.a79=10070;e.a81=9687;e.a82=10072;e.a83=10073;e.a84=10074;e.a97=10075;e.a98=10076;e.a99=10077;e.a100=10078;e.a101=10081;e.a102=10082;e.a103=10083;e.a104=10084;e.a106=10085;e.a107=10086;e.a108=10087;e.a112=9827;e.a111=9830;e.a110=9829;e.a109=9824;e.a120=9312;e.a121=9313;e.a122=9314;e.a123=9315;e.a124=9316;e.a125=9317;e.a126=9318;e.a127=9319;e.a128=9320;e.a129=9321;e.a130=10102;e.a131=10103;e.a132=10104;e.a133=10105;e.a134=10106;e.a135=10107;e.a136=10108;e.a137=10109;e.a138=10110;e.a139=10111;e.a140=10112;e.a141=10113;e.a142=10114;e.a143=10115;e.a144=10116;e.a145=10117;e.a146=10118;e.a147=10119;e.a148=10120;e.a149=10121;e.a150=10122;e.a151=10123;e.a152=10124;e.a153=10125;e.a154=10126;e.a155=10127;e.a156=10128;e.a157=10129;e.a158=10130;e.a159=10131;e.a160=10132;e.a161=8594;e.a163=8596;e.a164=8597;e.a196=10136;e.a165=10137;e.a192=10138;e.a166=10139;e.a167=10140;e.a168=10141;e.a169=10142;e.a170=10143;e.a171=10144;e.a172=10145;e.a173=10146;e.a162=10147;e.a174=10148;e.a175=10149;e.a176=10150;e.a177=10151;e.a178=10152;e.a179=10153;e.a193=10154;e.a180=10155;e.a199=10156;e.a181=10157;e.a200=10158;e.a182=10159;e.a201=10161;e.a183=10162;e.a184=10163;e.a197=10164;e.a185=10165;e.a194=10166;e.a198=10167;e.a186=10168;e.a195=10169;e.a187=10170;e.a188=10171;e.a189=10172;e.a190=10173;e.a191=10174;e.a89=10088;e.a90=10089;e.a93=10090;e.a94=10091;e.a91=10092;e.a92=10093;e.a205=10094;e.a85=10095;e.a206=10096;e.a86=10097;e.a87=10098;e.a88=10099;e.a95=10100;e.a96=10101;e[".notdef"]=0})),Or=getLookupTableFactory((function(e){e[63721]=169;e[63193]=169;e[63720]=174;e[63194]=174;e[63722]=8482;e[63195]=8482;e[63729]=9127;e[63730]=9128;e[63731]=9129;e[63740]=9131;e[63741]=9132;e[63742]=9133;e[63726]=9121;e[63727]=9122;e[63728]=9123;e[63737]=9124;e[63738]=9125;e[63739]=9126;e[63723]=9115;e[63724]=9116;e[63725]=9117;e[63734]=9118;e[63735]=9119;e[63736]=9120}));function getUnicodeForGlyph(e,t){let a=t[e];if(void 0!==a)return a;if(!e)return-1;if("u"===e[0]){const t=e.length;let r;if(7===t&&"n"===e[1]&&"i"===e[2])r=e.substring(3);else{if(!(t>=5&&t<=7))return-1;r=e.substring(1)}if(r===r.toUpperCase()){a=parseInt(r,16);if(a>=0)return a}}return-1}const Tr=[[0,127],[128,255],[256,383],[384,591],[592,687,7424,7551,7552,7615],[688,767,42752,42783],[768,879,7616,7679],[880,1023],[11392,11519],[1024,1279,1280,1327,11744,11775,42560,42655],[1328,1423],[1424,1535],[42240,42559],[1536,1791,1872,1919],[1984,2047],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3584,3711],[3712,3839],[4256,4351,11520,11567],[6912,7039],[4352,4607],[7680,7935,11360,11391,42784,43007],[7936,8191],[8192,8303,11776,11903],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703,10224,10239,10496,10623,11008,11263],[8704,8959,10752,11007,10176,10223,10624,10751],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[12288,12351],[12352,12447],[12448,12543,12784,12799],[12544,12591,12704,12735],[12592,12687],[43072,43135],[12800,13055],[13056,13311],[44032,55215],[55296,57343],[67840,67871],[19968,40959,11904,12031,12032,12255,12272,12287,13312,19903,131072,173791,12688,12703],[57344,63743],[12736,12783,63744,64255,194560,195103],[64256,64335],[64336,65023],[65056,65071],[65040,65055],[65104,65135],[65136,65279],[65280,65519],[65520,65535],[3840,4095],[1792,1871],[1920,1983],[3456,3583],[4096,4255],[4608,4991,4992,5023,11648,11743],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[10240,10495],[40960,42127],[5888,5919,5920,5951,5952,5983,5984,6015],[66304,66351],[66352,66383],[66560,66639],[118784,119039,119040,119295,119296,119375],[119808,120831],[1044480,1048573],[65024,65039,917760,917999],[917504,917631],[6400,6479],[6480,6527],[6528,6623],[6656,6687],[11264,11359],[11568,11647],[19904,19967],[43008,43055],[65536,65663,65664,65791,65792,65855],[65856,65935],[66432,66463],[66464,66527],[66640,66687],[66688,66735],[67584,67647],[68096,68191],[119552,119647],[73728,74751,74752,74879],[119648,119679],[7040,7103],[7168,7247],[7248,7295],[43136,43231],[43264,43311],[43312,43359],[43520,43615],[65936,65999],[66e3,66047],[66208,66271,66176,66207,67872,67903],[127024,127135,126976,127023]];function getUnicodeRangeFor(e,t=-1){if(-1!==t){const a=Tr[t];for(let r=0,i=a.length;r=a[r]&&e<=a[r+1])return t}for(let t=0,a=Tr.length;t=a[r]&&e<=a[r+1])return t}return-1}const Mr=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),Dr=new Map;const Rr=!0,Nr=1,Er=2,Pr=4,Lr=32,jr=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function recoverGlyphName(e,t){if(void 0!==t[e])return e;const a=getUnicodeForGlyph(e,t);if(-1!==a)for(const e in t)if(t[e]===a)return e;info("Unable to recover a standard glyph name for: "+e);return e}function type1FontGlyphMapping(e,t,a){const r=Object.create(null);let i,n,s;const o=!!(e.flags&Pr);if(e.isInternalFont){s=t;for(n=0;n=0?i:0}}else if(e.baseEncodingName){s=getEncoding(e.baseEncodingName);for(n=0;n=0?i:0}}else if(o)for(n in t)r[n]=t[n];else{s=Ar;for(n=0;n=0?i:0}}const c=e.differences;let l;if(c)for(n in c){const e=c[n];i=a.indexOf(e);if(-1===i){l||(l=Fr());const t=recoverGlyphName(e,l);t!==e&&(i=a.indexOf(t))}r[n]=i>=0?i:0}return r}function normalizeFontName(e){return e.replaceAll(/[,_]/g,"-").replaceAll(/\s/g,"")}const _r=getLookupTableFactory((e=>{e[8211]=65074;e[8212]=65073;e[8229]=65072;e[8230]=65049;e[12289]=65041;e[12290]=65042;e[12296]=65087;e[12297]=65088;e[12298]=65085;e[12299]=65086;e[12300]=65089;e[12301]=65090;e[12302]=65091;e[12303]=65092;e[12304]=65083;e[12305]=65084;e[12308]=65081;e[12309]=65082;e[12310]=65047;e[12311]=65048;e[65103]=65076;e[65281]=65045;e[65288]=65077;e[65289]=65078;e[65292]=65040;e[65306]=65043;e[65307]=65044;e[65311]=65046;e[65339]=65095;e[65341]=65096;e[65343]=65075;e[65371]=65079;e[65373]=65080}));const Ur=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],Xr=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],qr=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"],Hr=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],Wr=391,zr=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],$r=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]+e[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]-e[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]/e[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(e,t){e[t-1]=-e[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]*e[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];class CFFParser{constructor(e,t,a){this.bytes=e.getBytes();this.properties=t;this.seacAnalysisEnabled=!!a}parse(){const e=this.properties,t=new CFF;this.cff=t;const a=this.parseHeader(),r=this.parseIndex(a.endPos),i=this.parseIndex(r.endPos),n=this.parseIndex(i.endPos),s=this.parseIndex(n.endPos),o=this.parseDict(i.obj.get(0)),c=this.createDict(CFFTopDict,o,t.strings);t.header=a.obj;t.names=this.parseNameIndex(r.obj);t.strings=this.parseStringIndex(n.obj);t.topDict=c;t.globalSubrIndex=s.obj;this.parsePrivateDict(t.topDict);t.isCIDFont=c.hasName("ROS");const l=c.getByName("CharStrings"),h=this.parseIndex(l).obj,u=c.getByName("FontMatrix");u&&(e.fontMatrix=u);const d=c.getByName("FontBBox");if(d){e.ascent=Math.max(d[3],d[1]);e.descent=Math.min(d[1],d[3]);e.ascentScaled=!0}let f,g;if(t.isCIDFont){const e=this.parseIndex(c.getByName("FDArray")).obj;for(let a=0,r=e.count;a=t)throw new FormatError("Invalid CFF header");if(0!==a){info("cff data is shifted");e=e.subarray(a);this.bytes=e}const r=e[0],i=e[1],n=e[2],s=e[3];return{obj:new CFFHeader(r,i,n,s),endPos:n}}parseDict(e){let t=0;function parseOperand(){let a=e[t++];if(30===a)return function parseFloatOperand(){let a="";const r=15,i=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],n=e.length;for(;t>4,o=15&n;if(s===r)break;a+=i[s];if(o===r)break;a+=i[o]}return parseFloat(a)}();if(28===a){a=readInt16(e,t);t+=2;return a}if(29===a){a=e[t++];a=a<<8|e[t++];a=a<<8|e[t++];a=a<<8|e[t++];return a}if(a>=32&&a<=246)return a-139;if(a>=247&&a<=250)return 256*(a-247)+e[t++]+108;if(a>=251&&a<=254)return-256*(a-251)-e[t++]-108;warn('CFFParser_parseDict: "'+a+'" is a reserved command.');return NaN}let a=[];const r=[];t=0;const i=e.length;for(;t10)return!1;let i=e.stackSize;const n=e.stack;let s=t.length;for(let o=0;o=4){i-=4;if(this.seacAnalysisEnabled){e.seac=n.slice(i,i+4);return!1}}l=zr[c]}else if(c>=32&&c<=246){n[i]=c-139;i++}else if(c>=247&&c<=254){n[i]=c<251?(c-247<<8)+t[o]+108:-(c-251<<8)-t[o]-108;o++;i++}else if(255===c){n[i]=(t[o]<<24|t[o+1]<<16|t[o+2]<<8|t[o+3])/65536;o+=4;i++}else if(19===c||20===c){e.hints+=i>>1;if(0===e.hints){t.copyWithin(o-1,o,-1);o-=1;s-=1;continue}o+=e.hints+7>>3;i%=2;l=zr[c]}else{if(10===c||29===c){const t=10===c?a:r;if(!t){l=zr[c];warn("Missing subrsIndex for "+l.id);return!1}let s=32768;t.count<1240?s=107:t.count<33900&&(s=1131);const o=n[--i]+s;if(o<0||o>=t.count||isNaN(o)){l=zr[c];warn("Out of bounds subrIndex for "+l.id);return!1}e.stackSize=i;e.callDepth++;if(!this.parseCharString(e,t.get(o),a,r))return!1;e.callDepth--;i=e.stackSize;continue}if(11===c){e.stackSize=i;return!0}if(0===c&&o===t.length){t[o-1]=14;l=zr[14]}else{if(9===c){t.copyWithin(o-1,o,-1);o-=1;s-=1;continue}l=zr[c]}}if(l){if(l.stem){e.hints+=i>>1;if(3===c||23===c)e.hasVStems=!0;else if(e.hasVStems&&(1===c||18===c)){warn("CFF stem hints are in wrong order");t[o-1]=1===c?3:23}}if("min"in l&&!e.undefStack&&i=2&&l.stem?i%=2:i>1&&warn("Found too many parameters for stack-clearing command");i>0&&(e.width=n[i-1])}if("stackDelta"in l){"stackFn"in l&&l.stackFn(n,i);i+=l.stackDelta}else if(l.stackClearing)i=0;else if(l.resetStack){i=0;e.undefStack=!1}else if(l.undefStack){i=0;e.undefStack=!0;e.firstStackClearing=!1}}}s=i.length){warn("Invalid fd index for glyph index.");u=!1}if(u){f=i[e].privateDict;d=f.subrsIndex}}else t&&(d=t);u&&(u=this.parseCharString(h,c,d,a));if(null!==h.width){const e=f.getByName("nominalWidthX");o[l]=e+h.width}else{const e=f.getByName("defaultWidthX");o[l]=e}null!==h.seac&&(s[l]=h.seac);u||e.set(l,new Uint8Array([14]))}return{charStrings:e,seacs:s,widths:o}}emptyPrivateDictionary(e){const t=this.createDict(CFFPrivateDict,[],e.strings);e.setByKey(18,[0,0]);e.privateDict=t}parsePrivateDict(e){if(!e.hasName("Private")){this.emptyPrivateDictionary(e);return}const t=e.getByName("Private");if(!Array.isArray(t)||2!==t.length){e.removeByName("Private");return}const a=t[0],r=t[1];if(0===a||r>=this.bytes.length){this.emptyPrivateDictionary(e);return}const i=r+a,n=this.bytes.subarray(r,i),s=this.parseDict(n),o=this.createDict(CFFPrivateDict,s,e.strings);e.privateDict=o;0===o.getByName("ExpansionFactor")&&o.setByName("ExpansionFactor",.06);if(!o.getByName("Subrs"))return;const c=o.getByName("Subrs"),l=r+c;if(0===c||l>=this.bytes.length){this.emptyPrivateDictionary(e);return}const h=this.parseIndex(l);o.subrsIndex=h.obj}parseCharsets(e,t,a,r){if(0===e)return new CFFCharset(!0,Kr.ISO_ADOBE,Ur);if(1===e)return new CFFCharset(!0,Kr.EXPERT,Xr);if(2===e)return new CFFCharset(!0,Kr.EXPERT_SUBSET,qr);const i=this.bytes,n=e,s=i[e++],o=[r?0:".notdef"];let c,l,h;t-=1;switch(s){case 0:for(h=0;h=65535){warn("Not enough space in charstrings to duplicate first glyph.");return}const e=this.charStrings.get(0);this.charStrings.add(e);this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}hasGlyphId(e){if(e<0||e>=this.charStrings.count)return!1;return this.charStrings.get(e).length>0}}class CFFHeader{constructor(e,t,a,r){this.major=e;this.minor=t;this.hdrSize=a;this.offSize=r}}class CFFStrings{constructor(){this.strings=[]}get(e){return e>=0&&e<=390?Hr[e]:e-Wr<=this.strings.length?this.strings[e-Wr]:Hr[0]}getSID(e){let t=Hr.indexOf(e);if(-1!==t)return t;t=this.strings.indexOf(e);return-1!==t?t+Wr:-1}add(e){this.strings.push(e)}get count(){return this.strings.length}}class CFFIndex{constructor(){this.objects=[];this.length=0}add(e){this.length+=e.length;this.objects.push(e)}set(e,t){this.length+=t.length-this.objects[e].length;this.objects[e]=t}get(e){return this.objects[e]}get count(){return this.objects.length}}class CFFDict{constructor(e,t){this.keyToNameMap=e.keyToNameMap;this.nameToKeyMap=e.nameToKeyMap;this.defaults=e.defaults;this.types=e.types;this.opcodes=e.opcodes;this.order=e.order;this.strings=t;this.values=Object.create(null)}setByKey(e,t){if(!(e in this.keyToNameMap))return!1;if(0===t.length)return!0;for(const a of t)if(isNaN(a)){warn(`Invalid CFFDict value: "${t}" for key "${e}".`);return!0}const a=this.types[e];"num"!==a&&"sid"!==a&&"offset"!==a||(t=t[0]);this.values[e]=t;return!0}setByName(e,t){if(!(e in this.nameToKeyMap))throw new FormatError(`Invalid dictionary name "${e}"`);this.values[this.nameToKeyMap[e]]=t}hasName(e){return this.nameToKeyMap[e]in this.values}getByName(e){if(!(e in this.nameToKeyMap))throw new FormatError(`Invalid dictionary name ${e}"`);const t=this.nameToKeyMap[e];return t in this.values?this.values[t]:this.defaults[t]}removeByName(e){delete this.values[this.nameToKeyMap[e]]}static createTables(e){const t={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]};for(const a of e){const e=Array.isArray(a[0])?(a[0][0]<<8)+a[0][1]:a[0];t.keyToNameMap[e]=a[1];t.nameToKeyMap[a[1]]=e;t.types[e]=a[2];t.defaults[e]=a[3];t.opcodes[e]=Array.isArray(a[0])?a[0]:[a[0]];t.order.push(e)}return t}}const Gr=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]];class CFFTopDict extends CFFDict{static get tables(){return shadow(this,"tables",this.createTables(Gr))}constructor(e){super(CFFTopDict.tables,e);this.privateDict=null}}const Vr=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]];class CFFPrivateDict extends CFFDict{static get tables(){return shadow(this,"tables",this.createTables(Vr))}constructor(e){super(CFFPrivateDict.tables,e);this.subrsIndex=null}}const Kr={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2};class CFFCharset{constructor(e,t,a,r){this.predefined=e;this.format=t;this.charset=a;this.raw=r}}class CFFEncoding{constructor(e,t,a,r){this.predefined=e;this.format=t;this.encoding=a;this.raw=r}}class CFFFDSelect{constructor(e,t){this.format=e;this.fdSelect=t}getFDIndex(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}}class CFFOffsetTracker{constructor(){this.offsets=Object.create(null)}isTracking(e){return e in this.offsets}track(e,t){if(e in this.offsets)throw new FormatError(`Already tracking location of ${e}`);this.offsets[e]=t}offset(e){for(const t in this.offsets)this.offsets[t]+=e}setEntryLocation(e,t,a){if(!(e in this.offsets))throw new FormatError(`Not tracking location of ${e}`);const r=a.data,i=this.offsets[e];for(let e=0,a=t.length;e>24&255;r[s]=l>>16&255;r[o]=l>>8&255;r[c]=255&l}}}class CFFCompiler{constructor(e){this.cff=e}compile(){const e=this.cff,t={data:[],length:0,add(e){try{this.data.push(...e)}catch{this.data=this.data.concat(e)}this.length=this.data.length}},a=this.compileHeader(e.header);t.add(a);const r=this.compileNameIndex(e.names);t.add(r);if(e.isCIDFont&&e.topDict.hasName("FontMatrix")){const t=e.topDict.getByName("FontMatrix");e.topDict.removeByName("FontMatrix");for(const a of e.fdArray){let e=t.slice(0);a.hasName("FontMatrix")&&(e=Util.transform(e,a.getByName("FontMatrix")));a.setByName("FontMatrix",e)}}const i=e.topDict.getByName("XUID");i?.length>16&&e.topDict.removeByName("XUID");e.topDict.setByName("charset",0);let n=this.compileTopDicts([e.topDict],t.length,e.isCIDFont);t.add(n.output);const s=n.trackers[0],o=this.compileStringIndex(e.strings.strings);t.add(o);const c=this.compileIndex(e.globalSubrIndex);t.add(c);if(e.encoding&&e.topDict.hasName("Encoding"))if(e.encoding.predefined)s.setEntryLocation("Encoding",[e.encoding.format],t);else{const a=this.compileEncoding(e.encoding);s.setEntryLocation("Encoding",[t.length],t);t.add(a)}const l=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont);s.setEntryLocation("charset",[t.length],t);t.add(l);const h=this.compileCharStrings(e.charStrings);s.setEntryLocation("CharStrings",[t.length],t);t.add(h);if(e.isCIDFont){s.setEntryLocation("FDSelect",[t.length],t);const a=this.compileFDSelect(e.fdSelect);t.add(a);n=this.compileTopDicts(e.fdArray,t.length,!0);s.setEntryLocation("FDArray",[t.length],t);t.add(n.output);const r=n.trackers;this.compilePrivateDicts(e.fdArray,r,t)}this.compilePrivateDicts([e.topDict],[s],t);t.add([0]);return t.data}encodeNumber(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}static get EncodeFloatRegExp(){return shadow(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}encodeFloat(e){let t=e.toString();const a=CFFCompiler.EncodeFloatRegExp.exec(t);if(a){const r=parseFloat("1e"+((a[2]?+a[2]:0)+a[1].length));t=(Math.round(e*r)/r).toString()}let r,i,n="";for(r=0,i=t.length;r=-107&&e<=107?[e+139]:e>=108&&e<=1131?[247+((e-=108)>>8),255&e]:e>=-1131&&e<=-108?[251+((e=-e-108)>>8),255&e]:e>=-32768&&e<=32767?[28,e>>8&255,255&e]:[29,e>>24&255,e>>16&255,e>>8&255,255&e];return t}compileHeader(e){return[e.major,e.minor,4,e.offSize]}compileNameIndex(e){const t=new CFFIndex;for(const a of e){const e=Math.min(a.length,127);let r=new Array(e);for(let t=0;t"~"||"["===e||"]"===e||"("===e||")"===e||"{"===e||"}"===e||"<"===e||">"===e||"/"===e||"%"===e)&&(e="_");r[t]=e}r=r.join("");""===r&&(r="Bad_Font_Name");t.add(stringToBytes(r))}return this.compileIndex(t)}compileTopDicts(e,t,a){const r=[];let i=new CFFIndex;for(const n of e){if(a){n.removeByName("CIDFontVersion");n.removeByName("CIDFontRevision");n.removeByName("CIDFontType");n.removeByName("CIDCount");n.removeByName("UIDBase")}const e=new CFFOffsetTracker,s=this.compileDict(n,e);r.push(e);i.add(s);e.offset(t)}i=this.compileIndex(i,r);return{trackers:r,output:i}}compilePrivateDicts(e,t,a){for(let r=0,i=e.length;r>8&255,255&e])}else{i=new Uint8Array(1+2*n);i[0]=0;let t=0;const r=e.charset.length;let s=!1;for(let n=1;n>8&255;i[n+1]=255&o}}return this.compileTypedArray(i)}compileEncoding(e){return this.compileTypedArray(e.raw)}compileFDSelect(e){const t=e.format;let a,r;switch(t){case 0:a=new Uint8Array(1+e.fdSelect.length);a[0]=t;for(r=0;r>8&255,255&i,n];for(r=1;r>8&255,255&r,t);n=t}}const o=(s.length-3)/3;s[1]=o>>8&255;s[2]=255&o;s.push(r>>8&255,255&r);a=new Uint8Array(s)}return this.compileTypedArray(a)}compileTypedArray(e){return Array.from(e)}compileIndex(e,t=[]){const a=e.objects,r=a.length;if(0===r)return[0,0];const i=[r>>8&255,255&r];let n,s,o=1;for(n=0;n>8&255,255&c):3===s?i.push(c>>16&255,c>>8&255,255&c):i.push(c>>>24&255,c>>16&255,c>>8&255,255&c);a[n]&&(c+=a[n].length)}for(n=0;n=this.firstChar&&e<=this.lastChar?e:-1}amend(e){unreachable("Should not call amend()")}}class CFFFont{constructor(e,t){this.properties=t;const a=new CFFParser(e,t,Rr);this.cff=a.parse();this.cff.duplicateFirstGlyph();const r=new CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=r.compile()}catch{warn("Failed to compile font "+t.loadedName);this.data=e}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){const e=this.cff,t=this.properties,{cidToGidMap:a,cMap:r}=t,i=e.charset.charset;let n,s;if(t.composite){let t,o;if(a?.length>0){t=Object.create(null);for(let e=0,r=a.length;e=0){const r=a[t];r&&(i[e]=r)}}i.length>0&&(this.properties.builtInEncoding=i)}}function getFloat214(e,t){return readInt16(e,t)/16384}function getSubroutineBias(e){const t=e.length;let a=32768;t<1240?a=107:t<33900&&(a=1131);return a}function parseCmap(e,t,a){const r=1===readUint16(e,t+2)?readUint32(e,t+8):readUint32(e,t+16),i=readUint16(e,t+r);let n,s,o;if(4===i){readUint16(e,t+r+2);const a=readUint16(e,t+r+6)>>1;s=t+r+14;n=[];for(o=0;o>1;a0;)h.push({flags:n})}for(a=0;a>1;y=!0;break;case 4:s+=i.pop();moveTo(n,s);y=!0;break;case 5:for(;i.length>0;){n+=i.shift();s+=i.shift();lineTo(n,s)}break;case 6:for(;i.length>0;){n+=i.shift();lineTo(n,s);if(0===i.length)break;s+=i.shift();lineTo(n,s)}break;case 7:for(;i.length>0;){s+=i.shift();lineTo(n,s);if(0===i.length)break;n+=i.shift();lineTo(n,s)}break;case 8:for(;i.length>0;){l=n+i.shift();u=s+i.shift();h=l+i.shift();d=u+i.shift();n=h+i.shift();s=d+i.shift();bezierCurveTo(l,u,h,d,n,s)}break;case 10:m=i.pop();b=null;if(a.isCFFCIDFont){const e=a.fdSelect.getFDIndex(r);if(e>=0&&eMath.abs(s-t)?n+=i.shift():s+=i.shift();bezierCurveTo(l,u,h,d,n,s);break;default:throw new FormatError(`unknown operator: 12 ${w}`)}break;case 14:if(i.length>=4){const e=i.pop(),r=i.pop();s=i.pop();n=i.pop();t.save();t.translate(n,s);let o=lookupCmap(a.cmap,String.fromCharCode(a.glyphNameMap[Ar[e]]));compileCharString(a.glyphs[o.glyphId],t,a,o.glyphId);t.restore();o=lookupCmap(a.cmap,String.fromCharCode(a.glyphNameMap[Ar[r]]));compileCharString(a.glyphs[o.glyphId],t,a,o.glyphId)}return;case 19:case 20:o+=i.length>>1;c+=o+7>>3;y=!0;break;case 21:s+=i.pop();n+=i.pop();moveTo(n,s);y=!0;break;case 22:n+=i.pop();moveTo(n,s);y=!0;break;case 24:for(;i.length>2;){l=n+i.shift();u=s+i.shift();h=l+i.shift();d=u+i.shift();n=h+i.shift();s=d+i.shift();bezierCurveTo(l,u,h,d,n,s)}n+=i.shift();s+=i.shift();lineTo(n,s);break;case 25:for(;i.length>6;){n+=i.shift();s+=i.shift();lineTo(n,s)}l=n+i.shift();u=s+i.shift();h=l+i.shift();d=u+i.shift();n=h+i.shift();s=d+i.shift();bezierCurveTo(l,u,h,d,n,s);break;case 26:i.length%2&&(n+=i.shift());for(;i.length>0;){l=n;u=s+i.shift();h=l+i.shift();d=u+i.shift();n=h;s=d+i.shift();bezierCurveTo(l,u,h,d,n,s)}break;case 27:i.length%2&&(s+=i.shift());for(;i.length>0;){l=n+i.shift();u=s;h=l+i.shift();d=u+i.shift();n=h+i.shift();s=d;bezierCurveTo(l,u,h,d,n,s)}break;case 28:i.push(readInt16(e,c));c+=2;break;case 29:m=i.pop()+a.gsubrsBias;b=a.gsubrs[m];b&&parse(b);break;case 30:for(;i.length>0;){l=n;u=s+i.shift();h=l+i.shift();d=u+i.shift();n=h+i.shift();s=d+(1===i.length?i.shift():0);bezierCurveTo(l,u,h,d,n,s);if(0===i.length)break;l=n+i.shift();u=s;h=l+i.shift();d=u+i.shift();s=d+i.shift();n=h+(1===i.length?i.shift():0);bezierCurveTo(l,u,h,d,n,s)}break;case 31:for(;i.length>0;){l=n+i.shift();u=s;h=l+i.shift();d=u+i.shift();s=d+i.shift();n=h+(1===i.length?i.shift():0);bezierCurveTo(l,u,h,d,n,s);if(0===i.length)break;l=n;u=s+i.shift();h=l+i.shift();d=u+i.shift();n=h+i.shift();s=d+(1===i.length?i.shift():0);bezierCurveTo(l,u,h,d,n,s)}break;default:if(w<32)throw new FormatError(`unknown operator: ${w}`);if(w<247)i.push(w-139);else if(w<251)i.push(256*(w-247)+e[c++]+108);else if(w<255)i.push(256*-(w-251)-e[c++]-108);else{i.push((e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3])/65536);c+=4}}y&&(i.length=0)}}(e)}class Commands{cmds=[];transformStack=[];currentTransform=[1,0,0,1,0,0];add(e,t){if(t){const{currentTransform:a}=this;for(let e=0,r=t.length;e=0&&e2*readUint16(e,t)}const n=[];let s=i(t,0);for(let a=r;ae.getSize()+3&-4)))}write(){const e=this.getSize(),t=new DataView(new ArrayBuffer(e)),a=e>131070,r=a?4:2,i=new DataView(new ArrayBuffer((this.glyphs.length+1)*r));a?i.setUint32(0,0):i.setUint16(0,0);let n=0,s=0;for(const e of this.glyphs){n+=e.write(n,t);n=n+3&-4;s+=r;a?i.setUint32(s,n):i.setUint16(s,n>>1)}return{isLocationLong:a,loca:new Uint8Array(i.buffer),glyf:new Uint8Array(t.buffer)}}scale(e){for(let t=0,a=this.glyphs.length;te.getSize())));return this.header.getSize()+e}write(e,t){if(!this.header)return 0;const a=e;e+=this.header.write(e,t);if(this.simple)e+=this.simple.write(e,t);else for(const a of this.composites)e+=a.write(e,t);return e-a}scale(e){if(!this.header)return;const t=(this.header.xMin+this.header.xMax)/2;this.header.scale(t,e);if(this.simple)this.simple.scale(t,e);else for(const a of this.composites)a.scale(t,e)}}class GlyphHeader{constructor({numberOfContours:e,xMin:t,yMin:a,xMax:r,yMax:i}){this.numberOfContours=e;this.xMin=t;this.yMin=a;this.xMax=r;this.yMax=i}static parse(e,t){return[10,new GlyphHeader({numberOfContours:t.getInt16(e),xMin:t.getInt16(e+2),yMin:t.getInt16(e+4),xMax:t.getInt16(e+6),yMax:t.getInt16(e+8)})]}getSize(){return 10}write(e,t){t.setInt16(e,this.numberOfContours);t.setInt16(e+2,this.xMin);t.setInt16(e+4,this.yMin);t.setInt16(e+6,this.xMax);t.setInt16(e+8,this.yMax);return 10}scale(e,t){this.xMin=Math.round(e+(this.xMin-e)*t);this.xMax=Math.round(e+(this.xMax-e)*t)}}class Contour{constructor({flags:e,xCoordinates:t,yCoordinates:a}){this.xCoordinates=t;this.yCoordinates=a;this.flags=e}}class SimpleGlyph{constructor({contours:e,instructions:t}){this.contours=e;this.instructions=t}static parse(e,t,a){const r=[];for(let i=0;i255?e+=2:o>0&&(e+=1);t=n;o=Math.abs(s-a);o>255?e+=2:o>0&&(e+=1);a=s}}return e}write(e,t){const a=e,r=[],i=[],n=[];let s=0,o=0;for(const a of this.contours){for(let e=0,t=a.xCoordinates.length;e=0?18:2;r.push(e)}else r.push(l)}s=c;const h=a.yCoordinates[e];l=h-o;if(0===l){t|=32;i.push(0)}else{const e=Math.abs(l);if(e<=255){t|=l>=0?36:4;i.push(e)}else i.push(l)}o=h;n.push(t)}t.setUint16(e,r.length-1);e+=2}t.setUint16(e,this.instructions.length);e+=2;if(this.instructions.length){new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e);e+=this.instructions.length}for(const a of n)t.setUint8(e++,a);for(let a=0,i=r.length;a=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(e+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(e+=2);return e}write(e,t){const a=e;2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=1):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=1);t.setUint16(e,this.flags);t.setUint16(e+2,this.glyphIndex);e+=4;if(1&this.flags){if(2&this.flags){t.setInt16(e,this.argument1);t.setInt16(e+2,this.argument2)}else{t.setUint16(e,this.argument1);t.setUint16(e+2,this.argument2)}e+=4}else{t.setUint8(e,this.argument1);t.setUint8(e+1,this.argument2);e+=2}if(256&this.flags){t.setUint16(e,this.instructions.length);e+=2;if(this.instructions.length){new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e);e+=this.instructions.length}}return e-a}scale(e,t){}}function writeInt16(e,t,a){e[t]=a>>8&255;e[t+1]=255&a}function writeInt32(e,t,a){e[t]=a>>24&255;e[t+1]=a>>16&255;e[t+2]=a>>8&255;e[t+3]=255&a}function writeData(e,t,a){if(a instanceof Uint8Array)e.set(a,t);else if("string"==typeof a)for(let r=0,i=a.length;ra;){a<<=1;r++}const i=a*t;return{range:i,entry:r,rangeShift:t*e-i}}toArray(){let e=this.sfnt;const t=this.tables,a=Object.keys(t);a.sort();const r=a.length;let i,n,s,o,c,l=12+16*r;const h=[l];for(i=0;i>>0;h.push(l)}const u=new Uint8Array(l);for(i=0;i>>0}writeInt32(u,l+4,e);writeInt32(u,l+8,h[i]);writeInt32(u,l+12,t[c].length);l+=16}return u}addTable(e,t){if(e in this.tables)throw new Error("Table "+e+" already exists");this.tables[e]=t}}const si=[4],oi=[5],ci=[6],li=[7],hi=[8],ui=[12,35],di=[14],fi=[21],gi=[22],pi=[30],mi=[31];class Type1CharString{constructor(){this.width=0;this.lsb=0;this.flexing=!1;this.output=[];this.stack=[]}convert(e,t,a){const r=e.length;let i,n,s,o=!1;for(let c=0;cr)return!0;const i=r-e;for(let e=i;e>8&255,255&t);else{t=65536*t|0;this.output.push(255,t>>24&255,t>>16&255,t>>8&255,255&t)}}this.output.push(...t);a?this.stack.splice(i,e):this.stack.length=0;return!1}}function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function decrypt(e,t,a){if(a>=e.length)return new Uint8Array(0);let r,i,n=0|t;for(r=0;r>8;n=52845*(t+n)+22719&65535}return o}function isSpecial(e){return 47===e||91===e||93===e||123===e||125===e||40===e||41===e}class Type1Parser{constructor(e,t,a){if(t){const t=e.getBytes(),a=!((isHexDigit(t[0])||isWhiteSpace(t[0]))&&isHexDigit(t[1])&&isHexDigit(t[2])&&isHexDigit(t[3])&&isHexDigit(t[4])&&isHexDigit(t[5])&&isHexDigit(t[6])&&isHexDigit(t[7]));e=new Stream(a?decrypt(t,55665,4):function decryptAscii(e,t,a){let r=0|t;const i=e.length,n=new Uint8Array(i>>>1);let s,o;for(s=0,o=0;s>8;r=52845*(e+r)+22719&65535}}return n.slice(a,o)}(t,55665,4))}this.seacAnalysisEnabled=!!a;this.stream=e;this.nextChar()}readNumberArray(){this.getToken();const e=[];for(;;){const t=this.getToken();if(null===t||"]"===t||"}"===t)break;e.push(parseFloat(t||0))}return e}readNumber(){const e=this.getToken();return parseFloat(e||0)}readInt(){const e=this.getToken();return 0|parseInt(e||0,10)}readBoolean(){return"true"===this.getToken()?1:0}nextChar(){return this.currentChar=this.stream.getByte()}prevChar(){this.stream.skip(-2);return this.currentChar=this.stream.getByte()}getToken(){let e=!1,t=this.currentChar;for(;;){if(-1===t)return null;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!isWhiteSpace(t))break;t=this.nextChar()}if(isSpecial(t)){this.nextChar();return String.fromCharCode(t)}let a="";do{a+=String.fromCharCode(t);t=this.nextChar()}while(t>=0&&!isWhiteSpace(t)&&!isSpecial(t));return a}readCharStrings(e,t){return-1===t?e:decrypt(e,4330,t)}extractFontProgram(e){const t=this.stream,a=[],r=[],i=Object.create(null);i.lenIV=4;const n={subrs:[],charstrings:[],properties:{privateData:i}};let s,o,c,l;for(;null!==(s=this.getToken());)if("/"===s){s=this.getToken();switch(s){case"CharStrings":this.getToken();this.getToken();this.getToken();this.getToken();for(;;){s=this.getToken();if(null===s||"end"===s)break;if("/"!==s)continue;const e=this.getToken();o=this.readInt();this.getToken();c=o>0?t.getBytes(o):new Uint8Array(0);l=n.properties.privateData.lenIV;const a=this.readCharStrings(c,l);this.nextChar();s=this.getToken();"noaccess"===s?this.getToken():"/"===s&&this.prevChar();r.push({glyph:e,encoded:a})}break;case"Subrs":this.readInt();this.getToken();for(;"dup"===this.getToken();){const e=this.readInt();o=this.readInt();this.getToken();c=o>0?t.getBytes(o):new Uint8Array(0);l=n.properties.privateData.lenIV;const r=this.readCharStrings(c,l);this.nextChar();s=this.getToken();"noaccess"===s&&this.getToken();a[e]=r}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":const e=this.readNumberArray();e.length>0&&e.length,0;break;case"StemSnapH":case"StemSnapV":n.properties.privateData[s]=this.readNumberArray();break;case"StdHW":case"StdVW":n.properties.privateData[s]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":n.properties.privateData[s]=this.readNumber();break;case"ExpansionFactor":n.properties.privateData[s]=this.readNumber()||.06;break;case"ForceBold":n.properties.privateData[s]=this.readBoolean()}}for(const{encoded:t,glyph:i}of r){const r=new Type1CharString,s=r.convert(t,a,this.seacAnalysisEnabled);let o=r.output;s&&(o=[14]);const c={glyphName:i,charstring:o,width:r.width,lsb:r.lsb,seac:r.seac};".notdef"===i?n.charstrings.unshift(c):n.charstrings.push(c);if(e.builtInEncoding){const t=e.builtInEncoding.indexOf(i);t>-1&&void 0===e.widths[t]&&t>=e.firstChar&&t<=e.lastChar&&(e.widths[t]=r.width)}}return n}extractFontHeader(e){let t;for(;null!==(t=this.getToken());)if("/"===t){t=this.getToken();switch(t){case"FontMatrix":const a=this.readNumberArray();e.fontMatrix=a;break;case"Encoding":const r=this.getToken();let i;if(/^\d+$/.test(r)){i=[];const e=0|parseInt(r,10);this.getToken();for(let a=0;a=i){s+=a;for(;s=0&&(r[e]=i)}}return type1FontGlyphMapping(e,r,a)}hasGlyphId(e){if(e<0||e>=this.numGlyphs)return!1;if(0===e)return!0;return this.charstrings[e-1].charstring.length>0}getSeacs(e){const t=[];for(let a=0,r=e.length;a0;e--)t[e]-=t[e-1];f.setByName(e,t)}n.topDict.privateDict=f;const p=new CFFIndex;for(h=0,u=r.length;h0&&e.toUnicode.amend(t)}class fonts_Glyph{constructor(e,t,a,r,i,n,s,o,c){this.originalCharCode=e;this.fontChar=t;this.unicode=a;this.accent=r;this.width=i;this.vmetric=n;this.operatorListId=s;this.isSpace=o;this.isInFont=c}get category(){return shadow(this,"category",function getCharUnicodeCategory(e){const t=Dr.get(e);if(t)return t;const a=e.match(Mr),r={isWhitespace:!!a?.[1],isZeroWidthDiacritic:!!a?.[2],isInvisibleFormatMark:!!a?.[3]};Dr.set(e,r);return r}(this.unicode),!0)}}function int16(e,t){return(e<<8)+t}function writeSignedInt16(e,t,a){e[t+1]=a;e[t]=a>>>8}function signedInt16(e,t){const a=(e<<8)+t;return 32768&a?a-65536:a}function string16(e){return String.fromCharCode(e>>8&255,255&e)}function safeString16(e){e>32767?e=32767:e<-32768&&(e=-32768);return String.fromCharCode(e>>8&255,255&e)}function isTrueTypeCollectionFile(e){return"ttcf"===bytesToString(e.peekBytes(4))}function getFontFileType(e,{type:t,subtype:a,composite:r}){let i,n;if(function isTrueTypeFile(e){const t=e.peekBytes(4);return 65536===readUint32(t,0)||"true"===bytesToString(t)}(e)||isTrueTypeCollectionFile(e))i=r?"CIDFontType2":"TrueType";else if(function isOpenTypeFile(e){return"OTTO"===bytesToString(e.peekBytes(4))}(e))i=r?"CIDFontType2":"OpenType";else if(function isType1File(e){const t=e.peekBytes(2);return 37===t[0]&&33===t[1]||128===t[0]&&1===t[1]}(e))i=r?"CIDFontType0":"MMType1"===t?"MMType1":"Type1";else if(function isCFFFile(e){const t=e.peekBytes(4);return t[0]>=1&&t[3]>=1&&t[3]<=4}(e))if(r){i="CIDFontType0";n="CIDFontType0C"}else{i="MMType1"===t?"MMType1":"Type1";n="Type1C"}else{warn("getFontFileType: Unable to detect correct font file Type/Subtype.");i=t;n=a}return[i,n]}function applyStandardFontGlyphMap(e,t){for(const a in t)e[+a]=t[a]}function buildToFontChar(e,t,a){const r=[];let i;for(let a=0,n=e.length;ah){c++;if(c>=bi.length){warn("Ran out of space in font private use area.");break}l=bi[c][0];h=bi[c][1]}const p=l++;0===g&&(g=a);let m=r.get(f);if("string"==typeof m)if(1===m.length)m=m.codePointAt(0);else{if(!u){u=new Map;for(let e=64256;e<=64335;e++){const t=String.fromCharCode(e).normalize("NFKD");t.length>1&&u.set(t,e)}}m=u.get(m)||m.codePointAt(0)}if(m&&!(d=m,bi[0][0]<=d&&d<=bi[0][1]||bi[1][0]<=d&&d<=bi[1][1])&&!o.has(g)){n.set(m,g);o.add(g)}i[p]=g;s[f]=p}var d;return{toFontChar:s,charCodeToGlyphId:i,toUnicodeExtraMap:n,nextAvailableFontCharCode:l}}function createCmapTable(e,t,a){const r=function getRanges(e,t,a){const r=[];for(const t in e)e[t]>=a||r.push({fontCharCode:0|t,glyphId:e[t]});if(t)for(const[e,i]of t)i>=a||r.push({fontCharCode:e,glyphId:i});0===r.length&&r.push({fontCharCode:0,glyphId:0});r.sort(((e,t)=>e.fontCharCode-t.fontCharCode));const i=[],n=r.length;for(let e=0;e65535?2:1;let n,s,o,c,l="\0\0"+string16(i)+"\0\0"+string32(4+8*i);for(n=r.length-1;n>=0&&!(r[n][0]<=65535);--n);const h=n+1;r[n][0]<65535&&65535===r[n][1]&&(r[n][1]=65534);const u=r[n][1]<65535?1:0,d=h+u,f=OpenTypeFileBuilder.getSearchParams(d,2);let g,p,m,b,y="",w="",S="",x="",k="",C=0;for(n=0,s=h;n0){w+="ÿÿ";y+="ÿÿ";S+="\0";x+="\0\0"}const v="\0\0"+string16(2*d)+string16(f.range)+string16(f.entry)+string16(f.rangeShift)+w+"\0\0"+y+S+x+k;let F="",O="";if(i>1){l+="\0\0\n"+string32(4+8*i+4+v.length);F="";for(n=0,s=r.length;ne||!o)&&(o=e);c 123 are reserved for internal usage");s|=1<65535&&(c=65535)}else{o=0;c=255}const h=e.bbox||[0,0,0,0],u=a.unitsPerEm||(e.fontMatrix?1/Math.max(...e.fontMatrix.slice(0,4).map(Math.abs)):1e3),d=e.ascentScaled?1:u/yi,f=a.ascent||Math.round(d*(e.ascent||h[3]));let g=a.descent||Math.round(d*(e.descent||h[1]));g>0&&e.descent>0&&h[1]<0&&(g=-g);const p=a.yMax||f,m=-a.yMin||-g;return"\0$ô\0\0\0Š»\0\0\0ŒŠ»\0\0ß\x001\0\0\0\0"+String.fromCharCode(e.fixedPitch?9:0)+"\0\0\0\0\0\0"+string32(r)+string32(i)+string32(n)+string32(s)+"*21*"+string16(e.italicAngle?1:0)+string16(o||e.firstChar)+string16(c||e.lastChar)+string16(f)+string16(g)+"\0d"+string16(p)+string16(m)+"\0\0\0\0\0\0\0\0"+string16(e.xHeight)+string16(e.capHeight)+string16(0)+string16(o||e.firstChar)+"\0"}function createPostTable(e){return"\0\0\0"+string32(Math.floor(65536*e.italicAngle))+"\0\0\0\0"+string32(e.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function createPostscriptName(e){return e.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function createNameTable(e,t){t||(t=[[],[]]);const a=[t[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||createPostscriptName(e),t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],r=[];let i,n,s,o,c;for(i=0,n=a.length;i0;if((s||o)&&"CIDFontType2"===a&&this.cidEncoding.startsWith("Identity-")){const a=e.cidToGidMap,r=[];applyStandardFontGlyphMap(r,ti());/Arial-?Black/i.test(t)?applyStandardFontGlyphMap(r,ai()):/Calibri/i.test(t)&&applyStandardFontGlyphMap(r,ri());if(a){for(const e in r){const t=r[e];void 0!==a[t]&&(r[+e]=a[t])}a.length!==this.toUnicode.length&&e.hasIncludedToUnicodeMap&&this.toUnicode instanceof IdentityToUnicodeMap&&this.toUnicode.forEach((function(e,t){const i=r[e];void 0===a[i]&&(r[+e]=t)}))}this.toUnicode instanceof IdentityToUnicodeMap||this.toUnicode.forEach((function(e,t){r[+e]=t}));this.toFontChar=r;this.toUnicode=new ToUnicodeMap(r)}else if(/Symbol/i.test(r))this.toFontChar=buildToFontChar(Cr,Fr(),this.differences);else if(/Dingbats/i.test(r))this.toFontChar=buildToFontChar(vr,Ir(),this.differences);else if(s||o){const e=buildToFontChar(this.defaultEncoding,Fr(),this.differences);"CIDFontType2"!==a||this.cidEncoding.startsWith("Identity-")||this.toUnicode instanceof IdentityToUnicodeMap||this.toUnicode.forEach((function(t,a){e[+t]=a}));this.toFontChar=e}else{const e=Fr(),a=[];this.toUnicode.forEach(((t,r)=>{if(!this.composite){const a=getUnicodeForGlyph(this.differences[t]||this.defaultEncoding[t],e);-1!==a&&(r=a)}a[+t]=r}));this.composite&&this.toUnicode instanceof IdentityToUnicodeMap&&/Tahoma|Verdana/i.test(t)&&applyStandardFontGlyphMap(a,ti());this.toFontChar=a}amendFallbackToUnicode(e);this.loadedName=r.split("-",1)[0]}checkAndRepair(e,t,a){const r=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function readTables(e,t){const a=Object.create(null);a["OS/2"]=null;a.cmap=null;a.head=null;a.hhea=null;a.hmtx=null;a.maxp=null;a.name=null;a.post=null;for(let i=0;i>>0,r=e.getInt32()>>>0,i=e.getInt32()>>>0,n=e.pos;e.pos=e.start||0;e.skip(r);const s=e.getBytes(i);e.pos=n;if("head"===t){s[8]=s[9]=s[10]=s[11]=0;s[17]|=32}return{tag:t,checksum:a,length:i,offset:r,data:s}}function readOpenTypeHeader(e){return{version:e.getString(4),numTables:e.getUint16(),searchRange:e.getUint16(),entrySelector:e.getUint16(),rangeShift:e.getUint16()}}function sanitizeGlyph(e,t,a,r,i,n){const s={length:0,sizeOfInstructions:0};if(t<0||t>=e.length||a>e.length||a-t<=12)return s;const o=e.subarray(t,a),c=signedInt16(o[2],o[3]),l=signedInt16(o[4],o[5]),h=signedInt16(o[6],o[7]),u=signedInt16(o[8],o[9]);if(c>h){writeSignedInt16(o,2,h);writeSignedInt16(o,6,c)}if(l>u){writeSignedInt16(o,4,u);writeSignedInt16(o,8,l)}const d=signedInt16(o[0],o[1]);if(d<0){if(d<-1)return s;r.set(o,i);s.length=o.length;return s}let f,g=10,p=0;for(f=0;fo.length)return s;if(!n&&b>0){r.set(o.subarray(0,m),i);r.set([0,0],i+m);r.set(o.subarray(y,S),i+m+2);S-=b;o.length-S>3&&(S=S+3&-4);s.length=S;return s}if(o.length-S>3){S=S+3&-4;r.set(o.subarray(0,S),i);s.length=S;return s}r.set(o,i);s.length=o.length;return s}function readNameTable(e){const a=(t.start||0)+e.offset;t.pos=a;const r=[[],[]],i=[],n=e.length,s=a+n;if(0!==t.getUint16()||n<6)return[r,i];const o=t.getUint16(),c=t.getUint16();let l,h;for(l=0;ls)continue;t.pos=n;const o=e.name;if(e.encoding){let a="";for(let r=0,i=e.length;r0&&(l+=e-1)}}else{if(m||y){warn("TT: nested FDEFs not allowed");p=!0}m=!0;u=l;s=d.pop();t.functionsDefined[s]={data:c,i:l}}else if(!m&&!y){s=d.at(-1);if(isNaN(s))info("TT: CALL empty stack (or invalid entry).");else{t.functionsUsed[s]=!0;if(s in t.functionsStackDeltas){const e=d.length+t.functionsStackDeltas[s];if(e<0){warn("TT: CALL invalid functions stack delta.");t.hintsValid=!1;return}d.length=e}else if(s in t.functionsDefined&&!g.includes(s)){f.push({data:c,i:l,stackTop:d.length-1});g.push(s);o=t.functionsDefined[s];if(!o){warn("TT: CALL non-existent function");t.hintsValid=!1;return}c=o.data;l=o.i}}}if(!m&&!y){let t=0;e<=142?t=i[e]:e>=192&&e<=223?t=-1:e>=224&&(t=-2);if(e>=113&&e<=117){r=d.pop();isNaN(r)||(t=2*-r)}for(;t<0&&d.length>0;){d.pop();t++}for(;t>0;){d.push(NaN);t--}}}t.tooComplexToFollowFunctions=p;const w=[c];l>c.length&&w.push(new Uint8Array(l-c.length));if(u>h){warn("TT: complementing a missing function tail");w.push(new Uint8Array([34,45]))}!function foldTTTable(e,t){if(t.length>1){let a,r,i=0;for(a=0,r=t.length;a>>0,n=[];for(let t=0;t>>0);const s={ttcTag:t,majorVersion:a,minorVersion:r,numFonts:i,offsetTable:n};switch(a){case 1:return s;case 2:s.dsigTag=e.getInt32()>>>0;s.dsigLength=e.getInt32()>>>0;s.dsigOffset=e.getInt32()>>>0;return s}throw new FormatError(`Invalid TrueType Collection majorVersion: ${a}.`)}(e),i=t.split("+");let n;for(let s=0;s0||!(a.cMap instanceof IdentityCMap));if("OTTO"===n.version&&!t||!s.head||!s.hhea||!s.maxp||!s.post){c=new Stream(s["CFF "].data);o=new CFFFont(c,a);return this.convert(e,o,a)}delete s.glyf;delete s.loca;delete s.fpgm;delete s.prep;delete s["cvt "];this.isOpenType=!0}if(!s.maxp)throw new FormatError('Required "maxp" table is not found');t.pos=(t.start||0)+s.maxp.offset;let h=t.getInt32();const u=t.getUint16();if(65536!==h&&20480!==h){if(6===s.maxp.length)h=20480;else{if(!(s.maxp.length>=32))throw new FormatError('"maxp" table has a wrong version number');h=65536}!function writeUint32(e,t,a){e[t+3]=255&a;e[t+2]=a>>>8;e[t+1]=a>>>16;e[t]=a>>>24}(s.maxp.data,0,h)}if(a.scaleFactors?.length===u&&l){const{scaleFactors:e}=a,t=int16(s.head.data[50],s.head.data[51]),r=new GlyfTable({glyfTable:s.glyf.data,isGlyphLocationsLong:t,locaTable:s.loca.data,numGlyphs:u});r.scale(e);const{glyf:i,loca:n,isLocationLong:o}=r.write();s.glyf.data=i;s.loca.data=n;if(o!==!!t){s.head.data[50]=0;s.head.data[51]=o?1:0}const c=s.hmtx.data;for(let t=0;t>8&255;c[a+1]=255&r;writeSignedInt16(c,a+2,Math.round(e[t]*signedInt16(c[a+2],c[a+3])))}}let d=u+1,f=!0;if(d>65535){f=!1;d=u;warn("Not enough space in glyfs to duplicate first glyph.")}let g=0,p=0;if(h>=65536&&s.maxp.length>=32){t.pos+=8;if(t.getUint16()>2){s.maxp.data[14]=0;s.maxp.data[15]=2}t.pos+=4;g=t.getUint16();t.pos+=4;p=t.getUint16()}s.maxp.data[4]=d>>8;s.maxp.data[5]=255&d;const m=function sanitizeTTPrograms(e,t,a,r){const i={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};e&&sanitizeTTProgram(e,i);t&&sanitizeTTProgram(t,i);e&&function checkInvalidFunctions(e,t){if(!e.tooComplexToFollowFunctions)if(e.functionsDefined.length>t){warn("TT: more functions defined than expected");e.hintsValid=!1}else for(let a=0,r=e.functionsUsed.length;at){warn("TT: invalid function id: "+a);e.hintsValid=!1;return}if(e.functionsUsed[a]&&!e.functionsDefined[a]){warn("TT: undefined function: "+a);e.hintsValid=!1;return}}}(i,r);if(a&&1&a.length){const e=new Uint8Array(a.length+1);e.set(a.data);a.data=e}return i.hintsValid}(s.fpgm,s.prep,s["cvt "],g);if(!m){delete s.fpgm;delete s.prep;delete s["cvt "]}!function sanitizeMetrics(e,t,a,r,i,n){if(!t){a&&(a.data=null);return}e.pos=(e.start||0)+t.offset;e.pos+=4;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;const s=e.getUint16();e.pos+=8;e.pos+=2;let o=e.getUint16();if(0!==s){if(!(2&int16(r.data[44],r.data[45]))){t.data[22]=0;t.data[23]=0}}if(o>i){info(`The numOfMetrics (${o}) should not be greater than the numGlyphs (${i}).`);o=i;t.data[34]=(65280&o)>>8;t.data[35]=255&o}const c=i-o-(a.length-4*o>>1);if(c>0){const e=new Uint8Array(a.length+2*c);e.set(a.data);if(n){e[a.length]=a.data[2];e[a.length+1]=a.data[3]}a.data=e}}(t,s.hhea,s.hmtx,s.head,d,f);if(!s.head)throw new FormatError('Required "head" table is not found');!function sanitizeHead(e,t,a){const r=e.data,i=function int32(e,t,a,r){return(e<<24)+(t<<16)+(a<<8)+r}(r[0],r[1],r[2],r[3]);if(i>>16!=1){info("Attempting to fix invalid version in head table: "+i);r[0]=0;r[1]=1;r[2]=0;r[3]=0}const n=int16(r[50],r[51]);if(n<0||n>1){info("Attempting to fix invalid indexToLocFormat in head table: "+n);const e=t+1;if(a===e<<1){r[50]=0;r[51]=0}else{if(a!==e<<2)throw new FormatError("Could not fix indexToLocFormat: "+n);r[50]=0;r[51]=1}}}(s.head,u,l?s.loca.length:0);let b=Object.create(null);if(l){const e=int16(s.head.data[50],s.head.data[51]),t=function sanitizeGlyphLocations(e,t,a,r,i,n,s){let o,c,l;if(r){o=4;c=function fontItemDecodeLong(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};l=function fontItemEncodeLong(e,t,a){e[t]=a>>>24&255;e[t+1]=a>>16&255;e[t+2]=a>>8&255;e[t+3]=255&a}}else{o=2;c=function fontItemDecode(e,t){return e[t]<<9|e[t+1]<<1};l=function fontItemEncode(e,t,a){e[t]=a>>9&255;e[t+1]=a>>1&255}}const h=n?a+1:a,u=o*(1+h),d=new Uint8Array(u);d.set(e.data.subarray(0,u));e.data=d;const f=t.data,g=f.length,p=new Uint8Array(g);let m,b;const y=[];for(m=0,b=0;mg&&(e=g);y.push({index:m,offset:e,endOffset:0})}y.sort(((e,t)=>e.offset-t.offset));for(m=0;me.index-t.index));for(m=0;ms&&(s=e.sizeOfInstructions);x+=t;l(d,b,x)}if(0===x){const e=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(m=0,b=o;ma+x)t.data=p.subarray(0,a+x);else{t.data=new Uint8Array(a+x);t.data.set(p.subarray(0,x))}t.data.set(p.subarray(0,a),x);l(e.data,d.length-o,x+a)}else t.data=p.subarray(0,x);return{missingGlyphs:S,maxSizeOfInstructions:s}}(s.loca,s.glyf,u,e,m,f,p);b=t.missingGlyphs;if(h>=65536&&s.maxp.length>=32){s.maxp.data[26]=t.maxSizeOfInstructions>>8;s.maxp.data[27]=255&t.maxSizeOfInstructions}}if(!s.hhea)throw new FormatError('Required "hhea" table is not found');if(0===s.hhea.data[10]&&0===s.hhea.data[11]){s.hhea.data[10]=255;s.hhea.data[11]=255}const y={unitsPerEm:int16(s.head.data[18],s.head.data[19]),yMax:signedInt16(s.head.data[42],s.head.data[43]),yMin:signedInt16(s.head.data[38],s.head.data[39]),ascent:signedInt16(s.hhea.data[4],s.hhea.data[5]),descent:signedInt16(s.hhea.data[6],s.hhea.data[7]),lineGap:signedInt16(s.hhea.data[8],s.hhea.data[9])};this.ascent=y.ascent/y.unitsPerEm;this.descent=y.descent/y.unitsPerEm;this.lineGap=y.lineGap/y.unitsPerEm;if(this.cssFontInfo?.lineHeight){this.lineHeight=this.cssFontInfo.metrics.lineHeight;this.lineGap=this.cssFontInfo.metrics.lineGap}else this.lineHeight=this.ascent-this.descent+this.lineGap;s.post&&function readPostScriptTable(e,a,r){const i=(t.start||0)+e.offset;t.pos=i;const n=i+e.length,s=t.getInt32();t.skip(28);let o,c,l=!0;switch(s){case 65536:o=jr;break;case 131072:const e=t.getUint16();if(e!==r){l=!1;break}const i=[];for(c=0;c=32768){l=!1;break}i.push(e)}if(!l)break;const h=[],u=[];for(;t.pos65535)throw new FormatError("Max size of CID is 65,535");let i=-1;t?i=r:void 0!==e[r]&&(i=e[r]);i>=0&&i>>0;let h=!1;if(o?.platformId!==i||o?.encodingId!==n){if(0!==i||0!==n&&1!==n&&3!==n)if(1===i&&0===n)h=!0;else if(3!==i||1!==n||!r&&o){if(a&&3===i&&0===n){h=!0;let a=!0;if(e>3;e.push(r);a=Math.max(r,a)}const r=[];for(let e=0;e<=a;e++)r.push({firstCode:t.getUint16(),entryCount:t.getUint16(),idDelta:signedInt16(t.getByte(),t.getByte()),idRangePos:t.pos+t.getUint16()});for(let a=0;a<256;a++)if(0===e[a]){t.pos=r[0].idRangePos+2*a;f=t.getUint16();u.push({charCode:a,glyphId:f})}else{const i=r[e[a]];for(d=0;d>1;t.skip(6);const a=[];let r;for(r=0;r>1)-(e-r);i.offsetIndex=s;o=Math.max(o,s+i.end-i.start+1)}else i.offsetIndex=-1}const c=[];for(d=0;d>>0;for(d=0;d>>0,a=t.getInt32()>>>0;let r=t.getInt32()>>>0;for(let t=e;t<=a;t++)u.push({charCode:t,glyphId:r++})}}}u.sort(((e,t)=>e.charCode-t.charCode));const g=[],p=new Set;for(const e of u){const{charCode:t}=e;if(!p.has(t)){p.add(t);g.push(e)}}return{platformId:o.platformId,encodingId:o.encodingId,mappings:g,hasShortCmap:h}}(s.cmap,t,this.isSymbolicFont,a.hasEncoding),r=e.platformId,i=e.encodingId,n=e.mappings;let o=[],c=!1;!a.hasEncoding||"MacRomanEncoding"!==a.baseEncodingName&&"WinAnsiEncoding"!==a.baseEncodingName||(o=getEncoding(a.baseEncodingName));if(a.hasEncoding&&!this.isSymbolicFont&&(3===r&&1===i||1===r&&0===i)){const e=Fr();for(let t=0;t<256;t++){let s;s=void 0!==this.differences[t]?this.differences[t]:o.length&&""!==o[t]?o[t]:Ar[t];if(!s)continue;const c=recoverGlyphName(s,e);let l;3===r&&1===i?l=e[c]:1===r&&0===i&&(l=xr.indexOf(c));if(void 0===l){if(!a.glyphNames&&a.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof IdentityToUnicodeMap)){const e=this.toUnicode.get(t);e&&(l=e.codePointAt(0))}if(void 0===l)continue}for(const e of n)if(e.charCode===l){w[t]=e.glyphId;break}}}else if(0===r){for(const e of n)w[e.charCode]=e.glyphId;c=!0}else if(3===r&&0===i)for(const e of n){let t=e.charCode;t>=61440&&t<=61695&&(t&=255);w[t]=e.glyphId}else for(const e of n)w[e.charCode]=e.glyphId;if(a.glyphNames&&(o.length||this.differences.length))for(let e=0;e<256;++e){if(!c&&void 0!==w[e])continue;const t=this.differences[e]||o[e];if(!t)continue;const r=a.glyphNames.indexOf(t);r>0&&hasGlyph(r)&&(w[e]=r)}}0===w.length&&(w[0]=0);let S=d-1;f||(S=0);if(!a.cssFontInfo){const e=adjustMapping(w,hasGlyph,S,this.toUnicode);this.toFontChar=e.toFontChar;s.cmap={tag:"cmap",data:createCmapTable(e.charCodeToGlyphId,e.toUnicodeExtraMap,d)};s["OS/2"]&&function validateOS2Table(e,t){t.pos=(t.start||0)+e.offset;const a=t.getUint16();t.skip(60);const r=t.getUint16();if(a<4&&768&r)return!1;if(t.getUint16()>t.getUint16())return!1;t.skip(6);if(0===t.getUint16())return!1;e.data[8]=e.data[9]=0;return!0}(s["OS/2"],t)||(s["OS/2"]={tag:"OS/2",data:createOS2Table(a,e.charCodeToGlyphId,y)})}if(!l)try{c=new Stream(s["CFF "].data);o=new CFFParser(c,a,Rr).parse();o.duplicateFirstGlyph();const e=new CFFCompiler(o);s["CFF "].data=e.compile()}catch{warn("Failed to compile font "+a.loadedName)}if(s.name){const[t,r]=readNameTable(s.name);s.name.data=createNameTable(e,t);this.psName=t[0][6]||null;a.composite||function adjustTrueTypeToUnicode(e,t,a){if(e.isInternalFont)return;if(e.hasIncludedToUnicodeMap)return;if(e.hasEncoding)return;if(e.toUnicode instanceof IdentityToUnicodeMap)return;if(!t)return;if(0===a.length)return;if(e.defaultEncoding===kr)return;for(const e of a)if(!isWinNameRecord(e))return;const r=kr,i=[],n=Fr();for(const e in r){const t=r[e];if(""===t)continue;const a=n[t];void 0!==a&&(i[e]=String.fromCharCode(a))}i.length>0&&e.toUnicode.amend(i)}(a,this.isSymbolicFont,r)}else s.name={tag:"name",data:createNameTable(this.name)};const x=new OpenTypeFileBuilder(n.version);for(const e in s)x.addTable(e,s[e].data);return x.toArray()}convert(e,a,r){r.fixedPitch=!1;r.builtInEncoding&&function adjustType1ToUnicode(e,t){if(e.isInternalFont)return;if(e.hasIncludedToUnicodeMap)return;if(t===e.defaultEncoding)return;if(e.toUnicode instanceof IdentityToUnicodeMap)return;const a=[],r=Fr();for(const i in t){if(e.hasEncoding&&(e.baseEncodingName||void 0!==e.differences[i]))continue;const n=getUnicodeForGlyph(t[i],r);-1!==n&&(a[i]=String.fromCharCode(n))}a.length>0&&e.toUnicode.amend(a)}(r,r.builtInEncoding);let i=1;a instanceof CFFFont&&(i=a.numGlyphs-1);const n=a.getGlyphMapping(r);let s=null,o=n,c=null;if(!r.cssFontInfo){s=adjustMapping(n,a.hasGlyphId.bind(a),i,this.toUnicode);this.toFontChar=s.toFontChar;o=s.charCodeToGlyphId;c=s.toUnicodeExtraMap}const l=a.numGlyphs;function getCharCodes(e,t){let a=null;for(const r in e)t===e[r]&&(a||=[]).push(0|r);return a}function createCharCode(e,t){for(const a in e)if(t===e[a])return 0|a;s.charCodeToGlyphId[s.nextAvailableFontCharCode]=t;return s.nextAvailableFontCharCode++}const h=a.seacs;if(s&&h?.length){const e=r.fontMatrix||t,i=a.getCharset(),o=Object.create(null);for(let t in h){t|=0;const a=h[t],r=Ar[a[2]],c=Ar[a[3]],l=i.indexOf(r),u=i.indexOf(c);if(l<0||u<0)continue;const d={x:a[0]*e[0]+a[1]*e[2]+e[4],y:a[0]*e[1]+a[1]*e[3]+e[5]},f=getCharCodes(n,t);if(f)for(const e of f){const t=s.charCodeToGlyphId,a=createCharCode(t,l),r=createCharCode(t,u);o[e]={baseFontCharCode:a,accentFontCharCode:r,accentOffset:d}}}r.seacMap=o}const u=r.fontMatrix?1/Math.max(...r.fontMatrix.slice(0,4).map(Math.abs)):1e3,d=new OpenTypeFileBuilder("OTTO");d.addTable("CFF ",a.data);d.addTable("OS/2",createOS2Table(r,o));d.addTable("cmap",createCmapTable(o,c,l));d.addTable("head","\0\0\0\0\0\0\0\0\0\0_<õ\0\0"+safeString16(u)+"\0\0\0\0ž\v~'\0\0\0\0ž\v~'\0\0"+safeString16(r.descent)+"ÿ"+safeString16(r.ascent)+string16(r.italicAngle?2:0)+"\0\0\0\0\0\0\0");d.addTable("hhea","\0\0\0"+safeString16(r.ascent)+safeString16(r.descent)+"\0\0ÿÿ\0\0\0\0\0\0"+safeString16(r.capHeight)+safeString16(Math.tan(r.italicAngle)*r.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+string16(l));d.addTable("hmtx",function fontFieldsHmtx(){const e=a.charstrings,t=a.cff?a.cff.widths:null;let r="\0\0\0\0";for(let a=1,i=l;a=65520&&e<=65535?0:e>=62976&&e<=63743?Or()[e]||e:173===e?45:e}(a)}this.isType3Font&&(i=a);let h=null;if(this.seacMap?.[e]){l=!0;const t=this.seacMap[e];a=t.baseFontCharCode;h={fontChar:String.fromCodePoint(t.accentFontCharCode),offset:t.accentOffset}}let u="";"number"==typeof a&&(a<=1114111?u=String.fromCodePoint(a):warn(`charToGlyph - invalid fontCharCode: ${a}`));if(this.missingFile&&this.vertical&&1===u.length){const e=_r()[u.charCodeAt(0)];e&&(u=c=String.fromCharCode(e))}n=new fonts_Glyph(e,u,c,h,r,o,i,t,l);return this._glyphCache[e]=n}charsToGlyphs(e){let t=this._charsCache[e];if(t)return t;t=[];if(this.cMap){const a=Object.create(null),r=e.length;let i=0;for(;it.length%2==1,r=this.toUnicode instanceof IdentityToUnicodeMap?e=>this.toUnicode.charCodeOf(e):e=>this.toUnicode.charCodeOf(String.fromCodePoint(e));for(let i=0,n=e.length;i55295&&(n<57344||n>65533)&&i++;if(this.toUnicode){const e=r(n);if(-1!==e){if(hasCurrentBufErrors()){t.push(a.join(""));a.length=0}for(let t=(this.cMap?this.cMap.getCharCodeLength(e):1)-1;t>=0;t--)a.push(String.fromCharCode(e>>8*t&255));continue}}if(!hasCurrentBufErrors()){t.push(a.join(""));a.length=0}a.push(String.fromCodePoint(n))}t.push(a.join(""));return t}}class ErrorFont{constructor(e){this.error=e;this.loadedName="g_font_error";this.missingFile=!0}charsToGlyphs(){return[]}encodeString(e){return[e]}exportData(){return{error:this.error}}}const xi=2,Ai=3,ki=4,Ci=5,vi=6,Fi=7;class Pattern{constructor(){unreachable("Cannot initialize Pattern.")}static parseShading(e,t,a,r,i,n){const s=e instanceof BaseStream?e.dict:e,o=s.get("ShadingType");try{switch(o){case xi:case Ai:return new RadialAxialShading(s,t,a,r,i,n);case ki:case Ci:case vi:case Fi:return new MeshShading(e,t,a,r,i,n);default:throw new FormatError("Unsupported ShadingType: "+o)}}catch(e){if(e instanceof MissingDataException)throw e;warn(e);return new DummyShading}}}class BaseShading{static SMALL_NUMBER=1e-6;getIR(){unreachable("Abstract method `getIR` called.")}}class RadialAxialShading extends BaseShading{constructor(e,t,a,r,i,n){super();this.shadingType=e.get("ShadingType");let s=0;this.shadingType===xi?s=4:this.shadingType===Ai&&(s=6);this.coordsArr=e.getArray("Coords");if(!isNumberArray(this.coordsArr,s))throw new FormatError("RadialAxialShading: Invalid /Coords array.");const o=ColorSpaceUtils.parse({cs:e.getRaw("CS")||e.getRaw("ColorSpace"),xref:t,resources:a,pdfFunctionFactory:r,globalColorSpaceCache:i,localColorSpaceCache:n});this.bbox=lookupNormalRect(e.getArray("BBox"),null);let c=0,l=1;const h=e.getArray("Domain");isNumberArray(h,2)&&([c,l]=h);let u=!1,d=!1;const f=e.getArray("Extend");(function isBooleanArray(e,t){return Array.isArray(e)&&(null===t||e.length===t)&&e.every((e=>"boolean"==typeof e))})(f,2)&&([u,d]=f);if(!(this.shadingType!==Ai||u&&d)){const[e,t,a,r,i,n]=this.coordsArr,s=Math.hypot(e-r,t-i);a<=n+s&&n<=a+s&&warn("Unsupported radial gradient.")}this.extendStart=u;this.extendEnd=d;const g=e.getRaw("Function"),p=r.create(g,!0),m=(l-c)/840,b=this.colorStops=[];if(c>=l||m<=0){info("Bad shading domain.");return}const y=new Float32Array(o.numComps),w=new Float32Array(1);let S=0;w[0]=c;p(w,0,y,0);const x=new Uint8ClampedArray(3);o.getRgb(y,0,x);let[k,C,v]=x;b.push([0,Util.makeHexColor(k,C,v)]);let F=1;w[0]=c+m;p(w,0,y,0);o.getRgb(y,0,x);let[O,T,M]=x,D=O-k+1,R=T-C+1,N=M-v+1,E=O-k-1,L=T-C-1,j=M-v-1;for(let e=2;e<840;e++){w[0]=c+e*m;p(w,0,y,0);o.getRgb(y,0,x);const[t,a,r]=x,i=e-S;D=Math.min(D,(t-k+1)/i);R=Math.min(R,(a-C+1)/i);N=Math.min(N,(r-v+1)/i);E=Math.max(E,(t-k-1)/i);L=Math.max(L,(a-C-1)/i);j=Math.max(j,(r-v-1)/i);if(!(E<=D&&L<=R&&j<=N)){const e=Util.makeHexColor(O,T,M);b.push([F/840,e]);D=t-O+1;R=a-T+1;N=r-M+1;E=t-O-1;L=a-T-1;j=r-M-1;S=F;k=O;C=T;v=M}F=e;O=t;T=a;M=r}b.push([1,Util.makeHexColor(O,T,M)]);let _="transparent";e.has("Background")&&(_=o.getRgbHex(e.get("Background"),0));if(!u){b.unshift([0,_]);b[1][0]+=BaseShading.SMALL_NUMBER}if(!d){b.at(-1)[0]-=BaseShading.SMALL_NUMBER;b.push([1,_])}this.colorStops=b}getIR(){const{coordsArr:e,shadingType:t}=this;let a,r,i,n,s;if(t===xi){r=[e[0],e[1]];i=[e[2],e[3]];n=null;s=null;a="axial"}else if(t===Ai){r=[e[0],e[1]];i=[e[3],e[4]];n=e[2];s=e[5];a="radial"}else unreachable(`getPattern type unknown: ${t}`);return["RadialAxial",a,this.bbox,this.colorStops,r,i,n,s]}}class MeshStreamReader{constructor(e,t){this.stream=e;this.context=t;this.buffer=0;this.bufferLength=0;const a=t.numComps;this.tmpCompsBuf=new Float32Array(a);const r=t.colorSpace.numComps;this.tmpCsCompsBuf=t.colorFn?new Float32Array(r):this.tmpCompsBuf}get hasData(){if(this.stream.end)return this.stream.pos0)return!0;const e=this.stream.getByte();if(e<0)return!1;this.buffer=e;this.bufferLength=8;return!0}readBits(e){const{stream:t}=this;let{buffer:a,bufferLength:r}=this;if(32===e){if(0===r)return t.getInt32()>>>0;a=a<<24|t.getByte()<<16|t.getByte()<<8|t.getByte();const e=t.getByte();this.buffer=e&(1<>r)>>>0}if(8===e&&0===r)return t.getByte();for(;r>r}align(){this.buffer=0;this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){const{bitsPerCoordinate:e,decode:t}=this.context,a=this.readBits(e),r=this.readBits(e),i=e<32?1/((1<n?n:e;t=t>s?s:t;a=ae*i[t])):a;let s,o=-2;const c=[];for(const[e,t]of r.map(((e,t)=>[e,t])).sort((([e],[t])=>e-t)))if(-1!==e)if(e===o+1){s.push(n[t]);o+=1}else{o=e;s=[n[t]];c.push(e,s)}return c}(e),a=new Dict(null);a.set("BaseFont",Name.get(e));a.set("Type",Name.get("Font"));a.set("Subtype",Name.get("CIDFontType2"));a.set("Encoding",Name.get("Identity-H"));a.set("CIDToGIDMap",Name.get("Identity"));a.set("W",t);a.set("FirstChar",t[0]);a.set("LastChar",t.at(-2)+t.at(-1).length-1);const r=new Dict(null);a.set("FontDescriptor",r);const i=new Dict(null);i.set("Ordering","Identity");i.set("Registry","Adobe");i.set("Supplement",0);a.set("CIDSystemInfo",i);return a}class PostScriptParser{constructor(e){this.lexer=e;this.operators=[];this.token=null;this.prev=null}nextToken(){this.prev=this.token;this.token=this.lexer.getToken()}accept(e){if(this.token.type===e){this.nextToken();return!0}return!1}expect(e){if(this.accept(e))return!0;throw new FormatError(`Unexpected symbol: found ${this.token.type} expected ${e}.`)}parse(){this.nextToken();this.expect(yn.LBRACE);this.parseBlock();this.expect(yn.RBRACE);return this.operators}parseBlock(){for(;;)if(this.accept(yn.NUMBER))this.operators.push(this.prev.value);else if(this.accept(yn.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(yn.LBRACE))return;this.parseCondition()}}parseCondition(){const e=this.operators.length;this.operators.push(null,null);this.parseBlock();this.expect(yn.RBRACE);if(this.accept(yn.IF)){this.operators[e]=this.operators.length;this.operators[e+1]="jz"}else{if(!this.accept(yn.LBRACE))throw new FormatError("PS Function: error parsing conditional.");{const t=this.operators.length;this.operators.push(null,null);const a=this.operators.length;this.parseBlock();this.expect(yn.RBRACE);this.expect(yn.IFELSE);this.operators[t]=this.operators.length;this.operators[t+1]="j";this.operators[e]=a;this.operators[e+1]="jz"}}}}const yn={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5};class PostScriptToken{static get opCache(){return shadow(this,"opCache",Object.create(null))}constructor(e,t){this.type=e;this.value=t}static getOperator(e){return PostScriptToken.opCache[e]||=new PostScriptToken(yn.OPERATOR,e)}static get LBRACE(){return shadow(this,"LBRACE",new PostScriptToken(yn.LBRACE,"{"))}static get RBRACE(){return shadow(this,"RBRACE",new PostScriptToken(yn.RBRACE,"}"))}static get IF(){return shadow(this,"IF",new PostScriptToken(yn.IF,"IF"))}static get IFELSE(){return shadow(this,"IFELSE",new PostScriptToken(yn.IFELSE,"IFELSE"))}}class PostScriptLexer{constructor(e){this.stream=e;this.nextChar();this.strBuf=[]}nextChar(){return this.currentChar=this.stream.getByte()}getToken(){let e=!1,t=this.currentChar;for(;;){if(t<0)return wa;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!isWhiteSpace(t))break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new PostScriptToken(yn.NUMBER,this.getNumber());case 123:this.nextChar();return PostScriptToken.LBRACE;case 125:this.nextChar();return PostScriptToken.RBRACE}const a=this.strBuf;a.length=0;a[0]=String.fromCharCode(t);for(;(t=this.nextChar())>=0&&(t>=65&&t<=90||t>=97&&t<=122);)a.push(String.fromCharCode(t));const r=a.join("");switch(r.toLowerCase()){case"if":return PostScriptToken.IF;case"ifelse":return PostScriptToken.IFELSE;default:return PostScriptToken.getOperator(r)}}getNumber(){let e=this.currentChar;const t=this.strBuf;t.length=0;t[0]=String.fromCharCode(e);for(;(e=this.nextChar())>=0&&(e>=48&&e<=57||45===e||46===e);)t.push(String.fromCharCode(e));const a=parseFloat(t.join(""));if(isNaN(a))throw new FormatError(`Invalid floating point number: ${a}`);return a}}class BaseLocalCache{constructor(e){this._onlyRefs=!0===e?.onlyRefs;if(!this._onlyRefs){this._nameRefMap=new Map;this._imageMap=new Map}this._imageCache=new RefSetCache}getByName(e){this._onlyRefs&&unreachable("Should not call `getByName` method.");const t=this._nameRefMap.get(e);return t?this.getByRef(t):this._imageMap.get(e)||null}getByRef(e){return this._imageCache.get(e)||null}set(e,t,a){unreachable("Abstract method `set` called.")}}class LocalImageCache extends BaseLocalCache{set(e,t=null,a){if("string"!=typeof e)throw new Error('LocalImageCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;this._nameRefMap.set(e,t);this._imageCache.put(t,a)}else this._imageMap.has(e)||this._imageMap.set(e,a)}}class LocalColorSpaceCache extends BaseLocalCache{set(e=null,t=null,a){if("string"!=typeof e&&!t)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(t){if(this._imageCache.has(t))return;null!==e&&this._nameRefMap.set(e,t);this._imageCache.put(t,a)}else this._imageMap.has(e)||this._imageMap.set(e,a)}}class LocalFunctionCache extends BaseLocalCache{constructor(e){super({onlyRefs:!0})}set(e=null,t,a){if(!t)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}}class LocalGStateCache extends BaseLocalCache{set(e,t=null,a){if("string"!=typeof e)throw new Error('LocalGStateCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;this._nameRefMap.set(e,t);this._imageCache.put(t,a)}else this._imageMap.has(e)||this._imageMap.set(e,a)}}class LocalTilingPatternCache extends BaseLocalCache{constructor(e){super({onlyRefs:!0})}set(e=null,t,a){if(!t)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}}class RegionalImageCache extends BaseLocalCache{constructor(e){super({onlyRefs:!0})}set(e=null,t,a){if(!t)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}}class GlobalColorSpaceCache extends BaseLocalCache{constructor(e){super({onlyRefs:!0})}set(e=null,t,a){if(!t)throw new Error('GlobalColorSpaceCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}clear(){this._imageCache.clear()}}class GlobalImageCache{static NUM_PAGES_THRESHOLD=2;static MIN_IMAGES_TO_CACHE=10;static MAX_BYTE_SIZE=5e7;#H=new RefSet;constructor(){this._refCache=new RefSetCache;this._imageCache=new RefSetCache}get#W(){let e=0;for(const t of this._imageCache)e+=t.byteSize;return e}get#z(){return!(this._imageCache.size+e)):null}class PDFFunction{static getSampleArray(e,t,a,r){let i,n,s=1;for(i=0,n=e.length;i>c)*h;l&=(1<0&&(d=n[u-1]);let f=a[1];u>1,c=r.length>>1,l=new PostScriptEvaluator(s),h=Object.create(null);let u=8192;const d=new Float32Array(c);return function constructPostScriptFn(e,t,a,r){let n,s,f="";const g=d;for(n=0;ne&&(s=e)}m[n]=s}if(u>0){u--;h[f]=m}a.set(m,r)}}}function isPDFFunction(e){let t;if(e instanceof Dict)t=e;else{if(!(e instanceof BaseStream))return!1;t=e.dict}return t.has("FunctionType")}class PostScriptStack{static MAX_STACK_SIZE=100;constructor(e){this.stack=e?Array.from(e):[]}push(e){if(this.stack.length>=PostScriptStack.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(e)}pop(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}copy(e){if(this.stack.length+e>=PostScriptStack.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");const t=this.stack;for(let a=t.length-e,r=e-1;r>=0;r--,a++)t.push(t[a])}index(e){this.push(this.stack[this.stack.length-e-1])}roll(e,t){const a=this.stack,r=a.length-e,i=a.length-1,n=r+(t-Math.floor(t/e)*e);for(let e=r,t=i;e0?t.push(s<>o);break;case"ceiling":s=t.pop();t.push(Math.ceil(s));break;case"copy":s=t.pop();t.copy(s);break;case"cos":s=t.pop();t.push(Math.cos(s%360/180*Math.PI));break;case"cvi":s=0|t.pop();t.push(s);break;case"cvr":break;case"div":o=t.pop();s=t.pop();t.push(s/o);break;case"dup":t.copy(1);break;case"eq":o=t.pop();s=t.pop();t.push(s===o);break;case"exch":t.roll(2,1);break;case"exp":o=t.pop();s=t.pop();t.push(s**o);break;case"false":t.push(!1);break;case"floor":s=t.pop();t.push(Math.floor(s));break;case"ge":o=t.pop();s=t.pop();t.push(s>=o);break;case"gt":o=t.pop();s=t.pop();t.push(s>o);break;case"idiv":o=t.pop();s=t.pop();t.push(s/o|0);break;case"index":s=t.pop();t.index(s);break;case"le":o=t.pop();s=t.pop();t.push(s<=o);break;case"ln":s=t.pop();t.push(Math.log(s));break;case"log":s=t.pop();t.push(Math.log10(s));break;case"lt":o=t.pop();s=t.pop();t.push(s=t?new AstLiteral(t):e.max<=t?e:new AstMin(e,t)}class PostScriptCompiler{compile(e,t,a){const r=[],i=[],n=t.length>>1,s=a.length>>1;let o,c,l,h,u,d,f,g,p=0;for(let e=0;et.min){o.unshift("Math.max(",n,", ");o.push(")")}if(s4){r=!0;t=0}else{r=!1;t=1}const c=[];for(n=0;n=0&&"ET"===An[e];--e)An[e]="EN";for(let e=n+1;e0&&(t=An[n-1]);let a=u;e+1g&&isOdd(g)&&(m=g)}for(g=p;g>=m;--g){let e=-1;for(n=0,s=c.length;n=0){reverseValues(xn,e,n);e=-1}}else e<0&&(e=n);e>=0&&reverseValues(xn,e,c.length)}for(n=0,s=xn.length;n"!==e||(xn[n]="")}return createBidiText(xn.join(""),r)}const kn={style:"normal",weight:"normal"},Cn={style:"normal",weight:"bold"},vn={style:"italic",weight:"normal"},Fn={style:"italic",weight:"bold"},In=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","Linux Libertine O","Libertinus Serif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:kn,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:Cn,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:vn,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:Fn,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:kn,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:Cn,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:vn,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:Fn,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono","Linux Libertine Mono O","Libertinus Mono"],style:kn,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:Cn,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:vn,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:Fn,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:kn,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:Cn,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:vn,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:Fn,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:kn,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:Cn,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:vn,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:Fn,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:kn}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}]]),On=new Map([["Arial-Black","ArialBlack"]]);function getFamilyName(e){const t=new Set(["thin","extralight","ultralight","demilight","semilight","light","book","regular","normal","medium","demibold","semibold","bold","extrabold","ultrabold","black","heavy","extrablack","ultrablack","roman","italic","oblique","ultracondensed","extracondensed","condensed","semicondensed","normal","semiexpanded","expanded","extraexpanded","ultraexpanded","bolditalic"]);return e.split(/[- ,+]+/g).filter((e=>!t.has(e.toLowerCase()))).join(" ")}function generateFont({alias:e,local:t,path:a,fallback:r,style:i,ultimate:n},s,o,c=!0,l=!0,h=""){const u={style:null,ultimate:null};if(t){const e=h?` ${h}`:"";for(const a of t)s.push(`local(${a}${e})`)}if(e){const t=In.get(e),n=h||function getStyleToAppend(e){switch(e){case Cn:return"Bold";case vn:return"Italic";case Fn:return"Bold Italic";default:if("bold"===e?.weight)return"Bold";if("italic"===e?.style)return"Italic"}return""}(i);Object.assign(u,generateFont(t,s,o,c&&!r,l&&!a,n))}i&&(u.style=i);n&&(u.ultimate=n);if(c&&r){const e=In.get(r),{ultimate:t}=generateFont(e,s,o,c,l&&!a,h);u.ultimate||=t}l&&a&&o&&s.push(`url(${o}${a})`);return u}function getFontSubstitution(e,t,a,r,i,n){if(r.startsWith("InvalidPDFjsFont_"))return null;"TrueType"!==n&&"Type1"!==n||!/^[A-Z]{6}\+/.test(r)||(r=r.slice(7));const s=r=normalizeFontName(r);let o=e.get(s);if(o)return o;let c=In.get(r);if(!c)for(const[e,t]of On)if(r.startsWith(e)){r=`${t}${r.substring(e.length)}`;c=In.get(r);break}let l=!1;if(!c){c=In.get(i);l=!0}const h=`${t.getDocId()}_s${t.createFontId()}`;if(!c){if(!validateFontName(r)){warn(`Cannot substitute the font because of its name: ${r}`);e.set(s,null);return null}const t=/bold/gi.test(r),a=/oblique|italic/gi.test(r),i=t&&a&&Fn||t&&Cn||a&&vn||kn;o={css:`"${getFamilyName(r)}",${h}`,guessFallback:!0,loadedName:h,baseFontName:r,src:`local(${r})`,style:i};e.set(s,o);return o}const u=[];l&&validateFontName(r)&&u.push(`local(${r})`);const{style:d,ultimate:f}=generateFont(c,u,a),g=null===f,p=g?"":`,${f}`;o={css:`"${getFamilyName(r)}",${h}${p}`,guessFallback:g,loadedName:h,baseFontName:r,src:u.join(","),style:d};e.set(s,o);return o}const Tn=3285377520,Mn=4294901760,Dn=65535;class MurmurHash3_64{constructor(e){this.h1=e?4294967295&e:Tn;this.h2=e?4294967295&e:Tn}update(e){let t,a;if("string"==typeof e){t=new Uint8Array(2*e.length);a=0;for(let r=0,i=e.length;r>>8;t[a++]=255&i}}}else{if(!ArrayBuffer.isView(e))throw new Error("Invalid data format, must be a string or TypedArray.");t=e.slice();a=t.byteLength}const r=a>>2,i=a-4*r,n=new Uint32Array(t.buffer,0,r);let s=0,o=0,c=this.h1,l=this.h2;const h=3432918353,u=461845907,d=11601,f=13715;for(let e=0;e>>17;s=s*u&Mn|s*f&Dn;c^=s;c=c<<13|c>>>19;c=5*c+3864292196}else{o=n[e];o=o*h&Mn|o*d&Dn;o=o<<15|o>>>17;o=o*u&Mn|o*f&Dn;l^=o;l=l<<13|l>>>19;l=5*l+3864292196}s=0;switch(i){case 3:s^=t[4*r+2]<<16;case 2:s^=t[4*r+1]<<8;case 1:s^=t[4*r];s=s*h&Mn|s*d&Dn;s=s<<15|s>>>17;s=s*u&Mn|s*f&Dn;1&r?c^=s:l^=s}this.h1=c;this.h2=l}hexdigest(){let e=this.h1,t=this.h2;e^=t>>>1;e=3981806797*e&Mn|36045*e&Dn;t=4283543511*t&Mn|(2950163797*(t<<16|e>>>16)&Mn)>>>16;e^=t>>>1;e=444984403*e&Mn|60499*e&Dn;t=3301882366*t&Mn|(3120437893*(t<<16|e>>>16)&Mn)>>>16;e^=t>>>1;return(e>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}function resizeImageMask(e,t,a,r,i,n){const s=i*n;let o;o=t<=8?new Uint8Array(s):t<=16?new Uint16Array(s):new Uint32Array(s);const c=a/i,l=r/n;let h,u,d,f,g=0;const p=new Uint16Array(i),m=a;for(h=0;h0&&Number.isInteger(a.height)&&a.height>0&&(a.width!==f||a.height!==g)){warn("PDFImage - using the Width/Height of the image data, rather than the image dictionary.");f=a.width;g=a.height}else{const e="number"==typeof f&&f>0,t="number"==typeof g&&g>0;if(!e||!t){if(!a.fallbackDims)throw new FormatError(`Invalid image width: ${f} or height: ${g}`);warn("PDFImage - using the Width/Height of the parent image, for SMask/Mask data.");e||(f=a.fallbackDims.width);t||(g=a.fallbackDims.height)}}this.width=f;this.height=g;this.interpolate=h.get("I","Interpolate");this.imageMask=h.get("IM","ImageMask")||!1;this.matte=h.get("Matte")||!1;let p=a.bitsPerComponent;if(!p){p=h.get("BPC","BitsPerComponent");if(!p){if(!this.imageMask)throw new FormatError(`Bits per component missing in image: ${this.imageMask}`);p=1}}this.bpc=p;if(!this.imageMask){let i=h.getRaw("CS")||h.getRaw("ColorSpace");const n=!!i;if(n)this.jpxDecoderOptions?.smaskInData&&(i=Name.get("DeviceRGBA"));else if(this.jpxDecoderOptions)i=Name.get("DeviceRGBA");else switch(a.numComps){case 1:i=Name.get("DeviceGray");break;case 3:i=Name.get("DeviceRGB");break;case 4:i=Name.get("DeviceCMYK");break;default:throw new Error(`Images with ${a.numComps} color components not supported.`)}this.colorSpace=ColorSpaceUtils.parse({cs:i,xref:e,resources:r?t:null,pdfFunctionFactory:o,globalColorSpaceCache:c,localColorSpaceCache:l});this.numComps=this.colorSpace.numComps;if(this.jpxDecoderOptions){this.jpxDecoderOptions.numComponents=n?this.numComps:0;this.jpxDecoderOptions.isIndexedColormap="Indexed"===this.colorSpace.name}}this.decode=h.getArray("D","Decode");this.needsDecode=!1;if(this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,p)||s&&!ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;const e=(1<0,c=(r+7>>3)*i,l=e.getBytes(c),h=1===r&&1===i&&o===(0===l.length||!!(128&l[0]));if(h)return{isSingleOpaquePixel:h};if(t){if(ImageResizer.needsToBeResized(r,i)){const e=new Uint8ClampedArray(r*i*4);convertBlackAndWhiteToRGBA({src:l,dest:e,width:r,height:i,nonBlackColor:0,inverseDecode:o});return ImageResizer.createImage({kind:v,data:e,width:r,height:i,interpolate:n})}const e=new OffscreenCanvas(r,i),t=e.getContext("2d"),a=t.createImageData(r,i);convertBlackAndWhiteToRGBA({src:l,dest:a.data,width:r,height:i,nonBlackColor:0,inverseDecode:o});t.putImageData(a,0,0);return{data:null,width:r,height:i,interpolate:n,bitmap:e.transferToImageBitmap()}}const u=l.byteLength;let d;if(e instanceof DecodeStream&&(!o||c===u))d=l;else if(o){d=new Uint8Array(c);d.set(l);d.fill(255,u)}else d=new Uint8Array(l);if(o)for(let e=0;e>7&1;s[d+1]=u>>6&1;s[d+2]=u>>5&1;s[d+3]=u>>4&1;s[d+4]=u>>3&1;s[d+5]=u>>2&1;s[d+6]=u>>1&1;s[d+7]=1&u;d+=8}if(d>=1}}}}else{let a=0;u=0;for(d=0,h=n;d>r;i<0?i=0:i>l&&(i=l);s[d]=i;u&=(1<s[r+1]){t=255;break}}o[h]=t}}}if(o)for(h=0,d=3,u=t*r;h>3,h=t&&ImageResizer.needsToBeResized(a,r);if(!this.smask&&!this.mask&&"DeviceRGBA"===this.colorSpace.name){i.kind=v;const e=i.data=await this.getImageBytes(o*s*4,{});return t?h?ImageResizer.createImage(i,!1):this.createBitmap(v,a,r,e):i}if(!e){let e;"DeviceGray"===this.colorSpace.name&&1===c?e=k:"DeviceRGB"!==this.colorSpace.name||8!==c||this.needsDecode||(e=C);if(e&&!this.smask&&!this.mask&&a===s&&r===o){const n=await this.#$(s,o);if(n)return n;const c=await this.getImageBytes(o*l,{});if(t)return h?ImageResizer.createImage({data:c,kind:e,width:a,height:r,interpolate:this.interpolate},this.needsDecode):this.createBitmap(e,s,o,c);i.kind=e;i.data=c;if(this.needsDecode){assert(e===k,"PDFImage.createImageData: The image must be grayscale.");const t=i.data;for(let e=0,a=t.length;e>3,s=await this.getImageBytes(r*n,{internal:!0}),o=this.getComponents(s);let c,l;if(1===i){l=a*r;if(this.needsDecode)for(c=0;c0&&r[0].count++}class TimeSlotManager{static TIME_SLOT_DURATION_MS=20;static CHECK_TIME_EVERY=100;constructor(){this.reset()}check(){if(++this.checkedo){const e="Image exceeded maximum allowed size and was removed.";if(!c)throw new Error(e);warn(e);return}let g;h.has("OC")&&(g=await this.parseMarkedContentProps(h.get("OC"),e));let p,m,b;if(h.get("IM","ImageMask")||!1){p=await PDFImage.createMask({image:t,isOffscreenCanvasSupported:l&&!this.parsingType3Font});if(p.isSingleOpaquePixel){m=ta;b=[];r.addImageOps(m,b,g);if(i){const e={fn:m,args:b,optionalContent:g};n.set(i,u,e);u&&this._regionalImageCache.set(null,u,e)}return}if(this.parsingType3Font){b=function compileType3Glyph({data:e,width:t,height:a}){if(t>1e3||a>1e3)return null;const r=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),i=t+1,n=new Uint8Array(i*(a+1));let s,o,c;const l=t+7&-8,h=new Uint8Array(l*a);let u=0;for(const t of e){let e=128;for(;e>0;){h[u++]=t&e?0:255;e>>=1}}let d=0;u=0;if(0!==h[u]){n[0]=1;++d}for(o=1;o>2)+(h[u+1]?4:0)+(h[u-l+1]?8:0);if(r[e]){n[c+o]=r[e];++d}u++}if(h[u-l]!==h[u]){n[c+o]=h[u]?2:4;++d}if(d>1e3)return null}u=l*(a-1);c=s*i;if(0!==h[u]){n[c]=8;++d}for(o=1;o1e3)return null;const f=new Int32Array([0,i,-1,0,-i,0,0,0,1]),g=[],{a:p,b:m,c:b,d:y,e:w,f:S}=(new DOMMatrix).scaleSelf(1/t,-1/a).translateSelf(0,-a);for(s=0;d&&s<=a;s++){let e=s*i;const a=e+t;for(;e>4;n[e]&=l>>2|l<<2}r=e%i;o=e/i|0;g.push(oa,p*r+b*o+w,m*r+y*o+S);n[e]||--d}while(c!==e);--s}return[na,[new Float32Array(g)],new Float32Array([0,0,t,a])]}(p);if(b){r.addImageOps(aa,b,g);return}warn("Cannot compile Type3 glyph.");r.addImageOps(Vt,[p],g);return}const e=`mask_${this.idFactory.createObjId()}`;r.addDependency(e);p.dataLen=p.bitmap?p.width*p.height*4:p.data.length;this._sendImgData(e,p);m=Vt;b=[{data:e,width:p.width,height:p.height,interpolate:p.interpolate,count:1}];r.addImageOps(m,b,g);if(i){const t={objId:e,fn:m,args:b,optionalContent:g};n.set(i,u,t);u&&this._regionalImageCache.set(null,u,t)}return}const y=h.has("SMask")||h.has("Mask");if(a&&d+f<200&&!y){try{const i=new PDFImage({xref:this.xref,res:e,image:t,isInline:a,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:s});p=await i.createImageData(!0,!1);r.addImageOps(Yt,[p],g)}catch(e){const t=`Unable to decode inline image: "${e}".`;if(!c)throw new Error(t);warn(t)}return}let w=`img_${this.idFactory.createObjId()}`,S=!1,x=null;if(this.parsingType3Font)w=`${this.idFactory.getDocId()}_type3_${w}`;else if(i&&u){S=this.globalImageCache.shouldCache(u,this.pageIndex);if(S){assert(!a,"Cannot cache an inline image globally.");w=`${this.idFactory.getDocId()}_${w}`}}r.addDependency(w);m=Jt;b=[w,d,f];r.addImageOps(m,b,g,y);if(S){x={objId:w,fn:m,args:b,optionalContent:g,hasMask:y,byteSize:0};if(this.globalImageCache.hasDecodeFailed(u)){this.globalImageCache.setData(u,x);this._sendImgData(w,null,S);return}if(d*f>25e4||y){const e=await this.handler.sendWithPromise("commonobj",[w,"CopyLocalImage",{imageRef:u}]);if(e){this.globalImageCache.setData(u,x);this.globalImageCache.addByteSize(u,e);return}}}PDFImage.buildImage({xref:this.xref,res:e,image:t,isInline:a,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:s}).then((async e=>{p=await e.createImageData(!1,l);p.dataLen=p.bitmap?p.width*p.height*4:p.data.length;p.ref=u;S&&this.globalImageCache.addByteSize(u,p.dataLen);return this._sendImgData(w,p,S)})).catch((e=>{warn(`Unable to decode image "${w}": "${e}".`);u&&this.globalImageCache.addDecodeFailed(u);return this._sendImgData(w,null,S)}));if(i){const e={objId:w,fn:m,args:b,optionalContent:g,hasMask:y};n.set(i,u,e);if(u){this._regionalImageCache.set(null,u,e);if(S){assert(x,"The global cache-data must be available.");this.globalImageCache.setData(u,x)}}}}handleSMask(e,t,a,r,i,n,s){const o=e.get("G"),c={subtype:e.get("S").name,backdrop:e.get("BC")},l=e.get("TR");if(isPDFFunction(l)){const e=this._pdfFunctionFactory.create(l),t=new Uint8Array(256),a=new Float32Array(1);for(let r=0;r<256;r++){a[0]=r/255;e(a,0,a,0);t[r]=255*a[0]|0}c.transferMap=t}return this.buildFormXObject(t,o,c,a,r,i.state.clone({newPath:!0}),n,s)}handleTransferFunction(e){let t;if(Array.isArray(e))t=e;else{if(!isPDFFunction(e))return null;t=[e]}const a=[];let r=0,i=0;for(const e of t){const t=this.xref.fetchIfRef(e);r++;if(isName(t,"Identity")){a.push(null);continue}if(!isPDFFunction(t))return null;const n=this._pdfFunctionFactory.create(t),s=new Uint8Array(256),o=new Float32Array(1);for(let e=0;e<256;e++){o[0]=e/255;n(o,0,o,0);s[e]=255*o[0]|0}a.push(s);i++}return 1!==r&&4!==r||0===i?null:a}handleTilingType(e,t,a,r,i,n,s,o){const c=new OperatorList,l=Dict.merge({xref:this.xref,dictArray:[i.get("Resources"),a]});return this.getOperatorList({stream:r,task:s,resources:l,operatorList:c}).then((function(){const a=c.getIR(),r=getTilingPatternIR(a,i,t);n.addDependencies(c.dependencies);n.addOp(e,r);i.objId&&o.set(null,i.objId,{operatorListIR:a,dict:i})})).catch((e=>{if(!(e instanceof AbortException)){if(!this.options.ignoreErrors)throw e;warn(`handleTilingType - ignoring pattern: "${e}".`)}}))}async handleSetFont(e,t,a,r,i,n,s=null,o=null){const c=t?.[0]instanceof Name?t[0].name:null,l=await this.loadFont(c,a,e,i,s,o);l.font.isType3Font&&r.addDependencies(l.type3Dependencies);n.font=l.font;l.send(this.handler);return l.loadedName}handleText(e,t){const a=t.font,r=a.charsToGlyphs(e);if(a.data){(!!(t.textRenderingMode&x)||"Pattern"===t.fillColorSpace.name||a.disableFontFace)&&PartialEvaluator.buildFontPaths(a,r,this.handler,this.options)}return r}ensureStateFont(e){if(e.font)return;const t=new FormatError("Missing setFont (Tf) operator before text rendering operator.");if(!this.options.ignoreErrors)throw t;warn(`ensureStateFont: "${t}".`)}async setGState({resources:e,gState:t,operatorList:a,cacheKey:r,task:i,stateManager:n,localGStateCache:s,localColorSpaceCache:o,seenRefs:c}){const l=t.objId;let h=!0;const u=[];let d=Promise.resolve();for(const[r,s]of t)switch(r){case"Type":break;case"LW":if("number"!=typeof s){warn(`Invalid LW (line width): ${s}`);break}u.push([r,Math.abs(s)]);break;case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":u.push([r,s]);break;case"Font":h=!1;d=d.then((()=>this.handleSetFont(e,null,s[0],a,i,n.state).then((function(e){a.addDependency(e);u.push([r,[e,s[1]]])}))));break;case"BM":u.push([r,normalizeBlendMode(s)]);break;case"SMask":if(isName(s,"None")){u.push([r,!1]);break}if(s instanceof Dict){h=!1;d=d.then((()=>this.handleSMask(s,e,a,i,n,o,c)));u.push([r,!0])}else warn("Unsupported SMask type");break;case"TR":const t=this.handleTransferFunction(s);u.push([r,t]);break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":info("graphic state operator "+r);break;default:info("Unknown graphic state operator "+r)}await d;u.length>0&&a.addOp(De,[u]);h&&s.set(r,l,u)}loadFont(e,t,a,r,i=null,n=null){const errorFont=async()=>new TranslatedFont({loadedName:"g_font_error",font:new ErrorFont(`Font "${e}" is not available.`),dict:t});let s;if(t)t instanceof Ref&&(s=t);else{const t=a.get("Font");t&&(s=t.getRaw(e))}if(s){if(this.type3FontRefs?.has(s))return errorFont();if(this.fontCache.has(s))return this.fontCache.get(s);try{t=this.xref.fetchIfRef(s)}catch(e){warn(`loadFont - lookup failed: "${e}".`)}}if(!(t instanceof Dict)){if(!this.options.ignoreErrors&&!this.parsingType3Font){warn(`Font "${e}" is not available.`);return errorFont()}warn(`Font "${e}" is not available -- attempting to fallback to a default font.`);t=i||PartialEvaluator.fallbackFontDict}if(t.cacheKey&&this.fontCache.has(t.cacheKey))return this.fontCache.get(t.cacheKey);const{promise:o,resolve:c}=Promise.withResolvers();let l;try{l=this.preEvaluateFont(t);l.cssFontInfo=n}catch(e){warn(`loadFont - preEvaluateFont failed: "${e}".`);return errorFont()}const{descriptor:h,hash:u}=l,d=s instanceof Ref;let f;if(u&&h instanceof Dict){const e=h.fontAliases||=Object.create(null);if(e[u]){const t=e[u].aliasRef;if(d&&t&&this.fontCache.has(t)){this.fontCache.putAlias(s,t);return this.fontCache.get(s)}}else e[u]={fontID:this.idFactory.createFontId()};d&&(e[u].aliasRef=s);f=e[u].fontID}else f=this.idFactory.createFontId();assert(f?.startsWith("f"),'The "fontID" must be (correctly) defined.');if(d)this.fontCache.put(s,o);else{t.cacheKey=`cacheKey_${f}`;this.fontCache.put(t.cacheKey,o)}t.loadedName=`${this.idFactory.getDocId()}_${f}`;this.translateFont(l).then((async e=>{const i=new TranslatedFont({loadedName:t.loadedName,font:e,dict:t});if(e.isType3Font)try{await i.loadType3Data(this,a,r)}catch(e){throw new Error(`Type3 font load error: ${e}`)}c(i)})).catch((e=>{warn(`loadFont - translateFont failed: "${e}".`);c(new TranslatedFont({loadedName:t.loadedName,font:new ErrorFont(e?.message),dict:t}))}));return o}buildPath(e,t,a){const{pathMinMax:r,pathBuffer:i}=a;switch(0|e){case Xe:{const e=a.currentPointX=t[0],n=a.currentPointY=t[1],s=t[2],o=t[3],c=e+s,l=n+o;0===s||0===o?i.push(sa,e,n,oa,c,l,la):i.push(sa,e,n,oa,c,n,oa,c,l,oa,e,l,la);Util.rectBoundingBox(e,n,c,l,r);break}case Ee:{const e=a.currentPointX=t[0],n=a.currentPointY=t[1];i.push(sa,e,n);Util.pointBoundingBox(e,n,r);break}case Pe:{const e=a.currentPointX=t[0],n=a.currentPointY=t[1];i.push(oa,e,n);Util.pointBoundingBox(e,n,r);break}case Le:{const e=a.currentPointX,n=a.currentPointY,[s,o,c,l,h,u]=t;a.currentPointX=h;a.currentPointY=u;i.push(ca,s,o,c,l,h,u);Util.bezierBoundingBox(e,n,s,o,c,l,h,u,r);break}case je:{const e=a.currentPointX,n=a.currentPointY,[s,o,c,l]=t;a.currentPointX=c;a.currentPointY=l;i.push(ca,e,n,s,o,c,l);Util.bezierBoundingBox(e,n,e,n,s,o,c,l,r);break}case _e:{const e=a.currentPointX,n=a.currentPointY,[s,o,c,l]=t;a.currentPointX=c;a.currentPointY=l;i.push(ca,s,o,c,l,c,l);Util.bezierBoundingBox(e,n,s,o,c,l,c,l,r);break}case Ue:i.push(la)}}_getColorSpace(e,t,a){return ColorSpaceUtils.parse({cs:e,xref:this.xref,resources:t,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:a,asyncIfNotCached:!0})}async _handleColorSpace(e){try{return await e}catch(e){if(e instanceof AbortException)return null;if(this.options.ignoreErrors){warn(`_handleColorSpace - ignoring ColorSpace: "${e}".`);return null}throw e}}parseShading({shading:e,resources:t,localColorSpaceCache:a,localShadingPatternCache:r}){let i,n=r.get(e);if(n)return n;try{i=Pattern.parseShading(e,this.xref,t,this._pdfFunctionFactory,this.globalColorSpaceCache,a).getIR()}catch(t){if(t instanceof AbortException)return null;if(this.options.ignoreErrors){warn(`parseShading - ignoring shading: "${t}".`);r.set(e,null);return null}throw t}n=`pattern_${this.idFactory.createObjId()}`;this.parsingType3Font&&(n=`${this.idFactory.getDocId()}_type3_${n}`);r.set(e,n);this.parsingType3Font?this.handler.send("commonobj",[n,"Pattern",i]):this.handler.send("obj",[n,this.pageIndex,"Pattern",i]);return n}handleColorN(e,t,a,r,i,n,s,o,c,l){const h=a.pop();if(h instanceof Name){const u=i.getRaw(h.name),d=u instanceof Ref&&c.getByRef(u);if(d)try{const i=r.base?r.base.getRgbHex(a,0):null,n=getTilingPatternIR(d.operatorListIR,d.dict,i);e.addOp(t,n);return}catch{}const f=this.xref.fetchIfRef(u);if(f){const i=f instanceof BaseStream?f.dict:f,h=i.get("PatternType");if(h===Rn){const o=r.base?r.base.getRgbHex(a,0):null;return this.handleTilingType(t,o,n,f,i,e,s,c)}if(h===Nn){const a=i.get("Shading"),r=this.parseShading({shading:a,resources:n,localColorSpaceCache:o,localShadingPatternCache:l});if(r){const a=lookupMatrix(i.getArray("Matrix"),null);e.addOp(t,["Shading",r,a])}return}throw new FormatError(`Unknown PatternType: ${h}`)}}throw new FormatError(`Unknown PatternName: ${h}`)}_parseVisibilityExpression(e,t,a){if(++t>10){warn("Visibility expression is too deeply nested");return}const r=e.length,i=this.xref.fetchIfRef(e[0]);if(!(r<2)&&i instanceof Name){switch(i.name){case"And":case"Or":case"Not":a.push(i.name);break;default:warn(`Invalid operator ${i.name} in visibility expression`);return}for(let i=1;i0)return{type:"OCMD",expression:t}}const t=a.get("OCGs");if(Array.isArray(t)||t instanceof Dict){const e=[];if(Array.isArray(t))for(const a of t)e.push(a.toString());else e.push(t.objId);return{type:r,ids:e,policy:a.get("P")instanceof Name?a.get("P").name:null,expression:null}}if(t instanceof Ref)return{type:r,id:t.toString()}}return null}getOperatorList({stream:e,task:t,resources:a,operatorList:r,initialState:i=null,fallbackFontDict:n=null,prevRefs:s=null}){const o=e.dict?.objId,c=new RefSet(s);if(o){if(s?.has(o))throw new Error(`getOperatorList - ignoring circular reference: ${o}`);c.put(o)}a||=Dict.empty;i||=new EvalState;if(!r)throw new Error('getOperatorList: missing "operatorList" parameter');const l=this,h=this.xref,u=new LocalImageCache,d=new LocalColorSpaceCache,f=new LocalGStateCache,g=new LocalTilingPatternCache,p=new Map,m=a.get("XObject")||Dict.empty,b=a.get("Pattern")||Dict.empty,y=new StateManager(i),w=new EvaluatorPreprocessor(e,h,y),S=new TimeSlotManager;function closePendingRestoreOPS(e){for(let e=0,t=w.savedStatesDepth;e{y.state.fillColorSpace=e||ColorSpaceUtils.gray})));return}case yt:{const t=l._getColorSpace(e[0],a,d);if(t instanceof ColorSpace){y.state.strokeColorSpace=t;continue}next(l._handleColorSpace(t).then((e=>{y.state.strokeColorSpace=e||ColorSpaceUtils.gray})));return}case At:C=y.state.fillColorSpace;e=[C.getRgbHex(e,0)];i=It;break;case St:C=y.state.strokeColorSpace;e=[C.getRgbHex(e,0)];i=Ft;break;case vt:y.state.fillColorSpace=ColorSpaceUtils.gray;e=[ColorSpaceUtils.gray.getRgbHex(e,0)];i=It;break;case Ct:y.state.strokeColorSpace=ColorSpaceUtils.gray;e=[ColorSpaceUtils.gray.getRgbHex(e,0)];i=Ft;break;case Tt:y.state.fillColorSpace=ColorSpaceUtils.cmyk;e=[ColorSpaceUtils.cmyk.getRgbHex(e,0)];i=It;break;case Ot:y.state.strokeColorSpace=ColorSpaceUtils.cmyk;e=[ColorSpaceUtils.cmyk.getRgbHex(e,0)];i=Ft;break;case It:y.state.fillColorSpace=ColorSpaceUtils.rgb;e=[ColorSpaceUtils.rgb.getRgbHex(e,0)];break;case Ft:y.state.strokeColorSpace=ColorSpaceUtils.rgb;e=[ColorSpaceUtils.rgb.getRgbHex(e,0)];break;case kt:C=y.state.patternFillColorSpace;if(!C){if(isNumberArray(e,null)){e=[ColorSpaceUtils.gray.getRgbHex(e,0)];i=It;break}e=[];i=ia;break}if("Pattern"===C.name){next(l.handleColorN(r,kt,e,C,b,a,t,d,g,p));return}e=[C.getRgbHex(e,0)];i=It;break;case xt:C=y.state.patternStrokeColorSpace;if(!C){if(isNumberArray(e,null)){e=[ColorSpaceUtils.gray.getRgbHex(e,0)];i=Ft;break}e=[];i=ra;break}if("Pattern"===C.name){next(l.handleColorN(r,xt,e,C,b,a,t,d,g,p));return}e=[C.getRgbHex(e,0)];i=Ft;break;case Mt:let O;try{const t=a.get("Shading");if(!t)throw new FormatError("No shading resource found");O=t.get(e[0].name);if(!O)throw new FormatError("No shading object found")}catch(e){if(e instanceof AbortException)continue;if(l.options.ignoreErrors){warn(`getOperatorList - ignoring Shading: "${e}".`);continue}throw e}const T=l.parseShading({shading:O,resources:a,localColorSpaceCache:d,localShadingPatternCache:p});if(!T)continue;e=[T];i=Mt;break;case De:F=e[0]instanceof Name;v=e[0].name;if(F){const t=f.getByName(v);if(t){t.length>0&&r.addOp(De,[t]);e=null;continue}}next(new Promise((function(e,i){if(!F)throw new FormatError("GState must be referred to by name.");const n=a.get("ExtGState");if(!(n instanceof Dict))throw new FormatError("ExtGState should be a dictionary.");const s=n.get(v);if(!(s instanceof Dict))throw new FormatError("GState should be a dictionary.");l.setGState({resources:a,gState:s,operatorList:r,cacheKey:v,task:t,stateManager:y,localGStateCache:f,localColorSpaceCache:d,seenRefs:c}).then(e,i)})).catch((function(e){if(!(e instanceof AbortException)){if(!l.options.ignoreErrors)throw e;warn(`getOperatorList - ignoring ExtGState: "${e}".`)}})));return;case Ce:{const[t]=e;if("number"!=typeof t){warn(`Invalid setLineWidth: ${t}`);continue}e[0]=Math.abs(t);break}case Ee:case Pe:case Le:case je:case _e:case Ue:case Xe:l.buildPath(i,e,y.state);continue;case qe:case He:case We:case ze:case $e:case Ge:case Ve:case Ke:case Je:{const{state:{pathBuffer:e,pathMinMax:t}}=y;i!==He&&i!==Ve&&i!==Ke||e.push(la);if(0===e.length)r.addOp(aa,[i,[null],null]);else{r.addOp(aa,[i,[new Float32Array(e)],t.slice()]);e.length=0;t.set([1/0,1/0,-1/0,-1/0],0)}continue}case ht:r.addOp(i,[new Float32Array(e)]);continue;case Et:case Pt:case Ut:case Xt:continue;case jt:if(!(e[0]instanceof Name)){warn(`Expected name for beginMarkedContentProps arg0=${e[0]}`);r.addOp(jt,["OC",null]);continue}if("OC"===e[0].name){next(l.parseMarkedContentProps(e[1],a).then((e=>{r.addOp(jt,["OC",e])})).catch((e=>{if(!(e instanceof AbortException)){if(!l.options.ignoreErrors)throw e;warn(`getOperatorList - ignoring beginMarkedContentProps: "${e}".`);r.addOp(jt,["OC",null])}})));return}e=[e[0].name,e[1]instanceof Dict?e[1].get("MCID"):null];break;default:if(null!==e){for(x=0,k=e.length;x{if(!(e instanceof AbortException)){if(!this.options.ignoreErrors)throw e;warn(`getOperatorList - ignoring errors during "${t.name}" task: "${e}".`);closePendingRestoreOPS()}}))}getTextContent({stream:e,task:a,resources:r,stateManager:i=null,includeMarkedContent:n=!1,sink:s,seenStyles:o=new Set,viewBox:c,lang:l=null,markedContentData:h=null,disableNormalization:u=!1,keepWhiteSpace:d=!1,prevRefs:f=null}){const g=e.dict?.objId,p=new RefSet(f);if(g){if(f?.has(g))throw new Error(`getTextContent - ignoring circular reference: ${g}`);p.put(g)}r||=Dict.empty;i||=new StateManager(new TextState);n&&(h||={level:0});const m={items:[],styles:Object.create(null),lang:l},b={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},y=[" "," "];let w=0;function saveLastChar(e){const t=(w+1)%2,a=" "!==y[w]&&" "===y[t];y[w]=e;w=t;return!d&&a}function shouldAddWhitepsace(){return!d&&" "!==y[w]&&" "===y[(w+1)%2]}function resetLastChars(){y[0]=y[1]=" ";w=0}const S=this,x=this.xref,k=[];let C=null;const v=new LocalImageCache,F=new LocalGStateCache,O=new EvaluatorPreprocessor(e,x,i);let T;function pushWhitespace({width:e=0,height:t=0,transform:a=b.prevTransform,fontName:r=b.fontName}){m.items.push({str:" ",dir:"ltr",width:e,height:t,transform:a,fontName:r,hasEOL:!1})}function getCurrentTextTransform(){const e=T.font,a=[T.fontSize*T.textHScale,0,0,T.fontSize,0,T.textRise];if(e.isType3Font&&(T.fontSize<=1||e.isCharBBox)&&!isArrayEqual(T.fontMatrix,t)){const t=e.bbox[3]-e.bbox[1];t>0&&(a[3]*=t*T.fontMatrix[3])}return Util.transform(T.ctm,Util.transform(T.textMatrix,a))}function ensureTextContentItem(){if(b.initialized)return b;const{font:e,loadedName:t}=T;if(!o.has(t)){o.add(t);m.styles[t]={fontFamily:e.fallbackName,ascent:e.ascent,descent:e.descent,vertical:e.vertical};if(S.options.fontExtraProperties&&e.systemFontInfo){const a=m.styles[t];a.fontSubstitution=e.systemFontInfo.css;a.fontSubstitutionLoadedName=e.systemFontInfo.loadedName}}b.fontName=t;const a=b.transform=getCurrentTextTransform();if(e.vertical){b.width=b.totalWidth=Math.hypot(a[0],a[1]);b.height=b.totalHeight=0;b.vertical=!0}else{b.width=b.totalWidth=0;b.height=b.totalHeight=Math.hypot(a[2],a[3]);b.vertical=!1}const r=Math.hypot(T.textLineMatrix[0],T.textLineMatrix[1]),i=Math.hypot(T.ctm[0],T.ctm[1]);b.textAdvanceScale=i*r;const{fontSize:n}=T;b.trackingSpaceMin=.102*n;b.notASpace=.03*n;b.negativeSpaceMax=-.2*n;b.spaceInFlowMin=.102*n;b.spaceInFlowMax=.6*n;b.hasEOL=!1;b.initialized=!0;return b}function updateAdvanceScale(){if(!b.initialized)return;const e=Math.hypot(T.textLineMatrix[0],T.textLineMatrix[1]),t=Math.hypot(T.ctm[0],T.ctm[1])*e;if(t!==b.textAdvanceScale){if(b.vertical){b.totalHeight+=b.height*b.textAdvanceScale;b.height=0}else{b.totalWidth+=b.width*b.textAdvanceScale;b.width=0}b.textAdvanceScale=t}}function runBidiTransform(e){let t=e.str.join("");u||(t=function normalizeUnicode(e){if(!ma){ma=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu;ba=new Map([["ſt","ſt"]])}return e.replaceAll(ma,((e,t,a)=>t?t.normalize("NFKC"):ba.get(a)))}(t));const a=bidi(t,-1,e.vertical);return{str:a.str,dir:a.dir,width:Math.abs(e.totalWidth),height:Math.abs(e.totalHeight),transform:e.transform,fontName:e.fontName,hasEOL:e.hasEOL}}async function handleSetFont(e,i){const n=await S.loadFont(e,i,r,a);T.loadedName=n.loadedName;T.font=n.font;T.fontMatrix=n.font.fontMatrix||t}function applyInverseRotation(e,t,a){const r=Math.hypot(a[0],a[1]);return[(a[0]*e+a[1]*t)/r,(a[2]*e+a[3]*t)/r]}function compareWithLastPosition(e){const t=getCurrentTextTransform();let a=t[4],r=t[5];if(T.font?.vertical){if(ac[2]||r+ec[3])return!1}else if(a+ec[2]||rc[3])return!1;if(!T.font||!b.prevTransform)return!0;let i=b.prevTransform[4],n=b.prevTransform[5];if(i===a&&n===r)return!0;let s=-1;t[0]&&0===t[1]&&0===t[2]?s=t[0]>0?0:180:t[1]&&0===t[0]&&0===t[3]&&(s=t[1]>0?90:270);switch(s){case 0:break;case 90:[a,r]=[r,a];[i,n]=[n,i];break;case 180:[a,r,i,n]=[-a,-r,-i,-n];break;case 270:[a,r]=[-r,-a];[i,n]=[-n,-i];break;default:[a,r]=applyInverseRotation(a,r,t);[i,n]=applyInverseRotation(i,n,b.prevTransform)}if(T.font.vertical){const e=(n-r)/b.textAdvanceScale,t=a-i,s=Math.sign(b.height);if(e.5*b.width){appendEOL();return!0}resetLastChars();flushTextContentItem();return!0}if(Math.abs(t)>b.width){appendEOL();return!0}e<=s*b.notASpace&&resetLastChars();if(e<=s*b.trackingSpaceMin)if(shouldAddWhitepsace()){resetLastChars();flushTextContentItem();pushWhitespace({height:Math.abs(e)})}else b.height+=e;else if(!addFakeSpaces(e,b.prevTransform,s))if(0===b.str.length){resetLastChars();pushWhitespace({height:Math.abs(e)})}else b.height+=e;Math.abs(t)>.25*b.width&&flushTextContentItem();return!0}const o=(a-i)/b.textAdvanceScale,l=r-n,h=Math.sign(b.width);if(o.5*b.height){appendEOL();return!0}resetLastChars();flushTextContentItem();return!0}if(Math.abs(l)>b.height){appendEOL();return!0}o<=h*b.notASpace&&resetLastChars();if(o<=h*b.trackingSpaceMin)if(shouldAddWhitepsace()){resetLastChars();flushTextContentItem();pushWhitespace({width:Math.abs(o)})}else b.width+=o;else if(!addFakeSpaces(o,b.prevTransform,h))if(0===b.str.length){resetLastChars();pushWhitespace({width:Math.abs(o)})}else b.width+=o;Math.abs(l)>.25*b.height&&flushTextContentItem();return!0}function buildTextContentItem({chars:e,extraSpacing:t}){const a=T.font;if(!e){const e=T.charSpacing+t;e&&(a.vertical?T.translateTextMatrix(0,-e):T.translateTextMatrix(e*T.textHScale,0));d&&compareWithLastPosition(0);return}const r=a.charsToGlyphs(e),i=T.fontMatrix[0]*T.fontSize;for(let e=0,n=r.length;e0){const e=k.join("");k.length=0;buildTextContentItem({chars:e,extraSpacing:0})}break;case dt:if(!i.state.font){S.ensureStateFont(i.state);continue}buildTextContentItem({chars:w[0],extraSpacing:0});break;case gt:if(!i.state.font){S.ensureStateFont(i.state);continue}T.carriageReturn();buildTextContentItem({chars:w[0],extraSpacing:0});break;case pt:if(!i.state.font){S.ensureStateFont(i.state);continue}T.wordSpacing=w[0];T.charSpacing=w[1];T.carriageReturn();buildTextContentItem({chars:w[2],extraSpacing:0});break;case Nt:flushTextContentItem();C??=r.get("XObject")||Dict.empty;y=w[0]instanceof Name;b=w[0].name;if(y&&v.getByName(b))break;next(new Promise((function(e,t){if(!y)throw new FormatError("XObject must be referred to by name.");let f=C.getRaw(b);if(f instanceof Ref){if(v.getByRef(f)){e();return}if(S.globalImageCache.getData(f,S.pageIndex)){e();return}f=x.fetch(f)}if(!(f instanceof BaseStream))throw new FormatError("XObject should be a stream");const{dict:g}=f,m=g.get("Subtype");if(!(m instanceof Name))throw new FormatError("XObject should have a Name subtype");if("Form"!==m.name){v.set(b,g.objId,!0);e();return}const w=i.state.clone(),k=new StateManager(w),F=lookupMatrix(g.getArray("Matrix"),null);F&&k.transform(F);const O=g.get("Resources");enqueueChunk();const T={enqueueInvoked:!1,enqueue(e,t){this.enqueueInvoked=!0;s.enqueue(e,t)},get desiredSize(){return s.desiredSize},get ready(){return s.ready}};S.getTextContent({stream:f,task:a,resources:O instanceof Dict?O:r,stateManager:k,includeMarkedContent:n,sink:T,seenStyles:o,viewBox:c,lang:l,markedContentData:h,disableNormalization:u,keepWhiteSpace:d,prevRefs:p}).then((function(){T.enqueueInvoked||v.set(b,g.objId,!0);e()}),t)})).catch((function(e){if(!(e instanceof AbortException)){if(!S.options.ignoreErrors)throw e;warn(`getTextContent - ignoring XObject: "${e}".`)}})));return;case De:y=w[0]instanceof Name;b=w[0].name;if(y&&F.getByName(b))break;next(new Promise((function(e,t){if(!y)throw new FormatError("GState must be referred to by name.");const a=r.get("ExtGState");if(!(a instanceof Dict))throw new FormatError("ExtGState should be a dictionary.");const i=a.get(b);if(!(i instanceof Dict))throw new FormatError("GState should be a dictionary.");const n=i.get("Font");if(n){flushTextContentItem();T.fontName=null;T.fontSize=n[1];handleSetFont(null,n[0]).then(e,t)}else{F.set(b,i.objId,!0);e()}})).catch((function(e){if(!(e instanceof AbortException)){if(!S.options.ignoreErrors)throw e;warn(`getTextContent - ignoring ExtGState: "${e}".`)}})));return;case Lt:flushTextContentItem();if(n){h.level++;m.items.push({type:"beginMarkedContent",tag:w[0]instanceof Name?w[0].name:null})}break;case jt:flushTextContentItem();if(n){h.level++;let e=null;w[1]instanceof Dict&&(e=w[1].get("MCID"));m.items.push({type:"beginMarkedContentProps",id:Number.isInteger(e)?`${S.idFactory.getPageObjId()}_mc${e}`:null,tag:w[0]instanceof Name?w[0].name:null})}break;case _t:flushTextContentItem();if(n){if(0===h.level)break;h.level--;m.items.push({type:"endMarkedContent"})}break;case Re:!e||e.font===T.font&&e.fontSize===T.fontSize&&e.fontName===T.fontName||flushTextContentItem()}if(m.items.length>=s.desiredSize){g=!0;break}}if(g)next(En);else{flushTextContentItem();enqueueChunk();e()}})).catch((e=>{if(!(e instanceof AbortException)){if(!this.options.ignoreErrors)throw e;warn(`getTextContent - ignoring errors during "${a.name}" task: "${e}".`);flushTextContentItem();enqueueChunk()}}))}async extractDataStructures(e,t){const a=this.xref;let r;const i=this.readToUnicode(t.toUnicode);if(t.composite){const a=e.get("CIDSystemInfo");a instanceof Dict&&(t.cidSystemInfo={registry:stringToPDFString(a.get("Registry")),ordering:stringToPDFString(a.get("Ordering")),supplement:a.get("Supplement")});try{const t=e.get("CIDToGIDMap");t instanceof BaseStream&&(r=t.getBytes())}catch(e){if(!this.options.ignoreErrors)throw e;warn(`extractDataStructures - ignoring CIDToGIDMap data: "${e}".`)}}const n=[];let s,o=null;if(e.has("Encoding")){s=e.get("Encoding");if(s instanceof Dict){o=s.get("BaseEncoding");o=o instanceof Name?o.name:null;if(s.has("Differences")){const e=s.get("Differences");let t=0;for(const r of e){const e=a.fetchIfRef(r);if("number"==typeof e)t=e;else{if(!(e instanceof Name))throw new FormatError(`Invalid entry in 'Differences' array: ${e}`);n[t++]=e.name}}}}else if(s instanceof Name)o=s.name;else{const e="Encoding is not a Name nor a Dict";if(!this.options.ignoreErrors)throw new FormatError(e);warn(e)}"MacRomanEncoding"!==o&&"MacExpertEncoding"!==o&&"WinAnsiEncoding"!==o&&(o=null)}const c=!t.file||t.isInternalFont,l=ei()[t.name];o&&c&&l&&(o=null);if(o)t.defaultEncoding=getEncoding(o);else{const e=!!(t.flags&Pr),a=!!(t.flags&Lr);s=Ar;"TrueType"!==t.type||a||(s=kr);if(e||l){s=xr;c&&(/Symbol/i.test(t.name)?s=Cr:/Dingbats/i.test(t.name)?s=vr:/Wingdings/i.test(t.name)&&(s=kr))}t.defaultEncoding=s}t.differences=n;t.baseEncodingName=o;t.hasEncoding=!!o||n.length>0;t.dict=e;t.toUnicode=await i;const h=await this.buildToUnicode(t);t.toUnicode=h;r&&(t.cidToGidMap=this.readCidToGidMap(r,h));return t}_simpleFontToUnicode(e,t=!1){assert(!e.composite,"Must be a simple font.");const a=[],r=e.defaultEncoding.slice(),i=e.baseEncodingName,n=e.differences;for(const e in n){const t=n[e];".notdef"!==t&&(r[e]=t)}const s=Fr();for(const n in r){let o=r[n];if(""===o)continue;let c=s[o];if(void 0!==c){a[n]=String.fromCharCode(c);continue}let l=0;switch(o[0]){case"G":3===o.length&&(l=parseInt(o.substring(1),16));break;case"g":5===o.length&&(l=parseInt(o.substring(1),16));break;case"C":case"c":if(o.length>=3&&o.length<=4){const a=o.substring(1);if(t){l=parseInt(a,16);break}l=+a;if(Number.isNaN(l)&&Number.isInteger(parseInt(a,16)))return this._simpleFontToUnicode(e,!0)}break;case"u":c=getUnicodeForGlyph(o,s);-1!==c&&(l=c);break;default:switch(o){case"f_h":case"f_t":case"T_h":a[n]=o.replaceAll("_","");continue}}if(l>0&&l<=1114111&&Number.isInteger(l)){if(i&&l===+n){const e=getEncoding(i);if(e&&(o=e[n])){a[n]=String.fromCharCode(s[o]);continue}}a[n]=String.fromCodePoint(l)}}return a}async buildToUnicode(e){e.hasIncludedToUnicodeMap=e.toUnicode?.length>0;if(e.hasIncludedToUnicodeMap){!e.composite&&e.hasEncoding&&(e.fallbackToUnicode=this._simpleFontToUnicode(e));return e.toUnicode}if(!e.composite)return new ToUnicodeMap(this._simpleFontToUnicode(e));if(e.composite&&(e.cMap.builtInCMap&&!(e.cMap instanceof IdentityCMap)||"Adobe"===e.cidSystemInfo?.registry&&("GB1"===e.cidSystemInfo.ordering||"CNS1"===e.cidSystemInfo.ordering||"Japan1"===e.cidSystemInfo.ordering||"Korea1"===e.cidSystemInfo.ordering))){const{registry:t,ordering:a}=e.cidSystemInfo,r=Name.get(`${t}-${a}-UCS2`),i=await CMapFactory.create({encoding:r,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),n=[],s=[];e.cMap.forEach((function(e,t){if(t>65535)throw new FormatError("Max size of CID is 65,535");const a=i.lookup(t);if(a){s.length=0;for(let e=0,t=a.length;e>1;(0!==i||t.has(n))&&(a[n]=i)}return a}extractWidths(e,t,a){const r=this.xref;let i=[],n=0;const s=[];let o;if(a.composite){const t=e.get("DW");n="number"==typeof t?Math.ceil(t):1e3;const c=e.get("W");if(Array.isArray(c))for(let e=0,t=c.length;e{const t=c.get(e),r=new OperatorList;return n.getOperatorList({stream:t,task:a,resources:l,operatorList:r}).then((()=>{switch(r.fnArray[0]){case bt:this.#K(r,b);break;case mt:b||this.#J(r)}h[e]=r.getIR();for(const e of r.dependencies)i.add(e)})).catch((function(t){warn(`Type3 font resource "${e}" is not available.`);const a=new OperatorList;h[e]=a.getIR()}))}));this.#V=o.then((()=>{r.charProcOperatorList=h;if(this._bbox){r.isCharBBox=!0;r.bbox=this._bbox}}));return this.#V}#K(e,t=NaN){const a=Util.normalizeRect(e.argsArray[0].slice(2)),r=a[2]-a[0],i=a[3]-a[1],n=Math.hypot(r,i);if(0===r||0===i){e.fnArray.splice(0,1);e.argsArray.splice(0,1)}else if(0===t||Math.round(n/t)>=10){this._bbox??=[1/0,1/0,-1/0,-1/0];Util.rectBoundingBox(...a,this._bbox)}let s=0,o=e.length;for(;s=Ee&&n<=Je;if(i.variableArgs)o>s&&info(`Command ${r}: expected [0, ${s}] args, but received ${o} args.`);else{if(o!==s){const e=this.nonProcessedArgs;for(;o>s;){e.push(t.shift());o--}for(;oEvaluatorPreprocessor.MAX_INVALID_PATH_OPS)throw new FormatError(`Invalid ${e}`);warn(`Skipping ${e}`);null!==t&&(t.length=0);continue}}this.preprocessCommand(n,t);e.fn=n;e.args=t;return!0}if(a===wa)return!1;if(null!==a){null===t&&(t=[]);t.push(a);if(t.length>33)throw new FormatError("Too many arguments")}}}preprocessCommand(e,t){switch(0|e){case Be:this.stateManager.save();break;case Re:this.stateManager.restore();break;case Ne:this.stateManager.transform(t)}}}class DefaultAppearanceEvaluator extends EvaluatorPreprocessor{constructor(e){super(new StringStream(e))}parse(){const e={fn:0,args:[]},t={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;;){e.args.length=0;if(!this.read(e))break;if(0!==this.savedStatesDepth)continue;const{fn:a,args:r}=e;switch(0|a){case nt:const[e,a]=r;e instanceof Name&&(t.fontName=e.name);"number"==typeof a&&a>0&&(t.fontSize=a);break;case It:ColorSpaceUtils.rgb.getRgbItem(r,0,t.fontColor,0);break;case vt:ColorSpaceUtils.gray.getRgbItem(r,0,t.fontColor,0);break;case Tt:ColorSpaceUtils.cmyk.getRgbItem(r,0,t.fontColor,0)}}}catch(e){warn(`parseDefaultAppearance - ignoring errors: "${e}".`)}return t}}function parseDefaultAppearance(e){return new DefaultAppearanceEvaluator(e).parse()}class AppearanceStreamEvaluator extends EvaluatorPreprocessor{constructor(e,t,a,r){super(e);this.stream=e;this.evaluatorOptions=t;this.xref=a;this.globalColorSpaceCache=r;this.resources=e.dict?.get("Resources")}parse(){const e={fn:0,args:[]};let t={scaleFactor:1,fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3),fillColorSpace:ColorSpaceUtils.gray},a=!1;const r=[];try{for(;;){e.args.length=0;if(a||!this.read(e))break;const{fn:i,args:n}=e;switch(0|i){case Be:r.push({scaleFactor:t.scaleFactor,fontSize:t.fontSize,fontName:t.fontName,fontColor:t.fontColor.slice(),fillColorSpace:t.fillColorSpace});break;case Re:t=r.pop()||t;break;case ht:t.scaleFactor*=Math.hypot(n[0],n[1]);break;case nt:const[e,i]=n;e instanceof Name&&(t.fontName=e.name);"number"==typeof i&&i>0&&(t.fontSize=i*t.scaleFactor);break;case wt:t.fillColorSpace=ColorSpaceUtils.parse({cs:n[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:this._localColorSpaceCache});break;case At:t.fillColorSpace.getRgbItem(n,0,t.fontColor,0);break;case It:ColorSpaceUtils.rgb.getRgbItem(n,0,t.fontColor,0);break;case vt:ColorSpaceUtils.gray.getRgbItem(n,0,t.fontColor,0);break;case Tt:ColorSpaceUtils.cmyk.getRgbItem(n,0,t.fontColor,0);break;case dt:case ft:case gt:case pt:a=!0}}}catch(e){warn(`parseAppearanceStream - ignoring errors: "${e}".`)}this.stream.reset();delete t.scaleFactor;delete t.fillColorSpace;return t}get _localColorSpaceCache(){return shadow(this,"_localColorSpaceCache",new LocalColorSpaceCache)}get _pdfFunctionFactory(){return shadow(this,"_pdfFunctionFactory",new PDFFunctionFactory({xref:this.xref,isEvalSupported:this.evaluatorOptions.isEvalSupported}))}}function getPdfColor(e,t){if(e[0]===e[1]&&e[1]===e[2]){return`${numberToString(e[0]/255)} ${t?"g":"G"}`}return Array.from(e,(e=>numberToString(e/255))).join(" ")+" "+(t?"rg":"RG")}class FakeUnicodeFont{constructor(e,t){this.xref=e;this.widths=null;this.firstChar=1/0;this.lastChar=-1/0;this.fontFamily=t;const a=new OffscreenCanvas(1,1);this.ctxMeasure=a.getContext("2d",{willReadFrequently:!0});FakeUnicodeFont._fontNameId||(FakeUnicodeFont._fontNameId=1);this.fontName=Name.get(`InvalidPDFjsFont_${t}_${FakeUnicodeFont._fontNameId++}`)}get fontDescriptorRef(){if(!FakeUnicodeFont._fontDescriptorRef){const e=new Dict(this.xref);e.set("Type",Name.get("FontDescriptor"));e.set("FontName",this.fontName);e.set("FontFamily","MyriadPro Regular");e.set("FontBBox",[0,0,0,0]);e.set("FontStretch",Name.get("Normal"));e.set("FontWeight",400);e.set("ItalicAngle",0);FakeUnicodeFont._fontDescriptorRef=this.xref.getNewPersistentRef(e)}return FakeUnicodeFont._fontDescriptorRef}get descendantFontRef(){const e=new Dict(this.xref);e.set("BaseFont",this.fontName);e.set("Type",Name.get("Font"));e.set("Subtype",Name.get("CIDFontType0"));e.set("CIDToGIDMap",Name.get("Identity"));e.set("FirstChar",this.firstChar);e.set("LastChar",this.lastChar);e.set("FontDescriptor",this.fontDescriptorRef);e.set("DW",1e3);const t=[],a=[...this.widths.entries()].sort();let r=null,i=null;for(const[e,n]of a)if(r)if(e===r+i.length)i.push(n);else{t.push(r,i);r=e;i=[n]}else{r=e;i=[n]}r&&t.push(r,i);e.set("W",t);const n=new Dict(this.xref);n.set("Ordering","Identity");n.set("Registry","Adobe");n.set("Supplement",0);e.set("CIDSystemInfo",n);return this.xref.getNewPersistentRef(e)}get baseFontRef(){const e=new Dict(this.xref);e.set("BaseFont",this.fontName);e.set("Type",Name.get("Font"));e.set("Subtype",Name.get("Type0"));e.set("Encoding",Name.get("Identity-H"));e.set("DescendantFonts",[this.descendantFontRef]);e.set("ToUnicode",Name.get("Identity-H"));return this.xref.getNewPersistentRef(e)}get resources(){const e=new Dict(this.xref),t=new Dict(this.xref);t.set(this.fontName.name,this.baseFontRef);e.set("Font",t);return e}_createContext(){this.widths=new Map;this.ctxMeasure.font=`1000px ${this.fontFamily}`;return this.ctxMeasure}createFontResources(e){const t=this._createContext();for(const a of e.split(/\r\n?|\n/))for(const e of a.split("")){const a=e.charCodeAt(0);if(this.widths.has(a))continue;const r=t.measureText(e),i=Math.ceil(r.width);this.widths.set(a,i);this.firstChar=Math.min(a,this.firstChar);this.lastChar=Math.max(a,this.lastChar)}return this.resources}static getFirstPositionInfo(e,t,i){const[n,s,o,c]=e;let l=o-n,h=c-s;t%180!=0&&([l,h]=[h,l]);const u=a*i;return{coords:[0,h+r*i-u],bbox:[0,0,l,h],matrix:0!==t?getRotationMatrix(t,h,u):void 0}}createAppearance(e,t,i,n,s,o){const c=this._createContext(),l=[];let h=-1/0;for(const t of e.split(/\r\n?|\n/)){l.push(t);const e=c.measureText(t).width;h=Math.max(h,e);for(const e of codePointIter(t)){const t=String.fromCodePoint(e);let a=this.widths.get(e);if(void 0===a){const r=c.measureText(t);a=Math.ceil(r.width);this.widths.set(e,a);this.firstChar=Math.min(e,this.firstChar);this.lastChar=Math.max(e,this.lastChar)}}}h*=n/1e3;const[u,d,f,g]=t;let p=f-u,m=g-d;i%180!=0&&([p,m]=[m,p]);let b=1;h>p&&(b=p/h);let y=1;const w=a*n,S=r*n,x=w*l.length;x>m&&(y=m/x);const k=n*Math.min(b,y),C=["q",`0 0 ${numberToString(p)} ${numberToString(m)} re W n`,"BT",`1 0 0 1 0 ${numberToString(m+S)} Tm 0 Tc ${getPdfColor(s,!0)}`,`/${this.fontName.name} ${numberToString(k)} Tf`],{resources:v}=this;if(1!==(o="number"==typeof o&&o>=0&&o<=1?o:1)){C.push("/R0 gs");const e=new Dict(this.xref),t=new Dict(this.xref);t.set("ca",o);t.set("CA",o);t.set("Type",Name.get("ExtGState"));e.set("R0",t);v.set("ExtGState",e)}const F=numberToString(w);for(const e of l)C.push(`0 -${F} Td <${stringToUTF16HexString(e)}> Tj`);C.push("ET","Q");const O=C.join("\n"),T=new Dict(this.xref);T.set("Subtype",Name.get("Form"));T.set("Type",Name.get("XObject"));T.set("BBox",[0,0,p,m]);T.set("Length",O.length);T.set("Resources",v);if(i){const e=getRotationMatrix(i,p,m);T.set("Matrix",e)}const M=new StringStream(O);M.dict=T;return M}}class NameOrNumberTree{constructor(e,t,a){this.root=e;this.xref=t;this._type=a}getAll(){const e=new Map;if(!this.root)return e;const t=this.xref,a=new RefSet;a.put(this.root);const r=[this.root];for(;r.length>0;){const i=t.fetchIfRef(r.shift());if(!(i instanceof Dict))continue;if(i.has("Kids")){const e=i.get("Kids");if(!Array.isArray(e))continue;for(const t of e){if(a.has(t))throw new FormatError(`Duplicate entry in "${this._type}" tree.`);r.push(t);a.put(t)}continue}const n=i.get(this._type);if(Array.isArray(n))for(let a=0,r=n.length;a10){warn(`Search depth limit reached for "${this._type}" tree.`);return null}const i=a.get("Kids");if(!Array.isArray(i))return null;let n=0,s=i.length-1;for(;n<=s;){const r=n+s>>1,o=t.fetchIfRef(i[r]),c=o.get("Limits");if(et.fetchIfRef(c[1]))){a=o;break}n=r+1}}if(n>s)return null}const i=a.get(this._type);if(Array.isArray(i)){let a=0,r=i.length-2;for(;a<=r;){const n=a+r>>1,s=n+(1&n),o=t.fetchIfRef(i[s]);if(eo))return i[s+1];a=s+2}}}return null}get(e){return this.xref.fetchIfRef(this.getRaw(e))}}class NameTree extends NameOrNumberTree{constructor(e,t){super(e,t,"Names")}}class NumberTree extends NameOrNumberTree{constructor(e,t){super(e,t,"Nums")}}function clearGlobalCaches(){!function clearPatternCaches(){Ii=Object.create(null)}();!function clearPrimitiveCaches(){Sa=Object.create(null);xa=Object.create(null);Aa=Object.create(null)}();!function clearUnicodeCaches(){Dr.clear()}();JpxImage.cleanup()}function pickPlatformItem(e){return e instanceof Dict?e.has("UF")?e.get("UF"):e.has("F")?e.get("F"):e.has("Unix")?e.get("Unix"):e.has("Mac")?e.get("Mac"):e.has("DOS")?e.get("DOS"):null:null}class FileSpec{#Y=!1;constructor(e,t,a=!1){if(e instanceof Dict){this.xref=t;this.root=e;e.has("FS")&&(this.fs=e.get("FS"));e.has("RF")&&warn("Related file specifications are not supported");a||(e.has("EF")?this.#Y=!0:warn("Non-embedded file specifications are not supported"))}}get filename(){let e="";const t=pickPlatformItem(this.root);t&&"string"==typeof t&&(e=stringToPDFString(t,!0).replaceAll("\\\\","\\").replaceAll("\\/","/").replaceAll("\\","/"));return shadow(this,"filename",e||"unnamed")}get content(){if(!this.#Y)return null;this._contentRef||=pickPlatformItem(this.root?.get("EF"));let e=null;if(this._contentRef){const t=this.xref.fetchIfRef(this._contentRef);t instanceof BaseStream?e=t.getBytes():warn("Embedded file specification points to non-existing/invalid content")}else warn("Embedded file specification does not have any content");return e}get description(){let e="";const t=this.root?.get("Desc");t&&"string"==typeof t&&(e=stringToPDFString(t));return shadow(this,"description",e)}get serializable(){return{rawFilename:this.filename,filename:(e=this.filename,e.substring(e.lastIndexOf("/")+1)),content:this.content,description:this.description};var e}}const Pn=0,Ln=-2,jn=-3,_n=-4,Un=-5,Xn=-6,qn=-9;function isWhitespace(e,t){const a=e[t];return" "===a||"\n"===a||"\r"===a||"\t"===a}class XMLParserBase{_resolveEntities(e){return e.replaceAll(/&([^;]+);/g,((e,t)=>{if("#x"===t.substring(0,2))return String.fromCodePoint(parseInt(t.substring(2),16));if("#"===t.substring(0,1))return String.fromCodePoint(parseInt(t.substring(1),10));switch(t){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return this.onResolveEntity(t)}))}_parseContent(e,t){const a=[];let r=t;function skipWs(){for(;r"!==e[r]&&"/"!==e[r];)++r;const i=e.substring(t,r);skipWs();for(;r"!==e[r]&&"/"!==e[r]&&"?"!==e[r];){skipWs();let t="",i="";for(;r"!==e[a]&&"?"!==e[a]&&"/"!==e[a];)++a;const r=e.substring(t,a);!function skipWs(){for(;a"!==e[a+1]);)++a;return{name:r,value:e.substring(i,a),parsed:a-t}}parseXml(e){let t=0;for(;t",a);if(t<0){this.onError(qn);return}this.onEndElement(e.substring(a,t));a=t+1;break;case"?":++a;const r=this._parseProcessingInstruction(e,a);if("?>"!==e.substring(a+r.parsed,a+r.parsed+2)){this.onError(jn);return}this.onPi(r.name,r.value);a+=r.parsed+2;break;case"!":if("--"===e.substring(a+1,a+3)){t=e.indexOf("--\x3e",a+3);if(t<0){this.onError(Un);return}this.onComment(e.substring(a+3,t));a=t+3}else if("[CDATA["===e.substring(a+1,a+8)){t=e.indexOf("]]>",a+8);if(t<0){this.onError(Ln);return}this.onCdata(e.substring(a+8,t));a=t+3}else{if("DOCTYPE"!==e.substring(a+1,a+8)){this.onError(Xn);return}{const r=e.indexOf("[",a+8);let i=!1;t=e.indexOf(">",a+8);if(t<0){this.onError(_n);return}if(r>0&&t>r){t=e.indexOf("]>",a+8);if(t<0){this.onError(_n);return}i=!0}const n=e.substring(a+8,t+(i?1:0));this.onDoctype(n);a=t+(i?2:1)}}break;default:const i=this._parseContent(e,a);if(null===i){this.onError(Xn);return}let n=!1;if("/>"===e.substring(a+i.parsed,a+i.parsed+2))n=!0;else if(">"!==e.substring(a+i.parsed,a+i.parsed+1)){this.onError(qn);return}this.onBeginElement(i.name,i.attributes,n);a+=i.parsed+(n?2:1)}}else{for(;ae.textContent)).join(""):this.nodeValue||""}get children(){return this.childNodes||[]}hasChildNodes(){return this.childNodes?.length>0}searchNode(e,t){if(t>=e.length)return this;const a=e[t];if(a.name.startsWith("#")&&t0){r.push([i,0]);i=i.childNodes[0]}else{if(0===r.length)return null;for(;0!==r.length;){const[e,t]=r.pop(),a=t+1;if(a");for(const t of this.childNodes)t.dump(e);e.push(``)}else this.nodeValue?e.push(`>${encodeToXmlString(this.nodeValue)}`):e.push("/>")}else e.push(encodeToXmlString(this.nodeValue))}}class SimpleXMLParser extends XMLParserBase{constructor({hasAttributes:e=!1,lowerCaseName:t=!1}){super();this._currentFragment=null;this._stack=null;this._errorCode=Pn;this._hasAttributes=e;this._lowerCaseName=t}parseFromString(e){this._currentFragment=[];this._stack=[];this._errorCode=Pn;this.parseXml(e);if(this._errorCode!==Pn)return;const[t]=this._currentFragment;return t?{documentElement:t}:void 0}onText(e){if(function isWhitespaceString(e){for(let t=0,a=e.length;t\\376\\377([^<]+)/g,(function(e,t){const a=t.replaceAll(/\\([0-3])([0-7])([0-7])/g,(function(e,t,a,r){return String.fromCharCode(64*t+8*a+1*r)})).replaceAll(/&(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 new Error(`_repair: ${t} isn't defined.`)})),r=[">"];for(let e=0,t=a.length;e=32&&t<127&&60!==t&&62!==t&&38!==t?r.push(String.fromCharCode(t)):r.push("&#x"+(65536+t).toString(16).substring(1)+";")}return r.join("")}))}_getSequence(e){const t=e.nodeName;return"rdf:bag"!==t&&"rdf:seq"!==t&&"rdf:alt"!==t?null:e.childNodes.filter((e=>"rdf:li"===e.nodeName))}_parseArray(e){if(!e.hasChildNodes())return;const[t]=e.childNodes,a=this._getSequence(t)||[];this._metadataMap.set(e.nodeName,a.map((e=>e.textContent.trim())))}_parse(e){let t=e.documentElement;if("rdf:rdf"!==t.nodeName){t=t.firstChild;for(;t&&"rdf:rdf"!==t.nodeName;)t=t.nextSibling}if(t&&"rdf:rdf"===t.nodeName&&t.hasChildNodes())for(const e of t.childNodes)if("rdf:description"===e.nodeName)for(const t of e.childNodes){const e=t.nodeName;switch(e){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(t);continue}this._metadataMap.set(e,t.textContent.trim())}}get serializable(){return{parsedData:this._metadataMap,rawData:this._data}}}const Hn=1,Wn=2,zn=3,$n=4,Gn=5;class StructTreeRoot{constructor(e,t,a){this.xref=e;this.dict=t;this.ref=a instanceof Ref?a:null;this.roleMap=new Map;this.structParentIds=null}init(){this.readRoleMap()}#Z(e,t,a){if(!(e instanceof Ref)||t<0)return;this.structParentIds||=new RefSetCache;let r=this.structParentIds.get(e);if(!r){r=[];this.structParentIds.put(e,r)}r.push([t,a])}addAnnotationIdToPage(e,t){this.#Z(e,t,$n)}readRoleMap(){const e=this.dict.get("RoleMap");if(e instanceof Dict)for(const[t,a]of e)a instanceof Name&&this.roleMap.set(t,a.name)}static async canCreateStructureTree({catalogRef:e,pdfManager:t,newAnnotationsByPage:a}){if(!(e instanceof Ref)){warn("Cannot save the struct tree: no catalog reference.");return!1}let r=0,i=!0;for(const[e,n]of a){const{ref:a}=await t.getPage(e);if(!(a instanceof Ref)){warn(`Cannot save the struct tree: page ${e} has no ref.`);i=!0;break}for(const e of n)if(e.accessibilityData?.type){e.parentTreeId=r++;i=!1}}if(i){for(const e of a.values())for(const t of e)delete t.parentTreeId;return!1}return!0}static async createStructureTree({newAnnotationsByPage:e,xref:t,catalogRef:a,pdfManager:r,changes:i}){const n=await r.ensureCatalog("cloneDict"),s=new RefSetCache;s.put(a,n);const o=t.getNewTemporaryRef();n.set("StructTreeRoot",o);const c=new Dict(t);c.set("Type",Name.get("StructTreeRoot"));const l=t.getNewTemporaryRef();c.set("ParentTree",l);const h=[];c.set("K",h);s.put(o,c);const u=new Dict(t),d=[];u.set("Nums",d);const f=await this.#Q({newAnnotationsByPage:e,structTreeRootRef:o,structTreeRoot:null,kids:h,nums:d,xref:t,pdfManager:r,changes:i,cache:s});c.set("ParentTreeNextKey",f);s.put(l,u);for(const[e,t]of s.items())i.put(e,{data:t})}async canUpdateStructTree({pdfManager:e,newAnnotationsByPage:t}){if(!this.ref){warn("Cannot update the struct tree: no root reference.");return!1}let a=this.dict.get("ParentTreeNextKey");if(!Number.isInteger(a)||a<0){warn("Cannot update the struct tree: invalid next key.");return!1}const r=this.dict.get("ParentTree");if(!(r instanceof Dict)){warn("Cannot update the struct tree: ParentTree isn't a dict.");return!1}const i=r.get("Nums");if(!Array.isArray(i)){warn("Cannot update the struct tree: nums isn't an array.");return!1}const n=new NumberTree(r,this.xref);for(const a of t.keys()){const{pageDict:t}=await e.getPage(a);if(!t.has("StructParents"))continue;const r=t.get("StructParents");if(!Number.isInteger(r)||!Array.isArray(n.get(r))){warn(`Cannot save the struct tree: page ${a} has a wrong id.`);return!1}}let s=!0;for(const[r,i]of t){const{pageDict:t}=await e.getPage(r);StructTreeRoot.#ee({elements:i,xref:this.xref,pageDict:t,numberTree:n});for(const e of i)if(e.accessibilityData?.type){e.accessibilityData.structParent>=0||(e.parentTreeId=a++);s=!1}}if(s){for(const e of t.values())for(const t of e){delete t.parentTreeId;delete t.structTreeParent}return!1}return!0}async updateStructureTree({newAnnotationsByPage:e,pdfManager:t,changes:a}){const{ref:r,xref:i}=this,n=this.dict.clone(),s=new RefSetCache;s.put(r,n);let o,c=n.getRaw("ParentTree");if(c instanceof Ref)o=i.fetch(c);else{o=c;c=i.getNewTemporaryRef();n.set("ParentTree",c)}o=o.clone();s.put(c,o);let l=o.getRaw("Nums"),h=null;if(l instanceof Ref){h=l;l=i.fetch(h)}l=l.slice();h||o.set("Nums",l);const u=await StructTreeRoot.#Q({newAnnotationsByPage:e,structTreeRootRef:r,structTreeRoot:this,kids:null,nums:l,xref:i,pdfManager:t,changes:a,cache:s});if(-1!==u){n.set("ParentTreeNextKey",u);h&&s.put(h,l);for(const[e,t]of s.items())a.put(e,{data:t})}}static async#Q({newAnnotationsByPage:e,structTreeRootRef:t,structTreeRoot:a,kids:r,nums:i,xref:n,pdfManager:s,changes:o,cache:c}){const l=Name.get("OBJR");let h,u=-1;for(const[d,f]of e){const e=await s.getPage(d),{ref:g}=e,p=g instanceof Ref;for(const{accessibilityData:s,ref:m,parentTreeId:b,structTreeParent:y}of f){if(!s?.type)continue;const{structParent:f}=s;if(a&&Number.isInteger(f)&&f>=0){let t=(h||=new Map).get(d);if(void 0===t){t=new StructTreePage(a,e.pageDict).collectObjects(g);h.set(d,t)}const r=t?.get(f);if(r){const e=n.fetch(r).clone();StructTreeRoot.#te(e,s);o.put(r,{data:e});continue}}u=Math.max(u,b);const w=n.getNewTemporaryRef(),S=new Dict(n);StructTreeRoot.#te(S,s);await this.#ae({structTreeParent:y,tagDict:S,newTagRef:w,structTreeRootRef:t,fallbackKids:r,xref:n,cache:c});const x=new Dict(n);S.set("K",x);x.set("Type",l);p&&x.set("Pg",g);x.set("Obj",m);c.put(w,S);i.push(b,w)}}return u+1}static#te(e,{type:t,title:a,lang:r,alt:i,expanded:n,actualText:s}){e.set("S",Name.get(t));a&&e.set("T",stringToAsciiOrUTF16BE(a));r&&e.set("Lang",stringToAsciiOrUTF16BE(r));i&&e.set("Alt",stringToAsciiOrUTF16BE(i));n&&e.set("E",stringToAsciiOrUTF16BE(n));s&&e.set("ActualText",stringToAsciiOrUTF16BE(s))}static#ee({elements:e,xref:t,pageDict:a,numberTree:r}){const i=new Map;for(const t of e)if(t.structTreeParentId){const e=parseInt(t.structTreeParentId.split("_mc")[1],10);let a=i.get(e);if(!a){a=[];i.set(e,a)}a.push(t)}const n=a.get("StructParents");if(!Number.isInteger(n))return;const s=r.get(n),updateElement=(e,a,r)=>{const n=i.get(e);if(n){const e=a.getRaw("P"),i=t.fetchIfRef(e);if(e instanceof Ref&&i instanceof Dict){const e={ref:r,dict:a};for(const t of n)t.structTreeParent=e}return!0}return!1};for(const e of s){if(!(e instanceof Ref))continue;const a=t.fetch(e),r=a.get("K");if(Number.isInteger(r))updateElement(r,a,e);else if(Array.isArray(r))for(let i of r){i=t.fetchIfRef(i);if(Number.isInteger(i)&&updateElement(i,a,e))break;if(!(i instanceof Dict))continue;if(!isName(i.get("Type"),"MCR"))break;const r=i.get("MCID");if(Number.isInteger(r)&&updateElement(r,a,e))break}}}static async#ae({structTreeParent:e,tagDict:t,newTagRef:a,structTreeRootRef:r,fallbackKids:i,xref:n,cache:s}){let o,c=null;if(e){({ref:c}=e);o=e.dict.getRaw("P")||r}else o=r;t.set("P",o);const l=n.fetchIfRef(o);if(!l){i.push(a);return}let h=s.get(o);if(!h){h=l.clone();s.put(o,h)}const u=h.getRaw("K");let d=u instanceof Ref?s.get(u):null;if(!d){d=n.fetchIfRef(u);d=Array.isArray(d)?d.slice():[u];const e=n.getNewTemporaryRef();h.set("K",e);s.put(e,d)}const f=d.indexOf(c);d.splice(f>=0?f+1:d.length,0,a)}}class StructElementNode{constructor(e,t){this.tree=e;this.xref=e.xref;this.dict=t;this.kids=[];this.parseKids()}get role(){const e=this.dict.get("S"),t=e instanceof Name?e.name:"",{root:a}=this.tree;return a.roleMap.get(t)??t}parseKids(){let e=null;const t=this.dict.getRaw("Pg");t instanceof Ref&&(e=t.toString());const a=this.dict.get("K");if(Array.isArray(a))for(const t of a){const a=this.parseKid(e,this.xref.fetchIfRef(t));a&&this.kids.push(a)}else{const t=this.parseKid(e,a);t&&this.kids.push(t)}}parseKid(e,t){if(Number.isInteger(t))return this.tree.pageDict.objId!==e?null:new StructElement({type:Hn,mcid:t,pageObjId:e});if(!(t instanceof Dict))return null;const a=t.getRaw("Pg");a instanceof Ref&&(e=a.toString());const r=t.get("Type")instanceof Name?t.get("Type").name:null;if("MCR"===r){if(this.tree.pageDict.objId!==e)return null;const a=t.getRaw("Stm");return new StructElement({type:Wn,refObjId:a instanceof Ref?a.toString():null,pageObjId:e,mcid:t.get("MCID")})}if("OBJR"===r){if(this.tree.pageDict.objId!==e)return null;const a=t.getRaw("Obj");return new StructElement({type:zn,refObjId:a instanceof Ref?a.toString():null,pageObjId:e})}return new StructElement({type:Gn,dict:t})}}class StructElement{constructor({type:e,dict:t=null,mcid:a=null,pageObjId:r=null,refObjId:i=null}){this.type=e;this.dict=t;this.mcid=a;this.pageObjId=r;this.refObjId=i;this.parentNode=null}}class StructTreePage{constructor(e,t){this.root=e;this.xref=e?.xref??null;this.rootDict=e?.dict??null;this.pageDict=t;this.nodes=[]}collectObjects(e){if(!(this.root&&this.rootDict&&e instanceof Ref))return null;const t=this.rootDict.get("ParentTree");if(!t)return null;const a=this.root.structParentIds?.get(e);if(!a)return null;const r=new Map,i=new NumberTree(t,this.xref);for(const[e]of a){const t=i.getRaw(e);t instanceof Ref&&r.set(e,t)}return r}parse(e){if(!(this.root&&this.rootDict&&e instanceof Ref))return;const t=this.rootDict.get("ParentTree");if(!t)return;const a=this.pageDict.get("StructParents"),r=this.root.structParentIds?.get(e);if(!Number.isInteger(a)&&!r)return;const i=new Map,n=new NumberTree(t,this.xref);if(Number.isInteger(a)){const e=n.get(a);if(Array.isArray(e))for(const t of e)t instanceof Ref&&this.addNode(this.xref.fetch(t),i)}if(r)for(const[e,t]of r){const a=n.get(e);if(a){const e=this.addNode(this.xref.fetchIfRef(a),i);1===e?.kids?.length&&e.kids[0].type===zn&&(e.kids[0].type=t)}}}addNode(e,t,a=0){if(a>40){warn("StructTree MAX_DEPTH reached.");return null}if(!(e instanceof Dict))return null;if(t.has(e))return t.get(e);const r=new StructElementNode(this,e);t.set(e,r);const i=e.get("P");if(!(i instanceof Dict)||isName(i.get("Type"),"StructTreeRoot")){this.addTopLevelNode(e,r)||t.delete(e);return r}const n=this.addNode(i,t,a+1);if(!n)return r;let s=!1;for(const t of n.kids)if(t.type===Gn&&t.dict===e){t.parentNode=r;s=!0}s||t.delete(e);return r}addTopLevelNode(e,t){const a=this.rootDict.get("K");if(!a)return!1;if(a instanceof Dict){if(a.objId!==e.objId)return!1;this.nodes[0]=t;return!0}if(!Array.isArray(a))return!0;let r=!1;for(let i=0;i40){warn("StructTree too deep to be fully serialized.");return}const r=Object.create(null);r.role=e.role;r.children=[];t.children.push(r);let i=e.dict.get("Alt");"string"!=typeof i&&(i=e.dict.get("ActualText"));"string"==typeof i&&(r.alt=stringToPDFString(i));const n=e.dict.get("A");if(n instanceof Dict){const e=lookupNormalRect(n.getArray("BBox"),null);if(e)r.bbox=e;else{const e=n.get("Width"),t=n.get("Height");"number"==typeof e&&e>0&&"number"==typeof t&&t>0&&(r.bbox=[0,0,e,t])}}const s=e.dict.get("Lang");"string"==typeof s&&(r.lang=stringToPDFString(s));for(const t of e.kids){const e=t.type===Gn?t.parentNode:null;e?nodeToSerializable(e,r,a+1):t.type===Hn||t.type===Wn?r.children.push({type:"content",id:`p${t.pageObjId}_mc${t.mcid}`}):t.type===zn?r.children.push({type:"object",id:t.refObjId}):t.type===$n&&r.children.push({type:"annotation",id:`pdfjs_internal_id_${t.refObjId}`})}}const e=Object.create(null);e.children=[];e.role="Root";for(const t of this.nodes)t&&nodeToSerializable(t,e);return e}}const Vn=function _isValidExplicitDest(e,t,a){if(!Array.isArray(a)||a.length<2)return!1;const[r,i,...n]=a;if(!e(r)&&!Number.isInteger(r))return!1;if(!t(i))return!1;const s=n.length;let o=!0;switch(i.name){case"XYZ":if(s<2||s>3)return!1;break;case"Fit":case"FitB":return 0===s;case"FitH":case"FitBH":case"FitV":case"FitBV":if(s>1)return!1;break;case"FitR":if(4!==s)return!1;o=!1;break;default:return!1}for(const e of n)if(!("number"==typeof e||o&&null===e))return!1;return!0}.bind(null,(e=>e instanceof Ref),isName);function fetchDest(e){e instanceof Dict&&(e=e.get("D"));return Vn(e)?e:null}function fetchRemoteDest(e){let t=e.get("D");if(t){t instanceof Name&&(t=t.name);if("string"==typeof t)return stringToPDFString(t,!0);if(Vn(t))return JSON.stringify(t)}return null}class Catalog{#re=null;#ie=null;builtInCMapCache=new Map;fontCache=new RefSetCache;globalColorSpaceCache=new GlobalColorSpaceCache;globalImageCache=new GlobalImageCache;nonBlendModesSet=new RefSet;pageDictCache=new RefSetCache;pageIndexCache=new RefSetCache;pageKidsCountCache=new RefSetCache;standardFontDataCache=new Map;systemFontCache=new Map;constructor(e,t){this.pdfManager=e;this.xref=t;this.#ie=t.getCatalogObj();if(!(this.#ie instanceof Dict))throw new FormatError("Catalog object is not a dictionary.");this.toplevelPagesDict}cloneDict(){return this.#ie.clone()}get version(){const e=this.#ie.get("Version");if(e instanceof Name){if(Ca.test(e.name))return shadow(this,"version",e.name);warn(`Invalid PDF catalog version: ${e.name}`)}return shadow(this,"version",null)}get lang(){const e=this.#ie.get("Lang");return shadow(this,"lang",e&&"string"==typeof e?stringToPDFString(e):null)}get needsRendering(){const e=this.#ie.get("NeedsRendering");return shadow(this,"needsRendering","boolean"==typeof e&&e)}get collection(){let e=null;try{const t=this.#ie.get("Collection");t instanceof Dict&&t.size>0&&(e=t)}catch(e){if(e instanceof MissingDataException)throw e;info("Cannot fetch Collection entry; assuming no collection is present.")}return shadow(this,"collection",e)}get acroForm(){let e=null;try{const t=this.#ie.get("AcroForm");t instanceof Dict&&t.size>0&&(e=t)}catch(e){if(e instanceof MissingDataException)throw e;info("Cannot fetch AcroForm entry; assuming no forms are present.")}return shadow(this,"acroForm",e)}get acroFormRef(){const e=this.#ie.getRaw("AcroForm");return shadow(this,"acroFormRef",e instanceof Ref?e:null)}get metadata(){const e=this.#ie.getRaw("Metadata");if(!(e instanceof Ref))return shadow(this,"metadata",null);let t=null;try{const a=this.xref.fetch(e,!this.xref.encrypt?.encryptMetadata);if(a instanceof BaseStream&&a.dict instanceof Dict){const e=a.dict.get("Type"),r=a.dict.get("Subtype");if(isName(e,"Metadata")&&isName(r,"XML")){const e=stringToUTF8String(a.getString());e&&(t=new MetadataParser(e).serializable)}}}catch(e){if(e instanceof MissingDataException)throw e;info(`Skipping invalid Metadata: "${e}".`)}return shadow(this,"metadata",t)}get markInfo(){let e=null;try{e=this.#ne()}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable to read mark info.")}return shadow(this,"markInfo",e)}#ne(){const e=this.#ie.get("MarkInfo");if(!(e instanceof Dict))return null;const t={Marked:!1,UserProperties:!1,Suspects:!1};for(const a in t){const r=e.get(a);"boolean"==typeof r&&(t[a]=r)}return t}get structTreeRoot(){let e=null;try{e=this.#se()}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable read to structTreeRoot info.")}return shadow(this,"structTreeRoot",e)}#se(){const e=this.#ie.getRaw("StructTreeRoot"),t=this.xref.fetchIfRef(e);if(!(t instanceof Dict))return null;const a=new StructTreeRoot(this.xref,t,e);a.init();return a}get toplevelPagesDict(){const e=this.#ie.get("Pages");if(!(e instanceof Dict))throw new FormatError("Invalid top-level pages dictionary.");return shadow(this,"toplevelPagesDict",e)}get documentOutline(){let e=null;try{e=this.#oe()}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable to read document outline.")}return shadow(this,"documentOutline",e)}#oe(){let e=this.#ie.get("Outlines");if(!(e instanceof Dict))return null;e=e.getRaw("First");if(!(e instanceof Ref))return null;const t={items:[]},a=[{obj:e,parent:t}],r=new RefSet;r.put(e);const i=this.xref,n=new Uint8ClampedArray(3);for(;a.length>0;){const t=a.shift(),s=i.fetchIfRef(t.obj);if(null===s)continue;s.has("Title")||warn("Invalid outline item encountered.");const o={url:null,dest:null,action:null};Catalog.parseDestDictionary({destDict:s,resultObj:o,docBaseUrl:this.baseUrl,docAttachments:this.attachments});const c=s.get("Title"),l=s.get("F")||0,h=s.getArray("C"),u=s.get("Count");let d=n;!isNumberArray(h,3)||0===h[0]&&0===h[1]&&0===h[2]||(d=ColorSpaceUtils.rgb.getRgb(h,0));const f={action:o.action,attachment:o.attachment,dest:o.dest,url:o.url,unsafeUrl:o.unsafeUrl,newWindow:o.newWindow,setOCGState:o.setOCGState,title:"string"==typeof c?stringToPDFString(c):"",color:d,count:Number.isInteger(u)?u:void 0,bold:!!(2&l),italic:!!(1&l),items:[]};t.parent.items.push(f);e=s.getRaw("First");if(e instanceof Ref&&!r.has(e)){a.push({obj:e,parent:f});r.put(e)}e=s.getRaw("Next");if(e instanceof Ref&&!r.has(e)){a.push({obj:e,parent:t.parent});r.put(e)}}return t.items.length>0?t.items:null}get permissions(){let e=null;try{e=this.#ce()}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable to read permissions.")}return shadow(this,"permissions",e)}#ce(){const e=this.xref.trailer.get("Encrypt");if(!(e instanceof Dict))return null;let t=e.get("P");if("number"!=typeof t)return null;t+=2**32;const a=[];for(const e in w){const r=w[e];t&r&&a.push(r)}return a}get optionalContentConfig(){let e=null;try{const t=this.#ie.get("OCProperties");if(!t)return shadow(this,"optionalContentConfig",null);const a=t.get("D");if(!a)return shadow(this,"optionalContentConfig",null);const r=t.get("OCGs");if(!Array.isArray(r))return shadow(this,"optionalContentConfig",null);const i=new RefSetCache;for(const e of r)e instanceof Ref&&!i.has(e)&&i.put(e,this.#le(e));e=this.#he(a,i)}catch(e){if(e instanceof MissingDataException)throw e;warn(`Unable to read optional content config: ${e}`)}return shadow(this,"optionalContentConfig",e)}#le(e){const t=this.xref.fetch(e),a={id:e.toString(),name:null,intent:null,usage:{print:null,view:null},rbGroups:[]},r=t.get("Name");"string"==typeof r&&(a.name=stringToPDFString(r));let i=t.getArray("Intent");Array.isArray(i)||(i=[i]);i.every((e=>e instanceof Name))&&(a.intent=i.map((e=>e.name)));const n=t.get("Usage");if(!(n instanceof Dict))return a;const s=a.usage,o=n.get("Print");if(o instanceof Dict){const e=o.get("PrintState");if(e instanceof Name)switch(e.name){case"ON":case"OFF":s.print={printState:e.name}}}const c=n.get("View");if(c instanceof Dict){const e=c.get("ViewState");if(e instanceof Name)switch(e.name){case"ON":case"OFF":s.view={viewState:e.name}}}return a}#he(e,t){function parseOnOff(e){const a=[];if(Array.isArray(e))for(const r of e)r instanceof Ref&&t.has(r)&&a.push(r.toString());return a}function parseOrder(e,a=0){if(!Array.isArray(e))return null;const i=[];for(const n of e){if(n instanceof Ref&&t.has(n)){r.put(n);i.push(n.toString());continue}const e=parseNestedOrder(n,a);e&&i.push(e)}if(a>0)return i;const n=[];for(const[e]of t.items())r.has(e)||n.push(e.toString());n.length&&i.push({name:null,order:n});return i}function parseNestedOrder(e,t){if(++t>i){warn("parseNestedOrder - reached MAX_NESTED_LEVELS.");return null}const r=a.fetchIfRef(e);if(!Array.isArray(r))return null;const n=a.fetchIfRef(r[0]);if("string"!=typeof n)return null;const s=parseOrder(r.slice(1),t);return s?.length?{name:stringToPDFString(n),order:s}:null}const a=this.xref,r=new RefSet,i=10;!function parseRBGroups(e){if(Array.isArray(e))for(const r of e){const e=a.fetchIfRef(r);if(!Array.isArray(e)||!e.length)continue;const i=new Set;for(const a of e)if(a instanceof Ref&&t.has(a)&&!i.has(a.toString())){i.add(a.toString());t.get(a).rbGroups.push(i)}}}(e.get("RBGroups"));return{name:"string"==typeof e.get("Name")?stringToPDFString(e.get("Name")):null,creator:"string"==typeof e.get("Creator")?stringToPDFString(e.get("Creator")):null,baseState:e.get("BaseState")instanceof Name?e.get("BaseState").name:null,on:parseOnOff(e.get("ON")),off:parseOnOff(e.get("OFF")),order:parseOrder(e.get("Order")),groups:[...t]}}setActualNumPages(e=null){this.#re=e}get hasActualNumPages(){return null!==this.#re}get _pagesCount(){const e=this.toplevelPagesDict.get("Count");if(!Number.isInteger(e))throw new FormatError("Page count in top-level pages dictionary is not an integer.");return shadow(this,"_pagesCount",e)}get numPages(){return this.#re??this._pagesCount}get destinations(){const e=this.#ue(),t=Object.create(null);for(const a of e)if(a instanceof NameTree)for(const[e,r]of a.getAll()){const a=fetchDest(r);a&&(t[stringToPDFString(e,!0)]=a)}else if(a instanceof Dict)for(const[e,r]of a){const a=fetchDest(r);a&&(t[stringToPDFString(e,!0)]||=a)}return shadow(this,"destinations",t)}getDestination(e){if(this.hasOwnProperty("destinations"))return this.destinations[e]??null;const t=this.#ue();for(const a of t)if(a instanceof NameTree||a instanceof Dict){const t=fetchDest(a.get(e));if(t)return t}if(t.length){const t=this.destinations[e];if(t)return t}return null}#ue(){const e=this.#ie.get("Names"),t=[];e?.has("Dests")&&t.push(new NameTree(e.getRaw("Dests"),this.xref));this.#ie.has("Dests")&&t.push(this.#ie.get("Dests"));return t}get pageLabels(){let e=null;try{e=this.#de()}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable to read page labels.")}return shadow(this,"pageLabels",e)}#de(){const e=this.#ie.getRaw("PageLabels");if(!e)return null;const t=new Array(this.numPages);let a=null,r="";const i=new NumberTree(e,this.xref).getAll();let n="",s=1;for(let e=0,o=this.numPages;e=1))throw new FormatError("Invalid start in PageLabel dictionary.");s=e}else s=1}switch(a){case"D":n=s;break;case"R":case"r":n=toRomanNumerals(s,"r"===a);break;case"A":case"a":const e=26,t="a"===a?97:65,r=s-1;n=String.fromCharCode(t+r%e).repeat(Math.floor(r/e)+1);break;default:if(a)throw new FormatError(`Invalid style "${a}" in PageLabel dictionary.`);n=""}t[e]=r+n;s++}return t}get pageLayout(){const e=this.#ie.get("PageLayout");let t="";if(e instanceof Name)switch(e.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":t=e.name}return shadow(this,"pageLayout",t)}get pageMode(){const e=this.#ie.get("PageMode");let t="UseNone";if(e instanceof Name)switch(e.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":t=e.name}return shadow(this,"pageMode",t)}get viewerPreferences(){const e=this.#ie.get("ViewerPreferences");if(!(e instanceof Dict))return shadow(this,"viewerPreferences",null);let t=null;for(const[a,r]of e){let e;switch(a){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":"boolean"==typeof r&&(e=r);break;case"NonFullScreenPageMode":if(r instanceof Name)switch(r.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":e=r.name;break;default:e="UseNone"}break;case"Direction":if(r instanceof Name)switch(r.name){case"L2R":case"R2L":e=r.name;break;default:e="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(r instanceof Name)switch(r.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":e=r.name;break;default:e="CropBox"}break;case"PrintScaling":if(r instanceof Name)switch(r.name){case"None":case"AppDefault":e=r.name;break;default:e="AppDefault"}break;case"Duplex":if(r instanceof Name)switch(r.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":e=r.name;break;default:e="None"}break;case"PrintPageRange":if(Array.isArray(r)&&r.length%2==0){r.every(((e,t,a)=>Number.isInteger(e)&&e>0&&(0===t||e>=a[t-1])&&e<=this.numPages))&&(e=r)}break;case"NumCopies":Number.isInteger(r)&&r>0&&(e=r);break;default:warn(`Ignoring non-standard key in ViewerPreferences: ${a}.`);continue}if(void 0!==e){t??=Object.create(null);t[a]=e}else warn(`Bad value, for key "${a}", in ViewerPreferences: ${r}.`)}return shadow(this,"viewerPreferences",t)}get openAction(){const e=this.#ie.get("OpenAction"),t=Object.create(null);if(e instanceof Dict){const a=new Dict(this.xref);a.set("A",e);const r={url:null,dest:null,action:null};Catalog.parseDestDictionary({destDict:a,resultObj:r});Array.isArray(r.dest)?t.dest=r.dest:r.action&&(t.action=r.action)}else Vn(e)&&(t.dest=e);return shadow(this,"openAction",objectSize(t)>0?t:null)}get attachments(){const e=this.#ie.get("Names");let t=null;if(e instanceof Dict&&e.has("EmbeddedFiles")){const a=new NameTree(e.getRaw("EmbeddedFiles"),this.xref);for(const[e,r]of a.getAll()){const a=new FileSpec(r,this.xref);t??=Object.create(null);t[stringToPDFString(e,!0)]=a.serializable}}return shadow(this,"attachments",t)}get xfaImages(){const e=this.#ie.get("Names");let t=null;if(e instanceof Dict&&e.has("XFAImages")){const a=new NameTree(e.getRaw("XFAImages"),this.xref);for(const[e,r]of a.getAll())if(r instanceof BaseStream){t??=new Map;t.set(stringToPDFString(e,!0),r.getBytes())}}return shadow(this,"xfaImages",t)}#fe(){const e=this.#ie.get("Names");let t=null;function appendIfJavaScriptDict(e,a){if(!(a instanceof Dict))return;if(!isName(a.get("S"),"JavaScript"))return;let r=a.get("JS");if(r instanceof BaseStream)r=r.getString();else if("string"!=typeof r)return;r=stringToPDFString(r,!0).replaceAll("\0","");r&&(t||=new Map).set(e,r)}if(e instanceof Dict&&e.has("JavaScript")){const t=new NameTree(e.getRaw("JavaScript"),this.xref);for(const[e,a]of t.getAll())appendIfJavaScriptDict(stringToPDFString(e,!0),a)}const a=this.#ie.get("OpenAction");a&&appendIfJavaScriptDict("OpenAction",a);return t}get jsActions(){const e=this.#fe();let t=collectActions(this.xref,this.#ie,we);if(e){t||=Object.create(null);for(const[a,r]of e)a in t?t[a].push(r):t[a]=[r]}return shadow(this,"jsActions",t)}async cleanup(e=!1){clearGlobalCaches();this.globalColorSpaceCache.clear();this.globalImageCache.clear(e);this.pageKidsCountCache.clear();this.pageIndexCache.clear();this.pageDictCache.clear();this.nonBlendModesSet.clear();for(const{dict:e}of await Promise.all(this.fontCache))delete e.cacheKey;this.fontCache.clear();this.builtInCMapCache.clear();this.standardFontDataCache.clear();this.systemFontCache.clear()}async getPageDict(e){const t=[this.toplevelPagesDict],a=new RefSet,r=this.#ie.getRaw("Pages");r instanceof Ref&&a.put(r);const i=this.xref,n=this.pageKidsCountCache,s=this.pageIndexCache,o=this.pageDictCache;let c=0;for(;t.length;){const r=t.pop();if(r instanceof Ref){const l=n.get(r);if(l>=0&&c+l<=e){c+=l;continue}if(a.has(r))throw new FormatError("Pages tree contains circular reference.");a.put(r);const h=await(o.get(r)||i.fetchAsync(r));if(h instanceof Dict){let t=h.getRaw("Type");t instanceof Ref&&(t=await i.fetchAsync(t));if(isName(t,"Page")||!h.has("Kids")){n.has(r)||n.put(r,1);s.has(r)||s.put(r,c);if(c===e)return[h,r];c++;continue}}t.push(h);continue}if(!(r instanceof Dict))throw new FormatError("Page dictionary kid reference points to wrong type of object.");const{objId:l}=r;let h=r.getRaw("Count");h instanceof Ref&&(h=await i.fetchAsync(h));if(Number.isInteger(h)&&h>=0){l&&!n.has(l)&&n.put(l,h);if(c+h<=e){c+=h;continue}}let u=r.getRaw("Kids");u instanceof Ref&&(u=await i.fetchAsync(u));if(!Array.isArray(u)){let t=r.getRaw("Type");t instanceof Ref&&(t=await i.fetchAsync(t));if(isName(t,"Page")||!r.has("Kids")){if(c===e)return[r,null];c++;continue}throw new FormatError("Page dictionary kids object is not an array.")}for(let e=u.length-1;e>=0;e--){const a=u[e];t.push(a);r===this.toplevelPagesDict&&a instanceof Ref&&!o.has(a)&&o.put(a,i.fetchAsync(a))}}throw new Error(`Page index ${e} not found.`)}async getAllPageDicts(e=!1){const{ignoreErrors:t}=this.pdfManager.evaluatorOptions,a=[{currentNode:this.toplevelPagesDict,posInKids:0}],r=new RefSet,i=this.#ie.getRaw("Pages");i instanceof Ref&&r.put(i);const n=new Map,s=this.xref,o=this.pageIndexCache;let c=0;function addPageDict(e,t){t&&!o.has(t)&&o.put(t,c);n.set(c++,[e,t])}function addPageError(a){if(a instanceof XRefEntryException&&!e)throw a;if(e&&t&&0===c){warn(`getAllPageDicts - Skipping invalid first page: "${a}".`);a=Dict.empty}n.set(c++,[a,null])}for(;a.length>0;){const e=a.at(-1),{currentNode:t,posInKids:i}=e;let n=t.getRaw("Kids");if(n instanceof Ref)try{n=await s.fetchAsync(n)}catch(e){addPageError(e);break}if(!Array.isArray(n)){addPageError(new FormatError("Page dictionary kids object is not an array."));break}if(i>=n.length){a.pop();continue}const o=n[i];let c;if(o instanceof Ref){if(r.has(o)){addPageError(new FormatError("Pages tree contains circular reference."));break}r.put(o);try{c=await s.fetchAsync(o)}catch(e){addPageError(e);break}}else c=o;if(!(c instanceof Dict)){addPageError(new FormatError("Page dictionary kid reference points to wrong type of object."));break}let l=c.getRaw("Type");if(l instanceof Ref)try{l=await s.fetchAsync(l)}catch(e){addPageError(e);break}isName(l,"Page")||!c.has("Kids")?addPageDict(c,o instanceof Ref?o:null):a.push({currentNode:c,posInKids:0});e.posInKids++}return n}getPageIndex(e){const t=this.pageIndexCache.get(e);if(void 0!==t)return Promise.resolve(t);const a=this.xref;let r=0;const next=t=>function pagesBeforeRef(t){let r,i=0;return a.fetchAsync(t).then((function(a){if(isRefsEqual(t,e)&&!isDict(a,"Page")&&!(a instanceof Dict&&!a.has("Type")&&a.has("Contents")))throw new FormatError("The reference does not point to a /Page dictionary.");if(!a)return null;if(!(a instanceof Dict))throw new FormatError("Node must be a dictionary.");r=a.getRaw("Parent");return a.getAsync("Parent")})).then((function(e){if(!e)return null;if(!(e instanceof Dict))throw new FormatError("Parent must be a dictionary.");return e.getAsync("Kids")})).then((function(e){if(!e)return null;const n=[];let s=!1;for(const r of e){if(!(r instanceof Ref))throw new FormatError("Kid must be a reference.");if(isRefsEqual(r,t)){s=!0;break}n.push(a.fetchAsync(r).then((function(e){if(!(e instanceof Dict))throw new FormatError("Kid node must be a dictionary.");e.has("Count")?i+=e.get("Count"):i++})))}if(!s)throw new FormatError("Kid reference not found in parent's kids.");return Promise.all(n).then((()=>[i,r]))}))}(t).then((t=>{if(!t){this.pageIndexCache.put(e,r);return r}const[a,i]=t;r+=a;return next(i)}));return next(e)}get baseUrl(){const e=this.#ie.get("URI");if(e instanceof Dict){const t=e.get("Base");if("string"==typeof t){const e=createValidAbsoluteUrl(t,null,{tryConvertEncoding:!0});if(e)return shadow(this,"baseUrl",e.href)}}return shadow(this,"baseUrl",this.pdfManager.docBaseUrl)}static parseDestDictionary({destDict:e,resultObj:t,docBaseUrl:a=null,docAttachments:r=null}){if(!(e instanceof Dict)){warn("parseDestDictionary: `destDict` must be a dictionary.");return}let i,n,s=e.get("A");if(!(s instanceof Dict))if(e.has("Dest"))s=e.get("Dest");else{s=e.get("AA");s instanceof Dict&&(s.has("D")?s=s.get("D"):s.has("U")&&(s=s.get("U")))}if(s instanceof Dict){const e=s.get("S");if(!(e instanceof Name)){warn("parseDestDictionary: Invalid type in Action dictionary.");return}const a=e.name;switch(a){case"ResetForm":const e=s.get("Flags"),o=!(1&("number"==typeof e?e:0)),c=[],l=[];for(const e of s.get("Fields")||[])e instanceof Ref?l.push(e.toString()):"string"==typeof e&&c.push(stringToPDFString(e));t.resetForm={fields:c,refs:l,include:o};break;case"URI":i=s.get("URI");i instanceof Name&&(i="/"+i.name);break;case"GoTo":n=s.get("D");break;case"Launch":case"GoToR":const h=s.get("F");if(h instanceof Dict){const e=new FileSpec(h,null,!0),{rawFilename:t}=e.serializable;i=t}else"string"==typeof h&&(i=h);const u=fetchRemoteDest(s);u&&"string"==typeof i&&(i=i.split("#",1)[0]+"#"+u);const d=s.get("NewWindow");"boolean"==typeof d&&(t.newWindow=d);break;case"GoToE":const f=s.get("T");let g;if(r&&f instanceof Dict){const e=f.get("R"),t=f.get("N");isName(e,"C")&&"string"==typeof t&&(g=r[stringToPDFString(t,!0)])}if(g){t.attachment=g;const e=fetchRemoteDest(s);e&&(t.attachmentDest=e)}else warn('parseDestDictionary - unimplemented "GoToE" action.');break;case"Named":const p=s.get("N");p instanceof Name&&(t.action=p.name);break;case"SetOCGState":const m=s.get("State"),b=s.get("PreserveRB");if(!Array.isArray(m)||0===m.length)break;const y=[];for(const e of m)if(e instanceof Name)switch(e.name){case"ON":case"OFF":case"Toggle":y.push(e.name)}else e instanceof Ref&&y.push(e.toString());if(y.length!==m.length)break;t.setOCGState={state:y,preserveRB:"boolean"!=typeof b||b};break;case"JavaScript":const w=s.get("JS");let S;w instanceof BaseStream?S=w.getString():"string"==typeof w&&(S=w);const x=S&&recoverJsURL(stringToPDFString(S,!0));if(x){i=x.url;t.newWindow=x.newWindow;break}default:if("JavaScript"===a||"SubmitForm"===a)break;warn(`parseDestDictionary - unsupported action: "${a}".`)}}else e.has("Dest")&&(n=e.get("Dest"));if("string"==typeof i){const e=createValidAbsoluteUrl(i,a,{addDefaultProtocol:!0,tryConvertEncoding:!0});e&&(t.url=e.href);t.unsafeUrl=i}if(n){n instanceof Name&&(n=n.name);"string"==typeof n?t.dest=stringToPDFString(n,!0):Vn(n)&&(t.dest=n)}}}function addChildren(e,t){if(e instanceof Dict)e=e.getRawValues();else if(e instanceof BaseStream)e=e.dict.getRawValues();else if(!Array.isArray(e))return;for(const r of e)((a=r)instanceof Ref||a instanceof Dict||a instanceof BaseStream||Array.isArray(a))&&t.push(r);var a}class ObjectLoader{refSet=new RefSet;constructor(e,t,a){this.dict=e;this.keys=t;this.xref=a}async load(){const{keys:e,dict:t}=this,a=[];for(const r of e){const e=t.getRaw(r);void 0!==e&&a.push(e)}await this.#ge(a);this.refSet=null}async#ge(e){const t=[],a=[];for(;e.length;){let r=e.pop();if(r instanceof Ref){if(this.refSet.has(r))continue;try{this.refSet.put(r);r=this.xref.fetch(r)}catch(e){if(!(e instanceof MissingDataException)){warn(`ObjectLoader.#walk - requesting all data: "${e}".`);await this.xref.stream.manager.requestAllChunks();return}t.push(r);a.push({begin:e.begin,end:e.end})}}if(r instanceof BaseStream){const e=r.getBaseStreams();if(e){let i=!1;for(const t of e)if(!t.isDataLoaded){i=!0;a.push({begin:t.start,end:t.end})}i&&t.push(r)}}addChildren(r,e)}if(a.length){await this.xref.stream.manager.requestRanges(a);for(const e of t)e instanceof Ref&&this.refSet.remove(e);await this.#ge(t)}}static async load(e,t,a){if(a.stream.isDataLoaded)return;const r=new ObjectLoader(e,t,a);await r.load()}}const Kn=Symbol(),Jn=Symbol(),Yn=Symbol(),Zn=Symbol(),Qn=Symbol(),es=Symbol(),ts=Symbol(),as=Symbol(),rs=Symbol(),is=Symbol("content"),ns=Symbol("data"),ss=Symbol(),os=Symbol("extra"),cs=Symbol(),ls=Symbol(),hs=Symbol(),us=Symbol(),ds=Symbol(),fs=Symbol(),gs=Symbol(),ps=Symbol(),ms=Symbol(),bs=Symbol(),ys=Symbol(),ws=Symbol(),Ss=Symbol(),xs=Symbol(),As=Symbol(),ks=Symbol(),Cs=Symbol(),vs=Symbol(),Fs=Symbol(),Is=Symbol(),Os=Symbol(),Ts=Symbol(),Ms=Symbol(),Ds=Symbol(),Bs=Symbol(),Rs=Symbol(),Ns=Symbol(),Es=Symbol(),Ls=Symbol(),js=Symbol(),_s=Symbol(),Us=Symbol(),Xs=Symbol("namespaceId"),qs=Symbol("nodeName"),Hs=Symbol(),Ws=Symbol(),zs=Symbol(),$s=Symbol(),Gs=Symbol(),Vs=Symbol(),Ks=Symbol(),Js=Symbol(),Ys=Symbol("root"),Zs=Symbol(),Qs=Symbol(),eo=Symbol(),to=Symbol(),ao=Symbol(),ro=Symbol(),io=Symbol(),no=Symbol(),so=Symbol(),oo=Symbol(),co=Symbol(),lo=Symbol("uid"),ho=Symbol(),uo={config:{id:0,check:e=>e.startsWith("http://www.xfa.org/schema/xci/")},connectionSet:{id:1,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-connection-set/")},datasets:{id:2,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-data/")},form:{id:3,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-form/")},localeSet:{id:4,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-locale-set/")},pdf:{id:5,check:e=>"http://ns.adobe.com/xdp/pdf/"===e},signature:{id:6,check:e=>"http://www.w3.org/2000/09/xmldsig#"===e},sourceSet:{id:7,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-source-set/")},stylesheet:{id:8,check:e=>"http://www.w3.org/1999/XSL/Transform"===e},template:{id:9,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-template/")},xdc:{id:10,check:e=>e.startsWith("http://www.xfa.org/schema/xdc/")},xdp:{id:11,check:e=>"http://ns.adobe.com/xdp/"===e},xfdf:{id:12,check:e=>"http://ns.adobe.com/xfdf/"===e},xhtml:{id:13,check:e=>"http://www.w3.org/1999/xhtml"===e},xmpmeta:{id:14,check:e=>"http://ns.adobe.com/xmpmeta/"===e}},fo={pt:e=>e,cm:e=>e/2.54*72,mm:e=>e/25.4*72,in:e=>72*e,px:e=>e},go=/([+-]?\d+\.?\d*)(.*)/;function stripQuotes(e){return e.startsWith("'")||e.startsWith('"')?e.slice(1,-1):e}function getInteger({data:e,defaultValue:t,validate:a}){if(!e)return t;e=e.trim();const r=parseInt(e,10);return!isNaN(r)&&a(r)?r:t}function getFloat({data:e,defaultValue:t,validate:a}){if(!e)return t;e=e.trim();const r=parseFloat(e);return!isNaN(r)&&a(r)?r:t}function getKeyword({data:e,defaultValue:t,validate:a}){return e&&a(e=e.trim())?e:t}function getStringOption(e,t){return getKeyword({data:e,defaultValue:t[0],validate:e=>t.includes(e)})}function getMeasurement(e,t="0"){t||="0";if(!e)return getMeasurement(t);const a=e.trim().match(go);if(!a)return getMeasurement(t);const[,r,i]=a,n=parseFloat(r);if(isNaN(n))return getMeasurement(t);if(0===n)return 0;const s=fo[i];return s?s(n):n}function getRatio(e){if(!e)return{num:1,den:1};const t=e.split(":",2).map((e=>parseFloat(e.trim()))).filter((e=>!isNaN(e)));1===t.length&&t.push(1);if(0===t.length)return{num:1,den:1};const[a,r]=t;return{num:a,den:r}}function getRelevant(e){return e?e.trim().split(/\s+/).map((e=>({excluded:"-"===e[0],viewname:e.substring(1)}))):[]}class HTMLResult{static get FAILURE(){return shadow(this,"FAILURE",new HTMLResult(!1,null,null,null))}static get EMPTY(){return shadow(this,"EMPTY",new HTMLResult(!0,null,null,null))}constructor(e,t,a,r){this.success=e;this.html=t;this.bbox=a;this.breakNode=r}isBreak(){return!!this.breakNode}static breakNode(e){return new HTMLResult(!1,null,null,e)}static success(e,t=null){return new HTMLResult(!0,e,t,null)}}class FontFinder{constructor(e){this.fonts=new Map;this.cache=new Map;this.warned=new Set;this.defaultFont=null;this.add(e)}add(e,t=null){for(const t of e)this.addPdfFont(t);for(const e of this.fonts.values())e.regular||(e.regular=e.italic||e.bold||e.bolditalic);if(!t||0===t.size)return;const a=this.fonts.get("PdfJS-Fallback-PdfJS-XFA");for(const e of t)this.fonts.set(e,a)}addPdfFont(e){const t=e.cssFontInfo,a=t.fontFamily;let r=this.fonts.get(a);if(!r){r=Object.create(null);this.fonts.set(a,r);this.defaultFont||(this.defaultFont=r)}let i="";const n=parseFloat(t.fontWeight);0!==parseFloat(t.italicAngle)?i=n>=700?"bolditalic":"italic":n>=700&&(i="bold");if(!i){(e.name.includes("Bold")||e.psName?.includes("Bold"))&&(i="bold");(e.name.includes("Italic")||e.name.endsWith("It")||e.psName?.includes("Italic")||e.psName?.endsWith("It"))&&(i+="italic")}i||(i="regular");r[i]=e}getDefault(){return this.defaultFont}find(e,t=!0){let a=this.fonts.get(e)||this.cache.get(e);if(a)return a;const r=/,|-|_| |bolditalic|bold|italic|regular|it/gi;let i=e.replaceAll(r,"");a=this.fonts.get(i);if(a){this.cache.set(e,a);return a}i=i.toLowerCase();const n=[];for(const[e,t]of this.fonts.entries())e.replaceAll(r,"").toLowerCase().startsWith(i)&&n.push(t);if(0===n.length)for(const[,e]of this.fonts.entries())e.regular.name?.replaceAll(r,"").toLowerCase().startsWith(i)&&n.push(e);if(0===n.length){i=i.replaceAll(/psmt|mt/gi,"");for(const[e,t]of this.fonts.entries())e.replaceAll(r,"").toLowerCase().startsWith(i)&&n.push(t)}if(0===n.length)for(const e of this.fonts.values())e.regular.name?.replaceAll(r,"").toLowerCase().startsWith(i)&&n.push(e);if(n.length>=1){1!==n.length&&t&&warn(`XFA - Too many choices to guess the correct font: ${e}`);this.cache.set(e,n[0]);return n[0]}if(t&&!this.warned.has(e)){this.warned.add(e);warn(`XFA - Cannot find the font: ${e}`)}return null}}function selectFont(e,t){return"italic"===e.posture?"bold"===e.weight?t.bolditalic:t.italic:"bold"===e.weight?t.bold:t.regular}class FontInfo{constructor(e,t,a,r){this.lineHeight=a;this.paraMargin=t||{top:0,bottom:0,left:0,right:0};if(!e){[this.pdfFont,this.xfaFont]=this.defaultFont(r);return}this.xfaFont={typeface:e.typeface,posture:e.posture,weight:e.weight,size:e.size,letterSpacing:e.letterSpacing};const i=r.find(e.typeface);if(i){this.pdfFont=selectFont(e,i);this.pdfFont||([this.pdfFont,this.xfaFont]=this.defaultFont(r))}else[this.pdfFont,this.xfaFont]=this.defaultFont(r)}defaultFont(e){const t=e.find("Helvetica",!1)||e.find("Myriad Pro",!1)||e.find("Arial",!1)||e.getDefault();if(t?.regular){const e=t.regular;return[e,{typeface:e.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0}]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}class FontSelector{constructor(e,t,a,r){this.fontFinder=r;this.stack=[new FontInfo(e,t,a,r)]}pushData(e,t,a){const r=this.stack.at(-1);for(const t of["typeface","posture","weight","size","letterSpacing"])e[t]||(e[t]=r.xfaFont[t]);for(const e of["top","bottom","left","right"])isNaN(t[e])&&(t[e]=r.paraMargin[e]);const i=new FontInfo(e,t,a||r.lineHeight,this.fontFinder);i.pdfFont||(i.pdfFont=r.pdfFont);this.stack.push(i)}popFont(){this.stack.pop()}topFont(){return this.stack.at(-1)}}class TextMeasure{constructor(e,t,a,r){this.glyphs=[];this.fontSelector=new FontSelector(e,t,a,r);this.extraHeight=0}pushData(e,t,a){this.fontSelector.pushData(e,t,a)}popFont(e){return this.fontSelector.popFont()}addPara(){const e=this.fontSelector.topFont();this.extraHeight+=e.paraMargin.top+e.paraMargin.bottom}addString(e){if(!e)return;const t=this.fontSelector.topFont(),a=t.xfaFont.size;if(t.pdfFont){const r=t.xfaFont.letterSpacing,i=t.pdfFont,n=i.lineHeight||1.2,s=t.lineHeight||Math.max(1.2,n)*a,o=n-(void 0===i.lineGap?.2:i.lineGap),c=Math.max(1,o)*a,l=a/1e3,h=i.defaultWidth||i.charsToGlyphs(" ")[0].width;for(const t of e.split(/[\u2029\n]/)){const e=i.encodeString(t).join(""),a=i.charsToGlyphs(e);for(const e of a){const t=e.width||h;this.glyphs.push([t*l+r,s,c,e.unicode,!1])}this.glyphs.push([0,0,0,"\n",!0])}this.glyphs.pop()}else{for(const t of e.split(/[\u2029\n]/)){for(const e of t.split(""))this.glyphs.push([a,1.2*a,a,e,!1]);this.glyphs.push([0,0,0,"\n",!0])}this.glyphs.pop()}}compute(e){let t=-1,a=0,r=0,i=0,n=0,s=0,o=!1,c=!0;for(let l=0,h=this.glyphs.length;le){r=Math.max(r,n);n=0;i+=s;s=m;t=-1;a=0;o=!0;c=!1}else{s=Math.max(m,s);a=n;n+=h;t=l}else if(n+h>e){i+=s;s=m;if(-1!==t){l=t;r=Math.max(r,a);n=0;t=-1;a=0}else{r=Math.max(r,n);n=h}o=!0;c=!1}else{n+=h;s=Math.max(m,s)}}r=Math.max(r,n);i+=s+this.extraHeight;return{width:1.02*r,height:i,isBroken:o}}}const po=/^[^.[]+/,mo=/^[^\]]+/,bo=0,yo=1,wo=2,So=3,xo=4,Ao=new Map([["$data",(e,t)=>e.datasets?e.datasets.data:e],["$record",(e,t)=>(e.datasets?e.datasets.data:e)[ws]()[0]],["$template",(e,t)=>e.template],["$connectionSet",(e,t)=>e.connectionSet],["$form",(e,t)=>e.form],["$layout",(e,t)=>e.layout],["$host",(e,t)=>e.host],["$dataWindow",(e,t)=>e.dataWindow],["$event",(e,t)=>e.event],["!",(e,t)=>e.datasets],["$xfa",(e,t)=>e],["xfa",(e,t)=>e],["$",(e,t)=>t]]),ko=new WeakMap;function parseExpression(e,t,a=!0){let r=e.match(po);if(!r)return null;let[i]=r;const n=[{name:i,cacheName:"."+i,index:0,js:null,formCalc:null,operator:bo}];let s=i.length;for(;s0&&h.push(e)}if(0!==h.length||o||0!==c)e=isFinite(l)?h.filter((e=>le[l])):h.flat();else{const a=t[ks]();if(!(t=a))return null;c=-1;e=[t]}}return 0===e.length?null:e}function createDataNode(e,t,a){const r=parseExpression(a);if(!r)return null;if(r.some((e=>e.operator===yo)))return null;const i=Ao.get(r[0].name);let n=0;if(i){e=i(e,t);n=1}else e=t||e;for(let t=r.length;ne[io]())).join("")}get[Fo](){const e=Object.getPrototypeOf(this);if(!e._attributes){const t=e._attributes=new Set;for(const e of Object.getOwnPropertyNames(this)){if(null===this[e]||this[e]instanceof XFAObject||this[e]instanceof XFAObjectArray)break;t.add(e)}}return shadow(this,Fo,e._attributes)}[Rs](e){let t=this;for(;t;){if(t===e)return!0;t=t[ks]()}return!1}[ks](){return this[jo]}[As](){return this[ks]()}[ws](e=null){return e?this[e]:this[Io]}[ss](){const e=Object.create(null);this[is]&&(e.$content=this[is]);for(const t of Object.getOwnPropertyNames(this)){const a=this[t];null!==a&&(a instanceof XFAObject?e[t]=a[ss]():a instanceof XFAObjectArray?a.isEmpty()||(e[t]=a.dump()):e[t]=a)}return e}[co](){return null}[so](){return HTMLResult.EMPTY}*[Ss](){for(const e of this[ws]())yield e}*[Bo](e,t){for(const a of this[Ss]())if(!e||t===e.has(a[qs])){const e=this[ds](),t=a[so](e);t.success||(this[os].failingNode=a);yield t}}[ls](){return null}[Jn](e,t){this[os].children.push(e)}[ds](){}[Zn]({filter:e=null,include:t=!0}){if(this[os].generator){const e=this[ds](),t=this[os].failingNode[so](e);if(!t.success)return t;t.html&&this[Jn](t.html,t.bbox);delete this[os].failingNode}else this[os].generator=this[Bo](e,t);for(;;){const e=this[os].generator.next();if(e.done)break;const t=e.value;if(!t.success)return t;t.html&&this[Jn](t.html,t.bbox)}this[os].generator=null;return HTMLResult.EMPTY}[to](e){this[Uo]=new Set(Object.keys(e))}[No](e){const t=this[Fo],a=this[Uo];return[...e].filter((e=>t.has(e)&&!a.has(e)))}[Zs](e,t=new Set){for(const a of this[Io])a[_o](e,t)}[_o](e,t){const a=this[Ro](e,t);a?this[Co](a,e,t):this[Zs](e,t)}[Ro](e,t){const{use:a,usehref:r}=this;if(!a&&!r)return null;let i=null,n=null,s=null,o=a;if(r){o=r;r.startsWith("#som(")&&r.endsWith(")")?n=r.slice(5,-1):r.startsWith(".#som(")&&r.endsWith(")")?n=r.slice(6,-1):r.startsWith("#")?s=r.slice(1):r.startsWith(".#")&&(s=r.slice(2))}else a.startsWith("#")?s=a.slice(1):n=a;this.use=this.usehref="";if(s)i=e.get(s);else{i=searchNode(e.get(Ys),this,n,!0,!1);i&&(i=i[0])}if(!i){warn(`XFA - Invalid prototype reference: ${o}.`);return null}if(i[qs]!==this[qs]){warn(`XFA - Incompatible prototype: ${i[qs]} !== ${this[qs]}.`);return null}if(t.has(i)){warn("XFA - Cycle detected in prototypes use.");return null}t.add(i);const c=i[Ro](e,t);c&&i[Co](c,e,t);i[Zs](e,t);t.delete(i);return i}[Co](e,t,a){if(a.has(e)){warn("XFA - Cycle detected in prototypes use.");return}!this[is]&&e[is]&&(this[is]=e[is]);new Set(a).add(e);for(const t of this[No](e[Uo])){this[t]=e[t];this[Uo]&&this[Uo].add(t)}for(const r of Object.getOwnPropertyNames(this)){if(this[Fo].has(r))continue;const i=this[r],n=e[r];if(i instanceof XFAObjectArray){for(const e of i[Io])e[_o](t,a);for(let r=i[Io].length,s=n[Io].length;rXFAObject[Oo](e))):"object"==typeof e&&null!==e?Object.assign({},e):e}[as](){const e=Object.create(Object.getPrototypeOf(this));for(const t of Object.getOwnPropertySymbols(this))try{e[t]=this[t]}catch{shadow(e,t,this[t])}e[lo]=`${e[qs]}${qo++}`;e[Io]=[];for(const t of Object.getOwnPropertyNames(this)){if(this[Fo].has(t)){e[t]=XFAObject[Oo](this[t]);continue}const a=this[t];e[t]=a instanceof XFAObjectArray?new XFAObjectArray(a[Po]):null}for(const t of this[Io]){const a=t[qs],r=t[as]();e[Io].push(r);r[jo]=e;null===e[a]?e[a]=r:e[a][Io].push(r)}return e}[ws](e=null){return e?this[Io].filter((t=>t[qs]===e)):this[Io]}[fs](e){return this[e]}[gs](e,t,a=!0){return Array.from(this[ps](e,t,a))}*[ps](e,t,a=!0){if("parent"!==e){for(const a of this[Io]){a[qs]===e&&(yield a);a.name===e&&(yield a);(t||a[js]())&&(yield*a[ps](e,t,!1))}a&&this[Fo].has(e)&&(yield new XFAAttribute(this,e,this[e]))}else yield this[jo]}}class XFAObjectArray{constructor(e=1/0){this[Po]=e;this[Io]=[]}get isXFAObject(){return!1}get isXFAObjectArray(){return!0}push(e){if(this[Io].length<=this[Po]){this[Io].push(e);return!0}warn(`XFA - node "${e[qs]}" accepts no more than ${this[Po]} children`);return!1}isEmpty(){return 0===this[Io].length}dump(){return 1===this[Io].length?this[Io][0][ss]():this[Io].map((e=>e[ss]()))}[as](){const e=new XFAObjectArray(this[Po]);e[Io]=this[Io].map((e=>e[as]()));return e}get children(){return this[Io]}clear(){this[Io].length=0}}class XFAAttribute{constructor(e,t,a){this[jo]=e;this[qs]=t;this[is]=a;this[rs]=!1;this[lo]="attribute"+qo++}[ks](){return this[jo]}[Bs](){return!0}[ms](){return this[is].trim()}[ao](e){e=e.value||"";this[is]=e.toString()}[io](){return this[is]}[Rs](e){return this[jo]===e||this[jo][Rs](e)}}class XmlObject extends XFAObject{constructor(e,t,a={}){super(e,t);this[is]="";this[Mo]=null;if("#text"!==t){const e=new Map;this[vo]=e;for(const[t,r]of Object.entries(a))e.set(t,new XFAAttribute(this,t,r));if(a.hasOwnProperty(Hs)){const e=a[Hs].xfa.dataNode;void 0!==e&&("dataGroup"===e?this[Mo]=!1:"dataValue"===e&&(this[Mo]=!0))}}this[rs]=!1}[oo](e){const t=this[qs];if("#text"===t){e.push(encodeToXmlString(this[is]));return}const a=utf8StringToString(t),r=this[Xs]===Ho?"xfa:":"";e.push(`<${r}${a}`);for(const[t,a]of this[vo].entries()){const r=utf8StringToString(t);e.push(` ${r}="${encodeToXmlString(a[is])}"`)}null!==this[Mo]&&(this[Mo]?e.push(' xfa:dataNode="dataValue"'):e.push(' xfa:dataNode="dataGroup"'));if(this[is]||0!==this[Io].length){e.push(">");if(this[is])"string"==typeof this[is]?e.push(encodeToXmlString(this[is])):this[is][oo](e);else for(const t of this[Io])t[oo](e);e.push(``)}else e.push("/>")}[Ws](e){if(this[is]){const e=new XmlObject(this[Xs],"#text");this[Yn](e);e[is]=this[is];this[is]=""}this[Yn](e);return!0}[$s](e){this[is]+=e}[cs](){if(this[is]&&this[Io].length>0){const e=new XmlObject(this[Xs],"#text");this[Yn](e);e[is]=this[is];delete this[is]}}[so](){return"#text"===this[qs]?HTMLResult.success({name:"#text",value:this[is]}):HTMLResult.EMPTY}[ws](e=null){return e?this[Io].filter((t=>t[qs]===e)):this[Io]}[us](){return this[vo]}[fs](e){const t=this[vo].get(e);return void 0!==t?t:this[ws](e)}*[ps](e,t){const a=this[vo].get(e);a&&(yield a);for(const a of this[Io]){a[qs]===e&&(yield a);t&&(yield*a[ps](e,t))}}*[hs](e,t){const a=this[vo].get(e);!a||t&&a[rs]||(yield a);for(const a of this[Io])yield*a[hs](e,t)}*[ys](e,t,a){for(const r of this[Io]){r[qs]!==e||a&&r[rs]||(yield r);t&&(yield*r[ys](e,t,a))}}[Bs](){return null===this[Mo]?0===this[Io].length||this[Io][0][Xs]===uo.xhtml.id:this[Mo]}[ms](){return null===this[Mo]?0===this[Io].length?this[is].trim():this[Io][0][Xs]===uo.xhtml.id?this[Io][0][io]().trim():null:this[is].trim()}[ao](e){e=e.value||"";this[is]=e.toString()}[ss](e=!1){const t=Object.create(null);e&&(t.$ns=this[Xs]);this[is]&&(t.$content=this[is]);t.$name=this[qs];t.children=[];for(const a of this[Io])t.children.push(a[ss](e));t.attributes=Object.create(null);for(const[e,a]of this[vo])t.attributes[e]=a[is];return t}}class ContentObject extends XFAObject{constructor(e,t){super(e,t);this[is]=""}[$s](e){this[is]+=e}[cs](){}}class OptionObject extends ContentObject{constructor(e,t,a){super(e,t);this[Lo]=a}[cs](){this[is]=getKeyword({data:this[is],defaultValue:this[Lo][0],validate:e=>this[Lo].includes(e)})}[Qn](e){super[Qn](e);delete this[Lo]}}class StringObject extends ContentObject{[cs](){this[is]=this[is].trim()}}class IntegerObject extends ContentObject{constructor(e,t,a,r){super(e,t);this[Do]=a;this[Xo]=r}[cs](){this[is]=getInteger({data:this[is],defaultValue:this[Do],validate:this[Xo]})}[Qn](e){super[Qn](e);delete this[Do];delete this[Xo]}}class Option01 extends IntegerObject{constructor(e,t){super(e,t,0,(e=>1===e))}}class Option10 extends IntegerObject{constructor(e,t){super(e,t,1,(e=>0===e))}}function measureToString(e){return"string"==typeof e?"0px":Number.isInteger(e)?`${e}px`:`${e.toFixed(2)}px`}const Wo={anchorType(e,t){const a=e[As]();if(a&&(!a.layout||"position"===a.layout)){"transform"in t||(t.transform="");switch(e.anchorType){case"bottomCenter":t.transform+="translate(-50%, -100%)";break;case"bottomLeft":t.transform+="translate(0,-100%)";break;case"bottomRight":t.transform+="translate(-100%,-100%)";break;case"middleCenter":t.transform+="translate(-50%,-50%)";break;case"middleLeft":t.transform+="translate(0,-50%)";break;case"middleRight":t.transform+="translate(-100%,-50%)";break;case"topCenter":t.transform+="translate(-50%,0)";break;case"topRight":t.transform+="translate(-100%,0)"}}},dimensions(e,t){const a=e[As]();let r=e.w;const i=e.h;if(a.layout?.includes("row")){const t=a[os],i=e.colSpan;let n;if(-1===i){n=Math.sumPrecise(t.columnWidths.slice(t.currentColumn));t.currentColumn=0}else{n=Math.sumPrecise(t.columnWidths.slice(t.currentColumn,t.currentColumn+i));t.currentColumn=(t.currentColumn+e.colSpan)%t.columnWidths.length}isNaN(n)||(r=e.w=n)}t.width=""!==r?measureToString(r):"auto";t.height=""!==i?measureToString(i):"auto"},position(e,t){const a=e[As]();if(!a?.layout||"position"===a.layout){t.position="absolute";t.left=measureToString(e.x);t.top=measureToString(e.y)}},rotate(e,t){if(e.rotate){"transform"in t||(t.transform="");t.transform+=`rotate(-${e.rotate}deg)`;t.transformOrigin="top left"}},presence(e,t){switch(e.presence){case"invisible":t.visibility="hidden";break;case"hidden":case"inactive":t.display="none"}},hAlign(e,t){if("para"===e[qs])switch(e.hAlign){case"justifyAll":t.textAlign="justify-all";break;case"radix":t.textAlign="left";break;default:t.textAlign=e.hAlign}else switch(e.hAlign){case"left":t.alignSelf="start";break;case"center":t.alignSelf="center";break;case"right":t.alignSelf="end"}},margin(e,t){e.margin&&(t.margin=e.margin[co]().margin)}};function setMinMaxDimensions(e,t){if("position"===e[As]().layout){e.minW>0&&(t.minWidth=measureToString(e.minW));e.maxW>0&&(t.maxWidth=measureToString(e.maxW));e.minH>0&&(t.minHeight=measureToString(e.minH));e.maxH>0&&(t.maxHeight=measureToString(e.maxH))}}function layoutText(e,t,a,r,i,n){const s=new TextMeasure(t,a,r,i);"string"==typeof e?s.addString(e):e[Gs](s);return s.compute(n)}function layoutNode(e,t){let a=null,r=null,i=!1;if((!e.w||!e.h)&&e.value){let n=0,s=0;if(e.margin){n=e.margin.leftInset+e.margin.rightInset;s=e.margin.topInset+e.margin.bottomInset}let o=null,c=null;if(e.para){c=Object.create(null);o=""===e.para.lineHeight?null:e.para.lineHeight;c.top=""===e.para.spaceAbove?0:e.para.spaceAbove;c.bottom=""===e.para.spaceBelow?0:e.para.spaceBelow;c.left=""===e.para.marginLeft?0:e.para.marginLeft;c.right=""===e.para.marginRight?0:e.para.marginRight}let l=e.font;if(!l){const t=e[Cs]();let a=e[ks]();for(;a&&a!==t;){if(a.font){l=a.font;break}a=a[ks]()}}const h=(e.w||t.width)-n,u=e[vs].fontFinder;if(e.value.exData&&e.value.exData[is]&&"text/html"===e.value.exData.contentType){const t=layoutText(e.value.exData[is],l,c,o,u,h);r=t.width;a=t.height;i=t.isBroken}else{const t=e.value[io]();if(t){const e=layoutText(t,l,c,o,u,h);r=e.width;a=e.height;i=e.isBroken}}null===r||e.w||(r+=n);null===a||e.h||(a+=s)}return{w:r,h:a,isBroken:i}}function computeBbox(e,t,a){let r;if(""!==e.w&&""!==e.h)r=[e.x,e.y,e.w,e.h];else{if(!a)return null;let i=e.w;if(""===i){if(0===e.maxW){const t=e[As]();i="position"===t.layout&&""!==t.w?0:e.minW}else i=Math.min(e.maxW,a.width);t.attributes.style.width=measureToString(i)}let n=e.h;if(""===n){if(0===e.maxH){const t=e[As]();n="position"===t.layout&&""!==t.h?0:e.minH}else n=Math.min(e.maxH,a.height);t.attributes.style.height=measureToString(n)}r=[e.x,e.y,i,n]}return r}function fixDimensions(e){const t=e[As]();if(t.layout?.includes("row")){const a=t[os],r=e.colSpan;let i;i=-1===r?Math.sumPrecise(a.columnWidths.slice(a.currentColumn)):Math.sumPrecise(a.columnWidths.slice(a.currentColumn,a.currentColumn+r));isNaN(i)||(e.w=i)}t.layout&&"position"!==t.layout&&(e.x=e.y=0);"table"===e.layout&&""===e.w&&Array.isArray(e.columnWidths)&&(e.w=Math.sumPrecise(e.columnWidths))}function layoutClass(e){switch(e.layout){case"position":default:return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb"}}function toStyle(e,...t){const a=Object.create(null);for(const r of t){const t=e[r];if(null!==t)if(Wo.hasOwnProperty(r))Wo[r](e,a);else if(t instanceof XFAObject){const e=t[co]();e?Object.assign(a,e):warn(`(DEBUG) - XFA - style for ${r} not implemented yet`)}}return a}function createWrapper(e,t){const{attributes:a}=t,{style:r}=a,i={name:"div",attributes:{class:["xfaWrapper"],style:Object.create(null)},children:[]};a.class.push("xfaWrapped");if(e.border){const{widths:a,insets:n}=e.border[os];let s,o,c=n[0],l=n[3];const h=n[0]+n[2],u=n[1]+n[3];switch(e.border.hand){case"even":c-=a[0]/2;l-=a[3]/2;s=`calc(100% + ${(a[1]+a[3])/2-u}px)`;o=`calc(100% + ${(a[0]+a[2])/2-h}px)`;break;case"left":c-=a[0];l-=a[3];s=`calc(100% + ${a[1]+a[3]-u}px)`;o=`calc(100% + ${a[0]+a[2]-h}px)`;break;case"right":s=u?`calc(100% - ${u}px)`:"100%";o=h?`calc(100% - ${h}px)`:"100%"}const d=["xfaBorder"];isPrintOnly(e.border)&&d.push("xfaPrintOnly");const f={name:"div",attributes:{class:d,style:{top:`${c}px`,left:`${l}px`,width:s,height:o}},children:[]};for(const e of["border","borderWidth","borderColor","borderRadius","borderStyle"])if(void 0!==r[e]){f.attributes.style[e]=r[e];delete r[e]}i.children.push(f,t)}else i.children.push(t);for(const e of["background","backgroundClip","top","left","width","height","minWidth","minHeight","maxWidth","maxHeight","transform","transformOrigin","visibility"])if(void 0!==r[e]){i.attributes.style[e]=r[e];delete r[e]}i.attributes.style.position="absolute"===r.position?"absolute":"relative";delete r.position;if(r.alignSelf){i.attributes.style.alignSelf=r.alignSelf;delete r.alignSelf}return i}function fixTextIndent(e){const t=getMeasurement(e.textIndent,"0px");if(t>=0)return;const a="padding"+("left"===("right"===e.textAlign?"right":"left")?"Left":"Right"),r=getMeasurement(e[a],"0px");e[a]=r-t+"px"}function setAccess(e,t){switch(e.access){case"nonInteractive":t.push("xfaNonInteractive");break;case"readOnly":t.push("xfaReadOnly");break;case"protected":t.push("xfaDisabled")}}function isPrintOnly(e){return e.relevant.length>0&&!e.relevant[0].excluded&&"print"===e.relevant[0].viewname}function getCurrentPara(e){const t=e[Cs]()[os].paraStack;return t.length?t.at(-1):null}function setPara(e,t,a){if(a.attributes.class?.includes("xfaRich")){if(t){""===e.h&&(t.height="auto");""===e.w&&(t.width="auto")}const r=getCurrentPara(e);if(r){const e=a.attributes.style;e.display="flex";e.flexDirection="column";switch(r.vAlign){case"top":e.justifyContent="start";break;case"bottom":e.justifyContent="end";break;case"middle":e.justifyContent="center"}const t=r[co]();for(const[a,r]of Object.entries(t))a in e||(e[a]=r)}}}function setFontFamily(e,t,a,r){if(!a){delete r.fontFamily;return}const i=stripQuotes(e.typeface);r.fontFamily=`"${i}"`;const n=a.find(i);if(n){const{fontFamily:a}=n.regular.cssFontInfo;a!==i&&(r.fontFamily=`"${a}"`);const s=getCurrentPara(t);if(s&&""!==s.lineHeight)return;if(r.lineHeight)return;const o=selectFont(e,n);o&&(r.lineHeight=Math.max(1.2,o.lineHeight))}}function fixURL(e){const t=createValidAbsoluteUrl(e,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return t?t.href:null}function createLine(e,t){return{name:"div",attributes:{class:["lr-tb"===e.layout?"xfaLr":"xfaRl"]},children:t}}function flushHTML(e){if(!e[os])return null;const t={name:"div",attributes:e[os].attributes,children:e[os].children};if(e[os].failingNode){const a=e[os].failingNode[ls]();a&&(e.layout.endsWith("-tb")?t.children.push(createLine(e,[a])):t.children.push(a))}return 0===t.children.length?null:t}function addHTML(e,t,a){const r=e[os],i=r.availableSpace,[n,s,o,c]=a;switch(e.layout){case"position":r.width=Math.max(r.width,n+o);r.height=Math.max(r.height,s+c);r.children.push(t);break;case"lr-tb":case"rl-tb":if(!r.line||1===r.attempt){r.line=createLine(e,[]);r.children.push(r.line);r.numberInLine=0}r.numberInLine+=1;r.line.children.push(t);if(0===r.attempt){r.currentWidth+=o;r.height=Math.max(r.height,r.prevHeight+c)}else{r.currentWidth=o;r.prevHeight=r.height;r.height+=c;r.attempt=0}r.width=Math.max(r.width,r.currentWidth);break;case"rl-row":case"row":{r.children.push(t);r.width+=o;r.height=Math.max(r.height,c);const e=measureToString(r.height);for(const t of r.children)t.attributes.style.height=e;break}case"table":case"tb":r.width=MathClamp(o,r.width,i.width);r.height+=c;r.children.push(t)}}function getAvailableSpace(e){const t=e[os].availableSpace,a=e.margin?e.margin.topInset+e.margin.bottomInset:0,r=e.margin?e.margin.leftInset+e.margin.rightInset:0;switch(e.layout){case"lr-tb":case"rl-tb":return 0===e[os].attempt?{width:t.width-r-e[os].currentWidth,height:t.height-a-e[os].prevHeight}:{width:t.width-r,height:t.height-a-e[os].height};case"rl-row":case"row":return{width:Math.sumPrecise(e[os].columnWidths.slice(e[os].currentColumn)),height:t.height-r};case"table":case"tb":return{width:t.width-r,height:t.height-a-e[os].height};default:return t}}function checkDimensions(e,t){if(null===e[Cs]()[os].firstUnsplittable)return!0;if(0===e.w||0===e.h)return!0;const a=e[As](),r=a[os]?.attempt||0,[,i,n,s]=function getTransformedBBox(e){let t,a,r=""===e.w?NaN:e.w,i=""===e.h?NaN:e.h,[n,s]=[0,0];switch(e.anchorType||""){case"bottomCenter":[n,s]=[r/2,i];break;case"bottomLeft":[n,s]=[0,i];break;case"bottomRight":[n,s]=[r,i];break;case"middleCenter":[n,s]=[r/2,i/2];break;case"middleLeft":[n,s]=[0,i/2];break;case"middleRight":[n,s]=[r,i/2];break;case"topCenter":[n,s]=[r/2,0];break;case"topRight":[n,s]=[r,0]}switch(e.rotate||0){case 0:[t,a]=[-n,-s];break;case 90:[t,a]=[-s,n];[r,i]=[i,-r];break;case 180:[t,a]=[n,s];[r,i]=[-r,-i];break;case 270:[t,a]=[s,-n];[r,i]=[-i,r]}return[e.x+t+Math.min(0,r),e.y+a+Math.min(0,i),Math.abs(r),Math.abs(i)]}(e);switch(a.layout){case"lr-tb":case"rl-tb":return 0===r?e[Cs]()[os].noLayoutFailure?""!==e.w?Math.round(n-t.width)<=2:t.width>2:!(""!==e.h&&Math.round(s-t.height)>2)&&(""!==e.w?Math.round(n-t.width)<=2||0===a[os].numberInLine&&t.height>2:t.width>2):!!e[Cs]()[os].noLayoutFailure||!(""!==e.h&&Math.round(s-t.height)>2)&&((""===e.w||Math.round(n-t.width)<=2||!a[Ls]())&&t.height>2);case"table":case"tb":return!!e[Cs]()[os].noLayoutFailure||(""===e.h||e[Es]()?(""===e.w||Math.round(n-t.width)<=2||!a[Ls]())&&t.height>2:Math.round(s-t.height)<=2);case"position":if(e[Cs]()[os].noLayoutFailure)return!0;if(""===e.h||Math.round(s+i-t.height)<=2)return!0;return s+i>e[Cs]()[os].currentContentArea.h;case"rl-row":case"row":return!!e[Cs]()[os].noLayoutFailure||(""===e.h||Math.round(s-t.height)<=2);default:return!0}}const zo=uo.template.id,$o="http://www.w3.org/2000/svg",Go=/^H(\d+)$/,Vo=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),Ko=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function getBorderDims(e){if(!e||!e.border)return{w:0,h:0};const t=e.border[bs]();return t?{w:t.widths[0]+t.widths[2]+t.insets[0]+t.insets[2],h:t.widths[1]+t.widths[3]+t.insets[1]+t.insets[3]}:{w:0,h:0}}function hasMargin(e){return e.margin&&(e.margin.topInset||e.margin.rightInset||e.margin.bottomInset||e.margin.leftInset)}function _setValue(e,t){if(!e.value){const t=new Value({});e[Yn](t);e.value=t}e.value[ao](t)}function*getContainedChildren(e){for(const t of e[ws]())t instanceof SubformSet?yield*t[Ss]():yield t}function isRequired(e){return"error"===e.validate?.nullTest}function setTabIndex(e){for(;e;){if(!e.traversal){e[ro]=e[ks]()[ro];return}if(e[ro])return;let t=null;for(const a of e.traversal[ws]())if("next"===a.operation){t=a;break}if(!t||!t.ref){e[ro]=e[ks]()[ro];return}const a=e[Cs]();e[ro]=++a[ro];const r=a[Qs](t.ref,e);if(!r)return;e=r[0]}}function applyAssist(e,t){const a=e.assist;if(a){const e=a[so]();e&&(t.title=e);const r=a.role.match(Go);if(r){const e="heading",a=r[1];t.role=e;t["aria-level"]=a}}if("table"===e.layout)t.role="table";else if("row"===e.layout)t.role="row";else{const a=e[ks]();"row"===a.layout&&(t.role="TH"===a.assist?.role?"columnheader":"cell")}}function ariaLabel(e){if(!e.assist)return null;const t=e.assist;return t.speak&&""!==t.speak[is]?t.speak[is]:t.toolTip?t.toolTip[is]:null}function valueToHtml(e){return HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:e}]})}function setFirstUnsplittable(e){const t=e[Cs]();if(null===t[os].firstUnsplittable){t[os].firstUnsplittable=e;t[os].noLayoutFailure=!0}}function unsetFirstUnsplittable(e){const t=e[Cs]();t[os].firstUnsplittable===e&&(t[os].noLayoutFailure=!1)}function handleBreak(e){if(e[os])return!1;e[os]=Object.create(null);if("auto"===e.targetType)return!1;const t=e[Cs]();let a=null;if(e.target){a=t[Qs](e.target,e[ks]());if(!a)return!1;a=a[0]}const{currentPageArea:r,currentContentArea:i}=t[os];if("pageArea"===e.targetType){a instanceof PageArea||(a=null);if(e.startNew){e[os].target=a||r;return!0}if(a&&a!==r){e[os].target=a;return!0}return!1}a instanceof ContentArea||(a=null);const n=a&&a[ks]();let s,o=n;if(e.startNew)if(a){const e=n.contentArea.children,t=e.indexOf(i),r=e.indexOf(a);-1!==t&&te;r[os].noLayoutFailure=!0;const s=t[so](a);e[Jn](s.html,s.bbox);r[os].noLayoutFailure=i;t[As]=n}class AppearanceFilter extends StringObject{constructor(e){super(zo,"appearanceFilter");this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||""}}class Arc extends XFAObject{constructor(e){super(zo,"arc",!0);this.circular=getInteger({data:e.circular,defaultValue:0,validate:e=>1===e});this.hand=getStringOption(e.hand,["even","left","right"]);this.id=e.id||"";this.startAngle=getFloat({data:e.startAngle,defaultValue:0,validate:e=>!0});this.sweepAngle=getFloat({data:e.sweepAngle,defaultValue:360,validate:e=>!0});this.use=e.use||"";this.usehref=e.usehref||"";this.edge=null;this.fill=null}[so](){const e=this.edge||new Edge({}),t=e[co](),a=Object.create(null);"visible"===this.fill?.presence?Object.assign(a,this.fill[co]()):a.fill="transparent";a.strokeWidth=measureToString("visible"===e.presence?e.thickness:0);a.stroke=t.color;let r;const i={xmlns:$o,style:{width:"100%",height:"100%",overflow:"visible"}};if(360===this.sweepAngle)r={name:"ellipse",attributes:{xmlns:$o,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:a}};else{const e=this.startAngle*Math.PI/180,t=this.sweepAngle*Math.PI/180,n=this.sweepAngle>180?1:0,[s,o,c,l]=[50*(1+Math.cos(e)),50*(1-Math.sin(e)),50*(1+Math.cos(e+t)),50*(1-Math.sin(e+t))];r={name:"path",attributes:{xmlns:$o,d:`M ${s} ${o} A 50 50 0 ${n} 0 ${c} ${l}`,vectorEffect:"non-scaling-stroke",style:a}};Object.assign(i,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}const n={name:"svg",children:[r],attributes:i};if(hasMargin(this[ks]()[ks]()))return HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[n]});n.attributes.style.position="absolute";return HTMLResult.success(n)}}class Area extends XFAObject{constructor(e){super(zo,"area",!0);this.colSpan=getInteger({data:e.colSpan,defaultValue:1,validate:e=>e>=1||-1===e});this.id=e.id||"";this.name=e.name||"";this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.desc=null;this.extras=null;this.area=new XFAObjectArray;this.draw=new XFAObjectArray;this.exObject=new XFAObjectArray;this.exclGroup=new XFAObjectArray;this.field=new XFAObjectArray;this.subform=new XFAObjectArray;this.subformSet=new XFAObjectArray}*[Ss](){yield*getContainedChildren(this)}[js](){return!0}[Ds](){return!0}[Jn](e,t){const[a,r,i,n]=t;this[os].width=Math.max(this[os].width,a+i);this[os].height=Math.max(this[os].height,r+n);this[os].children.push(e)}[ds](){return this[os].availableSpace}[so](e){const t=toStyle(this,"position"),a={style:t,id:this[lo],class:["xfaArea"]};isPrintOnly(this)&&a.class.push("xfaPrintOnly");this.name&&(a.xfaName=this.name);const r=[];this[os]={children:r,width:0,height:0,availableSpace:e};const i=this[Zn]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!i.success){if(i.isBreak())return i;delete this[os];return HTMLResult.FAILURE}t.width=measureToString(this[os].width);t.height=measureToString(this[os].height);const n={name:"div",attributes:a,children:r},s=[this.x,this.y,this[os].width,this[os].height];delete this[os];return HTMLResult.success(n,s)}}class Assist extends XFAObject{constructor(e){super(zo,"assist",!0);this.id=e.id||"";this.role=e.role||"";this.use=e.use||"";this.usehref=e.usehref||"";this.speak=null;this.toolTip=null}[so](){return this.toolTip?.[is]||null}}class Barcode extends XFAObject{constructor(e){super(zo,"barcode",!0);this.charEncoding=getKeyword({data:e.charEncoding?e.charEncoding.toLowerCase():"",defaultValue:"",validate:e=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\d{2}/)});this.checksum=getStringOption(e.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]);this.dataColumnCount=getInteger({data:e.dataColumnCount,defaultValue:-1,validate:e=>e>=0});this.dataLength=getInteger({data:e.dataLength,defaultValue:-1,validate:e=>e>=0});this.dataPrep=getStringOption(e.dataPrep,["none","flateCompress"]);this.dataRowCount=getInteger({data:e.dataRowCount,defaultValue:-1,validate:e=>e>=0});this.endChar=e.endChar||"";this.errorCorrectionLevel=getInteger({data:e.errorCorrectionLevel,defaultValue:-1,validate:e=>e>=0&&e<=8});this.id=e.id||"";this.moduleHeight=getMeasurement(e.moduleHeight,"5mm");this.moduleWidth=getMeasurement(e.moduleWidth,"0.25mm");this.printCheckDigit=getInteger({data:e.printCheckDigit,defaultValue:0,validate:e=>1===e});this.rowColumnRatio=getRatio(e.rowColumnRatio);this.startChar=e.startChar||"";this.textLocation=getStringOption(e.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]);this.truncate=getInteger({data:e.truncate,defaultValue:0,validate:e=>1===e});this.type=getStringOption(e.type?e.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]);this.upsMode=getStringOption(e.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]);this.use=e.use||"";this.usehref=e.usehref||"";this.wideNarrowRatio=getRatio(e.wideNarrowRatio);this.encrypt=null;this.extras=null}}class Bind extends XFAObject{constructor(e){super(zo,"bind",!0);this.match=getStringOption(e.match,["once","dataRef","global","none"]);this.ref=e.ref||"";this.picture=null}}class BindItems extends XFAObject{constructor(e){super(zo,"bindItems");this.connection=e.connection||"";this.labelRef=e.labelRef||"";this.ref=e.ref||"";this.valueRef=e.valueRef||""}}class Bookend extends XFAObject{constructor(e){super(zo,"bookend");this.id=e.id||"";this.leader=e.leader||"";this.trailer=e.trailer||"";this.use=e.use||"";this.usehref=e.usehref||""}}class BooleanElement extends Option01{constructor(e){super(zo,"boolean");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[so](e){return valueToHtml(1===this[is]?"1":"0")}}class Border extends XFAObject{constructor(e){super(zo,"border",!0);this.break=getStringOption(e.break,["close","open"]);this.hand=getStringOption(e.hand,["even","left","right"]);this.id=e.id||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.corner=new XFAObjectArray(4);this.edge=new XFAObjectArray(4);this.extras=null;this.fill=null;this.margin=null}[bs](){if(!this[os]){const e=this.edge.children.slice();if(e.length<4){const t=e.at(-1)||new Edge({});for(let a=e.length;a<4;a++)e.push(t)}const t=e.map((e=>e.thickness)),a=[0,0,0,0];if(this.margin){a[0]=this.margin.topInset;a[1]=this.margin.rightInset;a[2]=this.margin.bottomInset;a[3]=this.margin.leftInset}this[os]={widths:t,insets:a,edges:e}}return this[os]}[co](){const{edges:e}=this[bs](),t=e.map((e=>{const t=e[co]();t.color||="#000000";return t})),a=Object.create(null);this.margin&&Object.assign(a,this.margin[co]());"visible"===this.fill?.presence&&Object.assign(a,this.fill[co]());if(this.corner.children.some((e=>0!==e.radius))){const e=this.corner.children.map((e=>e[co]()));if(2===e.length||3===e.length){const t=e.at(-1);for(let a=e.length;a<4;a++)e.push(t)}a.borderRadius=e.map((e=>e.radius)).join(" ")}switch(this.presence){case"invisible":case"hidden":a.borderStyle="";break;case"inactive":a.borderStyle="none";break;default:a.borderStyle=t.map((e=>e.style)).join(" ")}a.borderWidth=t.map((e=>e.width)).join(" ");a.borderColor=t.map((e=>e.color)).join(" ");return a}}class Break extends XFAObject{constructor(e){super(zo,"break",!0);this.after=getStringOption(e.after,["auto","contentArea","pageArea","pageEven","pageOdd"]);this.afterTarget=e.afterTarget||"";this.before=getStringOption(e.before,["auto","contentArea","pageArea","pageEven","pageOdd"]);this.beforeTarget=e.beforeTarget||"";this.bookendLeader=e.bookendLeader||"";this.bookendTrailer=e.bookendTrailer||"";this.id=e.id||"";this.overflowLeader=e.overflowLeader||"";this.overflowTarget=e.overflowTarget||"";this.overflowTrailer=e.overflowTrailer||"";this.startNew=getInteger({data:e.startNew,defaultValue:0,validate:e=>1===e});this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}}class BreakAfter extends XFAObject{constructor(e){super(zo,"breakAfter",!0);this.id=e.id||"";this.leader=e.leader||"";this.startNew=getInteger({data:e.startNew,defaultValue:0,validate:e=>1===e});this.target=e.target||"";this.targetType=getStringOption(e.targetType,["auto","contentArea","pageArea"]);this.trailer=e.trailer||"";this.use=e.use||"";this.usehref=e.usehref||"";this.script=null}}class BreakBefore extends XFAObject{constructor(e){super(zo,"breakBefore",!0);this.id=e.id||"";this.leader=e.leader||"";this.startNew=getInteger({data:e.startNew,defaultValue:0,validate:e=>1===e});this.target=e.target||"";this.targetType=getStringOption(e.targetType,["auto","contentArea","pageArea"]);this.trailer=e.trailer||"";this.use=e.use||"";this.usehref=e.usehref||"";this.script=null}[so](e){this[os]={};return HTMLResult.FAILURE}}class Button extends XFAObject{constructor(e){super(zo,"button",!0);this.highlight=getStringOption(e.highlight,["inverted","none","outline","push"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}[so](e){const t=this[ks]()[ks](),a={name:"button",attributes:{id:this[lo],class:["xfaButton"],style:{}},children:[]};for(const e of t.event.children){if("click"!==e.activity||!e.script)continue;const t=recoverJsURL(e.script[is]);if(!t)continue;const r=fixURL(t.url);r&&a.children.push({name:"a",attributes:{id:"link"+this[lo],href:r,newWindow:t.newWindow,class:["xfaLink"],style:{}},children:[]})}return HTMLResult.success(a)}}class Calculate extends XFAObject{constructor(e){super(zo,"calculate",!0);this.id=e.id||"";this.override=getStringOption(e.override,["disabled","error","ignore","warning"]);this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.message=null;this.script=null}}class Caption extends XFAObject{constructor(e){super(zo,"caption",!0);this.id=e.id||"";this.placement=getStringOption(e.placement,["left","bottom","inline","right","top"]);this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.reserve=Math.ceil(getMeasurement(e.reserve));this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.font=null;this.margin=null;this.para=null;this.value=null}[ao](e){_setValue(this,e)}[bs](e){if(!this[os]){let{width:t,height:a}=e;switch(this.placement){case"left":case"right":case"inline":t=this.reserve<=0?t:this.reserve;break;case"top":case"bottom":a=this.reserve<=0?a:this.reserve}this[os]=layoutNode(this,{width:t,height:a})}return this[os]}[so](e){if(!this.value)return HTMLResult.EMPTY;this[Ks]();const t=this.value[so](e).html;if(!t){this[Vs]();return HTMLResult.EMPTY}const a=this.reserve;if(this.reserve<=0){const{w:t,h:a}=this[bs](e);switch(this.placement){case"left":case"right":case"inline":this.reserve=t;break;case"top":case"bottom":this.reserve=a}}const r=[];"string"==typeof t?r.push({name:"#text",value:t}):r.push(t);const i=toStyle(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(i.width=measureToString(this.reserve));break;case"top":case"bottom":this.reserve>0&&(i.height=measureToString(this.reserve))}setPara(this,null,t);this[Vs]();this.reserve=a;return HTMLResult.success({name:"div",attributes:{style:i,class:["xfaCaption"]},children:r})}}class Certificate extends StringObject{constructor(e){super(zo,"certificate");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Certificates extends XFAObject{constructor(e){super(zo,"certificates",!0);this.credentialServerPolicy=getStringOption(e.credentialServerPolicy,["optional","required"]);this.id=e.id||"";this.url=e.url||"";this.urlPolicy=e.urlPolicy||"";this.use=e.use||"";this.usehref=e.usehref||"";this.encryption=null;this.issuers=null;this.keyUsage=null;this.oids=null;this.signing=null;this.subjectDNs=null}}class CheckButton extends XFAObject{constructor(e){super(zo,"checkButton",!0);this.id=e.id||"";this.mark=getStringOption(e.mark,["default","check","circle","cross","diamond","square","star"]);this.shape=getStringOption(e.shape,["square","round"]);this.size=getMeasurement(e.size,"10pt");this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.extras=null;this.margin=null}[so](e){const t=toStyle(this,"margin"),a=measureToString(this.size);t.width=t.height=a;let r,i,n;const s=this[ks]()[ks](),o=s.items.children.length&&s.items.children[0][so]().html||[],c={on:(void 0!==o[0]?o[0]:"on").toString(),off:(void 0!==o[1]?o[1]:"off").toString()},l=(s.value?.[io]()||"off")===c.on||void 0,h=s[As](),u=s[lo];let d;if(h instanceof ExclGroup){n=h[lo];r="radio";i="xfaRadio";d=h[ns]?.[lo]||h[lo]}else{r="checkbox";i="xfaCheckbox";d=s[ns]?.[lo]||s[lo]}const f={name:"input",attributes:{class:[i],style:t,fieldId:u,dataId:d,type:r,checked:l,xfaOn:c.on,xfaOff:c.off,"aria-label":ariaLabel(s),"aria-required":!1}};n&&(f.attributes.name=n);if(isRequired(s)){f.attributes["aria-required"]=!0;f.attributes.required=!0}return HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[f]})}}class ChoiceList extends XFAObject{constructor(e){super(zo,"choiceList",!0);this.commitOn=getStringOption(e.commitOn,["select","exit"]);this.id=e.id||"";this.open=getStringOption(e.open,["userControl","always","multiSelect","onEntry"]);this.textEntry=getInteger({data:e.textEntry,defaultValue:0,validate:e=>1===e});this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.extras=null;this.margin=null}[so](e){const t=toStyle(this,"border","margin"),a=this[ks]()[ks](),r={fontSize:`calc(${a.font?.size||10}px * var(--total-scale-factor))`},i=[];if(a.items.children.length>0){const e=a.items;let t=0,n=0;if(2===e.children.length){t=e.children[0].save;n=1-t}const s=e.children[t][so]().html,o=e.children[n][so]().html;let c=!1;const l=a.value?.[io]()||"";for(let e=0,t=s.length;eMathClamp(parseInt(e.trim(),10),0,255))).map((e=>isNaN(e)?0:e));if(n.length<3)return{r:a,g:r,b:i};[a,r,i]=n;return{r:a,g:r,b:i}}(e.value):"";this.extras=null}[Fs](){return!1}[co](){return this.value?Util.makeHexColor(this.value.r,this.value.g,this.value.b):null}}class Comb extends XFAObject{constructor(e){super(zo,"comb");this.id=e.id||"";this.numberOfCells=getInteger({data:e.numberOfCells,defaultValue:0,validate:e=>e>=0});this.use=e.use||"";this.usehref=e.usehref||""}}class Connect extends XFAObject{constructor(e){super(zo,"connect",!0);this.connection=e.connection||"";this.id=e.id||"";this.ref=e.ref||"";this.usage=getStringOption(e.usage,["exportAndImport","exportOnly","importOnly"]);this.use=e.use||"";this.usehref=e.usehref||"";this.picture=null}}class ContentArea extends XFAObject{constructor(e){super(zo,"contentArea",!0);this.h=getMeasurement(e.h);this.id=e.id||"";this.name=e.name||"";this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.w=getMeasurement(e.w);this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.desc=null;this.extras=null}[so](e){const t={left:measureToString(this.x),top:measureToString(this.y),width:measureToString(this.w),height:measureToString(this.h)},a=["xfaContentarea"];isPrintOnly(this)&&a.push("xfaPrintOnly");return HTMLResult.success({name:"div",children:[],attributes:{style:t,class:a,id:this[lo]}})}}class Corner extends XFAObject{constructor(e){super(zo,"corner",!0);this.id=e.id||"";this.inverted=getInteger({data:e.inverted,defaultValue:0,validate:e=>1===e});this.join=getStringOption(e.join,["square","round"]);this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.radius=getMeasurement(e.radius);this.stroke=getStringOption(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]);this.thickness=getMeasurement(e.thickness,"0.5pt");this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[co](){const e=toStyle(this,"visibility");e.radius=measureToString("square"===this.join?0:this.radius);return e}}class DateElement extends ContentObject{constructor(e){super(zo,"date");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[cs](){const e=this[is].trim();this[is]=e?new Date(e):null}[so](e){return valueToHtml(this[is]?this[is].toString():"")}}class DateTime extends ContentObject{constructor(e){super(zo,"dateTime");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[cs](){const e=this[is].trim();this[is]=e?new Date(e):null}[so](e){return valueToHtml(this[is]?this[is].toString():"")}}class DateTimeEdit extends XFAObject{constructor(e){super(zo,"dateTimeEdit",!0);this.hScrollPolicy=getStringOption(e.hScrollPolicy,["auto","off","on"]);this.id=e.id||"";this.picker=getStringOption(e.picker,["host","none"]);this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.comb=null;this.extras=null;this.margin=null}[so](e){const t=toStyle(this,"border","font","margin"),a=this[ks]()[ks](),r={name:"input",attributes:{type:"text",fieldId:a[lo],dataId:a[ns]?.[lo]||a[lo],class:["xfaTextfield"],style:t,"aria-label":ariaLabel(a),"aria-required":!1}};if(isRequired(a)){r.attributes["aria-required"]=!0;r.attributes.required=!0}return HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[r]})}}class Decimal extends ContentObject{constructor(e){super(zo,"decimal");this.fracDigits=getInteger({data:e.fracDigits,defaultValue:2,validate:e=>!0});this.id=e.id||"";this.leadDigits=getInteger({data:e.leadDigits,defaultValue:-1,validate:e=>!0});this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[cs](){const e=parseFloat(this[is].trim());this[is]=isNaN(e)?null:e}[so](e){return valueToHtml(null!==this[is]?this[is].toString():"")}}class DefaultUi extends XFAObject{constructor(e){super(zo,"defaultUi",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}}class Desc extends XFAObject{constructor(e){super(zo,"desc",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.boolean=new XFAObjectArray;this.date=new XFAObjectArray;this.dateTime=new XFAObjectArray;this.decimal=new XFAObjectArray;this.exData=new XFAObjectArray;this.float=new XFAObjectArray;this.image=new XFAObjectArray;this.integer=new XFAObjectArray;this.text=new XFAObjectArray;this.time=new XFAObjectArray}}class DigestMethod extends OptionObject{constructor(e){super(zo,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||""}}class DigestMethods extends XFAObject{constructor(e){super(zo,"digestMethods",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.digestMethod=new XFAObjectArray}}class Draw extends XFAObject{constructor(e){super(zo,"draw",!0);this.anchorType=getStringOption(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]);this.colSpan=getInteger({data:e.colSpan,defaultValue:1,validate:e=>e>=1||-1===e});this.h=e.h?getMeasurement(e.h):"";this.hAlign=getStringOption(e.hAlign,["left","center","justify","justifyAll","radix","right"]);this.id=e.id||"";this.locale=e.locale||"";this.maxH=getMeasurement(e.maxH,"0pt");this.maxW=getMeasurement(e.maxW,"0pt");this.minH=getMeasurement(e.minH,"0pt");this.minW=getMeasurement(e.minW,"0pt");this.name=e.name||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.relevant=getRelevant(e.relevant);this.rotate=getInteger({data:e.rotate,defaultValue:0,validate:e=>e%90==0});this.use=e.use||"";this.usehref=e.usehref||"";this.w=e.w?getMeasurement(e.w):"";this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.assist=null;this.border=null;this.caption=null;this.desc=null;this.extras=null;this.font=null;this.keep=null;this.margin=null;this.para=null;this.traversal=null;this.ui=null;this.value=null;this.setProperty=new XFAObjectArray}[ao](e){_setValue(this,e)}[so](e){setTabIndex(this);if("hidden"===this.presence||"inactive"===this.presence)return HTMLResult.EMPTY;fixDimensions(this);this[Ks]();const t=this.w,a=this.h,{w:r,h:i,isBroken:n}=layoutNode(this,e);if(r&&""===this.w){if(n&&this[As]()[Ls]()){this[Vs]();return HTMLResult.FAILURE}this.w=r}i&&""===this.h&&(this.h=i);setFirstUnsplittable(this);if(!checkDimensions(this,e)){this.w=t;this.h=a;this[Vs]();return HTMLResult.FAILURE}unsetFirstUnsplittable(this);const s=toStyle(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");setMinMaxDimensions(this,s);if(s.margin){s.padding=s.margin;delete s.margin}const o=["xfaDraw"];this.font&&o.push("xfaFont");isPrintOnly(this)&&o.push("xfaPrintOnly");const c={style:s,id:this[lo],class:o};this.name&&(c.xfaName=this.name);const l={name:"div",attributes:c,children:[]};applyAssist(this,c);const h=computeBbox(this,l,e),u=this.value?this.value[so](e).html:null;if(null===u){this.w=t;this.h=a;this[Vs]();return HTMLResult.success(createWrapper(this,l),h)}l.children.push(u);setPara(this,s,u);this.w=t;this.h=a;this[Vs]();return HTMLResult.success(createWrapper(this,l),h)}}class Edge extends XFAObject{constructor(e){super(zo,"edge",!0);this.cap=getStringOption(e.cap,["square","butt","round"]);this.id=e.id||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.stroke=getStringOption(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]);this.thickness=getMeasurement(e.thickness,"0.5pt");this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[co](){const e=toStyle(this,"visibility");Object.assign(e,{linecap:this.cap,width:measureToString(this.thickness),color:this.color?this.color[co]():"#000000",style:""});if("visible"!==this.presence)e.style="none";else switch(this.stroke){case"solid":e.style="solid";break;case"dashDot":case"dashDotDot":case"dashed":e.style="dashed";break;case"dotted":e.style="dotted";break;case"embossed":e.style="ridge";break;case"etched":e.style="groove";break;case"lowered":e.style="inset";break;case"raised":e.style="outset"}return e}}class Encoding extends OptionObject{constructor(e){super(zo,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Encodings extends XFAObject{constructor(e){super(zo,"encodings",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.encoding=new XFAObjectArray}}class Encrypt extends XFAObject{constructor(e){super(zo,"encrypt",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.certificate=null}}class EncryptData extends XFAObject{constructor(e){super(zo,"encryptData",!0);this.id=e.id||"";this.operation=getStringOption(e.operation,["encrypt","decrypt"]);this.target=e.target||"";this.use=e.use||"";this.usehref=e.usehref||"";this.filter=null;this.manifest=null}}class Encryption extends XFAObject{constructor(e){super(zo,"encryption",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.certificate=new XFAObjectArray}}class EncryptionMethod extends OptionObject{constructor(e){super(zo,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||""}}class EncryptionMethods extends XFAObject{constructor(e){super(zo,"encryptionMethods",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.encryptionMethod=new XFAObjectArray}}class Event extends XFAObject{constructor(e){super(zo,"event",!0);this.activity=getStringOption(e.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]);this.id=e.id||"";this.listen=getStringOption(e.listen,["refOnly","refAndDescendents"]);this.name=e.name||"";this.ref=e.ref||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.encryptData=null;this.execute=null;this.script=null;this.signData=null;this.submit=null}}class ExData extends ContentObject{constructor(e){super(zo,"exData");this.contentType=e.contentType||"";this.href=e.href||"";this.id=e.id||"";this.maxLength=getInteger({data:e.maxLength,defaultValue:-1,validate:e=>e>=-1});this.name=e.name||"";this.rid=e.rid||"";this.transferEncoding=getStringOption(e.transferEncoding,["none","base64","package"]);this.use=e.use||"";this.usehref=e.usehref||""}[Ms](){return"text/html"===this.contentType}[Ws](e){if("text/html"===this.contentType&&e[Xs]===uo.xhtml.id){this[is]=e;return!0}if("text/xml"===this.contentType){this[is]=e;return!0}return!1}[so](e){return"text/html"===this.contentType&&this[is]?this[is][so](e):HTMLResult.EMPTY}}class ExObject extends XFAObject{constructor(e){super(zo,"exObject",!0);this.archive=e.archive||"";this.classId=e.classId||"";this.codeBase=e.codeBase||"";this.codeType=e.codeType||"";this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.boolean=new XFAObjectArray;this.date=new XFAObjectArray;this.dateTime=new XFAObjectArray;this.decimal=new XFAObjectArray;this.exData=new XFAObjectArray;this.exObject=new XFAObjectArray;this.float=new XFAObjectArray;this.image=new XFAObjectArray;this.integer=new XFAObjectArray;this.text=new XFAObjectArray;this.time=new XFAObjectArray}}class ExclGroup extends XFAObject{constructor(e){super(zo,"exclGroup",!0);this.access=getStringOption(e.access,["open","nonInteractive","protected","readOnly"]);this.accessKey=e.accessKey||"";this.anchorType=getStringOption(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]);this.colSpan=getInteger({data:e.colSpan,defaultValue:1,validate:e=>e>=1||-1===e});this.h=e.h?getMeasurement(e.h):"";this.hAlign=getStringOption(e.hAlign,["left","center","justify","justifyAll","radix","right"]);this.id=e.id||"";this.layout=getStringOption(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]);this.maxH=getMeasurement(e.maxH,"0pt");this.maxW=getMeasurement(e.maxW,"0pt");this.minH=getMeasurement(e.minH,"0pt");this.minW=getMeasurement(e.minW,"0pt");this.name=e.name||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.w=e.w?getMeasurement(e.w):"";this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.assist=null;this.bind=null;this.border=null;this.calculate=null;this.caption=null;this.desc=null;this.extras=null;this.margin=null;this.para=null;this.traversal=null;this.validate=null;this.connect=new XFAObjectArray;this.event=new XFAObjectArray;this.field=new XFAObjectArray;this.setProperty=new XFAObjectArray}[Ds](){return!0}[Fs](){return!0}[ao](e){for(const t of this.field.children){if(!t.value){const e=new Value({});t[Yn](e);t.value=e}t.value[ao](e)}}[Ls](){return this.layout.endsWith("-tb")&&0===this[os].attempt&&this[os].numberInLine>0||this[ks]()[Ls]()}[Es](){const e=this[As]();if(!e[Es]())return!1;if(void 0!==this[os]._isSplittable)return this[os]._isSplittable;if("position"===this.layout||this.layout.includes("row")){this[os]._isSplittable=!1;return!1}if(e.layout?.endsWith("-tb")&&0!==e[os].numberInLine)return!1;this[os]._isSplittable=!0;return!0}[ls](){return flushHTML(this)}[Jn](e,t){addHTML(this,e,t)}[ds](){return getAvailableSpace(this)}[so](e){setTabIndex(this);if("hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return HTMLResult.EMPTY;fixDimensions(this);const t=[],a={id:this[lo],class:[]};setAccess(this,a.class);this[os]||=Object.create(null);Object.assign(this[os],{children:t,attributes:a,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});const r=this[Es]();r||setFirstUnsplittable(this);if(!checkDimensions(this,e))return HTMLResult.FAILURE;const i=new Set(["field"]);if(this.layout.includes("row")){const e=this[As]().columnWidths;if(Array.isArray(e)&&e.length>0){this[os].columnWidths=e;this[os].currentColumn=0}}const n=toStyle(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),s=["xfaExclgroup"],o=layoutClass(this);o&&s.push(o);isPrintOnly(this)&&s.push("xfaPrintOnly");a.style=n;a.class=s;this.name&&(a.xfaName=this.name);this[Ks]();const c="lr-tb"===this.layout||"rl-tb"===this.layout,l=c?2:1;for(;this[os].attempte>=1||-1===e});this.h=e.h?getMeasurement(e.h):"";this.hAlign=getStringOption(e.hAlign,["left","center","justify","justifyAll","radix","right"]);this.id=e.id||"";this.locale=e.locale||"";this.maxH=getMeasurement(e.maxH,"0pt");this.maxW=getMeasurement(e.maxW,"0pt");this.minH=getMeasurement(e.minH,"0pt");this.minW=getMeasurement(e.minW,"0pt");this.name=e.name||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.relevant=getRelevant(e.relevant);this.rotate=getInteger({data:e.rotate,defaultValue:0,validate:e=>e%90==0});this.use=e.use||"";this.usehref=e.usehref||"";this.w=e.w?getMeasurement(e.w):"";this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.assist=null;this.bind=null;this.border=null;this.calculate=null;this.caption=null;this.desc=null;this.extras=null;this.font=null;this.format=null;this.items=new XFAObjectArray(2);this.keep=null;this.margin=null;this.para=null;this.traversal=null;this.ui=null;this.validate=null;this.value=null;this.bindItems=new XFAObjectArray;this.connect=new XFAObjectArray;this.event=new XFAObjectArray;this.setProperty=new XFAObjectArray}[Ds](){return!0}[ao](e){_setValue(this,e)}[so](e){setTabIndex(this);if(!this.ui){this.ui=new Ui({});this.ui[vs]=this[vs];this[Yn](this.ui);let e;switch(this.items.children.length){case 0:e=new TextEdit({});this.ui.textEdit=e;break;case 1:e=new CheckButton({});this.ui.checkButton=e;break;case 2:e=new ChoiceList({});this.ui.choiceList=e}this.ui[Yn](e)}if(!this.ui||"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return HTMLResult.EMPTY;this.caption&&delete this.caption[os];this[Ks]();const t=this.caption?this.caption[so](e).html:null,a=this.w,r=this.h;let i=0,n=0;if(this.margin){i=this.margin.leftInset+this.margin.rightInset;n=this.margin.topInset+this.margin.bottomInset}let s=null;if(""===this.w||""===this.h){let t=null,a=null,r=0,o=0;if(this.ui.checkButton)r=o=this.ui.checkButton.size;else{const{w:t,h:a}=layoutNode(this,e);if(null!==t){r=t;o=a}else o=function fonts_getMetrics(e,t=!1){let a=null;if(e){const t=stripQuotes(e.typeface),r=e[vs].fontFinder.find(t);a=selectFont(e,r)}if(!a)return{lineHeight:12,lineGap:2,lineNoGap:10};const r=e.size||10,i=a.lineHeight?Math.max(t?0:1.2,a.lineHeight):1.2,n=void 0===a.lineGap?.2:a.lineGap;return{lineHeight:i*r,lineGap:n*r,lineNoGap:Math.max(1,i-n)*r}}(this.font,!0).lineNoGap}s=getBorderDims(this.ui[bs]());r+=s.w;o+=s.h;if(this.caption){const{w:i,h:n,isBroken:s}=this.caption[bs](e);if(s&&this[As]()[Ls]()){this[Vs]();return HTMLResult.FAILURE}t=i;a=n;switch(this.caption.placement){case"left":case"right":case"inline":t+=r;break;case"top":case"bottom":a+=o}}else{t=r;a=o}if(t&&""===this.w){t+=i;this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1e>=1&&e<=5});this.appearanceFilter=null;this.certificates=null;this.digestMethods=null;this.encodings=null;this.encryptionMethods=null;this.handler=null;this.lockDocument=null;this.mdp=null;this.reasons=null;this.timeStamp=null}}class Float extends ContentObject{constructor(e){super(zo,"float");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[cs](){const e=parseFloat(this[is].trim());this[is]=isNaN(e)?null:e}[so](e){return valueToHtml(null!==this[is]?this[is].toString():"")}}class template_Font extends XFAObject{constructor(e){super(zo,"font",!0);this.baselineShift=getMeasurement(e.baselineShift);this.fontHorizontalScale=getFloat({data:e.fontHorizontalScale,defaultValue:100,validate:e=>e>=0});this.fontVerticalScale=getFloat({data:e.fontVerticalScale,defaultValue:100,validate:e=>e>=0});this.id=e.id||"";this.kerningMode=getStringOption(e.kerningMode,["none","pair"]);this.letterSpacing=getMeasurement(e.letterSpacing,"0");this.lineThrough=getInteger({data:e.lineThrough,defaultValue:0,validate:e=>1===e||2===e});this.lineThroughPeriod=getStringOption(e.lineThroughPeriod,["all","word"]);this.overline=getInteger({data:e.overline,defaultValue:0,validate:e=>1===e||2===e});this.overlinePeriod=getStringOption(e.overlinePeriod,["all","word"]);this.posture=getStringOption(e.posture,["normal","italic"]);this.size=getMeasurement(e.size,"10pt");this.typeface=e.typeface||"Courier";this.underline=getInteger({data:e.underline,defaultValue:0,validate:e=>1===e||2===e});this.underlinePeriod=getStringOption(e.underlinePeriod,["all","word"]);this.use=e.use||"";this.usehref=e.usehref||"";this.weight=getStringOption(e.weight,["normal","bold"]);this.extras=null;this.fill=null}[Qn](e){super[Qn](e);this[vs].usedTypefaces.add(this.typeface)}[co](){const e=toStyle(this,"fill"),t=e.color;if(t)if("#000000"===t)delete e.color;else if(!t.startsWith("#")){e.background=t;e.backgroundClip="text";e.color="transparent"}this.baselineShift&&(e.verticalAlign=measureToString(this.baselineShift));e.fontKerning="none"===this.kerningMode?"none":"normal";e.letterSpacing=measureToString(this.letterSpacing);if(0!==this.lineThrough){e.textDecoration="line-through";2===this.lineThrough&&(e.textDecorationStyle="double")}if(0!==this.overline){e.textDecoration="overline";2===this.overline&&(e.textDecorationStyle="double")}e.fontStyle=this.posture;e.fontSize=measureToString(.99*this.size);setFontFamily(this,this,this[vs].fontFinder,e);if(0!==this.underline){e.textDecoration="underline";2===this.underline&&(e.textDecorationStyle="double")}e.fontWeight=this.weight;return e}}class Format extends XFAObject{constructor(e){super(zo,"format",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.picture=null}}class Handler extends StringObject{constructor(e){super(zo,"handler");this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||""}}class Hyphenation extends XFAObject{constructor(e){super(zo,"hyphenation");this.excludeAllCaps=getInteger({data:e.excludeAllCaps,defaultValue:0,validate:e=>1===e});this.excludeInitialCap=getInteger({data:e.excludeInitialCap,defaultValue:0,validate:e=>1===e});this.hyphenate=getInteger({data:e.hyphenate,defaultValue:0,validate:e=>1===e});this.id=e.id||"";this.pushCharacterCount=getInteger({data:e.pushCharacterCount,defaultValue:3,validate:e=>e>=0});this.remainCharacterCount=getInteger({data:e.remainCharacterCount,defaultValue:3,validate:e=>e>=0});this.use=e.use||"";this.usehref=e.usehref||"";this.wordCharacterCount=getInteger({data:e.wordCharacterCount,defaultValue:7,validate:e=>e>=0})}}class Image extends StringObject{constructor(e){super(zo,"image");this.aspect=getStringOption(e.aspect,["fit","actual","height","none","width"]);this.contentType=e.contentType||"";this.href=e.href||"";this.id=e.id||"";this.name=e.name||"";this.transferEncoding=getStringOption(e.transferEncoding,["base64","none","package"]);this.use=e.use||"";this.usehref=e.usehref||""}[so](){if(this.contentType&&!Vo.has(this.contentType.toLowerCase()))return HTMLResult.EMPTY;let e=this[vs].images?.get(this.href);if(!e&&(this.href||!this[is]))return HTMLResult.EMPTY;e||"base64"!==this.transferEncoding||(e=function fromBase64Util(e){return Uint8Array.fromBase64?Uint8Array.fromBase64(e):stringToBytes(atob(e))}(this[is]));if(!e)return HTMLResult.EMPTY;if(!this.contentType){for(const[t,a]of Ko)if(e.length>t.length&&t.every(((t,a)=>t===e[a]))){this.contentType=a;break}if(!this.contentType)return HTMLResult.EMPTY}const t=new Blob([e],{type:this.contentType});let a;switch(this.aspect){case"fit":case"actual":break;case"height":a={height:"100%",objectFit:"fill"};break;case"none":a={width:"100%",height:"100%",objectFit:"fill"};break;case"width":a={width:"100%",objectFit:"fill"}}const r=this[ks]();return HTMLResult.success({name:"img",attributes:{class:["xfaImage"],style:a,src:URL.createObjectURL(t),alt:r?ariaLabel(r[ks]()):null}})}}class ImageEdit extends XFAObject{constructor(e){super(zo,"imageEdit",!0);this.data=getStringOption(e.data,["link","embed"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.extras=null;this.margin=null}[so](e){return"embed"===this.data?HTMLResult.success({name:"div",children:[],attributes:{}}):HTMLResult.EMPTY}}class Integer extends ContentObject{constructor(e){super(zo,"integer");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[cs](){const e=parseInt(this[is].trim(),10);this[is]=isNaN(e)?null:e}[so](e){return valueToHtml(null!==this[is]?this[is].toString():"")}}class Issuers extends XFAObject{constructor(e){super(zo,"issuers",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.certificate=new XFAObjectArray}}class Items extends XFAObject{constructor(e){super(zo,"items",!0);this.id=e.id||"";this.name=e.name||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.ref=e.ref||"";this.save=getInteger({data:e.save,defaultValue:0,validate:e=>1===e});this.use=e.use||"";this.usehref=e.usehref||"";this.boolean=new XFAObjectArray;this.date=new XFAObjectArray;this.dateTime=new XFAObjectArray;this.decimal=new XFAObjectArray;this.exData=new XFAObjectArray;this.float=new XFAObjectArray;this.image=new XFAObjectArray;this.integer=new XFAObjectArray;this.text=new XFAObjectArray;this.time=new XFAObjectArray}[so](){const e=[];for(const t of this[ws]())e.push(t[io]());return HTMLResult.success(e)}}class Keep extends XFAObject{constructor(e){super(zo,"keep",!0);this.id=e.id||"";const t=["none","contentArea","pageArea"];this.intact=getStringOption(e.intact,t);this.next=getStringOption(e.next,t);this.previous=getStringOption(e.previous,t);this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}}class KeyUsage extends XFAObject{constructor(e){super(zo,"keyUsage");const t=["","yes","no"];this.crlSign=getStringOption(e.crlSign,t);this.dataEncipherment=getStringOption(e.dataEncipherment,t);this.decipherOnly=getStringOption(e.decipherOnly,t);this.digitalSignature=getStringOption(e.digitalSignature,t);this.encipherOnly=getStringOption(e.encipherOnly,t);this.id=e.id||"";this.keyAgreement=getStringOption(e.keyAgreement,t);this.keyCertSign=getStringOption(e.keyCertSign,t);this.keyEncipherment=getStringOption(e.keyEncipherment,t);this.nonRepudiation=getStringOption(e.nonRepudiation,t);this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||""}}class Line extends XFAObject{constructor(e){super(zo,"line",!0);this.hand=getStringOption(e.hand,["even","left","right"]);this.id=e.id||"";this.slope=getStringOption(e.slope,["\\","/"]);this.use=e.use||"";this.usehref=e.usehref||"";this.edge=null}[so](){const e=this[ks]()[ks](),t=this.edge||new Edge({}),a=t[co](),r=Object.create(null),i="visible"===t.presence?t.thickness:0;r.strokeWidth=measureToString(i);r.stroke=a.color;let n,s,o,c,l="100%",h="100%";if(e.w<=i){[n,s,o,c]=["50%",0,"50%","100%"];l=r.strokeWidth}else if(e.h<=i){[n,s,o,c]=[0,"50%","100%","50%"];h=r.strokeWidth}else"\\"===this.slope?[n,s,o,c]=[0,0,"100%","100%"]:[n,s,o,c]=[0,"100%","100%",0];const u={name:"svg",children:[{name:"line",attributes:{xmlns:$o,x1:n,y1:s,x2:o,y2:c,style:r}}],attributes:{xmlns:$o,width:l,height:h,style:{overflow:"visible"}}};if(hasMargin(e))return HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[u]});u.attributes.style.position="absolute";return HTMLResult.success(u)}}class Linear extends XFAObject{constructor(e){super(zo,"linear",!0);this.id=e.id||"";this.type=getStringOption(e.type,["toRight","toBottom","toLeft","toTop"]);this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[co](e){e=e?e[co]():"#FFFFFF";return`linear-gradient(${this.type.replace(/([RBLT])/," $1").toLowerCase()}, ${e}, ${this.color?this.color[co]():"#000000"})`}}class LockDocument extends ContentObject{constructor(e){super(zo,"lockDocument");this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||""}[cs](){this[is]=getStringOption(this[is],["auto","0","1"])}}class Manifest extends XFAObject{constructor(e){super(zo,"manifest",!0);this.action=getStringOption(e.action,["include","all","exclude"]);this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.ref=new XFAObjectArray}}class Margin extends XFAObject{constructor(e){super(zo,"margin",!0);this.bottomInset=getMeasurement(e.bottomInset,"0");this.id=e.id||"";this.leftInset=getMeasurement(e.leftInset,"0");this.rightInset=getMeasurement(e.rightInset,"0");this.topInset=getMeasurement(e.topInset,"0");this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}[co](){return{margin:measureToString(this.topInset)+" "+measureToString(this.rightInset)+" "+measureToString(this.bottomInset)+" "+measureToString(this.leftInset)}}}class Mdp extends XFAObject{constructor(e){super(zo,"mdp");this.id=e.id||"";this.permissions=getInteger({data:e.permissions,defaultValue:2,validate:e=>1===e||3===e});this.signatureType=getStringOption(e.signatureType,["filler","author"]);this.use=e.use||"";this.usehref=e.usehref||""}}class Medium extends XFAObject{constructor(e){super(zo,"medium");this.id=e.id||"";this.imagingBBox=function getBBox(e){const t=-1;if(!e)return{x:t,y:t,width:t,height:t};const a=e.split(",",4).map((e=>getMeasurement(e.trim(),"-1")));if(a.length<4||a[2]<0||a[3]<0)return{x:t,y:t,width:t,height:t};const[r,i,n,s]=a;return{x:r,y:i,width:n,height:s}}(e.imagingBBox);this.long=getMeasurement(e.long);this.orientation=getStringOption(e.orientation,["portrait","landscape"]);this.short=getMeasurement(e.short);this.stock=e.stock||"";this.trayIn=getStringOption(e.trayIn,["auto","delegate","pageFront"]);this.trayOut=getStringOption(e.trayOut,["auto","delegate"]);this.use=e.use||"";this.usehref=e.usehref||""}}class Message extends XFAObject{constructor(e){super(zo,"message",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.text=new XFAObjectArray}}class NumericEdit extends XFAObject{constructor(e){super(zo,"numericEdit",!0);this.hScrollPolicy=getStringOption(e.hScrollPolicy,["auto","off","on"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.comb=null;this.extras=null;this.margin=null}[so](e){const t=toStyle(this,"border","font","margin"),a=this[ks]()[ks](),r={name:"input",attributes:{type:"text",fieldId:a[lo],dataId:a[ns]?.[lo]||a[lo],class:["xfaTextfield"],style:t,"aria-label":ariaLabel(a),"aria-required":!1}};if(isRequired(a)){r.attributes["aria-required"]=!0;r.attributes.required=!0}return HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[r]})}}class Occur extends XFAObject{constructor(e){super(zo,"occur",!0);this.id=e.id||"";this.initial=""!==e.initial?getInteger({data:e.initial,defaultValue:"",validate:e=>!0}):"";this.max=""!==e.max?getInteger({data:e.max,defaultValue:1,validate:e=>!0}):"";this.min=""!==e.min?getInteger({data:e.min,defaultValue:1,validate:e=>!0}):"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}[Qn](){const e=this[ks](),t=this.min;""===this.min&&(this.min=e instanceof PageArea||e instanceof PageSet?0:1);""===this.max&&(this.max=""===t?e instanceof PageArea||e instanceof PageSet?-1:1:this.min);-1!==this.max&&this.max!0});this.name=e.name||"";this.numbered=getInteger({data:e.numbered,defaultValue:1,validate:e=>!0});this.oddOrEven=getStringOption(e.oddOrEven,["any","even","odd"]);this.pagePosition=getStringOption(e.pagePosition,["any","first","last","only","rest"]);this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.desc=null;this.extras=null;this.medium=null;this.occur=null;this.area=new XFAObjectArray;this.contentArea=new XFAObjectArray;this.draw=new XFAObjectArray;this.exclGroup=new XFAObjectArray;this.field=new XFAObjectArray;this.subform=new XFAObjectArray}[_s](){if(!this[os]){this[os]={numberOfUse:0};return!0}return!this.occur||-1===this.occur.max||this[os].numberOfUsee.oddOrEven===t&&e.pagePosition===a));if(r)return r;r=this.pageArea.children.find((e=>"any"===e.oddOrEven&&e.pagePosition===a));if(r)return r;r=this.pageArea.children.find((e=>"any"===e.oddOrEven&&"any"===e.pagePosition));return r||this.pageArea.children[0]}}class Para extends XFAObject{constructor(e){super(zo,"para",!0);this.hAlign=getStringOption(e.hAlign,["left","center","justify","justifyAll","radix","right"]);this.id=e.id||"";this.lineHeight=e.lineHeight?getMeasurement(e.lineHeight,"0pt"):"";this.marginLeft=e.marginLeft?getMeasurement(e.marginLeft,"0pt"):"";this.marginRight=e.marginRight?getMeasurement(e.marginRight,"0pt"):"";this.orphans=getInteger({data:e.orphans,defaultValue:0,validate:e=>e>=0});this.preserve=e.preserve||"";this.radixOffset=e.radixOffset?getMeasurement(e.radixOffset,"0pt"):"";this.spaceAbove=e.spaceAbove?getMeasurement(e.spaceAbove,"0pt"):"";this.spaceBelow=e.spaceBelow?getMeasurement(e.spaceBelow,"0pt"):"";this.tabDefault=e.tabDefault?getMeasurement(this.tabDefault):"";this.tabStops=(e.tabStops||"").trim().split(/\s+/).map(((e,t)=>t%2==1?getMeasurement(e):e));this.textIndent=e.textIndent?getMeasurement(e.textIndent,"0pt"):"";this.use=e.use||"";this.usehref=e.usehref||"";this.vAlign=getStringOption(e.vAlign,["top","bottom","middle"]);this.widows=getInteger({data:e.widows,defaultValue:0,validate:e=>e>=0});this.hyphenation=null}[co](){const e=toStyle(this,"hAlign");""!==this.marginLeft&&(e.paddingLeft=measureToString(this.marginLeft));""!==this.marginRight&&(e.paddingRight=measureToString(this.marginRight));""!==this.spaceAbove&&(e.paddingTop=measureToString(this.spaceAbove));""!==this.spaceBelow&&(e.paddingBottom=measureToString(this.spaceBelow));if(""!==this.textIndent){e.textIndent=measureToString(this.textIndent);fixTextIndent(e)}this.lineHeight>0&&(e.lineHeight=measureToString(this.lineHeight));""!==this.tabDefault&&(e.tabSize=measureToString(this.tabDefault));this.tabStops.length;this.hyphenatation&&Object.assign(e,this.hyphenatation[co]());return e}}class PasswordEdit extends XFAObject{constructor(e){super(zo,"passwordEdit",!0);this.hScrollPolicy=getStringOption(e.hScrollPolicy,["auto","off","on"]);this.id=e.id||"";this.passwordChar=e.passwordChar||"*";this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.extras=null;this.margin=null}}class template_Pattern extends XFAObject{constructor(e){super(zo,"pattern",!0);this.id=e.id||"";this.type=getStringOption(e.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]);this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[co](e){e=e?e[co]():"#FFFFFF";const t=this.color?this.color[co]():"#000000",a="repeating-linear-gradient",r=`${e},${e} 5px,${t} 5px,${t} 10px`;switch(this.type){case"crossHatch":return`${a}(to top,${r}) ${a}(to right,${r})`;case"crossDiagonal":return`${a}(45deg,${r}) ${a}(-45deg,${r})`;case"diagonalLeft":return`${a}(45deg,${r})`;case"diagonalRight":return`${a}(-45deg,${r})`;case"horizontal":return`${a}(to top,${r})`;case"vertical":return`${a}(to right,${r})`}return""}}class Picture extends StringObject{constructor(e){super(zo,"picture");this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Proto extends XFAObject{constructor(e){super(zo,"proto",!0);this.appearanceFilter=new XFAObjectArray;this.arc=new XFAObjectArray;this.area=new XFAObjectArray;this.assist=new XFAObjectArray;this.barcode=new XFAObjectArray;this.bindItems=new XFAObjectArray;this.bookend=new XFAObjectArray;this.boolean=new XFAObjectArray;this.border=new XFAObjectArray;this.break=new XFAObjectArray;this.breakAfter=new XFAObjectArray;this.breakBefore=new XFAObjectArray;this.button=new XFAObjectArray;this.calculate=new XFAObjectArray;this.caption=new XFAObjectArray;this.certificate=new XFAObjectArray;this.certificates=new XFAObjectArray;this.checkButton=new XFAObjectArray;this.choiceList=new XFAObjectArray;this.color=new XFAObjectArray;this.comb=new XFAObjectArray;this.connect=new XFAObjectArray;this.contentArea=new XFAObjectArray;this.corner=new XFAObjectArray;this.date=new XFAObjectArray;this.dateTime=new XFAObjectArray;this.dateTimeEdit=new XFAObjectArray;this.decimal=new XFAObjectArray;this.defaultUi=new XFAObjectArray;this.desc=new XFAObjectArray;this.digestMethod=new XFAObjectArray;this.digestMethods=new XFAObjectArray;this.draw=new XFAObjectArray;this.edge=new XFAObjectArray;this.encoding=new XFAObjectArray;this.encodings=new XFAObjectArray;this.encrypt=new XFAObjectArray;this.encryptData=new XFAObjectArray;this.encryption=new XFAObjectArray;this.encryptionMethod=new XFAObjectArray;this.encryptionMethods=new XFAObjectArray;this.event=new XFAObjectArray;this.exData=new XFAObjectArray;this.exObject=new XFAObjectArray;this.exclGroup=new XFAObjectArray;this.execute=new XFAObjectArray;this.extras=new XFAObjectArray;this.field=new XFAObjectArray;this.fill=new XFAObjectArray;this.filter=new XFAObjectArray;this.float=new XFAObjectArray;this.font=new XFAObjectArray;this.format=new XFAObjectArray;this.handler=new XFAObjectArray;this.hyphenation=new XFAObjectArray;this.image=new XFAObjectArray;this.imageEdit=new XFAObjectArray;this.integer=new XFAObjectArray;this.issuers=new XFAObjectArray;this.items=new XFAObjectArray;this.keep=new XFAObjectArray;this.keyUsage=new XFAObjectArray;this.line=new XFAObjectArray;this.linear=new XFAObjectArray;this.lockDocument=new XFAObjectArray;this.manifest=new XFAObjectArray;this.margin=new XFAObjectArray;this.mdp=new XFAObjectArray;this.medium=new XFAObjectArray;this.message=new XFAObjectArray;this.numericEdit=new XFAObjectArray;this.occur=new XFAObjectArray;this.oid=new XFAObjectArray;this.oids=new XFAObjectArray;this.overflow=new XFAObjectArray;this.pageArea=new XFAObjectArray;this.pageSet=new XFAObjectArray;this.para=new XFAObjectArray;this.passwordEdit=new XFAObjectArray;this.pattern=new XFAObjectArray;this.picture=new XFAObjectArray;this.radial=new XFAObjectArray;this.reason=new XFAObjectArray;this.reasons=new XFAObjectArray;this.rectangle=new XFAObjectArray;this.ref=new XFAObjectArray;this.script=new XFAObjectArray;this.setProperty=new XFAObjectArray;this.signData=new XFAObjectArray;this.signature=new XFAObjectArray;this.signing=new XFAObjectArray;this.solid=new XFAObjectArray;this.speak=new XFAObjectArray;this.stipple=new XFAObjectArray;this.subform=new XFAObjectArray;this.subformSet=new XFAObjectArray;this.subjectDN=new XFAObjectArray;this.subjectDNs=new XFAObjectArray;this.submit=new XFAObjectArray;this.text=new XFAObjectArray;this.textEdit=new XFAObjectArray;this.time=new XFAObjectArray;this.timeStamp=new XFAObjectArray;this.toolTip=new XFAObjectArray;this.traversal=new XFAObjectArray;this.traverse=new XFAObjectArray;this.ui=new XFAObjectArray;this.validate=new XFAObjectArray;this.value=new XFAObjectArray;this.variables=new XFAObjectArray}}class Radial extends XFAObject{constructor(e){super(zo,"radial",!0);this.id=e.id||"";this.type=getStringOption(e.type,["toEdge","toCenter"]);this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[co](e){e=e?e[co]():"#FFFFFF";const t=this.color?this.color[co]():"#000000";return`radial-gradient(circle at center, ${"toEdge"===this.type?`${e},${t}`:`${t},${e}`})`}}class Reason extends StringObject{constructor(e){super(zo,"reason");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Reasons extends XFAObject{constructor(e){super(zo,"reasons",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.reason=new XFAObjectArray}}class Rectangle extends XFAObject{constructor(e){super(zo,"rectangle",!0);this.hand=getStringOption(e.hand,["even","left","right"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.corner=new XFAObjectArray(4);this.edge=new XFAObjectArray(4);this.fill=null}[so](){const e=this.edge.children.length?this.edge.children[0]:new Edge({}),t=e[co](),a=Object.create(null);"visible"===this.fill?.presence?Object.assign(a,this.fill[co]()):a.fill="transparent";a.strokeWidth=measureToString("visible"===e.presence?e.thickness:0);a.stroke=t.color;const r=(this.corner.children.length?this.corner.children[0]:new Corner({}))[co](),i={name:"svg",children:[{name:"rect",attributes:{xmlns:$o,width:"100%",height:"100%",x:0,y:0,rx:r.radius,ry:r.radius,style:a}}],attributes:{xmlns:$o,style:{overflow:"visible"},width:"100%",height:"100%"}};if(hasMargin(this[ks]()[ks]()))return HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[i]});i.attributes.style.position="absolute";return HTMLResult.success(i)}}class RefElement extends StringObject{constructor(e){super(zo,"ref");this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Script extends StringObject{constructor(e){super(zo,"script");this.binding=e.binding||"";this.contentType=e.contentType||"";this.id=e.id||"";this.name=e.name||"";this.runAt=getStringOption(e.runAt,["client","both","server"]);this.use=e.use||"";this.usehref=e.usehref||""}}class SetProperty extends XFAObject{constructor(e){super(zo,"setProperty");this.connection=e.connection||"";this.ref=e.ref||"";this.target=e.target||""}}class SignData extends XFAObject{constructor(e){super(zo,"signData",!0);this.id=e.id||"";this.operation=getStringOption(e.operation,["sign","clear","verify"]);this.ref=e.ref||"";this.target=e.target||"";this.use=e.use||"";this.usehref=e.usehref||"";this.filter=null;this.manifest=null}}class Signature extends XFAObject{constructor(e){super(zo,"signature",!0);this.id=e.id||"";this.type=getStringOption(e.type,["PDF1.3","PDF1.6"]);this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.extras=null;this.filter=null;this.manifest=null;this.margin=null}}class Signing extends XFAObject{constructor(e){super(zo,"signing",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.certificate=new XFAObjectArray}}class Solid extends XFAObject{constructor(e){super(zo,"solid",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}[co](e){return e?e[co]():"#FFFFFF"}}class Speak extends StringObject{constructor(e){super(zo,"speak");this.disable=getInteger({data:e.disable,defaultValue:0,validate:e=>1===e});this.id=e.id||"";this.priority=getStringOption(e.priority,["custom","caption","name","toolTip"]);this.rid=e.rid||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Stipple extends XFAObject{constructor(e){super(zo,"stipple",!0);this.id=e.id||"";this.rate=getInteger({data:e.rate,defaultValue:50,validate:e=>e>=0&&e<=100});this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[co](e){const t=this.rate/100;return Util.makeHexColor(Math.round(e.value.r*(1-t)+this.value.r*t),Math.round(e.value.g*(1-t)+this.value.g*t),Math.round(e.value.b*(1-t)+this.value.b*t))}}class Subform extends XFAObject{constructor(e){super(zo,"subform",!0);this.access=getStringOption(e.access,["open","nonInteractive","protected","readOnly"]);this.allowMacro=getInteger({data:e.allowMacro,defaultValue:0,validate:e=>1===e});this.anchorType=getStringOption(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]);this.colSpan=getInteger({data:e.colSpan,defaultValue:1,validate:e=>e>=1||-1===e});this.columnWidths=(e.columnWidths||"").trim().split(/\s+/).map((e=>"-1"===e?-1:getMeasurement(e)));this.h=e.h?getMeasurement(e.h):"";this.hAlign=getStringOption(e.hAlign,["left","center","justify","justifyAll","radix","right"]);this.id=e.id||"";this.layout=getStringOption(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]);this.locale=e.locale||"";this.maxH=getMeasurement(e.maxH,"0pt");this.maxW=getMeasurement(e.maxW,"0pt");this.mergeMode=getStringOption(e.mergeMode,["consumeData","matchTemplate"]);this.minH=getMeasurement(e.minH,"0pt");this.minW=getMeasurement(e.minW,"0pt");this.name=e.name||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.relevant=getRelevant(e.relevant);this.restoreState=getStringOption(e.restoreState,["manual","auto"]);this.scope=getStringOption(e.scope,["name","none"]);this.use=e.use||"";this.usehref=e.usehref||"";this.w=e.w?getMeasurement(e.w):"";this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.assist=null;this.bind=null;this.bookend=null;this.border=null;this.break=null;this.calculate=null;this.desc=null;this.extras=null;this.keep=null;this.margin=null;this.occur=null;this.overflow=null;this.pageSet=null;this.para=null;this.traversal=null;this.validate=null;this.variables=null;this.area=new XFAObjectArray;this.breakAfter=new XFAObjectArray;this.breakBefore=new XFAObjectArray;this.connect=new XFAObjectArray;this.draw=new XFAObjectArray;this.event=new XFAObjectArray;this.exObject=new XFAObjectArray;this.exclGroup=new XFAObjectArray;this.field=new XFAObjectArray;this.proto=new XFAObjectArray;this.setProperty=new XFAObjectArray;this.subform=new XFAObjectArray;this.subformSet=new XFAObjectArray}[As](){const e=this[ks]();return e instanceof SubformSet?e[As]():e}[Ds](){return!0}[Ls](){return this.layout.endsWith("-tb")&&0===this[os].attempt&&this[os].numberInLine>0||this[ks]()[Ls]()}*[Ss](){yield*getContainedChildren(this)}[ls](){return flushHTML(this)}[Jn](e,t){addHTML(this,e,t)}[ds](){return getAvailableSpace(this)}[Es](){const e=this[As]();if(!e[Es]())return!1;if(void 0!==this[os]._isSplittable)return this[os]._isSplittable;if("position"===this.layout||this.layout.includes("row")){this[os]._isSplittable=!1;return!1}if(this.keep&&"none"!==this.keep.intact){this[os]._isSplittable=!1;return!1}if(e.layout?.endsWith("-tb")&&0!==e[os].numberInLine)return!1;this[os]._isSplittable=!0;return!0}[so](e){setTabIndex(this);if(this.break){if("auto"!==this.break.after||""!==this.break.afterTarget){const e=new BreakAfter({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});e[vs]=this[vs];this[Yn](e);this.breakAfter.push(e)}if("auto"!==this.break.before||""!==this.break.beforeTarget){const e=new BreakBefore({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});e[vs]=this[vs];this[Yn](e);this.breakBefore.push(e)}if(""!==this.break.overflowTarget){const e=new Overflow({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});e[vs]=this[vs];this[Yn](e);this.overflow.push(e)}this[Js](this.break);this.break=null}if("hidden"===this.presence||"inactive"===this.presence)return HTMLResult.EMPTY;(this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&warn("XFA - Several breakBefore or breakAfter in subforms: please file a bug.");if(this.breakBefore.children.length>=1){const e=this.breakBefore.children[0];if(handleBreak(e))return HTMLResult.breakNode(e)}if(this[os]?.afterBreakAfter)return HTMLResult.EMPTY;fixDimensions(this);const t=[],a={id:this[lo],class:[]};setAccess(this,a.class);this[os]||=Object.create(null);Object.assign(this[os],{children:t,line:null,attributes:a,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});const r=this[Cs](),i=r[os].noLayoutFailure,n=this[Es]();n||setFirstUnsplittable(this);if(!checkDimensions(this,e))return HTMLResult.FAILURE;const s=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){const e=this[As]().columnWidths;if(Array.isArray(e)&&e.length>0){this[os].columnWidths=e;this[os].currentColumn=0}}const o=toStyle(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),c=["xfaSubform"],l=layoutClass(this);l&&c.push(l);a.style=o;a.class=c;this.name&&(a.xfaName=this.name);if(this.overflow){const t=this.overflow[bs]();if(t.addLeader){t.addLeader=!1;handleOverflow(this,t.leader,e)}}this[Ks]();const h="lr-tb"===this.layout||"rl-tb"===this.layout,u=h?2:1;for(;this[os].attempt=1){const e=this.breakAfter.children[0];if(handleBreak(e)){this[os].afterBreakAfter=y;return HTMLResult.breakNode(e)}}delete this[os];return y}}class SubformSet extends XFAObject{constructor(e){super(zo,"subformSet",!0);this.id=e.id||"";this.name=e.name||"";this.relation=getStringOption(e.relation,["ordered","choice","unordered"]);this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.bookend=null;this.break=null;this.desc=null;this.extras=null;this.occur=null;this.overflow=null;this.breakAfter=new XFAObjectArray;this.breakBefore=new XFAObjectArray;this.subform=new XFAObjectArray;this.subformSet=new XFAObjectArray}*[Ss](){yield*getContainedChildren(this)}[As](){let e=this[ks]();for(;!(e instanceof Subform);)e=e[ks]();return e}[Ds](){return!0}}class SubjectDN extends ContentObject{constructor(e){super(zo,"subjectDN");this.delimiter=e.delimiter||",";this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[cs](){this[is]=new Map(this[is].split(this.delimiter).map((e=>{(e=e.split("=",2))[0]=e[0].trim();return e})))}}class SubjectDNs extends XFAObject{constructor(e){super(zo,"subjectDNs",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.subjectDN=new XFAObjectArray}}class Submit extends XFAObject{constructor(e){super(zo,"submit",!0);this.embedPDF=getInteger({data:e.embedPDF,defaultValue:0,validate:e=>1===e});this.format=getStringOption(e.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]);this.id=e.id||"";this.target=e.target||"";this.textEncoding=getKeyword({data:e.textEncoding?e.textEncoding.toLowerCase():"",defaultValue:"",validate:e=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\d{2}/)});this.use=e.use||"";this.usehref=e.usehref||"";this.xdpContent=e.xdpContent||"";this.encrypt=null;this.encryptData=new XFAObjectArray;this.signData=new XFAObjectArray}}class Template extends XFAObject{constructor(e){super(zo,"template",!0);this.baseProfile=getStringOption(e.baseProfile,["full","interactiveForms"]);this.extras=null;this.subform=new XFAObjectArray}[cs](){0===this.subform.children.length&&warn("XFA - No subforms in template node.");this.subform.children.length>=2&&warn("XFA - Several subforms in template node: please file a bug.");this[ro]=5e3}[Es](){return!0}[Qs](e,t){return e.startsWith("#")?[this[Is].get(e.slice(1))]:searchNode(this,t,e,!0,!0)}*[no](){if(!this.subform.children.length)return HTMLResult.success({name:"div",children:[]});this[os]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]};const e=this.subform.children[0];e.pageSet[es]();const t=e.pageSet.pageArea.children,a={name:"div",children:[]};let r=null,i=null,n=null;if(e.breakBefore.children.length>=1){i=e.breakBefore.children[0];n=i.target}else if(e.subform.children.length>=1&&e.subform.children[0].breakBefore.children.length>=1){i=e.subform.children[0].breakBefore.children[0];n=i.target}else if(e.break?.beforeTarget){i=e.break;n=i.beforeTarget}else if(e.subform.children.length>=1&&e.subform.children[0].break?.beforeTarget){i=e.subform.children[0].break;n=i.beforeTarget}if(i){const e=this[Qs](n,i[ks]());if(e instanceof PageArea){r=e;i[os]={}}}r||=t[0];r[os]={numberOfUse:1};const s=r[ks]();s[os]={numberOfUse:1,pageIndex:s.pageArea.children.indexOf(r),pageSetIndex:0};let o,c=null,l=null,h=!0,u=0,d=0;for(;;){if(h)u=0;else{a.children.pop();if(3==++u){warn("XFA - Something goes wrong: please file a bug.");return a}}o=null;this[os].currentPageArea=r;const t=r[so]().html;a.children.push(t);if(c){this[os].noLayoutFailure=!0;t.children.push(c[so](r[os].space).html);c=null}if(l){this[os].noLayoutFailure=!0;t.children.push(l[so](r[os].space).html);l=null}const i=r.contentArea.children,n=t.children.filter((e=>e.attributes.class.includes("xfaContentarea")));h=!1;this[os].firstUnsplittable=null;this[os].noLayoutFailure=!1;const flush=t=>{const a=e[ls]();if(a){h||=a.children?.length>0;n[t].children.push(a)}};for(let t=d,r=i.length;t0;n[t].children.push(u.html)}else!h&&a.children.length>1&&a.children.pop();return a}if(u.isBreak()){const e=u.breakNode;flush(t);if("auto"===e.targetType)continue;if(e.leader){c=this[Qs](e.leader,e[ks]());c=c?c[0]:null}if(e.trailer){l=this[Qs](e.trailer,e[ks]());l=l?l[0]:null}if("pageArea"===e.targetType){o=e[os].target;t=1/0}else if(e[os].target){o=e[os].target;d=e[os].index+1;t=1/0}else t=e[os].index}else if(this[os].overflowNode){const e=this[os].overflowNode;this[os].overflowNode=null;const a=e[bs](),r=a.target;a.addLeader=null!==a.leader;a.addTrailer=null!==a.trailer;flush(t);const n=t;t=1/0;if(r instanceof PageArea)o=r;else if(r instanceof ContentArea){const e=i.indexOf(r);if(-1!==e)e>n?t=e-1:d=e;else{o=r[ks]();d=o.contentArea.children.indexOf(r)}}}else flush(t)}this[os].pageNumber+=1;o&&(o[_s]()?o[os].numberOfUse+=1:o=null);r=o||r[xs]();yield null}}}class Text extends ContentObject{constructor(e){super(zo,"text");this.id=e.id||"";this.maxChars=getInteger({data:e.maxChars,defaultValue:0,validate:e=>e>=0});this.name=e.name||"";this.rid=e.rid||"";this.use=e.use||"";this.usehref=e.usehref||""}[Kn](){return!0}[Ws](e){if(e[Xs]===uo.xhtml.id){this[is]=e;return!0}warn(`XFA - Invalid content in Text: ${e[qs]}.`);return!1}[$s](e){this[is]instanceof XFAObject||super[$s](e)}[cs](){"string"==typeof this[is]&&(this[is]=this[is].replaceAll("\r\n","\n"))}[bs](){return"string"==typeof this[is]?this[is].split(/[\u2029\u2028\n]/).filter((e=>!!e)).join("\n"):this[is][io]()}[so](e){if("string"==typeof this[is]){const e=valueToHtml(this[is]).html;if(this[is].includes("\u2029")){e.name="div";e.children=[];this[is].split("\u2029").map((e=>e.split(/[\u2028\n]/).flatMap((e=>[{name:"span",value:e},{name:"br"}])))).forEach((t=>{e.children.push({name:"p",children:t})}))}else if(/[\u2028\n]/.test(this[is])){e.name="div";e.children=[];this[is].split(/[\u2028\n]/).forEach((t=>{e.children.push({name:"span",value:t},{name:"br"})}))}return HTMLResult.success(e)}return this[is][so](e)}}class TextEdit extends XFAObject{constructor(e){super(zo,"textEdit",!0);this.allowRichText=getInteger({data:e.allowRichText,defaultValue:0,validate:e=>1===e});this.hScrollPolicy=getStringOption(e.hScrollPolicy,["auto","off","on"]);this.id=e.id||"";this.multiLine=getInteger({data:e.multiLine,defaultValue:"",validate:e=>0===e||1===e});this.use=e.use||"";this.usehref=e.usehref||"";this.vScrollPolicy=getStringOption(e.vScrollPolicy,["auto","off","on"]);this.border=null;this.comb=null;this.extras=null;this.margin=null}[so](e){const t=toStyle(this,"border","font","margin");let a;const r=this[ks]()[ks]();""===this.multiLine&&(this.multiLine=r instanceof Draw?1:0);a=1===this.multiLine?{name:"textarea",attributes:{dataId:r[ns]?.[lo]||r[lo],fieldId:r[lo],class:["xfaTextfield"],style:t,"aria-label":ariaLabel(r),"aria-required":!1}}:{name:"input",attributes:{type:"text",dataId:r[ns]?.[lo]||r[lo],fieldId:r[lo],class:["xfaTextfield"],style:t,"aria-label":ariaLabel(r),"aria-required":!1}};if(isRequired(r)){a.attributes["aria-required"]=!0;a.attributes.required=!0}return HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[a]})}}class Time extends StringObject{constructor(e){super(zo,"time");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[cs](){const e=this[is].trim();this[is]=e?new Date(e):null}[so](e){return valueToHtml(this[is]?this[is].toString():"")}}class TimeStamp extends XFAObject{constructor(e){super(zo,"timeStamp");this.id=e.id||"";this.server=e.server||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||""}}class ToolTip extends StringObject{constructor(e){super(zo,"toolTip");this.id=e.id||"";this.rid=e.rid||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Traversal extends XFAObject{constructor(e){super(zo,"traversal",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.traverse=new XFAObjectArray}}class Traverse extends XFAObject{constructor(e){super(zo,"traverse",!0);this.id=e.id||"";this.operation=getStringOption(e.operation,["next","back","down","first","left","right","up"]);this.ref=e.ref||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.script=null}get name(){return this.operation}[js](){return!1}}class Ui extends XFAObject{constructor(e){super(zo,"ui",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.picture=null;this.barcode=null;this.button=null;this.checkButton=null;this.choiceList=null;this.dateTimeEdit=null;this.defaultUi=null;this.imageEdit=null;this.numericEdit=null;this.passwordEdit=null;this.signature=null;this.textEdit=null}[bs](){if(void 0===this[os]){for(const e of Object.getOwnPropertyNames(this)){if("extras"===e||"picture"===e)continue;const t=this[e];if(t instanceof XFAObject){this[os]=t;return t}}this[os]=null}return this[os]}[so](e){const t=this[bs]();return t?t[so](e):HTMLResult.EMPTY}}class Validate extends XFAObject{constructor(e){super(zo,"validate",!0);this.formatTest=getStringOption(e.formatTest,["warning","disabled","error"]);this.id=e.id||"";this.nullTest=getStringOption(e.nullTest,["disabled","error","warning"]);this.scriptTest=getStringOption(e.scriptTest,["error","disabled","warning"]);this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.message=null;this.picture=null;this.script=null}}class Value extends XFAObject{constructor(e){super(zo,"value",!0);this.id=e.id||"";this.override=getInteger({data:e.override,defaultValue:0,validate:e=>1===e});this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.arc=null;this.boolean=null;this.date=null;this.dateTime=null;this.decimal=null;this.exData=null;this.float=null;this.image=null;this.integer=null;this.line=null;this.rectangle=null;this.text=null;this.time=null}[ao](e){const t=this[ks]();if(t instanceof Field&&t.ui?.imageEdit){if(!this.image){this.image=new Image({});this[Yn](this.image)}this.image[is]=e[is];return}const a=e[qs];if(null===this[a]){for(const e of Object.getOwnPropertyNames(this)){const t=this[e];if(t instanceof XFAObject){this[e]=null;this[Js](t)}}this[e[qs]]=e;this[Yn](e)}else this[a][is]=e[is]}[io](){if(this.exData)return"string"==typeof this.exData[is]?this.exData[is].trim():this.exData[is][io]().trim();for(const e of Object.getOwnPropertyNames(this)){if("image"===e)continue;const t=this[e];if(t instanceof XFAObject)return(t[is]||"").toString().trim()}return null}[so](e){for(const t of Object.getOwnPropertyNames(this)){const a=this[t];if(a instanceof XFAObject)return a[so](e)}return HTMLResult.EMPTY}}class Variables extends XFAObject{constructor(e){super(zo,"variables",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.boolean=new XFAObjectArray;this.date=new XFAObjectArray;this.dateTime=new XFAObjectArray;this.decimal=new XFAObjectArray;this.exData=new XFAObjectArray;this.float=new XFAObjectArray;this.image=new XFAObjectArray;this.integer=new XFAObjectArray;this.manifest=new XFAObjectArray;this.script=new XFAObjectArray;this.text=new XFAObjectArray;this.time=new XFAObjectArray}[js](){return!0}}class TemplateNamespace{static[ho](e,t){if(TemplateNamespace.hasOwnProperty(e)){const a=TemplateNamespace[e](t);a[to](t);return a}}static appearanceFilter(e){return new AppearanceFilter(e)}static arc(e){return new Arc(e)}static area(e){return new Area(e)}static assist(e){return new Assist(e)}static barcode(e){return new Barcode(e)}static bind(e){return new Bind(e)}static bindItems(e){return new BindItems(e)}static bookend(e){return new Bookend(e)}static boolean(e){return new BooleanElement(e)}static border(e){return new Border(e)}static break(e){return new Break(e)}static breakAfter(e){return new BreakAfter(e)}static breakBefore(e){return new BreakBefore(e)}static button(e){return new Button(e)}static calculate(e){return new Calculate(e)}static caption(e){return new Caption(e)}static certificate(e){return new Certificate(e)}static certificates(e){return new Certificates(e)}static checkButton(e){return new CheckButton(e)}static choiceList(e){return new ChoiceList(e)}static color(e){return new Color(e)}static comb(e){return new Comb(e)}static connect(e){return new Connect(e)}static contentArea(e){return new ContentArea(e)}static corner(e){return new Corner(e)}static date(e){return new DateElement(e)}static dateTime(e){return new DateTime(e)}static dateTimeEdit(e){return new DateTimeEdit(e)}static decimal(e){return new Decimal(e)}static defaultUi(e){return new DefaultUi(e)}static desc(e){return new Desc(e)}static digestMethod(e){return new DigestMethod(e)}static digestMethods(e){return new DigestMethods(e)}static draw(e){return new Draw(e)}static edge(e){return new Edge(e)}static encoding(e){return new Encoding(e)}static encodings(e){return new Encodings(e)}static encrypt(e){return new Encrypt(e)}static encryptData(e){return new EncryptData(e)}static encryption(e){return new Encryption(e)}static encryptionMethod(e){return new EncryptionMethod(e)}static encryptionMethods(e){return new EncryptionMethods(e)}static event(e){return new Event(e)}static exData(e){return new ExData(e)}static exObject(e){return new ExObject(e)}static exclGroup(e){return new ExclGroup(e)}static execute(e){return new Execute(e)}static extras(e){return new Extras(e)}static field(e){return new Field(e)}static fill(e){return new Fill(e)}static filter(e){return new Filter(e)}static float(e){return new Float(e)}static font(e){return new template_Font(e)}static format(e){return new Format(e)}static handler(e){return new Handler(e)}static hyphenation(e){return new Hyphenation(e)}static image(e){return new Image(e)}static imageEdit(e){return new ImageEdit(e)}static integer(e){return new Integer(e)}static issuers(e){return new Issuers(e)}static items(e){return new Items(e)}static keep(e){return new Keep(e)}static keyUsage(e){return new KeyUsage(e)}static line(e){return new Line(e)}static linear(e){return new Linear(e)}static lockDocument(e){return new LockDocument(e)}static manifest(e){return new Manifest(e)}static margin(e){return new Margin(e)}static mdp(e){return new Mdp(e)}static medium(e){return new Medium(e)}static message(e){return new Message(e)}static numericEdit(e){return new NumericEdit(e)}static occur(e){return new Occur(e)}static oid(e){return new Oid(e)}static oids(e){return new Oids(e)}static overflow(e){return new Overflow(e)}static pageArea(e){return new PageArea(e)}static pageSet(e){return new PageSet(e)}static para(e){return new Para(e)}static passwordEdit(e){return new PasswordEdit(e)}static pattern(e){return new template_Pattern(e)}static picture(e){return new Picture(e)}static proto(e){return new Proto(e)}static radial(e){return new Radial(e)}static reason(e){return new Reason(e)}static reasons(e){return new Reasons(e)}static rectangle(e){return new Rectangle(e)}static ref(e){return new RefElement(e)}static script(e){return new Script(e)}static setProperty(e){return new SetProperty(e)}static signData(e){return new SignData(e)}static signature(e){return new Signature(e)}static signing(e){return new Signing(e)}static solid(e){return new Solid(e)}static speak(e){return new Speak(e)}static stipple(e){return new Stipple(e)}static subform(e){return new Subform(e)}static subformSet(e){return new SubformSet(e)}static subjectDN(e){return new SubjectDN(e)}static subjectDNs(e){return new SubjectDNs(e)}static submit(e){return new Submit(e)}static template(e){return new Template(e)}static text(e){return new Text(e)}static textEdit(e){return new TextEdit(e)}static time(e){return new Time(e)}static timeStamp(e){return new TimeStamp(e)}static toolTip(e){return new ToolTip(e)}static traversal(e){return new Traversal(e)}static traverse(e){return new Traverse(e)}static ui(e){return new Ui(e)}static validate(e){return new Validate(e)}static value(e){return new Value(e)}static variables(e){return new Variables(e)}}const Jo=uo.datasets.id;function createText(e){const t=new Text({});t[is]=e;return t}class Binder{constructor(e){this.root=e;this.datasets=e.datasets;this.data=e.datasets?.data||new XmlObject(uo.datasets.id,"data");this.emptyMerge=0===this.data[ws]().length;this.root.form=this.form=e.template[as]()}_isConsumeData(){return!this.emptyMerge&&this._mergeMode}_isMatchTemplate(){return!this._isConsumeData()}bind(){this._bindElement(this.form,this.data);return this.form}getData(){return this.data}_bindValue(e,t,a){e[ns]=t;if(e[Fs]())if(t[Bs]()){const a=t[ms]();e[ao](createText(a))}else if(e instanceof Field&&"multiSelect"===e.ui?.choiceList?.open){const a=t[ws]().map((e=>e[is].trim())).join("\n");e[ao](createText(a))}else this._isConsumeData()&&warn("XFA - Nodes haven't the same type.");else!t[Bs]()||this._isMatchTemplate()?this._bindElement(e,t):warn("XFA - Nodes haven't the same type.")}_findDataByNameToConsume(e,t,a,r){if(!e)return null;let i,n;for(let r=0;r<3;r++){i=a[ys](e,!1,!0);for(;;){n=i.next().value;if(!n)break;if(t===n[Bs]())return n}if(a[Xs]===uo.datasets.id&&"data"===a[qs])break;a=a[ks]()}if(!r)return null;i=this.data[ys](e,!0,!1);n=i.next().value;if(n)return n;i=this.data[hs](e,!0);n=i.next().value;return n?.[Bs]()?n:null}_setProperties(e,t){if(e.hasOwnProperty("setProperty"))for(const{ref:a,target:r,connection:i}of e.setProperty.children){if(i)continue;if(!a)continue;const n=searchNode(this.root,t,a,!1,!1);if(!n){warn(`XFA - Invalid reference: ${a}.`);continue}const[s]=n;if(!s[Rs](this.data)){warn("XFA - Invalid node: must be a data node.");continue}const o=searchNode(this.root,e,r,!1,!1);if(!o){warn(`XFA - Invalid target: ${r}.`);continue}const[c]=o;if(!c[Rs](e)){warn("XFA - Invalid target: must be a property or subproperty.");continue}const l=c[ks]();if(c instanceof SetProperty||l instanceof SetProperty){warn("XFA - Invalid target: cannot be a setProperty or one of its properties.");continue}if(c instanceof BindItems||l instanceof BindItems){warn("XFA - Invalid target: cannot be a bindItems or one of its properties.");continue}const h=s[io](),u=c[qs];if(c instanceof XFAAttribute){const e=Object.create(null);e[u]=h;const t=Reflect.construct(Object.getPrototypeOf(l).constructor,[e]);l[u]=t[u]}else if(c.hasOwnProperty(is)){c[ns]=s;c[is]=h;c[cs]()}else warn("XFA - Invalid node to use in setProperty")}}_bindItems(e,t){if(!e.hasOwnProperty("items")||!e.hasOwnProperty("bindItems")||e.bindItems.isEmpty())return;for(const t of e.items.children)e[Js](t);e.items.clear();const a=new Items({}),r=new Items({});e[Yn](a);e.items.push(a);e[Yn](r);e.items.push(r);for(const{ref:i,labelRef:n,valueRef:s,connection:o}of e.bindItems.children){if(o)continue;if(!i)continue;const e=searchNode(this.root,t,i,!1,!1);if(e)for(const t of e){if(!t[Rs](this.datasets)){warn(`XFA - Invalid ref (${i}): must be a datasets child.`);continue}const e=searchNode(this.root,t,n,!0,!1);if(!e){warn(`XFA - Invalid label: ${n}.`);continue}const[o]=e;if(!o[Rs](this.datasets)){warn("XFA - Invalid label: must be a datasets child.");continue}const c=searchNode(this.root,t,s,!0,!1);if(!c){warn(`XFA - Invalid value: ${s}.`);continue}const[l]=c;if(!l[Rs](this.datasets)){warn("XFA - Invalid value: must be a datasets child.");continue}const h=createText(o[io]()),u=createText(l[io]());a[Yn](h);a.text.push(h);r[Yn](u);r.text.push(u)}else warn(`XFA - Invalid reference: ${i}.`)}}_bindOccurrences(e,t,a){let r;if(t.length>1){r=e[as]();r[Js](r.occur);r.occur=null}this._bindValue(e,t[0],a);this._setProperties(e,t[0]);this._bindItems(e,t[0]);if(1===t.length)return;const i=e[ks](),n=e[qs],s=i[Os](e);for(let e=1,o=t.length;et.name===e.name)).length:a[r].children.length;const n=a[Os](e)+1,s=t.initial-i;if(s){const t=e[as]();t[Js](t.occur);t.occur=null;a[r].push(t);a[Ts](n,t);for(let e=1;e0)this._bindOccurrences(r,[e[0]],null);else if(this.emptyMerge){const e=t[Xs]===Jo?-1:t[Xs],a=r[ns]=new XmlObject(e,r.name||"root");t[Yn](a);this._bindElement(r,a)}continue}if(!r[Ds]())continue;let e=!1,i=null,n=null,s=null;if(r.bind){switch(r.bind.match){case"none":this._setAndBind(r,t);continue;case"global":e=!0;break;case"dataRef":if(!r.bind.ref){warn(`XFA - ref is empty in node ${r[qs]}.`);this._setAndBind(r,t);continue}n=r.bind.ref}r.bind.picture&&(i=r.bind.picture[is])}const[o,c]=this._getOccurInfo(r);if(n){s=searchNode(this.root,t,n,!0,!1);if(null===s){s=createDataNode(this.data,t,n);if(!s)continue;this._isConsumeData()&&(s[rs]=!0);this._setAndBind(r,s);continue}this._isConsumeData()&&(s=s.filter((e=>!e[rs])));s.length>c?s=s.slice(0,c):0===s.length&&(s=null);s&&this._isConsumeData()&&s.forEach((e=>{e[rs]=!0}))}else{if(!r.name){this._setAndBind(r,t);continue}if(this._isConsumeData()){const a=[];for(;a.length0?a:null}else{s=t[ys](r.name,!1,this.emptyMerge).next().value;if(!s){if(0===o){a.push(r);continue}const e=t[Xs]===Jo?-1:t[Xs];s=r[ns]=new XmlObject(e,r.name);this.emptyMerge&&(s[rs]=!0);t[Yn](s);this._setAndBind(r,s);continue}this.emptyMerge&&(s[rs]=!0);s=[s]}}s?this._bindOccurrences(r,s,i):o>0?this._setAndBind(r,t):a.push(r)}a.forEach((e=>e[ks]()[Js](e)))}}class DataHandler{constructor(e,t){this.data=t;this.dataset=e.datasets||null}serialize(e){const t=[[-1,this.data[ws]()]];for(;t.length>0;){const a=t.at(-1),[r,i]=a;if(r+1===i.length){t.pop();continue}const n=i[++a[0]],s=e.get(n[lo]);if(s)n[ao](s);else{const t=n[us]();for(const a of t.values()){const t=e.get(a[lo]);if(t){a[ao](t);break}}}const o=n[ws]();o.length>0&&t.push([-1,o])}const a=[''];if(this.dataset)for(const e of this.dataset[ws]())"data"!==e[qs]&&e[oo](a);this.data[oo](a);a.push("");return a.join("")}}const Yo=uo.config.id;class Acrobat extends XFAObject{constructor(e){super(Yo,"acrobat",!0);this.acrobat7=null;this.autoSave=null;this.common=null;this.validate=null;this.validateApprovalSignatures=null;this.submitUrl=new XFAObjectArray}}class Acrobat7 extends XFAObject{constructor(e){super(Yo,"acrobat7",!0);this.dynamicRender=null}}class ADBE_JSConsole extends OptionObject{constructor(e){super(Yo,"ADBE_JSConsole",["delegate","Enable","Disable"])}}class ADBE_JSDebugger extends OptionObject{constructor(e){super(Yo,"ADBE_JSDebugger",["delegate","Enable","Disable"])}}class AddSilentPrint extends Option01{constructor(e){super(Yo,"addSilentPrint")}}class AddViewerPreferences extends Option01{constructor(e){super(Yo,"addViewerPreferences")}}class AdjustData extends Option10{constructor(e){super(Yo,"adjustData")}}class AdobeExtensionLevel extends IntegerObject{constructor(e){super(Yo,"adobeExtensionLevel",0,(e=>e>=1&&e<=8))}}class Agent extends XFAObject{constructor(e){super(Yo,"agent",!0);this.name=e.name?e.name.trim():"";this.common=new XFAObjectArray}}class AlwaysEmbed extends ContentObject{constructor(e){super(Yo,"alwaysEmbed")}}class Amd extends StringObject{constructor(e){super(Yo,"amd")}}class config_Area extends XFAObject{constructor(e){super(Yo,"area");this.level=getInteger({data:e.level,defaultValue:0,validate:e=>e>=1&&e<=3});this.name=getStringOption(e.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"])}}class Attributes extends OptionObject{constructor(e){super(Yo,"attributes",["preserve","delegate","ignore"])}}class AutoSave extends OptionObject{constructor(e){super(Yo,"autoSave",["disabled","enabled"])}}class Base extends StringObject{constructor(e){super(Yo,"base")}}class BatchOutput extends XFAObject{constructor(e){super(Yo,"batchOutput");this.format=getStringOption(e.format,["none","concat","zip","zipCompress"])}}class BehaviorOverride extends ContentObject{constructor(e){super(Yo,"behaviorOverride")}[cs](){this[is]=new Map(this[is].trim().split(/\s+/).filter((e=>e.includes(":"))).map((e=>e.split(":",2))))}}class Cache extends XFAObject{constructor(e){super(Yo,"cache",!0);this.templateCache=null}}class Change extends Option01{constructor(e){super(Yo,"change")}}class Common extends XFAObject{constructor(e){super(Yo,"common",!0);this.data=null;this.locale=null;this.localeSet=null;this.messaging=null;this.suppressBanner=null;this.template=null;this.validationMessaging=null;this.versionControl=null;this.log=new XFAObjectArray}}class Compress extends XFAObject{constructor(e){super(Yo,"compress");this.scope=getStringOption(e.scope,["imageOnly","document"])}}class CompressLogicalStructure extends Option01{constructor(e){super(Yo,"compressLogicalStructure")}}class CompressObjectStream extends Option10{constructor(e){super(Yo,"compressObjectStream")}}class Compression extends XFAObject{constructor(e){super(Yo,"compression",!0);this.compressLogicalStructure=null;this.compressObjectStream=null;this.level=null;this.type=null}}class Config extends XFAObject{constructor(e){super(Yo,"config",!0);this.acrobat=null;this.present=null;this.trace=null;this.agent=new XFAObjectArray}}class Conformance extends OptionObject{constructor(e){super(Yo,"conformance",["A","B"])}}class ContentCopy extends Option01{constructor(e){super(Yo,"contentCopy")}}class Copies extends IntegerObject{constructor(e){super(Yo,"copies",1,(e=>e>=1))}}class Creator extends StringObject{constructor(e){super(Yo,"creator")}}class CurrentPage extends IntegerObject{constructor(e){super(Yo,"currentPage",0,(e=>e>=0))}}class Data extends XFAObject{constructor(e){super(Yo,"data",!0);this.adjustData=null;this.attributes=null;this.incrementalLoad=null;this.outputXSL=null;this.range=null;this.record=null;this.startNode=null;this.uri=null;this.window=null;this.xsl=null;this.excludeNS=new XFAObjectArray;this.transform=new XFAObjectArray}}class Debug extends XFAObject{constructor(e){super(Yo,"debug",!0);this.uri=null}}class DefaultTypeface extends ContentObject{constructor(e){super(Yo,"defaultTypeface");this.writingScript=getStringOption(e.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"])}}class Destination extends OptionObject{constructor(e){super(Yo,"destination",["pdf","pcl","ps","webClient","zpl"])}}class DocumentAssembly extends Option01{constructor(e){super(Yo,"documentAssembly")}}class Driver extends XFAObject{constructor(e){super(Yo,"driver",!0);this.name=e.name?e.name.trim():"";this.fontInfo=null;this.xdc=null}}class DuplexOption extends OptionObject{constructor(e){super(Yo,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"])}}class DynamicRender extends OptionObject{constructor(e){super(Yo,"dynamicRender",["forbidden","required"])}}class Embed extends Option01{constructor(e){super(Yo,"embed")}}class config_Encrypt extends Option01{constructor(e){super(Yo,"encrypt")}}class config_Encryption extends XFAObject{constructor(e){super(Yo,"encryption",!0);this.encrypt=null;this.encryptionLevel=null;this.permissions=null}}class EncryptionLevel extends OptionObject{constructor(e){super(Yo,"encryptionLevel",["40bit","128bit"])}}class Enforce extends StringObject{constructor(e){super(Yo,"enforce")}}class Equate extends XFAObject{constructor(e){super(Yo,"equate");this.force=getInteger({data:e.force,defaultValue:1,validate:e=>0===e});this.from=e.from||"";this.to=e.to||""}}class EquateRange extends XFAObject{constructor(e){super(Yo,"equateRange");this.from=e.from||"";this.to=e.to||"";this._unicodeRange=e.unicodeRange||""}get unicodeRange(){const e=[],t=/U\+([0-9a-fA-F]+)/,a=this._unicodeRange;for(let r of a.split(",").map((e=>e.trim())).filter((e=>!!e))){r=r.split("-",2).map((e=>{const a=e.match(t);return a?parseInt(a[1],16):0}));1===r.length&&r.push(r[0]);e.push(r)}return shadow(this,"unicodeRange",e)}}class Exclude extends ContentObject{constructor(e){super(Yo,"exclude")}[cs](){this[is]=this[is].trim().split(/\s+/).filter((e=>e&&["calculate","close","enter","exit","initialize","ready","validate"].includes(e)))}}class ExcludeNS extends StringObject{constructor(e){super(Yo,"excludeNS")}}class FlipLabel extends OptionObject{constructor(e){super(Yo,"flipLabel",["usePrinterSetting","on","off"])}}class config_FontInfo extends XFAObject{constructor(e){super(Yo,"fontInfo",!0);this.embed=null;this.map=null;this.subsetBelow=null;this.alwaysEmbed=new XFAObjectArray;this.defaultTypeface=new XFAObjectArray;this.neverEmbed=new XFAObjectArray}}class FormFieldFilling extends Option01{constructor(e){super(Yo,"formFieldFilling")}}class GroupParent extends StringObject{constructor(e){super(Yo,"groupParent")}}class IfEmpty extends OptionObject{constructor(e){super(Yo,"ifEmpty",["dataValue","dataGroup","ignore","remove"])}}class IncludeXDPContent extends StringObject{constructor(e){super(Yo,"includeXDPContent")}}class IncrementalLoad extends OptionObject{constructor(e){super(Yo,"incrementalLoad",["none","forwardOnly"])}}class IncrementalMerge extends Option01{constructor(e){super(Yo,"incrementalMerge")}}class Interactive extends Option01{constructor(e){super(Yo,"interactive")}}class Jog extends OptionObject{constructor(e){super(Yo,"jog",["usePrinterSetting","none","pageSet"])}}class LabelPrinter extends XFAObject{constructor(e){super(Yo,"labelPrinter",!0);this.name=getStringOption(e.name,["zpl","dpl","ipl","tcpl"]);this.batchOutput=null;this.flipLabel=null;this.fontInfo=null;this.xdc=null}}class Layout extends OptionObject{constructor(e){super(Yo,"layout",["paginate","panel"])}}class Level extends IntegerObject{constructor(e){super(Yo,"level",0,(e=>e>0))}}class Linearized extends Option01{constructor(e){super(Yo,"linearized")}}class Locale extends StringObject{constructor(e){super(Yo,"locale")}}class LocaleSet extends StringObject{constructor(e){super(Yo,"localeSet")}}class Log extends XFAObject{constructor(e){super(Yo,"log",!0);this.mode=null;this.threshold=null;this.to=null;this.uri=null}}class MapElement extends XFAObject{constructor(e){super(Yo,"map",!0);this.equate=new XFAObjectArray;this.equateRange=new XFAObjectArray}}class MediumInfo extends XFAObject{constructor(e){super(Yo,"mediumInfo",!0);this.map=null}}class config_Message extends XFAObject{constructor(e){super(Yo,"message",!0);this.msgId=null;this.severity=null}}class Messaging extends XFAObject{constructor(e){super(Yo,"messaging",!0);this.message=new XFAObjectArray}}class Mode extends OptionObject{constructor(e){super(Yo,"mode",["append","overwrite"])}}class ModifyAnnots extends Option01{constructor(e){super(Yo,"modifyAnnots")}}class MsgId extends IntegerObject{constructor(e){super(Yo,"msgId",1,(e=>e>=1))}}class NameAttr extends StringObject{constructor(e){super(Yo,"nameAttr")}}class NeverEmbed extends ContentObject{constructor(e){super(Yo,"neverEmbed")}}class NumberOfCopies extends IntegerObject{constructor(e){super(Yo,"numberOfCopies",null,(e=>e>=2&&e<=5))}}class OpenAction extends XFAObject{constructor(e){super(Yo,"openAction",!0);this.destination=null}}class Output extends XFAObject{constructor(e){super(Yo,"output",!0);this.to=null;this.type=null;this.uri=null}}class OutputBin extends StringObject{constructor(e){super(Yo,"outputBin")}}class OutputXSL extends XFAObject{constructor(e){super(Yo,"outputXSL",!0);this.uri=null}}class Overprint extends OptionObject{constructor(e){super(Yo,"overprint",["none","both","draw","field"])}}class Packets extends StringObject{constructor(e){super(Yo,"packets")}[cs](){"*"!==this[is]&&(this[is]=this[is].trim().split(/\s+/).filter((e=>["config","datasets","template","xfdf","xslt"].includes(e))))}}class PageOffset extends XFAObject{constructor(e){super(Yo,"pageOffset");this.x=getInteger({data:e.x,defaultValue:"useXDCSetting",validate:e=>!0});this.y=getInteger({data:e.y,defaultValue:"useXDCSetting",validate:e=>!0})}}class PageRange extends StringObject{constructor(e){super(Yo,"pageRange")}[cs](){const e=this[is].trim().split(/\s+/).map((e=>parseInt(e,10))),t=[];for(let a=0,r=e.length;a!1))}}class Pcl extends XFAObject{constructor(e){super(Yo,"pcl",!0);this.name=e.name||"";this.batchOutput=null;this.fontInfo=null;this.jog=null;this.mediumInfo=null;this.outputBin=null;this.pageOffset=null;this.staple=null;this.xdc=null}}class Pdf extends XFAObject{constructor(e){super(Yo,"pdf",!0);this.name=e.name||"";this.adobeExtensionLevel=null;this.batchOutput=null;this.compression=null;this.creator=null;this.encryption=null;this.fontInfo=null;this.interactive=null;this.linearized=null;this.openAction=null;this.pdfa=null;this.producer=null;this.renderPolicy=null;this.scriptModel=null;this.silentPrint=null;this.submitFormat=null;this.tagged=null;this.version=null;this.viewerPreferences=null;this.xdc=null}}class Pdfa extends XFAObject{constructor(e){super(Yo,"pdfa",!0);this.amd=null;this.conformance=null;this.includeXDPContent=null;this.part=null}}class Permissions extends XFAObject{constructor(e){super(Yo,"permissions",!0);this.accessibleContent=null;this.change=null;this.contentCopy=null;this.documentAssembly=null;this.formFieldFilling=null;this.modifyAnnots=null;this.plaintextMetadata=null;this.print=null;this.printHighQuality=null}}class PickTrayByPDFSize extends Option01{constructor(e){super(Yo,"pickTrayByPDFSize")}}class config_Picture extends StringObject{constructor(e){super(Yo,"picture")}}class PlaintextMetadata extends Option01{constructor(e){super(Yo,"plaintextMetadata")}}class Presence extends OptionObject{constructor(e){super(Yo,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"])}}class Present extends XFAObject{constructor(e){super(Yo,"present",!0);this.behaviorOverride=null;this.cache=null;this.common=null;this.copies=null;this.destination=null;this.incrementalMerge=null;this.layout=null;this.output=null;this.overprint=null;this.pagination=null;this.paginationOverride=null;this.script=null;this.validate=null;this.xdp=null;this.driver=new XFAObjectArray;this.labelPrinter=new XFAObjectArray;this.pcl=new XFAObjectArray;this.pdf=new XFAObjectArray;this.ps=new XFAObjectArray;this.submitUrl=new XFAObjectArray;this.webClient=new XFAObjectArray;this.zpl=new XFAObjectArray}}class Print extends Option01{constructor(e){super(Yo,"print")}}class PrintHighQuality extends Option01{constructor(e){super(Yo,"printHighQuality")}}class PrintScaling extends OptionObject{constructor(e){super(Yo,"printScaling",["appdefault","noScaling"])}}class PrinterName extends StringObject{constructor(e){super(Yo,"printerName")}}class Producer extends StringObject{constructor(e){super(Yo,"producer")}}class Ps extends XFAObject{constructor(e){super(Yo,"ps",!0);this.name=e.name||"";this.batchOutput=null;this.fontInfo=null;this.jog=null;this.mediumInfo=null;this.outputBin=null;this.staple=null;this.xdc=null}}class Range extends ContentObject{constructor(e){super(Yo,"range")}[cs](){this[is]=this[is].split(",",2).map((e=>e.split("-").map((e=>parseInt(e.trim(),10))))).filter((e=>e.every((e=>!isNaN(e))))).map((e=>{1===e.length&&e.push(e[0]);return e}))}}class Record extends ContentObject{constructor(e){super(Yo,"record")}[cs](){this[is]=this[is].trim();const e=parseInt(this[is],10);!isNaN(e)&&e>=0&&(this[is]=e)}}class Relevant extends ContentObject{constructor(e){super(Yo,"relevant")}[cs](){this[is]=this[is].trim().split(/\s+/)}}class Rename extends ContentObject{constructor(e){super(Yo,"rename")}[cs](){this[is]=this[is].trim();(this[is].toLowerCase().startsWith("xml")||new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u").test(this[is]))&&warn("XFA - Rename: invalid XFA name")}}class RenderPolicy extends OptionObject{constructor(e){super(Yo,"renderPolicy",["server","client"])}}class RunScripts extends OptionObject{constructor(e){super(Yo,"runScripts",["both","client","none","server"])}}class config_Script extends XFAObject{constructor(e){super(Yo,"script",!0);this.currentPage=null;this.exclude=null;this.runScripts=null}}class ScriptModel extends OptionObject{constructor(e){super(Yo,"scriptModel",["XFA","none"])}}class Severity extends OptionObject{constructor(e){super(Yo,"severity",["ignore","error","information","trace","warning"])}}class SilentPrint extends XFAObject{constructor(e){super(Yo,"silentPrint",!0);this.addSilentPrint=null;this.printerName=null}}class Staple extends XFAObject{constructor(e){super(Yo,"staple");this.mode=getStringOption(e.mode,["usePrinterSetting","on","off"])}}class StartNode extends StringObject{constructor(e){super(Yo,"startNode")}}class StartPage extends IntegerObject{constructor(e){super(Yo,"startPage",0,(e=>!0))}}class SubmitFormat extends OptionObject{constructor(e){super(Yo,"submitFormat",["html","delegate","fdf","xml","pdf"])}}class SubmitUrl extends StringObject{constructor(e){super(Yo,"submitUrl")}}class SubsetBelow extends IntegerObject{constructor(e){super(Yo,"subsetBelow",100,(e=>e>=0&&e<=100))}}class SuppressBanner extends Option01{constructor(e){super(Yo,"suppressBanner")}}class Tagged extends Option01{constructor(e){super(Yo,"tagged")}}class config_Template extends XFAObject{constructor(e){super(Yo,"template",!0);this.base=null;this.relevant=null;this.startPage=null;this.uri=null;this.xsl=null}}class Threshold extends OptionObject{constructor(e){super(Yo,"threshold",["trace","error","information","warning"])}}class To extends OptionObject{constructor(e){super(Yo,"to",["null","memory","stderr","stdout","system","uri"])}}class TemplateCache extends XFAObject{constructor(e){super(Yo,"templateCache");this.maxEntries=getInteger({data:e.maxEntries,defaultValue:5,validate:e=>e>=0})}}class Trace extends XFAObject{constructor(e){super(Yo,"trace",!0);this.area=new XFAObjectArray}}class Transform extends XFAObject{constructor(e){super(Yo,"transform",!0);this.groupParent=null;this.ifEmpty=null;this.nameAttr=null;this.picture=null;this.presence=null;this.rename=null;this.whitespace=null}}class Type extends OptionObject{constructor(e){super(Yo,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"])}}class Uri extends StringObject{constructor(e){super(Yo,"uri")}}class config_Validate extends OptionObject{constructor(e){super(Yo,"validate",["preSubmit","prePrint","preExecute","preSave"])}}class ValidateApprovalSignatures extends ContentObject{constructor(e){super(Yo,"validateApprovalSignatures")}[cs](){this[is]=this[is].trim().split(/\s+/).filter((e=>["docReady","postSign"].includes(e)))}}class ValidationMessaging extends OptionObject{constructor(e){super(Yo,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"])}}class Version extends OptionObject{constructor(e){super(Yo,"version",["1.7","1.6","1.5","1.4","1.3","1.2"])}}class VersionControl extends XFAObject{constructor(e){super(Yo,"VersionControl");this.outputBelow=getStringOption(e.outputBelow,["warn","error","update"]);this.sourceAbove=getStringOption(e.sourceAbove,["warn","error"]);this.sourceBelow=getStringOption(e.sourceBelow,["update","maintain"])}}class ViewerPreferences extends XFAObject{constructor(e){super(Yo,"viewerPreferences",!0);this.ADBE_JSConsole=null;this.ADBE_JSDebugger=null;this.addViewerPreferences=null;this.duplexOption=null;this.enforce=null;this.numberOfCopies=null;this.pageRange=null;this.pickTrayByPDFSize=null;this.printScaling=null}}class WebClient extends XFAObject{constructor(e){super(Yo,"webClient",!0);this.name=e.name?e.name.trim():"";this.fontInfo=null;this.xdc=null}}class Whitespace extends OptionObject{constructor(e){super(Yo,"whitespace",["preserve","ltrim","normalize","rtrim","trim"])}}class Window extends ContentObject{constructor(e){super(Yo,"window")}[cs](){const e=this[is].split(",",2).map((e=>parseInt(e.trim(),10)));if(e.some((e=>isNaN(e))))this[is]=[0,0];else{1===e.length&&e.push(e[0]);this[is]=e}}}class Xdc extends XFAObject{constructor(e){super(Yo,"xdc",!0);this.uri=new XFAObjectArray;this.xsl=new XFAObjectArray}}class Xdp extends XFAObject{constructor(e){super(Yo,"xdp",!0);this.packets=null}}class Xsl extends XFAObject{constructor(e){super(Yo,"xsl",!0);this.debug=null;this.uri=null}}class Zpl extends XFAObject{constructor(e){super(Yo,"zpl",!0);this.name=e.name?e.name.trim():"";this.batchOutput=null;this.flipLabel=null;this.fontInfo=null;this.xdc=null}}class ConfigNamespace{static[ho](e,t){if(ConfigNamespace.hasOwnProperty(e))return ConfigNamespace[e](t)}static acrobat(e){return new Acrobat(e)}static acrobat7(e){return new Acrobat7(e)}static ADBE_JSConsole(e){return new ADBE_JSConsole(e)}static ADBE_JSDebugger(e){return new ADBE_JSDebugger(e)}static addSilentPrint(e){return new AddSilentPrint(e)}static addViewerPreferences(e){return new AddViewerPreferences(e)}static adjustData(e){return new AdjustData(e)}static adobeExtensionLevel(e){return new AdobeExtensionLevel(e)}static agent(e){return new Agent(e)}static alwaysEmbed(e){return new AlwaysEmbed(e)}static amd(e){return new Amd(e)}static area(e){return new config_Area(e)}static attributes(e){return new Attributes(e)}static autoSave(e){return new AutoSave(e)}static base(e){return new Base(e)}static batchOutput(e){return new BatchOutput(e)}static behaviorOverride(e){return new BehaviorOverride(e)}static cache(e){return new Cache(e)}static change(e){return new Change(e)}static common(e){return new Common(e)}static compress(e){return new Compress(e)}static compressLogicalStructure(e){return new CompressLogicalStructure(e)}static compressObjectStream(e){return new CompressObjectStream(e)}static compression(e){return new Compression(e)}static config(e){return new Config(e)}static conformance(e){return new Conformance(e)}static contentCopy(e){return new ContentCopy(e)}static copies(e){return new Copies(e)}static creator(e){return new Creator(e)}static currentPage(e){return new CurrentPage(e)}static data(e){return new Data(e)}static debug(e){return new Debug(e)}static defaultTypeface(e){return new DefaultTypeface(e)}static destination(e){return new Destination(e)}static documentAssembly(e){return new DocumentAssembly(e)}static driver(e){return new Driver(e)}static duplexOption(e){return new DuplexOption(e)}static dynamicRender(e){return new DynamicRender(e)}static embed(e){return new Embed(e)}static encrypt(e){return new config_Encrypt(e)}static encryption(e){return new config_Encryption(e)}static encryptionLevel(e){return new EncryptionLevel(e)}static enforce(e){return new Enforce(e)}static equate(e){return new Equate(e)}static equateRange(e){return new EquateRange(e)}static exclude(e){return new Exclude(e)}static excludeNS(e){return new ExcludeNS(e)}static flipLabel(e){return new FlipLabel(e)}static fontInfo(e){return new config_FontInfo(e)}static formFieldFilling(e){return new FormFieldFilling(e)}static groupParent(e){return new GroupParent(e)}static ifEmpty(e){return new IfEmpty(e)}static includeXDPContent(e){return new IncludeXDPContent(e)}static incrementalLoad(e){return new IncrementalLoad(e)}static incrementalMerge(e){return new IncrementalMerge(e)}static interactive(e){return new Interactive(e)}static jog(e){return new Jog(e)}static labelPrinter(e){return new LabelPrinter(e)}static layout(e){return new Layout(e)}static level(e){return new Level(e)}static linearized(e){return new Linearized(e)}static locale(e){return new Locale(e)}static localeSet(e){return new LocaleSet(e)}static log(e){return new Log(e)}static map(e){return new MapElement(e)}static mediumInfo(e){return new MediumInfo(e)}static message(e){return new config_Message(e)}static messaging(e){return new Messaging(e)}static mode(e){return new Mode(e)}static modifyAnnots(e){return new ModifyAnnots(e)}static msgId(e){return new MsgId(e)}static nameAttr(e){return new NameAttr(e)}static neverEmbed(e){return new NeverEmbed(e)}static numberOfCopies(e){return new NumberOfCopies(e)}static openAction(e){return new OpenAction(e)}static output(e){return new Output(e)}static outputBin(e){return new OutputBin(e)}static outputXSL(e){return new OutputXSL(e)}static overprint(e){return new Overprint(e)}static packets(e){return new Packets(e)}static pageOffset(e){return new PageOffset(e)}static pageRange(e){return new PageRange(e)}static pagination(e){return new Pagination(e)}static paginationOverride(e){return new PaginationOverride(e)}static part(e){return new Part(e)}static pcl(e){return new Pcl(e)}static pdf(e){return new Pdf(e)}static pdfa(e){return new Pdfa(e)}static permissions(e){return new Permissions(e)}static pickTrayByPDFSize(e){return new PickTrayByPDFSize(e)}static picture(e){return new config_Picture(e)}static plaintextMetadata(e){return new PlaintextMetadata(e)}static presence(e){return new Presence(e)}static present(e){return new Present(e)}static print(e){return new Print(e)}static printHighQuality(e){return new PrintHighQuality(e)}static printScaling(e){return new PrintScaling(e)}static printerName(e){return new PrinterName(e)}static producer(e){return new Producer(e)}static ps(e){return new Ps(e)}static range(e){return new Range(e)}static record(e){return new Record(e)}static relevant(e){return new Relevant(e)}static rename(e){return new Rename(e)}static renderPolicy(e){return new RenderPolicy(e)}static runScripts(e){return new RunScripts(e)}static script(e){return new config_Script(e)}static scriptModel(e){return new ScriptModel(e)}static severity(e){return new Severity(e)}static silentPrint(e){return new SilentPrint(e)}static staple(e){return new Staple(e)}static startNode(e){return new StartNode(e)}static startPage(e){return new StartPage(e)}static submitFormat(e){return new SubmitFormat(e)}static submitUrl(e){return new SubmitUrl(e)}static subsetBelow(e){return new SubsetBelow(e)}static suppressBanner(e){return new SuppressBanner(e)}static tagged(e){return new Tagged(e)}static template(e){return new config_Template(e)}static templateCache(e){return new TemplateCache(e)}static threshold(e){return new Threshold(e)}static to(e){return new To(e)}static trace(e){return new Trace(e)}static transform(e){return new Transform(e)}static type(e){return new Type(e)}static uri(e){return new Uri(e)}static validate(e){return new config_Validate(e)}static validateApprovalSignatures(e){return new ValidateApprovalSignatures(e)}static validationMessaging(e){return new ValidationMessaging(e)}static version(e){return new Version(e)}static versionControl(e){return new VersionControl(e)}static viewerPreferences(e){return new ViewerPreferences(e)}static webClient(e){return new WebClient(e)}static whitespace(e){return new Whitespace(e)}static window(e){return new Window(e)}static xdc(e){return new Xdc(e)}static xdp(e){return new Xdp(e)}static xsl(e){return new Xsl(e)}static zpl(e){return new Zpl(e)}}const Zo=uo.connectionSet.id;class ConnectionSet extends XFAObject{constructor(e){super(Zo,"connectionSet",!0);this.wsdlConnection=new XFAObjectArray;this.xmlConnection=new XFAObjectArray;this.xsdConnection=new XFAObjectArray}}class EffectiveInputPolicy extends XFAObject{constructor(e){super(Zo,"effectiveInputPolicy");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class EffectiveOutputPolicy extends XFAObject{constructor(e){super(Zo,"effectiveOutputPolicy");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Operation extends StringObject{constructor(e){super(Zo,"operation");this.id=e.id||"";this.input=e.input||"";this.name=e.name||"";this.output=e.output||"";this.use=e.use||"";this.usehref=e.usehref||""}}class RootElement extends StringObject{constructor(e){super(Zo,"rootElement");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class SoapAction extends StringObject{constructor(e){super(Zo,"soapAction");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class SoapAddress extends StringObject{constructor(e){super(Zo,"soapAddress");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class connection_set_Uri extends StringObject{constructor(e){super(Zo,"uri");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class WsdlAddress extends StringObject{constructor(e){super(Zo,"wsdlAddress");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class WsdlConnection extends XFAObject{constructor(e){super(Zo,"wsdlConnection",!0);this.dataDescription=e.dataDescription||"";this.name=e.name||"";this.effectiveInputPolicy=null;this.effectiveOutputPolicy=null;this.operation=null;this.soapAction=null;this.soapAddress=null;this.wsdlAddress=null}}class XmlConnection extends XFAObject{constructor(e){super(Zo,"xmlConnection",!0);this.dataDescription=e.dataDescription||"";this.name=e.name||"";this.uri=null}}class XsdConnection extends XFAObject{constructor(e){super(Zo,"xsdConnection",!0);this.dataDescription=e.dataDescription||"";this.name=e.name||"";this.rootElement=null;this.uri=null}}class ConnectionSetNamespace{static[ho](e,t){if(ConnectionSetNamespace.hasOwnProperty(e))return ConnectionSetNamespace[e](t)}static connectionSet(e){return new ConnectionSet(e)}static effectiveInputPolicy(e){return new EffectiveInputPolicy(e)}static effectiveOutputPolicy(e){return new EffectiveOutputPolicy(e)}static operation(e){return new Operation(e)}static rootElement(e){return new RootElement(e)}static soapAction(e){return new SoapAction(e)}static soapAddress(e){return new SoapAddress(e)}static uri(e){return new connection_set_Uri(e)}static wsdlAddress(e){return new WsdlAddress(e)}static wsdlConnection(e){return new WsdlConnection(e)}static xmlConnection(e){return new XmlConnection(e)}static xsdConnection(e){return new XsdConnection(e)}}const Qo=uo.datasets.id;class datasets_Data extends XmlObject{constructor(e){super(Qo,"data",e)}[Ns](){return!0}}class Datasets extends XFAObject{constructor(e){super(Qo,"datasets",!0);this.data=null;this.Signature=null}[Ws](e){const t=e[qs];("data"===t&&e[Xs]===Qo||"Signature"===t&&e[Xs]===uo.signature.id)&&(this[t]=e);this[Yn](e)}}class DatasetsNamespace{static[ho](e,t){if(DatasetsNamespace.hasOwnProperty(e))return DatasetsNamespace[e](t)}static datasets(e){return new Datasets(e)}static data(e){return new datasets_Data(e)}}const ec=uo.localeSet.id;class CalendarSymbols extends XFAObject{constructor(e){super(ec,"calendarSymbols",!0);this.name="gregorian";this.dayNames=new XFAObjectArray(2);this.eraNames=null;this.meridiemNames=null;this.monthNames=new XFAObjectArray(2)}}class CurrencySymbol extends StringObject{constructor(e){super(ec,"currencySymbol");this.name=getStringOption(e.name,["symbol","isoname","decimal"])}}class CurrencySymbols extends XFAObject{constructor(e){super(ec,"currencySymbols",!0);this.currencySymbol=new XFAObjectArray(3)}}class DatePattern extends StringObject{constructor(e){super(ec,"datePattern");this.name=getStringOption(e.name,["full","long","med","short"])}}class DatePatterns extends XFAObject{constructor(e){super(ec,"datePatterns",!0);this.datePattern=new XFAObjectArray(4)}}class DateTimeSymbols extends ContentObject{constructor(e){super(ec,"dateTimeSymbols")}}class Day extends StringObject{constructor(e){super(ec,"day")}}class DayNames extends XFAObject{constructor(e){super(ec,"dayNames",!0);this.abbr=getInteger({data:e.abbr,defaultValue:0,validate:e=>1===e});this.day=new XFAObjectArray(7)}}class Era extends StringObject{constructor(e){super(ec,"era")}}class EraNames extends XFAObject{constructor(e){super(ec,"eraNames",!0);this.era=new XFAObjectArray(2)}}class locale_set_Locale extends XFAObject{constructor(e){super(ec,"locale",!0);this.desc=e.desc||"";this.name="isoname";this.calendarSymbols=null;this.currencySymbols=null;this.datePatterns=null;this.dateTimeSymbols=null;this.numberPatterns=null;this.numberSymbols=null;this.timePatterns=null;this.typeFaces=null}}class locale_set_LocaleSet extends XFAObject{constructor(e){super(ec,"localeSet",!0);this.locale=new XFAObjectArray}}class Meridiem extends StringObject{constructor(e){super(ec,"meridiem")}}class MeridiemNames extends XFAObject{constructor(e){super(ec,"meridiemNames",!0);this.meridiem=new XFAObjectArray(2)}}class Month extends StringObject{constructor(e){super(ec,"month")}}class MonthNames extends XFAObject{constructor(e){super(ec,"monthNames",!0);this.abbr=getInteger({data:e.abbr,defaultValue:0,validate:e=>1===e});this.month=new XFAObjectArray(12)}}class NumberPattern extends StringObject{constructor(e){super(ec,"numberPattern");this.name=getStringOption(e.name,["full","long","med","short"])}}class NumberPatterns extends XFAObject{constructor(e){super(ec,"numberPatterns",!0);this.numberPattern=new XFAObjectArray(4)}}class NumberSymbol extends StringObject{constructor(e){super(ec,"numberSymbol");this.name=getStringOption(e.name,["decimal","grouping","percent","minus","zero"])}}class NumberSymbols extends XFAObject{constructor(e){super(ec,"numberSymbols",!0);this.numberSymbol=new XFAObjectArray(5)}}class TimePattern extends StringObject{constructor(e){super(ec,"timePattern");this.name=getStringOption(e.name,["full","long","med","short"])}}class TimePatterns extends XFAObject{constructor(e){super(ec,"timePatterns",!0);this.timePattern=new XFAObjectArray(4)}}class TypeFace extends XFAObject{constructor(e){super(ec,"typeFace",!0);this.name=""|e.name}}class TypeFaces extends XFAObject{constructor(e){super(ec,"typeFaces",!0);this.typeFace=new XFAObjectArray}}class LocaleSetNamespace{static[ho](e,t){if(LocaleSetNamespace.hasOwnProperty(e))return LocaleSetNamespace[e](t)}static calendarSymbols(e){return new CalendarSymbols(e)}static currencySymbol(e){return new CurrencySymbol(e)}static currencySymbols(e){return new CurrencySymbols(e)}static datePattern(e){return new DatePattern(e)}static datePatterns(e){return new DatePatterns(e)}static dateTimeSymbols(e){return new DateTimeSymbols(e)}static day(e){return new Day(e)}static dayNames(e){return new DayNames(e)}static era(e){return new Era(e)}static eraNames(e){return new EraNames(e)}static locale(e){return new locale_set_Locale(e)}static localeSet(e){return new locale_set_LocaleSet(e)}static meridiem(e){return new Meridiem(e)}static meridiemNames(e){return new MeridiemNames(e)}static month(e){return new Month(e)}static monthNames(e){return new MonthNames(e)}static numberPattern(e){return new NumberPattern(e)}static numberPatterns(e){return new NumberPatterns(e)}static numberSymbol(e){return new NumberSymbol(e)}static numberSymbols(e){return new NumberSymbols(e)}static timePattern(e){return new TimePattern(e)}static timePatterns(e){return new TimePatterns(e)}static typeFace(e){return new TypeFace(e)}static typeFaces(e){return new TypeFaces(e)}}const tc=uo.signature.id;class signature_Signature extends XFAObject{constructor(e){super(tc,"signature",!0)}}class SignatureNamespace{static[ho](e,t){if(SignatureNamespace.hasOwnProperty(e))return SignatureNamespace[e](t)}static signature(e){return new signature_Signature(e)}}const ac=uo.stylesheet.id;class Stylesheet extends XFAObject{constructor(e){super(ac,"stylesheet",!0)}}class StylesheetNamespace{static[ho](e,t){if(StylesheetNamespace.hasOwnProperty(e))return StylesheetNamespace[e](t)}static stylesheet(e){return new Stylesheet(e)}}const rc=uo.xdp.id;class xdp_Xdp extends XFAObject{constructor(e){super(rc,"xdp",!0);this.uuid=e.uuid||"";this.timeStamp=e.timeStamp||"";this.config=null;this.connectionSet=null;this.datasets=null;this.localeSet=null;this.stylesheet=new XFAObjectArray;this.template=null}[zs](e){const t=uo[e[qs]];return t&&e[Xs]===t.id}}class XdpNamespace{static[ho](e,t){if(XdpNamespace.hasOwnProperty(e))return XdpNamespace[e](t)}static xdp(e){return new xdp_Xdp(e)}}const ic=uo.xhtml.id,nc=Symbol(),sc=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),oc=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",e=>"none"===e?"none":"normal"],["xfa-font-horizontal-scale",e=>`scaleX(${Math.max(0,parseInt(e)/100).toFixed(2)})`],["xfa-font-vertical-scale",e=>`scaleY(${Math.max(0,parseInt(e)/100).toFixed(2)})`],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",(e,t)=>measureToString(.99*(e=t.fontSize=Math.abs(getMeasurement(e))))],["letter-spacing",e=>measureToString(getMeasurement(e))],["line-height",e=>measureToString(getMeasurement(e))],["margin",e=>measureToString(getMeasurement(e))],["margin-bottom",e=>measureToString(getMeasurement(e))],["margin-left",e=>measureToString(getMeasurement(e))],["margin-right",e=>measureToString(getMeasurement(e))],["margin-top",e=>measureToString(getMeasurement(e))],["text-indent",e=>measureToString(getMeasurement(e))],["font-family",e=>e],["vertical-align",e=>measureToString(getMeasurement(e))]]),cc=/\s+/g,lc=/[\r\n]+/g,hc=/\r\n?/g;function mapStyle(e,t,a){const r=Object.create(null);if(!e)return r;const i=Object.create(null);for(const[t,a]of e.split(";").map((e=>e.split(":",2)))){const e=oc.get(t);if(""===e)continue;let n=a;e&&(n="string"==typeof e?e:e(a,i));t.endsWith("scale")?r.transform=r.transform?`${r[t]} ${n}`:n:r[t.replaceAll(/-([a-zA-Z])/g,((e,t)=>t.toUpperCase()))]=n}r.fontFamily&&setFontFamily({typeface:r.fontFamily,weight:r.fontWeight||"normal",posture:r.fontStyle||"normal",size:i.fontSize||0},t,t[vs].fontFinder,r);if(a&&r.verticalAlign&&"0px"!==r.verticalAlign&&r.fontSize){const e=.583,t=.333,a=getMeasurement(r.fontSize);r.fontSize=measureToString(a*e);r.verticalAlign=measureToString(Math.sign(getMeasurement(r.verticalAlign))*a*t)}a&&r.fontSize&&(r.fontSize=`calc(${r.fontSize} * var(--total-scale-factor))`);fixTextIndent(r);return r}const uc=new Set(["body","html"]);class XhtmlObject extends XmlObject{constructor(e,t){super(ic,t);this[nc]=!1;this.style=e.style||""}[Qn](e){super[Qn](e);this.style=function checkStyle(e){return e.style?e.style.split(";").filter((e=>!!e.trim())).map((e=>e.split(":",2).map((e=>e.trim())))).filter((([t,a])=>{"font-family"===t&&e[vs].usedTypefaces.add(a);return sc.has(t)})).map((e=>e.join(":"))).join(";"):""}(this)}[Kn](){return!uc.has(this[qs])}[$s](e,t=!1){if(t)this[nc]=!0;else{e=e.replaceAll(lc,"");this.style.includes("xfa-spacerun:yes")||(e=e.replaceAll(cc," "))}e&&(this[is]+=e)}[Gs](e,t=!0){const a=Object.create(null),r={top:NaN,bottom:NaN,left:NaN,right:NaN};let i=null;for(const[e,t]of this.style.split(";").map((e=>e.split(":",2))))switch(e){case"font-family":a.typeface=stripQuotes(t);break;case"font-size":a.size=getMeasurement(t);break;case"font-weight":a.weight=t;break;case"font-style":a.posture=t;break;case"letter-spacing":a.letterSpacing=getMeasurement(t);break;case"margin":const e=t.split(/ \t/).map((e=>getMeasurement(e)));switch(e.length){case 1:r.top=r.bottom=r.left=r.right=e[0];break;case 2:r.top=r.bottom=e[0];r.left=r.right=e[1];break;case 3:r.top=e[0];r.bottom=e[2];r.left=r.right=e[1];break;case 4:r.top=e[0];r.left=e[1];r.bottom=e[2];r.right=e[3]}break;case"margin-top":r.top=getMeasurement(t);break;case"margin-bottom":r.bottom=getMeasurement(t);break;case"margin-left":r.left=getMeasurement(t);break;case"margin-right":r.right=getMeasurement(t);break;case"line-height":i=getMeasurement(t)}e.pushData(a,r,i);if(this[is])e.addString(this[is]);else for(const t of this[ws]())"#text"!==t[qs]?t[Gs](e):e.addString(t[is]);t&&e.popFont()}[so](e){const t=[];this[os]={children:t};this[Zn]({});if(0===t.length&&!this[is])return HTMLResult.EMPTY;let a;a=this[nc]?this[is]?this[is].replaceAll(hc,"\n"):void 0:this[is]||void 0;return HTMLResult.success({name:this[qs],attributes:{href:this.href,style:mapStyle(this.style,this,this[nc])},children:t,value:a})}}class A extends XhtmlObject{constructor(e){super(e,"a");this.href=fixURL(e.href)||""}}class B extends XhtmlObject{constructor(e){super(e,"b")}[Gs](e){e.pushFont({weight:"bold"});super[Gs](e);e.popFont()}}class Body extends XhtmlObject{constructor(e){super(e,"body")}[so](e){const t=super[so](e),{html:a}=t;if(!a)return HTMLResult.EMPTY;a.name="div";a.attributes.class=["xfaRich"];return t}}class Br extends XhtmlObject{constructor(e){super(e,"br")}[io](){return"\n"}[Gs](e){e.addString("\n")}[so](e){return HTMLResult.success({name:"br"})}}class Html extends XhtmlObject{constructor(e){super(e,"html")}[so](e){const t=[];this[os]={children:t};this[Zn]({});if(0===t.length)return HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[is]||""});if(1===t.length){const e=t[0];if(e.attributes?.class.includes("xfaRich"))return HTMLResult.success(e)}return HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:t})}}class I extends XhtmlObject{constructor(e){super(e,"i")}[Gs](e){e.pushFont({posture:"italic"});super[Gs](e);e.popFont()}}class Li extends XhtmlObject{constructor(e){super(e,"li")}}class Ol extends XhtmlObject{constructor(e){super(e,"ol")}}class P extends XhtmlObject{constructor(e){super(e,"p")}[Gs](e){super[Gs](e,!1);e.addString("\n");e.addPara();e.popFont()}[io](){return this[ks]()[ws]().at(-1)===this?super[io]():super[io]()+"\n"}}class Span extends XhtmlObject{constructor(e){super(e,"span")}}class Sub extends XhtmlObject{constructor(e){super(e,"sub")}}class Sup extends XhtmlObject{constructor(e){super(e,"sup")}}class Ul extends XhtmlObject{constructor(e){super(e,"ul")}}class XhtmlNamespace{static[ho](e,t){if(XhtmlNamespace.hasOwnProperty(e))return XhtmlNamespace[e](t)}static a(e){return new A(e)}static b(e){return new B(e)}static body(e){return new Body(e)}static br(e){return new Br(e)}static html(e){return new Html(e)}static i(e){return new I(e)}static li(e){return new Li(e)}static ol(e){return new Ol(e)}static p(e){return new P(e)}static span(e){return new Span(e)}static sub(e){return new Sub(e)}static sup(e){return new Sup(e)}static ul(e){return new Ul(e)}}const dc={config:ConfigNamespace,connection:ConnectionSetNamespace,datasets:DatasetsNamespace,localeSet:LocaleSetNamespace,signature:SignatureNamespace,stylesheet:StylesheetNamespace,template:TemplateNamespace,xdp:XdpNamespace,xhtml:XhtmlNamespace};class UnknownNamespace{constructor(e){this.namespaceId=e}[ho](e,t){return new XmlObject(this.namespaceId,e,t)}}class Root extends XFAObject{constructor(e){super(-1,"root",Object.create(null));this.element=null;this[Is]=e}[Ws](e){this.element=e;return!0}[cs](){super[cs]();if(this.element.template instanceof Template){this[Is].set(Ys,this.element);this.element.template[Zs](this[Is]);this.element.template[Is]=this[Is]}}}class Empty extends XFAObject{constructor(){super(-1,"",Object.create(null))}[Ws](e){return!1}}class Builder{constructor(e=null){this._namespaceStack=[];this._nsAgnosticLevel=0;this._namespacePrefixes=new Map;this._namespaces=new Map;this._nextNsId=Math.max(...Object.values(uo).map((({id:e})=>e)));this._currentNamespace=e||new UnknownNamespace(++this._nextNsId)}buildRoot(e){return new Root(e)}build({nsPrefix:e,name:t,attributes:a,namespace:r,prefixes:i}){const n=null!==r;if(n){this._namespaceStack.push(this._currentNamespace);this._currentNamespace=this._searchNamespace(r)}i&&this._addNamespacePrefix(i);if(a.hasOwnProperty(Hs)){const e=dc.datasets,t=a[Hs];let r=null;for(const[a,i]of Object.entries(t)){if(this._getNamespaceToUse(a)===e){r={xfa:i};break}}r?a[Hs]=r:delete a[Hs]}const s=this._getNamespaceToUse(e),o=s?.[ho](t,a)||new Empty;o[Ns]()&&this._nsAgnosticLevel++;(n||i||o[Ns]())&&(o[ts]={hasNamespace:n,prefixes:i,nsAgnostic:o[Ns]()});return o}isNsAgnostic(){return this._nsAgnosticLevel>0}_searchNamespace(e){let t=this._namespaces.get(e);if(t)return t;for(const[a,{check:r}]of Object.entries(uo))if(r(e)){t=dc[a];if(t){this._namespaces.set(e,t);return t}break}t=new UnknownNamespace(++this._nextNsId);this._namespaces.set(e,t);return t}_addNamespacePrefix(e){for(const{prefix:t,value:a}of e){const e=this._searchNamespace(a);let r=this._namespacePrefixes.get(t);if(!r){r=[];this._namespacePrefixes.set(t,r)}r.push(e)}}_getNamespaceToUse(e){if(!e)return this._currentNamespace;const t=this._namespacePrefixes.get(e);if(t?.length>0)return t.at(-1);warn(`Unknown namespace prefix: ${e}.`);return null}clean(e){const{hasNamespace:t,prefixes:a,nsAgnostic:r}=e;t&&(this._currentNamespace=this._namespaceStack.pop());a&&a.forEach((({prefix:e})=>{this._namespacePrefixes.get(e).pop()}));r&&this._nsAgnosticLevel--}}class XFAParser extends XMLParserBase{constructor(e=null,t=!1){super();this._builder=new Builder(e);this._stack=[];this._globalData={usedTypefaces:new Set};this._ids=new Map;this._current=this._builder.buildRoot(this._ids);this._errorCode=Pn;this._whiteRegex=/^\s+$/;this._nbsps=/\xa0+/g;this._richText=t}parse(e){this.parseXml(e);if(this._errorCode===Pn){this._current[cs]();return this._current.element}}onText(e){e=e.replace(this._nbsps,(e=>e.slice(1)+" "));this._richText||this._current[Kn]()?this._current[$s](e,this._richText):this._whiteRegex.test(e)||this._current[$s](e.trim())}onCdata(e){this._current[$s](e)}_mkAttributes(e,t){let a=null,r=null;const i=Object.create({});for(const{name:n,value:s}of e)if("xmlns"===n)a?warn(`XFA - multiple namespace definition in <${t}>`):a=s;else if(n.startsWith("xmlns:")){const e=n.substring(6);r??=[];r.push({prefix:e,value:s})}else{const e=n.indexOf(":");if(-1===e)i[n]=s;else{const t=i[Hs]??=Object.create(null),[a,r]=[n.slice(0,e),n.slice(e+1)];(t[a]||=Object.create(null))[r]=s}}return[a,r,i]}_getNameAndPrefix(e,t){const a=e.indexOf(":");return-1===a?[e,null]:[e.substring(a+1),t?"":e.substring(0,a)]}onBeginElement(e,t,a){const[r,i,n]=this._mkAttributes(t,e),[s,o]=this._getNameAndPrefix(e,this._builder.isNsAgnostic()),c=this._builder.build({nsPrefix:o,name:s,attributes:n,namespace:r,prefixes:i});c[vs]=this._globalData;if(a){c[cs]();this._current[Ws](c)&&c[eo](this._ids);c[Qn](this._builder)}else{this._stack.push(this._current);this._current=c}}onEndElement(e){const t=this._current;if(t[Ms]()&&"string"==typeof t[is]){const e=new XFAParser;e._globalData=this._globalData;const a=e.parse(t[is]);t[is]=null;t[Ws](a)}t[cs]();this._current=this._stack.pop();this._current[Ws](t)&&t[eo](this._ids);t[Qn](this._builder)}onError(e){this._errorCode=e}}class XFAFactory{constructor(e){try{this.root=(new XFAParser).parse(XFAFactory._createDocument(e));const t=new Binder(this.root);this.form=t.bind();this.dataHandler=new DataHandler(this.root,t.getData());this.form[vs].template=this.form}catch(e){warn(`XFA - an error occurred during parsing and binding: ${e}`)}}isValid(){return!(!this.root||!this.form)}_createPagesHelper(){const e=this.form[no]();return new Promise(((t,a)=>{const nextIteration=()=>{try{const a=e.next();a.done?t(a.value):setTimeout(nextIteration,0)}catch(e){a(e)}};setTimeout(nextIteration,0)}))}async _createPages(){try{this.pages=await this._createPagesHelper();this.dims=this.pages.children.map((e=>{const{width:t,height:a}=e.attributes.style;return[0,0,parseInt(t),parseInt(a)]}))}catch(e){warn(`XFA - an error occurred during layout: ${e}`)}}getBoundingBox(e){return this.dims[e]}async getNumPages(){this.pages||await this._createPages();return this.dims.length}setImages(e){this.form[vs].images=e}setFonts(e){this.form[vs].fontFinder=new FontFinder(e);const t=[];for(let e of this.form[vs].usedTypefaces){e=stripQuotes(e);this.form[vs].fontFinder.find(e)||t.push(e)}return t.length>0?t:null}appendFonts(e,t){this.form[vs].fontFinder.add(e,t)}async getPages(){this.pages||await this._createPages();const e=this.pages;this.pages=null;return e}serializeData(e){return this.dataHandler.serialize(e)}static _createDocument(e){return e["/xdp:xdp"]?Object.values(e).join(""):e["xdp:xdp"]}static getRichTextAsHtml(e){if(!e||"string"!=typeof e)return null;try{let t=new XFAParser(XhtmlNamespace,!0).parse(e);if(!["body","xhtml"].includes(t[qs])){const e=XhtmlNamespace.body({});e[Yn](t);t=e}const a=t[so]();if(!a.success)return null;const{html:r}=a,{attributes:i}=r;if(i){i.class&&(i.class=i.class.filter((e=>!e.startsWith("xfa"))));i.dir="auto"}return{html:r,str:t[io]()}}catch(e){warn(`XFA - an error occurred during parsing of rich text: ${e}`)}return null}}class AnnotationFactory{static createGlobals(e){return Promise.all([e.ensureCatalog("acroForm"),e.ensureDoc("xfaDatasets"),e.ensureCatalog("structTreeRoot"),e.ensureCatalog("baseUrl"),e.ensureCatalog("attachments"),e.ensureCatalog("globalColorSpaceCache")]).then((([t,a,r,i,n,s])=>({pdfManager:e,acroForm:t instanceof Dict?t:Dict.empty,xfaDatasets:a,structTreeRoot:r,baseUrl:i,attachments:n,globalColorSpaceCache:s})),(e=>{warn(`createGlobals: "${e}".`);return null}))}static async create(e,t,a,r,i,n,s){const o=i?await this._getPageIndex(e,t,a.pdfManager):null;return a.pdfManager.ensure(this,"_create",[e,t,a,r,i,n,o,s])}static _create(e,t,a,r,i=!1,n=null,s=null,o=null){const c=e.fetchIfRef(t);if(!(c instanceof Dict))return;const{acroForm:l,pdfManager:h}=a,u=t instanceof Ref?t.toString():`annot_${r.createObjId()}`;let d=c.get("Subtype");d=d instanceof Name?d.name:null;const f={xref:e,ref:t,dict:c,subtype:d,id:u,annotationGlobals:a,collectFields:i,orphanFields:n,needAppearances:!i&&!0===l.get("NeedAppearances"),pageIndex:s,evaluatorOptions:h.evaluatorOptions,pageRef:o};switch(d){case"Link":return new LinkAnnotation(f);case"Text":return new TextAnnotation(f);case"Widget":let e=getInheritableProperty({dict:c,key:"FT"});e=e instanceof Name?e.name:null;switch(e){case"Tx":return new TextWidgetAnnotation(f);case"Btn":return new ButtonWidgetAnnotation(f);case"Ch":return new ChoiceWidgetAnnotation(f);case"Sig":return new SignatureWidgetAnnotation(f)}warn(`Unimplemented widget field type "${e}", falling back to base field type.`);return new WidgetAnnotation(f);case"Popup":return new PopupAnnotation(f);case"FreeText":return new FreeTextAnnotation(f);case"Line":return new LineAnnotation(f);case"Square":return new SquareAnnotation(f);case"Circle":return new CircleAnnotation(f);case"PolyLine":return new PolylineAnnotation(f);case"Polygon":return new PolygonAnnotation(f);case"Caret":return new CaretAnnotation(f);case"Ink":return new InkAnnotation(f);case"Highlight":return new HighlightAnnotation(f);case"Underline":return new UnderlineAnnotation(f);case"Squiggly":return new SquigglyAnnotation(f);case"StrikeOut":return new StrikeOutAnnotation(f);case"Stamp":return new StampAnnotation(f);case"FileAttachment":return new FileAttachmentAnnotation(f);default:i||warn(d?`Unimplemented annotation type "${d}", falling back to base annotation.`:"Annotation is missing the required /Subtype.");return new Annotation(f)}}static async _getPageIndex(e,t,a){try{const r=await e.fetchIfRefAsync(t);if(!(r instanceof Dict))return-1;const i=r.getRaw("P");if(i instanceof Ref)try{return await a.ensureCatalog("getPageIndex",[i])}catch(e){info(`_getPageIndex -- not a valid page reference: "${e}".`)}if(r.has("Kids"))return-1;const n=await a.ensureDoc("numPages");for(let e=0;ee/255))}function getQuadPoints(e,t){const a=e.getArray("QuadPoints");if(!isNumberArray(a,null)||0===a.length||a.length%8>0)return null;const r=new Float32Array(a.length);for(let e=0,i=a.length;et[2]||gt[3]))return null;r.set([d,p,f,p,d,g,f,g],e)}return r}function getTransformMatrix(e,t,a){const r=new Float32Array([1/0,1/0,-1/0,-1/0]);Util.axialAlignedBoundingBox(t,a,r);const[i,n,s,o]=r;if(i===s||n===o)return[1,0,0,1,e[0],e[1]];const c=(e[2]-e[0])/(s-i),l=(e[3]-e[1])/(o-n);return[c,0,0,l,e[0]-i*c,e[1]-n*l]}class Annotation{constructor(e){const{dict:t,xref:a,annotationGlobals:r,ref:i,orphanFields:n}=e,s=n?.get(i);s&&t.set("Parent",s);this.setTitle(t.get("T"));this.setContents(t.get("Contents"));this.setModificationDate(t.get("M"));this.setFlags(t.get("F"));this.setRectangle(t.getArray("Rect"));this.setColor(t.getArray("C"));this.setBorderStyle(t);this.setAppearance(t);this.setOptionalContent(t);const o=t.get("MK");this.setBorderAndBackgroundColors(o);this.setRotation(o,t);this.ref=e.ref instanceof Ref?e.ref:null;this._streams=[];this.appearance&&this._streams.push(this.appearance);const c=!!(this.flags&ee),l=!!(this.flags&te);this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:e.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:e.subtype,hasOwnCanvas:!1,noRotate:!!(this.flags&Z),noHTML:c&&l,isEditable:!1,structParent:-1};if(r.structTreeRoot){let a=t.get("StructParent");this.data.structParent=a=Number.isInteger(a)&&a>=0?a:-1;r.structTreeRoot.addAnnotationIdToPage(e.pageRef,a)}if(e.collectFields){const r=t.get("Kids");if(Array.isArray(r)){const e=[];for(const t of r)t instanceof Ref&&e.push(t.toString());0!==e.length&&(this.data.kidIds=e)}this.data.actions=collectActions(a,t,ye);this.data.fieldName=this._constructFieldName(t);this.data.pageIndex=e.pageIndex}const h=t.get("IT");h instanceof Name&&(this.data.it=h.name);this._isOffscreenCanvasSupported=e.evaluatorOptions.isOffscreenCanvasSupported;this._fallbackFontDict=null;this._needAppearances=!1}_hasFlag(e,t){return!!(e&t)}_buildFlags(e,t){let{flags:a}=this;if(void 0===e){if(void 0===t)return;return t?a&~Y:a&~J|Y}if(e){a|=Y;return t?a&~Q|J:a&~J|Q}a&=~(J|Q);return t?a&~Y:a|Y}_isViewable(e){return!this._hasFlag(e,K)&&!this._hasFlag(e,Q)}_isPrintable(e){return this._hasFlag(e,Y)&&!this._hasFlag(e,J)&&!this._hasFlag(e,K)}mustBeViewed(e,t){const a=e?.get(this.data.id)?.noView;return void 0!==a?!a:this.viewable&&!this._hasFlag(this.flags,J)}mustBePrinted(e){const t=e?.get(this.data.id)?.noPrint;return void 0!==t?!t:this.printable}mustBeViewedWhenEditing(e,t=null){return e?!this.data.isEditable:!t?.has(this.data.id)}get viewable(){return null!==this.data.quadPoints&&(0===this.flags||this._isViewable(this.flags))}get printable(){return null!==this.data.quadPoints&&(0!==this.flags&&this._isPrintable(this.flags))}_parseStringHelper(e){const t="string"==typeof e?stringToPDFString(e):"";return{str:t,dir:t&&"rtl"===bidi(t).dir?"rtl":"ltr"}}setDefaultAppearance(e){const{dict:t,annotationGlobals:a}=e,r=getInheritableProperty({dict:t,key:"DA"})||a.acroForm.get("DA");this._defaultAppearance="string"==typeof r?r:"";this.data.defaultAppearanceData=parseDefaultAppearance(this._defaultAppearance)}setTitle(e){this._title=this._parseStringHelper(e)}setContents(e){this._contents=this._parseStringHelper(e)}setModificationDate(e){this.modificationDate="string"==typeof e?e:null}setFlags(e){this.flags=Number.isInteger(e)&&e>0?e:0;this.flags&K&&"Annotation"!==this.constructor.name&&(this.flags^=K)}hasFlag(e){return this._hasFlag(this.flags,e)}setRectangle(e){this.rectangle=lookupNormalRect(e,[0,0,0,0])}setColor(e){this.color=getRgbColor(e)}setLineEndings(e){this.lineEndings=["None","None"];if(Array.isArray(e)&&2===e.length)for(let t=0;t<2;t++){const a=e[t];if(a instanceof Name)switch(a.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[t]=a.name;continue}warn(`Ignoring invalid lineEnding: ${a}`)}}setRotation(e,t){this.rotation=0;let a=e instanceof Dict?e.get("R")||0:t.get("Rotate")||0;if(Number.isInteger(a)&&0!==a){a%=360;a<0&&(a+=360);a%90==0&&(this.rotation=a)}}setBorderAndBackgroundColors(e){if(e instanceof Dict){this.borderColor=getRgbColor(e.getArray("BC"),null);this.backgroundColor=getRgbColor(e.getArray("BG"),null)}else this.borderColor=this.backgroundColor=null}setBorderStyle(e){this.borderStyle=new AnnotationBorderStyle;if(e instanceof Dict)if(e.has("BS")){const t=e.get("BS");if(t instanceof Dict){const e=t.get("Type");if(!e||isName(e,"Border")){this.borderStyle.setWidth(t.get("W"),this.rectangle);this.borderStyle.setStyle(t.get("S"));this.borderStyle.setDashArray(t.getArray("D"))}}}else if(e.has("Border")){const t=e.getArray("Border");if(Array.isArray(t)&&t.length>=3){this.borderStyle.setHorizontalCornerRadius(t[0]);this.borderStyle.setVerticalCornerRadius(t[1]);this.borderStyle.setWidth(t[2],this.rectangle);4===t.length&&this.borderStyle.setDashArray(t[3],!0)}}else this.borderStyle.setWidth(0)}setAppearance(e){this.appearance=null;const t=e.get("AP");if(!(t instanceof Dict))return;const a=t.get("N");if(a instanceof BaseStream){this.appearance=a;return}if(!(a instanceof Dict))return;const r=e.get("AS");if(!(r instanceof Name&&a.has(r.name)))return;const i=a.get(r.name);i instanceof BaseStream&&(this.appearance=i)}setOptionalContent(e){this.oc=null;const t=e.get("OC");t instanceof Name?warn("setOptionalContent: Support for /Name-entry is not implemented."):t instanceof Dict&&(this.oc=t)}async loadResources(e,t){const a=await t.dict.getAsync("Resources");a&&await ObjectLoader.load(a,e,a.xref);return a}async getOperatorList(e,t,a,r){const{hasOwnCanvas:i,id:n,rect:o}=this.data;let c=this.appearance;const l=!!(i&&a&s);if(l&&(0===this.width||0===this.height)){this.data.hasOwnCanvas=!1;return{opList:new OperatorList,separateForm:!1,separateCanvas:!1}}if(!c){if(!l)return{opList:new OperatorList,separateForm:!1,separateCanvas:!1};c=new StringStream("");c.dict=new Dict}const h=c.dict,u=await this.loadResources(Ia,c),d=lookupRect(h.getArray("BBox"),[0,0,1,1]),f=lookupMatrix(h.getArray("Matrix"),Fa),g=getTransformMatrix(o,d,f),p=new OperatorList;let m;this.oc&&(m=await e.parseMarkedContentProps(this.oc,null));void 0!==m&&p.addOp(jt,["OC",m]);p.addOp($t,[n,o,g,f,l]);await e.getOperatorList({stream:c,task:t,resources:u,operatorList:p,fallbackFontDict:this._fallbackFontDict});p.addOp(Gt,[]);void 0!==m&&p.addOp(_t,[]);this.reset();return{opList:p,separateForm:!1,separateCanvas:l}}async save(e,t,a,r){return null}get hasTextContent(){return!1}async extractTextContent(e,t,a){if(!this.appearance)return;const r=await this.loadResources(Oa,this.appearance),i=[],n=[];let s=null;const o={desiredSize:Math.Infinity,ready:!0,enqueue(e,t){for(const t of e.items)if(void 0!==t.str){s||=t.transform.slice(-2);n.push(t.str);if(t.hasEOL){i.push(n.join("").trimEnd());n.length=0}}}};await e.getTextContent({stream:this.appearance,task:t,resources:r,includeMarkedContent:!0,keepWhiteSpace:!0,sink:o,viewBox:a});this.reset();n.length&&i.push(n.join("").trimEnd());if(i.length>1||i[0]){const e=this.appearance.dict,t=lookupRect(e.getArray("BBox"),null),a=lookupMatrix(e.getArray("Matrix"),null);this.data.textPosition=this._transformPoint(s,t,a);this.data.textContent=i}}_transformPoint(e,t,a){const{rect:r}=this.data;t||=[0,0,1,1];a||=[1,0,0,1,0,0];const i=getTransformMatrix(r,t,a);i[4]-=r[0];i[5]-=r[1];const n=e.slice();Util.applyTransform(n,i);Util.applyTransform(n,a);return n}getFieldObject(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}reset(){for(const e of this._streams)e.reset()}_constructFieldName(e){if(!e.has("T")&&!e.has("Parent")){warn("Unknown field name, falling back to empty field name.");return""}if(!e.has("Parent"))return stringToPDFString(e.get("T"));const t=[];e.has("T")&&t.unshift(stringToPDFString(e.get("T")));let a=e;const r=new RefSet;e.objId&&r.put(e.objId);for(;a.has("Parent");){a=a.get("Parent");if(!(a instanceof Dict)||a.objId&&r.has(a.objId))break;a.objId&&r.put(a.objId);a.has("T")&&t.unshift(stringToPDFString(a.get("T")))}return t.join(".")}get width(){return this.data.rect[2]-this.data.rect[0]}get height(){return this.data.rect[3]-this.data.rect[1]}}class AnnotationBorderStyle{constructor(){this.width=1;this.rawWidth=1;this.style=fe;this.dashArray=[3];this.horizontalCornerRadius=0;this.verticalCornerRadius=0}setWidth(e,t=[0,0,0,0]){if(e instanceof Name)this.width=0;else if("number"==typeof e){if(e>0){this.rawWidth=e;const a=(t[2]-t[0])/2,r=(t[3]-t[1])/2;if(a>0&&r>0&&(e>a||e>r)){warn(`AnnotationBorderStyle.setWidth - ignoring width: ${e}`);e=1}}this.width=e}}setStyle(e){if(e instanceof Name)switch(e.name){case"S":this.style=fe;break;case"D":this.style=ge;break;case"B":this.style=pe;break;case"I":this.style=me;break;case"U":this.style=be}}setDashArray(e,t=!1){if(Array.isArray(e)){let a=!0,r=!0;for(const t of e){if(!(+t>=0)){a=!1;break}t>0&&(r=!1)}if(0===e.length||a&&!r){this.dashArray=e;t&&this.setStyle(Name.get("D"))}else this.width=0}else e&&(this.width=0)}setHorizontalCornerRadius(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}setVerticalCornerRadius(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}}class MarkupAnnotation extends Annotation{constructor(e){super(e);const{dict:t}=e;if(t.has("IRT")){const e=t.getRaw("IRT");this.data.inReplyTo=e instanceof Ref?e.toString():null;const a=t.get("RT");this.data.replyType=a instanceof Name?a.name:V}let a=null;if(this.data.replyType===G){const e=t.get("IRT");this.setTitle(e.get("T"));this.data.titleObj=this._title;this.setContents(e.get("Contents"));this.data.contentsObj=this._contents;if(e.has("CreationDate")){this.setCreationDate(e.get("CreationDate"));this.data.creationDate=this.creationDate}else this.data.creationDate=null;if(e.has("M")){this.setModificationDate(e.get("M"));this.data.modificationDate=this.modificationDate}else this.data.modificationDate=null;a=e.getRaw("Popup");if(e.has("C")){this.setColor(e.getArray("C"));this.data.color=this.color}else this.data.color=null}else{this.data.titleObj=this._title;this.setCreationDate(t.get("CreationDate"));this.data.creationDate=this.creationDate;a=t.getRaw("Popup");t.has("C")||(this.data.color=null)}this.data.popupRef=a instanceof Ref?a.toString():null;t.has("RC")&&(this.data.richText=XFAFactory.getRichTextAsHtml(t.get("RC")))}setCreationDate(e){this.creationDate="string"==typeof e?e:null}_setDefaultAppearance({xref:e,extra:t,strokeColor:a,fillColor:r,blendMode:i,strokeAlpha:n,fillAlpha:s,pointsCallback:o}){const c=this.data.rect=[1/0,1/0,-1/0,-1/0],l=["q"];t&&l.push(t);a&&l.push(`${a[0]} ${a[1]} ${a[2]} RG`);r&&l.push(`${r[0]} ${r[1]} ${r[2]} rg`);const h=this.data.quadPoints||Float32Array.from([this.rectangle[0],this.rectangle[3],this.rectangle[2],this.rectangle[3],this.rectangle[0],this.rectangle[1],this.rectangle[2],this.rectangle[1]]);for(let e=0,t=h.length;e"string"==typeof e)).map((e=>stringToPDFString(e))):e instanceof Name?stringToPDFString(e.name):"string"==typeof e?stringToPDFString(e):null}hasFieldFlag(e){return!!(this.data.fieldFlags&e)}_isViewable(e){return!0}mustBeViewed(e,t){return t?this.viewable:super.mustBeViewed(e,t)&&!this._hasFlag(this.flags,Q)}getRotationMatrix(e){let t=e?.get(this.data.id)?.rotation;void 0===t&&(t=this.rotation);return 0===t?Fa:getRotationMatrix(t,this.width,this.height)}getBorderAndBackgroundAppearances(e){let t=e?.get(this.data.id)?.rotation;void 0===t&&(t=this.rotation);if(!this.backgroundColor&&!this.borderColor)return"";const a=0===t||180===t?`0 0 ${this.width} ${this.height} re`:`0 0 ${this.height} ${this.width} re`;let r="";this.backgroundColor&&(r=`${getPdfColor(this.backgroundColor,!0)} ${a} f `);if(this.borderColor){r+=`${this.borderStyle.width||1} w ${getPdfColor(this.borderColor,!1)} ${a} S `}return r}async getOperatorList(e,t,a,r){if(a&l&&!(this instanceof SignatureWidgetAnnotation)&&!this.data.noHTML&&!this.data.hasOwnCanvas)return{opList:new OperatorList,separateForm:!0,separateCanvas:!1};if(!this._hasText)return super.getOperatorList(e,t,a,r);const i=await this._getAppearance(e,t,a,r);if(this.appearance&&null===i)return super.getOperatorList(e,t,a,r);const n=new OperatorList;if(!this._defaultAppearance||null===i)return{opList:n,separateForm:!1,separateCanvas:!1};const o=!!(this.data.hasOwnCanvas&&a&s),c=[0,0,this.width,this.height],h=getTransformMatrix(this.data.rect,c,[1,0,0,1,0,0]);let u;this.oc&&(u=await e.parseMarkedContentProps(this.oc,null));void 0!==u&&n.addOp(jt,["OC",u]);n.addOp($t,[this.data.id,this.data.rect,h,this.getRotationMatrix(r),o]);const d=new StringStream(i);await e.getOperatorList({stream:d,task:t,resources:this._fieldResources.mergedResources,operatorList:n});n.addOp(Gt,[]);void 0!==u&&n.addOp(_t,[]);return{opList:n,separateForm:!1,separateCanvas:o}}_getMKDict(e){const t=new Dict(null);e&&t.set("R",e);this.borderColor&&t.set("BC",getPdfColorArray(this.borderColor));this.backgroundColor&&t.set("BG",getPdfColorArray(this.backgroundColor));return t.size>0?t:null}amendSavedDict(e,t){}setValue(e,t,a,r){const{dict:i,ref:n}=function getParentToUpdate(e,t,a){const r=new RefSet,i=e,n={dict:null,ref:null};for(;e instanceof Dict&&!r.has(t);){r.put(t);if(e.has("T"))break;if(!((t=e.getRaw("Parent"))instanceof Ref))return n;e=a.fetch(t)}if(e instanceof Dict&&e!==i){n.dict=e;n.ref=t}return n}(e,this.ref,a);if(i){if(!r.has(n)){const e=i.clone();e.set("V",t);r.put(n,{data:e});return e}}else e.set("V",t);return null}async save(e,t,a,r){const i=a?.get(this.data.id),n=this._buildFlags(i?.noView,i?.noPrint);let s=i?.value,o=i?.rotation;if(s===this.data.fieldValue||void 0===s){if(!this._hasValueFromXFA&&void 0===o&&void 0===n)return;s||=this.data.fieldValue}if(void 0===o&&!this._hasValueFromXFA&&Array.isArray(s)&&Array.isArray(this.data.fieldValue)&&isArrayEqual(s,this.data.fieldValue)&&void 0===n)return;void 0===o&&(o=this.rotation);let l=null;if(!this._needAppearances){l=await this._getAppearance(e,t,c,a);if(null===l&&void 0===n)return}let h=!1;if(l?.needAppearances){h=!0;l=null}const{xref:u}=e,d=u.fetchIfRef(this.ref);if(!(d instanceof Dict))return;const f=new Dict(u);for(const e of d.getKeys())"AP"!==e&&f.set(e,d.getRaw(e));if(void 0!==n){f.set("F",n);if(null===l&&!h){const e=d.getRaw("AP");e&&f.set("AP",e)}}const g={path:this.data.fieldName,value:s},p=this.setValue(f,Array.isArray(s)?s.map(stringToAsciiOrUTF16BE):stringToAsciiOrUTF16BE(s),u,r);this.amendSavedDict(a,p||f);const m=this._getMKDict(o);m&&f.set("MK",m);r.put(this.ref,{data:f,xfa:g,needAppearances:h});if(null!==l){const e=u.getNewTemporaryRef(),t=new Dict(u);f.set("AP",t);t.set("N",e);const i=this._getSaveFieldResources(u),n=new StringStream(l),s=n.dict=new Dict(u);s.set("Subtype",Name.get("Form"));s.set("Resources",i);const c=o%180==0?[0,0,this.width,this.height]:[0,0,this.height,this.width];s.set("BBox",c);const h=this.getRotationMatrix(a);h!==Fa&&s.set("Matrix",h);r.put(e,{data:n,xfa:null,needAppearances:!1})}f.set("M",`D:${getModificationDate()}`)}async _getAppearance(e,t,a,r){if(this.data.password)return null;const n=r?.get(this.data.id);let s,o;if(n){s=n.formattedValue||n.value;o=n.rotation}if(void 0===o&&void 0===s&&!this._needAppearances&&(!this._hasValueFromXFA||this.appearance))return null;const l=this.getBorderAndBackgroundAppearances(r);if(void 0===s){s=this.data.fieldValue;if(!s)return`/Tx BMC q ${l}Q EMC`}Array.isArray(s)&&1===s.length&&(s=s[0]);assert("string"==typeof s,"Expected `value` to be a string.");s=s.trimEnd();if(this.data.combo){const e=this.data.options.find((({exportValue:e})=>s===e));s=e?.displayValue||s}if(""===s)return`/Tx BMC q ${l}Q EMC`;void 0===o&&(o=this.rotation);let h,u=-1;if(this.data.multiLine){h=s.split(/\r\n?|\n/).map((e=>e.normalize("NFC")));u=h.length}else h=[s.replace(/\r\n?|\n/,"").normalize("NFC")];let{width:d,height:f}=this;90!==o&&270!==o||([d,f]=[f,d]);this._defaultAppearance||(this.data.defaultAppearanceData=parseDefaultAppearance(this._defaultAppearance="/Helvetica 0 Tf 0 g"));let g,p,m,b=await WidgetAnnotation._getFontData(e,t,this.data.defaultAppearanceData,this._fieldResources.mergedResources);const y=[];let w=!1;for(const e of h){const t=b.encodeString(e);t.length>1&&(w=!0);y.push(t.join(""))}if(w&&a&c)return{needAppearances:!0};if(w&&this._isOffscreenCanvasSupported){const a=this.data.comb?"monospace":"sans-serif",r=new FakeUnicodeFont(e.xref,a),i=r.createFontResources(h.join("")),n=i.getRaw("Font");if(this._fieldResources.mergedResources.has("Font")){const e=this._fieldResources.mergedResources.get("Font");for(const t of n.getKeys())e.set(t,n.getRaw(t))}else this._fieldResources.mergedResources.set("Font",n);const o=r.fontName.name;b=await WidgetAnnotation._getFontData(e,t,{fontName:o,fontSize:0},i);for(let e=0,t=y.length;e2)return`/Tx BMC q ${l}BT `+g+` 1 0 0 1 ${numberToString(2)} ${numberToString(C)} Tm (${escapeString(y[0])}) Tj ET Q EMC`;return`/Tx BMC q ${l}BT `+g+` 1 0 0 1 0 0 Tm ${this._renderText(y[0],b,p,d,k,{shift:0},2,C)} ET Q EMC`}static async _getFontData(e,t,a,r){const i=new OperatorList,n={font:null,clone(){return this}},{fontName:s,fontSize:o}=a;await e.handleSetFont(r,[s&&Name.get(s),o],null,i,t,n,null);return n.font}_getTextWidth(e,t){return Math.sumPrecise(t.charsToGlyphs(e).map((e=>e.width)))/1e3}_computeFontSize(e,t,r,i,n){let{fontSize:s}=this.data.defaultAppearanceData,o=(s||12)*a,c=Math.round(e/o);if(!s){const roundWithTwoDigits=e=>Math.floor(100*e)/100;if(-1===n){const n=this._getTextWidth(r,i);s=roundWithTwoDigits(Math.min(e/a,t/n));c=1}else{const l=r.split(/\r\n?|\n/),h=[];for(const e of l){const t=i.encodeString(e).join(""),a=i.charsToGlyphs(t),r=i.getCharPositions(t);h.push({line:t,glyphs:a,positions:r})}const isTooBig=a=>{let r=0;for(const n of h){r+=this._splitLine(null,i,a,t,n).length*a;if(r>e)return!0}return!1};c=Math.max(c,n);for(;;){o=e/c;s=roundWithTwoDigits(o/a);if(!isTooBig(s))break;c++}}const{fontName:l,fontColor:h}=this.data.defaultAppearanceData;this._defaultAppearance=function createDefaultAppearance({fontSize:e,fontName:t,fontColor:a}){return`/${escapePDFName(t)} ${e} Tf ${getPdfColor(a,!0)}`}({fontSize:s,fontName:l,fontColor:h})}return[this._defaultAppearance,s,e/c]}_renderText(e,t,a,r,i,n,s,o){let c;if(1===i){c=(r-this._getTextWidth(e,t)*a)/2}else if(2===i){c=r-this._getTextWidth(e,t)*a-s}else c=s;const l=numberToString(c-n.shift);n.shift=c;return`${l} ${o=numberToString(o)} Td (${escapeString(e)}) Tj`}_getSaveFieldResources(e){const{localResources:t,appearanceResources:a,acroFormResources:r}=this._fieldResources,i=this.data.defaultAppearanceData?.fontName;if(!i)return t||Dict.empty;for(const e of[t,a])if(e instanceof Dict){const t=e.get("Font");if(t instanceof Dict&&t.has(i))return e}if(r instanceof Dict){const a=r.get("Font");if(a instanceof Dict&&a.has(i)){const r=new Dict(e);r.set(i,a.getRaw(i));const n=new Dict(e);n.set("Font",r);return Dict.merge({xref:e,dictArray:[n,t],mergeSubDicts:!0})}}return t||Dict.empty}getFieldObject(){return null}}class TextWidgetAnnotation extends WidgetAnnotation{constructor(e){super(e);const{dict:t}=e;if(t.has("PMD")){this.flags|=J;this.data.hidden=!0;warn("Barcodes are not supported")}this.data.hasOwnCanvas=this.data.readOnly&&!this.data.noHTML;this._hasText=!0;"string"!=typeof this.data.fieldValue&&(this.data.fieldValue="");let a=getInheritableProperty({dict:t,key:"Q"});(!Number.isInteger(a)||a<0||a>2)&&(a=null);this.data.textAlignment=a;let r=getInheritableProperty({dict:t,key:"MaxLen"});(!Number.isInteger(r)||r<0)&&(r=0);this.data.maxLen=r;this.data.multiLine=this.hasFieldFlag(ie);this.data.comb=this.hasFieldFlag(de)&&!this.data.multiLine&&!this.data.password&&!this.hasFieldFlag(le)&&0!==this.data.maxLen;this.data.doNotScroll=this.hasFieldFlag(ue)}get hasTextContent(){return!!this.appearance&&!this._needAppearances}_getCombAppearance(e,t,a,r,i,n,s,o,c,l,h){const u=i/this.data.maxLen,d=this.getBorderAndBackgroundAppearances(h),f=[],g=t.getCharPositions(a);for(const[e,t]of g)f.push(`(${escapeString(a.substring(e,t))}) Tj`);const p=f.join(` ${numberToString(u)} 0 Td `);return`/Tx BMC q ${d}BT `+e+` 1 0 0 1 ${numberToString(s)} ${numberToString(o+c)} Tm ${p} ET Q EMC`}_getMultilineAppearance(e,t,a,r,i,n,s,o,c,l,h,u){const d=[],f=i-2*o,g={shift:0};for(let e=0,n=t.length;er){c.push(e.substring(d,a));d=a;f=p;l=-1;u=-1}else{f+=p;l=a;h=i;u=t}else if(f+p>r)if(-1!==l){c.push(e.substring(d,h));d=h;t=u+1;l=-1;f=0}else{c.push(e.substring(d,a));d=a;f=p}else f+=p}dt?`\\${t}`:"\\s+"));new RegExp(`^\\s*${n}\\s*$`).test(this.data.fieldValue)&&(this.data.textContent=this.data.fieldValue.split("\n"))}getFieldObject(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.data.password,charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:"text"}}}class ButtonWidgetAnnotation extends WidgetAnnotation{constructor(e){super(e);this.checkedAppearance=null;this.uncheckedAppearance=null;const t=this.hasFieldFlag(se),a=this.hasFieldFlag(oe);this.data.checkBox=!t&&!a;this.data.radioButton=t&&!a;this.data.pushButton=a;this.data.isTooltipOnly=!1;if(this.data.checkBox)this._processCheckBox(e);else if(this.data.radioButton)this._processRadioButton(e);else if(this.data.pushButton){this.data.hasOwnCanvas=!0;this.data.noHTML=!1;this._processPushButton(e)}else warn("Invalid field flags for button widget annotation")}async getOperatorList(e,t,a,r){if(this.data.pushButton)return super.getOperatorList(e,t,a,!1,r);let i=null,n=null;if(r){const e=r.get(this.data.id);i=e?e.value:null;n=e?e.rotation:null}if(null===i&&this.appearance)return super.getOperatorList(e,t,a,r);null==i&&(i=this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue);const s=i?this.checkedAppearance:this.uncheckedAppearance;if(s){const i=this.appearance,o=lookupMatrix(s.dict.getArray("Matrix"),Fa);n&&s.dict.set("Matrix",this.getRotationMatrix(r));this.appearance=s;const c=super.getOperatorList(e,t,a,r);this.appearance=i;s.dict.set("Matrix",o);return c}return{opList:new OperatorList,separateForm:!1,separateCanvas:!1}}async save(e,t,a,r){this.data.checkBox?this._saveCheckbox(e,t,a,r):this.data.radioButton&&this._saveRadioButton(e,t,a,r)}async _saveCheckbox(e,t,a,r){if(!a)return;const i=a.get(this.data.id),n=this._buildFlags(i?.noView,i?.noPrint);let s=i?.rotation,o=i?.value;if(void 0===s&&void 0===n){if(void 0===o)return;if(this.data.fieldValue===this.data.exportValue===o)return}let c=e.xref.fetchIfRef(this.ref);if(!(c instanceof Dict))return;c=c.clone();void 0===s&&(s=this.rotation);void 0===o&&(o=this.data.fieldValue===this.data.exportValue);const l={path:this.data.fieldName,value:o?this.data.exportValue:""},h=Name.get(o?this.data.exportValue:"Off");this.setValue(c,h,e.xref,r);c.set("AS",h);c.set("M",`D:${getModificationDate()}`);void 0!==n&&c.set("F",n);const u=this._getMKDict(s);u&&c.set("MK",u);r.put(this.ref,{data:c,xfa:l,needAppearances:!1})}async _saveRadioButton(e,t,a,r){if(!a)return;const i=a.get(this.data.id),n=this._buildFlags(i?.noView,i?.noPrint);let s=i?.rotation,o=i?.value;if(void 0===s&&void 0===n){if(void 0===o)return;if(this.data.fieldValue===this.data.buttonValue===o)return}let c=e.xref.fetchIfRef(this.ref);if(!(c instanceof Dict))return;c=c.clone();void 0===o&&(o=this.data.fieldValue===this.data.buttonValue);void 0===s&&(s=this.rotation);const l={path:this.data.fieldName,value:o?this.data.buttonValue:""},h=Name.get(o?this.data.buttonValue:"Off");o&&this.setValue(c,h,e.xref,r);c.set("AS",h);c.set("M",`D:${getModificationDate()}`);void 0!==n&&c.set("F",n);const u=this._getMKDict(s);u&&c.set("MK",u);r.put(this.ref,{data:c,xfa:l,needAppearances:!1})}_getDefaultCheckedAppearance(e,t){const{width:a,height:r}=this,i=[0,0,a,r],n=.8*Math.min(a,r);let s,o;if("check"===t){s={width:.755*n,height:.705*n};o="3"}else if("disc"===t){s={width:.791*n,height:.705*n};o="l"}else unreachable(`_getDefaultCheckedAppearance - unsupported type: ${t}`);const c=`q BT /PdfJsZaDb ${n} Tf 0 g ${numberToString((a-s.width)/2)} ${numberToString((r-s.height)/2)} Td (${o}) Tj ET Q`,l=new Dict(e.xref);l.set("FormType",1);l.set("Subtype",Name.get("Form"));l.set("Type",Name.get("XObject"));l.set("BBox",i);l.set("Matrix",[1,0,0,1,0,0]);l.set("Length",c.length);const h=new Dict(e.xref),u=new Dict(e.xref);u.set("PdfJsZaDb",this.fallbackFontDict);h.set("Font",u);l.set("Resources",h);this.checkedAppearance=new StringStream(c);this.checkedAppearance.dict=l;this._streams.push(this.checkedAppearance)}_processCheckBox(e){const t=e.dict.get("AP");if(!(t instanceof Dict))return;const a=t.get("N");if(!(a instanceof Dict))return;const r=this._decodeFormValue(e.dict.get("AS"));"string"==typeof r&&(this.data.fieldValue=r);const i=null!==this.data.fieldValue&&"Off"!==this.data.fieldValue?this.data.fieldValue:"Yes",n=this._decodeFormValue(a.getKeys());if(0===n.length)n.push("Off",i);else if(1===n.length)"Off"===n[0]?n.push(i):n.unshift("Off");else if(n.includes(i)){n.length=0;n.push("Off",i)}else{const e=n.find((e=>"Off"!==e));n.length=0;n.push("Off",e)}n.includes(this.data.fieldValue)||(this.data.fieldValue="Off");this.data.exportValue=n[1];const s=a.get(this.data.exportValue);this.checkedAppearance=s instanceof BaseStream?s:null;const o=a.get("Off");this.uncheckedAppearance=o instanceof BaseStream?o:null;this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"check");this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance);this._fallbackFontDict=this.fallbackFontDict;null===this.data.defaultFieldValue&&(this.data.defaultFieldValue="Off")}_processRadioButton(e){this.data.buttonValue=null;const t=e.dict.get("Parent");if(t instanceof Dict){this.parent=e.dict.getRaw("Parent");const a=t.get("V");a instanceof Name&&(this.data.fieldValue=this._decodeFormValue(a))}const a=e.dict.get("AP");if(!(a instanceof Dict))return;const r=a.get("N");if(!(r instanceof Dict))return;for(const e of r.getKeys())if("Off"!==e){this.data.buttonValue=this._decodeFormValue(e);break}const i=r.get(this.data.buttonValue);this.checkedAppearance=i instanceof BaseStream?i:null;const n=r.get("Off");this.uncheckedAppearance=n instanceof BaseStream?n:null;this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"disc");this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance);this._fallbackFontDict=this.fallbackFontDict;null===this.data.defaultFieldValue&&(this.data.defaultFieldValue="Off")}_processPushButton(e){const{dict:t,annotationGlobals:a}=e;if(t.has("A")||t.has("AA")||this.data.alternativeText){this.data.isTooltipOnly=!t.has("A")&&!t.has("AA");Catalog.parseDestDictionary({destDict:t,resultObj:this.data,docBaseUrl:a.baseUrl,docAttachments:a.attachments})}else warn("Push buttons without action dictionaries are not supported")}getFieldObject(){let e,t="button";if(this.data.checkBox){t="checkbox";e=this.data.exportValue}else if(this.data.radioButton){t="radiobutton";e=this.data.buttonValue}return{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:t}}get fallbackFontDict(){const e=new Dict;e.set("BaseFont",Name.get("ZapfDingbats"));e.set("Type",Name.get("FallbackType"));e.set("Subtype",Name.get("FallbackType"));e.set("Encoding",Name.get("ZapfDingbatsEncoding"));return shadow(this,"fallbackFontDict",e)}}class ChoiceWidgetAnnotation extends WidgetAnnotation{constructor(e){super(e);const{dict:t,xref:a}=e;this.indices=t.getArray("I");this.hasIndices=Array.isArray(this.indices)&&this.indices.length>0;this.data.options=[];const r=getInheritableProperty({dict:t,key:"Opt"});if(Array.isArray(r))for(let e=0,t=r.length;e=0&&t0&&(this.data.options=this.data.fieldValue.map((e=>({exportValue:e,displayValue:e}))));this.data.combo=this.hasFieldFlag(ce);this.data.multiSelect=this.hasFieldFlag(he);this._hasText=!0}getFieldObject(){const e=this.data.combo?"combobox":"listbox",t=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:t,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:e}}amendSavedDict(e,t){if(!this.hasIndices)return;let a=e?.get(this.data.id)?.value;Array.isArray(a)||(a=[a]);const r=[],{options:i}=this.data;for(let e=0,t=0,n=i.length;ea){a=r;t=e}}[f,g]=this._computeFontSize(e,c-4,t,d,-1)}const p=g*a,m=(p-g)/2,b=Math.floor(l/p);let y=0;if(u.length>0){const e=Math.min(...u),t=Math.max(...u);y=Math.max(0,t-b+1);y>e&&(y=e)}const w=Math.min(y+b+1,h),S=["/Tx BMC q",`1 1 ${c} ${l} re W n`];if(u.length){S.push("0.600006 0.756866 0.854904 rg");for(const e of u)y<=e&&ee.trimEnd()));const{coords:e,bbox:t,matrix:r}=FakeUnicodeFont.getFirstPositionInfo(this.rectangle,this.rotation,a);this.data.textPosition=this._transformPoint(e,t,r)}if(this._isOffscreenCanvasSupported){const i=e.dict.get("CA"),n=new FakeUnicodeFont(r,"sans-serif");this.appearance=n.createAppearance(this._contents.str,this.rectangle,this.rotation,a,t,i);this._streams.push(this.appearance)}else warn("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.")}}get hasTextContent(){return this._hasAppearance}static createNewDict(e,t,{apRef:a,ap:r}){const{color:i,fontSize:n,oldAnnotation:s,rect:o,rotation:c,user:l,value:h}=e,u=s||new Dict(t);u.set("Type",Name.get("Annot"));u.set("Subtype",Name.get("FreeText"));if(s){u.set("M",`D:${getModificationDate()}`);u.delete("RC")}else u.set("CreationDate",`D:${getModificationDate()}`);u.set("Rect",o);const d=`/Helv ${n} Tf ${getPdfColor(i,!0)}`;u.set("DA",d);u.set("Contents",stringToAsciiOrUTF16BE(h));u.set("F",4);u.set("Border",[0,0,0]);u.set("Rotate",c);l&&u.set("T",stringToAsciiOrUTF16BE(l));if(a||r){const e=new Dict(t);u.set("AP",e);a?e.set("N",a):e.set("N",r)}return u}static async createNewAppearanceStream(e,t,r){const{baseFontRef:i,evaluator:n,task:s}=r,{color:o,fontSize:c,rect:l,rotation:h,value:u}=e,d=new Dict(t),f=new Dict(t);if(i)f.set("Helv",i);else{const e=new Dict(t);e.set("BaseFont",Name.get("Helvetica"));e.set("Type",Name.get("Font"));e.set("Subtype",Name.get("Type1"));e.set("Encoding",Name.get("WinAnsiEncoding"));f.set("Helv",e)}d.set("Font",f);const g=await WidgetAnnotation._getFontData(n,s,{fontName:"Helv",fontSize:c},d),[p,m,b,y]=l;let w=b-p,S=y-m;h%180!=0&&([w,S]=[S,w]);const x=u.split("\n"),k=c/1e3;let C=-1/0;const v=[];for(let e of x){const t=g.encodeString(e);if(t.length>1)return null;e=t.join("");v.push(e);let a=0;const r=g.charsToGlyphs(e);for(const e of r)a+=e.width*k;C=Math.max(C,a)}let F=1;C>w&&(F=w/C);let O=1;const T=a*c,M=1*c,D=T*x.length;D>S&&(O=S/D);const R=c*Math.min(F,O);let N,E,L;switch(h){case 0:L=[1,0,0,1];E=[l[0],l[1],w,S];N=[l[0],l[3]-M];break;case 90:L=[0,1,-1,0];E=[l[1],-l[2],w,S];N=[l[1],-l[0]-M];break;case 180:L=[-1,0,0,-1];E=[-l[2],-l[3],w,S];N=[-l[2],-l[1]-M];break;case 270:L=[0,-1,1,0];E=[-l[3],l[0],w,S];N=[-l[3],l[2]-M]}const j=["q",`${L.join(" ")} 0 0 cm`,`${E.join(" ")} re W n`,"BT",`${getPdfColor(o,!0)}`,`0 Tc /Helv ${numberToString(R)} Tf`];j.push(`${N.join(" ")} Td (${escapeString(v[0])}) Tj`);const _=numberToString(T);for(let e=1,t=v.length;e{e.push(`${r[0]} ${r[1]} m`,`${r[2]} ${r[3]} l`,"S");return[t[0]-c,t[7]-c,t[2]+c,t[3]+c]}})}}}class SquareAnnotation extends MarkupAnnotation{constructor(e){super(e);const{dict:t,xref:a}=e;this.data.annotationType=D;this.data.hasOwnCanvas=this.data.noRotate;this.data.noHTML=!1;if(!this.appearance){const e=this.color?getPdfColorArray(this.color):[0,0,0],r=t.get("CA"),i=getRgbColor(t.getArray("IC"),null),n=i?getPdfColorArray(i):null,s=n?r:null;if(0===this.borderStyle.width&&!n)return;this._setDefaultAppearance({xref:a,extra:`${this.borderStyle.width} w`,strokeColor:e,fillColor:n,strokeAlpha:r,fillAlpha:s,pointsCallback:(e,t)=>{const a=t[4]+this.borderStyle.width/2,r=t[5]+this.borderStyle.width/2,i=t[6]-t[4]-this.borderStyle.width,s=t[3]-t[7]-this.borderStyle.width;e.push(`${a} ${r} ${i} ${s} re`);n?e.push("B"):e.push("S");return[t[0],t[7],t[2],t[3]]}})}}}class CircleAnnotation extends MarkupAnnotation{constructor(e){super(e);const{dict:t,xref:a}=e;this.data.annotationType=R;if(!this.appearance){const e=this.color?getPdfColorArray(this.color):[0,0,0],r=t.get("CA"),i=getRgbColor(t.getArray("IC"),null),n=i?getPdfColorArray(i):null,s=n?r:null;if(0===this.borderStyle.width&&!n)return;const o=4/3*Math.tan(Math.PI/8);this._setDefaultAppearance({xref:a,extra:`${this.borderStyle.width} w`,strokeColor:e,fillColor:n,strokeAlpha:r,fillAlpha:s,pointsCallback:(e,t)=>{const a=t[0]+this.borderStyle.width/2,r=t[1]-this.borderStyle.width/2,i=t[6]-this.borderStyle.width/2,s=t[7]+this.borderStyle.width/2,c=a+(i-a)/2,l=r+(s-r)/2,h=(i-a)/2*o,u=(s-r)/2*o;e.push(`${c} ${s} m`,`${c+h} ${s} ${i} ${l+u} ${i} ${l} c`,`${i} ${l-u} ${c+h} ${r} ${c} ${r} c`,`${c-h} ${r} ${a} ${l-u} ${a} ${l} c`,`${a} ${l+u} ${c-h} ${s} ${c} ${s} c`,"h");n?e.push("B"):e.push("S");return[t[0],t[7],t[2],t[3]]}})}}}class PolylineAnnotation extends MarkupAnnotation{constructor(e){super(e);const{dict:t,xref:a}=e;this.data.annotationType=E;this.data.hasOwnCanvas=this.data.noRotate;this.data.noHTML=!1;this.data.vertices=null;if(!(this instanceof PolygonAnnotation)){this.setLineEndings(t.getArray("LE"));this.data.lineEndings=this.lineEndings}const r=t.getArray("Vertices");if(!isNumberArray(r,null))return;const i=this.data.vertices=Float32Array.from(r);if(!this.appearance){const e=this.color?getPdfColorArray(this.color):[0,0,0],r=t.get("CA"),n=this.borderStyle.width||1,s=2*n,o=[1/0,1/0,-1/0,-1/0];for(let e=0,t=i.length;e{for(let t=0,a=i.length;t{for(const t of this.data.inkLists){for(let a=0,r=t.length;a{e.push(`${t[0]} ${t[1]} m`,`${t[2]} ${t[3]} l`,`${t[6]} ${t[7]} l`,`${t[4]} ${t[5]} l`,"f");return[t[0],t[7],t[2],t[3]]}})}}else this.data.popupRef=null}static createNewDict(e,t,{apRef:a,ap:r}){const{color:i,oldAnnotation:n,opacity:s,rect:o,rotation:c,user:l,quadPoints:h}=e,u=n||new Dict(t);u.set("Type",Name.get("Annot"));u.set("Subtype",Name.get("Highlight"));u.set(n?"M":"CreationDate",`D:${getModificationDate()}`);u.set("CreationDate",`D:${getModificationDate()}`);u.set("Rect",o);u.set("F",4);u.set("Border",[0,0,0]);u.set("Rotate",c);u.set("QuadPoints",h);u.set("C",getPdfColorArray(i));u.set("CA",s);l&&u.set("T",stringToAsciiOrUTF16BE(l));if(a||r){const e=new Dict(t);u.set("AP",e);e.set("N",a||r)}return u}static async createNewAppearanceStream(e,t,a){const{color:r,rect:i,outlines:n,opacity:s}=e,o=[`${getPdfColor(r,!0)}`,"/R0 gs"],c=[];for(const e of n){c.length=0;c.push(`${numberToString(e[0])} ${numberToString(e[1])} m`);for(let t=2,a=e.length;t{e.push(`${t[4]} ${t[5]+1.3} m`,`${t[6]} ${t[7]+1.3} l`,"S");return[t[0],t[7],t[2],t[3]]}})}}else this.data.popupRef=null}}class SquigglyAnnotation extends MarkupAnnotation{constructor(e){super(e);const{dict:t,xref:a}=e;this.data.annotationType=_;if(this.data.quadPoints=getQuadPoints(t,null)){if(!this.appearance){const e=this.color?getPdfColorArray(this.color):[0,0,0],r=t.get("CA");this._setDefaultAppearance({xref:a,extra:"[] 0 d 1 w",strokeColor:e,strokeAlpha:r,pointsCallback:(e,t)=>{const a=(t[1]-t[5])/6;let r=a,i=t[4];const n=t[5],s=t[6];e.push(`${i} ${n+r} m`);do{i+=2;r=0===r?a:0;e.push(`${i} ${n+r} l`)}while(i{e.push((t[0]+t[4])/2+" "+(t[1]+t[5])/2+" m",(t[2]+t[6])/2+" "+(t[3]+t[7])/2+" l","S");return[t[0],t[7],t[2],t[3]]}})}}else this.data.popupRef=null}}class StampAnnotation extends MarkupAnnotation{#pe=null;constructor(e){super(e);this.data.annotationType=X;this.data.hasOwnCanvas=this.data.noRotate;this.data.isEditable=!this.data.noHTML;this.data.noHTML=!1}mustBeViewedWhenEditing(e,t=null){if(e){if(!this.data.isEditable)return!0;this.#pe??=this.data.hasOwnCanvas;this.data.hasOwnCanvas=!0;return!0}if(null!==this.#pe){this.data.hasOwnCanvas=this.#pe;this.#pe=null}return!t?.has(this.data.id)}static async createImage(e,t){const{width:a,height:r}=e,i=new OffscreenCanvas(a,r),n=i.getContext("2d",{alpha:!0});n.drawImage(e,0,0);const s=n.getImageData(0,0,a,r).data,o=new Uint32Array(s.buffer),c=o.some(FeatureTest.isLittleEndian?e=>e>>>24!=255:e=>!!(255&~e));if(c){n.fillStyle="white";n.fillRect(0,0,a,r);n.drawImage(e,0,0)}const l=i.convertToBlob({type:"image/jpeg",quality:1}).then((e=>e.arrayBuffer())),h=Name.get("XObject"),u=Name.get("Image"),d=new Dict(t);d.set("Type",h);d.set("Subtype",u);d.set("BitsPerComponent",8);d.set("ColorSpace",Name.get("DeviceRGB"));d.set("Filter",Name.get("DCTDecode"));d.set("BBox",[0,0,a,r]);d.set("Width",a);d.set("Height",r);let f=null;if(c){const e=new Uint8Array(o.length);if(FeatureTest.isLittleEndian)for(let t=0,a=o.length;t>>24;else for(let t=0,a=o.length;t=0&&n<=1?n:null}}const fc={get r(){return shadow(this,"r",new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]))},get k(){return shadow(this,"k",new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]))}};function calculateMD5(e,t,a){let r=1732584193,i=-271733879,n=-1732584194,s=271733878;const o=a+72&-64,c=new Uint8Array(o);let l,h;for(l=0;l>5&255;c[l++]=a>>13&255;c[l++]=a>>21&255;c[l++]=a>>>29&255;l+=3;const d=new Int32Array(16),{k:f,r:g}=fc;for(l=0;l>>32-n)|0;a=r}r=r+a|0;i=i+o|0;n=n+u|0;s=s+p|0}return new Uint8Array([255&r,r>>8&255,r>>16&255,r>>>24&255,255&i,i>>8&255,i>>16&255,i>>>24&255,255&n,n>>8&255,n>>16&255,n>>>24&255,255&s,s>>8&255,s>>16&255,s>>>24&255])}function decodeString(e){try{return stringToUTF8String(e)}catch(t){warn(`UTF-8 decoding failed: "${t}".`);return e}}class DatasetXMLParser extends SimpleXMLParser{constructor(e){super(e);this.node=null}onEndElement(e){const t=super.onEndElement(e);if(t&&"xfa:datasets"===e){this.node=t;throw new Error("Aborting DatasetXMLParser.")}}}class DatasetReader{constructor(e){if(e.datasets)this.node=new SimpleXMLParser({hasAttributes:!0}).parseFromString(e.datasets).documentElement;else{const t=new DatasetXMLParser({hasAttributes:!0});try{t.parseFromString(e["xdp:xdp"])}catch{}this.node=t.node}}getValue(e){if(!this.node||!e)return"";const t=this.node.searchNode(parseXFAPath(e),0);if(!t)return"";const a=t.firstChild;return"value"===a?.nodeName?t.children.map((e=>decodeString(e.textContent))):decodeString(t.textContent)}}class Word64{constructor(e,t){this.high=0|e;this.low=0|t}and(e){this.high&=e.high;this.low&=e.low}xor(e){this.high^=e.high;this.low^=e.low}shiftRight(e){if(e>=32){this.low=this.high>>>e-32|0;this.high=0}else{this.low=this.low>>>e|this.high<<32-e;this.high=this.high>>>e|0}}rotateRight(e){let t,a;if(32&e){a=this.low;t=this.high}else{t=this.low;a=this.high}e&=31;this.low=t>>>e|a<<32-e;this.high=a>>>e|t<<32-e}not(){this.high=~this.high;this.low=~this.low}add(e){const t=(this.low>>>0)+(e.low>>>0);let a=(this.high>>>0)+(e.high>>>0);t>4294967295&&(a+=1);this.low=0|t;this.high=0|a}copyTo(e,t){e[t]=this.high>>>24&255;e[t+1]=this.high>>16&255;e[t+2]=this.high>>8&255;e[t+3]=255&this.high;e[t+4]=this.low>>>24&255;e[t+5]=this.low>>16&255;e[t+6]=this.low>>8&255;e[t+7]=255&this.low}assign(e){this.high=e.high;this.low=e.low}}const gc={get k(){return shadow(this,"k",[new Word64(1116352408,3609767458),new Word64(1899447441,602891725),new Word64(3049323471,3964484399),new Word64(3921009573,2173295548),new Word64(961987163,4081628472),new Word64(1508970993,3053834265),new Word64(2453635748,2937671579),new Word64(2870763221,3664609560),new Word64(3624381080,2734883394),new Word64(310598401,1164996542),new Word64(607225278,1323610764),new Word64(1426881987,3590304994),new Word64(1925078388,4068182383),new Word64(2162078206,991336113),new Word64(2614888103,633803317),new Word64(3248222580,3479774868),new Word64(3835390401,2666613458),new Word64(4022224774,944711139),new Word64(264347078,2341262773),new Word64(604807628,2007800933),new Word64(770255983,1495990901),new Word64(1249150122,1856431235),new Word64(1555081692,3175218132),new Word64(1996064986,2198950837),new Word64(2554220882,3999719339),new Word64(2821834349,766784016),new Word64(2952996808,2566594879),new Word64(3210313671,3203337956),new Word64(3336571891,1034457026),new Word64(3584528711,2466948901),new Word64(113926993,3758326383),new Word64(338241895,168717936),new Word64(666307205,1188179964),new Word64(773529912,1546045734),new Word64(1294757372,1522805485),new Word64(1396182291,2643833823),new Word64(1695183700,2343527390),new Word64(1986661051,1014477480),new Word64(2177026350,1206759142),new Word64(2456956037,344077627),new Word64(2730485921,1290863460),new Word64(2820302411,3158454273),new Word64(3259730800,3505952657),new Word64(3345764771,106217008),new Word64(3516065817,3606008344),new Word64(3600352804,1432725776),new Word64(4094571909,1467031594),new Word64(275423344,851169720),new Word64(430227734,3100823752),new Word64(506948616,1363258195),new Word64(659060556,3750685593),new Word64(883997877,3785050280),new Word64(958139571,3318307427),new Word64(1322822218,3812723403),new Word64(1537002063,2003034995),new Word64(1747873779,3602036899),new Word64(1955562222,1575990012),new Word64(2024104815,1125592928),new Word64(2227730452,2716904306),new Word64(2361852424,442776044),new Word64(2428436474,593698344),new Word64(2756734187,3733110249),new Word64(3204031479,2999351573),new Word64(3329325298,3815920427),new Word64(3391569614,3928383900),new Word64(3515267271,566280711),new Word64(3940187606,3454069534),new Word64(4118630271,4000239992),new Word64(116418474,1914138554),new Word64(174292421,2731055270),new Word64(289380356,3203993006),new Word64(460393269,320620315),new Word64(685471733,587496836),new Word64(852142971,1086792851),new Word64(1017036298,365543100),new Word64(1126000580,2618297676),new Word64(1288033470,3409855158),new Word64(1501505948,4234509866),new Word64(1607167915,987167468),new Word64(1816402316,1246189591)])}};function ch(e,t,a,r,i){e.assign(t);e.and(a);i.assign(t);i.not();i.and(r);e.xor(i)}function maj(e,t,a,r,i){e.assign(t);e.and(a);i.assign(t);i.and(r);e.xor(i);i.assign(a);i.and(r);e.xor(i)}function sigma(e,t,a){e.assign(t);e.rotateRight(28);a.assign(t);a.rotateRight(34);e.xor(a);a.assign(t);a.rotateRight(39);e.xor(a)}function sigmaPrime(e,t,a){e.assign(t);e.rotateRight(14);a.assign(t);a.rotateRight(18);e.xor(a);a.assign(t);a.rotateRight(41);e.xor(a)}function littleSigma(e,t,a){e.assign(t);e.rotateRight(1);a.assign(t);a.rotateRight(8);e.xor(a);a.assign(t);a.shiftRight(7);e.xor(a)}function littleSigmaPrime(e,t,a){e.assign(t);e.rotateRight(19);a.assign(t);a.rotateRight(61);e.xor(a);a.assign(t);a.shiftRight(6);e.xor(a)}function calculateSHA512(e,t,a,r=!1){let i,n,s,o,c,l,h,u;if(r){i=new Word64(3418070365,3238371032);n=new Word64(1654270250,914150663);s=new Word64(2438529370,812702999);o=new Word64(355462360,4144912697);c=new Word64(1731405415,4290775857);l=new Word64(2394180231,1750603025);h=new Word64(3675008525,1694076839);u=new Word64(1203062813,3204075428)}else{i=new Word64(1779033703,4089235720);n=new Word64(3144134277,2227873595);s=new Word64(1013904242,4271175723);o=new Word64(2773480762,1595750129);c=new Word64(1359893119,2917565137);l=new Word64(2600822924,725511199);h=new Word64(528734635,4215389547);u=new Word64(1541459225,327033209)}const d=128*Math.ceil((a+17)/128),f=new Uint8Array(d);let g,p;for(g=0;g>>29&255;f[g++]=a>>21&255;f[g++]=a>>13&255;f[g++]=a>>5&255;f[g++]=a<<3&255;const b=new Array(80);for(g=0;g<80;g++)b[g]=new Word64(0,0);const{k:y}=gc;let w=new Word64(0,0),S=new Word64(0,0),x=new Word64(0,0),k=new Word64(0,0),C=new Word64(0,0),v=new Word64(0,0),F=new Word64(0,0),O=new Word64(0,0);const T=new Word64(0,0),M=new Word64(0,0),D=new Word64(0,0),R=new Word64(0,0);let N,E;for(g=0;g>>t|e<<32-t}function calculate_sha256_ch(e,t,a){return e&t^~e&a}function calculate_sha256_maj(e,t,a){return e&t^e&a^t&a}function calculate_sha256_sigma(e){return rotr(e,2)^rotr(e,13)^rotr(e,22)}function calculate_sha256_sigmaPrime(e){return rotr(e,6)^rotr(e,11)^rotr(e,25)}function calculate_sha256_littleSigma(e){return rotr(e,7)^rotr(e,18)^e>>>3}function calculateSHA256(e,t,a){let r=1779033703,i=3144134277,n=1013904242,s=2773480762,o=1359893119,c=2600822924,l=528734635,h=1541459225;const u=64*Math.ceil((a+9)/64),d=new Uint8Array(u);let f,g;for(f=0;f>>29&255;d[f++]=a>>21&255;d[f++]=a>>13&255;d[f++]=a>>5&255;d[f++]=a<<3&255;const m=new Uint32Array(64),{k:b}=pc;for(f=0;f>>10)+m[g-7]+calculate_sha256_littleSigma(m[g-15])+m[g-16]|0;let e,t,a=r,u=i,p=n,w=s,S=o,x=c,k=l,C=h;for(g=0;g<64;++g){e=C+calculate_sha256_sigmaPrime(S)+calculate_sha256_ch(S,x,k)+b[g]+m[g];t=calculate_sha256_sigma(a)+calculate_sha256_maj(a,u,p);C=k;k=x;x=S;S=w+e|0;w=p;p=u;u=a;a=e+t|0}r=r+a|0;i=i+u|0;n=n+p|0;s=s+w|0;o=o+S|0;c=c+x|0;l=l+k|0;h=h+C|0}var y;return new Uint8Array([r>>24&255,r>>16&255,r>>8&255,255&r,i>>24&255,i>>16&255,i>>8&255,255&i,n>>24&255,n>>16&255,n>>8&255,255&n,s>>24&255,s>>16&255,s>>8&255,255&s,o>>24&255,o>>16&255,o>>8&255,255&o,c>>24&255,c>>16&255,c>>8&255,255&c,l>>24&255,l>>16&255,l>>8&255,255&l,h>>24&255,h>>16&255,h>>8&255,255&h])}class DecryptStream extends DecodeStream{constructor(e,t,a){super(t);this.str=e;this.dict=e.dict;this.decrypt=a;this.nextChunk=null;this.initialized=!1}readBlock(){let e;if(this.initialized)e=this.nextChunk;else{e=this.str.getBytes(512);this.initialized=!0}if(!e?.length){this.eof=!0;return}this.nextChunk=this.str.getBytes(512);const t=this.nextChunk?.length>0;e=(0,this.decrypt)(e,!t);const a=this.bufferLength,r=a+e.length;this.ensureBuffer(r).set(e,a);this.bufferLength=r}}class ARCFourCipher{constructor(e){this.a=0;this.b=0;const t=new Uint8Array(256),a=e.length;for(let e=0;e<256;++e)t[e]=e;for(let r=0,i=0;r<256;++r){const n=t[r];i=i+n+e[r%a]&255;t[r]=t[i];t[i]=n}this.s=t}encryptBlock(e){let t=this.a,a=this.b;const r=this.s,i=e.length,n=new Uint8Array(i);for(let s=0;st<128?t<<1:t<<1^27));constructor(){this.buffer=new Uint8Array(16);this.bufferPosition=0}_expandKey(e){unreachable("Cannot call `_expandKey` on the base class")}_decrypt(e,t){let a,r,i;const n=new Uint8Array(16);n.set(e);for(let e=0,a=this._keySize;e<16;++e,++a)n[e]^=t[a];for(let e=this._cyclesOfRepetition-1;e>=1;--e){a=n[13];n[13]=n[9];n[9]=n[5];n[5]=n[1];n[1]=a;a=n[14];r=n[10];n[14]=n[6];n[10]=n[2];n[6]=a;n[2]=r;a=n[15];r=n[11];i=n[7];n[15]=n[3];n[11]=a;n[7]=r;n[3]=i;for(let e=0;e<16;++e)n[e]=this._inv_s[n[e]];for(let a=0,r=16*e;a<16;++a,++r)n[a]^=t[r];for(let e=0;e<16;e+=4){const t=this._mix[n[e]],r=this._mix[n[e+1]],i=this._mix[n[e+2]],s=this._mix[n[e+3]];a=t^r>>>8^r<<24^i>>>16^i<<16^s>>>24^s<<8;n[e]=a>>>24&255;n[e+1]=a>>16&255;n[e+2]=a>>8&255;n[e+3]=255&a}}a=n[13];n[13]=n[9];n[9]=n[5];n[5]=n[1];n[1]=a;a=n[14];r=n[10];n[14]=n[6];n[10]=n[2];n[6]=a;n[2]=r;a=n[15];r=n[11];i=n[7];n[15]=n[3];n[11]=a;n[7]=r;n[3]=i;for(let e=0;e<16;++e){n[e]=this._inv_s[n[e]];n[e]^=t[e]}return n}_encrypt(e,t){const a=this._s;let r,i,n;const s=new Uint8Array(16);s.set(e);for(let e=0;e<16;++e)s[e]^=t[e];for(let e=1;e=r;--a)if(e[a]!==t){t=0;break}o-=t;n[n.length-1]=e.subarray(0,16-t)}}const c=new Uint8Array(o);for(let e=0,t=0,a=n.length;e=256&&(o=255&(27^o))}for(let t=0;t<4;++t){a[e]=r^=a[e-32];e++;a[e]=i^=a[e-32];e++;a[e]=n^=a[e-32];e++;a[e]=s^=a[e-32];e++}}return a}}class PDFBase{_hash(e,t,a){unreachable("Abstract method `_hash` called")}checkOwnerPassword(e,t,a,r){const i=new Uint8Array(e.length+56);i.set(e,0);i.set(t,e.length);i.set(a,e.length+t.length);return isArrayEqual(this._hash(e,i,a),r)}checkUserPassword(e,t,a){const r=new Uint8Array(e.length+8);r.set(e,0);r.set(t,e.length);return isArrayEqual(this._hash(e,r,[]),a)}getOwnerKey(e,t,a,r){const i=new Uint8Array(e.length+56);i.set(e,0);i.set(t,e.length);i.set(a,e.length+t.length);const n=this._hash(e,i,a);return new AES256Cipher(n).decryptBlock(r,!1,new Uint8Array(16))}getUserKey(e,t,a){const r=new Uint8Array(e.length+8);r.set(e,0);r.set(t,e.length);const i=this._hash(e,r,[]);return new AES256Cipher(i).decryptBlock(a,!1,new Uint8Array(16))}}class PDF17 extends PDFBase{_hash(e,t,a){return calculateSHA256(t,0,t.length)}}class PDF20 extends PDFBase{_hash(e,t,a){let r=calculateSHA256(t,0,t.length).subarray(0,32),i=[0],n=0;for(;n<64||i.at(-1)>n-32;){const t=e.length+r.length+a.length,l=new Uint8Array(t);let h=0;l.set(e,h);h+=e.length;l.set(r,h);h+=r.length;l.set(a,h);const u=new Uint8Array(64*t);for(let e=0,a=0;e<64;e++,a+=t)u.set(l,a);i=new AES128Cipher(r.subarray(0,16)).encrypt(u,r.subarray(16,32));const d=Math.sumPrecise(i.slice(0,16))%3;0===d?r=calculateSHA256(i,0,i.length):1===d?r=(s=i,o=0,c=i.length,calculateSHA512(s,o,c,!0)):2===d&&(r=calculateSHA512(i,0,i.length));n++}var s,o,c;return r.subarray(0,32)}}class CipherTransform{constructor(e,t){this.StringCipherConstructor=e;this.StreamCipherConstructor=t}createStream(e,t){const a=new this.StreamCipherConstructor;return new DecryptStream(e,t,(function cipherTransformDecryptStream(e,t){return a.decryptBlock(e,t)}))}decryptString(e){const t=new this.StringCipherConstructor;let a=stringToBytes(e);a=t.decryptBlock(a,!0);return bytesToString(a)}encryptString(e){const t=new this.StringCipherConstructor;if(t instanceof AESBaseCipher){const a=16-e.length%16;e+=String.fromCharCode(a).repeat(a);const r=new Uint8Array(16);crypto.getRandomValues(r);let i=stringToBytes(e);i=t.encrypt(i,r);const n=new Uint8Array(16+i.length);n.set(r);n.set(i,16);return bytesToString(n)}let a=stringToBytes(e);a=t.encrypt(a);return bytesToString(a)}}class CipherTransformFactory{static get _defaultPasswordBytes(){return shadow(this,"_defaultPasswordBytes",new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]))}#be(e,t,a,r,i,n,s,o,c,l,h,u){if(t){const e=Math.min(127,t.length);t=t.subarray(0,e)}else t=[];const d=6===e?new PDF20:new PDF17;return d.checkUserPassword(t,o,s)?d.getUserKey(t,c,h):t.length&&d.checkOwnerPassword(t,r,n,a)?d.getOwnerKey(t,i,n,l):null}#ye(e,t,a,r,i,n,s,o){const c=40+a.length+e.length,l=new Uint8Array(c);let h,u,d=0;if(t){u=Math.min(32,t.length);for(;d>8&255;l[d++]=i>>16&255;l[d++]=i>>>24&255;l.set(e,d);d+=e.length;if(n>=4&&!o){l.fill(255,d,d+4);d+=4}let f=calculateMD5(l,0,d);const g=s>>3;if(n>=3)for(h=0;h<50;++h)f=calculateMD5(f,0,g);const p=f.subarray(0,g);let m,b;if(n>=3){d=0;l.set(CipherTransformFactory._defaultPasswordBytes,d);d+=32;l.set(e,d);d+=e.length;m=new ARCFourCipher(p);b=m.encryptBlock(calculateMD5(l,0,d));u=p.length;const t=new Uint8Array(u);for(h=1;h<=19;++h){for(let e=0;er[t]===e))?p:null}#we(e,t,a,r){const i=new Uint8Array(32);let n=0;const s=Math.min(32,e.length);for(;n>3;if(a>=3)for(o=0;o<50;++o)c=calculateMD5(c,0,c.length);let h,u;if(a>=3){u=t;const e=new Uint8Array(l);for(o=19;o>=0;o--){for(let t=0;t>8&255;n[s++]=e>>16&255;n[s++]=255&t;n[s++]=t>>8&255;if(r){n[s++]=115;n[s++]=65;n[s++]=108;n[s++]=84}return calculateMD5(n,0,s).subarray(0,Math.min(i+5,16))}#xe(e,t,a,r,i){if(!(t instanceof Name))throw new FormatError("Invalid crypt filter name.");const n=this,s=e.get(t.name),o=s?.get("CFM");if(!o||"None"===o.name)return function(){return new NullCipher};if("V2"===o.name)return function(){return new ARCFourCipher(n.#Se(a,r,i,!1))};if("AESV2"===o.name)return function(){return new AES128Cipher(n.#Se(a,r,i,!0))};if("AESV3"===o.name)return function(){return new AES256Cipher(i)};throw new FormatError("Unknown crypto method")}constructor(e,t,a){const r=e.get("Filter");if(!isName(r,"Standard"))throw new FormatError("unknown encryption method");this.filterName=r.name;this.dict=e;const i=e.get("V");if(!Number.isInteger(i)||1!==i&&2!==i&&4!==i&&5!==i)throw new FormatError("unsupported encryption algorithm");this.algorithm=i;let n=e.get("Length");if(!n)if(i<=3)n=40;else{const t=e.get("CF"),a=e.get("StmF");if(t instanceof Dict&&a instanceof Name){t.suppressEncryption=!0;const e=t.get(a.name);n=e?.get("Length")||128;n<40&&(n<<=3)}}if(!Number.isInteger(n)||n<40||n%8!=0)throw new FormatError("invalid key length");const s=stringToBytes(e.get("O")),o=stringToBytes(e.get("U")),c=s.subarray(0,32),l=o.subarray(0,32),h=e.get("P"),u=e.get("R"),d=(4===i||5===i)&&!1!==e.get("EncryptMetadata");this.encryptMetadata=d;const f=stringToBytes(t);let g,p;if(a){if(6===u)try{a=utf8StringToString(a)}catch{warn("CipherTransformFactory: Unable to convert UTF8 encoded password.")}g=stringToBytes(a)}if(5!==i)p=this.#ye(f,g,c,l,h,u,n,d);else{const t=s.subarray(32,40),a=s.subarray(40,48),r=o.subarray(0,48),i=o.subarray(32,40),n=o.subarray(40,48),h=stringToBytes(e.get("OE")),d=stringToBytes(e.get("UE")),f=stringToBytes(e.get("Perms"));p=this.#be(u,g,c,t,a,r,l,i,n,h,d,f)}if(!p){if(!a)throw new PasswordException("No password given",ha);const e=this.#we(g,c,u,n);p=this.#ye(f,e,c,l,h,u,n,d)}if(!p)throw new PasswordException("Incorrect Password",ua);if(4===i&&p.length<16){this.encryptionKey=new Uint8Array(16);this.encryptionKey.set(p)}else this.encryptionKey=p;if(i>=4){const t=e.get("CF");t instanceof Dict&&(t.suppressEncryption=!0);this.cf=t;this.stmf=e.get("StmF")||Name.get("Identity");this.strf=e.get("StrF")||Name.get("Identity");this.eff=e.get("EFF")||this.stmf}}createCipherTransform(e,t){if(4===this.algorithm||5===this.algorithm)return new CipherTransform(this.#xe(this.cf,this.strf,e,t,this.encryptionKey),this.#xe(this.cf,this.stmf,e,t,this.encryptionKey));const a=this.#Se(e,t,this.encryptionKey,!1),cipherConstructor=function(){return new ARCFourCipher(a)};return new CipherTransform(cipherConstructor,cipherConstructor)}}class XRef{#Ae=null;constructor(e,t){this.stream=e;this.pdfManager=t;this.entries=[];this._xrefStms=new Set;this._cacheMap=new Map;this._pendingRefs=new RefSet;this._newPersistentRefNum=null;this._newTemporaryRefNum=null;this._persistentRefsCache=null}getNewPersistentRef(e){null===this._newPersistentRefNum&&(this._newPersistentRefNum=this.entries.length||1);const t=this._newPersistentRefNum++;this._cacheMap.set(t,e);return Ref.get(t,0)}getNewTemporaryRef(){if(null===this._newTemporaryRefNum){this._newTemporaryRefNum=this.entries.length||1;if(this._newPersistentRefNum){this._persistentRefsCache=new Map;for(let e=this._newTemporaryRefNum;e0;){const[s,o]=n;if(!Number.isInteger(s)||!Number.isInteger(o))throw new FormatError(`Invalid XRef range fields: ${s}, ${o}`);if(!Number.isInteger(a)||!Number.isInteger(r)||!Number.isInteger(i))throw new FormatError(`Invalid XRef entry fields length: ${s}, ${o}`);for(let n=t.entryNum;n=e.length);){a+=String.fromCharCode(r);r=e[t]}return a}function skipUntil(e,t,a){const r=a.length,i=e.length;let n=0;for(;t=r)break;t++;n++}return n}const e=/\b(endobj|\d+\s+\d+\s+obj|xref|trailer\s*<<)\b/g,t=/\b(startxref|\d+\s+\d+\s+obj)\b/g,a=/^(\d+)\s+(\d+)\s+obj\b/,r=new Uint8Array([116,114,97,105,108,101,114]),i=new Uint8Array([115,116,97,114,116,120,114,101,102]),n=new Uint8Array([47,88,82,101,102]);this.entries.length=0;this._cacheMap.clear();const s=this.stream;s.pos=0;const o=s.getBytes(),c=bytesToString(o),l=o.length;let h=s.start;const u=[],d=[];for(;h=l)break;f=o[h]}while(10!==f&&13!==f);continue}const g=readToken(o,h);let p;if(g.startsWith("xref")&&(4===g.length||/\s/.test(g[4]))){h+=skipUntil(o,h,r);u.push(h);h+=skipUntil(o,h,i)}else if(p=a.exec(g)){const t=0|p[1],a=0|p[2],r=h+g.length;let i,u=!1;if(this.entries[t]){if(this.entries[t].gen===a)try{new Parser({lexer:new Lexer(s.makeSubStream(r))}).getObj();u=!0}catch(e){e instanceof ParserEOFException?warn(`indexObjects -- checking object (${g}): "${e}".`):u=!0}}else u=!0;u&&(this.entries[t]={offset:h-s.start,gen:a,uncompressed:!0});e.lastIndex=r;const f=e.exec(c);if(f){i=e.lastIndex+1-h;if("endobj"!==f[1]){warn(`indexObjects: Found "${f[1]}" inside of another "obj", caused by missing "endobj" -- trying to recover.`);i-=f[1].length+1}}else i=l-h;const m=o.subarray(h,h+i),b=skipUntil(m,0,n);if(b0?Math.max(...this._xrefStms):null)}getEntry(e){const t=this.entries[e];return t&&!t.free&&t.offset?t:null}fetchIfRef(e,t=!1){return e instanceof Ref?this.fetch(e,t):e}fetch(e,t=!1){if(!(e instanceof Ref))throw new Error("ref object is not a reference");const a=e.num,r=this._cacheMap.get(a);if(void 0!==r){r instanceof Dict&&!r.objId&&(r.objId=e.toString());return r}let i=this.getEntry(a);if(null===i)return i;if(this._pendingRefs.has(e)){this._pendingRefs.remove(e);warn(`Ignoring circular reference: ${e}.`);return ya}this._pendingRefs.put(e);try{i=i.uncompressed?this.fetchUncompressed(e,i,t):this.fetchCompressed(e,i,t);this._pendingRefs.remove(e)}catch(t){this._pendingRefs.remove(e);throw t}i instanceof Dict?i.objId=e.toString():i instanceof BaseStream&&(i.dict.objId=e.toString());return i}fetchUncompressed(e,t,a=!1){const r=e.gen;let i=e.num;if(t.gen!==r){const n=`Inconsistent generation in XRef: ${e}`;if(this._generationFallback&&t.gen0&&t[3]-t[1]>0)return t;warn(`Empty, or invalid, /${e} entry.`)}return null}get mediaBox(){return shadow(this,"mediaBox",this.#Fe("MediaBox")||mc)}get cropBox(){return shadow(this,"cropBox",this.#Fe("CropBox")||this.mediaBox)}get userUnit(){const e=this.pageDict.get("UserUnit");return shadow(this,"userUnit","number"==typeof e&&e>0?e:1)}get view(){const{cropBox:e,mediaBox:t}=this;if(e!==t&&!isArrayEqual(e,t)){const a=Util.intersect(e,t);if(a&&a[2]-a[0]>0&&a[3]-a[1]>0)return shadow(this,"view",a);warn("Empty /CropBox and /MediaBox intersection.")}return shadow(this,"view",t)}get rotate(){let e=this.#ve("Rotate")||0;e%90!=0?e=0:e>=360?e%=360:e<0&&(e=(e%360+360)%360);return shadow(this,"rotate",e)}#Ie(e,t){if(!this.evaluatorOptions.ignoreErrors)throw e;warn(`getContentStream - ignoring sub-stream (${t}): "${e}".`)}async getContentStream(){const e=await this.pdfManager.ensure(this,"content");return e instanceof BaseStream?e:Array.isArray(e)?new StreamsSequenceStream(e,this.#Ie.bind(this)):new NullStream}get xfaData(){return shadow(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async#Oe(e,t,a){const r=[];for(const i of e)if(i.id){const e=Ref.fromString(i.id);if(!e){warn(`A non-linked annotation cannot be modified: ${i.id}`);continue}if(i.deleted){t.put(e,e);if(i.popupRef){const e=Ref.fromString(i.popupRef);e&&t.put(e,e)}continue}a?.put(e);i.ref=e;r.push(this.xref.fetchAsync(e).then((e=>{e instanceof Dict&&(i.oldAnnotation=e.clone())}),(()=>{warn(`Cannot fetch \`oldAnnotation\` for: ${e}.`)})));delete i.id}await Promise.all(r)}async saveNewAnnotations(e,t,a,r,i){if(this.xfaFactory)throw new Error("XFA: Cannot save new annotations.");const n=this.#Ce(e),s=new RefSetCache,o=new RefSet;await this.#Oe(a,s,o);const c=this.pageDict,l=this.annotations.filter((e=>!(e instanceof Ref&&s.has(e)))),h=await AnnotationFactory.saveNewAnnotations(n,t,a,r,i);for(const{ref:e}of h.annotations)e instanceof Ref&&!o.has(e)&&l.push(e);const u=c.clone();u.set("Annots",l);i.put(this.ref,{data:u});for(const e of s)i.put(e,{data:null})}async save(e,t,a,r){const i=this.#Ce(e),n=await this._parsedAnnotations,s=[];for(const e of n)s.push(e.save(i,t,a,r).catch((function(e){warn(`save - ignoring annotation data during "${t.name}" task: "${e}".`);return null})));return Promise.all(s)}async loadResources(e){await(this.#ke??=this.pdfManager.ensure(this,"resources"));await ObjectLoader.load(this.resources,e,this.xref)}async#Te(e,t){const a=e?.get("Resources");if(!(a instanceof Dict&&a.size))return this.resources;await ObjectLoader.load(a,t,this.xref);return Dict.merge({xref:this.xref,dictArray:[a,this.resources],mergeSubDicts:!0})}async getOperatorList({handler:e,sink:t,task:a,intent:r,cacheKey:i,annotationStorage:c=null,modifiedIds:d=null}){const g=this.getContentStream(),p=this.loadResources(Ia),m=this.#Ce(e),b=this.xfaFactory?null:getNewAnnotationsMap(c),y=b?.get(this.pageIndex);let w=Promise.resolve(null),S=null;if(y){const e=this.pdfManager.ensureDoc("annotationGlobals");let t;const r=new Set;for(const{bitmapId:e,bitmap:t}of y)!e||t||r.has(e)||r.add(e);const{isOffscreenCanvasSupported:i}=this.evaluatorOptions;if(r.size>0){const e=y.slice();for(const[t,a]of c)t.startsWith(f)&&a.bitmap&&r.has(a.bitmapId)&&e.push(a);t=AnnotationFactory.generateImages(e,this.xref,i)}else t=AnnotationFactory.generateImages(y,this.xref,i);S=new RefSet;w=Promise.all([e,this.#Oe(y,S,null)]).then((([e])=>e?AnnotationFactory.printNewAnnotations(e,m,a,y,t):null))}const x=Promise.all([g,p]).then((async([n])=>{const s=await this.#Te(n.dict,Ia),o=new OperatorList(r,t);e.send("StartRenderPage",{transparency:m.hasBlendModes(s,this.nonBlendModesSet),pageIndex:this.pageIndex,cacheKey:i});await m.getOperatorList({stream:n,task:a,resources:s,operatorList:o});return o}));let[k,C,v]=await Promise.all([x,this._parsedAnnotations,w]);if(v){C=C.filter((e=>!(e.ref&&S.has(e.ref))));for(let e=0,t=v.length;ee.ref&&isRefsEqual(e.ref,a.refToReplace)));if(r>=0){C.splice(r,1,a);v.splice(e--,1);t--}}}C=C.concat(v)}if(0===C.length||r&h){k.flush(!0);return{length:k.totalLength}}const F=!!(r&l),O=!!(r&u),T=!!(r&n),M=!!(r&s),D=!!(r&o),R=[];for(const e of C)(T||M&&e.mustBeViewed(c,F)&&e.mustBeViewedWhenEditing(O,d)||D&&e.mustBePrinted(c))&&R.push(e.getOperatorList(m,a,r,c).catch((function(e){warn(`getOperatorList - ignoring annotation data during "${a.name}" task: "${e}".`);return{opList:null,separateForm:!1,separateCanvas:!1}})));const N=await Promise.all(R);let E=!1,L=!1;for(const{opList:e,separateForm:t,separateCanvas:a}of N){k.addOpList(e);E||=t;L||=a}k.flush(!0,{form:E,canvas:L});return{length:k.totalLength}}async extractTextContent({handler:e,task:t,includeMarkedContent:a,disableNormalization:r,sink:i}){const n=this.getContentStream(),s=this.loadResources(Oa),o=this.pdfManager.ensureCatalog("lang"),[c,,l]=await Promise.all([n,s,o]),h=await this.#Te(c.dict,Oa);return this.#Ce(e).getTextContent({stream:c,task:t,resources:h,includeMarkedContent:a,disableNormalization:r,sink:i,viewBox:this.view,lang:l})}async getStructTree(){const e=await this.pdfManager.ensureCatalog("structTreeRoot");if(!e)return null;await this._parsedAnnotations;try{const t=await this.pdfManager.ensure(this,"_parseStructTree",[e]);return await this.pdfManager.ensure(t,"serializable")}catch(e){warn(`getStructTree: "${e}".`);return null}}_parseStructTree(e){const t=new StructTreePage(e,this.pageDict);t.parse(this.ref);return t}async getAnnotationsData(e,t,a){const r=await this._parsedAnnotations;if(0===r.length)return r;const i=[],c=[];let l;const h=!!(a&n),u=!!(a&s),d=!!(a&o);for(const a of r){const r=h||u&&a.viewable;(r||d&&a.printable)&&i.push(a.data);if(a.hasTextContent&&r){l??=this.#Ce(e);c.push(a.extractTextContent(l,t,[-1/0,-1/0,1/0,1/0]).catch((function(e){warn(`getAnnotationsData - ignoring textContent during "${t.name}" task: "${e}".`)})))}}await Promise.all(c);return i}get annotations(){const e=this.#ve("Annots");return shadow(this,"annotations",Array.isArray(e)?e:[])}get _parsedAnnotations(){return shadow(this,"_parsedAnnotations",this.pdfManager.ensure(this,"annotations").then((async e=>{if(0===e.length)return e;const[t,a]=await Promise.all([this.pdfManager.ensureDoc("annotationGlobals"),this.pdfManager.ensureDoc("fieldObjects")]);if(!t)return[];const r=a?.orphanFields,i=[];for(const a of e)i.push(AnnotationFactory.create(this.xref,a,t,this._localIdFactory,!1,r,this.ref).catch((function(e){warn(`_parsedAnnotations: "${e}".`);return null})));const n=[];let s,o;for(const e of await Promise.all(i))e&&(e instanceof WidgetAnnotation?(o||=[]).push(e):e instanceof PopupAnnotation?(s||=[]).push(e):n.push(e));o&&n.push(...o);s&&n.push(...s);return n})))}get jsActions(){return shadow(this,"jsActions",collectActions(this.xref,this.pageDict,Se))}}const bc=new Uint8Array([37,80,68,70,45]),yc=new Uint8Array([115,116,97,114,116,120,114,101,102]),wc=new Uint8Array([101,110,100,111,98,106]);function find(e,t,a=1024,r=!1){const i=t.length,n=e.peekBytes(a),s=n.length-i;if(s<=0)return!1;if(r){const a=i-1;let r=n.length-1;for(;r>=a;){let s=0;for(;s=i){e.pos+=r-a;return!0}r--}}else{let a=0;for(;a<=s;){let r=0;for(;r=i){e.pos+=a;return!0}a++}}return!1}class PDFDocument{#Me=new Map;#De=null;constructor(e,t){if(t.length<=0)throw new InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=e;this.stream=t;this.xref=new XRef(t,e);const a={font:0};this._globalIdFactory=class{static getDocId(){return`g_${e.docId}`}static createFontId(){return"f"+ ++a.font}static createObjId(){unreachable("Abstract method `createObjId` called.")}static getPageObjId(){unreachable("Abstract method `getPageObjId` called.")}}}parse(e){this.xref.parse(e);this.catalog=new Catalog(this.pdfManager,this.xref)}get linearization(){let e=null;try{e=Linearization.create(this.stream)}catch(e){if(e instanceof MissingDataException)throw e;info(e)}return shadow(this,"linearization",e)}get startXRef(){const e=this.stream;let t=0;if(this.linearization){e.reset();if(find(e,wc)){e.skip(6);let a=e.peekByte();for(;isWhiteSpace(a);){e.pos++;a=e.peekByte()}t=e.pos-e.start}}else{const a=1024,r=yc.length;let i=!1,n=e.end;for(;!i&&n>0;){n-=a-r;n<0&&(n=0);e.pos=n;i=find(e,yc,a,!0)}if(i){e.skip(9);let a;do{a=e.getByte()}while(isWhiteSpace(a));let r="";for(;a>=32&&a<=57;){r+=String.fromCharCode(a);a=e.getByte()}t=parseInt(r,10);isNaN(t)&&(t=0)}}return shadow(this,"startXRef",t)}checkHeader(){const e=this.stream;e.reset();if(!find(e,bc))return;e.moveStart();e.skip(bc.length);let t,a="";for(;(t=e.getByte())>32&&a.length<7;)a+=String.fromCharCode(t);Ca.test(a)?this.#De=a:warn(`Invalid PDF header version: ${a}`)}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){let e=0;e=this.catalog.hasActualNumPages?this.catalog.numPages:this.xfaFactory?this.xfaFactory.getNumPages():this.linearization?this.linearization.numPages:this.catalog.numPages;return shadow(this,"numPages",e)}#Be(e,t=0){return!!Array.isArray(e)&&e.every((e=>{if(!((e=this.xref.fetchIfRef(e))instanceof Dict))return!1;if(e.has("Kids")){if(++t>10){warn("#hasOnlyDocumentSignatures: maximum recursion depth reached");return!1}return this.#Be(e.get("Kids"),t)}const a=isName(e.get("FT"),"Sig"),r=e.get("Rect"),i=Array.isArray(r)&&r.every((e=>0===e));return a&&i}))}get _xfaStreams(){const{acroForm:e}=this.catalog;if(!e)return null;const t=e.get("XFA"),a=new Map(["xdp:xdp","template","datasets","config","connectionSet","localeSet","stylesheet","/xdp:xdp"].map((e=>[e,null])));if(t instanceof BaseStream&&!t.isEmpty){a.set("xdp:xdp",t);return a}if(!Array.isArray(t)||0===t.length)return null;for(let e=0,r=t.length;el.handleSetFont(r,[Name.get(e),1],null,h,t,d,a,i).catch((e=>{warn(`loadXfaFonts: "${e}".`);return null})),f=[];for(const[e,t]of i){const a=t.get("FontDescriptor");if(!(a instanceof Dict))continue;let r=a.get("FontFamily");r=r.replaceAll(/[ ]+(\d)/g,"$1");const i={fontFamily:r,fontWeight:a.get("FontWeight"),italicAngle:-a.get("ItalicAngle")};validateCSSFont(i)&&f.push(parseFont(e,null,i))}await Promise.all(f);const g=this.xfaFactory.setFonts(u);if(!g)return;n.ignoreErrors=!0;f.length=0;u.length=0;const p=new Set;for(const e of g)getXfaFontName(`${e}-Regular`)||p.add(e);p.size&&g.push("PdfJS-Fallback");for(const e of g)if(!p.has(e))for(const t of[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}]){const a=`${e}-${t.name}`;f.push(parseFont(a,getXfaFontDict(a),{fontFamily:e,fontWeight:t.fontWeight,italicAngle:t.italicAngle}))}await Promise.all(f);this.xfaFactory.appendFonts(u,p)}loadXfaResources(e,t){return Promise.all([this.#Ne(e,t).catch((()=>{})),this.#Re()])}serializeXfaData(e){return this.xfaFactory?this.xfaFactory.serializeData(e):null}get version(){return this.catalog.version||this.#De}get formInfo(){const e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},{acroForm:t}=this.catalog;if(!t)return shadow(this,"formInfo",e);try{const a=t.get("Fields"),r=Array.isArray(a)&&a.length>0;e.hasFields=r;const i=t.get("XFA");e.hasXfa=Array.isArray(i)&&i.length>0||i instanceof BaseStream&&!i.isEmpty;const n=!!(1&t.get("SigFlags")),s=n&&this.#Be(a);e.hasAcroForm=r&&!s;e.hasSignatures=n}catch(e){if(e instanceof MissingDataException)throw e;warn(`Cannot fetch form information: "${e}".`)}return shadow(this,"formInfo",e)}get documentInfo(){const{catalog:e,formInfo:t,xref:a}=this,r={PDFFormatVersion:this.version,Language:e.lang,EncryptFilterName:a.encrypt?.filterName??null,IsLinearized:!!this.linearization,IsAcroFormPresent:t.hasAcroForm,IsXFAPresent:t.hasXfa,IsCollectionPresent:!!e.collection,IsSignaturesPresent:t.hasSignatures};let i;try{i=a.trailer.get("Info")}catch(e){if(e instanceof MissingDataException)throw e;info("The document information dictionary is invalid.")}if(!(i instanceof Dict))return shadow(this,"documentInfo",r);for(const[e,t]of i){switch(e){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if("string"==typeof t){r[e]=stringToPDFString(t);continue}break;case"Trapped":if(t instanceof Name){r[e]=t;continue}break;default:let a;switch(typeof t){case"string":a=stringToPDFString(t);break;case"number":case"boolean":a=t;break;default:t instanceof Name&&(a=t)}if(void 0===a){warn(`Bad value, for custom key "${e}", in Info: ${t}.`);continue}r.Custom??=Object.create(null);r.Custom[e]=a;continue}warn(`Bad value, for key "${e}", in Info: ${t}.`)}return shadow(this,"documentInfo",r)}get fingerprints(){const e="\0".repeat(16);function validate(t){return"string"==typeof t&&16===t.length&&t!==e}const t=this.xref.trailer.get("ID");let a,r;if(Array.isArray(t)&&validate(t[0])){a=stringToBytes(t[0]);t[1]!==t[0]&&validate(t[1])&&(r=stringToBytes(t[1]))}else a=calculateMD5(this.stream.getByteRange(0,1024),0,1024);return shadow(this,"fingerprints",[toHexUtil(a),r?toHexUtil(r):null])}async#Ee(e){const{catalog:t,linearization:a,xref:r}=this,i=Ref.get(a.objectNumberFirst,0);try{const e=await r.fetchAsync(i);if(e instanceof Dict){let a=e.getRaw("Type");a instanceof Ref&&(a=await r.fetchAsync(a));if(isName(a,"Page")||!e.has("Type")&&!e.has("Kids")&&e.has("Contents")){t.pageKidsCountCache.has(i)||t.pageKidsCountCache.put(i,1);t.pageIndexCache.has(i)||t.pageIndexCache.put(i,0);return[e,i]}}throw new FormatError("The Linearization dictionary doesn't point to a valid Page dictionary.")}catch(a){warn(`_getLinearizationPage: "${a.message}".`);return t.getPageDict(e)}}getPage(e){const t=this.#Me.get(e);if(t)return t;const{catalog:a,linearization:r,xfaFactory:i}=this;let n;n=i?Promise.resolve([Dict.empty,null]):r?.pageFirst===e?this.#Ee(e):a.getPageDict(e);n=n.then((([t,r])=>new Page({pdfManager:this.pdfManager,xref:this.xref,pageIndex:e,pageDict:t,ref:r,globalIdFactory:this._globalIdFactory,fontCache:a.fontCache,builtInCMapCache:a.builtInCMapCache,standardFontDataCache:a.standardFontDataCache,globalColorSpaceCache:a.globalColorSpaceCache,globalImageCache:a.globalImageCache,systemFontCache:a.systemFontCache,nonBlendModesSet:a.nonBlendModesSet,xfaFactory:i})));this.#Me.set(e,n);return n}async checkFirstPage(e=!1){if(!e)try{await this.getPage(0)}catch(e){if(e instanceof XRefEntryException){this.#Me.delete(0);await this.cleanup();throw new XRefParseException}}}async checkLastPage(e=!1){const{catalog:t,pdfManager:a}=this;t.setActualNumPages();let r;try{await Promise.all([a.ensureDoc("xfaFactory"),a.ensureDoc("linearization"),a.ensureCatalog("numPages")]);if(this.xfaFactory)return;r=this.linearization?this.linearization.numPages:t.numPages;if(!Number.isInteger(r))throw new FormatError("Page count is not an integer.");if(r<=1)return;await this.getPage(r-1)}catch(i){this.#Me.delete(r-1);await this.cleanup();if(i instanceof XRefEntryException&&!e)throw new XRefParseException;warn(`checkLastPage - invalid /Pages tree /Count: ${r}.`);let n;try{n=await t.getAllPageDicts(e)}catch(a){if(a instanceof XRefEntryException&&!e)throw new XRefParseException;t.setActualNumPages(1);return}for(const[e,[r,i]]of n){let n;if(r instanceof Error){n=Promise.reject(r);n.catch((()=>{}))}else n=Promise.resolve(new Page({pdfManager:a,xref:this.xref,pageIndex:e,pageDict:r,ref:i,globalIdFactory:this._globalIdFactory,fontCache:t.fontCache,builtInCMapCache:t.builtInCMapCache,standardFontDataCache:t.standardFontDataCache,globalColorSpaceCache:this.globalColorSpaceCache,globalImageCache:t.globalImageCache,systemFontCache:t.systemFontCache,nonBlendModesSet:t.nonBlendModesSet,xfaFactory:null}));this.#Me.set(e,n)}t.setActualNumPages(n.size)}}async fontFallback(e,t){const{catalog:a,pdfManager:r}=this;for(const i of await Promise.all(a.fontCache))if(i.loadedName===e){i.fallback(t,r.evaluatorOptions);return}}async cleanup(e=!1){return this.catalog?this.catalog.cleanup(e):clearGlobalCaches()}async#Pe(e,t,a,r,i,n,s){const{xref:o}=this;if(!(a instanceof Ref)||n.has(a))return;n.put(a);const c=await o.fetchAsync(a);if(!(c instanceof Dict))return;let l=await c.getAsync("Subtype");l=l instanceof Name?l.name:null;if("Link"===l)return;if(c.has("T")){const t=stringToPDFString(await c.getAsync("T"));e=""===e?t:`${e}.${t}`}else{let a=c;for(;;){a=a.getRaw("Parent")||t;if(a instanceof Ref){if(n.has(a))break;a=await o.fetchAsync(a)}if(!(a instanceof Dict))break;if(a.has("T")){const t=stringToPDFString(await a.getAsync("T"));e=""===e?t:`${e}.${t}`;break}}}t&&!c.has("Parent")&&isName(c.get("Subtype"),"Widget")&&s.put(a,t);r.has(e)||r.set(e,[]);r.get(e).push(AnnotationFactory.create(o,a,i,null,!0,s,null).then((e=>e?.getFieldObject())).catch((function(e){warn(`#collectFieldObjects: "${e}".`);return null})));if(!c.has("Kids"))return;const h=await c.getAsync("Kids");if(Array.isArray(h))for(const t of h)await this.#Pe(e,a,t,r,i,n,s)}get fieldObjects(){return shadow(this,"fieldObjects",this.pdfManager.ensureDoc("formInfo").then((async e=>{if(!e.hasFields)return null;const t=await this.annotationGlobals;if(!t)return null;const{acroForm:a}=t,r=new RefSet,i=Object.create(null),n=new Map,s=new RefSetCache;for(const e of a.get("Fields"))await this.#Pe("",null,e,n,t,r,s);const o=[];for(const[e,t]of n)o.push(Promise.all(t).then((t=>{(t=t.filter((e=>!!e))).length>0&&(i[e]=t)})));await Promise.all(o);return{allFields:objectSize(i)>0?i:null,orphanFields:s}})))}get hasJSActions(){return shadow(this,"hasJSActions",this.pdfManager.ensureDoc("_parseHasJSActions"))}async _parseHasJSActions(){const[e,t]=await Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);return!!e||!!t?.allFields&&Object.values(t.allFields).some((e=>e.some((e=>null!==e.actions))))}get calculationOrderIds(){const e=this.catalog.acroForm?.get("CO");if(!Array.isArray(e)||0===e.length)return shadow(this,"calculationOrderIds",null);const t=[];for(const a of e)a instanceof Ref&&t.push(a.toString());return shadow(this,"calculationOrderIds",t.length?t:null)}get annotationGlobals(){return shadow(this,"annotationGlobals",AnnotationFactory.createGlobals(this.pdfManager))}}class BasePdfManager{constructor({docBaseUrl:e,docId:t,enableXfa:a,evaluatorOptions:r,handler:i,password:n}){this._docBaseUrl=function parseDocBaseUrl(e){if(e){const t=createValidAbsoluteUrl(e);if(t)return t.href;warn(`Invalid absolute docBaseUrl: "${e}".`)}return null}(e);this._docId=t;this._password=n;this.enableXfa=a;r.isOffscreenCanvasSupported&&=FeatureTest.isOffscreenCanvasSupported;r.isImageDecoderSupported&&=FeatureTest.isImageDecoderSupported;this.evaluatorOptions=Object.freeze(r);ImageResizer.setOptions(r);JpegStream.setOptions(r);OperatorList.setOptions(r);const s={...r,handler:i};JpxImage.setOptions(s);IccColorSpace.setOptions(s);CmykICCBasedCS.setOptions(s)}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){return this._docBaseUrl}ensureDoc(e,t){return this.ensure(this.pdfDocument,e,t)}ensureXRef(e,t){return this.ensure(this.pdfDocument.xref,e,t)}ensureCatalog(e,t){return this.ensure(this.pdfDocument.catalog,e,t)}getPage(e){return this.pdfDocument.getPage(e)}fontFallback(e,t){return this.pdfDocument.fontFallback(e,t)}cleanup(e=!1){return this.pdfDocument.cleanup(e)}async ensure(e,t,a){unreachable("Abstract method `ensure` called")}requestRange(e,t){unreachable("Abstract method `requestRange` called")}requestLoadedStream(e=!1){unreachable("Abstract method `requestLoadedStream` called")}sendProgressiveData(e){unreachable("Abstract method `sendProgressiveData` called")}updatePassword(e){this._password=e}terminate(e){unreachable("Abstract method `terminate` called")}}class LocalPdfManager extends BasePdfManager{constructor(e){super(e);const t=new Stream(e.source);this.pdfDocument=new PDFDocument(this,t);this._loadedStreamPromise=Promise.resolve(t)}async ensure(e,t,a){const r=e[t];return"function"==typeof r?r.apply(e,a):r}requestRange(e,t){return Promise.resolve()}requestLoadedStream(e=!1){return this._loadedStreamPromise}terminate(e){}}class NetworkPdfManager extends BasePdfManager{constructor(e){super(e);this.streamManager=new ChunkedStreamManager(e.source,{msgHandler:e.handler,length:e.length,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize});this.pdfDocument=new PDFDocument(this,this.streamManager.getStream())}async ensure(e,t,a){try{const r=e[t];return"function"==typeof r?r.apply(e,a):r}catch(r){if(!(r instanceof MissingDataException))throw r;await this.requestRange(r.begin,r.end);return this.ensure(e,t,a)}}requestRange(e,t){return this.streamManager.requestRange(e,t)}requestLoadedStream(e=!1){return this.streamManager.requestAllChunks(e)}sendProgressiveData(e){this.streamManager.onReceiveData({chunk:e})}terminate(e){this.streamManager.abort(e)}}const Sc=1,xc=2,Ac=1,kc=2,Cc=3,vc=4,Fc=5,Ic=6,Oc=7,Tc=8;function onFn(){}function wrapReason(e){if(e instanceof AbortException||e instanceof InvalidPDFException||e instanceof PasswordException||e instanceof ResponseException||e instanceof UnknownErrorException)return e;e instanceof Error||"object"==typeof e&&null!==e||unreachable('wrapReason: Expected "reason" to be a (possibly cloned) Error.');switch(e.name){case"AbortException":return new AbortException(e.message);case"InvalidPDFException":return new InvalidPDFException(e.message);case"PasswordException":return new PasswordException(e.message,e.code);case"ResponseException":return new ResponseException(e.message,e.status,e.missing);case"UnknownErrorException":return new UnknownErrorException(e.message,e.details)}return new UnknownErrorException(e.message,e.toString())}class MessageHandler{#Le=new AbortController;constructor(e,t,a){this.sourceName=e;this.targetName=t;this.comObj=a;this.callbackId=1;this.streamId=1;this.streamSinks=Object.create(null);this.streamControllers=Object.create(null);this.callbackCapabilities=Object.create(null);this.actionHandler=Object.create(null);a.addEventListener("message",this.#je.bind(this),{signal:this.#Le.signal})}#je({data:e}){if(e.targetName!==this.sourceName)return;if(e.stream){this.#_e(e);return}if(e.callback){const t=e.callbackId,a=this.callbackCapabilities[t];if(!a)throw new Error(`Cannot resolve callback ${t}`);delete this.callbackCapabilities[t];if(e.callback===Sc)a.resolve(e.data);else{if(e.callback!==xc)throw new Error("Unexpected callback case");a.reject(wrapReason(e.reason))}return}const t=this.actionHandler[e.action];if(!t)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const a=this.sourceName,r=e.sourceName,i=this.comObj;Promise.try(t,e.data).then((function(t){i.postMessage({sourceName:a,targetName:r,callback:Sc,callbackId:e.callbackId,data:t})}),(function(t){i.postMessage({sourceName:a,targetName:r,callback:xc,callbackId:e.callbackId,reason:wrapReason(t)})}))}else e.streamId?this.#Ue(e):t(e.data)}on(e,t){const a=this.actionHandler;if(a[e])throw new Error(`There is already an actionName called "${e}"`);a[e]=t}send(e,t,a){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},a)}sendWithPromise(e,t,a){const r=this.callbackId++,i=Promise.withResolvers();this.callbackCapabilities[r]=i;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:r,data:t},a)}catch(e){i.reject(e)}return i.promise}sendWithStream(e,t,a,r){const i=this.streamId++,n=this.sourceName,s=this.targetName,o=this.comObj;return new ReadableStream({start:a=>{const c=Promise.withResolvers();this.streamControllers[i]={controller:a,startCall:c,pullCall:null,cancelCall:null,isClosed:!1};o.postMessage({sourceName:n,targetName:s,action:e,streamId:i,data:t,desiredSize:a.desiredSize},r);return c.promise},pull:e=>{const t=Promise.withResolvers();this.streamControllers[i].pullCall=t;o.postMessage({sourceName:n,targetName:s,stream:Ic,streamId:i,desiredSize:e.desiredSize});return t.promise},cancel:e=>{assert(e instanceof Error,"cancel must have a valid reason");const t=Promise.withResolvers();this.streamControllers[i].cancelCall=t;this.streamControllers[i].isClosed=!0;o.postMessage({sourceName:n,targetName:s,stream:Ac,streamId:i,reason:wrapReason(e)});return t.promise}},a)}#Ue(e){const t=e.streamId,a=this.sourceName,r=e.sourceName,i=this.comObj,n=this,s=this.actionHandler[e.action],o={enqueue(e,n=1,s){if(this.isCancelled)return;const o=this.desiredSize;this.desiredSize-=n;if(o>0&&this.desiredSize<=0){this.sinkCapability=Promise.withResolvers();this.ready=this.sinkCapability.promise}i.postMessage({sourceName:a,targetName:r,stream:vc,streamId:t,chunk:e},s)},close(){if(!this.isCancelled){this.isCancelled=!0;i.postMessage({sourceName:a,targetName:r,stream:Cc,streamId:t});delete n.streamSinks[t]}},error(e){assert(e instanceof Error,"error must have a valid reason");if(!this.isCancelled){this.isCancelled=!0;i.postMessage({sourceName:a,targetName:r,stream:Fc,streamId:t,reason:wrapReason(e)})}},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};o.sinkCapability.resolve();o.ready=o.sinkCapability.promise;this.streamSinks[t]=o;Promise.try(s,e.data,o).then((function(){i.postMessage({sourceName:a,targetName:r,stream:Tc,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:a,targetName:r,stream:Tc,streamId:t,reason:wrapReason(e)})}))}#_e(e){const t=e.streamId,a=this.sourceName,r=e.sourceName,i=this.comObj,n=this.streamControllers[t],s=this.streamSinks[t];switch(e.stream){case Tc:e.success?n.startCall.resolve():n.startCall.reject(wrapReason(e.reason));break;case Oc:e.success?n.pullCall.resolve():n.pullCall.reject(wrapReason(e.reason));break;case Ic:if(!s){i.postMessage({sourceName:a,targetName:r,stream:Oc,streamId:t,success:!0});break}s.desiredSize<=0&&e.desiredSize>0&&s.sinkCapability.resolve();s.desiredSize=e.desiredSize;Promise.try(s.onPull||onFn).then((function(){i.postMessage({sourceName:a,targetName:r,stream:Oc,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:a,targetName:r,stream:Oc,streamId:t,reason:wrapReason(e)})}));break;case vc:assert(n,"enqueue should have stream controller");if(n.isClosed)break;n.controller.enqueue(e.chunk);break;case Cc:assert(n,"close should have stream controller");if(n.isClosed)break;n.isClosed=!0;n.controller.close();this.#Xe(n,t);break;case Fc:assert(n,"error should have stream controller");n.controller.error(wrapReason(e.reason));this.#Xe(n,t);break;case kc:e.success?n.cancelCall.resolve():n.cancelCall.reject(wrapReason(e.reason));this.#Xe(n,t);break;case Ac:if(!s)break;const o=wrapReason(e.reason);Promise.try(s.onCancel||onFn,o).then((function(){i.postMessage({sourceName:a,targetName:r,stream:kc,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:a,targetName:r,stream:kc,streamId:t,reason:wrapReason(e)})}));s.sinkCapability.reject(o);s.isCancelled=!0;delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}async#Xe(e,t){await Promise.allSettled([e.startCall?.promise,e.pullCall?.promise,e.cancelCall?.promise]);delete this.streamControllers[t]}destroy(){this.#Le?.abort();this.#Le=null}}async function writeObject(e,t,a,{encrypt:r=null}){const i=r?.createCipherTransform(e.num,e.gen);a.push(`${e.num} ${e.gen} obj\n`);t instanceof Dict?await writeDict(t,a,i):t instanceof BaseStream?await writeStream(t,a,i):(Array.isArray(t)||ArrayBuffer.isView(t))&&await writeArray(t,a,i);a.push("\nendobj\n")}async function writeDict(e,t,a){t.push("<<");for(const r of e.getKeys()){t.push(` /${escapePDFName(r)} `);await writeValue(e.getRaw(r),t,a)}t.push(">>")}async function writeStream(e,t,a){let r=e.getBytes();const{dict:i}=e,[n,s]=await Promise.all([i.getAsync("Filter"),i.getAsync("DecodeParms")]),o=isName(Array.isArray(n)?await i.xref.fetchIfRefAsync(n[0]):n,"FlateDecode");if(r.length>=256||o)try{const e=new CompressionStream("deflate"),t=e.writable.getWriter();await t.ready;t.write(r).then((async()=>{await t.ready;await t.close()})).catch((()=>{}));const a=await new Response(e.readable).arrayBuffer();r=new Uint8Array(a);let c,l;if(n){if(!o){c=Array.isArray(n)?[Name.get("FlateDecode"),...n]:[Name.get("FlateDecode"),n];s&&(l=Array.isArray(s)?[null,...s]:[null,s])}}else c=Name.get("FlateDecode");c&&i.set("Filter",c);l&&i.set("DecodeParms",l)}catch(e){info(`writeStream - cannot compress data: "${e}".`)}let c=bytesToString(r);a&&(c=a.encryptString(c));i.set("Length",c.length);await writeDict(i,t,a);t.push(" stream\n",c,"\nendstream")}async function writeArray(e,t,a){t.push("[");let r=!0;for(const i of e){r?r=!1:t.push(" ");await writeValue(i,t,a)}t.push("]")}async function writeValue(e,t,a){if(e instanceof Name)t.push(`/${escapePDFName(e.name)}`);else if(e instanceof Ref)t.push(`${e.num} ${e.gen} R`);else if(Array.isArray(e)||ArrayBuffer.isView(e))await writeArray(e,t,a);else if("string"==typeof e){a&&(e=a.encryptString(e));t.push(`(${escapeString(e)})`)}else"number"==typeof e?t.push(numberToString(e)):"boolean"==typeof e?t.push(e.toString()):e instanceof Dict?await writeDict(e,t,a):e instanceof BaseStream?await writeStream(e,t,a):null===e?t.push("null"):warn(`Unhandled value in writer: ${typeof e}, please file a bug.`)}function writeInt(e,t,a,r){for(let i=t+a-1;i>a-1;i--){r[i]=255&e;e>>=8}return a+t}function writeString(e,t,a){const r=e.length;for(let i=0;i1&&(n=a.documentElement.searchNode([i.at(-1)],0));n?n.childNodes=Array.isArray(r)?r.map((e=>new SimpleDOMNode("value",e))):[new SimpleDOMNode("#text",r)]:warn(`Node not found for path: ${t}`)}const r=[];a.documentElement.dump(r);return r.join("")}(r.fetchIfRef(t).getString(),a)}const i=new StringStream(e);i.dict=new Dict(r);i.dict.set("Type",Name.get("EmbeddedFile"));a.put(t,{data:i})}function getIndexes(e){const t=[];for(const{ref:a}of e)a.num===t.at(-2)+t.at(-1)?t[t.length-1]+=1:t.push(a.num,1);return t}function computeIDs(e,t,a){if(Array.isArray(t.fileIds)&&t.fileIds.length>0){const r=function computeMD5(e,t){const a=Math.floor(Date.now()/1e3),r=t.filename||"",i=[a.toString(),r,e.toString(),...t.infoMap.values()],n=Math.sumPrecise(i.map((e=>e.length))),s=new Uint8Array(n);let o=0;for(const e of i)o=writeString(e,o,s);return bytesToString(calculateMD5(s,0,s.length))}(e,t);a.set("ID",[t.fileIds[0],r])}}async function incrementalUpdate({originalData:e,xrefInfo:t,changes:a,xref:r=null,hasXfa:i=!1,xfaDatasetsRef:n=null,hasXfaDatasetsEntry:s=!1,needAppearances:o,acroFormRef:c=null,acroForm:l=null,xfaData:h=null,useXrefStream:u=!1}){await async function updateAcroform({xref:e,acroForm:t,acroFormRef:a,hasXfa:r,hasXfaDatasetsEntry:i,xfaDatasetsRef:n,needAppearances:s,changes:o}){!r||i||n||warn("XFA - Cannot save it");if(!s&&(!r||!n||i))return;const c=t.clone();if(r&&!i){const e=t.get("XFA").slice();e.splice(2,0,"datasets");e.splice(3,0,n);c.set("XFA",e)}s&&c.set("NeedAppearances",!0);o.put(a,{data:c})}({xref:r,acroForm:l,acroFormRef:c,hasXfa:i,hasXfaDatasetsEntry:s,xfaDatasetsRef:n,needAppearances:o,changes:a});i&&updateXFA({xfaData:h,xfaDatasetsRef:n,changes:a,xref:r});const d=function getTrailerDict(e,t,a){const r=new Dict(null);r.set("Prev",e.startXRef);const i=e.newRef;if(a){t.put(i,{data:""});r.set("Size",i.num+1);r.set("Type",Name.get("XRef"))}else r.set("Size",i.num);null!==e.rootRef&&r.set("Root",e.rootRef);null!==e.infoRef&&r.set("Info",e.infoRef);null!==e.encryptRef&&r.set("Encrypt",e.encryptRef);return r}(t,a,u),f=[],g=await async function writeChanges(e,t,a=[]){const r=[];for(const[i,{data:n}]of e.items())if(null!==n&&"string"!=typeof n){await writeObject(i,n,a,t);r.push({ref:i,data:a.join("")});a.length=0}else r.push({ref:i,data:n});return r.sort(((e,t)=>e.ref.num-t.ref.num))}(a,r,f);let p=e.length;const m=e.at(-1);if(10!==m&&13!==m){f.push("\n");p+=1}for(const{data:e}of g)null!==e&&f.push(e);await(u?async function getXRefStreamTable(e,t,a,r,i){const n=[];let s=0,o=0;for(const{ref:e,data:r}of a){let a;s=Math.max(s,t);if(null!==r){a=Math.min(e.gen,65535);n.push([1,t,a]);t+=r.length}else{a=Math.min(e.gen+1,65535);n.push([0,0,a])}o=Math.max(o,a)}r.set("Index",getIndexes(a));const c=[1,getSizeInBytes(s),getSizeInBytes(o)];r.set("W",c);computeIDs(t,e,r);const l=Math.sumPrecise(c),h=new Uint8Array(l*n.length),u=new Stream(h);u.dict=r;let d=0;for(const[e,t,a]of n){d=writeInt(e,c[0],d,h);d=writeInt(t,c[1],d,h);d=writeInt(a,c[2],d,h)}await writeObject(e.newRef,u,i,{});i.push("startxref\n",t.toString(),"\n%%EOF\n")}(t,p,g,d,f):async function getXRefTable(e,t,a,r,i){i.push("xref\n");const n=getIndexes(a);let s=0;for(const{ref:e,data:r}of a){if(e.num===n[s]){i.push(`${n[s]} ${n[s+1]}\n`);s+=2}if(null!==r){i.push(`${t.toString().padStart(10,"0")} ${Math.min(e.gen,65535).toString().padStart(5,"0")} n\r\n`);t+=r.length}else i.push(`0000000000 ${Math.min(e.gen+1,65535).toString().padStart(5,"0")} f\r\n`)}computeIDs(t,e,r);i.push("trailer\n");await writeDict(r,i);i.push("\nstartxref\n",t.toString(),"\n%%EOF\n")}(t,p,g,d,f));const b=e.length+Math.sumPrecise(f.map((e=>e.length))),y=new Uint8Array(b);y.set(e);let w=e.length;for(const e of f)w=writeString(e,w,y);return y}class PDFWorkerStream{constructor(e){this._msgHandler=e;this._contentLength=null;this._fullRequestReader=null;this._rangeRequestReaders=[]}getFullReader(){assert(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once.");this._fullRequestReader=new PDFWorkerStreamReader(this._msgHandler);return this._fullRequestReader}getRangeReader(e,t){const a=new PDFWorkerStreamRangeReader(e,t,this._msgHandler);this._rangeRequestReaders.push(a);return a}cancelAllRequests(e){this._fullRequestReader?.cancel(e);for(const t of this._rangeRequestReaders.slice(0))t.cancel(e)}}class PDFWorkerStreamReader{constructor(e){this._msgHandler=e;this.onProgress=null;this._contentLength=null;this._isRangeSupported=!1;this._isStreamingSupported=!1;const t=this._msgHandler.sendWithStream("GetReader");this._reader=t.getReader();this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then((e=>{this._isStreamingSupported=e.isStreamingSupported;this._isRangeSupported=e.isRangeSupported;this._contentLength=e.contentLength}))}get headersReady(){return this._headersReady}get contentLength(){return this._contentLength}get isStreamingSupported(){return this._isStreamingSupported}get isRangeSupported(){return this._isRangeSupported}async read(){const{value:e,done:t}=await this._reader.read();return t?{value:void 0,done:!0}:{value:e.buffer,done:!1}}cancel(e){this._reader.cancel(e)}}class PDFWorkerStreamRangeReader{constructor(e,t,a){this._msgHandler=a;this.onProgress=null;const r=this._msgHandler.sendWithStream("GetRangeReader",{begin:e,end:t});this._reader=r.getReader()}get isStreamingSupported(){return!1}async read(){const{value:e,done:t}=await this._reader.read();return t?{value:void 0,done:!0}:{value:e.buffer,done:!1}}cancel(e){this._reader.cancel(e)}}class WorkerTask{constructor(e){this.name=e;this.terminated=!1;this._capability=Promise.withResolvers()}get finished(){return this._capability.promise}finish(){this._capability.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}}class WorkerMessageHandler{static{"undefined"==typeof window&&!e&&"undefined"!=typeof self&&"function"==typeof self.postMessage&&"onmessage"in self&&this.initializeFromPort(self)}static setup(e,t){let a=!1;e.on("test",(t=>{if(!a){a=!0;e.send("test",t instanceof Uint8Array)}}));e.on("configure",(e=>{!function setVerbosityLevel(e){Number.isInteger(e)&&(da=e)}(e.verbosity)}));e.on("GetDocRequest",(e=>this.createDocumentHandler(e,t)))}static createDocumentHandler(e,t){let a,r=!1,i=null;const n=new Set,s=getVerbosityLevel(),{docId:o,apiVersion:c}=e,l="5.3.31";if(c!==l)throw new Error(`The API version "${c}" does not match the Worker version "${l}".`);const buildMsg=(e,t)=>`The \`${e}.prototype\` contains unexpected enumerable property "${t}", thus breaking e.g. \`for...in\` iteration of ${e}s.`;for(const e in{})throw new Error(buildMsg("Object",e));for(const e in[])throw new Error(buildMsg("Array",e));const h=o+"_worker";let u=new MessageHandler(h,o,t);function ensureNotTerminated(){if(r)throw new Error("Worker was terminated")}function startWorkerTask(e){n.add(e)}function finishWorkerTask(e){e.finish();n.delete(e)}async function loadDocument(e){await a.ensureDoc("checkHeader");await a.ensureDoc("parseStartXRef");await a.ensureDoc("parse",[e]);await a.ensureDoc("checkFirstPage",[e]);await a.ensureDoc("checkLastPage",[e]);const t=await a.ensureDoc("isPureXfa");if(t){const e=new WorkerTask("loadXfaResources");startWorkerTask(e);await a.ensureDoc("loadXfaResources",[u,e]);finishWorkerTask(e)}const[r,i]=await Promise.all([a.ensureDoc("numPages"),a.ensureDoc("fingerprints")]);return{numPages:r,fingerprints:i,htmlForXfa:t?await a.ensureDoc("htmlForXfa"):null}}function setupDoc(e){function onSuccess(e){ensureNotTerminated();u.send("GetDoc",{pdfInfo:e})}function onFailure(e){ensureNotTerminated();if(e instanceof PasswordException){const t=new WorkerTask(`PasswordException: response ${e.code}`);startWorkerTask(t);u.sendWithPromise("PasswordRequest",e).then((function({password:e}){finishWorkerTask(t);a.updatePassword(e);pdfManagerReady()})).catch((function(){finishWorkerTask(t);u.send("DocException",e)}))}else u.send("DocException",wrapReason(e))}function pdfManagerReady(){ensureNotTerminated();loadDocument(!1).then(onSuccess,(function(e){ensureNotTerminated();e instanceof XRefParseException?a.requestLoadedStream().then((function(){ensureNotTerminated();loadDocument(!0).then(onSuccess,onFailure)})):onFailure(e)}))}ensureNotTerminated();(async function getPdfManager({data:e,password:t,disableAutoFetch:a,rangeChunkSize:r,length:n,docBaseUrl:s,enableXfa:c,evaluatorOptions:l}){const h={source:null,disableAutoFetch:a,docBaseUrl:s,docId:o,enableXfa:c,evaluatorOptions:l,handler:u,length:n,password:t,rangeChunkSize:r};if(e){h.source=e;return new LocalPdfManager(h)}const d=new PDFWorkerStream(u),f=d.getFullReader(),g=Promise.withResolvers();let p,m=[],b=0;f.headersReady.then((function(){if(f.isRangeSupported){h.source=d;h.length=f.contentLength;h.disableAutoFetch||=f.isStreamingSupported;p=new NetworkPdfManager(h);for(const e of m)p.sendProgressiveData(e);m=[];g.resolve(p);i=null}})).catch((function(e){g.reject(e);i=null}));new Promise((function(e,t){const readChunk=function({value:e,done:a}){try{ensureNotTerminated();if(a){if(!p){const e=arrayBuffersToBytes(m);m=[];n&&e.length!==n&&warn("reported HTTP length is different from actual");h.source=e;p=new LocalPdfManager(h);g.resolve(p)}i=null;return}b+=e.byteLength;f.isStreamingSupported||u.send("DocProgress",{loaded:b,total:Math.max(b,f.contentLength||0)});p?p.sendProgressiveData(e):m.push(e);f.read().then(readChunk,t)}catch(e){t(e)}};f.read().then(readChunk,t)})).catch((function(e){g.reject(e);i=null}));i=e=>{d.cancelAllRequests(e)};return g.promise})(e).then((function(e){if(r){e.terminate(new AbortException("Worker was terminated."));throw new Error("Worker was terminated")}a=e;a.requestLoadedStream(!0).then((e=>{u.send("DataLoaded",{length:e.bytes.byteLength})}))})).then(pdfManagerReady,onFailure)}u.on("GetPage",(function(e){return a.getPage(e.pageIndex).then((function(e){return Promise.all([a.ensure(e,"rotate"),a.ensure(e,"ref"),a.ensure(e,"userUnit"),a.ensure(e,"view")]).then((function([e,t,a,r]){return{rotate:e,ref:t,refStr:t?.toString()??null,userUnit:a,view:r}}))}))}));u.on("GetPageIndex",(function(e){const t=Ref.get(e.num,e.gen);return a.ensureCatalog("getPageIndex",[t])}));u.on("GetDestinations",(function(e){return a.ensureCatalog("destinations")}));u.on("GetDestination",(function(e){return a.ensureCatalog("getDestination",[e.id])}));u.on("GetPageLabels",(function(e){return a.ensureCatalog("pageLabels")}));u.on("GetPageLayout",(function(e){return a.ensureCatalog("pageLayout")}));u.on("GetPageMode",(function(e){return a.ensureCatalog("pageMode")}));u.on("GetViewerPreferences",(function(e){return a.ensureCatalog("viewerPreferences")}));u.on("GetOpenAction",(function(e){return a.ensureCatalog("openAction")}));u.on("GetAttachments",(function(e){return a.ensureCatalog("attachments")}));u.on("GetDocJSActions",(function(e){return a.ensureCatalog("jsActions")}));u.on("GetPageJSActions",(function({pageIndex:e}){return a.getPage(e).then((e=>a.ensure(e,"jsActions")))}));u.on("GetOutline",(function(e){return a.ensureCatalog("documentOutline")}));u.on("GetOptionalContentConfig",(function(e){return a.ensureCatalog("optionalContentConfig")}));u.on("GetPermissions",(function(e){return a.ensureCatalog("permissions")}));u.on("GetMetadata",(function(e){return Promise.all([a.ensureDoc("documentInfo"),a.ensureCatalog("metadata")])}));u.on("GetMarkInfo",(function(e){return a.ensureCatalog("markInfo")}));u.on("GetData",(function(e){return a.requestLoadedStream().then((e=>e.bytes))}));u.on("GetAnnotations",(function({pageIndex:e,intent:t}){return a.getPage(e).then((function(a){const r=new WorkerTask(`GetAnnotations: page ${e}`);startWorkerTask(r);return a.getAnnotationsData(u,r,t).then((e=>{finishWorkerTask(r);return e}),(e=>{finishWorkerTask(r);throw e}))}))}));u.on("GetFieldObjects",(function(e){return a.ensureDoc("fieldObjects").then((e=>e?.allFields||null))}));u.on("HasJSActions",(function(e){return a.ensureDoc("hasJSActions")}));u.on("GetCalculationOrderIds",(function(e){return a.ensureDoc("calculationOrderIds")}));u.on("SaveDocument",(async function({isPureXfa:e,numPages:t,annotationStorage:r,filename:i}){const n=[a.requestLoadedStream(),a.ensureCatalog("acroForm"),a.ensureCatalog("acroFormRef"),a.ensureDoc("startXRef"),a.ensureDoc("xref"),a.ensureDoc("linearization"),a.ensureCatalog("structTreeRoot")],s=new RefSetCache,o=[],c=e?null:getNewAnnotationsMap(r),[l,h,d,f,g,p,m]=await Promise.all(n),b=g.trailer.getRaw("Root")||null;let y;if(c){m?await m.canUpdateStructTree({pdfManager:a,newAnnotationsByPage:c})&&(y=m):await StructTreeRoot.canCreateStructureTree({catalogRef:b,pdfManager:a,newAnnotationsByPage:c})&&(y=null);const e=AnnotationFactory.generateImages(r.values(),g,a.evaluatorOptions.isOffscreenCanvasSupported),t=void 0===y?o:[];for(const[r,i]of c)t.push(a.getPage(r).then((t=>{const a=new WorkerTask(`Save (editor): page ${r}`);startWorkerTask(a);return t.saveNewAnnotations(u,a,i,e,s).finally((function(){finishWorkerTask(a)}))})));null===y?o.push(Promise.all(t).then((async()=>{await StructTreeRoot.createStructureTree({newAnnotationsByPage:c,xref:g,catalogRef:b,pdfManager:a,changes:s})}))):y&&o.push(Promise.all(t).then((async()=>{await y.updateStructureTree({newAnnotationsByPage:c,pdfManager:a,changes:s})})))}if(e)o.push(a.ensureDoc("serializeXfaData",[r]));else for(let e=0;ee.needAppearances)),k=h instanceof Dict&&h.get("XFA")||null;let C=null,v=!1;if(Array.isArray(k)){for(let e=0,t=k.length;e{g.resetNewTemporaryRef()}))}));u.on("GetOperatorList",(function(e,t){const r=e.pageIndex;a.getPage(r).then((function(a){const i=new WorkerTask(`GetOperatorList: page ${r}`);startWorkerTask(i);const n=s>=Ae?Date.now():0;a.getOperatorList({handler:u,sink:t,task:i,intent:e.intent,cacheKey:e.cacheKey,annotationStorage:e.annotationStorage,modifiedIds:e.modifiedIds}).then((function(e){finishWorkerTask(i);n&&info(`page=${r+1} - getOperatorList: time=${Date.now()-n}ms, len=${e.length}`);t.close()}),(function(e){finishWorkerTask(i);i.terminated||t.error(e)}))}))}));u.on("GetTextContent",(function(e,t){const{pageIndex:r,includeMarkedContent:i,disableNormalization:n}=e;a.getPage(r).then((function(e){const a=new WorkerTask("GetTextContent: page "+r);startWorkerTask(a);const o=s>=Ae?Date.now():0;e.extractTextContent({handler:u,task:a,sink:t,includeMarkedContent:i,disableNormalization:n}).then((function(){finishWorkerTask(a);o&&info(`page=${r+1} - getTextContent: time=`+(Date.now()-o)+"ms");t.close()}),(function(e){finishWorkerTask(a);a.terminated||t.error(e)}))}))}));u.on("GetStructTree",(function(e){return a.getPage(e.pageIndex).then((e=>a.ensure(e,"getStructTree")))}));u.on("FontFallback",(function(e){return a.fontFallback(e.id,u)}));u.on("Cleanup",(function(e){return a.cleanup(!0)}));u.on("Terminate",(function(e){r=!0;const t=[];if(a){a.terminate(new AbortException("Worker was terminated."));const e=a.cleanup();t.push(e);a=null}else clearGlobalCaches();i?.(new AbortException("Worker was terminated."));for(const e of n){t.push(e.finished);e.terminate()}return Promise.all(t).then((function(){u.destroy();u=null}))}));u.on("Ready",(function(t){setupDoc(e);e=null}));return h}static initializeFromPort(e){const t=new MessageHandler("worker","main",e);this.setup(t,e);t.send("ready",null)}}globalThis.pdfjsWorker={WorkerMessageHandler};export{WorkerMessageHandler}; \ No newline at end of file diff --git a/web-app/build/static/css/main.849b542e.css b/web-app/build/static/css/main.849b542e.css deleted file mode 100644 index ad33429246..0000000000 --- a/web-app/build/static/css/main.849b542e.css +++ /dev/null @@ -1 +0,0 @@ -.ReactVirtualized__Table__headerRow{font-weight:700;text-transform:uppercase}.ReactVirtualized__Table__headerRow,.ReactVirtualized__Table__row{align-items:center;display:flex;flex-direction:row}.ReactVirtualized__Table__headerTruncatedText{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ReactVirtualized__Table__headerColumn,.ReactVirtualized__Table__rowColumn{margin-right:10px;min-width:0}.ReactVirtualized__Table__rowColumn{text-overflow:ellipsis;white-space:nowrap}.ReactVirtualized__Table__headerColumn:first-of-type,.ReactVirtualized__Table__rowColumn:first-of-type{margin-left:10px}.ReactVirtualized__Table__sortableHeaderColumn{cursor:pointer}.ReactVirtualized__Table__sortableHeaderIconContainer{align-items:center;display:flex}.ReactVirtualized__Table__sortableHeaderIcon{fill:currentColor;flex:0 0 24px;height:1em;width:1em}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.removeArrows input::-webkit-inner-spin-button,.removeArrows input::-webkit-outer-spin-button,input.removeArrows::-webkit-inner-spin-button,input.removeArrows::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.removeArrows input[type=number],input.removeArrows[type=number]{-moz-appearance:textfield} \ No newline at end of file diff --git a/web-app/build/static/js/1004.94a825c6.chunk.js b/web-app/build/static/js/1004.94a825c6.chunk.js deleted file mode 100644 index 4318849222..0000000000 --- a/web-app/build/static/js/1004.94a825c6.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[1004],{51004:(e,t,s)=>{s.r(t),s.d(t,{default:()=>A});var n=s(9950),a=s(28429),c=s(89132),i=s(98341),l=s(93598),o=s(26843),d=s(55604),r=s(49078),_=s(47304),b=s(99491),u=s(30272),h=s(82817),T=s(70444),x=s(48965),O=s(98167),C=s(44414);const j=(0,d.A)(n.lazy(()=>s.e(4402).then(s.bind(s,54402)))),S=(0,d.A)(n.lazy(()=>s.e(7102).then(s.bind(s,57102)))),p=(0,d.A)(n.lazy(()=>s.e(5692).then(s.bind(s,95692)))),E=(0,d.A)(n.lazy(()=>s.e(7945).then(s.bind(s,17945)))),I=(0,d.A)(n.lazy(()=>s.e(9033).then(s.bind(s,39033)))),f=(0,d.A)(n.lazy(()=>s.e(3576).then(s.bind(s,73576)))),m=(0,d.A)(n.lazy(()=>s.e(8231).then(s.bind(s,8231)))),A=()=>{var e;const t=(0,b.jL)(),s=(0,a.Zp)(),d=(0,a.g)(),A=(0,a.zy)(),N=(0,i.d4)(r.Rq),k=(0,i.d4)(_.Nx),y=(0,i.d4)(_.fT),U=(0,i.d4)(r.nM),[V,g]=(0,n.useState)(!1),[L,v]=(0,n.useState)(!1),R=d.bucketName||"",B=(0,o._)(R,l.Sg),G=(0,o._)(R,l.Nt);(0,n.useEffect)(()=>{t((0,r.ph)("bucket_details"))},[]),(0,n.useEffect)(()=>{V||(t((0,_.ZU)(!0)),g(!0))},[V,t,g]),(0,n.useEffect)(()=>{k&&T.F.buckets.bucketInfo(R).then(e=>{t((0,_.ZU)(!1)),t((0,_.$T)(e.data))}).catch(e=>{t((0,_.ZU)(!1)),t((0,r.C9)((0,x.S)(e)))})},[R,k,t]);let w="/buckets/".concat(R);const F={events:"/admin/events",replication:"/admin/replication",lifecycle:"/admin/lifecycle",access:"/admin/access",prefix:"/admin/prefix"},P=e=>{let t=F[e];return t=t?"".concat(w).concat(t):"".concat(w).concat("/admin/summary"),t};return(0,C.jsxs)(n.Fragment,{children:[L&&(0,C.jsx)(j,{deleteOpen:L,selectedBucket:R,closeDeleteModalAndRefresh:e=>{(e=>{v(!1),e&&s("/buckets")})(e)}}),(0,C.jsx)(h.A,{label:(0,C.jsx)(c.EGL,{label:"Buckets",onClick:()=>s("/buckets")}),actions:(0,C.jsxs)(n.Fragment,{children:[(0,C.jsx)(u.A,{tooltip:G?"Browse Bucket":(0,l.vj)(l.pC[l.ac.BUCKET_VIEWER],"browsing this bucket"),children:(0,C.jsx)(c.$nd,{id:"switch-browse-view","aria-label":"Browse Bucket",onClick:()=>{s("/browser/".concat(R))},icon:(0,C.jsx)(c.sjq,{style:{width:20,height:20,marginTop:-3}}),style:{padding:"0 10px"},disabled:!G})}),(0,C.jsx)(O.A,{})]})}),(0,C.jsxs)(c.Mxu,{children:[(0,C.jsx)(c.lcx,{icon:(0,C.jsx)(n.Fragment,{children:(0,C.jsx)(c.brV,{width:40})}),title:R,subTitle:(0,C.jsxs)(o.R,{scopes:[l.OV.S3_GET_BUCKET_POLICY,l.OV.S3_GET_ACTIONS],resource:R,children:[(0,C.jsx)("span",{style:{fontSize:15},children:"Access: "}),(0,C.jsx)("span",{style:{fontWeight:600,fontSize:15,textTransform:"capitalize"},children:null===y||void 0===y||null===(e=y.access)||void 0===e?void 0:e.toLowerCase()})]}),actions:(0,C.jsxs)(n.Fragment,{children:[(0,C.jsx)(o.R,{scopes:l.Sg,resource:R,errorProps:{disabled:!0},children:(0,C.jsx)(u.A,{tooltip:B?"":(0,l.vj)([l.OV.S3_DELETE_BUCKET,l.OV.S3_FORCE_DELETE_BUCKET],"deleting this bucket"),children:(0,C.jsx)(c.$nd,{id:"delete-bucket-button",onClick:()=>{v(!0)},label:"Delete Bucket",icon:(0,C.jsx)(c.ucK,{}),variant:"secondary",disabled:!B})})}),(0,C.jsx)(c.$nd,{id:"refresh-bucket-info",onClick:()=>{t((0,_.ZU)(!0))},label:"Refresh",icon:(0,C.jsx)(c.fNY,{})})]}),sx:{marginBottom:15}}),(0,C.jsx)(c.azJ,{children:(0,C.jsx)(c.tUM,{currentTabOrPath:A.pathname,useRouteTabs:!0,onTabClick:e=>{s(e)},options:[{tabConfig:{label:"Summary",id:"summary",to:P("summary")}},{tabConfig:{label:"Events",id:"events",disabled:!(0,o._)(R,[l.OV.S3_GET_BUCKET_NOTIFICATIONS,l.OV.S3_PUT_BUCKET_NOTIFICATIONS,l.OV.S3_GET_ACTIONS,l.OV.S3_PUT_ACTIONS]),to:P("events")}},{tabConfig:{label:"Replication",id:"replication",disabled:!N||U.enabled&&U.curSite||!(0,o._)(R,[l.OV.S3_GET_REPLICATION_CONFIGURATION,l.OV.S3_PUT_REPLICATION_CONFIGURATION,l.OV.S3_GET_ACTIONS,l.OV.S3_PUT_ACTIONS]),to:P("replication")}},{tabConfig:{label:"Lifecycle",id:"lifecycle",disabled:!N||!(0,o._)(R,[l.OV.S3_GET_LIFECYCLE_CONFIGURATION,l.OV.S3_PUT_LIFECYCLE_CONFIGURATION,l.OV.S3_GET_ACTIONS,l.OV.S3_PUT_ACTIONS]),to:P("lifecycle")}},{tabConfig:{label:"Access",id:"access",disabled:!(0,o._)(R,[l.OV.ADMIN_GET_POLICY,l.OV.ADMIN_LIST_USER_POLICIES,l.OV.ADMIN_LIST_USERS]),to:P("access")}},{tabConfig:{label:"Anonymous",id:"anonymous",disabled:!(0,o._)(R,[l.OV.S3_GET_BUCKET_POLICY,l.OV.S3_GET_ACTIONS]),to:P("prefix")}}],routes:(0,C.jsxs)(a.BV,{children:[(0,C.jsx)(a.qh,{path:"summary",element:(0,C.jsx)(E,{})}),(0,C.jsx)(a.qh,{path:"events",element:(0,C.jsx)(I,{})}),N&&(0,C.jsx)(a.qh,{path:"replication",element:(0,C.jsx)(f,{})}),N&&(0,C.jsx)(a.qh,{path:"lifecycle",element:(0,C.jsx)(m,{})}),(0,C.jsx)(a.qh,{path:"access",element:(0,C.jsx)(p,{})}),(0,C.jsx)(a.qh,{path:"prefix",element:(0,C.jsx)(S,{})}),(0,C.jsx)(a.qh,{path:"*",element:(0,C.jsx)(a.C5,{to:"/buckets/".concat(R,"/admin/summary")})})]})})})]})]})}},55604:(e,t,s)=>{s.d(t,{A:()=>i});var n=s(89379),a=s(9950),c=s(44414);const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(s){return(0,c.jsx)(a.Suspense,{fallback:t,children:(0,c.jsx)(e,(0,n.A)({},s))})}}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/116.d72fac0b.chunk.js b/web-app/build/static/js/116.d72fac0b.chunk.js deleted file mode 100644 index 71cb79ef56..0000000000 --- a/web-app/build/static/js/116.d72fac0b.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[116],{30116:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y});var n=a(9950),l=a(87946),r=a.n(l),s=a(89132),i=a(70444),o=a(48965),c=a(45246),d=a(59908),u=a(49078),h=a(99491),g=a(32680),p=a(66147),x=a(58093),m=a(44414);const y=e=>{let{open:t,closeModalAndRefresh:a,bucketName:l,setReplicationRules:y}=e;const v=(0,h.jL)(),[b,S]=(0,n.useState)(!1),[j,f]=(0,n.useState)("1"),[C,k]=(0,n.useState)(""),[A,R]=(0,n.useState)(""),[_,B]=(0,n.useState)(""),[D,w]=(0,n.useState)(""),[E,I]=(0,n.useState)(""),[M,L]=(0,n.useState)(""),[T,N]=(0,n.useState)(""),[O,K]=(0,n.useState)(!0),[U,P]=(0,n.useState)(!0),[F,q]=(0,n.useState)(!0),[z,G]=(0,n.useState)(!0),[V,H]=(0,n.useState)(""),[J,Y]=(0,n.useState)("async"),[W,$]=(0,n.useState)("100"),[X,Q]=(0,n.useState)("Gi"),[Z,ee]=(0,n.useState)("60");(0,n.useEffect)(()=>{if(0===y.length)return void f("1");const e=y.reduce((e,t)=>t.priority>e?t.priority:e,0);f((e+1).toString())},[y]);return(0,m.jsx)(g.A,{modalOpen:t,onClose:()=>{a()},title:"Set Bucket Replication",titleIcon:(0,m.jsx)(s.WBh,{}),children:(0,m.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),S(!0),(()=>{const e=[{originBucket:l,destinationBucket:M}],t=parseInt(Z),n="".concat(O?"https://":"http://").concat(_),s={accessKey:C,secretKey:A,targetURL:n,region:T,bucketsRelation:e,syncMode:J,bandwidth:"async"===J?parseInt((0,d.q5)(W,X,!0)):0,healthCheckPeriod:t,prefix:E,tags:V,replicateDeleteMarkers:U,replicateDeletes:F,priority:parseInt(j),storageClass:D,replicateMetadata:z};i.F.bucketsReplication.setMultiBucketReplication(s).then(e=>{S(!1);const t=r()(e.data,"replicationState",[]);if(t.length>0){const e=t[0];return S(!1),e.errorString&&""!==e.errorString?void v((0,u.Dy)({errorMessage:e.errorString,detailedError:""})):void a()}v((0,u.Dy)({errorMessage:"No changes applied",detailedError:""}))}).catch(e=>{S(!1),v((0,u.Dy)((0,o.S)(e.error)))})})()},children:(0,m.jsxs)(s.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,m.jsx)(s.cl_,{id:"priority",name:"priority",onChange:e=>{e.target.validity.valid&&f(e.target.value)},label:"Priority",value:j,pattern:"[0-9]*"}),(0,m.jsx)(s.cl_,{id:"targetURL",name:"targetURL",onChange:e=>{B(e.target.value)},placeholder:"play.min.io",label:"Target URL",value:_}),(0,m.jsx)(s.dOG,{checked:O,id:"useTLS",name:"useTLS",label:"Use TLS",onChange:e=>{K(e.target.checked)},value:"yes"}),(0,m.jsx)(s.cl_,{id:"accessKey",name:"accessKey",onChange:e=>{k(e.target.value)},label:"Access Key",value:C}),(0,m.jsx)(s.cl_,{id:"secretKey",name:"secretKey",onChange:e=>{R(e.target.value)},label:"Secret Key",value:A}),(0,m.jsx)(s.cl_,{id:"targetBucket",name:"targetBucket",onChange:e=>{L(e.target.value)},label:"Target Bucket",value:M}),(0,m.jsx)(s.cl_,{id:"region",name:"region",onChange:e=>{N(e.target.value)},label:"Region",value:T}),(0,m.jsx)(s.l6P,{id:"replication_mode",name:"replication_mode",onChange:e=>{Y(e)},label:"Replication Mode",value:J,options:[{label:"Asynchronous",value:"async"},{label:"Synchronous",value:"sync"}]}),"async"===J&&(0,m.jsx)(s.azJ,{className:"inputItem",children:(0,m.jsx)(s.cl_,{type:"number",id:"bandwidth_scalar",name:"bandwidth_scalar",onChange:e=>{e.target.validity.valid&&$(e.target.value)},label:"Bandwidth",value:W,min:"0",pattern:"[0-9]*",overlayObject:(0,m.jsx)(x.A,{id:"quota_unit",onUnitChange:e=>{Q(e)},unitSelected:X,unitsList:(0,d.l9)(["Ki"]),disabled:!1})})}),(0,m.jsx)(s.cl_,{id:"healthCheck",name:"healthCheck",onChange:e=>{ee(e.target.value)},label:"Health Check Duration",value:Z}),(0,m.jsx)(s.cl_,{id:"storageClass",name:"storageClass",onChange:e=>{w(e.target.value)},placeholder:"STANDARD_IA,REDUCED_REDUNDANCY etc",label:"Storage Class",value:D}),(0,m.jsxs)("fieldset",{className:"inputItem",children:[(0,m.jsx)("legend",{children:"Object Filters"}),(0,m.jsx)(s.cl_,{id:"prefix",name:"prefix",onChange:e=>{I(e.target.value)},placeholder:"prefix",label:"Prefix",value:E}),(0,m.jsx)(p.A,{name:"tags",label:"Tags",elements:"",onChange:e=>{H(e)},keyPlaceholder:"Tag Key",valuePlaceholder:"Tag Value",withBorder:!0})]}),(0,m.jsxs)("fieldset",{className:"inputItem",children:[(0,m.jsx)("legend",{children:"Replication Options"}),(0,m.jsx)(s.dOG,{checked:z,id:"metadatataSync",name:"metadatataSync",label:"Metadata Sync",onChange:e=>{G(e.target.checked)},description:"Metadata Sync"}),(0,m.jsx)(s.dOG,{checked:U,id:"deleteMarker",name:"deleteMarker",label:"Delete Marker",onChange:e=>{P(e.target.checked)},description:"Replicate soft deletes"}),(0,m.jsx)(s.dOG,{checked:F,id:"repDelete",name:"repDelete",label:"Deletes",onChange:e=>{q(e.target.checked)},description:"Replicate versioned deletes"})]}),(0,m.jsxs)(s.xA9,{item:!0,xs:12,sx:c.Uz.modalButtonBar,children:[(0,m.jsx)(s.$nd,{id:"cancel",type:"button",variant:"regular",disabled:b,onClick:()=>{a()},label:"Cancel"}),(0,m.jsx)(s.$nd,{id:"submit",type:"submit",variant:"callAction",color:"primary",disabled:b,label:"Save"})]})]})})})}},32680:(e,t,a)=>{a.d(t,{A:()=>d});var n=a(9950),l=a(98341),r=a(89132),s=a(99491),i=a(49078),o=a(96382),c=a(44414);const d=e=>{let{onClose:t,modalOpen:a,title:d,children:u,wideLimit:h=!0,titleIcon:g=null,iconColor:p="default",sx:x}=e;const m=(0,s.jL)(),[y,v]=(0,n.useState)(!1),b=(0,l.d4)(e=>e.system.modalSnackBar);(0,n.useEffect)(()=>{m((0,i.h0)(""))},[m]),(0,n.useEffect)(()=>{if(b){if(""===b.message)return void v(!1);"error"!==b.type&&v(!0)}},[b]);let S="";return b&&(S=b.detailedErrorMsg,(""===S||S&&S.length<5)&&(S=b.message)),(0,c.jsxs)(r.ngX,{onClose:t,open:a,title:d,titleIcon:g,widthLimit:h,sx:x,iconColor:p,children:[(0,c.jsx)(o.A,{isModal:!0}),(0,c.jsx)(r.qb_,{onClose:()=>{v(!1),m((0,i.h0)(""))},open:y,message:S,mode:"inline",variant:"error"===b.type?"error":"default",autoHideDuration:"error"===b.type?10:5,condensed:!0}),u]})}},58093:(e,t,a)=>{a.d(t,{A:()=>d});var n=a(9950),l=a(89132),r=a(19335),s=a(87946),i=a.n(s),o=a(44414);const c=r.Ay.button(e=>{let{theme:t}=e;return{border:"1px solid ".concat(i()(t,"borderColor","#E2E2E2")),borderRadius:3,color:i()(t,"secondaryText","#5B5C5C"),backgroundColor:i()(t,"boxBackground","#FBFAFA"),fontSize:12}}),d=e=>{let{id:t,unitSelected:a,unitsList:r,disabled:s=!1,onUnitChange:i}=e;const[d,u]=n.useState(null),h=Boolean(d),g=e=>{u(null),""!==e&&i&&i(e)};return(0,o.jsxs)(n.Fragment,{children:[(0,o.jsx)(c,{id:"".concat(t,"-button"),"aria-controls":"".concat(t,"-menu"),"aria-haspopup":"true","aria-expanded":h?"true":void 0,onClick:e=>{u(e.currentTarget)},disabled:s,type:"button",children:a}),(0,o.jsx)(l.Vey,{id:"upload-main-menu",options:r,selectedOption:"",onSelect:e=>g(e),hideTriggerAction:()=>{g("")},open:h,anchorEl:d,anchorOrigin:"end"})]})}},66147:(e,t,a)=>{a.d(t,{A:()=>d});var n=a(9950),l=a(87946),r=a.n(l),s=a(95491),i=a.n(s),o=a(89132),c=a(44414);const d=e=>{let{elements:t,name:a,label:l,tooltip:s="",keyPlaceholder:d="",valuePlaceholder:u="",onChange:h,withBorder:g=!1}=e;const[p,x]=(0,n.useState)([""]),[m,y]=(0,n.useState)([""]),v=(0,n.createRef)();(0,n.useEffect)(()=>{if(1===p.length&&""===p[0]&&1===m.length&&""===m[0]&&t&&""!==t){const e=t.split("&");let a=[],n=[];e.forEach(e=>{const t=e.split("=");2===t.length&&(a.push(t[0]),n.push(t[1]))}),a.push(""),n.push(""),x(a),y(n)}},[p,m,t]),(0,n.useEffect)(()=>{const e=v.current;e&&p.length>1&&e.scrollIntoView(!1)},[p]);const b=(0,n.useRef)(!0);(0,n.useLayoutEffect)(()=>{b.current?b.current=!1:f()},[p,m]);const S=e=>{e.persist();let t=[...p];const a=r()(e.target,"dataset.index","0");t[parseInt(a)]=e.target.value,x(t)},j=e=>{e.persist();let t=[...m];const a=r()(e.target,"dataset.index","0");t[parseInt(a)]=e.target.value,y(t)},f=i()(()=>{let e="";p.forEach((t,a)=>{if(p[a]&&m[a]){let n="".concat(t,"=").concat(m[a]);0!==a&&(n="&".concat(n)),e="".concat(e).concat(n)}}),h(e)},500),C=m.map((e,t)=>(0,c.jsxs)(o.xA9,{item:!0,xs:12,className:"lineInputBoxes inputItem",children:[(0,c.jsx)(o.cl_,{id:"".concat(a,"-key-").concat(t.toString()),label:"",name:"".concat(a,"-").concat(t.toString()),value:p[t],onChange:S,index:t,placeholder:d}),(0,c.jsx)("span",{className:"queryDiv",children:":"}),(0,c.jsx)(o.cl_,{id:"".concat(a,"-value-").concat(t.toString()),label:"",name:"".concat(a,"-").concat(t.toString()),value:m[t],onChange:j,index:t,placeholder:u,overlayIcon:t===m.length-1?(0,c.jsx)(o.REV,{}):null,overlayAction:()=>{(()=>{if(""!==p[p.length-1].trim()&&""!==m[m.length-1].trim()){const e=[...p],t=[...m];e.push(""),t.push(""),x(e),y(t)}})()}})]},"query-pair-".concat(a,"-").concat(t.toString())));return(0,c.jsx)(n.Fragment,{children:(0,c.jsxs)(o.xA9,{item:!0,xs:12,sx:{"& .lineInputBoxes":{display:"flex"},"& .queryDiv":{alignSelf:"center",margin:"-15px 4px 0",fontWeight:600}},className:"inputItem",children:[(0,c.jsxs)(o.l1Y,{children:[l,""!==s&&(0,c.jsx)(o.azJ,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,c.jsx)(o.m_M,{tooltip:s,placement:"top",children:(0,c.jsx)(o.NTw,{style:{width:13,height:13}})})})]}),(0,c.jsxs)(o.azJ,{withBorders:g,sx:{padding:15,height:150,overflowY:"auto",position:"relative",marginTop:15},children:[C,(0,c.jsx)("div",{ref:v})]})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/1366.9849e99a.chunk.js b/web-app/build/static/js/1366.9849e99a.chunk.js deleted file mode 100644 index a339c24068..0000000000 --- a/web-app/build/static/js/1366.9849e99a.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[1366],{31366:(e,l,t)=>{t.r(l),t.d(l,{default:()=>u});var a=t(9950),o=t(89132),n=t(31690),c=t(99491),i=t(49078),s=t(82817),r=t(98167),d=t(44414),p=null;const u=()=>{const[e,l]=(0,a.useState)(!1),[t,u]=(0,a.useState)(["cpu","mem","block","mutex","goroutines"]),b=e=>{let l=[];l=t.indexOf(e.target.value)>-1?t.filter(l=>l!==e.target.value):[...t,e.target.value],u(l)},m=(0,c.jL)();return(0,a.useEffect)(()=>{m((0,i.ph)("profile"))},[]),(0,d.jsxs)(a.Fragment,{children:[(0,d.jsx)(s.A,{label:"Profile",actions:(0,d.jsx)(r.A,{})}),(0,d.jsx)(o.Mxu,{children:(0,d.jsxs)(o.Hbc,{children:[(0,d.jsxs)(o.azJ,{sx:{display:"flex",gap:10,"& div":{width:"initial"},"& .inputItem:not(:last-of-type)":{marginBottom:0}},children:[(0,d.jsx)(o.l1Y,{noMinWidth:!0,children:"Types to profile:"}),[{label:"cpu",value:"cpu"},{label:"mem",value:"mem"},{label:"block",value:"block"},{label:"mutex",value:"mutex"},{label:"goroutines",value:"goroutines"}].map(l=>(0,d.jsx)(o.Sc0,{checked:t.indexOf(l.value)>-1,disabled:e,id:"checkbox-".concat(l.label),label:l.label,name:"checkbox-".concat(l.label),onChange:b,value:l.value},"checkbox-".concat(l.label)))]}),(0,d.jsxs)(o.azJ,{sx:{display:"flex",justifyContent:"flex-end",marginTop:24,gap:10},children:[(0,d.jsx)(o.$nd,{id:"start-profiling",type:"submit",variant:"callAction",disabled:e||t.length<1,onClick:()=>{(()=>{const e=t.join(","),a=new URL(window.location.toString()),o=a.port,c=new URL(document.baseURI).pathname,i=(0,n.nw)(a.protocol);if(null!==(p=new WebSocket("".concat(i,"://").concat(a.hostname,":").concat(o).concat(c,"ws/profile?types=").concat(e))))p.onopen=()=>{l(!0),p.send("ok")},p.onmessage=e=>{let t=new Blob([e.data],{type:"application/zip"});l(!1);var a=document.createElement("a");a.href=window.URL.createObjectURL(t),a.download="profile.zip",document.body.appendChild(a),a.click(),document.body.removeChild(a)},p.onclose=()=>{console.log("connection closed by server"),l(!1)}})()},label:"Start Profiling"}),(0,d.jsx)(o.$nd,{id:"stop-profiling",type:"submit",variant:"callAction",color:"primary",disabled:!e,onClick:()=>{p.close(1e3),l(!1)},label:"Stop Profiling"})]})]})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/1634.60fdc0b6.chunk.js b/web-app/build/static/js/1634.60fdc0b6.chunk.js deleted file mode 100644 index a364dca0da..0000000000 --- a/web-app/build/static/js/1634.60fdc0b6.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[1634,4945],{3796:(e,t,n)=>{n.d(t,{_:()=>r});var s=n(59908),o=n(26347),a=n(45176),i=n(45536),l=n(49078);const r=(e,t,n,r)=>{var c;const d=encodeURIComponent("".concat(t,"-").concat(r.name,"-").concat((new Date).getTime(),"-").concat(Math.random())),u=(0,s.oK)().toLowerCase().includes("win");if(((null===(c=r.name)||void 0===c?void 0:c.length)||0)>200&&u)return void e((0,i.Jl)(!0));const h=(0,o.E0)(8),m=(0,a.RG)(t,n,r.version_id,r.size||0,null,h,t=>{e((0,i.DW)({instanceID:d,progress:t}))},()=>{e((0,i.rx)(d))},t=>{e((0,i.iL)({instanceID:d,msg:t}))},()=>{e((0,i.Dm)(d))},()=>{e((0,l.Hk)("File download will be handled directly by the browser."))});(0,o.FP)(h,m),e((0,i.cP)({ID:h,bucketName:t,done:!1,instanceID:d,percentage:0,prefix:r.name||"",type:"download",waitingForFile:!0,failed:!1,cancelled:!1,errorMessage:""}))}},18949:(e,t,n)=>{n.d(t,{Ex:()=>p,HS:()=>h,mS:()=>m,op:()=>u,oz:()=>x});var s=n(11359),o=n(59908),a=n(26347),i=n(45176),l=n(45536),r=n(49078),c=n(51536),d=n(70444);const u=(0,s.zD)("objectBrowser/downloadSelected",async(e,t)=>{let{getState:n,rejectWithValue:s,dispatch:d}=t;const u=n(),h=t=>{const n=encodeURIComponent("".concat(e,"-").concat(t.name,"-").concat((new Date).getTime(),"-").concat(Math.random())),s=(0,a.E0)(8),o=(0,i.RG)(e,t.name,t.version_id,t.size,null,s,e=>{d((0,l.DW)({instanceID:n,progress:e}))},()=>{d((0,l.rx)(n))},e=>{d((0,l.iL)({instanceID:n,msg:e}))},()=>{d((0,l.Dm)(n))},()=>{d((0,r.Hk)("File download will be handled directly by the browser."))});(0,a.FP)(s,o),d((0,l.cP)({ID:s,bucketName:e,done:!1,instanceID:n,percentage:0,prefix:t.name,type:"download",waitingForFile:!0,failed:!1,cancelled:!1,errorMessage:""}))};if(0!==u.objectBrowser.selectedObjects.length){let t=[];const n=e=>u.objectBrowser.selectedObjects.includes(e.name);if(t=u.objectBrowser.records.filter(n),1===t.length){if(t[0].name.length>200&&(0,o.oK)().toLowerCase().includes("win"))return void d((0,l.Ew)(t[0]));h(t[0])}else if(1===t.length)h(t[0]);else if(t.length>1){const n="".concat(c.c9.now().toFormat("LL-dd-yyyy-HH-mm-ss"),"_files_list.zip"),s=t.reduce((e,t)=>{const n=null===t||void 0===t?void 0:t.delete_flag;return t&&!n?e.push(t.name):console.log("Skipping ".concat(null===t||void 0===t?void 0:t.name," from download.")),e},[]);return void await(0,i.Fj)(e,s,n)}}}),h=(0,s.zD)("objectBrowser/openPreview",async(e,t)=>{let{getState:n,rejectWithValue:s,dispatch:o}=t;const a=n();if(1===a.objectBrowser.selectedObjects.length){let e;const t=e=>a.objectBrowser.selectedObjects.includes(e.name);e=a.objectBrowser.records.find(t),e&&(o((0,l.go)(e)),o((0,l.xE)(!0)))}}),m=(0,s.zD)("objectBrowser/openShare",async(e,t)=>{let{getState:n,rejectWithValue:s,dispatch:o}=t;const a=n();if(1===a.objectBrowser.selectedObjects.length){let e;const t=e=>a.objectBrowser.selectedObjects.includes(e.name);e=a.objectBrowser.records.find(t),e&&(o((0,l.go)(e)),o((0,l.Lf)(!0)))}}),x=(0,s.zD)("objectBrowser/openAnonymousAccess",async(e,t)=>{let{getState:n,dispatch:s}=t;const o=n();1===o.objectBrowser.selectedObjects.length&&o.objectBrowser.selectedObjects[0].endsWith("/")&&s((0,l.I8)(!0))}),p=(0,s.zD)("objectBrowser/maxShareLinkExpTime",async(e,t)=>{let{rejectWithValue:n,dispatch:s}=t;return d.F.buckets.getMaxShareLinkExp().then(e=>{s((0,l.QV)(e.data.exp))}).catch(async e=>n(e.error))})},21572:(e,t,n)=>{n.r(t),n.d(t,{default:()=>_});var s=n(9950),o=n(98341),a=n(89132),i=n(95189),l=n.n(i),r=n(32680),c=n(51536),d=n(44414);const u=e=>{let{id:t,label:n,maxSeconds:o,entity:i,onChange:l}=e;const r=Math.floor(o/86400),u=Math.floor(o%86400/3600),h=Math.floor(o%3600/60),[m,x]=(0,s.useState)(0),[p,j]=(0,s.useState)(0),[b,g]=(0,s.useState)(0),[f,v]=(0,s.useState)(!0),[_,S]=(0,s.useState)(null);(0,s.useEffect)(()=>{x(r),j(u),g(h)},[r,u,h]),(0,s.useEffect)(()=>{var e,t,n;isNaN(p)||isNaN(m)||isNaN(b)||S((e=m,t=p,n=b,c.c9.now().plus({hours:t+24*e,minutes:n}).toISO()))},[m,p,b]),(0,s.useEffect)(()=>{if(f&&_){const e=c.c9.fromISO(_).toFormat("yyyy-MM-dd HH:mm:ss");l(e.split(" ").join("T"),!0)}else l("0000-00-00",!1)},[_,l,f]),(0,s.useEffect)(()=>{let e=!0;(m<0||m>7||m>r||isNaN(m))&&(e=!1),(p<0||p>23||isNaN(p))&&(e=!1),(b<0||b>59||isNaN(b))&&(e=!1),m===r&&(p>u&&(e=!1),p===u&&b>h&&(e=!1)),m<=0&&p<=0&&b<=0&&(e=!1),v(e)},[_,r,u,h,l,m,p,b]);const O={"& .textBoxContainer":{minWidth:0},"& input":{textAlign:"center",paddingRight:10,paddingLeft:10,width:40}};return(0,d.jsxs)(a.azJ,{className:"inputItem",children:[(0,d.jsx)(a.azJ,{sx:{display:"flex",alignItems:"center",marginBottom:5},children:(0,d.jsx)(a.l1Y,{htmlFor:t,children:n})}),(0,d.jsxs)(a.azJ,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly",gap:10,"& .reverseInput":{flexFlow:"row-reverse","& > label":{fontWeight:400,marginLeft:15,marginRight:25}}},children:[(0,d.jsx)(a.azJ,{children:(0,d.jsx)(a.cl_,{id:t,className:"reverseInput removeArrows",type:"number",min:"0",max:"7",label:"Days",name:t,onChange:e=>{x(parseInt(e.target.value))},value:m.toString(),sx:O,noLabelMinWidth:!0})}),(0,d.jsx)(a.azJ,{children:(0,d.jsx)(a.cl_,{id:t,className:"reverseInput removeArrows",type:"number",min:"0",max:"23",label:"Hours",name:t,onChange:e=>{j(parseInt(e.target.value))},value:p.toString(),sx:O,noLabelMinWidth:!0})}),(0,d.jsx)(a.azJ,{children:(0,d.jsx)(a.cl_,{id:t,className:"reverseInput removeArrows",type:"number",min:"0",max:"59",label:"Minutes",name:t,onChange:e=>{g(parseInt(e.target.value))},value:b.toString(),sx:O,noLabelMinWidth:!0})})]}),(0,d.jsx)(a.azJ,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-start",marginTop:25,marginLeft:10,marginBottom:15,"& .validityText":{fontSize:14,marginTop:15,display:"flex",alignItems:"center",justifyContent:"center","@media (max-width: 900px)":{flexFlow:"column"},"& > .min-icon":{color:"#5E5E5E",width:15,height:15,marginRight:10}},"& .validTill":{fontWeight:"bold",marginLeft:15},"& .invalidDurationText":{marginTop:15,display:"flex",color:"red",fontSize:11}},children:f&&_?(0,d.jsxs)("div",{className:"validityText",children:[(0,d.jsx)(a.qYV,{}),(0,d.jsxs)("div",{children:[i," will be available until:"]})," ",(0,d.jsx)("div",{className:"validTill",children:c.c9.fromISO(_).toFormat("MM/dd/yyyy HH:mm:ss ZZZZ")})]}):(0,d.jsx)("div",{className:"invalidDurationText",children:"Please select a valid duration."})})]})};var h=n(59908),m=n(49078),x=n(99491),p=n(70444),j=n(48965),b=n(18949),g=n(45536),f=n(95491),v=n.n(f);const _=e=>{let{open:t,closeModalAndRefresh:n,bucketName:i,dataObject:c}=e;const f=(0,x.jL)(),_=(0,o.d4)(m.Rq),S=(0,o.d4)(g.yL),[O,T]=(0,s.useState)(""),[w,C]=(0,s.useState)(!0),[y,E]=(0,s.useState)(!1),[I,A]=(0,s.useState)(""),[N,k]=(0,s.useState)(!0),[B,F]=(0,s.useState)("null"),L=v()((e,t)=>{k(t),t?A(e):(A(""),T(""))},300);return(0,s.useEffect)(()=>{f((0,b.Ex)())},[f]),(0,s.useEffect)(()=>{if(void 0===c.version_id)return _?(p.F.buckets.listObjects(i,{prefix:c.name||"",with_versions:_}).then(e=>{const t=(e.data.objects||[]).find(e=>e.is_latest);F(t?"".concat(t.version_id):"null")}).catch(e=>{f((0,m.Dy)((0,j.S)(e.error)))}),void C(!1)):(F("null"),void C(!1));F(c.version_id||"null"),C(!1)},[i,c,_,f]),(0,s.useEffect)(()=>{if(N&&!w){E(!0),T("");const e=new Date("".concat(I)),t=new Date,n=Math.ceil((e.getTime()-t.getTime())/1e3);n>0&&p.F.buckets.shareObject(i,{prefix:c.name||"",version_id:B,expires:""!==I?"".concat(n,"s"):""}).then(e=>{T(e.data),E(!1)}).catch(e=>{f((0,m.Dy)((0,j.S)(e.error))),T(""),E(!1)})}},[c,I,i,N,T,f,_,w,B]),(0,d.jsx)(s.Fragment,{children:(0,d.jsxs)(r.A,{title:"Share File",titleIcon:(0,d.jsx)(a.liv,{style:{fill:"#4CCB92"}}),modalOpen:t,onClose:()=>{n()},children:[w&&(0,d.jsx)(a.xA9,{item:!0,xs:12,children:(0,d.jsx)(a.z21,{})}),!w&&(0,d.jsxs)(s.Fragment,{children:[(0,d.jsx)(a.xA9,{item:!0,xs:12,sx:{fontSize:14,fontWeight:400},children:(0,d.jsx)(a.m_M,{placement:"right",tooltip:(0,d.jsxs)("span",{children:["You can reset your session by logging out and logging back in to the web UI. ",(0,d.jsx)("br",{})," ",(0,d.jsx)("br",{}),"You can increase the maximum configuration time by setting the MINIO_STS_DURATION environment variable on all your nodes. ",(0,d.jsx)("br",{})," ",(0,d.jsx)("br",{}),"You can use ",(0,d.jsx)("b",{children:"mc share"})," as an alternative to this UI, where the session length does not limit the URL validity."]}),children:(0,d.jsxs)("span",{children:["The following URL lets you share this object without requiring a login. ",(0,d.jsx)("br",{}),"The URL expires automatically at the earlier of your configured time (",(0,h.K7)(S),") or the expiration of your current web session."]})})}),(0,d.jsx)("br",{}),(0,d.jsx)(a.xA9,{item:!0,xs:12,children:(0,d.jsx)(u,{id:"date",label:"Active for",maxSeconds:S,onChange:L,entity:"Link"})}),(0,d.jsx)(a.xA9,{item:!0,xs:12,sx:{marginBottom:10},children:(0,d.jsx)(a.EmB,{actionButton:(0,d.jsx)(l(),{text:O,children:(0,d.jsx)(a.$nd,{id:"copy-path",variant:"regular",onClick:()=>{f((0,m.h0)("Share URL Copied to clipboard"))},disabled:""===O||y,style:{width:"28px",height:"28px",padding:"0px"},icon:(0,d.jsx)(a.TdU,{})})}),children:O})})]})]})})}},32680:(e,t,n)=>{n.d(t,{A:()=>d});var s=n(9950),o=n(98341),a=n(89132),i=n(99491),l=n(49078),r=n(96382),c=n(44414);const d=e=>{let{onClose:t,modalOpen:n,title:d,children:u,wideLimit:h=!0,titleIcon:m=null,iconColor:x="default",sx:p}=e;const j=(0,i.jL)(),[b,g]=(0,s.useState)(!1),f=(0,o.d4)(e=>e.system.modalSnackBar);(0,s.useEffect)(()=>{j((0,l.h0)(""))},[j]),(0,s.useEffect)(()=>{if(f){if(""===f.message)return void g(!1);"error"!==f.type&&g(!0)}},[f]);let v="";return f&&(v=f.detailedErrorMsg,(""===v||v&&v.length<5)&&(v=f.message)),(0,c.jsxs)(a.ngX,{onClose:t,open:n,title:d,titleIcon:m,widthLimit:h,sx:p,iconColor:x,children:[(0,c.jsx)(r.A,{isModal:!0}),(0,c.jsx)(a.qb_,{onClose:()=>{g(!1),j((0,l.h0)(""))},open:b,message:v,mode:"inline",variant:"error"===f.type?"error":"default",autoHideDuration:"error"===f.type?10:5,condensed:!0}),u]})}},39971:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var s=n(9950),o=n(32680),a=n(89132),i=n(87946),l=n.n(i),r=n(45176),c=n(70444),d=n(32878),u=n(54823),h=n(49910),m=n(44414);d.EA.workerSrc="./scripts/pdf.worker.min.mjs";const x=e=>{let{path:t,loading:n,onLoad:o,downloadFile:i}=e;const[l,r]=(0,s.useState)(!1),[c,d]=(0,s.useState)(0);if(!t)return null;const x=c>5?5:c,p=Array.from(Array(x).keys());return(0,m.jsxs)(s.Fragment,{children:[l&&0===c&&(0,m.jsx)(a.Wei,{variant:"error",title:"Error",message:(0,m.jsxs)(s.Fragment,{children:["File preview couldn't be displayed, Please try Download instead.",(0,m.jsx)(a.azJ,{sx:{display:"flex",justifyContent:"center",marginTop:12},children:(0,m.jsx)(a.$nd,{id:"download-preview",onClick:i,variant:"callAction",children:"Download File"})})]}),sx:{marginBottom:10}}),!n&&!l&&(0,m.jsx)(a.Wei,{variant:"warning",title:"File Preview",message:(0,m.jsxs)(s.Fragment,{children:["This is a File Preview for the first ",p.length," pages of the document, if you wish to work with the full document please download instead.",(0,m.jsx)(a.azJ,{sx:{display:"flex",justifyContent:"center",marginTop:12},children:(0,m.jsx)(a.$nd,{id:"download-preview",onClick:i,variant:"callAction",children:"Download File"})})]}),sx:{marginBottom:10}}),!l&&(0,m.jsx)(a.azJ,{sx:{overflowY:"auto","& .react-pdf__Page__canvas":{margin:"0 auto",backgroundColor:"transparent"}},children:(0,m.jsx)(u.A,{file:t,onLoadSuccess:e=>{let{_pdfInfo:t}=e;d(t.numPages||0),r(!1),o()},onLoadError:e=>{r(!0),o(),console.error(e)},children:p.map(e=>(0,m.jsx)(h.A,{pageNumber:e+1,renderAnnotationLayer:!1,renderTextLayer:!1,renderForms:!1},"render-page-".concat(e)))})})]})};var p=n(3796),j=n(99491);const b=e=>{let{bucketName:t,actualInfo:n,isFullscreen:o=!1}=e;const i=(0,j.jL)(),[d,u]=(0,s.useState)(!0),[h,b]=(0,s.useState)(null),[g,f]=(0,s.useState)(!1),v=(null===n||void 0===n?void 0:n.name)||"",_=(0,s.useCallback)(()=>{g||c.F.buckets.getObjectMetadata(t,{prefix:v,versionID:n.version_id||""}).then(e=>{let t=l()(e.data,"objectMetadata",{});f(!0),b(t)}).catch(e=>{console.error("Error Getting Metadata Status: ",e,null===e||void 0===e?void 0:e.detailedError),f(!0)})},[t,v,g,n.version_id]);(0,s.useEffect)(()=>{t&&v&&_()},[t,v,_]);let S="";if(n){let e=document.baseURI.replace(window.location.origin,"");S="".concat(window.location.origin).concat(e,"api/v1/buckets/").concat(encodeURIComponent(t),"/objects/download?preview=true&prefix=").concat(encodeURIComponent(n.name||"")),n.version_id&&(S=S.concat("&version_id=".concat(n.version_id)))}let O=(0,r.IZ)(h,v);const T=()=>{u(!1)};return(0,m.jsxs)(s.Fragment,{children:["none"!==O&&d&&(0,m.jsx)(a.xA9,{item:!0,xs:12,children:(0,m.jsx)(a.z21,{})}),g?(0,m.jsxs)(a.azJ,{sx:{textAlign:"center","& .iframeContainer":{border:"0px",flex:"1 1 auto",width:"100%",height:250,backgroundColor:"transparent",borderRadius:5,"&.image":{height:500},"&.audio":{height:150},"&.video":{height:350},"&.fullHeight":{height:"calc(100vh - 185px)"}},"& .iframeBase":{backgroundColor:"#fff"},"& .iframeHidden":{display:"none"}},children:["video"===O&&(0,m.jsx)("video",{style:{width:"auto",height:"auto",maxWidth:"calc(100vw - 100px)",maxHeight:"calc(100vh - 200px)"},autoPlay:!0,controls:!0,muted:!1,playsInline:!0,onPlay:T,children:(0,m.jsx)("source",{src:S,type:"video/mp4"})}),"audio"===O&&(0,m.jsx)("audio",{style:{width:"100%",height:"auto"},autoPlay:!0,controls:!0,muted:!1,playsInline:!0,onPlay:T,children:(0,m.jsx)("source",{src:S,type:"audio/mpeg"})}),"image"===O&&(0,m.jsx)("img",{style:{width:"auto",height:"auto",maxWidth:"100vw",maxHeight:"100vh"},src:S,alt:"preview",onLoad:T}),"pdf"===O&&(0,m.jsx)(s.Fragment,{children:(0,m.jsx)(x,{path:S,onLoad:T,loading:d,downloadFile:()=>(0,p._)(i,t,S,n)})}),"none"===O&&(0,m.jsx)("div",{children:(0,m.jsx)(a.Wei,{message:" File couldn't be previewed using file extension or mime type. Please try Download instead",title:"Preview unavailable",sx:{margin:"15px 0"}})}),"none"!==O&&"video"!==O&&"audio"!==O&&"image"!==O&&"pdf"!==O&&(0,m.jsx)("div",{className:"iframeBase ".concat(d?"iframeHidden":""),children:(0,m.jsx)("iframe",{src:S,title:"File Preview",allowTransparency:!0,className:"iframeContainer ".concat(o?"fullHeight":O),onLoad:T,children:"File couldn't be loaded. Please try Download instead"})})]}):null]})},g=e=>{let{open:t,bucketName:n,actualInfo:i,onClosePreview:l}=e;return(0,m.jsx)(s.Fragment,{children:(0,m.jsx)(o.A,{modalOpen:t,title:"Preview - ".concat(null===i||void 0===i?void 0:i.name),onClose:l,wideLimit:!1,titleIcon:(0,m.jsx)(a.jG,{}),children:(0,m.jsx)(b,{bucketName:n,actualInfo:i})})})}},48374:(e,t,n)=>{n.d(t,{A:()=>i});var s=n(9950),o=n(89132),a=n(44414);const i=e=>{let{value:t}=e;const[n,i]=(0,s.useState)(!1);return(0,a.jsxs)(o.azJ,{sx:{display:"flex",alignItems:"center",flexFlow:"row",["@media (max-width: ".concat(o.nmC.sm,"px)")]:{flexFlow:"column"}},children:[(0,a.jsx)(o.cl_,{id:"inspect-dec-key",name:"inspect-dec-key",placeholder:"",label:"",type:n?"text":"password",onChange:()=>{},value:t,overlayIcon:(0,a.jsx)(o.TdU,{}),readOnly:!0,overlayAction:()=>navigator.clipboard.writeText(t)}),(0,a.jsx)(o.$nd,{id:"show-hide-key",style:{marginLeft:"10px"},variant:"callAction",onClick:()=>i(!n),label:"Show/Hide"})]})}},54945:(e,t,n)=>{n.r(t),n.d(t,{default:()=>h});var s=n(9950),o=n(32680),a=n(89132),i=n(70444),l=n(48965),r=n(45246),c=n(49078),d=n(99491),u=n(44414);const h=e=>{let{modalOpen:t,onClose:n,bucket:h,prefilledRoute:m}=e;const x=(0,d.jL)(),[p,j]=(0,s.useState)(""),[b,g]=(0,s.useState)("readonly");(0,s.useEffect)(()=>{m&&j(m)},[m]);return(0,u.jsx)(o.A,{modalOpen:t,title:"Add Anonymous Access Rule",onClose:n,titleIcon:(0,u.jsx)(a.No_,{}),children:(0,u.jsxs)(a.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,u.jsx)(a.cl_,{value:p,label:"Prefix",id:"prefix",name:"prefix",placeholder:"Enter Prefix",onChange:e=>{j(e.target.value)},tooltip:"Enter '/' to apply the rule to all prefixes and objects at the bucket root. Do not include the wildcard asterisk '*' as part of the prefix *unless* it is an explicit part of the prefix name. The Console automatically appends an asterisk to the appropriate sections of the resulting IAM policy."}),(0,u.jsx)(a.l6P,{id:"access",name:"Access",onChange:e=>{g(e)},label:"Access",value:b,options:[{label:"readonly",value:"readonly"},{label:"writeonly",value:"writeonly"},{label:"readwrite",value:"readwrite"}],disabled:!1,helpTip:(0,u.jsx)(s.Fragment,{children:"Select the desired level of access available to unauthenticated Users"}),helpTipPlacement:"right"}),(0,u.jsxs)(a.xA9,{item:!0,xs:12,sx:r.Uz.modalButtonBar,children:[(0,u.jsx)(a.$nd,{id:"clear",type:"button",variant:"regular",onClick:()=>{j(""),g("readonly")},label:"Clear"}),(0,u.jsx)(a.$nd,{id:"add-access-save",type:"submit",variant:"callAction",disabled:""===p.trim(),onClick:()=>{i.F.bucket.setAccessRuleWithBucket(h,{prefix:p,access:b}).then(e=>{x((0,c.Hk)("Access Rule added successfully")),n()}).catch(e=>{x((0,c.C9)((0,l.S)(e.error))),n()})},label:"Save"})]})]})})}},55604:(e,t,n)=>{n.d(t,{A:()=>i});var s=n(89379),o=n(9950),a=n(44414);const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n){return(0,a.jsx)(o.Suspense,{fallback:t,children:(0,a.jsx)(e,(0,s.A)({},n))})}}},71634:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Je});var s=n(9950),o=n(98341),a=n(28429),i=n(70444),l=n(99491),r=n(93598),c=n(45536),d=n(89379),u=n(87946),h=n.n(u),m=n(89132),x=n(48965),p=n(55044),j=n(51536),b=n(59908),g=n(95189),f=n.n(g),v=n(19335),_=n(42074),S=n(26843),O=n(55604),T=n(49078);const w=e=>(e.match(/\.([^.]*?)(?=\?|#|$)/)||[])[1],C=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const s=Object.keys(e).reduce((n,s)=>(w(s)&&s.includes(t)&&(n[s]=e[s]),n),{});return Object.keys(s).filter(e=>{const o=s[e].some(e=>n.find(t=>{let n=!1;if(-1!==t.indexOf("*")){const s=t.substring(0,t.length-1);n=e.includes(s)}return n||e===t})),a=e.substring(0,e.indexOf("/*."))==="arn:aws:s3:::".concat(t);return o&&(a&&"arn:aws:s3:::*"!==e)})};var y=n(44414);const E=(0,O.A)(s.lazy(()=>n.e(2797).then(n.bind(n,42797)))),I=v.Ay.div(()=>({display:"flex","& .additionalOptions":{paddingRight:"10px",display:"flex",alignItems:"center",["@media (max-width: ".concat(m.nmC.lg,"px)")]:{display:"none"}},"& .slashSpacingStyle":{margin:"0 5px"}})),A=e=>{let{bucketName:t,internalPaths:n,hidePathButton:i,additionalOptions:d}=e;const u=(0,l.jL)(),h=(0,a.Zp)(),x=(0,o.d4)(e=>e.objectBrowser.rewind.rewindEnabled),p=(0,o.d4)(e=>e.objectBrowser.versionsMode),j=(0,o.d4)(e=>e.objectBrowser.versionedFile),g=(0,o.d4)(e=>e.system.anonymousMode),[v,O]=(0,s.useState)(!1),[w,A]=(0,s.useState)(!1),N=[r.OV.S3_PUT_OBJECT,r.OV.S3_PUT_ACTIONS],k=(0,o.d4)(e=>e.console.session&&e.console.session.permissions||{});let B=n;""!==n&&(B="/".concat(n));const F=B.split("/").filter(e=>""!==e),L=F.length-1,V=t+B||t,D=C(k,V,N);(0,s.useEffect)(()=>{A(!1),Object.keys(k).forEach(e=>{e.includes(V)&&e.includes("/*")&&A(!0)})},[V,n,k]);const R=(0,S._)([V,...D],N)||g||w;let P=F.map((e,n)=>{const o="".concat(F.slice(0,n+1).join("/"),"/"),a="/browser/".concat(encodeURIComponent(t),"/").concat(o?"".concat(encodeURIComponent(o)):"");return n===L&&e===j?null:(0,y.jsxs)(s.Fragment,{children:[(0,y.jsx)("span",{className:"slashSpacingStyle",children:"/"}),n===L?(0,y.jsx)("span",{style:{cursor:"default",whiteSpace:"pre"},children:(0,b.Tw)(e)}):(0,y.jsx)(_.N_,{style:{whiteSpace:"pre"},to:a,onClick:()=>{u((0,c.cQ)({status:!1,objectName:""}))},children:(0,b.Tw)(e)})]},"breadcrumbs-".concat(n.toString()))}),U=[];p&&(U=[(0,y.jsx)(s.Fragment,{children:(0,y.jsxs)("span",{children:[(0,y.jsx)("span",{className:"slashSpacingStyle",children:"/"}),j," - Versions"]})},"breadcrumbs-versionedItem")]);const z=[(0,y.jsx)(s.Fragment,{children:(0,y.jsx)(_.N_,{to:"/browser/".concat(t),onClick:()=>{u((0,c.cQ)({status:!1,objectName:""}))},children:t})},"breadcrumbs-root-path"),...P,...U];return(0,y.jsxs)(s.Fragment,{children:[(0,y.jsxs)(I,{children:[v&&(0,y.jsx)(E,{modalOpen:v,bucketName:t,folderName:n,onClose:()=>{O(!1)},limitedSubPath:w&&!((0,S._)([V,...D],N)||g)}),(0,y.jsx)(m.BIu,{sx:{whiteSpace:"pre"},goBackFunction:()=>{if(p)u((0,c.cQ)({status:!1,objectName:""}));else{if(0===F.length)return void h("/browser");const e=F.slice(0,-1);h("/browser/".concat(t).concat(e.length>0?"/".concat(encodeURIComponent("".concat(e.join("/"),"/"))):""))}},additionalOptions:(0,y.jsxs)(s.Fragment,{children:[(0,y.jsx)(f(),{text:"".concat(t,"/").concat(F.join("/")),children:(0,y.jsx)(m.$nd,{id:"copy-path",icon:(0,y.jsx)(m.TdU,{style:{width:"12px",height:"12px",fill:"#969FA8",marginTop:-1}}),variant:"regular",onClick:()=>{u((0,T.Hk)("Path copied to clipboard"))},style:{width:"28px",height:"28px",color:"#969FA8",border:"#969FA8 1px solid",marginRight:5}})}),(0,y.jsx)(m.azJ,{className:"additionalOptions",children:d})]}),children:z}),!i&&(0,y.jsx)(m.m_M,{tooltip:R?"Choose or create a new path":(0,r.vj)([r.OV.S3_PUT_OBJECT,r.OV.S3_PUT_ACTIONS],"create a new path"),children:(0,y.jsx)(m.$nd,{id:"new-path",onClick:()=>{O(!0)},disabled:!g&&(x||!R),icon:(0,y.jsx)(m.pj3,{style:{fill:"#969FA8"}}),style:{whiteSpace:"nowrap"},variant:"regular",label:"Create new path"})})]}),(0,y.jsx)(m.azJ,{sx:{display:"none",marginTop:15,marginBottom:5,justifyContent:"flex-start","& > div":{fontSize:12,fontWeight:"normal",flexDirection:"row",flexWrap:"nowrap"},["@media (max-width: ".concat(m.nmC.lg,"px)")]:{display:"flex"}},children:d})]})};var N=n(45176);const k=e=>"Enabled"===e||"Suspended"===e;var B=n(26347),F=n(47304),L=n(18949),V=n(30272);const D=e=>{let{uploadPath:t,bucketName:n,forceDisable:a=!1,uploadFileFunction:i,uploadFolderFunction:l,overrideStyles:c={}}=e;const[d,u]=(0,s.useState)(null),[h,x]=(0,s.useState)(!1),p=(0,o.d4)(e=>e.system.anonymousMode),j=(0,o.d4)(e=>e.console.session&&e.console.session.permissions||{}),b=[r.OV.S3_PUT_OBJECT,r.OV.S3_PUT_ACTIONS],g=C(j,t,b),f=Boolean(d),v=()=>{u(null)},_=(0,S._)([t,...g],b)||p,O=(0,S._)([n,...g],b,!1,!0),T=_||O;return(0,y.jsxs)(s.Fragment,{children:[(0,y.jsx)(V.A,{tooltip:T?"Upload Files":(0,r.vj)([r.OV.S3_PUT_OBJECT,r.OV.S3_PUT_ACTIONS],"upload files to this bucket"),children:(0,y.jsx)(m.$nd,{id:"upload-main","aria-controls":"upload-main-menu","aria-haspopup":"true","aria-expanded":f?"true":void 0,onClick:e=>{x(!h),u(e.currentTarget)},label:"Upload",icon:(0,y.jsx)(m.JMY,{}),variant:"callAction",disabled:a||!T,sx:c})}),(0,y.jsx)(m.Vey,{id:"upload-main-menu",options:[{label:"Upload File",icon:(0,y.jsx)(m.JMY,{}),value:"file",disabled:!_||a},{label:"Upload Folder",icon:(0,y.jsx)(m.nDF,{}),value:"folder",disabled:!O||a}],selectedOption:"",onSelect:e=>{"folder"!==e?i(v):l(v)},hideTriggerAction:()=>{x(!1)},open:h,anchorEl:d,anchorOrigin:"end",useAnchorWidth:!0})]})},R=e=>{let{open:t,closePanel:n,className:s="",children:o}=e;return(0,y.jsxs)(m.azJ,{id:"details-panel",sx:{borderColor:"#EAEDEE",borderWidth:0,borderStyle:"solid",borderRadius:3,borderBottomLeftRadius:0,borderBottomRightRadius:0,width:0,transitionDuration:"0.3s",overflowX:"hidden",overflowY:"auto",position:"relative",opacity:0,marginLeft:-1,"&.open":{width:300,minWidth:300,borderLeftWidth:1,opacity:1},"@media (max-width: 799px)":{"&.open":{width:"100%",minWidth:"100%",borderLeftWidth:0}}},className:"".concat(t?"open":""," ").concat(s),children:[(0,y.jsx)(m.$nd,{variant:"text",id:"close-details-list",onClick:n,icon:(0,y.jsx)(m._FR,{}),sx:{position:"absolute",right:5,top:18,padding:0,height:14,"&:hover:not(:disabled)":{backgroundColor:"transparent"}}}),o]})};var P=n(3796);const U=e=>{let{icon:t,strings:n}=e;return(0,y.jsxs)(m.azJ,{sx:{display:"flex",alignItems:"center","& .min-icon":{width:16,height:16,marginRight:4,minWidth:16,minHeight:16},"& .fileNameText":{whiteSpace:"pre",overflow:"hidden",textOverflow:"ellipsis"}},children:[t,(0,y.jsx)("span",{className:"fileNameText",children:(0,b.qf)(n[n.length-1])})]})},z=[{icon:(0,y.jsx)(m.FRZ,{}),extensions:["mp4","mov","avi","mpeg","mpg"]},{icon:(0,y.jsx)(m.jCy,{}),extensions:["mp3","m4a","aac"]},{icon:(0,y.jsx)(m.yTC,{}),extensions:["pdf"]},{icon:(0,y.jsx)(m.QvW,{}),extensions:["ppt","pptx"]},{icon:(0,y.jsx)(m.z9t,{}),extensions:["xls","xlsx"]},{icon:(0,y.jsx)(m.VSs,{}),extensions:["cer","crt","pem"]},{icon:(0,y.jsx)(m.bM2,{}),extensions:["html","xml","css","py","go","php","cpp","h","java"]},{icon:(0,y.jsx)(m.qM2,{}),extensions:["cfg","yaml"]},{icon:(0,y.jsx)(m.ITz,{}),extensions:["sql"]},{icon:(0,y.jsx)(m.PcO,{}),extensions:["ttf","otf"]},{icon:(0,y.jsx)(m.yEV,{}),extensions:["doc","docx","txt","rtf"]},{icon:(0,y.jsx)(m.j_m,{}),extensions:["zip","rar","tar","gz"]},{icon:(0,y.jsx)(m.DUd,{}),extensions:["epub","mobi","azw","azw3"]},{icon:(0,y.jsx)(m.nLN,{}),extensions:["jpeg","jpg","gif","tiff","png","heic","dng"]}],G=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e,s=(0,y.jsx)(m.KlI,{});e.endsWith("/")&&(s=(0,y.jsx)(m.kez,{}),n=e.slice(0,-1));const o=e.toLowerCase();for(const i of z)for(const e of i.extensions)o.endsWith(".".concat(e))&&(s=i.icon);!e.endsWith("/")&&e.indexOf(".")<0&&(s=(0,y.jsx)(m.YJK,{}));const a=n.split("/");return t?s:(0,y.jsx)(U,{icon:s,strings:a})};var M=n(39971);const J=e=>{let{metaData:t}=e;const n=Object.keys(t);return(0,y.jsx)(s.Fragment,{children:n.map((e,n)=>{const s=(e=>Array.isArray(e)?e.map(b.Tw).join(", "):(0,b.Tw)(e))(t[e]);return(0,y.jsxs)(m.azJ,{sx:{marginBottom:15,fontSize:14,maxHeight:180,overflowY:"auto"},children:[(0,y.jsx)("strong",{children:e}),(0,y.jsx)("br",{}),s]},"box-meta-".concat(e,"-").concat(n.toString()))})})};var K=n(21572),W=n(5501),H=n(45246);const Y=[{value:"01",label:"January"},{value:"02",label:"February"},{value:"03",label:"March"},{value:"04",label:"April"},{value:"05",label:"May"},{value:"06",label:"June"},{value:"07",label:"July"},{value:"08",label:"August"},{value:"09",label:"September"},{value:"10",label:"October"},{value:"11",label:"November"},{value:"12",label:"December"}],$=Array.from(Array(31),(e,t)=>({value:(t+1).toString(),label:(t+1).toString()})),Z=(new Date).getFullYear(),q=Array.from(Array(50),(e,t)=>({value:(t+Z).toString(),label:(t+Z).toString()}));var Q=n(32680);const X=(0,s.forwardRef)((e,t)=>{let{id:n,label:o,disableOptions:a=!1,tooltip:i="",borderBottom:l=!1,onDateChange:r,value:c=""}=e;(0,s.useImperativeHandle)(t,()=>({resetDate:b}));const[d,u]=(0,s.useState)(""),[h,x]=(0,s.useState)(""),[p,j]=(0,s.useState)("");(0,s.useEffect)(()=>{if(""!==c){const e=c.split("-");j(e[0]),u(e[1]),x("".concat(parseInt(e[2])))}},[c]),(0,s.useEffect)(()=>{const[e,t]=((e,t,n)=>{const s=Date.parse("".concat(e,"-").concat(t,"-").concat(n));if(isNaN(s))return[!1,""];const o=parseInt(t),a=parseInt(n),i=o<10?"0".concat(o):o,l=a<10?"0".concat(a):a,r=new Date(s).toISOString().split("T")[0],c="".concat(e,"-").concat(i,"-").concat(l);return[r===c,c]})(p,d,h);r(t,e)},[d,h,p,r]);const b=()=>{u(""),x(""),j("")},g=()=>a||!1,f=[{value:"",label:""},...Y],v=[{value:"",label:""},...$],_=[{value:"",label:""},...q];return(0,y.jsxs)(m.azJ,{className:"inputItem",children:[(0,y.jsx)(m.azJ,{sx:{display:"flex",alignItems:"center",gap:5,marginBottom:5},children:(0,y.jsxs)(m.l1Y,{htmlFor:n,children:[(0,y.jsx)("span",{children:o}),""!==i&&(0,y.jsx)(m.azJ,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,y.jsx)(m.m_M,{tooltip:i,placement:"top",children:(0,y.jsx)(m.azJ,{sx:{"& .min-icon":{width:13}},children:(0,y.jsx)(m.NTw,{})})})})]})}),(0,y.jsxs)(m.azJ,{sx:{display:"flex",gap:12},children:[(0,y.jsx)(m.l6P,{id:"".concat(n,"-month"),name:"".concat(n,"-month"),value:d,onChange:e=>{u(e)},options:f,label:"",disabled:g()}),(0,y.jsx)(m.l6P,{id:"".concat(n,"-day"),name:"".concat(n,"-day"),value:h,onChange:e=>{x(e)},options:v,label:"",disabled:g()}),(0,y.jsx)(m.l6P,{id:"".concat(n,"-year"),name:"".concat(n,"-year"),value:p,onChange:e=>{j(e)},options:_,label:"",disabled:g(),sx:{marginBottom:12}})]})]})}),ee=e=>{let{open:t,closeModalAndRefresh:n,objectName:a,objectInfo:r,bucketName:c}=e;const d=(0,l.jL)(),u=(0,o.d4)(e=>e.objectBrowser.retentionConfig),[h,p]=(0,s.useState)(!0),[j,b]=(0,s.useState)(""),[g,f]=(0,s.useState)(""),[v,_]=(0,s.useState)(!1),[S,O]=(0,s.useState)(!1),[w,C]=(0,s.useState)(!1);(0,s.useEffect)(()=>{if(r.retention_mode&&(b((null===u||void 0===u?void 0:u.mode)||W.BT.Governance),C(!0)),r.retention_until_date){const t=new Date(r.retention_until_date);if("Invalid Date"!==t.toString()){const n=t.getFullYear(),s=(e=t.getMonth()+1)<10?"0".concat(e):"".concat(e),o=t.getDate();isNaN(o)||"NaN"===s||isNaN(n)||f("".concat(n,"-").concat(s,"-").concat(o))}C(!0)}var e},[r,null===u||void 0===u?void 0:u.mode]);const E=(0,s.useRef)(null),I=()=>{p(!1),b(W.BT.Governance),E.current&&E.current.resetDate()},A=w&&("governance"===j||""===j);return(0,y.jsx)(Q.A,{title:"Set Retention Policy",modalOpen:t,onClose:()=>{I(),n(!1)},children:(0,y.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{(e=>{e.preventDefault()})(e)},children:(0,y.jsxs)(m.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,y.jsxs)(m.azJ,{className:"inputItem",children:[(0,y.jsx)("strong",{children:"Selected Object"}),": ",a]}),A&&(0,y.jsx)(m.dOG,{value:"status",id:"status",name:"status",checked:h,onChange:e=>{p(!h)},label:"Status",indicatorLabels:["Enabled","Disabled"]}),(0,y.jsx)(m.z6M,{currentValue:j,id:"type",name:"type",label:"Type",disableOptions:!h||w&&""!==j,onChange:e=>{b(e.target.value)},selectorOptions:[{label:"Governance",value:W.BT.Governance},{label:"Compliance",value:W.BT.Compliance}]}),(0,y.jsx)(X,{id:"date",label:"Date",disableOptions:!(h&&("governance"===j||"compliance"===j)),ref:E,value:g,borderBottom:!0,onDateChange:(e,t)=>{_(t),t&&f(e)}}),(0,y.jsxs)(m.xA9,{item:!0,xs:12,sx:H.Uz.modalButtonBar,children:[(0,y.jsx)(m.$nd,{id:"reset",type:"button",variant:"regular",onClick:I,label:"Reset"}),(0,y.jsx)(m.$nd,{id:"save",type:"submit",variant:"callAction",disabled:h&&""===j||h&&!v||S,onClick:()=>{O(!0);const e=r.name||"",t=r.version_id||null,s=h||"governance"!==j?"".concat(g,"T23:59:59Z"):"";h||"governance"!==j?((e,t,s)=>{i.F.buckets.putObjectRetention(c,{prefix:e,version_id:t||""},{expires:s,mode:j}).then(()=>{O(!1),n(!0)}).catch(e=>{d((0,T.Dy)((0,x.S)(e.error))),O(!1)})})(e,t,s):((e,t)=>{i.F.buckets.deleteObjectRetention(c,{prefix:e,version_id:t||""}).then(()=>{O(!1),n(!0)}).catch(e=>{d((0,T.Dy)((0,x.S)(e.error))),O(!1)})})(e,t)},label:"Save"})]})]})})})};var te=n(49534),ne=n(1531);const se=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,selectedBucket:a,selectedObject:i,versioningInfo:c,selectedVersion:d=""}=e;const u=(0,l.jL)(),[h,x]=(0,ne.A)(()=>t(!0),e=>{u((0,T.C9)(e)),"Access Denied."===e.detailedError&&t(!0)}),[p,j]=(0,s.useState)(!1),[b,g]=(0,s.useState)(!1),f=(0,o.d4)(e=>e.objectBrowser.retentionConfig),v=(0,S._)([a],[r.OV.S3_BYPASS_GOVERNANCE_RETENTION])&&"governance"===(null===f||void 0===f?void 0:f.mode);if(!i)return null;return(0,y.jsx)(te.A,{title:"Delete Object",confirmText:"Delete",isOpen:n,titleIcon:(0,y.jsx)(m.xWY,{}),isLoading:h,onConfirm:()=>{const e=i.endsWith("/");x("DELETE","/api/v1/buckets/".concat(encodeURIComponent(a),"/objects?prefix=").concat(encodeURIComponent(i)).concat(""!==d?"&version_id=".concat(encodeURIComponent(d)):"&recursive=".concat(e,"&all_versions=").concat(p)).concat(b?"&bypass=true":""))},onClose:()=>t(!1),confirmationContent:(0,y.jsxs)(s.Fragment,{children:["Are you sure you want to delete: ",(0,y.jsx)("br",{}),(0,y.jsx)("b",{children:i})," ",""!==d?(0,y.jsxs)(s.Fragment,{children:[(0,y.jsx)("br",{}),(0,y.jsx)("br",{}),"Version ID:",(0,y.jsx)("br",{}),(0,y.jsx)("strong",{children:d})]}):"","? ",(0,y.jsx)("br",{}),(0,y.jsx)("br",{}),k(null===c||void 0===c?void 0:c.status)&&""===d&&(0,y.jsx)(s.Fragment,{children:(0,y.jsx)(m.dOG,{label:"Delete All Versions",indicatorLabels:["Yes","No"],checked:p,value:"delete_versions",id:"delete-versions",name:"delete-versions",onChange:e=>{j(!p)},description:""})}),v&&(p||""!==d)&&(0,y.jsx)(s.Fragment,{children:(0,y.jsx)("div",{style:{marginTop:10},children:(0,y.jsx)(m.dOG,{label:"Bypass Governance Mode",indicatorLabels:["Yes","No"],checked:b,value:"bypass_governance",id:"bypass_governance",name:"bypass_governance",onChange:e=>{g(!b)},description:""})})}),p&&(0,y.jsxs)(s.Fragment,{children:[(0,y.jsxs)("div",{style:{marginTop:10,border:"#c83b51 1px solid",borderRadius:3,padding:5,backgroundColor:"#c83b5120",color:"#c83b51"},children:["This will remove the object as well as all of its versions,"," ",(0,y.jsx)("br",{}),"This action is irreversible."]}),(0,y.jsx)("br",{}),"Are you sure you want to continue?"]})]})})},oe=e=>{let{open:t,closeModalAndRefresh:n,objectName:o,bucketName:a,actualInfo:r}=e;const c=(0,l.jL)(),[d,u]=(0,s.useState)(!1),[p,j]=(0,s.useState)(!1),b=r.version_id;(0,s.useEffect)(()=>{const e=h()(r,"legal_hold_status","OFF");u("ON"===e)},[r]);const g=()=>{u(!1)};return(0,y.jsx)(Q.A,{title:"Set Legal Hold",modalOpen:t,onClose:()=>{g(),n(!1)},children:(0,y.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{(e=>{e.preventDefault(),j(!0),i.F.buckets.putObjectLegalHold(a,{prefix:o,version_id:b||""},{status:d?W.SW.Enabled:W.SW.Disabled}).then(()=>{j(!1),n(!0)}).catch(e=>{c((0,T.Dy)((0,x.S)(e.error))),j(!1)})})(e)},children:(0,y.jsxs)(m.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,y.jsxs)(m.azJ,{className:"inputItem",children:[(0,y.jsx)("strong",{children:"Object"}),": ",a+"/"+o]}),(0,y.jsx)(m.dOG,{value:"legalhold",id:"legalhold",name:"legalhold",checked:d,onChange:e=>{u(!d)},label:"Legal Hold Status",indicatorLabels:["Enabled","Disabled"],tooltip:"To enable this feature you need to enable versioning on the bucket before creation"}),(0,y.jsxs)(m.xA9,{item:!0,xs:12,sx:H.Uz.modalButtonBar,children:[(0,y.jsx)(m.$nd,{id:"clear",type:"button",variant:"regular",onClick:g,label:"Clear"}),(0,y.jsx)(m.$nd,{id:"save",type:"submit",variant:"callAction",disabled:p,label:" Save"})]})]})})})},ae=v.Ay.b(e=>{let{theme:t}=e;return{color:h()(t,"signalColors.danger","#C83B51"),marginLeft:5}}),ie=e=>{var t;let{modalOpen:n,onCloseAndUpdate:a,bucketName:c,actualInfo:u}=e;const p=(0,l.jL)(),j=(0,o.d4)(T.Rq),[b,g]=(0,s.useState)(""),[f,v]=(0,s.useState)(""),[_,O]=(0,s.useState)(!1),[w,C]=(0,s.useState)(!1),[E,I]=(0,s.useState)(""),[A,N]=(0,s.useState)(""),k=u.tags,B=Object.keys(k||{}),F=null===(t=u.name)||void 0===t?void 0:t.split("/"),L=(null===F||void 0===F?void 0:F.pop())||"",V=e=>(0,y.jsxs)(m.azJ,{sx:{fontSize:16,margin:"20px 0 30px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"100%"},children:["Tag",e?"s":""," for: ",(0,y.jsx)("strong",{children:L})]});return(0,y.jsx)(s.Fragment,{children:(0,y.jsx)(Q.A,{modalOpen:n,title:w?"Delete Tag":"Edit Tags",onClose:()=>{a(!0)},iconColor:w?"delete":"default",titleIcon:w?(0,y.jsx)(m.aaC,{}):(0,y.jsx)(m.cGQ,{}),children:w?(0,y.jsx)(s.Fragment,{children:(0,y.jsxs)(m.xA9,{container:!0,children:[V(!1),"Are you sure you want to delete the tag"," ",(0,y.jsxs)(ae,{children:[E," : ",A]})," ","?",(0,y.jsxs)(m.xA9,{item:!0,xs:12,sx:H.Uz.modalButtonBar,children:[(0,y.jsx)(m.$nd,{id:"cancel",type:"button",variant:"regular",onClick:()=>{I(""),N(""),C(!1)},label:"Cancel"}),(0,y.jsx)(m.$nd,{type:"submit",variant:"secondary",onClick:()=>{const e=(0,d.A)({},k);delete e[E];const t=j?u.version_id||"":"null";i.F.buckets.putObjectTags(c,{prefix:u.name||"",version_id:t},{tags:e}).then(()=>{a(!0),O(!1)}).catch(e=>{p((0,T.Dy)((0,x.S)(e.error))),O(!1)})},id:"deleteTag",label:"Delete Tag"})]})]})}):(0,y.jsxs)(m.azJ,{children:[(0,y.jsx)(S.R,{scopes:[r.OV.S3_GET_OBJECT_TAGGING,r.OV.S3_GET_ACTIONS],resource:c,children:(0,y.jsxs)(m.azJ,{sx:{display:"flex",flexFlow:"column",width:"100%"},children:[V(!0),(0,y.jsxs)(m.azJ,{sx:{fontSize:14,fontWeight:"normal"},children:["Current Tags:",(0,y.jsx)("br",{}),0===B.length?(0,y.jsx)("span",{className:"muted",children:"There are no tags for this object"}):(0,y.jsx)(s.Fragment,{}),(0,y.jsx)(m.azJ,{sx:{marginTop:"5px",marginBottom:"15px"},children:B.map((e,t)=>{const n=h()(k,"".concat(e),"");return""!==n?(0,y.jsx)(S.R,{scopes:[r.OV.S3_DELETE_OBJECT_TAGGING,r.OV.S3_DELETE_ACTIONS],resource:c,errorProps:{deleteIcon:null,onDelete:null},children:(0,y.jsx)(m.vwO,{id:"".concat(e," : ").concat(n),label:"".concat(e," : ").concat(n),variant:"regular",color:"default",onDelete:()=>{((e,t)=>{I(e),N(t),C(!0)})(e,n)}})},"chip-".concat(t)):null})})]})]})}),(0,y.jsx)(S.R,{scopes:[r.OV.S3_PUT_OBJECT_TAGGING,r.OV.S3_PUT_ACTIONS],resource:c,errorProps:{disabled:!0,onClick:null},children:(0,y.jsxs)(m.azJ,{children:[(0,y.jsx)(m._xt,{icon:(0,y.jsx)(m.b_$,{}),separator:!1,children:"Add New Tag"}),(0,y.jsxs)(m.Hbc,{containerPadding:!1,withBorders:!1,children:[(0,y.jsx)(m.cl_,{value:b,label:"Tag Key",id:"newTagKey",name:"newTagKey",placeholder:"Enter Tag Key",onChange:e=>{g(e.target.value)}}),(0,y.jsx)(m.cl_,{value:f,label:"Tag Label",id:"newTagLabel",name:"newTagLabel",placeholder:"Enter Tag Label",onChange:e=>{v(e.target.value)}}),(0,y.jsxs)(m.xA9,{item:!0,xs:12,sx:H.Uz.modalButtonBar,children:[(0,y.jsx)(m.$nd,{id:"clear",type:"button",variant:"regular",color:"primary",onClick:()=>{v(""),g("")},label:"Clear"}),(0,y.jsx)(m.$nd,{type:"submit",variant:"callAction",disabled:""===f.trim()||""===b.trim()||_,onClick:()=>{O(!0);const e={};e[b]=f;const t=(0,d.A)((0,d.A)({},k),e),n=j?u.version_id||"":"null";i.F.buckets.putObjectTags(c,{prefix:u.name||"",version_id:n},{tags:t}).then(()=>{a(!0),O(!1)}).catch(e=>{p((0,T.Dy)((0,x.S)(e.error))),O(!1)})},id:"saveTag",label:"Save"})]})]})]})})]})})})};var le=n(48374);const re=e=>{let{closeInspectModalAndRefresh:t,inspectOpen:n,inspectPath:o,volumeName:a}=e;const i=(0,l.jL)(),r=()=>t(!1),[c,d]=(0,s.useState)(!0),[u,h]=(0,s.useState)(""),[x,p]=(0,s.useState)("");if(!o)return null;return(0,y.jsxs)(s.Fragment,{children:[!u&&(0,y.jsx)(Q.A,{modalOpen:n,titleIcon:(0,y.jsx)(m.nTF,{}),title:"Inspect Object",onClose:r,children:(0,y.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{(e=>{e.preventDefault()})(e)},children:["Would you like to encrypt ",(0,y.jsx)("b",{children:o}),"? ",(0,y.jsx)("br",{}),(0,y.jsx)(m.dOG,{label:"Encrypt",indicatorLabels:["Yes","No"],checked:c,value:"encrypt",id:"encrypt",name:"encrypt",onChange:e=>{d(!c)},description:""}),(0,y.jsx)(m.xA9,{item:!0,xs:12,sx:H.Uz.modalButtonBar,children:(0,y.jsx)(m.$nd,{id:"inspect",type:"submit",variant:"callAction",color:"primary",onClick:async()=>{let e=document.baseURI.replace(window.location.origin,"");(async e=>await fetch(e,{method:"GET"}))("".concat(window.location.origin).concat(e,"api/v1/admin/inspect?volume=").concat(encodeURIComponent(a),"&file=").concat(encodeURIComponent(o+"/xl.meta"),"&encrypt=").concat(c)).then(async e=>{if(!e.ok){const t=await e.json();i((0,T.C9)({errorMessage:t.message,detailedError:t.code}))}const t=await e.blob(),n=e.headers.get("content-disposition").split('"')[1],s=(0,b.UM)(n)||"";(0,b.OT)(t,n),p(n),""!==s?h(s):r()}).catch(e=>{i((0,T.C9)(e))})},label:"Inspect"})})]})}),u?(0,y.jsxs)(Q.A,{modalOpen:n,title:"Inspect Decryption Key",onClose:()=>{(0,b.Yj)(x),r(),h("")},titleIcon:(0,y.jsx)(m.aJN,{}),children:[(0,y.jsxs)(m.azJ,{children:["This will be displayed only once. It cannot be recovered.",(0,y.jsx)("br",{}),"Use secure medium to share this key."]}),(0,y.jsx)(m.azJ,{children:(0,y.jsx)(le.A,{value:u})})]}):null]})},ce=e=>{let{open:t,closeModal:n,currentItem:o,internalPaths:a,actualInfo:i,bucketName:r}=e;const c=(0,l.jL)(),[d,u]=(0,s.useState)(o),[h,x]=(0,s.useState)(!1);return(0,y.jsxs)(Q.A,{title:"Rename Download",modalOpen:t,onClose:n,titleIcon:(0,y.jsx)(m.qUP,{}),children:[(0,y.jsxs)("div",{children:["The file you are trying to download has a long name.",(0,y.jsx)("br",{}),"This can cause issues on Windows Systems by trimming the file name after download.",(0,y.jsx)("br",{}),(0,y.jsx)("br",{})," We recommend to rename the file download"]}),(0,y.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{(e=>{e.preventDefault(),(0,P._)(c,r,a,i),n()})(e)},children:(0,y.jsxs)(m.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,y.jsx)(m.cl_,{id:"download-filename",name:"download-filename",onChange:e=>{u(e.target.value)},label:"",type:"text",value:d,error:d.length>200&&!h?"Filename should be less than 200 characters long.":""}),(0,y.jsx)(m.dOG,{value:"acceptLongName",id:"acceptLongName",name:"acceptLongName",checked:h,onChange:e=>{x(e.target.checked),e.target.checked&&u(o)},label:"Use Original Name"}),(0,y.jsx)(m.xA9,{item:!0,xs:12,sx:H.Uz.modalButtonBar,children:(0,y.jsx)(m.$nd,{id:"download-file",type:"submit",variant:"callAction",color:"primary",disabled:d.length>200&&!h,label:"Download File"})})]})})]})},de={is_latest:!0,last_modified:"",legal_hold_status:"",name:"",retention_mode:"",retention_until_date:"",size:0,tags:{},version_id:void 0},ue=e=>{let{internalPaths:t,bucketName:n,versioningInfo:a,locking:d,onClosePanel:u}=e;const x=(0,l.jL)(),p=(0,o.d4)(T.Rq),j=(0,o.d4)(e=>e.objectBrowser.versionsMode),g=(0,o.d4)(e=>e.objectBrowser.selectedVersion),f=(0,o.d4)(e=>e.objectBrowser.loadingObjectInfo),[v,_]=(0,s.useState)(!1),[O,w]=(0,s.useState)(!1),[C,E]=(0,s.useState)(!1),[I,A]=(0,s.useState)(!1),[k,B]=(0,s.useState)(!1),[F,L]=(0,s.useState)(null),[D,R]=(0,s.useState)([]),[U,z]=(0,s.useState)(null),[W,H]=(0,s.useState)([]),[Y,$]=(0,s.useState)(!1),[Z,q]=(0,s.useState)(!1),[Q,X]=(0,s.useState)(0),[te,ne]=(0,s.useState)(!1),[ae,le]=(0,s.useState)(null),[ue,he]=(0,s.useState)(!1),me=(t||"").split("/").pop()||"";let xe=[];F&&F.name&&(xe=F.name.split("/")),(0,s.useEffect)(()=>{if(p&&D&&D.length>=1){let e=D.find(e=>e.is_latest)||de;""!==g&&(e=D.find(e=>e.version_id===g)||de),e.is_delete_marker||he(!0),L(e)}},[g,p,D]),(0,s.useEffect)(()=>{f&&""!==t&&i.F.buckets.listObjects(n,{prefix:t,with_versions:p}).then(e=>{const t=e.data.objects||[];if(p){R(t),H(t);const e=t.reduce((e,t)=>null!==t&&void 0!==t&&t.size?e+t.size:e,0);X(e)}else{const e=t[0];L(e),H([]),e.is_delete_marker||he(!0)}x((0,c.oe)(!1))}).catch(e=>{console.error("Error loading object details",e.error),x((0,c.oe)(!1))})},[f,n,t,x,p,g]),(0,s.useEffect)(()=>{ue&&""!==t&&i.F.buckets.getObjectMetadata(n,{prefix:t,versionID:(null===F||void 0===F?void 0:F.version_id)||""}).then(e=>{let t=h()(e.data,"objectMetadata",{});le(t),he(!1)}).catch(e=>{console.error("Error Getting Metadata Status: ",e.detailedError),he(!1)})},[n,t,ue,null===F||void 0===F?void 0:F.version_id]);let pe=[];F&&F.tags&&(pe=Object.keys(F.tags));const je=(0,y.jsx)("div",{style:{textAlign:"center",marginTop:35},children:(0,y.jsx)(m.aHM,{})});if(!F)return f?je:null;const be=xe.length>0?xe[xe.length-1]:F.name,ge=[n,me,[n,F.name].join("/")],fe=(0,S._)(n,[r.OV.S3_PUT_OBJECT_LEGAL_HOLD,r.OV.S3_PUT_ACTIONS]),ve=(0,S._)(ge,[r.OV.S3_PUT_OBJECT_TAGGING,r.OV.S3_PUT_ACTIONS]),_e=(0,S._)(ge,[r.OV.S3_GET_OBJECT_RETENTION,r.OV.S3_PUT_OBJECT_RETENTION,r.OV.S3_GET_ACTIONS,r.OV.S3_PUT_ACTIONS],!0),Se=(0,S._)(ge,[r.OV.ADMIN_INSPECT_DATA]),Oe=(0,S._)(ge,[r.OV.S3_GET_BUCKET_VERSIONING,r.OV.S3_PUT_BUCKET_VERSIONING,r.OV.S3_GET_OBJECT_VERSION,r.OV.S3_GET_ACTIONS,r.OV.S3_PUT_ACTIONS]),Te=(0,S._)(ge,[r.OV.S3_GET_OBJECT,r.OV.S3_GET_ACTIONS]),we=(0,S._)([n,me,[n,F.name].join("/")],[r.OV.S3_DELETE_OBJECT,r.OV.S3_DELETE_ACTIONS]);let Ce=(0,N.IZ)(ae,me);const ye=[{action:()=>{(0,P._)(x,n,t,F)},label:"Download",disabled:!!F.is_delete_marker||!Te,icon:(0,y.jsx)(m.s3U,{}),tooltip:Te?"Download this Object":(0,r.vj)([r.OV.S3_GET_OBJECT,r.OV.S3_GET_ACTIONS],"download this object")},{action:()=>{_(!0)},label:"Share",disabled:!!F.is_delete_marker||!Te,icon:(0,y.jsx)(m.liv,{}),tooltip:Te?"Share this File":(0,r.vj)([r.OV.S3_GET_OBJECT,r.OV.S3_GET_ACTIONS],"share this object")},{action:()=>{q(!0)},label:"Preview",disabled:!!F.is_delete_marker||"none"===Ce&&!Te,icon:(0,y.jsx)(m.cyn,{}),tooltip:Te?"Preview this File":(0,r.vj)([r.OV.S3_GET_OBJECT,r.OV.S3_GET_ACTIONS],"preview this object")},{action:()=>{A(!0)},label:"Legal Hold",disabled:!d||!p||!!F.is_delete_marker||!fe||""!==g,icon:(0,y.jsx)(m.ODz,{}),tooltip:fe?d?"Change Legal Hold rules for this File":"Object Locking must be enabled on this bucket in order to set Legal Hold":(0,r.vj)([r.OV.S3_PUT_OBJECT_LEGAL_HOLD,r.OV.S3_PUT_ACTIONS],"change legal hold settings for this object")},{action:()=>{w(!0)},label:"Retention",disabled:!p||!!F.is_delete_marker||!_e||""!==g||!d,icon:(0,y.jsx)(m.gn6,{}),tooltip:_e?d?"Change Retention rules for this File":"Object Locking must be enabled on this bucket in order to set Retention Rules":(0,r.vj)([r.OV.S3_GET_OBJECT_RETENTION,r.OV.S3_PUT_OBJECT_RETENTION,r.OV.S3_GET_ACTIONS,r.OV.S3_PUT_ACTIONS],"change Retention Rules for this object")},{action:()=>{E(!0)},label:"Tags",disabled:!!F.is_delete_marker||""!==g||!ve,icon:(0,y.jsx)(m.P3Z,{}),tooltip:ve?"Change Tags for this File":(0,r.vj)([r.OV.S3_PUT_OBJECT_TAGGING,r.OV.S3_GET_OBJECT_TAGGING,r.OV.S3_GET_ACTIONS,r.OV.S3_PUT_ACTIONS],"set Tags on this object")},{action:()=>{B(!0)},label:"Inspect",disabled:!p||!!F.is_delete_marker||""!==g||!Se,icon:(0,y.jsx)(m.nTF,{}),tooltip:Se?"Inspect this file":(0,r.vj)([r.OV.ADMIN_INSPECT_DATA],"inspect this file")},{action:()=>{x((0,c.cQ)({status:!j,objectName:be}))},label:j?"Hide Object Versions":"Display Object Versions",icon:(0,y.jsx)(m.j1U,{}),disabled:!p||!(F.version_id&&"null"!==F.version_id)||!Oe,tooltip:Oe?F.version_id&&"null"!==F.version_id?"Display Versions for this file":"":(0,r.vj)([r.OV.S3_GET_BUCKET_VERSIONING,r.OV.S3_PUT_BUCKET_VERSIONING,r.OV.S3_GET_OBJECT_VERSION,r.OV.S3_GET_ACTIONS,r.OV.S3_PUT_ACTIONS],"display all versions of this object")}];return(0,y.jsxs)(s.Fragment,{children:[v&&F&&(0,y.jsx)(K.default,{open:v,closeModalAndRefresh:()=>{z(null),_(!1)},bucketName:n,dataObject:U||F}),O&&F&&(0,y.jsx)(ee,{open:O,closeModalAndRefresh:e=>{w(!1),e&&x((0,c.oe)(!0))},objectName:me,objectInfo:F,bucketName:n}),Y&&(0,y.jsx)(se,{deleteOpen:Y,selectedBucket:n,selectedObject:t,closeDeleteModalAndRefresh:e=>{$(!1),e&&""===g?u(!0):(x((0,c.SK)(!0)),x((0,c.Ai)("")),x((0,c.oe)(!0)))},versioningInfo:p?a:void 0,selectedVersion:g}),I&&F&&(0,y.jsx)(oe,{open:I,closeModalAndRefresh:e=>{A(!1),e&&x((0,c.oe)(!0))},objectName:F.name||"",bucketName:n,actualInfo:F}),Z&&F&&(0,y.jsx)(M.default,{open:Z,bucketName:n,actualInfo:F,onClosePreview:()=>{q(!1)}}),C&&F&&(0,y.jsx)(ie,{modalOpen:C,bucketName:n,actualInfo:F,onCloseAndUpdate:e=>{E(!1),e&&x((0,c.oe)(!0))}}),k&&F&&(0,y.jsx)(re,{inspectOpen:k,volumeName:n,inspectPath:F.name||"",closeInspectModalAndRefresh:e=>{B(!1),e&&x((0,c.oe)(!0))}}),te&&F&&(0,y.jsx)(ce,{open:te,closeModal:()=>{ne(!1)},currentItem:me,bucketName:n,internalPaths:t,actualInfo:F}),f?(0,y.jsx)(s.Fragment,{children:je}):(0,y.jsxs)(m.azJ,{sx:{"& .ObjectDetailsTitle":{display:"flex",alignItems:"center","& .min-icon":{width:26,height:26,minWidth:26,minHeight:26}},"& .objectNameContainer":{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",alignItems:"center",marginLeft:10},"& .capitalizeFirst":{textTransform:"capitalize"},"& .detailContainer":{padding:"0 22px",marginBottom:10,fontSize:14}},children:[(0,y.jsx)(m.Smc,{title:(0,y.jsxs)("div",{className:"ObjectDetailsTitle",children:[G(be||"",!0),(0,y.jsx)("span",{className:"objectNameContainer",children:be})]}),items:ye}),(0,y.jsx)(V.A,{tooltip:we?"":(0,r.vj)([r.OV.S3_DELETE_OBJECT,r.OV.S3_DELETE_ACTIONS],"delete this object"),children:(0,y.jsx)(m.xA9,{item:!0,xs:12,sx:{justifyContent:"center",display:"flex"},children:(0,y.jsx)(S.R,{resource:[n,me,[n,F.name].join("/")],scopes:[r.OV.S3_DELETE_OBJECT,r.OV.S3_DELETE_ACTIONS],errorProps:{disabled:!0},children:(0,y.jsx)(m.$nd,{id:"delete-element-click",icon:(0,y.jsx)(m.d7y,{}),iconLocation:"start",fullWidth:!0,variant:"secondary",onClick:()=>{$(!0)},disabled:""===g&&F.is_delete_marker,sx:{width:"calc(100% - 44px)",margin:"8px 0"},label:"Delete".concat(""!==g?" version":"")})})})}),(0,y.jsx)(m.kCK,{icon:(0,y.jsx)(m.Hch,{}),label:"Object Info"}),(0,y.jsxs)(m.azJ,{className:"detailContainer",children:[(0,y.jsx)("strong",{children:"Name:"}),(0,y.jsx)("br",{}),(0,y.jsx)("div",{style:{overflowWrap:"break-word"},children:be})]}),""!==g&&(0,y.jsxs)(m.azJ,{className:"detailContainer",children:[(0,y.jsx)("strong",{children:"Version ID:"}),(0,y.jsx)("br",{}),g]}),(0,y.jsxs)(m.azJ,{className:"detailContainer",children:[(0,y.jsx)("strong",{children:"Size:"}),(0,y.jsx)("br",{}),(0,b.nO)("".concat(F.size||"0"))]}),F.version_id&&"null"!==F.version_id&&""===g&&(0,y.jsxs)(m.azJ,{className:"detailContainer",children:[(0,y.jsx)("strong",{children:"Versions:"}),(0,y.jsx)("br",{}),W.length," version",1!==W.length?"s":"",","," ",(0,b.qO)(Q)]}),""===g&&(0,y.jsxs)(m.azJ,{className:"detailContainer",children:[(0,y.jsx)("strong",{children:"Last Modified:"}),(0,y.jsx)("br",{}),(e=>{const t=new Date,n=new Date(e),s=t.getTime()-n.getTime(),o=(0,b.eQ)(s,"ms");return""!==o.trim()?"".concat(o," ago"):"Just now"})(F.last_modified||"")]}),(0,y.jsxs)(m.azJ,{className:"detailContainer",children:[(0,y.jsx)("strong",{children:"ETAG:"}),(0,y.jsx)("br",{}),F.etag||"N/A"]}),(0,y.jsxs)(m.azJ,{className:"detailContainer",children:[(0,y.jsx)("strong",{children:"Tags:"}),(0,y.jsx)("br",{}),0===pe.length?"N/A":pe.map((e,t)=>(0,y.jsxs)("span",{children:[e,":",h()(F,"tags.".concat(e),""),t{let{versionToRestore:t,bucketName:n,objectPath:o,restoreOpen:a,onCloseAndUpdate:r}=e;const d=(0,l.jL)(),[u,h]=(0,s.useState)(!1);return(0,y.jsx)(te.A,{title:"Restore File Version",confirmText:"Restore",isOpen:a,isLoading:u,titleIcon:(0,y.jsx)(m.YkU,{}),onConfirm:()=>{h(!0),i.F.buckets.putObjectRestore(n,{prefix:o,version_id:t.version_id||""}).then(()=>{h(!1),r(!0),d((0,c.NV)({prefix:o,objectInfo:t}))}).catch(e=>{d((0,T.C9)((0,x.S)(e.error))),h(!1)})},confirmButtonProps:{variant:"secondary",disabled:u},onClose:()=>{r(!1)},confirmationContent:(0,y.jsxs)(m.azJ,{id:"alert-dialog-description",children:["Are you sure you want to restore ",(0,y.jsx)("br",{}),(0,y.jsx)("b",{children:o})," ",(0,y.jsx)("br",{})," with Version ID:",(0,y.jsx)("br",{}),(0,y.jsx)("b",{children:t.version_id}),"?"]})})},me=e=>{let{type:t}=e,n="#000",s="";switch(t){case"null":n="#07193E",s="NULL VERSION";break;case"deleted":n="#868686",s="DELETED";break;default:n="#174551",s="CURRENT VERSION"}return(0,y.jsx)("span",{style:{backgroundColor:n,padding:"0 5px",display:"inline-block",color:"#FFF",fontWeight:"bold",fontSize:12,borderRadius:2,whiteSpace:"nowrap",margin:"0 10px"},children:s})},xe=v.Ay.div(e=>{let{theme:t}=e;return{"&:before":{content:"' '",display:"block",position:"absolute",width:"2px",height:"calc(100% + 2px)",backgroundColor:h()(t,"borderColor","#F8F8F8"),left:"24px"},"& .mainFileVersionItem":{borderBottom:"".concat(h()(t,"borderColor","#F8F8F8")," 1px solid"),padding:"1rem 0",margin:"0 0.5rem 0 2.5rem",cursor:"pointer","&.deleted":{color:"#868686"}},"& .intermediateLayer":{margin:"0 1.5rem 0 1.5rem","&:hover, &.selected":{backgroundColor:h()(t,"boxBackground","#F8F8F8"),"& > div":{borderBottomColor:h()(t,"boxBackground","#F8F8F8")}}},"& .versionContainer":{fontSize:16,fontWeight:"bold",display:"flex",alignItems:"center","& svg.min-icon":{width:18,height:18,minWidth:18,minHeight:18,marginRight:10}},"& .buttonContainer":{textAlign:"right","& button":{marginLeft:"1.5rem"}},"& .versionID":{fontSize:"12px",margin:"2px 0",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"95%",overflow:"hidden"},"& .versionData":{marginRight:"10px",fontSize:12,color:"#868686"},"@media (max-width: 600px)":{"& .buttonContainer":{"& button":{marginLeft:"5px"}}},"@media (max-width: 799px)":{"&:before":{display:"none"},"& .mainFileVersionItem":{padding:"5px 0px",margin:0},"& .intermediateLayer":{margin:0,"&:hover, &.selected":{backgroundColor:"transparent","& > div":{borderBottomColor:h()(t,"boxBackground","#F8F8F8")}}},"& .versionContainer":{fontSize:14,"& svg.min-icon":{display:"none"}},"& .versionData":{textOverflow:"ellipsis",maxWidth:"95%",overflow:"hidden",whiteSpace:"nowrap"},"& .collapsableInfo":{display:"flex",flexDirection:"column"},"& .versionItem":{display:"none"}}}}),pe=e=>{let{fileName:t,versionInfo:n,isSelected:s,checkable:o,isChecked:a,onCheck:i,onShare:l,onDownload:r,onRestore:c,onPreview:d,globalClick:u,index:h,key:x,style:p}=e;const g=n.is_delete_marker,f=[{icon:(0,y.jsx)(m.cyn,{}),action:d,tooltip:"Preview"},{icon:(0,y.jsx)(m.s3U,{}),action:r,tooltip:"Download this version"},{icon:(0,y.jsx)(m.liv,{}),action:l,tooltip:"Share this version"},{icon:(0,y.jsx)(m.YkU,{}),action:c,tooltip:"Restore this version"}];let v=null;n.is_delete_marker?v="deleted":n.is_latest?v="current":"null"===n.version_id&&(v="null");let _=j.c9.now();return n.last_modified&&(_=j.c9.fromISO(n.last_modified)),(0,y.jsx)(xe,{children:(0,y.jsx)(m.xA9,{container:!0,className:"ctrItem",onClick:()=>{u(n)},style:p,children:(0,y.jsx)(m.xA9,{item:!0,xs:12,className:"intermediateLayer".concat(" ",s?"selected":""),children:(0,y.jsxs)(m.xA9,{item:!0,xs:!0,className:"mainFileVersionItem ".concat(n.is_delete_marker?"deleted":""),children:[(0,y.jsx)(m.xA9,{item:!0,xs:12,children:(0,y.jsxs)(m.xA9,{container:!0,children:[(0,y.jsxs)(m.xA9,{item:!0,xs:!0,md:4,className:"versionContainer",children:[o&&(0,y.jsx)(m.Sc0,{checked:a,id:"select-".concat(n.version_id),name:"select-".concat(n.version_id),onChange:e=>{e.stopPropagation(),i(n.version_id||"")},value:n.version_id||"",disabled:n.is_delete_marker,sx:{width:"initial"}}),G(t,!0)," v",h.toString(),(0,y.jsx)("span",{className:"versionItem",children:v&&(0,y.jsx)(me,{type:v})})]}),(0,y.jsx)(m.xA9,{item:!0,xs:10,md:8,className:"buttonContainer",children:f.map((e,t)=>(0,y.jsx)(m.m_M,{tooltip:e.tooltip,children:(0,y.jsx)(m.K0,{size:"small",id:"version-action-".concat(e.tooltip,"-").concat(t.toString()),className:"spacing".concat(" ",g?"buttonDisabled":""),disabled:g,onClick:t=>{t.stopPropagation(),g?t.preventDefault():e.action(n)},sx:{backgroundColor:"#F8F8F8",borderRadius:"100%",width:"28px",height:"28px",padding:"5px","& .min-icon":{width:"14px",height:"14px"}},children:e.icon})},"version-action-".concat(e.tooltip,"-").concat(t.toString())))})]})}),(0,y.jsx)(m.xA9,{item:!0,xs:12,className:"versionID",children:"null"!==n.version_id?n.version_id:"-"}),(0,y.jsxs)(m.xA9,{item:!0,xs:12,className:"collapsableInfo",children:[(0,y.jsxs)("span",{className:"versionData",children:[(0,y.jsx)("strong",{children:"Last modified:"})," ",_.toFormat("ccc, LLL dd yyyy HH:mm:ss (ZZZZ)")]}),(0,y.jsxs)("span",{className:"versionData",children:[(0,y.jsx)("strong",{children:"Size:"})," ",(0,b.nO)("".concat(n.size||"0"))]})]})]})})},x)})},je=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,selectedBucket:a,selectedObject:c}=e;const d=(0,l.jL)(),[u,h]=(0,s.useState)(!1),[p,j]=(0,s.useState)(""),[b,g]=(0,s.useState)(!1),f=(0,o.d4)(e=>e.objectBrowser.retentionConfig),v=(0,S._)([a],[r.OV.S3_BYPASS_GOVERNANCE_RETENTION])&&"governance"===(null===f||void 0===f?void 0:f.mode);if((0,s.useEffect)(()=>{u&&i.F.buckets.deleteObject(a,{prefix:c,non_current_versions:!0,bypass:b}).then(()=>{t(!0)}).catch(e=>{d((0,T.C9)((0,x.S)(e.error))),h(!1)})},[u,t,d,c,a,b]),!c)return null;return(0,y.jsx)(te.A,{title:"Delete Non-Current versions",confirmText:"Delete",isOpen:n,titleIcon:(0,y.jsx)(m.xWY,{}),isLoading:u,onConfirm:()=>{h(!0)},onClose:()=>t(!1),confirmButtonProps:{disabled:"YES, PROCEED"!==p||u},confirmationContent:(0,y.jsxs)(s.Fragment,{children:["Are you sure you want to delete all the non-current versions for:"," ",(0,y.jsx)("b",{children:c}),"? ",(0,y.jsx)("br",{}),v&&(0,y.jsx)(s.Fragment,{children:(0,y.jsx)("div",{style:{marginTop:10},children:(0,y.jsx)(m.dOG,{label:"Bypass Governance Mode",indicatorLabels:["Yes","No"],checked:b,value:"bypass_governance",id:"bypass_governance",name:"bypass_governance",onChange:e=>{g(!b)},description:""})})}),(0,y.jsx)("br",{}),"To continue please type ",(0,y.jsx)("b",{children:"YES, PROCEED"})," in the box.",(0,y.jsx)("br",{}),(0,y.jsx)("br",{}),(0,y.jsx)(m.xA9,{item:!0,xs:12,children:(0,y.jsx)(m.cl_,{id:"type-confirm",name:"retype-tenant",onChange:e=>{j(e.target.value)},label:"",value:p})})]})})},be=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,selectedBucket:a,selectedVersions:c,selectedObject:d}=e;const u=(0,l.jL)(),[h,p]=(0,s.useState)(!1),[j,b]=(0,s.useState)(!1),g=(0,o.d4)(e=>e.objectBrowser.retentionConfig),f=(0,S._)([a],[r.OV.S3_BYPASS_GOVERNANCE_RETENTION])&&"governance"===(null===g||void 0===g?void 0:g.mode);return(0,s.useEffect)(()=>{if(h){const e=c.map(e=>({path:d,versionID:e,recursive:!1}));e.length>0&&i.F.buckets.deleteMultipleObjects(a,e,{all_versions:!1,bypass:j}).then(()=>{p(!1),t(!0)}).catch(e=>{u((0,T.C9)((0,x.S)(e.error))),p(!1)})}},[h,t,a,d,c,j,u]),c?(0,y.jsx)(te.A,{title:"Delete Selected Versions",confirmText:"Delete",isOpen:n,titleIcon:(0,y.jsx)(m.xWY,{}),isLoading:h,onConfirm:()=>{p(!0)},onClose:()=>t(!1),confirmationContent:(0,y.jsxs)(s.Fragment,{children:["Are you sure you want to delete the selected ",c.length," ","versions for ",(0,y.jsx)("strong",{children:d}),"?",f&&(0,y.jsx)(s.Fragment,{children:(0,y.jsx)("div",{style:{marginTop:10},children:(0,y.jsx)(m.dOG,{label:"Bypass Governance Mode",indicatorLabels:["Yes","No"],checked:j,value:"bypass_governance",id:"bypass_governance",name:"bypass_governance",onChange:e=>{b(!j)},description:""})})})]})}):null};var ge=n(39261);const fe={is_latest:!0,last_modified:"",legal_hold_status:"",name:"",retention_mode:"",retention_until_date:"",size:0,tags:{},version_id:void 0},ve=e=>{let{internalPaths:t,bucketName:n}=e;const a=(0,l.jL)(),r=(0,o.d4)(e=>e.objectBrowser.searchVersions),d=(0,o.d4)(e=>e.objectBrowser.loadingVersions),u=(0,o.d4)(e=>e.objectBrowser.selectedVersion),p=(0,o.d4)(T.Rq),[j,g]=(0,s.useState)(!1),[f,v]=(0,s.useState)(null),[_,S]=(0,s.useState)(null),[O,w]=(0,s.useState)([]),[C,E]=(0,s.useState)(!1),[I,N]=(0,s.useState)(null),[k,B]=(0,s.useState)("date"),[F,L]=(0,s.useState)(!1),[D,R]=(0,s.useState)(!1),[U,z]=(0,s.useState)(!1),[G,J]=(0,s.useState)([]),[W,H]=(0,s.useState)(!1);let Y=[];f&&f.name&&(Y=f.name.split("/")),(0,s.useEffect)(()=>{d||f||a((0,c.SK)(!0))},[d,f,a]),(0,s.useEffect)(()=>{d&&""!==t&&i.F.buckets.listObjects(n,{prefix:t,with_versions:p}).then(e=>{const n=h()(e.data,"objects",[]).filter(e=>e.name===t);p?(v(n.find(e=>e.is_latest)||fe),w(n)):(v(n[0]),w([])),a((0,c.SK)(!1))}).catch(e=>{a((0,T.C9)((0,x.S)(e.error))),a((0,c.SK)(!1))})},[d,n,t,a,p]);const $=e=>{S(e),g(!0)},Z=e=>{S(e),L(!0)},q=e=>{N(e),E(!0)},Q=e=>{(0,P._)(a,n,t,e)},X=e=>{a((0,c.Ai)(e.version_id||""))},ee=O.filter(e=>!!e.version_id&&e.version_id.includes(r)),te=O.reduce((e,t)=>t.size?e+t.size:e,0);ee.sort((e,t)=>{if("size"===k)return e.size&&t.size?e.sizet.size?1:0:0;{const n=new Date(e.last_modified||"").getTime(),s=new Date(t.last_modified||"").getTime();return ns?-1:0}});const ne=e=>{if(G.includes(e)){const t=G.filter(t=>t!==e);return void J(t)}const t=[...G];t.push(e),J(t)};return(0,y.jsxs)(s.Fragment,{children:[j&&f&&(0,y.jsx)(K.default,{open:j,closeModalAndRefresh:()=>{S(null),g(!1),L(!1)},bucketName:n,dataObject:_||f}),C&&f&&I&&(0,y.jsx)(he,{restoreOpen:C,bucketName:n,versionToRestore:I,objectPath:f.name||"",onCloseAndUpdate:e=>{E(!1),N(null),e&&(a((0,c.SK)(!0)),a((0,c.oe)(!0)))}}),F&&f&&(0,y.jsx)(M.default,{open:F,bucketName:n,actualInfo:{name:f.name||"",version_id:_&&_.version_id?_.version_id:"null",size:_&&_.size?_.size:0,content_type:"",last_modified:f.last_modified||""},onClosePreview:()=>{L(!1)}}),D&&(0,y.jsx)(je,{deleteOpen:D,closeDeleteModalAndRefresh:e=>{R(!1),e&&(a((0,c.SK)(!0)),a((0,c.Ai)("")),a((0,c.oe)(!0)))},selectedBucket:n,selectedObject:t}),W&&(0,y.jsx)(be,{selectedBucket:n,selectedObject:t,deleteOpen:W,selectedVersions:G,closeDeleteModalAndRefresh:e=>{H(!1),e&&(a((0,c.SK)(!0)),a((0,c.Ai)("")),a((0,c.oe)(!0)),J([]))}}),(0,y.jsxs)(m.xA9,{container:!0,sx:{width:"100%",padding:10,"@media (max-width: 799px)":{minHeight:800}},children:[!f&&(0,y.jsx)(m.xA9,{item:!0,xs:12,children:(0,y.jsx)(m.z21,{})}),f&&(0,y.jsxs)(s.Fragment,{children:[(0,y.jsx)(m.xA9,{item:!0,xs:12,children:(0,y.jsx)(A,{bucketName:n,internalPaths:t,hidePathButton:!0})}),(0,y.jsx)(m.xA9,{item:!0,xs:12,sx:{position:"relative","& .detailsSpacer":{marginRight:18,"@media (max-width: 600px)":{marginRight:0}},["@media (max-width: ".concat(m.nmC.md,"px)")]:{"&::before":{display:"none"}}},children:(0,y.jsx)(m.lcx,{icon:(0,y.jsx)("span",{style:{display:"block",marginTop:"-10px"},children:(0,y.jsx)(m.j1U,{style:{width:20,height:20}})}),title:"".concat(Y.length>0?Y[Y.length-1]:f.name," Versions"),subTitle:(0,y.jsxs)(s.Fragment,{children:[(0,y.jsx)("span",{className:"detailsSpacer",children:(0,y.jsxs)("strong",{children:[O.length," Version",1===O.length?"":"s","\xa0\xa0\xa0"]})}),(0,y.jsx)("span",{className:"detailsSpacer",children:(0,y.jsx)("strong",{children:(0,b.qO)(te)})})]}),actions:(0,y.jsxs)(s.Fragment,{children:[(0,y.jsx)(V.A,{tooltip:"Select Multiple Versions",children:(0,y.jsx)(m.$nd,{id:"select-multiple-versions",onClick:()=>{z(!U)},icon:(0,y.jsx)(m.IN,{}),variant:U?"callAction":"regular",style:{marginRight:8}})}),U&&(0,y.jsx)(V.A,{tooltip:"Delete Selected Versions",children:(0,y.jsx)(m.$nd,{id:"delete-multiple-versions",onClick:()=>{H(!0)},icon:(0,y.jsx)(m.d7y,{}),variant:"secondary",style:{marginRight:8},disabled:0===G.length})}),(0,y.jsx)(V.A,{tooltip:"Delete Non Current Versions",children:(0,y.jsx)(m.$nd,{id:"delete-non-current",onClick:()=>{R(!0)},icon:(0,y.jsx)(m.rgY,{}),variant:"secondary",style:{marginRight:15},disabled:O.length<=1})}),(0,y.jsx)(m.l6P,{id:"sort-by",options:[{label:"Date",value:"date"},{label:"Size",value:"size"}],value:k,label:"Sort by",onChange:e=>{B(e)},noLabelMinWidth:!0})]}),bottomBorder:!1})}),(0,y.jsx)(m.xA9,{item:!0,xs:12,sx:{flexGrow:1,height:"calc(100% - 120px)",overflow:"auto",["@media (max-width: ".concat(m.nmC.md,"px)")]:{height:600}},children:f.version_id&&"null"!==f.version_id&&(0,y.jsx)(ge.B8,{style:{width:"100%"},containerStyle:{width:"100%",maxWidth:"100%"},width:1,height:800,rowCount:ee.length,rowHeight:108,rowRenderer:e=>{let{key:t,index:n,isScrolling:s,isVisible:o,style:a}=e;const i=O.length-n;return(0,y.jsx)(pe,{style:a,fileName:(null===f||void 0===f?void 0:f.name)||"",versionInfo:ee[n],index:i,onDownload:Q,onRestore:q,onShare:$,onPreview:Z,globalClick:X,isSelected:u===ee[n].version_id,checkable:U,onCheck:ne,isChecked:G.includes(ee[n].version_id||"")},t)}})})]})]})]})},_e=e=>{if(e.name.endsWith("/"))return"";const t=j.c9.now(),n=j.c9.fromISO(e.last_modified);return t.hasSame(n,"day")&&t.hasSame(n,"month")&&t.hasSame(n,"year")?"Today, ".concat(n.toFormat("HH:mm")):n.toFormat("ccc, LLL dd yyyy HH:mm (ZZZZ)")},Se=e=>e.name.endsWith("/")||!e.size?"-":(0,b.nO)(String(e.size)),Oe=[{label:"Name",elementKey:"name",renderFunction:G,enableSort:!0},{label:"Last Modified",elementKey:"last_modified",renderFunction:_e,renderFullObject:!0,enableSort:!0},{label:"Size",elementKey:"size",renderFunction:Se,renderFullObject:!0,width:100,enableSort:!0}],Te=[{label:"Name",elementKey:"name",renderFunction:G,enableSort:!0},{label:"Object Date",elementKey:"last_modified",renderFunction:_e,renderFullObject:!0,enableSort:!0},{label:"Size",elementKey:"size",renderFunction:Se,renderFullObject:!0,width:100,enableSort:!0},{label:"Deleted",elementKey:"delete_flag",renderFunction:e=>e?"Yes":"No",width:60}];var we=n(86070);const Ce=()=>{const e=(0,l.jL)(),t=(0,a.g)(),n=(0,a.Zp)(),[i,d]=(0,s.useState)("ASC"),[u,x]=(0,s.useState)("name"),p=t.bucketName||"",j=(0,o.d4)(e=>e.objectBrowser.objectDetailsOpen),b=(0,o.d4)(e=>e.objectBrowser.requestInProgress),g=(0,o.d4)(we.s$),f=!(null===g||void 0===g||!g.includes("object-browser-only")),v=(0,o.d4)(e=>e.objectBrowser.rewind.rewindEnabled),_=(0,o.d4)(e=>e.objectBrowser.records),O=(0,o.d4)(e=>e.objectBrowser.searchObjects),T=(0,o.d4)(e=>e.objectBrowser.selectedObjects),w=(0,o.d4)(e=>e.objectBrowser.connectionError),C=(0,o.d4)(e=>e.system.anonymousMode),E=(0,S._)(p,[r.OV.S3_LIST_BUCKET,r.OV.S3_ALL_LIST_BUCKET]),I=_.filter(e=>{if(""===O)return!0;return e.name.toLowerCase().indexOf(O.toLowerCase())>=0}).sort((0,N.$w)(u));let A=[];A="ASC"===i?I:I.reverse();const k=[{type:"view",tooltip:"View",onClick:t=>{var s;const o=t.name||"",a="/browser/".concat(encodeURIComponent(p)).concat(o?"/".concat(encodeURIComponent(o)):"");!C||null!==(s=t.name)&&void 0!==s&&s.endsWith("/")?(e((0,c.KX)([])),n(a),C||(e((0,c.TO)(!0)),e((0,c.SK)(!0))),e((0,c.A7)(o))):(0,P._)(e,p,o,t)},sendOnlyId:!1}];let B=E||C?"This location is empty".concat(v?"":", please try uploading a new file"):(0,r.vj)([r.OV.S3_LIST_BUCKET,r.OV.S3_ALL_LIST_BUCKET],"view Objects in this bucket");w&&(B="Objects List unavailable. Please review your WebSockets configuration and try again");let F="calc(100vh - 290px)";return f&&(F="calc(100vh - 315px)"),(0,y.jsx)(m.bQt,{itemActions:k,columns:v?Te:Oe,isLoading:b,entityName:"Objects",idField:"name",records:A,customPaperHeight:F,selectedItems:T,onSelect:C?void 0:t=>{const n=t.target,s=n.value,o=n.checked;let a=[...T];return o?a.push(s):a=a.filter(e=>e!==s),e((0,c.KX)(a)),e((0,c.A7)(null)),a},customEmptyMessage:B,sortEnabled:{currentSort:u,currentDirection:i,onSortClick:t=>{const n=h()(t,"sortDirection","DESC");x(t.sortBy),d(n),e((0,c.Yw)(!0))}},onSelectAll:()=>{if(e((0,c.A7)(null)),T.length===A.length)return void e((0,c.KX)([]));const t=A.map(e=>e.name);e((0,c.KX)(t))},rowStyle:e=>{var t;let{index:n}=e;return null!==(t=A[n])&&void 0!==t&&t.delete_flag?"deleted":""},sx:{minHeight:j?"100%":"initial"},noBackground:!0})};var ye=n(27428);const Ee=()=>{const e=(0,l.jL)(),t=(0,o.d4)(e=>e.objectBrowser.searchObjects);return(0,y.jsx)(ye.A,{placeholder:"Start typing to filter objects in the bucket",onChange:t=>{e((0,c.$X)(t))},value:t})};var Ie=n(54945);const Ae=(0,O.A)(s.lazy(()=>n.e(66).then(n.bind(n,50066)))),Ne=(0,O.A)(s.lazy(()=>Promise.resolve().then(n.bind(n,21572)))),ke=(0,O.A)(s.lazy(()=>n.e(3697).then(n.bind(n,53697)))),Be=(0,O.A)(s.lazy(()=>Promise.resolve().then(n.bind(n,39971)))),Fe={borderWidth:2,borderRadius:2,borderColor:"transparent",outline:"none"},Le={borderStyle:"dashed",backgroundColor:"transparent",borderColor:"#2196f3"},Ve={borderStyle:"dashed",backgroundColor:"transparent",borderColor:"#00e676"},De=()=>{var e;const t=(0,l.jL)(),n=(0,a.g)(),u=(0,a.Zp)(),g=(0,a.zy)(),f=(0,o.d4)(e=>e.objectBrowser.rewind.rewindEnabled),v=(0,o.d4)(e=>e.objectBrowser.rewind.bucketToRewind),_=(0,o.d4)(e=>e.objectBrowser.versionsMode),O=(0,o.d4)(e=>e.objectBrowser.showDeleted),E=(0,o.d4)(e=>e.objectBrowser.objectDetailsOpen),I=(0,o.d4)(e=>e.objectBrowser.selectedInternalPaths),P=(0,o.d4)(e=>e.objectBrowser.requestInProgress),U=(0,o.d4)(e=>e.objectBrowser.simplePath),z=(0,o.d4)(e=>e.objectBrowser.versionInfo),G=(0,o.d4)(e=>e.objectBrowser.lockingEnabled),M=(0,o.d4)(e=>e.objectBrowser.downloadRenameModal),J=(0,o.d4)(e=>e.objectBrowser.selectedPreview),K=(0,o.d4)(e=>e.objectBrowser.shareFileModalOpen),W=(0,o.d4)(e=>e.objectBrowser.previewOpen),H=(0,o.d4)(e=>e.objectBrowser.selectedBucket),Y=(0,o.d4)(e=>e.system.anonymousMode),$=(0,o.d4)(e=>e.objectBrowser.anonymousAccessOpen),Z=(0,o.d4)(e=>{var t;return(null===(t=e.objectBrowser)||void 0===t?void 0:t.records)||[]}),q=(0,o.d4)(F.Nx),Q=(0,o.d4)(F.fT),[X,ee]=(0,s.useState)(!1),[te,ne]=(0,s.useState)(!1),[se,oe]=(0,s.useState)(!1),[ae,ie]=(0,s.useState)(!1),[le,re]=(0,s.useState)(!1),[de,he]=(0,s.useState)(null),[me,xe]=(0,s.useState)(null),[pe,je]=(0,s.useState)(!1),be=k(z.status),ge=n.bucketName||"",fe=g.pathname.split("/browser/".concat(ge,"/")),_e=2===fe.length?decodeURIComponent(fe[1]):"",Se=_e.split("/").filter(e=>""!==e);let Oe=[ge];Se.length>0&&(Oe=Oe.concat(Se));const Te=(0,s.useRef)(null),we=(0,s.useRef)(null),ye=(0,o.d4)(e=>e.console.session&&e.console.session.permissions||{}),De=[r.OV.S3_PUT_OBJECT,r.OV.S3_PUT_ACTIONS],Re=Oe.join("/"),Pe=function(e,t){const n=C(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]).reduce((e,t)=>{const n=w(t);return n&&e.push(".".concat(n)),e},[]);return[...new Set(n)].join(",")}(ye,Re,De),Ue=C(ye,Re,De),ze=(0,S._)([Re,...Ue],[r.OV.S3_GET_OBJECT,r.OV.S3_GET_ACTIONS]),Ge=(0,S._)(ge,[r.OV.S3_GET_OBJECT,r.OV.S3_GET_ACTIONS,r.OV.S3_GET_BUCKET_VERSIONING]),Me=(0,S._)([Re,...Ue],[r.OV.S3_DELETE_OBJECT,r.OV.S3_DELETE_ACTIONS]),Je=(0,S._)([Re,...Ue],De)||Y,Ke=(0,S._)(ge,[r.OV.S3_GET_BUCKET_POLICY,r.OV.S3_PUT_BUCKET_POLICY,r.OV.S3_GET_ACTIONS,r.OV.S3_PUT_ACTIONS]),We=(0,o.d4)(e=>e.objectBrowser.selectedObjects),He=(()=>{let e=!1;if(1===We.length){e=!!Z.find(e=>e.name==="".concat(We[0])&&e.delete_flag)}return e})(),Ye=(0,s.useCallback)(()=>{const e=We[0];!pe&&e&&i.F.buckets.getObjectMetadata(ge,{prefix:e}).then(e=>{let t=h()(e.data,"objectMetadata",{});je(!0),xe(t)}).catch(e=>{console.error("Error Getting Metadata Status: ",e,null===e||void 0===e?void 0:e.detailedError),je(!0)})},[ge,We,pe]);(0,s.useEffect)(()=>{ge&&!He&&Ye()},[ge,We,Ye,He]),(0,s.useEffect)(()=>{f&&v!==ge&&t((0,c.rS)())},[f,v,ge,t]),(0,s.useEffect)(()=>{null!==we.current&&(we.current.setAttribute("directory",""),we.current.setAttribute("webkitdirectory",""))},[we]),(0,s.useEffect)(()=>{if(1===We.length){const e=We[0],t=e.endsWith("/");let n=(0,N.IZ)(me,e);re(!("none"===n||!ze)),ie(!(!ze||t))}else ie(!1),re(!1)},[We,ze,me]),(0,s.useEffect)(()=>{de||Y||i.F.buckets.getBucketQuota(ge).then(e=>{let t=null;e.data.quota&&(t=e.data),he(t)}).catch(e=>{console.error("Error Getting Quota Status: ",e.error.detailedMessage),he(null)})},[de,ge,Y]),(0,s.useEffect)(()=>{We.length>0?t((0,c.TO)(!0)):0!==We.length||null!==I||P||t((0,c.TO)(!1))},[We,I,t,P]),(0,s.useEffect)(()=>{se||(t((0,F.ZU)(!0)),oe(!0))},[se,t,oe]),(0,s.useEffect)(()=>{!P&&!q||Y||i.F.buckets.bucketInfo(ge).then(e=>{t((0,F.ZU)(!1)),t((0,F.$T)(e.data))}).catch(e=>{t((0,F.ZU)(!1)),t((0,T.C9)((0,x.S)(e)))})},[ge,q,t,Y,P]),(0,s.useEffect)(()=>{""!==H&&i.F.buckets.getBucketRetentionConfig(H).then(e=>{t((0,c.PJ)(e.data))}).catch(()=>{t((0,c.PJ)(null))})},[H,t]);const $e=e=>{if(null!==e&&void 0!==e&&null!==e.target.files&&void 0!==e.target.files){e.preventDefault();var t=[];for(let n=0;n{let s="";U&&(s=U.endsWith("/")?U:U+"/");((e,n,s,o)=>{let a=a=>new Promise((i,l)=>{let r="api/v1/buckets/".concat(n,"/objects/upload");const d=a.name,u=new Blob([a],{type:a.type}),m=(e=>e.replace(/(^|\/)\.\//g,"/"))(h()(a,"path","")),x=h()(a,"webkitRelativePath","");let p=o;const j=(0,B.E0)(8);""!==m?p=m:""!==x&&(p=x);let b="";if(""!==s||""!==p){const e=p.split("/").slice(0,-1).join("/"),t=s.endsWith("/")?s.slice(0,-1):s;b="".concat(t).concat(t.endsWith("/")||""===e||e.startsWith("/")?"":"/").concat(e).concat(!e.endsWith("/")||""===e.trim()&&!s.endsWith("/")?"/":"")}r=""!==b?"".concat(r,"?prefix=").concat(encodeURIComponent(b+d)):"".concat(r,"?prefix=").concat(encodeURIComponent(d));const g=encodeURIComponent("".concat(n,"-").concat(b,"-").concat((new Date).getTime(),"-").concat(Math.random()));let f=new XMLHttpRequest;f.open("POST",r,!0),Y&&f.setRequestHeader("X-Anonymous","1");const v=e.length>1;let _="An error occurred while uploading the file".concat(v?"s":"",".");const S={413:"Error - File size too large"};f.withCredentials=!1,f.onload=function(){if(f.status>=200&&f.status<300)t((0,c.rx)(g)),i({status:f.status}),(0,B.vy)(j);else{if(S[f.status])_=S[f.status];else if(f.response)try{const e=JSON.parse(f.response);_=e.detailedMessage}catch(e){_="something went wrong"}t((0,c.iL)({instanceID:g,msg:_})),l({status:f.status,message:_}),(0,B.vy)(j)}},f.upload.addEventListener("error",()=>{l(_),t((0,c.iL)({instanceID:g,msg:"A network error occurred."}))}),f.upload.addEventListener("progress",e=>{const n=Math.floor(100*e.loaded/e.total);t((0,c.DW)({instanceID:g,progress:n}))}),f.onerror=()=>{l(_),t((0,c.iL)({instanceID:g,msg:"A network error occurred."}))},f.onloadend=()=>{0===e.length&&t((0,c.Yw)(!0))},f.onabort=()=>{t((0,c.Dm)(g))};const O=new FormData;void 0!==a.size&&(O.append(a.size.toString(),u,d),(0,B.FP)(j,f),t((0,c.cP)({ID:j,bucketName:n,done:!1,instanceID:g,percentage:0,prefix:"".concat(b).concat(d),type:"upload",waitingForFile:!1,failed:!1,cancelled:!1,errorMessage:""})),(0,B.vx)(j,O))});const i=[];t((0,c.Nu)());for(let t=0;t{const n=e.filter(e=>"rejected"===e.status);if(n.length>0){const e=i.length,s=i.length-n.length,o={errorMessage:"There were some errors during file upload",detailedError:"Uploaded files ".concat(s,"/").concat(e)};t((0,T.C9)(o))}t((0,c.Yw)(!0))})})(e,ge,s,n)},[ge,t,U,Y]),qe=(0,s.useCallback)(e=>{if(e&&e.length>0&&Je){let n=e[0].path,s=e;Pe.length>0&&(s=e.filter(e=>{const t=w(e.name);return Pe.includes(t)})),s.length?(Ze(s,n),console.log("".concat(s.length," Allowed Files Processed out of ").concat(e.length,"."),Re,...Ue),s.length!==e.length&&t((0,T.C9)({errorMessage:"Upload is restricted.",detailedError:(0,r.vj)([r.OV.S3_PUT_OBJECT,r.OV.S3_PUT_ACTIONS],"upload objects to this location")}))):(t((0,T.C9)({errorMessage:"Could not process drag and drop.",detailedError:(0,r.vj)([r.OV.S3_PUT_OBJECT,r.OV.S3_PUT_ACTIONS],"upload objects to this location")})),console.error("Could not process drag and drop . upload may be restricted.",Re,...Ue))}Je||t((0,T.C9)({errorMessage:"Upload not allowed",detailedError:(0,r.vj)([r.OV.S3_PUT_OBJECT,r.OV.S3_PUT_ACTIONS],"upload objects to this location")}))},[Ze]),{getRootProps:Qe,getInputProps:Xe,isDragActive:et,isDragAccept:tt}=(0,p.VB)({noClick:!0,onDrop:qe}),nt=(0,s.useMemo)(()=>(0,d.A)((0,d.A)((0,d.A)({},Fe),et?Le:{}),tt?Ve:{}),[et,tt]),st=e=>{if(t((0,c.A7)(null)),t((0,c.cQ)({status:!1})),E&&null!==I){const e=_e.split("/");e.pop();let t="";e&&e.length>0&&(t="".concat(e.join("/"),"/")),u("/browser/".concat(encodeURIComponent(ge),"/").concat(encodeURIComponent(t)))}t((0,c.TO)(!1)),e&&t((0,c.Yw)(!0))};let ot=j.c9.now();null!==Q&&void 0!==Q&&Q.creation_date&&(ot=j.c9.fromISO(Q.creation_date));const at=(null===We||void 0===We?void 0:We.length)<=1?"Download Selected":" Download selected objects as Zip. Any Deleted objects in the selection would be skipped from download.",it=[{action:()=>{t((0,L.op)(ge))},label:"Download",disabled:!ze||He,icon:(0,y.jsx)(m.s3U,{}),tooltip:ze?at:(0,r.vj)([r.OV.S3_GET_OBJECT,r.OV.S3_GET_ACTIONS],"download objects from this bucket")},{action:()=>{t((0,L.mS)())},label:"Share",disabled:1!==We.length||!ae||He,icon:(0,y.jsx)(m.liv,{}),tooltip:ae?"Share Selected File":"Sharing unavailable"},{action:()=>{t((0,L.HS)())},label:"Preview",disabled:1!==We.length||!le||He,icon:(0,y.jsx)(m.cyn,{}),tooltip:le?"Preview Selected File":"Preview unavailable"},{action:()=>{t((0,L.oz)())},label:"Anonymous Access",disabled:1!==We.length||!We[0].endsWith("/")||!Ke,icon:(0,y.jsx)(m._kf,{}),tooltip:1===We.length&&We[0].endsWith("/")?"Set Anonymous Access to this Folder":"Anonymous Access unavailable"},{action:()=>{ee(!0)},label:"Delete",icon:(0,y.jsx)(m.d7y,{}),disabled:!Me||0===We.length,tooltip:Me?"Delete Selected Files":(0,r.vj)([r.OV.S3_DELETE_OBJECT,r.OV.S3_DELETE_ACTIONS],"delete objects in this bucket")}];return(0,y.jsxs)(s.Fragment,{children:[K&&J&&(0,y.jsx)(Ne,{open:K,closeModalAndRefresh:()=>{t((0,c.Lf)(!1)),t((0,c.go)(null))},bucketName:ge,dataObject:{name:J.name,last_modified:"",version_id:J.version_id}}),X&&(0,y.jsx)(Ae,{deleteOpen:X,selectedBucket:ge,selectedObjects:We,closeDeleteModalAndRefresh:e=>{ee(!1),e&&(t((0,T.Hk)("Objects deleted successfully.")),t((0,c.KX)([])),t((0,c.Yw)(!0)))},versioning:z}),te&&(0,y.jsx)(ke,{open:te,closeModalAndRefresh:()=>{ne(!1)},bucketName:ge}),W&&J&&(0,y.jsx)(Be,{open:W,bucketName:ge,actualInfo:{name:J.name||"",last_modified:"",version_id:J.version_id||"",size:J.size||0},onClosePreview:()=>{t((0,c.xE)(!1)),t((0,c.go)(null))}}),!!M&&(0,y.jsx)(ce,{open:!!M,closeModal:()=>{t((0,c.Ew)(null))},currentItem:(null===(e=M.name.split("/"))||void 0===e?void 0:e.pop())||"",bucketName:ge,internalPaths:_e,actualInfo:{name:M.name,last_modified:"",version_id:M.version_id,size:M.size}}),$&&(0,y.jsx)(Ie.default,{onClose:()=>{t((0,c.I8)(!1))},bucket:ge,modalOpen:$,prefilledRoute:"".concat(We[0],"*")}),(0,y.jsxs)(m.Mxu,{variant:"full",children:[Y&&(0,y.jsx)("div",{style:{paddingBottom:16},children:(0,y.jsx)(Ee,{})}),(0,y.jsx)(m.azJ,{withBorders:!0,sx:{padding:"0 5px"},children:(0,y.jsx)(m.lcx,{icon:(0,y.jsx)("span",{children:(0,y.jsx)(m.brV,{style:{width:30}})}),title:ge,subTitle:Y?null:(0,y.jsxs)(m.azJ,{sx:{"& .detailsSpacer":{marginRight:18,"@media (max-width: 600px)":{marginRight:0}}},children:[(0,y.jsxs)("span",{className:"detailsSpacer",children:["Created on:\xa0",(0,y.jsx)("strong",{children:null!==Q&&void 0!==Q&&Q.creation_date?ot.toFormat("ccc, LLL dd yyyy HH:mm:ss (ZZZZ)"):""})]}),(0,y.jsxs)("span",{className:"detailsSpacer",children:["Access:\xa0\xa0",(0,y.jsx)("strong",{children:(null===Q||void 0===Q?void 0:Q.access)||""})]}),Q&&(0,y.jsx)(s.Fragment,{children:(0,y.jsxs)("span",{className:"detailsSpacer",children:[Q.size&&(0,y.jsx)(s.Fragment,{children:(0,b.qO)(Q.size)}),Q.size&&de&&(0,y.jsxs)(s.Fragment,{children:[" ","/ ",(0,b.qO)(de.quota||0)]}),Q.size&&Q.objects?" - ":"",Q.objects&&(0,y.jsxs)(s.Fragment,{children:[Q.objects,"\xa0Object",Q.objects&&1!==Q.objects?"s":""]})]})})]}),actions:(0,y.jsxs)(s.Fragment,{children:[!Y&&(0,y.jsx)(V.A,{tooltip:Ge?"Rewind Bucket":(0,r.vj)([r.OV.S3_GET_OBJECT,r.OV.S3_GET_ACTIONS,r.OV.S3_GET_BUCKET_VERSIONING],"apply rewind in this bucket"),children:(0,y.jsx)(m.$nd,{id:"rewind-objects-list",label:"Rewind",icon:(0,y.jsx)(m.Exy,{color:"alert",dotOnly:!0,invisible:!f,children:(0,y.jsx)(m.osr,{style:{minWidth:16,minHeight:16,width:16,height:16,marginTop:-3}})}),variant:"regular",onClick:()=>{ne(!0)},disabled:!be||!Ge})}),(0,y.jsx)(V.A,{tooltip:"Reload List",children:(0,y.jsx)(m.$nd,{id:"refresh-objects-list",label:"Refresh",icon:(0,y.jsx)(m.fNY,{}),variant:"regular",onClick:()=>{_?t((0,c.SK)(!0)):(t((0,c.A3)()),t((0,c.Yw)(!0)))},disabled:!Y&&(!(0,S._)(ge,[r.OV.S3_LIST_BUCKET,r.OV.S3_ALL_LIST_BUCKET])||f)})}),(0,y.jsx)("input",{type:"file",multiple:!0,accept:Pe||void 0,onChange:$e,style:{display:"none"},ref:Te}),(0,y.jsx)("input",{type:"file",multiple:!0,onChange:$e,style:{display:"none"},ref:we}),(0,y.jsx)(D,{bucketName:ge,uploadPath:Re,uploadFileFunction:e=>{Te&&Te.current&&Te.current.click(),e()},uploadFolderFunction:e=>{we&&we.current&&we.current.click(),e()}})]}),bottomBorder:!1})}),(0,y.jsxs)("div",(0,d.A)((0,d.A)({id:"object-list-wrapper"},Qe({style:(0,d.A)({},nt)})),{},{children:[(0,y.jsx)("input",(0,d.A)({},Xe())),(0,y.jsxs)(m.azJ,{withBorders:!0,sx:{display:"flex",borderTop:0,padding:0,"& .hideListOnSmall":{"@media (max-width: 799px)":{display:"none"}}},children:[_?(0,y.jsx)(s.Fragment,{children:null!==I&&(0,y.jsx)(ve,{internalPaths:I,bucketName:ge})}):(0,y.jsx)(S.R,{scopes:[r.OV.S3_LIST_BUCKET,r.OV.S3_ALL_LIST_BUCKET],resource:ge,errorProps:{disabled:!0},children:(0,y.jsxs)(m.xA9,{item:!0,xs:12,sx:{width:"100%",position:"relative","&.detailsOpen":{"@media (max-width: 799px)":{display:"none"}}},className:E?"detailsOpen":"",children:[!Y&&(0,y.jsx)(m.xA9,{item:!0,xs:12,sx:{padding:"12px 14px 5px"},children:(0,y.jsx)(A,{bucketName:ge,internalPaths:_e,additionalOptions:!be||f?null:(0,y.jsx)(m.Sc0,{name:"deleted_objects",id:"showDeletedObjects",value:"deleted_on",label:"Show deleted objects",onChange:()=>{t((0,c.A3)()),t((0,c.lA)(!O)),st(!0)},checked:O,sx:{marginLeft:5,"@media (max-width: 600px)":{marginLeft:0,flexDirection:"row"}}}),hidePathButton:!1})}),(0,y.jsx)(Ce,{})]})}),!Y&&(0,y.jsx)(S.R,{scopes:[r.OV.S3_LIST_BUCKET,r.OV.S3_ALL_LIST_BUCKET],resource:ge,errorProps:{disabled:!0},children:(0,y.jsxs)(R,{open:E,closePanel:()=>{st(!1)},className:"".concat(_?"hideListOnSmall":""),children:[We.length>0&&(0,y.jsx)(m.Smc,{items:it,title:"Selected Objects:"}),null!==I&&(0,y.jsx)(ue,{internalPaths:I,bucketName:ge,onClosePanel:st,versioningInfo:z,locking:G})]})})]})]}))]})]})};var Re=n(46881),Pe=n(89563),Ue=n(82817),ze=n(77370),Ge=n(98167);const Me=e=>{let{bucketName:t}=e;const n=(0,l.jL)(),i=(0,o.d4)(we.s$),d=(0,o.d4)(e=>e.objectBrowser.versionsMode),u=(0,o.d4)(e=>e.objectBrowser.versionedFile),h=(0,o.d4)(e=>e.objectBrowser.searchVersions),x=!(null===i||void 0===i||!i.includes("object-browser-only")),p=(0,a.Zp)(),j=(0,Re.A)(t,[r.OV.S3_GET_BUCKET_POLICY,r.OV.S3_PUT_BUCKET_POLICY,r.OV.S3_GET_BUCKET_VERSIONING,r.OV.S3_PUT_BUCKET_VERSIONING,r.OV.S3_GET_BUCKET_ENCRYPTION_CONFIGURATION,r.OV.S3_PUT_BUCKET_ENCRYPTION_CONFIGURATION,r.OV.S3_DELETE_BUCKET,r.OV.S3_GET_BUCKET_NOTIFICATIONS,r.OV.S3_PUT_BUCKET_NOTIFICATIONS,r.OV.S3_GET_REPLICATION_CONFIGURATION,r.OV.S3_PUT_REPLICATION_CONFIGURATION,r.OV.S3_GET_LIFECYCLE_CONFIGURATION,r.OV.S3_PUT_LIFECYCLE_CONFIGURATION,r.OV.ADMIN_GET_BUCKET_QUOTA,r.OV.ADMIN_SET_BUCKET_QUOTA,r.OV.S3_PUT_BUCKET_TAGGING,r.OV.S3_GET_BUCKET_TAGGING,r.OV.S3_LIST_BUCKET_VERSIONS,r.OV.S3_GET_BUCKET_POLICY_STATUS,r.OV.S3_DELETE_BUCKET_POLICY,r.OV.S3_GET_ACTIONS,r.OV.S3_PUT_ACTIONS]),b=(0,y.jsx)(s.Fragment,{children:d?(0,y.jsx)(s.Fragment,{children:(0,y.jsx)(ye.A,{placeholder:"Start typing to filter versions of ".concat(u),onChange:e=>{n((0,c.aj)(e))},value:h})}):(0,y.jsx)(S.R,{scopes:[r.OV.S3_LIST_BUCKET,r.OV.S3_ALL_LIST_BUCKET],resource:t,errorProps:{disabled:!0},children:(0,y.jsx)(Ee,{})})});return(0,s.useEffect)(()=>{n((0,T.ph)("object_browser"))},[]),(0,y.jsx)(s.Fragment,{children:x?(0,y.jsxs)(m.xA9,{container:!0,sx:{padding:"20px 32px 0"},children:[(0,y.jsx)(m.xA9,{children:(0,y.jsx)(Pe.A,{marginRight:30,marginTop:10})}),(0,y.jsxs)(m.xA9,{item:!0,xs:!0,sx:{display:"flex",gap:10},children:[b,(0,y.jsx)(ze.A,{})]})]}):(0,y.jsx)(Ue.A,{label:(0,y.jsx)(m.EGL,{label:"Object Browser",onClick:()=>{p(r.zZ.OBJECT_BROWSER_VIEW)}}),actions:(0,y.jsxs)(s.Fragment,{children:[(0,y.jsx)(S.R,{scopes:r.pC[r.ac.BUCKET_ADMIN],resource:t,errorProps:{disabled:!0},children:(0,y.jsx)(V.A,{tooltip:j?"Configure Bucket":"You do not have the required permissions to configure this bucket. Please contact your MinIO administrator to request "+r.ac.BUCKET_ADMIN+" permisions.",children:(0,y.jsx)(m.$nd,{id:"configure-bucket-main",color:"primary","aria-label":"Configure Bucket",onClick:()=>p("/buckets/".concat(t,"/admin")),icon:(0,y.jsx)(m.Zes,{style:{width:20,height:20,marginTop:-3}}),style:{padding:"0 10px"}})})}),(0,y.jsx)(Ge.A,{})]}),middleComponent:b})})},Je=()=>{const e=(0,l.jL)(),t=(0,a.g)(),n=(0,a.zy)(),d=(0,o.d4)(e=>e.objectBrowser.loadingVersioning),u=(0,o.d4)(e=>e.objectBrowser.rewind.rewindEnabled),h=(0,o.d4)(e=>e.objectBrowser.rewind.dateToRewind),m=(0,o.d4)(e=>e.objectBrowser.showDeleted),x=(0,o.d4)(e=>e.objectBrowser.requestInProgress),p=(0,o.d4)(e=>e.objectBrowser.loadingLocking),j=(0,o.d4)(e=>e.objectBrowser.reloadObjectsList),b=(0,o.d4)(e=>e.objectBrowser.simplePath),g=(0,o.d4)(e=>e.system.anonymousMode),f=(0,o.d4)(e=>e.objectBrowser.selectedBucket),v=(0,o.d4)(e=>e.objectBrowser.records),_=t.bucketName||"",S=n.pathname.split("/browser/".concat(encodeURIComponent(_),"/")),O=2===S.length?decodeURIComponent(S[1]):"",T=(0,s.useCallback)(t=>{let n=(new Date).toISOString();null!==h&&u&&(n=h);e({type:"socket/OBRequest",payload:{bucketName:_,path:t,rewindMode:u||m,date:n}})},[_,m,h,u,e]),w=(0,s.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e((0,c.cQ)({status:!1}));let n=O;O.endsWith("/")||""===O||(n="".concat(O.split("/").slice(0,-1).join("/"),"/")),"/"===n&&(n=""),(n!==b||_!==f||t)&&(e((0,c.u)(!0)),T(n))},[O,e,b,f,_,T]);(0,s.useEffect)(()=>()=>{e({type:"socket/OBCancelLast"})},[e]),(0,s.useEffect)(()=>{e((0,c.vn)(!0)),O.endsWith("/")||""===O?(e((0,c.TO)(!1)),e((0,c.A7)(null)),e((0,c.Qy)(!0))):(e((0,c.oe)(!0)),e((0,c.TO)(!0)),e((0,c.SK)(!0)),e((0,c.A7)(O||"")))},[_,O,h,u,e]),(0,s.useEffect)(()=>{w(!1)},[w]),(0,s.useEffect)(()=>{j&&0===v.length&&!x&&w(!0)},[j,v,x,w]);const C=(0,Re.A)(_,[r.OV.S3_LIST_BUCKET,r.OV.S3_ALL_LIST_BUCKET])||g;return(0,s.useEffect)(()=>{d&&!g&&(C?i.F.buckets.getBucketVersioning(_).then(t=>{e((0,c.AP)(t.data)),e((0,c.vn)(!1))}).catch(t=>{console.error("Error Getting Object Versioning Status: ",t.error.detailedMessage),e((0,c.vn)(!1))}):(e((0,c.vn)(!1)),e((0,c.A3)())))},[_,d,e,C,g]),(0,s.useEffect)(()=>{p&&(C?i.F.buckets.getBucketObjectLockingStatus(_).then(t=>{e((0,c.xW)(t.data.object_locking_enabled)),e((0,c.Qy)(!1))}).catch(t=>{console.error("Error Getting Object Locking Status: ",t.error.detailedMessage),e((0,c.Qy)(!1))}):(e((0,c.A3)()),e((0,c.Qy)(!1))))},[_,p,e,C]),(0,y.jsxs)(s.Fragment,{children:[!g&&(0,y.jsx)(Me,{bucketName:_}),(0,y.jsx)(De,{})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/1715.27bf60ec.chunk.js b/web-app/build/static/js/1715.27bf60ec.chunk.js deleted file mode 100644 index c82e8f53bb..0000000000 --- a/web-app/build/static/js/1715.27bf60ec.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[1715,9459],{7174:(e,t,n)=>{n.d(t,{Ck:()=>l,PE:()=>r,Qm:()=>c,Xm:()=>s,uu:()=>d});var i=n(89379),o=(n(9950),n(89132)),a=n(44414);const l=[{icon:(0,a.jsx)(o.DzZ,{}),configuration_id:"region",configuration_label:"Region"},{icon:(0,a.jsx)(o.MZJ,{}),configuration_id:"compression",configuration_label:"Compression"},{icon:(0,a.jsx)(o.loI,{}),configuration_id:"api",configuration_label:"API"},{icon:(0,a.jsx)(o.qm4,{}),configuration_id:"heal",configuration_label:"Heal"},{icon:(0,a.jsx)(o.Pq3,{}),configuration_id:"scanner",configuration_label:"Scanner"},{icon:(0,a.jsx)(o.RYV,{}),configuration_id:"etcd",configuration_label:"Etcd"},{icon:(0,a.jsx)(o.D0K,{}),configuration_id:"logger_webhook",configuration_label:"Logger Webhook"},{icon:(0,a.jsx)(o.rBG,{}),configuration_id:"audit_webhook",configuration_label:"Audit Webhook"},{icon:(0,a.jsx)(o.Dk$,{}),configuration_id:"audit_kafka",configuration_label:"Audit Kafka"}],r={region:[{name:"name",required:!0,label:"Server Location",tooltip:'Name of the location of the server e.g. "us-west-rack2"',type:"string",placeholder:"e.g. us-west-rack-2"},{name:"comment",required:!1,label:"Comment",tooltip:"You can add a comment to this setting",type:"comment",placeholder:"Enter custom notes if any"}],compression:[{name:"extensions",required:!1,label:"Extensions",tooltip:'Extensions to compress e.g. ".txt", ".log" or ".csv" - you can write one per field',type:"csv",placeholder:"Enter an Extension",withBorder:!0},{name:"mime_types",required:!1,label:"Mime Types",tooltip:'Mime types e.g. "text/*", "application/json" or "application/xml" - you can write one per field',type:"csv",placeholder:"Enter a Mime Type",withBorder:!0}],api:[{name:"requests_max",required:!1,label:"Requests Max",tooltip:"Maximum number of concurrent requests, e.g. '1600'",type:"number",placeholder:"Enter Requests Max"},{name:"cors_allow_origin",required:!1,label:"Cors Allow Origin",tooltip:"List of origins allowed for CORS requests",type:"csv",placeholder:"Enter allowed origin e.g. https://example.com"},{name:"replication_workers",required:!1,label:"Replication Workers",tooltip:"Number of replication workers, defaults to 100",type:"number",placeholder:"Enter Replication Workers"},{name:"replication_failed_workers",required:!1,label:"Replication Failed Workers",tooltip:"Number of replication workers for recently failed replicas, defaults to 4",type:"number",placeholder:"Enter Replication Failed Workers"}],heal:[{name:"bitrotscan",required:!1,label:"Bitrot Scan",tooltip:"Perform bitrot scan on disks when checking objects during scanner",type:"on|off"},{name:"max_sleep",required:!1,label:"Max Sleep",tooltip:"Maximum sleep duration between objects to slow down heal operation, e.g. 2s",type:"duration",placeholder:"Enter Max Sleep Duration"},{name:"max_io",required:!1,label:"Max IO",tooltip:"Maximum IO requests allowed between objects to slow down heal operation, e.g. 3",type:"number",placeholder:"Enter Max IO"}],scanner:[{name:"delay",required:!1,label:"Delay Multiplier",tooltip:"Scanner delay multiplier, defaults to '10.0'",type:"number",placeholder:"Enter Delay"},{name:"max_wait",required:!1,label:"Max Wait",tooltip:"Maximum wait time between operations, defaults to '15s'",type:"duration",placeholder:"Enter Max Wait"},{name:"cycle",required:!1,label:"Cycle",tooltip:"Time duration between scanner cycles, defaults to '1m'",type:"duration",placeholder:"Enter Cycle"}],etcd:[{name:"endpoints",required:!0,label:"Endpoints",tooltip:'List of etcd endpoints e.g. "http://localhost:2379" - you can write one per field',type:"csv",placeholder:"Enter Endpoint"},{name:"path_prefix",required:!1,label:"Path Prefix",tooltip:'Namespace prefix to isolate tenants e.g. "customer1/"',type:"string",placeholder:"Enter Path Prefix"},{name:"coredns_path",required:!1,label:"Coredns Path",tooltip:'Shared bucket DNS records, default is "/skydns"',type:"string",placeholder:"Enter Coredns Path"},{name:"client_cert",required:!1,label:"Client Cert",tooltip:"Client cert for mTLS authentication",type:"string",placeholder:"Enter Client Cert"},{name:"client_cert_key",required:!1,label:"Client Cert Key",tooltip:"Client cert key for mTLS authentication",type:"string",placeholder:"Enter Client Cert Key"},{name:"comment",required:!1,label:"Comment",tooltip:"You can add a comment to this setting",type:"comment",multiline:!0,placeholder:"Enter custom notes if any"}],logger_webhook:[{name:"endpoint",required:!0,label:"Endpoint",type:"string",placeholder:"Enter Endpoint"},{name:"auth_token",required:!0,label:"Auth Token",type:"string",placeholder:"Enter Auth Token"}],audit_webhook:[{name:"endpoint",required:!0,label:"Endpoint",type:"string",placeholder:"Enter Endpoint"},{name:"auth_token",required:!0,label:"Auth Token",type:"string",placeholder:"Enter Auth Token"}],audit_kafka:[{name:"enable",required:!1,label:"Enable",tooltip:"Enable audit_kafka target",type:"on|off",customValueProcess:e=>""===e||"on"===e?"on":"off"},{name:"brokers",required:!0,label:"Brokers",type:"csv",placeholder:"Enter Kafka Broker"},{name:"topic",required:!1,label:"Topic",type:"string",placeholder:"Enter Kafka Topic",tooltip:"Kafka topic used for bucket notifications"},{name:"sasl",required:!1,label:"Use SASL",tooltip:"Enable SASL (Simple Authentication and Security Layer) authentication",type:"on|off"},{name:"sasl_username",required:!1,label:"SASL Username",type:"string",placeholder:"Enter SASL Username",tooltip:"Username for SASL/PLAIN or SASL/SCRAM authentication"},{name:"sasl_password",required:!1,label:"SASL Password",type:"password",placeholder:"Enter SASL Password",tooltip:"Password for SASL/PLAIN or SASL/SCRAM authentication"},{name:"sasl_mechanism",required:!1,label:"SASL Mechanism",type:"string",placeholder:"Enter SASL Mechanism",tooltip:"SASL authentication mechanism"},{name:"tls",required:!1,label:"Use TLS",tooltip:"Enable TLS (Transport Layer Security)",type:"on|off"},{name:"tls_skip_verify",required:!1,label:"Skip TLS Verification",tooltip:"Trust server TLS without verification",type:"on|off"},{name:"client_tls_cert",required:!1,label:"Client Cert",tooltip:"Client cert for mTLS authentication",type:"string",placeholder:"Enter Client Cert"},{name:"client_tls_key",required:!1,label:"Client Cert Key",tooltip:"Client cert key for mTLS authentication",type:"string",placeholder:"Enter Client Cert Key"},{name:"tls_client_auth",required:!1,label:"TLS Client Auth",tooltip:"ClientAuth determines the Kafka server's policy for TLS client authorization",type:"string"},{name:"version",required:!1,label:"Version",tooltip:"Specify the version of the Kafka cluster",type:"string"}]},s=e=>e.filter(e=>""!==e.value),c=(e,t,n)=>{const i=e.target,o=i.value;let a=[...n];return i.checked?a.push(o):a=a.filter(e=>e!==o),t(a),a},d=e=>{let t={};return e.forEach(e=>{if(e.env_override){const n={value:e.env_override.value||"",overrideEnv:e.env_override.name||""};t=(0,i.A)((0,i.A)({},t),{},{[e.key]:n})}}),t}},18120:(e,t,n)=>{n.d(t,{A:()=>u});var i=n(9950),o=n(70444),a=n(48965),l=n(49534),r=n(89132),s=n(49078),c=n(99491),d=n(44414);const u=e=>{let{configurationName:t,closeResetModalAndRefresh:n,resetOpen:u}=e;const p=(0,c.jL)(),[m,h]=(0,i.useState)(!1);(0,i.useEffect)(()=>{m&&o.F.configs.resetConfig(t).then(()=>{h(!1),n(!0)}).catch(e=>{h(!1),p((0,s.C9)((0,a.S)(e.error)))})},[n,t,m,p]);return(0,d.jsx)(l.A,{title:"Restore Defaults",confirmText:"Yes, Reset Configuration",isOpen:u,titleIcon:(0,d.jsx)(r.xWY,{}),isLoading:m,onConfirm:()=>{h(!0)},onClose:()=>{n(!1)},confirmationContent:(0,d.jsxs)(i.Fragment,{children:[m&&(0,d.jsx)(r.z21,{}),(0,d.jsxs)(i.Fragment,{children:["Are you sure you want to restore these configurations to default values?",(0,d.jsx)("br",{}),(0,d.jsx)("b",{style:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"},children:"Please note that this may cause your system to not be accessible"})]})]})})}},32680:(e,t,n)=>{n.d(t,{A:()=>d});var i=n(9950),o=n(98341),a=n(89132),l=n(99491),r=n(49078),s=n(96382),c=n(44414);const d=e=>{let{onClose:t,modalOpen:n,title:d,children:u,wideLimit:p=!0,titleIcon:m=null,iconColor:h="default",sx:f}=e;const x=(0,l.jL)(),[g,v]=(0,i.useState)(!1),b=(0,o.d4)(e=>e.system.modalSnackBar);(0,i.useEffect)(()=>{x((0,r.h0)(""))},[x]),(0,i.useEffect)(()=>{if(b){if(""===b.message)return void v(!1);"error"!==b.type&&v(!0)}},[b]);let y="";return b&&(y=b.detailedErrorMsg,(""===y||y&&y.length<5)&&(y=b.message)),(0,c.jsxs)(a.ngX,{onClose:t,open:n,title:d,titleIcon:m,widthLimit:p,sx:f,iconColor:h,children:[(0,c.jsx)(s.A,{isModal:!0}),(0,c.jsx)(a.qb_,{onClose:()=>{v(!1),x((0,r.h0)(""))},open:g,message:y,mode:"inline",variant:"error"===b.type?"error":"default",autoHideDuration:"error"===b.type?10:5,condensed:!0}),u]})}},49459:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var i=n(9950),o=n(89132),a=n(54235),l=n(44414);const r=(e,t,n)=>{let i="on|off"===t?"off":"";if(n.length>0){const t=n.find(t=>t.key===e);t&&(i=t.value||"")}return i},s=e=>{let{onChange:t,fields:n,defaultVals:s,overrideEnv:c}=e;const[d,u]=(0,i.useState)([]),p=n||[],m=s||[];(0,i.useEffect)(()=>{const e=n.map(e=>({key:e.name,value:r(e.name,e.type,m)}));u(e)},[n,s]),(0,i.useEffect)(()=>{t(d)},[d]);const h=(e,t,n)=>{const i=[...d];t=t.trim(),i[n]={key:e,value:t},u(i)},f=(e,t)=>{const n=d[t];if(n){const t=null===c||void 0===c?void 0:c["".concat(n.key)];if(t)return(0,l.jsx)(o.EmB,{label:e.label,actionButton:(0,l.jsx)(o.xA9,{item:!0,sx:{display:"flex",justifyContent:"flex-end",paddingRight:"10px"},children:(0,l.jsx)(o.m_M,{tooltip:"This value is set from the ".concat(t.overrideEnv," environment variable"),placement:"left",children:(0,l.jsx)(o.D0K,{style:{width:20}})})}),sx:{width:"100%"},children:t.value})}switch(e.type){case"on|off":const i=n?n.value:"off";return(0,l.jsx)(o.dOG,{onChange:n=>{const i=n.target.checked?"on":"off";h(e.name,i,t)},id:e.name,name:e.name,label:e.label,value:"switch_on",tooltip:e.tooltip,checked:"on"===i});case"csv":return(0,l.jsx)(a.A,{elements:n?n.value:"",label:e.label,name:e.name,onChange:n=>{let i="";i=Array.isArray(n)?n.join(","):n,h(e.name,i,t)},tooltip:e.tooltip,commonPlaceholder:e.placeholder,withBorder:!0});case"comment":return(0,l.jsx)(o.hFj,{id:e.name,name:e.name,label:e.label,tooltip:e.tooltip,value:n?n.value:"",onChange:n=>h(e.name,n.target.value,t),placeholder:e.placeholder});default:return(0,l.jsx)(o.cl_,{id:e.name,name:e.name,label:e.label,tooltip:e.tooltip,value:n?n.value:"",onChange:n=>h(e.name,n.target.value,t),placeholder:e.placeholder})}};return(0,l.jsx)(o.Hbc,{withBorders:!1,containerPadding:!1,children:p.map((e,t)=>(0,l.jsx)(i.Fragment,{children:f(e,t)},e.name))})}},54235:(e,t,n)=>{n.d(t,{A:()=>s});var i=n(9950),o=n(87946),a=n.n(o),l=n(89132),r=n(44414);const s=e=>{let{elements:t,name:n,label:o,tooltip:s="",commonPlaceholder:c="",onChange:d,withBorder:u=!1}=e;const[p,m]=(0,i.useState)([""]),h=(0,i.createRef)();(0,i.useEffect)(()=>{if(1===p.length&&""===p[0]&&t&&""!==t){const e=t.split(",");e.push(""),m(e)}},[t,p]),(0,i.useEffect)(()=>{if(p.length>1){const e=h.current;e&&e.scrollIntoView(!1)}},[p,h]);const f=(0,i.useCallback)(e=>{d(e)},[d]),x=(0,i.useRef)(!0);(0,i.useEffect)(()=>{if(x.current)return void(x.current=!1);const e=p.filter(e=>""!==e.trim()).join(",");f(e)},[p]);const g=e=>{e.persist();let t=[...p];const n=a()(e.target,"dataset.index","0");t[parseInt(n)]=e.target.value,m(t)},v=p.map((e,t)=>(0,r.jsx)(l.cl_,{id:"".concat(n,"-").concat(t.toString()),label:"",name:"".concat(n,"-").concat(t.toString()),value:p[t],onChange:g,index:t,placeholder:c,overlayIcon:t===p.length-1?(0,r.jsx)(l.REV,{}):null,overlayAction:()=>{(e=>{if(""!==e[e.length-1].trim()){const t=[...e];t.push(""),m(t)}})(p)}},"csv-multi-".concat(n,"-").concat(t.toString())));return(0,r.jsx)(i.Fragment,{children:(0,r.jsxs)(l.azJ,{sx:{display:"flex"},className:"inputItem",children:[(0,r.jsxs)(l.l1Y,{sx:{alignItems:"flex-start"},children:[(0,r.jsx)("span",{children:o}),""!==s&&(0,r.jsx)(l.azJ,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,r.jsx)(l.m_M,{tooltip:s,placement:"top",children:(0,r.jsx)(l.azJ,{className:s,children:(0,r.jsx)(l.NTw,{})})})})]}),(0,r.jsxs)(l.azJ,{withBorders:u,sx:{width:"100%",overflowY:"auto",height:150,position:"relative"},children:[v,(0,r.jsx)("div",{ref:h})]})]})})}},81715:(e,t,n)=>{n.r(t),n.d(t,{default:()=>D});var i=n(9950),o=n(89132),a=n(7174),l=n(28429),r=n(87946),s=n.n(r),c=n(98341),d=n(70444),u=n(48965),p=n(49078),m=n(99491),h=n(32680),f=n(45246),x=n(44414);const g=e=>{let{open:t,type:n,onCloseEndpoint:a}=e;const[l,r]=(0,i.useState)(""),[s,c]=(0,i.useState)(""),[g,v]=(0,i.useState)(""),[b,y]=(0,i.useState)(!1),[j,k]=(0,i.useState)(["name","endpoint"]),[C,_]=(0,i.useState)(["name","endpoint","auth-token"]),E=(0,m.jL)(),S=e=>{_(C.filter(t=>t!==e))},w=(e,t)=>{j.includes(e)&&t?k(j.filter(t=>t!==e)):t||j.includes(e)||k([...j,e])};let A="Add new Webhook",T=(0,x.jsx)(o.XC7,{});switch(n){case"logger_webhook":A="New Logger Webhook",T=(0,x.jsx)(o.D0K,{});break;case"audit_webhook":A="New Audit Webhook",T=(0,x.jsx)(o.rBG,{})}return(0,x.jsx)(i.Fragment,{children:(0,x.jsxs)(h.A,{modalOpen:t,title:A,onClose:a,titleIcon:T,children:[(0,x.jsxs)(o.Hbc,{containerPadding:!1,withBorders:!1,children:[(0,x.jsx)(o.cl_,{id:"name",name:"name",onChange:e=>{S("name"),r(e.target.value),w("name",e.target.validity.valid)},error:j.includes("name")&&!C.includes("name")?"Invalid Name":"",label:"Name",value:l,pattern:"^(?=.*[a-zA-Z0-9]).{1,}$",required:!0}),(0,x.jsx)(o.cl_,{id:"endpoint",name:"endpoint",onChange:e=>{S("endpoint"),c(e.target.value),w("endpoint",e.target.validity.valid)},error:j.includes("endpoint")&&!C.includes("endpoint")?"Invalid Endpoint set":"",label:"Endpoint",value:s,pattern:"^(https?):\\/\\/([a-zA-Z0-9\\-.]+)(:[0-9]+)?(\\/[a-zA-Z0-9_\\-.\\/]*)?$",required:!0}),(0,x.jsx)(o.cl_,{id:"auth-token",name:"auth-token",onChange:e=>{S("auth-token"),v(e.target.value)},label:"Auth Token",value:g})]}),b&&(0,x.jsx)(o.xA9,{item:!0,xs:12,sx:{marginBottom:10},children:(0,x.jsx)(o.z21,{})}),(0,x.jsxs)(o.xA9,{item:!0,xs:12,sx:f.Uz.modalButtonBar,children:[(0,x.jsx)(o.$nd,{id:"reset",type:"button",variant:"regular",disabled:b,onClick:a,label:"Cancel",sx:{marginRight:10}}),(0,x.jsx)(o.$nd,{id:"save-lifecycle",type:"submit",variant:"callAction",color:"primary",disabled:b||0!==j.length,label:"Save",onClick:()=>{if(b)return;if(0!==j.length)return;if(""===l.trim())return void k([...j,"name"]);if(""===s.trim())return void k([...j,"endpoint"]);y(!0);const e={key_values:[{key:"endpoint",value:s},{key:"auth_token",value:g}],arn_resource_id:l};d.F.configs.setConfig(n,e).then(e=>{y(!1),E((0,p.YR)(e.data.restart||!1)),e.data.restart||E((0,p.Hk)("Configuration saved successfully")),a(),E((0,p.TE)(!0))}).catch(e=>{y(!1),E((0,p.C9)((0,u.S)(e.error)))})}})]})]})})};var v=n(49534);const b=e=>{let{modalOpen:t,onClose:n,selectedARN:a}=e;const[l,r]=(0,i.useState)(!1),s=(0,m.jL)();(0,i.useEffect)(()=>{l&&d.F.configs.resetConfig(a).then(()=>{r(!1),s((0,p.YR)(!0)),s((0,p.TE)(!0)),n()}).catch(e=>{r(!1),s((0,p.C9)((0,u.S)(e.error)))})},[l,s,n,a]);const c=!a.includes(":");let h="Are you sure you want to delete the Configured Endpoint";return c&&(h="Are you sure you want to reset the Default"),(0,x.jsx)(v.A,{title:c?"Reset Default Webhook":"Delete Webhook",confirmText:c?"Reset":"Delete",isOpen:t,isLoading:l,onConfirm:()=>{r(!0)},titleIcon:(0,x.jsx)(o.xWY,{}),onClose:n,confirmationContent:(0,x.jsxs)(i.Fragment,{children:["".concat(h," "),(0,x.jsx)("strong",{children:a}),"?"]})})},y=e=>{var t,n,l,r,s,c;let{open:g,type:v,endpointInfo:b,onCloseEndpoint:y}=e;const[j,k]=(0,i.useState)(""),[C,_]=(0,i.useState)(""),[E,S]=(0,i.useState)(""),[w,A]=(0,i.useState)("on"),[T,q]=(0,i.useState)(!1),[L,R]=(0,i.useState)([]),I=(0,m.jL)();(0,i.useEffect)(()=>{if(b){const e=b.key_values.find(e=>"endpoint"===e.key),t=b.key_values.find(e=>"auth_token"===e.key),n=b.key_values.find(e=>"enable"===e.key);let i=[];if(e){const t=e.value;""===t?i.push("endpoint"):_(t)}if(t){const e=t.value;""===e?i.push("auth-token"):S(e)}n&&"off"===n.value&&A(n.value),k(b.name||""),R(i)}},[b]);const M=!j.includes(":"),B=b.key_values.filter(e=>!!e.env_override),F=(0,a.uu)(B);let D="Edit Webhook",N=(0,x.jsx)(o.XC7,{});switch(v){case"logger_webhook":D="Edit ".concat(M?" the Default ":"","Logger Webhook"),N=(0,x.jsx)(o.D0K,{});break;case"audit_webhook":D="Edit ".concat(M?" the Default ":"","Audit Webhook"),N=(0,x.jsx)(o.rBG,{})}return B.length>0&&(D="View env variable Webhook"),(0,x.jsx)(i.Fragment,{children:(0,x.jsx)(h.A,{modalOpen:g,title:"".concat(D).concat(M?"":" - ".concat(j)),onClose:y,titleIcon:N,children:(0,x.jsx)(o.Hbc,{withBorders:!1,containerPadding:!1,children:B.length>0?(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)(o.EmB,{label:"Enabled",sx:{width:"100%"},actionButton:(0,x.jsx)(o.xA9,{item:!0,sx:{display:"flex",justifyContent:"flex-end",paddingRight:"10px"},children:(0,x.jsx)(o.m_M,{tooltip:F.enable?"This value is set from the ".concat((null===(t=F.enable)||void 0===t?void 0:t.overrideEnv)||"N/A"," environment variable"):"",placement:"left",children:(0,x.jsx)(o.D0K,{style:{width:20}})})}),children:(null===(n=F.enable)||void 0===n?void 0:n.value)||"-"}),(0,x.jsx)(o.EmB,{label:"Endpoint",sx:{width:"100%"},actionButton:(0,x.jsx)(o.xA9,{item:!0,sx:{display:"flex",justifyContent:"flex-end",paddingRight:"10px"},children:(0,x.jsx)(o.m_M,{tooltip:F.enable?"This value is set from the ".concat((null===(l=F.endpoint)||void 0===l?void 0:l.overrideEnv)||"N/A"," environment variable"):"",placement:"left",children:(0,x.jsx)(o.D0K,{style:{width:20}})})}),children:(null===(r=F.endpoint)||void 0===r?void 0:r.value)||"-"}),(0,x.jsx)(o.EmB,{label:"Auth Token",sx:{width:"100%"},actionButton:(0,x.jsx)(o.xA9,{item:!0,sx:{display:"flex",justifyContent:"flex-end",paddingRight:"10px"},children:(0,x.jsx)(o.m_M,{tooltip:F.enable?"This value is set from the ".concat((null===(s=F.auth_token)||void 0===s?void 0:s.overrideEnv)||"N/A"," environment variable"):"",placement:"left",children:(0,x.jsx)(o.D0K,{style:{width:20}})})}),children:(null===(c=F.auth_token)||void 0===c?void 0:c.value)||"-"})]}):(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)(o.dOG,{onChange:e=>{const t=e.target.checked?"on":"off";A(t)},id:"endpoint_enabled",name:"endpoint_enabled",label:"Enabled",value:"switch_on",checked:"on"===w}),(0,x.jsx)(o.cl_,{id:"endpoint",name:"endpoint",onChange:e=>{_(e.target.value),((e,t)=>{L.includes(e)&&t?R(L.filter(t=>t!==e)):t||L.includes(e)||R([...L,e])})("endpoint",e.target.validity.valid)},error:L.includes("endpoint")?"Invalid Endpoint set":"",label:"Endpoint",value:C,pattern:"^(https?):\\/\\/([a-zA-Z0-9\\-.]+)(:[0-9]+)?(\\/[a-zA-Z0-9_\\-.\\/]*)?$",required:!0}),(0,x.jsx)(o.cl_,{id:"auth-token",name:"auth-token",onChange:e=>{S(e.target.value)},label:"Auth Token",value:E}),T&&(0,x.jsx)(o.xA9,{item:!0,xs:12,sx:{marginBottom:10},children:(0,x.jsx)(o.z21,{})}),(0,x.jsxs)(o.xA9,{item:!0,sx:f.Uz.modalButtonBar,children:[(0,x.jsx)(o.$nd,{id:"reset",type:"button",variant:"regular",disabled:T,onClick:y,label:"Cancel"}),(0,x.jsx)(o.$nd,{id:"save-lifecycle",type:"submit",variant:"callAction",color:"primary",disabled:T||0!==L.length,label:"Update",onClick:()=>{if(T)return;if(0!==L.length)return;if(!C||""===C.trim())return void R([...L,"endpoint"]);q(!0);const e={key_values:[{key:"endpoint",value:C},{key:"auth_token",value:E},{key:"enable",value:w}]};d.F.configs.setConfig(j,e).then(e=>{q(!1),I((0,p.YR)(e.data.restart||!1)),e.data.restart||I((0,p.Hk)("Configuration saved successfully")),y(),I((0,p.TE)(!0))}).catch(e=>{q(!1),I((0,p.C9)((0,u.S)(e.error)))})}})]})]})})})})},j=e=>{let{setResetConfigurationOpen:t,WebhookSettingslist:n,type:a}=e;const[l,r]=(0,i.useState)(!1),[s,c]=(0,i.useState)(!1),[d,u]=(0,i.useState)(!1),[p,m]=(0,i.useState)(""),[h,f]=(0,i.useState)(null),v=[{type:"view",onClick:e=>{e.name&&(u(!0),f(e))}},{type:"delete",onClick:e=>{e.name&&(c(!0),m(e.name))},disableButtonFunction:e=>{const t=n.find(t=>t.name===e);if(t){var i;const e=null===(i=t.key_values)||void 0===i?void 0:i.filter(e=>!!e.env_override);return!!(e&&e.length>0)}return!1}}];return(0,x.jsxs)(o.xA9,{container:!0,children:[l&&(0,x.jsx)(g,{open:l,type:a,onCloseEndpoint:()=>{r(!1)}}),s&&(0,x.jsx)(b,{modalOpen:s,onClose:()=>{c(!1),m("")},selectedARN:p,type:a}),d&&h&&(0,x.jsx)(y,{open:d,type:a,endpointInfo:h,onCloseEndpoint:()=>{u(!1),f(null)}}),(0,x.jsx)(o.xA9,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-end"},children:(0,x.jsx)(o.$nd,{id:"newWebhook",variant:"callAction",onClick:()=>{r(!0)},children:"New Endpoint"})}),(0,x.jsx)(o.xA9,{item:!0,xs:12,sx:{padding:"0 10px 10px"},children:(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)("h3",{children:"Currently Configured Endpoints"}),(0,x.jsx)(o.bQt,{columns:[{label:"Status",elementKey:"key_values",renderFunction:e=>{const t=e.find(e=>"enable"===e.key);if(null!==t&&void 0!==t&&t.env_override){const e=null!==t&&void 0!==t&&t.env_override.value&&"on"!==(null===t||void 0===t?void 0:t.env_override.value)&&null!==t&&void 0!==t&&t.env_override.value?"Disabled":"Enabled";return(0,x.jsxs)(o.xA9,{container:!0,sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyItems:"start",fontSize:"8px"},children:[(0,x.jsx)(o.D0K,{style:{fill:"#052F51",width:"14px"}}),e?"Enabled":"Disabled"]})}return t&&"on"!==t.value&&t.value?(0,x.jsxs)(o.xA9,{container:!0,sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyItems:"start",fontSize:"8px"},children:[(0,x.jsx)(o.lgW,{style:{fill:"#C83B51",width:14,height:14}}),"Disabled"]}):(0,x.jsxs)(o.xA9,{container:!0,sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyItems:"start",fontSize:"8px"},children:[(0,x.jsx)(o.JrA,{style:{fill:"#4CCB92",width:14,height:14}}),"Enabled"]})},width:50},{label:"Name",elementKey:"name"},{label:"Endpoint",elementKey:"key_values",renderFunction:e=>{const t=e.find(e=>"endpoint"===e.key);return t?t.env_override?t.env_override.value:t.value:""}}],itemActions:v,idField:"name",isLoading:!1,records:n,entityName:"endpoints",customPaperHeight:"calc(100vh - 750px)"})]})})]})};var k=n(49459),C=n(18120);const _=e=>{let{selectedConfiguration:t,className:n=""}=e;const r=(0,m.jL)(),h=(0,l.Zp)(),{pathname:f=""}=(0,l.zy)();let g=f.substring(f.lastIndexOf("/")+1);g="settings"===g?"region":g;const[v,b]=(0,i.useState)([]),[y,_]=(0,i.useState)(!1),[E,S]=(0,i.useState)([]),[w,A]=(0,i.useState)([]),[T,q]=(0,i.useState)(!1),[L,R]=(0,i.useState)({}),I=(0,c.d4)(e=>e.system.loadingConfigurations);(0,i.useEffect)(()=>{r((0,p.TE)(!0))},[g,r]),(0,i.useEffect)(()=>{if(I){const e=s()(t,"configuration_id",!1);if(e)return void d.F.configs.configInfo(e).then(t=>{A(t.data);let n=s()(t.data[0],"key_values",[]);const i=a.PE[e].map(e=>{const t=n.find(t=>t.key===e.name),i=(null===t||void 0===t?void 0:t.value)||"";return{key:e.name,value:e.customValueProcess?e.customValueProcess(i):i,env_override:null===t||void 0===t?void 0:t.env_override}});S(i),R((0,a.uu)(i)),r((0,p.TE)(!1))}).catch(e=>{r((0,p.TE)(!1)),r((0,p.C9)((0,u.S)(e.error)))});r((0,p.TE)(!1))}},[I,t,r]),(0,i.useEffect)(()=>{if(y){const e={key_values:(0,a.Xm)(v)};d.F.configs.setConfig(t.configuration_id,e).then(e=>{_(!1),r((0,p.YR)(e.data.restart||!1)),r((0,p.TE)(!0)),e.data.restart||r((0,p.Hk)("Configuration saved successfully"))}).catch(e=>{_(!1),r((0,p.C9)((0,u.S)(e.error)))})}},[y,r,t,v,h]);const M=(0,i.useCallback)(e=>{b(e)},[b]),B=()=>{q(!0)};return(0,x.jsx)(i.Fragment,{children:(0,x.jsxs)("div",{onMouseMove:()=>{r((0,p.ph)("settings_".concat(t.configuration_label)))},children:[T&&(0,x.jsx)(C.A,{configurationName:t.configuration_id,closeResetModalAndRefresh:e=>{q(!1),r((0,p.YR)(e)),e&&r((0,p.TE)(!0))},resetOpen:T}),I?(0,x.jsx)(o.xA9,{item:!0,xs:12,sx:{textAlign:"center",paddingTop:"15px"},children:(0,x.jsx)(o.aHM,{})}):(0,x.jsx)(o.azJ,{sx:{padding:"15px",height:"100%"},children:"logger_webhook"===t.configuration_id||"audit_webhook"===t.configuration_id?(0,x.jsx)(j,{WebhookSettingslist:w,setResetConfigurationOpen:B,type:t.configuration_id}):(0,x.jsx)(i.Fragment,{children:(0,x.jsxs)("form",{noValidate:!0,onSubmit:e=>{e.preventDefault(),_(!0)},className:n,style:{height:"100%",display:"flex",flexFlow:"column"},children:[(0,x.jsx)(o.xA9,{item:!0,xs:12,sx:{display:"grid",gridTemplateColumns:"1fr",gap:"10px"},children:(0,x.jsx)(k.default,{fields:a.PE[t.configuration_id],onChange:M,defaultVals:E,overrideEnv:L})}),(0,x.jsxs)(o.xA9,{item:!0,xs:12,sx:{paddingTop:"15px ",textAlign:"right",maxHeight:"60px",display:"flex",alignItems:"center",justifyContent:"flex-end"},children:[(0,x.jsx)(o.$nd,{type:"button",id:"restore-defaults",variant:"secondary",onClick:B,label:"Restore Defaults"}),"\xa0 \xa0",(0,x.jsx)(o.$nd,{id:"save",type:"submit",variant:"callAction",disabled:y,label:"Save"})]})]})})})]})})},E=()=>{const{pathname:e=""}=(0,l.zy)(),t=e.substring(e.lastIndexOf("/")+1),n=a.Ck.find(e=>e.configuration_id===t),i="".concat(t);return(0,x.jsx)(o.xA9,{item:!0,xs:12,sx:{height:"100%","& .identity_ldap, .api":{"& label":{minWidth:220,marginRight:0}}},children:n&&(0,x.jsx)(_,{className:"".concat(i),selectedConfiguration:n})})};var S=n(93598),w=n(82817),A=n(1531),T=n(59908),q=n(51536),L=n(30272);const R=()=>{const e=(0,c.wA)(),[t,n]=(0,A.A)(e=>{(0,T.OT)(new Blob([window.atob(e.value)]),"minio-server-config-".concat(q.c9.now().toFormat("LL-dd-yyyy-HH-mm-ss"),".conf"))},t=>{e((0,p.C9)(t))});return(0,x.jsx)(L.A,{tooltip:"Warning! The resulting file will contain server configuration information in plain text",children:(0,x.jsx)(o.$nd,{id:"export-config",onClick:()=>{n("GET","api/v1/configs/export")},icon:(0,x.jsx)(o.JMY,{}),label:"Export",variant:"regular",disabled:t})})},I=()=>{const e=(0,l.Zp)(),t=(0,c.wA)(),n=(0,c.d4)(e=>e.system.serverNeedsRestart),[a,r]=(0,i.useState)(void 0),s=(0,i.useRef)(null),[d,u]=(0,A.A)(e=>{t((0,p.YR)(!0)),r(!0)},e=>{t((0,p.C9)(e))});(0,i.useEffect)(()=>{!n&&a&&e(0)},[n,a,e]);return(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)("input",{type:"file",onChange:e=>{if(null===e||void 0===e||null===e.target.files||void 0===e.target.files)return;e.preventDefault();const[t]=e.target.files,n=new FormData,i=new Blob([t],{type:t.type});n.append("file",i,t.name),u("POST","api/v1/configs/import",n),e.target.value=""},style:{display:"none"},ref:s}),(0,x.jsx)(L.A,{tooltip:"The file must be valid and should have valid config values",children:(0,x.jsx)(o.$nd,{id:"import-config",onClick:()=>{s&&s.current&&s.current.click()},icon:(0,x.jsx)(o.s3U,{}),label:"Import",variant:"regular",disabled:d})})]})};var M=n(98167);const B=["region"],F=["cache"],D=()=>{const{pathname:e=""}=(0,l.zy)(),t=(0,m.jL)(),n=(0,l.Zp)(),[r,s]=(0,i.useState)([]),c=(0,i.useCallback)(async()=>{d.F.configs.listConfig().then(e=>{var t;if(e&&null!==e&&void 0!==e&&e.data&&null!==e&&void 0!==e&&null!==(t=e.data)&&void 0!==t&&t.configurations){var n;const t=((null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.configurations)||[]).reduce((e,t)=>{let{key:n=""}=t;return F.includes(n)||e.push(n),e},[]);s(t)}}).catch(e=>{t((0,p.C9)((0,u.S)(e)))})},[t]);(0,i.useEffect)(()=>{c(),t((0,p.ph)("settings_Region"))},[]);const h=a.Ck.filter(e=>{let{configuration_id:t}=e;return B.includes(t)||r.includes(t)||!r.length});return(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)(w.A,{label:"Configuration",actions:(0,x.jsx)(M.A,{})}),(0,x.jsxs)(o.Mxu,{children:[(0,x.jsxs)(o.xA9,{item:!0,xs:12,id:"settings-container",children:[(0,x.jsx)(o.lcx,{icon:(0,x.jsx)(o.Zes,{}),title:"MinIO Configuration:",actions:(0,x.jsxs)(o.azJ,{sx:{display:"flex",gap:10},children:[(0,x.jsx)(I,{}),(0,x.jsx)(R,{})]}),sx:{marginBottom:15}}),(0,x.jsx)(o.tUM,{currentTabOrPath:e,onTabClick:e=>{n(e)},useRouteTabs:!0,options:h.map(e=>{const{configuration_id:t,configuration_label:n,icon:i}=e;return{tabConfig:{id:"settings-tab-".concat(n),label:n,value:t,icon:i,to:(o=t,"".concat(S.zZ.SETTINGS,"/").concat(o))}};var o}),routes:(0,x.jsxs)(l.BV,{children:[h.map(e=>(0,x.jsx)(l.qh,{path:"".concat(e.configuration_id),element:(0,x.jsx)(E,{})},"configItem-".concat(e.configuration_label))),(0,x.jsx)(l.qh,{path:"/",element:(0,x.jsx)(l.C5,{to:"".concat(S.zZ.SETTINGS,"/region")})})]})})]}),(0,x.jsx)(o.xA9,{item:!0,xs:12,sx:{paddingTop:"15px"},children:(0,x.jsx)(o.lVp,{title:"Learn more about Configurations",iconComponent:(0,x.jsx)(o.Zes,{}),help:(0,x.jsxs)(i.Fragment,{children:["MinIO supports a variety of configurations ranging from encryption, compression, region, notifications, etc.",(0,x.jsx)("br",{}),(0,x.jsx)("br",{}),"You can learn more at our"," ",(0,x.jsx)("a",{href:"https://min.io/docs/minio/linux/reference/minio-mc-admin/mc-admin-config.html#id4",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})})]})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/1869.0f80c90a.chunk.js b/web-app/build/static/js/1869.0f80c90a.chunk.js deleted file mode 100644 index 3ac2830f19..0000000000 --- a/web-app/build/static/js/1869.0f80c90a.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[1869],{32680:(e,t,l)=>{l.d(t,{A:()=>d});var a=l(9950),s=l(98341),n=l(89132),i=l(99491),o=l(49078),r=l(96382),c=l(44414);const d=e=>{let{onClose:t,modalOpen:l,title:d,children:u,wideLimit:x=!0,titleIcon:m=null,iconColor:h="default",sx:f}=e;const p=(0,i.jL)(),[b,j]=(0,a.useState)(!1),v=(0,s.d4)(e=>e.system.modalSnackBar);(0,a.useEffect)(()=>{p((0,o.h0)(""))},[p]),(0,a.useEffect)(()=>{if(v){if(""===v.message)return void j(!1);"error"!==v.type&&j(!0)}},[v]);let g="";return v&&(g=v.detailedErrorMsg,(""===g||g&&g.length<5)&&(g=v.message)),(0,c.jsxs)(n.ngX,{onClose:t,open:l,title:d,titleIcon:m,widthLimit:x,sx:f,iconColor:h,children:[(0,c.jsx)(r.A,{isModal:!0}),(0,c.jsx)(n.qb_,{onClose:()=>{j(!1),p((0,o.h0)(""))},open:b,message:g,mode:"inline",variant:"error"===v.type?"error":"default",autoHideDuration:"error"===v.type?10:5,condensed:!0}),u]})}},81869:(e,t,l)=>{l.r(t),l.d(t,{default:()=>m});var a=l(89379),s=l(9950),n=l(89132),i=l(49078),o=l(99491),r=l(70444),c=l(5501),d=l(32680),u=l(45246),x=l(44414);const m=e=>{let{open:t,selectedBucket:l,closeModalAndRefresh:m}=e;const h=(0,o.jL)(),[f,p]=(0,s.useState)(!1),[b,j]=(0,s.useState)(""),[v,g]=(0,s.useState)(""),[A,C]=(0,s.useState)(""),[S,k]=(0,s.useState)([]),[E,y]=(0,s.useState)([]),w=(0,s.useCallback)(()=>{p(!0),r.F.admin.arnList().then(e=>{null!==e.data.arns&&y(e.data.arns),p(!1)}).catch(e=>{p(!1),h((0,i.Dy)(e))})},[h]);(0,s.useEffect)(()=>{w()},[w]);const R=[{label:"PUT - Object Uploaded",value:c.Wj.Put},{label:"GET - Object accessed",value:c.Wj.Get},{label:"DELETE - Object Deleted",value:c.Wj.Delete},{label:"REPLICA - Object Replicated",value:c.Wj.Replica},{label:"ILM - Object Transitioned",value:c.Wj.Ilm},{label:"SCANNER - Object has too many versions / Prefixes has too many sub-folders",value:c.Wj.Scanner}],I=null===E||void 0===E?void 0:E.map(e=>({label:e,value:e}));return(0,x.jsx)(d.A,{modalOpen:t,onClose:()=>{m()},title:"Subscribe To Bucket Events",titleIcon:(0,x.jsx)(n.VDx,{}),children:(0,x.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),f||(p(!0),r.F.buckets.createBucketEvent(l,{configuration:{arn:A,events:S,prefix:b,suffix:v},ignoreExisting:!0}).then(()=>{p(!1),m()}).catch(e=>{p(!1),h((0,i.Dy)(e))}))},children:(0,x.jsxs)(n.xA9,{container:!0,children:[(0,x.jsxs)(n.xA9,{item:!0,xs:12,sx:u.a_.formScrollable,children:[(0,x.jsx)(n.xA9,{item:!0,xs:12,sx:(0,a.A)((0,a.A)({},u.h$.formFieldRow),{},{"& div div .MuiOutlinedInput-root":{padding:0}}),children:(0,x.jsx)(n.jT8,{onChange:e=>{C(e)},id:"select-access-policy",name:"select-access-policy",label:"ARN",value:A,options:I||[],helpTip:(0,x.jsx)(s.Fragment,{children:(0,x.jsx)("a",{target:"blank",href:"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html",children:"Amazon Resource Name"})})})}),(0,x.jsx)(n.xA9,{item:!0,xs:12,sx:u.h$.formFieldRow,children:(0,x.jsx)(n.cl_,{id:"prefix-input",name:"prefix-input",label:"Prefix",value:b,onChange:e=>{j(e.target.value)}})}),(0,x.jsx)(n.xA9,{item:!0,xs:12,sx:u.h$.formFieldRow,children:(0,x.jsx)(n.cl_,{id:"suffix-input",name:"suffix-input",label:"Suffix",value:v,onChange:e=>{g(e.target.value)}})}),(0,x.jsx)(n.xA9,{item:!0,xs:12,sx:u.h$.formFieldRow,children:(0,x.jsx)(n.bQt,{columns:[{label:"Event",elementKey:"label"}],idField:"value",records:R,onSelect:e=>{const t=e.target,l=t.value,a=t.checked;let s=[...S];a?s.push(l):s=s.filter(e=>e!==l),k(s)},selectedItems:S,noBackground:!0,customPaperHeight:"260px"})})]}),(0,x.jsxs)(n.xA9,{item:!0,xs:12,sx:u.Uz.modalButtonBar,children:[(0,x.jsx)(n.$nd,{id:"cancel-add-event",type:"button",variant:"regular",disabled:f,onClick:()=>{m()},label:"Cancel"}),(0,x.jsx)(n.$nd,{id:"save-event",type:"submit",variant:"callAction",disabled:f||""===A||0===S.length,label:"Save"})]})]})})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/1988.2b6fa00d.chunk.js b/web-app/build/static/js/1988.2b6fa00d.chunk.js deleted file mode 100644 index 360c638f32..0000000000 --- a/web-app/build/static/js/1988.2b6fa00d.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[1988],{11988:(e,t,n)=>{n.r(t),n.d(t,{default:()=>x});var l=n(9950),s=n(89132),a=n(70444),i=n(48965),r=n(49078),c=n(99491),o=n(54235),d=n(45246),u=n(44414);const x=e=>{let{closeVersioningModalAndRefresh:t,modalOpen:n,selectedBucket:x,versioningInfo:h={},objectLockingEnabled:g}=e;const p=(0,c.jL)(),[f,m]=(0,l.useState)(!1),[b,j]=(0,l.useState)("Enabled"===(null===h||void 0===h?void 0:h.status)),[v,k]=(0,l.useState)(!(null===h||void 0===h||!h.excludeFolders)),[w,C]=(0,l.useState)((e=>{const t=null===e||void 0===e?void 0:e.excludedPrefixes;return t?t.map(e=>e.prefix).join(","):""})(h));return(0,u.jsx)(s.ngX,{onClose:()=>t(!1),open:n,title:"Versioning on Bucket",children:(0,u.jsxs)(s.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,u.jsx)(s.dOG,{id:"activateVersioning",label:"Versioning Status",checked:b,onChange:e=>{j(e.target.checked)},indicatorLabels:["Enabled","Disabled"]}),b&&!g&&(0,u.jsxs)(l.Fragment,{children:[(0,u.jsx)(s.dOG,{id:"excludeFolders",label:"Exclude Folders",checked:v,onChange:e=>{k(e.target.checked)},indicatorLabels:["Enabled","Disabled"]}),(0,u.jsx)(o.A,{elements:w,label:"Excluded Prefixes",name:"excludedPrefixes",onChange:e=>{let t="";t=Array.isArray(e)?e.join(","):e,C(t)},withBorder:!0})]}),(0,u.jsxs)(s.azJ,{sx:d.Uz.modalButtonBar,children:[(0,u.jsx)(s.$nd,{id:"clear",type:"button",variant:"regular",color:"primary",onClick:()=>{C(""),k(!1),j(!1)},label:"Clear"}),(0,u.jsx)(s.$nd,{type:"submit",variant:"callAction",onClick:()=>{f||(m(!0),a.F.buckets.setBucketVersioning(x,{enabled:b,excludeFolders:!!b&&v,excludePrefixes:b?w.split(",").filter(e=>""!==e.trim()):[]}).then(()=>{m(!1),t(!0)}).catch(e=>{m(!1),p((0,r.C9)((0,i.S)(e.error)))}))},id:"saveTag",label:"Save"})]})]})})}},54235:(e,t,n)=>{n.d(t,{A:()=>c});var l=n(9950),s=n(87946),a=n.n(s),i=n(89132),r=n(44414);const c=e=>{let{elements:t,name:n,label:s,tooltip:c="",commonPlaceholder:o="",onChange:d,withBorder:u=!1}=e;const[x,h]=(0,l.useState)([""]),g=(0,l.createRef)();(0,l.useEffect)(()=>{if(1===x.length&&""===x[0]&&t&&""!==t){const e=t.split(",");e.push(""),h(e)}},[t,x]),(0,l.useEffect)(()=>{if(x.length>1){const e=g.current;e&&e.scrollIntoView(!1)}},[x,g]);const p=(0,l.useCallback)(e=>{d(e)},[d]),f=(0,l.useRef)(!0);(0,l.useEffect)(()=>{if(f.current)return void(f.current=!1);const e=x.filter(e=>""!==e.trim()).join(",");p(e)},[x]);const m=e=>{e.persist();let t=[...x];const n=a()(e.target,"dataset.index","0");t[parseInt(n)]=e.target.value,h(t)},b=x.map((e,t)=>(0,r.jsx)(i.cl_,{id:"".concat(n,"-").concat(t.toString()),label:"",name:"".concat(n,"-").concat(t.toString()),value:x[t],onChange:m,index:t,placeholder:o,overlayIcon:t===x.length-1?(0,r.jsx)(i.REV,{}):null,overlayAction:()=>{(e=>{if(""!==e[e.length-1].trim()){const t=[...e];t.push(""),h(t)}})(x)}},"csv-multi-".concat(n,"-").concat(t.toString())));return(0,r.jsx)(l.Fragment,{children:(0,r.jsxs)(i.azJ,{sx:{display:"flex"},className:"inputItem",children:[(0,r.jsxs)(i.l1Y,{sx:{alignItems:"flex-start"},children:[(0,r.jsx)("span",{children:s}),""!==c&&(0,r.jsx)(i.azJ,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,r.jsx)(i.m_M,{tooltip:c,placement:"top",children:(0,r.jsx)(i.azJ,{className:c,children:(0,r.jsx)(i.NTw,{})})})})]}),(0,r.jsxs)(i.azJ,{withBorders:u,sx:{width:"100%",overflowY:"auto",height:150,position:"relative"},children:[b,(0,r.jsx)("div",{ref:g})]})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/2258.40327c01.chunk.js b/web-app/build/static/js/2258.40327c01.chunk.js deleted file mode 100644 index 17ab369a32..0000000000 --- a/web-app/build/static/js/2258.40327c01.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2258],{1144:(e,t,n)=>{n.d(t,{A:()=>d});n(9950);var i=n(19335),a=n(87946),l=n.n(a),o=n(89132),s=n(44414);const r=i.Ay.div(e=>{let{theme:t}=e;return{fontFamily:"Inter,sans-serif",maxWidth:"321px",display:"flex",marginLeft:"auto",marginRight:"auto",cursor:"default",color:l()(t,"signalColors.main","#07193E"),"& .mainBox":{flex:1,display:"flex",padding:"0 8px 0 8px",["@media (max-width: ".concat(o.nmC.sm,"px)")]:{padding:"0 10px 0 10px"},"& .indicatorIcon":{width:"20px",height:"20px",marginTop:"8px",maxWidth:"26px","& .min-icon":{width:"16px",height:"16px"}},"& .indicatorContainer":{flex:1,display:"flex",flexFlow:"column","& .indicatorLabel":{fontSize:"16px",fontWeight:600},"& .counterIndicator":{display:"flex",alignItems:"center",gap:"5px",justifyContent:"space-between",paddingBottom:0,fontSize:"55px",["@media (max-width: ".concat(o.nmC.sm,"px)")]:{paddingBottom:10,fontSize:"35px"},["@media (max-width: ".concat(o.nmC.lg,"px)")]:{fontSize:"45px"},["@media (max-width: ".concat(o.nmC.xl,"px)")]:{fontSize:"50px"},flexFlow:"row",fontWeight:600,"& .stat-text":{color:l()(t,"mutedText","#87888D"),fontSize:"12px",marginTop:"8px"},"& .stat-value":{textAlign:"center",height:"50px"},"& .min-icon":{marginRight:"8px",marginTop:"8px",height:"10px",width:"10px"}},"& .onlineCounter":{display:"flex",alignItems:"center",marginTop:"5px","& .min-icon":{fill:l()(t,"signalColors.good","#4CCB92")}},"& .offlineCount":{display:"flex",alignItems:"center",marginTop:"8px","& .min-icon":{fill:l()(t,"signalColors.danger","#C51B3F")}}}}}}),d=e=>{let{onlineCount:t=0,offlineCount:n=0,icon:i=null,label:a="",okStatusText:l="Online",notOkStatusText:d="Offline"}=e;return(0,s.jsx)(r,{children:(0,s.jsxs)(o.azJ,{className:"mainBox",children:[(0,s.jsxs)(o.azJ,{className:"indicatorContainer",children:[(0,s.jsx)(o.azJ,{className:"indicatorLabel",children:a}),(0,s.jsxs)(o.azJ,{className:"counterIndicator",children:[(0,s.jsxs)(o.azJ,{children:[(0,s.jsx)(o.azJ,{className:"stat-value",children:t}),(0,s.jsxs)(o.azJ,{className:"onlineCounter",children:[(0,s.jsx)(o.GQ2,{}),(0,s.jsx)("div",{className:"stat-text",children:l})]})]}),(0,s.jsxs)(o.azJ,{children:[(0,s.jsx)(o.azJ,{className:"stat-value",children:n}),(0,s.jsxs)(o.azJ,{className:"offlineCount",children:[(0,s.jsx)(o.GQ2,{})," ",(0,s.jsx)("div",{className:"stat-text",children:d})]})]})]})]}),(0,s.jsx)(o.azJ,{className:"indicatorIcon",children:i})]})})}},32680:(e,t,n)=>{n.d(t,{A:()=>c});var i=n(9950),a=n(98341),l=n(89132),o=n(99491),s=n(49078),r=n(96382),d=n(44414);const c=e=>{let{onClose:t,modalOpen:n,title:c,children:x,wideLimit:m=!0,titleIcon:p=null,iconColor:g="default",sx:h}=e;const u=(0,o.jL)(),[f,j]=(0,i.useState)(!1),C=(0,a.d4)(e=>e.system.modalSnackBar);(0,i.useEffect)(()=>{u((0,s.h0)(""))},[u]),(0,i.useEffect)(()=>{if(C){if(""===C.message)return void j(!1);"error"!==C.type&&j(!0)}},[C]);let y="";return C&&(y=C.detailedErrorMsg,(""===y||y&&y.length<5)&&(y=C.message)),(0,d.jsxs)(l.ngX,{onClose:t,open:n,title:c,titleIcon:p,widthLimit:m,sx:h,iconColor:g,children:[(0,d.jsx)(r.A,{isModal:!0}),(0,d.jsx)(l.qb_,{onClose:()=>{j(!1),u((0,s.h0)(""))},open:f,message:y,mode:"inline",variant:"error"===C.type?"error":"default",autoHideDuration:"error"===C.type?10:5,condensed:!0}),x]})}},75054:(e,t,n)=>{n.d(t,{CS:()=>o,Ez:()=>i,WJ:()=>a,Zb:()=>l});const i={RED:"#C83B51",GREEN:"#4CCB92",YELLOW:"#FFBD62"},a=(e,t)=>e<=t/2?"bad":2!==t&&e===t/2+1?"warn":e===t?"good":void 0,l=e=>{switch(e){case"offline":return"bad";case"online":return"good";default:return"warn"}},o=(e,t)=>e<=t/2?"bad":e===t/2+1?"warn":e===t?"good":void 0},77517:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(9950),a=n(89132),l=n(44414);const o=e=>{let{timeStart:t,setTimeStart:n,timeEnd:o,setTimeEnd:s,triggerSync:r,label:d="Filter:",startLabel:c="Start Time:",endLabel:x="End Time:"}=e;return(0,l.jsx)(a.xA9,{item:!0,xs:12,sx:{"& .filter-date-input-label, .end-time-input-label":{display:"none"},"& .MuiInputBase-adornedEnd.filter-date-date-time-input":{width:"100%",border:"1px solid #eaeaea",paddingLeft:"8px",paddingRight:"8px",borderRadius:"1px"},"& .MuiInputAdornment-root button":{height:"20px",width:"20px",marginRight:"5px"},"& .filter-date-input-wrapper":{height:"30px",width:"100%","& .MuiTextField-root":{height:"30px",width:"90%","& input.Mui-disabled":{color:"#000000",WebkitTextFillColor:"#101010"}}}},children:(0,l.jsxs)(a.azJ,{sx:{display:"grid",height:40,alignItems:"center",gridTemplateColumns:"auto 2fr auto",padding:0,["@media (max-width: ".concat(a.nmC.sm,"px)")]:{padding:5},["@media (max-width: ".concat(a.nmC.md,"px)")]:{gridTemplateColumns:"1fr",height:"auto"},gap:"5px"},children:[(0,l.jsx)(a.azJ,{sx:{fontSize:"14px",fontWeight:500,marginRight:"5px"},className:"muted",children:d}),(0,l.jsxs)(a.azJ,{customBorderPadding:"0px",sx:{display:"grid",height:40,alignItems:"center",gridTemplateColumns:"1fr 1fr",gap:"8px",paddingLeft:"8px",paddingRight:"8px",["@media (max-width: ".concat(a.nmC.md,"px)")]:{height:"auto",gridTemplateColumns:"1fr"}},children:[(0,l.jsx)(a.e8j,{value:t,onChange:n,id:"stTime",secondsSelector:!1,pickerStartComponent:(0,l.jsxs)(i.Fragment,{children:[(0,l.jsx)(a.b1c,{}),(0,l.jsx)("span",{children:c})]})}),(0,l.jsx)(a.e8j,{value:o,onChange:s,id:"endTime",secondsSelector:!1,pickerStartComponent:(0,l.jsxs)(i.Fragment,{children:[(0,l.jsx)(a.b1c,{}),(0,l.jsx)("span",{children:x})]})})]}),r&&(0,l.jsx)(a.azJ,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"flex-end"},children:(0,l.jsx)(a.$nd,{id:"sync",type:"button",variant:"callAction",onClick:r,icon:(0,l.jsx)(a.Fjq,{}),label:"Sync"})})]})})}},82258:(e,t,n)=>{n.r(t),n.d(t,{default:()=>lt});var i=n(9950),a=n(98341),l=n(99491),o=n(75021),s=n(86070),r=n(49078),d=n(89132),c=n(89379),x=n(87946),m=n.n(x);let p=function(e){return e.singleValue="singleValue",e.linearGraph="linearGraph",e.areaGraph="areaGraph",e.barChart="barChart",e.pieChart="pieChart",e.singleRep="singleRep",e.simpleWidget="simpleWidget",e}({});var g=n(59908),h=n(44414);const u=["#C4D4E9","#DCD1EE","#D1EEE7","#EEDED1","#AAF38F","#F9E6C5","#C83B51","#F4CECE","#D6D6D6"],f=e=>(0,g.hr)(e,"ns"),j=e=>parseInt(e).toString(10),C=[{id:1,title:"Uptime",data:"N/A",type:p.simpleWidget,widgetIcon:(0,h.jsx)(d.Owo,{}),labelDisplayFunction:g.hr},{id:50,title:"Capacity",data:[],dataOuter:[{name:"outer",value:100}],widgetConfiguration:{outerChart:{colorList:["#9c9c9c"],innerRadius:0,outerRadius:0,startAngle:0,endAngle:0},innerChart:{colorList:u,innerRadius:20,outerRadius:50,startAngle:90,endAngle:-200}},type:p.pieChart,innerLabel:"N/A",labelDisplayFunction:g.nO},{id:51,title:"Usable Capacity",data:[],dataOuter:[{name:"outer",value:100}],widgetConfiguration:{outerChart:{colorList:["#9c9c9c"],innerRadius:0,outerRadius:0,startAngle:0,endAngle:0},innerChart:{colorList:u,innerRadius:20,outerRadius:50,startAngle:90,endAngle:-200}},type:p.pieChart,innerLabel:"N/A",labelDisplayFunction:g.nO},{id:68,title:"Data Usage Growth",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.areaGraph,yAxisFormatter:g.nO,xAxisFormatter:g.yz},{id:52,title:"Object size distribution",data:[],widgetConfiguration:[{dataKey:"a",color:"#2781B0",background:{fill:"#EEF1F4"},greatestColor:"#081C42"}],customStructure:[{originTag:"LESS_THAN_1024_B",displayTag:"Less than 1024B"},{originTag:"BETWEEN_1024_B_AND_1_MB",displayTag:"Between 1024B and 1MB"},{originTag:"BETWEEN_1_MB_AND_10_MB",displayTag:"Between 1MB and 10MB"},{originTag:"BETWEEN_10_MB_AND_64_MB",displayTag:"Between 10MB and 64MB"},{originTag:"BETWEEN_64_MB_AND_128_MB",displayTag:"Between 64MB and 128MB"},{originTag:"BETWEEN_128_MB_AND_512_MB",displayTag:"Between 128MB and 512MB"},{originTag:"GREATER_THAN_512_MB",displayTag:"Greater than 512MB"}],type:p.barChart},{id:66,title:"Buckets",data:[],innerLabel:"N/A",type:p.singleRep,color:"#0071BC",fillColor:"#ADD5E0"},{id:44,title:"Objects",data:[],innerLabel:"N/A",type:p.singleRep,color:"#0071BC",fillColor:"#ADD5E0"},{id:63,title:"API Data Received Rate",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000",strokeWidth:3}],type:p.linearGraph,xAxisFormatter:g.yz,yAxisFormatter:g.nO},{id:61,title:"Total Open FDs",data:[],innerLabel:"N/A",type:p.singleRep,color:"#22B573",fillColor:"#A6E8C4"},{id:62,title:"Total Goroutines",data:[],innerLabel:"N/A",type:p.singleRep,color:"#F7655E",fillColor:"#F4CECE"},{id:77,title:"Node CPU Usage",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,yAxisFormatter:j,xAxisFormatter:g.yz},{id:60,title:"API Request Rate",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,yAxisFormatter:j,xAxisFormatter:g.yz},{id:70,title:"API Data Sent Rate",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,xAxisFormatter:g.yz,yAxisFormatter:g.nO},{id:17,title:"Internode Data Transfer",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,yAxisFormatter:g.nO,xAxisFormatter:g.yz},{id:73,title:"Node IO",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,yAxisFormatter:g.nO,xAxisFormatter:g.yz},{id:80,title:"Time Since Last Heal Activity",data:"N/A",type:p.simpleWidget,widgetIcon:(0,h.jsx)(d.Sdx,{}),labelDisplayFunction:f},{id:81,title:"Time Since Last Scan Activity",data:"N/A",type:p.simpleWidget,widgetIcon:(0,h.jsx)(d.KLX,{}),labelDisplayFunction:f},{id:71,title:"API Request Error Rate",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,xAxisFormatter:g.yz},{id:76,title:"Node Memory Usage",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,xAxisFormatter:g.yz,yAxisFormatter:g.nO},{id:74,title:"Drive Used Capacity",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,xAxisFormatter:g.yz,yAxisFormatter:g.nO},{id:82,title:"Drives Free Inodes",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,disableYAxis:!0,xAxisFormatter:g.yz},{id:11,title:"Node Syscalls",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,yAxisFormatter:j,xAxisFormatter:g.yz},{id:8,title:"Node File Descriptors",data:[],widgetConfiguration:[{dataKey:"",keyLabel:"",lineColor:"#000",fillColor:"#000"}],type:p.linearGraph,yAxisFormatter:j,xAxisFormatter:g.yz},{id:500,mergedPanels:[{id:53,title:"Online",data:"N/A",type:p.singleValue},{id:69,title:"Offline",data:"N/A",type:p.singleValue}],title:"Servers"},{id:501,mergedPanels:[{id:9,title:"Online",data:"N/A",type:p.singleValue},{id:78,title:"Offline",data:"N/A",type:p.singleValue}],title:"Drives"},{id:502,mergedPanels:[{id:65,title:"Upload",data:"N/A",type:p.singleValue,labelDisplayFunction:g.nO},{id:64,title:"Download",data:"N/A",type:p.singleValue,labelDisplayFunction:g.nO}],title:"Network"}],y=(e,t)=>{if(0===e.length)return["","0"];if("mean"===t){const t=e.reduce((e,t)=>e+parseFloat(t[1]),0);return["",Math.floor(t/e.length).toString()]}{const t=e.sort((e,t)=>e[0]-t[0]);return t[t.length-1]}},v=(e,t)=>{if(!e)return t;const n=e.type;switch(t.type){case p.singleValue:case p.simpleWidget:if("stat"===n||"singlestat"===n){let n=m()(e,"targets[0].result[0].values",[]);null===n&&(n=[]);const i=m()(e,"options.reduceOptions.calcs[0]","lastNotNull"),a=y(n,i),l=t.labelDisplayFunction?t.labelDisplayFunction(a[1]):a[1];return(0,c.A)((0,c.A)({},t),{},{data:l})}break;case p.pieChart:if("gauge"===n){const n=m()(e,"options.reduceOptions.calcs[0]","lastNotNull");let i=m()(e,"targets",[]).filter(e=>null!==e);const a=i.map(e=>(e.result&&Array.isArray(e.result)?e.result:[]).map(t=>{const n=m()(t,"values",[]),i=Object.keys(t.metric),a=n.sort((e,t)=>parseInt(e[0][1])-parseInt(t[0][1])),l=t.metric[i[0]],o=a[a.length-1];return{name:l,value:parseInt(o[1]),legend:e.legendFormat}})),l=i[0].result&&i[0].result.length>0?i[0].result[0].values:[],o=y(l,n),s=t.labelDisplayFunction?t.labelDisplayFunction(o[1]):o[1];return(0,c.A)((0,c.A)({},t),{},{data:a,innerLabel:s})}break;case p.linearGraph:case p.areaGraph:if("graph"===n){let n=m()(e,"targets",[]);null===n&&(n=[]);const i=[],a=[];n.forEach((e,t)=>{let n=m()(e,"result",[]);const l=e.legendFormat;null===n&&(n=[]),n.forEach(e=>{const n=((e,t)=>{const n=Object.keys(e),i=new RegExp("{{(".concat(n.join("|"),")}}"),"g");let a=t.replace(i,t=>{const n=t.replace(/({{|}})/g,"");return e[n]});const l=(a.match(/{{/g)||[]).length,o=(a.match(/}}/g)||[]).length;let s=a.replace(/{{(.*?)}}/g,"");return l===o&&0!==l&&0!==o&&(n.forEach(t=>{a=a.replace(t,e[t])}),s=a),s})(e.metric,l),o="key_".concat(t).concat(n);i.push({dataKey:o,keyLabel:n,lineColor:"",fillColor:""});let s=m()(e,"values",[]);null===s&&(s=[]),s.forEach(e=>{const t=a.findIndex(t=>t.name===e[0]);if(-1===t){let t={name:e[0]};t[o]=e[1],a.push(t)}else a[t][o]=e[1]})})});const l=i.sort((e,t)=>e.keyLabelt.keyLabel?1:0).map((e,t)=>(0,c.A)((0,c.A)({},e),{},{lineColor:u[t]||(0,g.h4)(e.keyLabel),fillColor:u[t]||(0,g.h4)(e.keyLabel)})),o=a.sort((e,t)=>e.name-t.name);return(0,c.A)((0,c.A)({},t),{},{widgetConfiguration:l,data:o})}break;case p.barChart:if("bargauge"===n){let n=m()(e,"targets[0].result",[]);null===n&&(n=[]);const i=(e,t)=>e[0]-t[0];let a=[];return a=t.customStructure?t.customStructure.map(e=>{const t=n.find(t=>t.metric.range===e.originTag),a=m()(t,"values",[]).sort(i),l=a[a.length-1]||["","0"];return{name:e.displayTag,a:parseInt(l[1])}}):n.map(e=>{const t=Object.keys(e.metric),n=e.metric[t[0]],a=m()(e,"values",[]).sort(i),l=a[a.length-1]||["","0"];return{name:n,a:parseInt(l[1])}}),(0,c.A)((0,c.A)({},t),{},{data:a})}break;case p.singleRep:if("stat"===n){let n=m()(e,"targets[0].result[0].values",[]);null===n&&(n=[]);const i=m()(e,"options.reduceOptions.calcs[0]","lastNotNull"),a=y(n,i),l=n.sort((e,t)=>e[0]-t[0]);let o=[];1===l.length&&o.push({value:0}),l.forEach(e=>{o.push({value:parseInt(e[1])})});const s=t.labelDisplayFunction?t.labelDisplayFunction(a[1]):a[1];return(0,c.A)((0,c.A)({},t),{},{data:o,innerLabel:s})}}return t},w=e=>{const t=e.split(" "),n=()=>{let t=e;return isNaN(parseFloat(e))||(t=(0,g.dq)(parseFloat(e))),(0,h.jsx)(i.Fragment,{children:t})};return 2!==t.length?n():g.MD.includes(t[1])?(0,h.jsxs)("span",{className:"commonValue",children:[t[0],(0,h.jsx)("span",{className:"unitText",children:t[1]})]}):n()};var b=n(19335),z=n(81095),S=n(80294),A=n(60158),I=n(44813),T=n(85706),J=n(72528),F=n(16335),N=n(45246),E=n(14216);const L=e=>{let{panelItem:t}=e;const n=(0,l.jL)();return(0,h.jsx)(d.azJ,{sx:{alignItems:"right",gap:"10px","& .link-text":{color:"#2781B0",fontSize:"12px",fontWeight:600},"& .zoom-graph-icon":{backgroundColor:"transparent",border:0,padding:0,cursor:"pointer","& svg":{color:"#D0D0D0",height:16},"&:hover":{"& svg":{color:"#404143"}}}},children:(0,h.jsx)("button",{onClick:()=>{n((0,E.ZQ)(t))},className:"zoom-graph-icon",children:(0,h.jsx)(d.mSu,{})})})};var k=n(66318);const W=e=>{let{title:t,componentRef:n,data:a}=e;const[o,s]=i.useState(null),c=Boolean(o),x=(0,l.jL)(),m=()=>{if(null!==a&&a.length>0)((e,t)=>{let n=document.createElement("a");n.setAttribute("href","data:text/plain;charset=utf-8,"+t),n.setAttribute("download",e),n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n)})(null!==t?(t+"_"+Date.now().toString()+".csv").replace(/\s+/g,"").trim().toLowerCase():"widgetData_"+Date.now().toString()+".csv",(e=a,[Object.keys(e[0])].concat(e).map(e=>Object.values(e).toString()).join("\n")));else{let e;e={errorMessage:"Unable to download widget data",detailedError:"Unable to download widget data - data not available"},(e=>{x((0,r.C9)(e))})(e)}var e},p=e=>{"csv"===e?m():"png"===e&&(()=>{if(null!==t){const e=(t+"_"+Date.now().toString()+".png").replace(/\s+/g,"").trim().toLowerCase();(0,k.exportComponentAsPNG)(n,{fileName:e})}else{const e="widgetData_"+Date.now().toString()+".png";(0,k.exportComponentAsPNG)(n,{fileName:e})}})()};return(0,h.jsx)(i.Fragment,{children:(0,h.jsxs)(d.azJ,{sx:{justifyItems:"center","& .download-icon":{backgroundColor:"transparent",border:0,padding:0,cursor:"pointer","& svg":{color:"#D0D0D0",height:16},"&:hover":{"& svg":{color:"#404143"}}}},children:[(0,h.jsx)("button",{className:"download-icon",onClick:e=>{s(e.currentTarget)},children:(0,h.jsx)(d.s3U,{})}),(0,h.jsx)(d.Vey,{id:"download-widget-main-menu",options:[{label:"Download as CSV",value:"csv"},{label:"Download as PNG",value:"png"}],selectedOption:"",onSelect:e=>p(e),hideTriggerAction:()=>{s(null)},open:c,anchorEl:o,anchorOrigin:"end"})]})})},B=e=>{let{active:t,payload:n,label:i,barChartConfiguration:a}=e;return t?(0,h.jsxs)(d.azJ,{sx:N.VI.customTooltip,children:[(0,h.jsx)(d.azJ,{sx:N.VI.timeStampTitle,children:i}),n&&n.map((e,t)=>(0,h.jsxs)(d.azJ,{sx:N.VI.labelContainer,children:[(0,h.jsx)(d.azJ,{sx:N.VI.labelColor,style:{backgroundColor:a[t].color}}),(0,h.jsx)(d.azJ,{sx:(0,c.A)((0,c.A)({},N.VI.itemValue),{},{"& span.valueContainer":(0,c.A)({},N.VI.valueContainer)}),children:(0,h.jsx)("span",{className:"valueContainer",children:e.value})})]},"pltiem-".concat(t,"-").concat(i)))]}):null};var D=n(2586);const R=b.Ay.div(e=>{let{theme:t}=e;return(0,c.A)((0,c.A)({},(0,N.yE)(t)),{},{loadingAlign:{width:"100%",paddingTop:"15px",textAlign:"center",margin:"auto"}})}),M=e=>{let{y:t,payload:n}=e;return(0,h.jsx)("text",{width:50,fontSize:"69.7%",textAnchor:"start",fill:"#333",transform:"translate(5,".concat(t,")"),fontWeight:400,dy:3,children:n.value})},O=e=>{let{title:t,panelItem:n,timeStart:o,timeEnd:s,apiPrefix:c,zoomActivated:x=!1}=e;const m=(0,l.jL)(),[p,g]=(0,i.useState)(!1),[u,f]=(0,i.useState)([]),[j,C]=(0,i.useState)(null),[y,w]=(0,i.useState)(!1),[b,N]=(0,i.useState)(window.innerWidth>=d.nmC.md),E=(0,i.useRef)(null),k=(0,a.d4)(e=>e.dashboard.widgetLoadVersion);(0,i.useEffect)(()=>{g(!0)},[k]),(0,i.useEffect)(()=>{const e=()=>{let e=!1;window.innerWidth>=d.nmC.md&&(e=!0),N(e)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,i.useEffect)(()=>{if(p){let e=0;if(null!==o&&null!==s){const t=s.toUnixInteger()-o.toUnixInteger(),n=Math.floor(t/60);e=n<1?15:n}D.A.invoke("GET","/api/v1/".concat(c,"/info/widgets/").concat(n.id,"/?step=").concat(e,"&").concat(null!==o?"&start=".concat(o.toUnixInteger()):"").concat(null!==o&&null!==s?"&":"").concat(null!==s?"end=".concat(s.toUnixInteger()):"")).then(e=>{const t=v(e,n);f(t.data),C(t),g(!1)}).catch(e=>{m((0,r.C9)(e)),g(!1)})}},[p,n,s,o,m,c]);const O=j?j.widgetConfiguration:[];let U=0,V=0;if(1===O.length){const e=O[0];u.forEach((t,n)=>{t[e.dataKey]>V&&(V=t[e.dataKey],U=n)})}return(0,h.jsx)(R,{children:(0,h.jsxs)(d.azJ,{className:x?"":"singleValueContainer",onMouseOver:()=>{w(!0)},onMouseLeave:()=>{w(!1)},children:[!x&&(0,h.jsxs)(d.xA9,{container:!0,children:[(0,h.jsx)(d.xA9,{item:!0,xs:10,sx:{alignItems:"start",justifyItems:"start"},children:(0,h.jsx)("div",{className:"titleContainer",children:t})}),(0,h.jsx)(d.xA9,{item:!0,xs:1,sx:{display:"flex",justifyContent:"flex-end"},children:y&&(0,h.jsx)(L,{panelItem:n})}),(0,h.jsx)(d.xA9,{item:!0,xs:1,sx:{display:"flex",justifyContent:"flex-end"},children:(0,h.jsx)(W,{title:t,componentRef:E,data:u})})]}),p&&(0,h.jsx)(d.azJ,{className:"loadingAlign",children:(0,h.jsx)(d.aHM,{})}),!p&&(0,h.jsx)("div",{ref:E,className:x?"zoomChartCont":"contentContainer",children:(0,h.jsx)(z.u,{width:"99%",children:(0,h.jsxs)(S.E,{data:u,layout:"vertical",barCategoryGap:1,children:[(0,h.jsx)(A.W,{type:"number",hide:!0}),(0,h.jsx)(I.h,{dataKey:"name",type:"category",interval:0,tick:(0,h.jsx)(M,{}),tickLine:!1,axisLine:!1,width:150,hide:!b,style:{fontSize:"12px",fontWeight:100}}),O.map(e=>(0,h.jsx)(T.y,{dataKey:e.dataKey,fill:e.color,background:e.background,barSize:x?25:12,children:1===O.length?(0,h.jsx)(i.Fragment,{children:u.map((t,n)=>(0,h.jsx)(J.f,{fill:n===U?e.greatestColor:e.color},"chart-bar-".concat(n.toString())))}):null},"bar-".concat(e.dataKey))),(0,h.jsx)(F.m,{cursor:{fill:"rgba(255, 255, 255, 0.3)"},content:(0,h.jsx)(B,{barChartConfiguration:O})})]})})})]})})};var U=n(68354),V=n(93245),P=n(10734);const G=e=>{let{active:t,payload:n,label:i,linearConfiguration:a,yAxisFormatter:l}=e;return t?(0,h.jsxs)(d.azJ,{sx:N.VI.customTooltip,children:[(0,h.jsx)(d.azJ,{sx:N.VI.timeStampTitle,children:(0,g.yz)(i,!0)}),n&&n.map((e,t)=>(0,h.jsxs)(d.azJ,{sx:N.VI.labelContainer,children:[(0,h.jsx)(d.azJ,{sx:N.VI.labelColor,style:{backgroundColor:a[t].lineColor}}),(0,h.jsx)(d.azJ,{sx:(0,c.A)((0,c.A)({},N.VI.itemValue),{},{"& span.valueContainer":(0,c.A)({},N.VI.valueContainer)}),children:(0,h.jsxs)("span",{className:"valueContainer",children:[a[t].keyLabel,":"," ",l(e.value)]})})]},"lbPl-".concat(t,"-").concat(a[t].keyLabel)))]}):null},_=b.Ay.div(e=>{let{theme:t}=e;return(0,c.A)((0,c.A)({},(0,N.yE)(t)),{},{"& .chartCont":{position:"relative",height:140,width:"100%"},"& .legendChart":{display:"flex",flexDirection:"column",flex:"0 1 auto",maxHeight:130,margin:0,overflowY:"auto",position:"relative",textAlign:"center",width:"100%",justifyContent:"flex-start",color:m()(t,"mutedText","#87888d"),fontWeight:"bold",fontSize:12,["@media (max-width: ".concat(d.nmC.md,"px)")]:{display:"none"}},"& .loadingAlign":{width:40,height:40,textAlign:"center",margin:"15px auto"}})}),K=e=>{let{title:t,timeStart:n,timeEnd:o,panelItem:s,apiPrefix:x,hideYAxis:m=!1,areaWidget:p=!1,yAxisFormatter:g=e=>e,xAxisFormatter:u=(e,t,n)=>e,zoomActivated:f=!1}=e;const j=(0,l.jL)(),[C,y]=(0,i.useState)(!1),[w,b]=(0,i.useState)(!1),[S,T]=(0,i.useState)([]),[J,N]=(0,i.useState)([]),[E,k]=(0,i.useState)(0),[B,R]=(0,i.useState)(null),M=(0,a.d4)(e=>e.dashboard.widgetLoadVersion),O=(0,i.useRef)(null);(0,i.useEffect)(()=>{y(!0)},[M]),(0,i.useEffect)(()=>{if(C){let e=0;if(null!==n&&null!==o){const t=o.toUnixInteger()-n.toUnixInteger(),i=Math.floor(t/60);e=i<1?15:i}D.A.invoke("GET","/api/v1/".concat(x,"/info/widgets/").concat(s.id,"/?step=").concat(e,"&").concat(null!==n?"&start=".concat(n.toUnixInteger()):"").concat(null!==n&&null!==o?"&":"").concat(null!==o?"end=".concat(o.toUnixInteger()):"")).then(e=>{const t=v(e,s);T(t.data),R(t),y(!1);let n=0;for(const i of t.data)for(const e in i){if("name"===e)continue;let t=parseInt(i[e]);isNaN(t)&&(t=0),n{j((0,r.C9)(e)),y(!1)})}},[C,s,o,n,j,x]);let K=Math.floor(S.length/5);(0,i.useEffect)(()=>{const e=S.map(e=>{const t=new Date(1e3*(null===e||void 0===e?void 0:e.name));return(0,c.A)((0,c.A)({},e),{},{name:t})});N(e)},[S]);const H=B?null===B||void 0===B?void 0:B.widgetConfiguration:[],Q=e=>{const{cx:t,cy:n,index:i}=e;return i%3!==0?null:(0,h.jsx)("circle",{cx:t,cy:n,r:3,strokeWidth:0,fill:"#07264A"})};let q=!1;return f&&(q=!0),(0,h.jsx)(_,{children:(0,h.jsxs)(d.azJ,{className:f?"":"singleValueContainer",onMouseOver:()=>{b(!0)},onMouseLeave:()=>{b(!1)},children:[!f&&(0,h.jsxs)(d.xA9,{container:!0,children:[(0,h.jsx)(d.xA9,{item:!0,xs:10,sx:{alignItems:"start"},children:(0,h.jsx)(d.azJ,{className:"titleContainer",children:t})}),(0,h.jsx)(d.xA9,{item:!0,xs:1,sx:{display:"flex",justifyContent:"flex-end",alignContent:"flex-end"},children:w&&(0,h.jsx)(L,{panelItem:s})}),(0,h.jsx)(d.xA9,{item:!0,xs:1,sx:{display:"flex",justifyContent:"flex-end"},children:null!==O&&(0,h.jsx)(W,{title:t,componentRef:O,data:J})})]}),(0,h.jsx)("div",{ref:O,children:(0,h.jsxs)(d.azJ,{sx:f?{flexDirection:"column"}:{height:"100%",display:"grid",gridTemplateColumns:"1fr 1fr",["@media (max-width: ".concat(d.nmC.md,"px)")]:{gridTemplateColumns:"1fr"}},style:p?{gridTemplateColumns:"1fr"}:{},children:[C&&(0,h.jsx)(d.aHM,{className:"loadingAlign"}),!C&&(0,h.jsxs)(i.Fragment,{children:[(0,h.jsx)(d.azJ,{className:f?"zoomChartCont":"chartCont",children:(0,h.jsx)(z.u,{width:"99%",children:(0,h.jsxs)(U.Q,{data:S,margin:{top:5,right:20,left:m?20:5,bottom:0},children:[p&&(0,h.jsx)("defs",{children:(0,h.jsxs)("linearGradient",{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,h.jsx)("stop",{offset:"0%",stopColor:"#2781B0",stopOpacity:1}),(0,h.jsx)("stop",{offset:"100%",stopColor:"#ffffff",stopOpacity:0}),(0,h.jsx)("stop",{offset:"95%",stopColor:"#ffffff",stopOpacity:.8})]})}),(0,h.jsx)(V.d,{strokeDasharray:p?"2 2":"5 5",strokeWidth:1,strokeOpacity:1,stroke:"#eee0e0",vertical:!p}),(0,h.jsx)(A.W,{dataKey:"name",tickFormatter:e=>u(e,q,!0),interval:K,tick:{fontSize:"68%",fontWeight:"normal",color:"#404143"},tickCount:10,stroke:"#082045"}),(0,h.jsx)(I.h,{type:"number",domain:[0,1.1*E],hide:m,tickFormatter:e=>g(e),tick:{fontSize:"68%",fontWeight:"normal",color:"#404143"},stroke:"#082045"}),H.map((e,t)=>(0,h.jsx)(P.G,{type:"monotone",dataKey:e.dataKey,isAnimationActive:!1,stroke:p?"#D7E5F8":e.lineColor,fill:p?"url(#colorUv)":e.fillColor,fillOpacity:p?.65:0,strokeWidth:p?0:3,strokeLinecap:"round",dot:!!p&&(0,h.jsx)(Q,{})},"area-".concat(e.dataKey,"-").concat(t.toString()))),(0,h.jsx)(F.m,{content:(0,h.jsx)(G,{linearConfiguration:H,yAxisFormatter:g}),wrapperStyle:{zIndex:5e3}})]})})}),!p&&(0,h.jsxs)(i.Fragment,{children:[f&&(0,h.jsxs)(i.Fragment,{children:[(0,h.jsx)("strong",{children:"Series"}),(0,h.jsx)("br",{}),(0,h.jsx)("br",{})]}),(0,h.jsx)(d.azJ,{className:"legendChart",children:H.map((e,t)=>(0,h.jsxs)(d.azJ,{className:"singleLegendContainer",children:[(0,h.jsx)(d.azJ,{className:"colorContainer",style:{backgroundColor:e.lineColor}}),(0,h.jsx)(d.azJ,{className:"legendLabel",children:e.keyLabel})]},"legend-".concat(e.keyLabel,"-").concat(t.toString())))})]})]})]})})]})})};var H=n(67360),Q=n(54203);const q=b.Ay.div(e=>{let{theme:t}=e;return(0,c.A)((0,c.A)({},(0,N.yE)(t)),{},{"& .loadingAlign":{width:"100%",paddingTop:"15px",textAlign:"center",margin:"auto"},"& .pieChartLabel":{fontSize:60,color:m()(t,"signalColors.main","#07193E"),fontWeight:"bold",width:"100%","& .unitText":{color:m()(t,"mutedText","#87888d"),fontSize:12}},"& .chartContainer":{width:"100%",height:140}})}),Y=e=>{let{title:t,panelItem:n,timeStart:o,timeEnd:s,apiPrefix:c}=e;const x=(0,l.jL)(),[p,g]=(0,i.useState)(!1),[u,f]=(0,i.useState)([]),[j,C]=(0,i.useState)([]),[y,b]=(0,i.useState)(null),S=(0,a.d4)(e=>e.dashboard.widgetLoadVersion);(0,i.useEffect)(()=>{g(!0)},[S]),(0,i.useEffect)(()=>{if(p){let e=0;if(null!==o&&null!==s){const t=s.toUnixInteger()-o.toUnixInteger(),n=Math.floor(t/60);e=n<1?15:n}D.A.invoke("GET","/api/v1/".concat(c,"/info/widgets/").concat(n.id,"/?step=").concat(e,"&").concat(null!==o?"&start=".concat(o.toUnixInteger()):"").concat(null!==o&&null!==s?"&":"").concat(null!==s?"end=".concat(s.toUnixInteger()):"")).then(e=>{const t=v(e,n);f(t.data),C(t.dataOuter),b(t),g(!1)}).catch(e=>{x((0,r.C9)(e)),g(!1)})}},[p,n,s,o,x,c]);const A=y?y.widgetConfiguration:[],I=null===y||void 0===y?void 0:y.innerLabel,T=m()(A,"innerChart.colorList",[]),F=m()(A,"outerChart.colorList",[]);return(0,h.jsx)(q,{children:(0,h.jsxs)(d.azJ,{className:"singleValueContainer",children:[(0,h.jsx)(d.azJ,{className:"titleContainer",children:t}),p&&(0,h.jsx)(d.azJ,{className:"loadingAlign",children:(0,h.jsx)(d.aHM,{})}),!p&&(0,h.jsxs)(d.azJ,{className:"contentContainer",children:[(0,h.jsx)("span",{className:"pieChartLabel",children:I&&w(I)}),(0,h.jsx)(d.azJ,{className:"chartContainer",children:(0,h.jsx)(z.u,{width:"99%",children:(0,h.jsxs)(H.r,{margin:{top:5,bottom:5},children:[j&&(0,h.jsx)(Q.F,{data:j,cx:"50%",cy:"50%",dataKey:"value",innerRadius:m()(A,"outerChart.innerRadius",0),outerRadius:m()(A,"outerChart.outerRadius","80%"),startAngle:m()(A,"outerChart.startAngle",0),endAngle:m()(A,"outerChart.endAngle",360),fill:"#201763",children:j.map((e,t)=>(0,h.jsx)(J.f,{fill:"undefined"===typeof F[t]?"#393939":F[t]},"cellOuter-".concat(t)))}),u&&(0,h.jsx)(Q.F,{data:u,dataKey:"value",cx:"50%",cy:"50%",innerRadius:m()(A,"innerChart.innerRadius",0),outerRadius:m()(A,"innerChart.outerRadius","80%"),startAngle:m()(A,"innerChart.startAngle",0),endAngle:m()(A,"innerChart.endAngle",360),fill:"#201763",children:u.map((e,t)=>(0,h.jsx)(J.f,{fill:"undefined"===typeof T[t]?"#393939":T[t]},"cell-".concat(t)))})]})})})]})]})})},X=b.Ay.span(e=>{let{theme:t}=e;return{display:"inline-flex",color:m()(t,"signalColors.main","#07193E"),alignItems:"center","& .icon":{color:m()(t,"signalColors.main","#07193E"),fill:m()(t,"signalColors.main","#07193E"),marginRight:5,marginLeft:12},"& .widgetLabel":{fontWeight:"bold",textTransform:"uppercase",marginRight:10},"& .widgetValue":{marginRight:25}}}),Z=e=>{let{iconWidget:t,title:n,panelItem:o,timeStart:s,timeEnd:c,apiPrefix:x,renderFn:m}=e;const p=(0,l.jL)(),[g,u]=(0,i.useState)(!1),[f,j]=(0,i.useState)(""),C=(0,a.d4)(e=>e.dashboard.widgetLoadVersion);return(0,i.useEffect)(()=>{u(!0)},[C]),(0,i.useEffect)(()=>{if(g){let e=0;if(null!==s&&null!==c){const t=c.toUnixInteger()-s.toUnixInteger(),n=Math.floor(t/60);e=n<1?15:n}D.A.invoke("GET","/api/v1/".concat(x,"/info/widgets/").concat(o.id,"/?step=").concat(e,"&").concat(null!==s?"&start=".concat(s.toUnixInteger()):"").concat(null!==s&&null!==c?"&":"").concat(null!==c?"end=".concat(c.toUnixInteger()):"")).then(e=>{const t=v(e,o);j(t.data),u(!1)}).catch(e=>{p((0,r.C9)(e)),u(!1)})}},[g,o,c,s,p,x]),m?m({valueToRender:f,loading:g,title:n,id:o.id,iconWidget:t}):(0,h.jsxs)(i.Fragment,{children:[g&&(0,h.jsx)("div",{className:"loadingAlign",children:(0,h.jsx)(d.aHM,{})}),!g&&(0,h.jsxs)(X,{children:[(0,h.jsx)("span",{className:"icon",children:t||null}),(0,h.jsxs)("span",{className:"widgetLabel",children:[n,": "]}),(0,h.jsx)("span",{className:"widgetValue",children:f})]})]})},$=e=>{let{children:t}=e;return(0,h.jsx)(d.azJ,{withBorders:!0,sx:{borderRadius:"3px",padding:15,height:136,maxWidth:"100%",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{padding:5,height:"auto"},["@media (max-width: ".concat(d.nmC.md,"px)")]:{display:"flex",flexFlow:"column",maxWidth:"initial"}},children:t})},ee=b.Ay.div(e=>{let{theme:t}=e;return{fontFamily:"Inter,sans-serif",color:m()(t,"signalColors.main","#07193E"),maxWidth:"300px",display:"flex",marginLeft:"auto",marginRight:"auto",cursor:"default",position:"relative",width:"100%"}}),te=e=>{let{value:t,label:n="",icon:i=null,loading:a=!1}=e;return(0,h.jsx)(ee,{children:(0,h.jsxs)(d.azJ,{sx:{flex:1,display:"flex",width:"100%",padding:"0 8px 0 8px",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{padding:"0 10px 0 10px"}},children:[(0,h.jsxs)(d.azJ,{sx:{flex:1,display:"flex",flexFlow:"column",marginTop:"12px",zIndex:10,overflow:"hidden"},children:[(0,h.jsx)(d.azJ,{sx:{fontSize:"16px",fontWeight:600},children:n}),(0,h.jsx)(d.m_M,{tooltip:t,placement:"bottom",children:(0,h.jsx)(d.azJ,{sx:{fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",maxWidth:187,flexFlow:"row",fontSize:55,["@media (max-width: ".concat(d.nmC.sm,"px)")]:{fontSize:35,maxWidth:200,flexFlow:"column"},["@media (max-width: ".concat(d.nmC.md,"px)")]:{fontSize:35},["@media (max-width: ".concat(d.nmC.lg,"px)")]:{fontSize:36},["@media (max-width: ".concat(d.nmC.xl,"px)")]:{fontSize:50}},children:t})})]}),(0,h.jsx)(d.azJ,{sx:{display:"flex",flexFlow:"column",alignItems:"center",justifyContent:"flex-start",marginTop:"8px",maxWidth:"26px","& .min-icon":{width:"16px",height:"16px"}},children:a?(0,h.jsx)(d.aHM,{style:{width:"16px",height:"16px"}}):i})]})})},ne=e=>{let{title:t,value:n,loading:i}=e;return(0,h.jsx)(te,{label:t,icon:(0,h.jsx)(d.brV,{}),value:n,loading:i})},ie=e=>{let{title:t,value:n,loading:i}=e;return(0,h.jsx)(te,{label:t,icon:(0,h.jsx)(d.Sxe,{}),value:n,loading:i})},ae=(0,a.Ng)(null,{setErrorSnackMessage:r.C9})(e=>{let{title:t,panelItem:n,timeStart:o,timeEnd:s,propLoading:d,apiPrefix:c}=e;const x=(0,l.jL)(),[m,p]=(0,i.useState)(!1),[u,f]=(0,i.useState)(null),j=(0,a.d4)(e=>e.dashboard.widgetLoadVersion);(0,i.useEffect)(()=>{p(!0)},[j]),(0,i.useEffect)(()=>{if(m){let e=0;if(null!==o&&null!==s){const t=s.toUnixInteger()-o.toUnixInteger(),n=Math.floor(t/60);e=n<1?15:n}D.A.invoke("GET","/api/v1/".concat(c,"/info/widgets/").concat(n.id,"/?step=").concat(e,"&").concat(null!==o?"&start=".concat(o.toUnixInteger()):"").concat(null!==o&&null!==s?"&":"").concat(null!==s?"end=".concat(s.toUnixInteger()):"")).then(e=>{const t=v(e,n);f(t),p(!1)}).catch(e=>{x((0,r.C9)(e)),p(!1)})}},[m,n,s,o,x,c]);let C="";if(u){const e=parseInt(u.innerLabel||"0");C=isNaN(e)?"0":(0,g.dq)(e)}return 66===(y=n.id)?(0,h.jsx)($,{children:(0,h.jsx)(ne,{loading:m,title:t,value:u?C:""})}):44===y?(0,h.jsx)($,{children:(0,h.jsx)(ie,{loading:m,title:t,value:u?C:""})}):null;var y}),le=b.Ay.div(e=>{let{theme:t}=e;return(0,c.A)({display:"flex",height:140,flexDirection:"column",justifyContent:"center","& .unitText":{color:m()(t,"mutedText","#87888d"),fontSize:12},"& .loadingAlign":{width:"100%",textAlign:"center",margin:"auto"},"& .metric":{fontSize:60,lineHeight:1,color:m()(t,"signalColors.main","#07193E"),fontWeight:700},"& .titleElement":{fontSize:10,color:m()(t,"mutedText","#87888d"),fontWeight:700}},(0,N.yE)(t))}),oe=e=>{let{title:t,panelItem:n,timeStart:o,timeEnd:s,apiPrefix:c,renderFn:x}=e;const m=(0,l.jL)(),[p,g]=(0,i.useState)(!1),[u,f]=(0,i.useState)(""),j=(0,a.d4)(e=>e.dashboard.widgetLoadVersion);(0,i.useEffect)(()=>{g(!0)},[j]),(0,i.useEffect)(()=>{if(p){let e=0;if(null!==o&&null!==s){const t=s.toUnixInteger()-o.toUnixInteger(),n=Math.floor(t/60);e=n<1?15:n}D.A.invoke("GET","/api/v1/".concat(c,"/info/widgets/").concat(n.id,"/?step=").concat(e,"&").concat(null!==o?"&start=".concat(o.toUnixInteger()):"").concat(null!==o&&null!==s?"&":"").concat(null!==s?"end=".concat(s.toUnixInteger()):"")).then(e=>{const t=v(e,n);f(t.data),g(!1)}).catch(e=>{m((0,r.C9)(e)),g(!1)})}},[p,n,s,o,m,c]);const C=w(u);return x?x({valueToRender:C,loading:p,title:t,id:n.id}):(0,h.jsxs)(le,{children:[p&&(0,h.jsx)(d.azJ,{className:"loadingAlign",children:(0,h.jsx)(d.aHM,{})}),!p&&(0,h.jsxs)(i.Fragment,{children:[(0,h.jsx)(d.azJ,{className:"metric",children:w(u)}),(0,h.jsx)(d.azJ,{className:"titleElement",children:t})]})]})},se=b.Ay.div(e=>{let{theme:t}=e;return{flex:1,display:"flex",alignItems:"center",flexFlow:"row","& .usableLabel":{color:m()(t,"mutedText","#87888d"),fontSize:"10px",display:"flex",flexFlow:"column",alignItems:"center",textAlign:"center"},"& .usedLabel":{color:m()(t,"mutedText","#87888d"),fontWeight:"bold",fontSize:"14px"},"& .totalUsed":{display:"flex","& .value":{fontSize:"50px",fontFamily:"Inter",fontWeight:600,alignSelf:"flex-end",lineHeight:1},"& .unit":{color:m()(t,"mutedText","#87888d"),fontWeight:"bold",fontSize:"14px",marginLeft:"12px",alignSelf:"flex-end"}},"& .ofUsed":{marginTop:"5px","& .value":{color:m()(t,"mutedText","#87888d"),fontWeight:"bold",fontSize:"14px",textAlign:"right"}},["@media (max-width: ".concat(d.nmC.sm,"px)")]:{flexFlow:"column"}}}),re=e=>{let{value:t,timeStart:n,timeEnd:o,apiPrefix:s}=e;const c=(0,l.jL)(),[x,m]=(0,i.useState)(!1),[p,u]=(0,i.useState)(0),[f,j]=(0,i.useState)(0),[C,y]=(0,i.useState)(0),[w,b]=(0,i.useState)(0),z=(0,a.d4)(e=>e.dashboard.widgetLoadVersion);(0,i.useEffect)(()=>{m(!0)},[z]),(0,i.useEffect)(()=>{if(x){let e=0;if(null!==n&&null!==o){const t=o.toUnixInteger()-n.toUnixInteger(),i=Math.floor(t/60);e=i<1?15:i}D.A.invoke("GET","/api/v1/".concat(s,"/info/widgets/").concat(t.id,"/?step=").concat(e,"&").concat(null!==n?"&start=".concat(n.toUnixInteger()):"").concat(null!==n&&null!==o?"&":"").concat(null!==o?"end=".concat(o.toUnixInteger()):"")).then(e=>{const n=v(e,t);let i=0,a=0,l=0;n.data.forEach(e=>{e.forEach(e=>{switch(e.legend){case"Total Usable":i+=e.value;break;case"Used Space":a+=e.value;break;case"Usable Free":l+=e.value}})});const o=Math.round(l/i*100);u(l),j(o),y(a),b(i),m(!1)}).catch(e=>{c((0,r.C9)(e)),m(!1)})}},[x,t,o,n,c,s]);const S=(0,g.GT)(C,!0,!1),A=[{value:p,color:"#D6D6D6",label:"Usable Available Space"},{value:C,color:(0,g.zv)(C,w),label:"Used Space"}];return(0,h.jsxs)(se,{children:[(0,h.jsx)(d.azJ,{sx:{fontSize:"16px",fontWeight:600,["@media (max-width: ".concat(d.nmC.sm,"px)")]:{alignSelf:"flex-start"}},children:"Capacity"}),(0,h.jsxs)(d.azJ,{sx:{position:"relative",width:110,height:110,marginLeft:"auto",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{marginLeft:""}},children:[(0,h.jsxs)(d.azJ,{sx:{position:"absolute",display:"flex",flexFlow:"column",alignItems:"center",top:"50%",left:"50%",transform:"translate(-50%, -50%)",fontWeight:"bold",fontSize:12},children:["".concat(f,"%"),(0,h.jsx)("br",{}),(0,h.jsx)(d.azJ,{className:"usableLabel",children:"Free"})]}),(0,h.jsx)(H.r,{width:110,height:110,children:(0,h.jsx)(Q.F,{data:A,cx:"50%",cy:"50%",dataKey:"value",outerRadius:50,innerRadius:40,startAngle:-70,endAngle:360,animationDuration:1,children:A.map((e,t)=>(0,h.jsx)(J.f,{fill:e.color},"cellCapacity-".concat(t)))})})]}),(0,h.jsxs)(d.azJ,{sx:{display:"flex",alignItems:"center",marginLeft:"auto",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{marginLeft:""}},children:[(0,h.jsxs)(d.azJ,{children:[(0,h.jsx)(d.azJ,{className:"usedLabel",children:"Used:"}),(0,h.jsxs)(d.azJ,{className:"totalUsed",children:[(0,h.jsx)("div",{className:"value",children:S.total}),(0,h.jsx)("div",{className:"unit",children:S.unit})]}),(0,h.jsx)(d.azJ,{className:"ofUsed",children:(0,h.jsxs)("div",{className:"value",children:["Of: ",(0,g.qO)(w)]})})]}),(0,h.jsx)(d.azJ,{sx:{marginLeft:"15px",height:"100%",display:"flex",alignItems:"flex-start"},children:(0,h.jsx)(d.azJ,{children:x?(0,h.jsx)(d.aHM,{style:{width:"26px",height:"26px"}}):(0,h.jsx)(d.wNL,{})})})]})]})},de=b.Ay.div(e=>{let{theme:t}=e;return{display:"grid",alignItems:"center",gap:8,height:33,paddingLeft:15,gridTemplateColumns:"20px 1.5fr .5fr 20px",background:m()(t,"boxBackground","#FBFAFA"),"& .min-icon":{height:"12px",width:"12px",fill:m()(t,"signalColors.good","#4CCB92")},"& .ok-icon":{height:"8px",width:"8px",fill:m()(t,"signalColors.good","#4CCB92"),color:m()(t,"signalColors.good","#4CCB92")},"& .timeStatLabel":{fontSize:"12px",color:m()(t,"signalColors.good","#4CCB92"),fontWeight:600},"& .timeStatValue":{fontSize:"12px",color:m()(t,"signalColors.good","#4CCB92")}}}),ce=e=>{let{icon:t,label:n,value:i,loading:a=!1}=e;return(0,h.jsxs)(de,{className:"dashboard-time-stat-item",children:[a?(0,h.jsx)(d.aHM,{style:{width:10,height:10}}):t,(0,h.jsx)(d.azJ,{className:"timeStatLabel",children:n}),(0,h.jsx)(d.azJ,{className:"timeStatValue",children:i}),"n/a"!==i?(0,h.jsx)(d.BK0,{className:"ok-icon"}):null]})},xe=e=>{let{valueToRender:t="",loading:n=!1,iconWidget:i=null}=e;return(0,h.jsx)(d.azJ,{sx:{display:"flex",height:"47px",borderRadius:"2px","& .dashboard-time-stat-item":{height:"100%",width:"100%"}},children:(0,h.jsx)(ce,{loading:n,icon:i,label:(0,h.jsxs)(d.azJ,{children:[(0,h.jsx)(d.azJ,{sx:{display:"inline",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{display:"none"}},children:"Time since last"})," ","Heal Activity"]}),value:t})})},me=e=>{let{valueToRender:t="",loading:n=!1,iconWidget:i=null}=e;return(0,h.jsx)(d.azJ,{sx:{display:"flex",height:"47px",borderRadius:"2px","& .dashboard-time-stat-item":{height:"100%",width:"100%"}},children:(0,h.jsx)(ce,{loading:n,icon:i,label:(0,h.jsxs)(d.azJ,{children:[(0,h.jsx)(d.azJ,{sx:{display:"inline",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{display:"none"}},children:"Time since last"})," ","Scan Activity"]}),value:t})})},pe=e=>{let{valueToRender:t="",loading:n=!1,iconWidget:i=null}=e;return(0,h.jsx)(d.azJ,{sx:{display:"flex",height:47,borderRadius:2,"& .dashboard-time-stat-item":{height:"100%",width:"100%"}},children:(0,h.jsx)(ce,{loading:n,icon:i,label:(0,h.jsx)(d.azJ,{children:"Uptime"}),value:t})})},ge=function(e,t,n,i,a){let l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];switch(e.type){case p.singleValue:return(0,h.jsx)(oe,{title:e.title,panelItem:e,timeStart:t,timeEnd:n,apiPrefix:a});case p.simpleWidget:let o,s=null;return 80===e.id?s=xe:81===e.id?s=me:1===e.id&&(s=pe),[80,81,1].includes(e.id)&&(o=e=>{let{valueToRender:t,loading:n,title:i,id:a,iconWidget:l}=e;return(0,h.jsx)(s,{valueToRender:t,loading:n,title:i,id:a,iconWidget:l})}),(0,h.jsx)(Z,{title:e.title,panelItem:e,timeStart:t,timeEnd:n,apiPrefix:a,iconWidget:e.widgetIcon,renderFn:o});case p.pieChart:return 50===e.id?(0,h.jsx)($,{children:(0,h.jsx)(re,{value:e,timeStart:t,timeEnd:n,apiPrefix:a})}):(0,h.jsx)(Y,{title:e.title,panelItem:e,timeStart:t,timeEnd:n,apiPrefix:a});case p.linearGraph:case p.areaGraph:return(0,h.jsx)(K,{title:e.title,panelItem:e,timeStart:t,timeEnd:n,hideYAxis:e.disableYAxis,xAxisFormatter:e.xAxisFormatter,yAxisFormatter:e.yAxisFormatter,apiPrefix:a,areaWidget:e.type===p.areaGraph,zoomActivated:l});case p.barChart:return(0,h.jsx)(O,{title:e.title,panelItem:e,timeStart:t,timeEnd:n,apiPrefix:a,zoomActivated:l});case p.singleRep:const r=e.fillColor?e.fillColor:e.color;return(0,h.jsx)(ae,{title:e.title,panelItem:e,timeStart:t,timeEnd:n,propLoading:i,color:e.color,fillColor:r,apiPrefix:a});default:return null}},he=[{sx:{minWidth:0,display:"grid",gap:"30px",gridTemplateColumns:"1fr 1fr 1fr 1fr",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{gridTemplateColumns:"1fr"},["@media (max-width: ".concat(d.nmC.md,"px)")]:{gridTemplateColumns:"1fr 1fr"}},columns:[{componentId:66},{componentId:44},{componentId:500},{componentId:501}]},{sx:{display:"grid",minWidth:0,gap:"30px",gridTemplateColumns:"1fr 1fr",["@media (max-width: ".concat(d.nmC.md,"px)")]:{gridTemplateColumns:"1fr"}},columns:[{componentId:50},{componentId:502}]},{sx:{display:"grid",minWidth:0,gap:"30px",gridTemplateColumns:"1fr 1fr 1fr",["@media (max-width: ".concat(d.nmC.md,"px)")]:{gridTemplateColumns:"1fr"}},columns:[{componentId:80},{componentId:81},{componentId:1}]},{sx:{display:"grid",minWidth:0,gap:"30px",gridTemplateColumns:"1fr 1fr",["@media (max-width: ".concat(d.nmC.md,"px)")]:{gridTemplateColumns:"1fr"}},columns:[{componentId:68},{componentId:52}]},{sx:{display:"grid",minWidth:0,gap:"30px",gridTemplateColumns:"1fr 1fr",["@media (max-width: ".concat(d.nmC.md,"px)")]:{gridTemplateColumns:"1fr"}},columns:[{componentId:63},{componentId:70}]}],ue=[{sx:{display:"grid",gridTemplateColumns:"1fr",gap:"30px"},columns:[{componentId:60}]},{sx:{display:"grid",minWidth:0,gap:"30px",gridTemplateColumns:"1fr 1fr",["@media (max-width: ".concat(d.nmC.md,"px)")]:{gridTemplateColumns:"1fr"}},columns:[{componentId:71,sx:{flex:1,width:"50%",flexShrink:0}},{componentId:17,sx:{flex:1,width:"50%",flexShrink:0}}]},{sx:{display:"grid",gridTemplateColumns:"1fr",gap:"30px"},columns:[{componentId:73}]}],fe=[{sx:{display:"grid",minWidth:0,gridTemplateColumns:"1fr 1fr",gap:"30px"},columns:[{componentId:76},{componentId:77}]},{sx:{display:"grid",minWidth:0,gridTemplateColumns:"1fr 1fr",gap:"30px"},columns:[{componentId:82},{componentId:74}]}],je=[{sx:{display:"grid",minWidth:0,gridTemplateColumns:"1fr 1fr",gap:"30px"},columns:[{componentId:11},{componentId:8}]}],Ce=e=>{let{children:t}=e;return(0,h.jsx)(d.azJ,{sx:{display:"grid",gridTemplateColumns:"1fr",gap:"30px"},children:t})};var ye=n(32680);const ve=e=>{let{value:t,modalOpen:n,timeStart:a,timeEnd:o,apiPrefix:s}=e;const r=(0,l.jL)();return t?(0,h.jsx)(ye.A,{title:t.title,onClose:()=>{r((0,E.Nv)())},modalOpen:n,wideLimit:!1,sx:{padding:0},children:(0,h.jsx)(i.Fragment,{children:ge(t,a,o,!0,s,!0)})}):null};var we=n(77517),be=n(42074);const ze=b.Ay.div(e=>{let{theme:t}=e;return(0,c.A)((0,c.A)({},(0,N.yE)(t)),{},{"& .metricText":{fontSize:70,lineHeight:1.1,color:m()(t,"signalColors.main","#07193E"),fontWeight:"bold"},"& .unitText":{fontSize:10,color:m()(t,"mutedText","#87888d"),fontWeight:"normal"},"& .subHeaderContainer":{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},"& .subMessage":{fontSize:10,color:m()(t,"mutedText","#87888d"),"&.bold":{fontWeight:"bold"}},"& .headerContainer":{display:"flex",justifyContent:"space-between"},"& .viewAll":{fontSize:10,color:m()(t,"signalColors.danger","#C83B51"),textTransform:"capitalize","& a, & a:hover, & a:visited, & a:active":{color:m()(t,"signalColors.danger","#C83B51")}}})}),Se=e=>{let{title:t,metricValue:n,metricUnit:a,subMessage:l,moreLink:o,rightComponent:s,extraMargin:r=!1}=e;const c=()=>(0,h.jsx)(i.Fragment,{children:(0,h.jsxs)("div",{className:"subHeaderContainer",children:[(0,h.jsxs)("div",{className:"leftSide",children:[(0,h.jsx)("div",{children:(0,h.jsxs)("span",{className:"metricText",children:[n,(0,h.jsx)("span",{className:"unitText",children:a})]})}),l&&(0,h.jsx)(d.azJ,{sx:{fontWeight:l.fontWeight||"normal"},children:l.message})]}),(0,h.jsx)("div",{className:"rightSide",children:s})]})}),x=()=>(0,h.jsx)(i.Fragment,{children:(0,h.jsxs)("div",{className:"headerContainer",children:[(0,h.jsx)("span",{className:"titleContainer",children:t}),o&&(0,h.jsx)(i.Fragment,{children:(0,h.jsx)("span",{className:"viewAll",children:(0,h.jsx)(be.N_,{to:o,children:"View All"})})})]})});return(0,h.jsx)(i.Fragment,{children:(0,h.jsx)(d.azJ,{withBorders:!0,sx:{height:200,padding:16,margin:r?"10px 20px 10px 0":""},children:""!==n&&(0,h.jsxs)(ze,{children:[(0,h.jsx)(x,{}),(0,h.jsx)(c,{})]})})})},Ae=e=>{let{title:t,leftComponent:n,rightComponent:a}=e;return(0,h.jsx)(i.Fragment,{children:(0,h.jsx)(Se,{title:t,metricValue:n,rightComponent:a})})},Ie=e=>{let{panelItem:t,timeStart:n,timeEnd:o,apiPrefix:s,statLabel:c}=e;const x=(0,l.jL)(),[m,p]=(0,i.useState)(!1),[g,u]=(0,i.useState)(""),f=(0,a.d4)(e=>e.dashboard.widgetLoadVersion);return(0,i.useEffect)(()=>{p(!0)},[f]),(0,i.useEffect)(()=>{if(m){let e=0;if(null!==n&&null!==o){const t=o.toUnixInteger()-n.toUnixInteger(),i=Math.floor(t/60);e=i<1?15:i}D.A.invoke("GET","/api/v1/".concat(s,"/info/widgets/").concat(t.id,"/?step=").concat(e,"&").concat(null!==n?"&start=".concat(n.toUnixInteger()):"").concat(null!==n&&null!==o?"&":"").concat(null!==o?"end=".concat(o.toUnixInteger()):"")).then(e=>{const n=v(e,t);u(n.data),p(!1)}).catch(e=>{x((0,r.C9)(e)),p(!1)})}},[m,t,o,n,x,s]),m?(0,h.jsx)(d.azJ,{sx:{width:"100%",paddingTop:"5px",textAlign:"center",margin:"auto"},children:(0,h.jsx)(d.aHM,{style:{width:12,height:12}})}):(0,h.jsxs)(d.azJ,{children:[(0,h.jsx)(d.azJ,{className:"stat-value",children:g}),c]})},Te=b.Ay.div(e=>{let{theme:t}=e;return{fontFamily:"Inter,sans-serif",color:m()(t,"signalColors.main","#07193E"),maxWidth:"321px",display:"flex",marginLeft:"auto",marginRight:"auto",cursor:"default","& .stat-text":{color:m()(t,"mutedText","#87888d"),fontSize:"12px",marginTop:"8px"}}}),Je=e=>{let{statItemLeft:t=null,statItemRight:n=null,icon:i=null,label:a=""}=e;return(0,h.jsx)(Te,{children:(0,h.jsxs)(d.azJ,{sx:{flex:1,display:"flex",padding:"0 8px 0 8px",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{padding:"0 10px 0 10px"}},children:[(0,h.jsxs)(d.azJ,{sx:{flex:1,display:"flex",flexFlow:"column"},children:[(0,h.jsx)(d.azJ,{sx:{fontSize:"16px",fontWeight:600},children:a}),(0,h.jsxs)(d.azJ,{sx:{display:"flex",alignItems:"center",gap:5,justifyContent:"space-between",paddingBottom:0,fontSize:55,flexFlow:"row",fontWeight:600,"& .stat-value":{textAlign:"center",height:"50px"},"& .min-icon":{marginRight:"8px",marginTop:"8px",height:"10px",width:"10px"},["@media (max-width: ".concat(d.nmC.sm,"px)")]:{fontSize:35},["@media (max-width: ".concat(d.nmC.lg,"px)")]:{fontSize:45},["@media (max-width: ".concat(d.nmC.xl,"px)")]:{fontSize:50}},children:[t,n]})]}),(0,h.jsx)(d.azJ,{sx:{width:"20px",height:"20px",marginTop:"8px",maxWidth:"26px","& .min-icon":{width:"16px",height:"16px"}},children:i})]})})},Fe=b.Ay.div(e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",marginTop:"5px",gap:8,"&.online":{"& .min-icon":{margin:0,fill:m()(t,"signalColors.good","#4CCB92")}},"&.offline":{"& .min-icon":{margin:0,fill:m()(t,"signalColors.danger","#C51B3F")}},"& .indicatorText":{color:m()(t,"mutedText","#C51B3F"),fontSize:12}}}),Ne=e=>{let{info:t,timeStart:n,timeEnd:i,apiPrefix:a}=e;const{mergedPanels:l=[],id:o}=t,[s,r]=l,c=(0,h.jsx)(Ie,{panelItem:s,timeStart:n,timeEnd:i,apiPrefix:a,statLabel:(0,h.jsxs)(Fe,{className:"online",children:[(0,h.jsx)(d.GQ2,{}),(0,h.jsx)(d.azJ,{className:"indicatorText",children:"Online"})]})}),x=(0,h.jsx)(Ie,{panelItem:r,timeStart:n,timeEnd:i,apiPrefix:a,statLabel:(0,h.jsxs)(Fe,{className:"offline",children:[(0,h.jsx)(d.GQ2,{}),(0,h.jsx)(d.azJ,{className:"indicatorText",children:"Offline"})]})});let m=null,p="";return 500===o?(m=(0,h.jsx)(d.WXN,{}),p="Servers"):501===o&&(m=(0,h.jsx)(d.JUN,{}),p="Drives"),(0,h.jsx)(Je,{statItemLeft:c,statItemRight:x,icon:m,label:p})},Ee=b.Ay.div(e=>{let{theme:t}=e;return{"& .putLabel":{display:"flex",gap:10,alignItems:"center",marginTop:"10px","& .min-icon":{height:15,width:15,fill:m()(t,"signalColors.good","#4CCB92")},"& .getText":{fontSize:"18px",color:m()(t,"mutedText","#87888d"),fontWeight:"bold"},"& .valueText":{fontSize:50,fontFamily:"Inter",fontWeight:600}}}}),Le=e=>{let{value:t,loading:n}=e;return(0,h.jsxs)(Ee,{children:[(0,h.jsxs)(d.azJ,{className:"putLabel",children:[(0,h.jsx)(d.azJ,{className:"getText",children:"GET"}),n?(0,h.jsx)(d.aHM,{style:{width:"15px",height:"15px"}}):(0,h.jsx)(d.OFF,{})]}),(0,h.jsx)(d.azJ,{className:"valueText",children:t})]})},ke=b.Ay.div(e=>{let{theme:t}=e;return{"& .putLabel":{display:"flex",gap:10,alignItems:"center",marginTop:"10px","& .min-icon":{height:15,width:15,fill:m()(t,"signalColors.info","#2781B0")},"& .putText":{fontSize:"18px",color:m()(t,"mutedText","#87888d"),fontWeight:"bold"},"& .valueText":{fontSize:50,fontFamily:"Inter",fontWeight:600}}}}),We=e=>{let{value:t,loading:n}=e;return(0,h.jsxs)(ke,{children:[(0,h.jsxs)(d.azJ,{className:"putLabel",children:[(0,h.jsx)(d.azJ,{className:"putText",children:"PUT"}),n?(0,h.jsx)(d.aHM,{style:{width:"15px",height:"15px"}}):(0,h.jsx)(d.z8D,{})]}),(0,h.jsx)(d.azJ,{className:"valueText",children:t})]})},Be=b.Ay.div(e=>{let{theme:t}=e;return{flex:1,display:"flex",alignItems:"center",flexFlow:"row",gap:"15px","& .unitText":{fontSize:"14px",color:m()(t,"mutedText","#87888d"),marginLeft:"5px"},"& .unit":{color:m()(t,"mutedText","#87888d"),fontSize:"18px",marginLeft:"12px",marginTop:"10px"},["@media (max-width: ".concat(d.nmC.sm,"px)")]:{flexFlow:"column"}}}),De=e=>{let{value:t,timeStart:n,timeEnd:i,apiPrefix:a}=e;const{mergedPanels:l=[]}=t,[o,s]=l,r=(0,h.jsx)(oe,{title:t.title,panelItem:o,timeStart:n,timeEnd:i,apiPrefix:a,renderFn:e=>{let{valueToRender:t,loading:n,title:i,id:a}=e;return(0,h.jsx)(We,{value:t,loading:n,title:i,id:a})}}),c=(0,h.jsx)(oe,{title:t.title,panelItem:s,timeStart:n,timeEnd:i,apiPrefix:a,renderFn:e=>{let{valueToRender:t,loading:n,title:i,id:a}=e;return(0,h.jsx)(Le,{value:t,loading:n,title:i,id:a})}});return(0,h.jsxs)(Be,{children:[(0,h.jsx)(d.azJ,{sx:{fontSize:"16px",fontWeight:600},children:"Network"}),(0,h.jsx)(d.azJ,{sx:{position:"relative",width:110,height:110,marginLeft:"auto",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{marginLeft:"0"}},children:(0,h.jsx)(d.azJ,{sx:{position:"absolute",display:"flex",flexFlow:"column",alignItems:"center",top:"50%",left:"50%",transform:"translate(-50%, -50%)",fontWeight:"bold",fontSize:12},children:c})}),(0,h.jsx)(d.azJ,{sx:{display:"flex",alignItems:"center",marginLeft:"auto",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{marginLeft:"0"}},children:(0,h.jsx)(d.azJ,{sx:{display:"flex",alignItems:"center","& .value":{fontSize:"50px",fontFamily:"Inter"}},children:r})}),(0,h.jsx)(d.azJ,{sx:{marginLeft:"15px",height:"100%",display:"flex",alignItems:"flex-start","& .min-icon":{height:"15px",width:"15px"}},children:(0,h.jsx)(d.vhL,{})})]})},Re=e=>{let{info:t,timeStart:n,timeEnd:i,loading:a,apiPrefix:l}=e;const{mergedPanels:o=[],title:s="",id:r}=t,[d,c]=o;return[500,501].includes(r)?(0,h.jsx)($,{children:(0,h.jsx)(Ne,{info:t,timeStart:n,timeEnd:i,apiPrefix:l})}):502===r?(0,h.jsx)($,{children:(0,h.jsx)(De,{apiPrefix:l,timeEnd:i,timeStart:n,value:t})}):(0,h.jsx)(Ae,{title:s,leftComponent:ge(d,n,i,a,l),rightComponent:ge(c,n,i,a,l)})};var Me=n(1144),Oe=n(33684),Ue=n.n(Oe),Ve=n(75054);const Pe=b.Ay.div(e=>{let{theme:t}=e;return{alignItems:"baseline",padding:"5px",display:"flex",gap:"5px","& .StatBox":{display:"flex",alignItems:"center",justifyContent:"center",flexFlow:"column","& .stat-text":{color:m()(t,"mutedText","#87888d"),fontSize:"12px"},"& .stat-value":{fontSize:"18px",color:m()(t,"signalColors.main","#07193E"),display:"flex",fontWeight:500,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","& .stat-container":{display:"flex",alignItems:"center",justifyContent:"center",flexFlow:"column",marginLeft:"5px",maxWidth:"40px","&:first-of-type(svg)":{fill:m()(t,"mutedText","#87888d")},"& .stat-indicator":{marginRight:"0px",justifyContent:"center",alignItems:"center",textAlign:"center","& svg.min-icon":{width:"10px",height:"10px"},"&.good":{"& svg.min-icon":{fill:m()(t,"signalColors.good","#4CCB92")}},"&.warn":{"& svg.min-icon":{fill:m()(t,"signalColors.warning","#FFBD62")}},"&.bad":{"& svg.min-icon":{fill:m()(t,"signalColors.danger","#C51B3F")}}}}}}}}),Ge=b.Ay.div(e=>{let{theme:t}=e;return{display:"flex",alignItems:"flex-start",flexFlow:"column",flex:1,"& .server-state":{marginLeft:"8px","& .min-icon":{height:"14px",width:"14px"},"&.good":{"& svg.min-icon":{fill:m()(t,"signalColors.good","#4CCB92")}},"&.warn":{"& svg.min-icon":{fill:m()(t,"signalColors.warning","#FFBD62")}},"&.bad":{"& svg.min-icon":{fill:m()(t,"signalColors.danger","#C51B3F")}}}}}),_e=e=>{let{label:t="",value:n="",statusColor:i="warn",hasStatus:a=!1}=e;return(0,h.jsx)(Pe,{children:(0,h.jsxs)(d.azJ,{className:"StatBox",children:[(0,h.jsxs)("div",{className:"stat-value",children:[n," ",(0,h.jsx)(d.azJ,{className:"stat-container",children:a?(0,h.jsx)(d.azJ,{className:"stat-indicator ".concat(i),children:(0,h.jsx)(d.GQ2,{})}):(0,h.jsx)(d.azJ,{sx:{width:"12px",height:"12px"}})})]}),(0,h.jsx)("div",{className:"stat-text",children:t})]})})},Ke=e=>{let{server:t}=e;const n=Object.keys(m()(t,"network",{})),i=n.length,a=t.drives?t.drives.length:0,l=n.reduce((e,n)=>"online"===(t.network?t.network[n]:"")?e+1:e,0),o=t.drives?t.drives.filter(e=>"ok"===e.state).length:0;return(0,h.jsx)(Ge,{children:(0,h.jsxs)(d.azJ,{sx:{display:"flex",alignItems:"center",padding:"3px",gap:"15px",justifyContent:"space-between",width:"100%",paddingLeft:"20px",flexFlow:"row",["@media (max-width: ".concat(d.nmC.md,"px)")]:{flexFlow:"column"}},children:[(0,h.jsxs)(d.azJ,{sx:{display:"flex",alignItems:"center"},children:[(0,h.jsx)(d.azJ,{sx:{fontWeight:600,textTransform:"none"},children:t.endpoint||""}),(null===t||void 0===t?void 0:t.state)&&(0,h.jsx)(d.azJ,{className:"server-state ".concat((0,Ve.Zb)(t.state)),children:(0,h.jsx)(d.GQ2,{})})]}),(0,h.jsxs)(d.azJ,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:"1.5",gap:"5%"},children:[(0,h.jsx)(_e,{statusColor:(0,Ve.WJ)(o,a),label:"Drives",hasStatus:!0,value:"".concat(o,"/").concat(a)}),(0,h.jsx)(_e,{statusColor:(0,Ve.CS)(l,i),label:"Network",hasStatus:!0,value:"".concat(l,"/").concat(i)}),(0,h.jsx)(_e,{statusColor:"good",label:"Up time",value:null!==t&&void 0!==t&&t.uptime?(0,g.hr)("".concat(t.uptime)):"N/A"})]}),(0,h.jsx)(_e,{statusColor:"good",label:"",value:(0,h.jsxs)(d.azJ,{sx:{background:"rgb(235, 236, 237)",color:"#000000",paddingLeft:"10px",paddingRight:"10px",borderRadius:"2px",fontSize:"12px",marginTop:"5px","& .label":{fontWeight:600,marginRight:"3px"}},children:[(0,h.jsx)("span",{className:"label",children:"Version:"}),t.version?t.version:"N/A"]})})]})})},He=e=>{var t,n,a,l;let{drive:o}=e;const s=(0,b.DP)(),r=null!==(t=o.totalSpace)&&void 0!==t?t:0,c=null!==(n=o.usedSpace)&&void 0!==n?n:0,x=0!==r?Math.max(c/r*100,0):0,p=null!==(a=o.availableSpace)&&void 0!==a?a:0,u=0!==r?Math.max(p/r*100,0):0,f=(0,i.useMemo)(()=>{switch(o.state){case"offline":return Ve.Ez.RED;case"ok":return Ve.Ez.GREEN;default:return Ve.Ez.YELLOW}},[o.state]),j=(0,i.useMemo)(()=>{switch(o.state){case"offline":return"Offline Drive";case"ok":return"Online Drive";default:return"Unknown"}},[o.state]);return(0,h.jsxs)(d.azJ,{withBorders:!0,sx:{display:"flex",flexFlow:"row",padding:12,gap:24,alignItems:"center",["@media (max-width: ".concat(d.nmC.xs,"px)")]:{flexFlow:"column",alignItems:"start"},"& .info-label":{color:m()(s,"mutedText","#87888d"),fontSize:12},"& .info-value":{fontSize:18,color:m()(s,"signalColors.main","#07193E"),display:"flex",fontWeight:500,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .drive-endpoint":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"normal",wordBreak:"break-all",fontWeight:600,fontSize:16,["@media (max-width: ".concat(d.nmC.sm,"px)")]:{fontSize:10}},"& .percentage-row":{display:"flex",gap:4,alignItems:"center",fontSize:12,"& .percentage-value":{fontWeight:700}}},children:[(0,h.jsx)(d.cNv,{chartLabel:"Used Capacity",label:!0,usedBytes:c,totalBytes:r,width:"153",height:"153"}),(0,h.jsxs)(d.azJ,{sx:{display:"flex",flexFlow:"column",gap:12,flex:1},children:[(0,h.jsxs)(d.azJ,{sx:{display:"flex",flexFlow:"row",gap:8,["@media (max-width: ".concat(d.nmC.xs,"px)")]:{flexFlow:"column"}},children:[(0,h.jsxs)(d.azJ,{sx:{flex:"1 1 60%",["@media (max-width: ".concat(d.nmC.xs,"px)")]:{flex:"1 1 100%"}},children:[(0,h.jsx)("label",{className:"info-label",children:"Drive Name"}),(0,h.jsx)(d.azJ,{className:"drive-endpoint",children:null!==(l=o.endpoint)&&void 0!==l?l:""})]}),(0,h.jsxs)(d.azJ,{sx:{flex:"1 1 20%",["@media (max-width: ".concat(d.nmC.xs,"px)")]:{flex:"1 1 100%"}},children:[(0,h.jsx)("label",{className:"info-label",children:"Drive Status"}),(0,h.jsxs)(d.azJ,{sx:{display:"flex",flexFlow:"row",alignItems:"center",fontSize:12,fontWeight:600,gap:4,color:f,"& .min-icon":{height:8,width:8,flexShrink:0}},children:[(0,h.jsx)(d.GQ2,{}),j]})]})]}),(0,h.jsxs)(d.azJ,{sx:{display:"flex",flexFlow:"row",gap:36},children:[(0,h.jsxs)(d.azJ,{sx:{display:"flex",flexFlow:"column"},children:[(0,h.jsx)("label",{className:"info-label",children:"Used Capacity"}),(0,h.jsx)(d.azJ,{className:"info-value",children:(0,g.nO)(c.toString())}),(0,h.jsxs)(d.azJ,{className:"percentage-row",children:[(0,h.jsxs)(d.azJ,{className:"percentage-value",children:[x.toFixed(2),"%"]}),(0,h.jsxs)(d.azJ,{children:["of ",(0,g.nO)(r.toString())]})]})]}),(0,h.jsx)(d.azJ,{sx:{width:1,backgroundColor:m()(s,"borderColor","#BBBBBB")}}),(0,h.jsxs)(d.azJ,{sx:{display:"flex",flexFlow:"column"},children:[(0,h.jsx)("label",{className:"info-label",children:"Available Capacity"}),(0,h.jsx)(d.azJ,{className:"info-value",children:(0,g.nO)(p.toString())}),(0,h.jsxs)(d.azJ,{className:"percentage-row",children:[(0,h.jsxs)(d.azJ,{className:"percentage-value",children:[u.toFixed(2),"%"]}),(0,h.jsxs)(d.azJ,{children:["of ",(0,g.nO)(r.toString())]})]})]})]})]})]})},Qe=e=>{let{data:t}=e;const[n,a]=i.useState(t.length>1?"":t[0].endpoint+"-0"),l=e=>{a(e)};return(0,h.jsxs)(d.azJ,{children:[(0,h.jsxs)(d.azJ,{sx:{fontSize:18,lineHeight:2,fontWeight:700},children:["Servers (",t.length,")"]}),(0,h.jsx)(d.azJ,{children:t.map((e,t)=>{var i,a;const o="".concat(e.endpoint,"-").concat(t),s=n===o;return(0,h.jsxs)(d.nD3,{expanded:s,onTitleClick:()=>{l(s?"":o)},id:"key",title:(0,h.jsx)(Ke,{server:e,index:t}),sx:{marginBottom:15},children:[(0,h.jsxs)(d.azJ,{useBackground:!0,sx:{padding:"10px 30px",fontWeight:"bold"},children:["Drives (",null===(i=e.drives)||void 0===i?void 0:i.length,")"]}),(0,h.jsx)(d.azJ,{sx:{flex:1,display:"flex",flexDirection:"column",padding:"15px 30px",gap:15,["@media (max-width: ".concat(d.nmC.sm,"px)")]:{padding:"10px 10px"}},children:null===(a=e.drives)||void 0===a?void 0:a.map((e,t)=>(0,h.jsx)(He,{drive:e},"".concat(e.endpoint,"-").concat(t)))})]},o)})})]})},qe=b.Ay.div(e=>{let{theme:t}=e;return{fontFamily:"Inter,sans-serif",color:m()(t,"signalColors.main","#07193E"),maxWidth:"300px",display:"flex",marginLeft:"auto",marginRight:"auto",cursor:"default",position:"relative",width:"100%"}}),Ye=e=>{let{counterValue:t,label:n="",icon:i=null,actions:a=null}=e;return(0,h.jsx)(qe,{children:(0,h.jsxs)(d.azJ,{sx:{flex:1,display:"flex",width:"100%",padding:"0 8px 0 8px",position:"absolute",["@media (max-width: ".concat(d.nmC.md,"px)")]:{padding:"0 10px 0 10px"}},children:[(0,h.jsxs)(d.azJ,{sx:{flex:1,display:"flex",flexFlow:"column",marginTop:"8px",zIndex:10,overflow:"hidden"},children:[(0,h.jsx)(d.azJ,{sx:{fontSize:"16px",fontWeight:600},children:n}),(0,h.jsx)(d.m_M,{tooltip:t,placement:"bottom",children:(0,h.jsx)(d.azJ,{sx:{fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",maxWidth:187,flexFlow:"row",fontSize:t.toString().length>=5?50:55,["@media (max-width: ".concat(d.nmC.sm,"px)")]:{flexFlow:"column",maxWidth:200,fontSize:t.toString().length>=5?20:35},["@media (max-width: ".concat(d.nmC.md,"px)")]:{fontSize:t.toString().length>=5?28:35},["@media (max-width: ".concat(d.nmC.lg,"px)")]:{fontSize:t.toString().length>=5?28:36},["@media (max-width: ".concat(d.nmC.xl,"px)")]:{fontSize:t.toString().length>=5?45:50}},children:t})})]}),(0,h.jsxs)(d.azJ,{sx:{display:"flex",flexFlow:"column",alignItems:"center",justifyContent:"flex-start",marginTop:"8px",maxWidth:"26px","& .min-icon":{width:"16px",height:"16px"}},children:[i,(0,h.jsx)(d.azJ,{sx:{display:"flex"},children:a})]})]})})};var Xe=n(90859),Ze=n(93598),$e=n(30272);const et=e=>{let{children:t}=e;return(0,h.jsx)(d.azJ,{withBorders:!0,sx:{padding:15,height:"136px",maxWidth:"100%",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{padding:5,maxWidth:"initial"}},children:t})},tt=e=>{var t,n,i,a,l,o,s,r,c,x;let{usage:m}=e;const p=m&&m.usage?m.usage.toString():"0",u=(e=>void 0===e?{total:"0",unit:"Mi"}:(0,g.GT)(e))(p),{lastScan:f="n/a",lastHeal:j="n/a",upTime:C="n/a"}={},y=(e=>e&&e.servers?[...e.servers].sort(function(e,t){var n,i;const a=(null===(n=e.endpoint)||void 0===n?void 0:n.toLowerCase())||"",l=(null===(i=t.endpoint)||void 0===i?void 0:i.toLowerCase())||"";return al?1:0}):[])(m);let v=[];y.forEach(e=>{var t;const n=null===(t=e.drives)||void 0===t?void 0:t.map(e=>e);n&&(v=[...v,...n])});const w=Ue()(y,"state"),{offline:b=[],online:z=[]}=w,S=Ue()(v,"state"),{offline:A=[],ok:I=[]}=S;return(0,h.jsx)(d.azJ,{children:(0,h.jsxs)(d.azJ,{sx:{display:"grid",gridTemplateRows:"1fr",gridTemplateColumns:"1fr",gap:27,marginBottom:40},children:[(0,h.jsxs)(d.azJ,{sx:{display:"grid",gridTemplateColumns:"1fr",gap:"40px"},children:[(0,h.jsxs)(d.azJ,{sx:{display:"grid",gridTemplateRows:"136px",gridTemplateColumns:"1fr 1fr 1fr",gap:20,["@media (max-width: ".concat(d.nmC.sm,"px)")]:{gridTemplateColumns:"1fr"},["@media (max-width: ".concat(d.nmC.md,"px)")]:{marginBottom:0}},children:[(0,h.jsx)(et,{children:(0,h.jsx)(Ye,{label:"Buckets",icon:(0,h.jsx)(d.brV,{}),counterValue:m?(0,g.dq)(m.buckets):0,actions:(0,h.jsx)(be.N_,{to:Ze.zZ.BUCKETS,style:{zIndex:11,textDecoration:"none",top:"40px",position:"relative",marginRight:"75px"},children:(0,h.jsx)($e.A,{tooltip:"Browse",children:(0,h.jsx)(d.$nd,{id:"browse-dashboard",onClick:()=>{},label:"Browse",icon:(0,h.jsx)(d.flY,{}),variant:"regular",style:{padding:5,height:30,fontSize:14,marginTop:20}})})})})}),(0,h.jsx)(et,{children:(0,h.jsx)(Ye,{label:"Objects",icon:(0,h.jsx)(d.Sxe,{}),counterValue:m?(0,g.dq)(m.objects):0})}),(0,h.jsx)(et,{children:(0,h.jsx)(Me.A,{onlineCount:z.length,offlineCount:b.length,label:"Servers",icon:(0,h.jsx)(d.WXN,{})})}),(0,h.jsx)(et,{children:(0,h.jsx)(Me.A,{offlineCount:(null===m||void 0===m||null===(t=m.backend)||void 0===t?void 0:t.offlineDrives)||A.length,onlineCount:(null===m||void 0===m||null===(n=m.backend)||void 0===n?void 0:n.onlineDrives)||I.length,label:"Drives",icon:(0,h.jsx)(d.JUN,{})})}),(0,h.jsxs)(d.azJ,{withBorders:!0,sx:{gridRowStart:"1",gridRowEnd:"3",gridColumnStart:"3",padding:15,display:"grid",justifyContent:"stretch"},children:[(0,h.jsx)(Xe.A,{usageValue:p,total:u.total,unit:u.unit}),(0,h.jsxs)(d.azJ,{sx:{display:"flex",flexFlow:"column",gap:"14px"},children:[(0,h.jsx)(ce,{icon:(0,h.jsx)(d.Sdx,{}),label:(0,h.jsxs)(d.azJ,{children:[(0,h.jsx)(d.azJ,{sx:{display:"inline",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{display:"none"}},children:"Time since last"})," ","Heal Activity"]}),value:j}),(0,h.jsx)(ce,{icon:(0,h.jsx)(d.Zui,{}),label:(0,h.jsxs)(d.azJ,{children:[(0,h.jsx)(d.azJ,{sx:{display:"inline",["@media (max-width: ".concat(d.nmC.sm,"px)")]:{display:"none"}},children:"Time since last"})," ","Scan Activity"]}),value:f}),(0,h.jsx)(ce,{icon:(0,h.jsx)(d.Owo,{}),label:"Uptime",value:C})]})]})]}),(0,h.jsxs)(d.azJ,{sx:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:"14px",["@media (max-width: ".concat(d.nmC.lg,"px)")]:{gridTemplateColumns:"1fr"}},children:[(0,h.jsx)(ce,{icon:(0,h.jsx)(d.NBP,{}),label:"Backend type",value:null!==(i=null===m||void 0===m||null===(a=m.backend)||void 0===a?void 0:a.backendType)&&void 0!==i?i:"Unknown"}),(0,h.jsx)(ce,{icon:(0,h.jsx)(d.eXQ,{}),label:"Standard storage class parity",value:null!==(l=null===m||void 0===m||null===(o=m.backend)||void 0===o||null===(s=o.standardSCParity)||void 0===s?void 0:s.toString())&&void 0!==l?l:"n/a"}),(0,h.jsx)(ce,{icon:(0,h.jsx)(d.eXQ,{}),label:"Reduced redundancy storage class parity",value:null!==(r=null===m||void 0===m||null===(c=m.backend)||void 0===c||null===(x=c.rrSCParity)||void 0===x?void 0:x.toString())&&void 0!==r?r:"n/a"})]}),(0,h.jsx)(d.azJ,{sx:{display:"grid",gridTemplateRows:"auto",gridTemplateColumns:"1fr",gap:"auto"},children:(0,h.jsx)(Qe,{data:y})})]}),"not configured"===(null===m||void 0===m?void 0:m.advancedMetricsStatus)&&(0,h.jsx)(d.azJ,{children:(0,h.jsx)(d.lVp,{iconComponent:(0,h.jsx)(d.uMc,{}),title:"We can\u2019t retrieve advanced metrics at this time.",help:(0,h.jsxs)(d.azJ,{children:[(0,h.jsx)(d.azJ,{sx:{fontSize:"14px"},children:"MinIO Dashboard will display basic metrics as we couldn\u2019t connect to Prometheus successfully. Please try again in a few minutes. If the problem persists, you can review your configuration and confirm that Prometheus server is up and running."}),(0,h.jsx)(d.azJ,{sx:{paddingTop:20,fontSize:14},children:(0,h.jsx)("a",{href:"https://min.io/docs/minio/linux/operations/monitoring/collect-minio-metrics-using-prometheus.html",target:"_blank",rel:"noopener",children:"Read more about Prometheus on our Docs site."})})]})})})]})})},nt=e=>{let{apiPrefix:t="admin",usage:n}=e;const a=(0,l.jL)(),r=(0,l.GV)(e=>e.dashboard.status),c=(0,l.GV)(e=>e.dashboard.zoom.openZoom),x=(0,l.GV)(e=>e.dashboard.zoom.widgetRender),m=(0,l.GV)(s.s$),p=!(null===m||void 0===m||!m.includes("object-browser-only"));let g=!1;(null!==m&&void 0!==m&&m.includes("hide-menu")||p)&&(g=!0);const[u,f]=(0,i.useState)(null),[j,y]=(0,i.useState)(null),v=C,[w,b]=(0,i.useState)("info"),z=e=>e.reduce((e,n,a)=>{const{columns:l=[]}=n,o=l.map((e,n)=>{var l;return((e,n)=>(0,h.jsx)(i.Fragment,{children:e?(0,h.jsx)(i.Fragment,{children:(0,h.jsx)(d.azJ,{children:e.mergedPanels?(0,h.jsx)(Re,{info:e,timeStart:u,timeEnd:j,loading:!0,apiPrefix:t}):ge(e,u,j,!0,t,c)})}):null},"widget-".concat(n)))((l=e.componentId,v.find(e=>e.id===l)),"".concat(a,"-").concat(n))});return[...e,(0,h.jsx)(d.azJ,{sx:n.sx,children:o},"layout-row-".concat(a))]},[]),S="not configured"===(null===n||void 0===n?void 0:n.advancedMetricsStatus),A=(0,h.jsx)(d.azJ,{sx:{marginBottom:20},children:"info"===w?(0,h.jsxs)(d.xA9,{container:!0,children:[(0,h.jsx)(d.xA9,{item:!0,children:(0,h.jsx)(d.azJ,{sx:{fontSize:18,lineHeight:2,fontWeight:700},children:"Server Information"})}),(0,h.jsx)(d.xA9,{item:!0,xs:!0,children:(0,h.jsx)(d.xA9,{container:!0,direction:"row-reverse",children:(0,h.jsx)(d.xA9,{item:!0,children:(0,h.jsx)(d.$nd,{id:"sync",type:"button",variant:"callAction",onClick:()=>{a((0,o.i)())},disabled:"loading"===r,icon:(0,h.jsx)(d.Fjq,{}),label:"Sync"})})})})]}):(0,h.jsx)(we.A,{timeStart:u,setTimeStart:f,timeEnd:j,setTimeEnd:y,triggerSync:()=>{a((0,E.pA)())}})});let I=[{tabConfig:{label:"Info",id:"info",disabled:!1},content:(0,h.jsxs)(i.Fragment,{children:[(!n||"loading"===r)&&(0,h.jsx)(d.z21,{}),n&&"idle"===r&&(0,h.jsxs)(i.Fragment,{children:[A,(0,h.jsx)(tt,{usage:n})]})]})},...[{tabConfig:{label:"Usage",id:"usage",disabled:S},content:(0,h.jsxs)(i.Fragment,{children:[A,(0,h.jsxs)(Ce,{children:["unavailable"===(null===n||void 0===n?void 0:n.advancedMetricsStatus)&&(0,h.jsx)(d.lVp,{iconComponent:(0,h.jsx)(d.uMc,{}),title:"We can\u2019t retrieve advanced metrics at this time.",help:(0,h.jsx)(d.azJ,{sx:{fontSize:"14px"},children:"It looks like Prometheus is not available or reachable at the moment."})}),v.length?z(he):null]})]})},{tabConfig:{label:"Traffic",id:"traffic",disabled:S},content:(0,h.jsxs)(i.Fragment,{children:[A,(0,h.jsxs)(Ce,{children:["unavailable"===(null===n||void 0===n?void 0:n.advancedMetricsStatus)&&(0,h.jsx)(d.lVp,{iconComponent:(0,h.jsx)(d.uMc,{}),title:"We can\u2019t retrieve advanced metrics at this time.",help:(0,h.jsx)(d.azJ,{sx:{fontSize:"14px"},children:"It looks like Prometheus is not available or reachable at the moment."})}),v.length?z(ue):null]})]})},{tabConfig:{label:"Resources",id:"resources",disabled:S},content:(0,h.jsxs)(i.Fragment,{children:[A,(0,h.jsxs)(Ce,{children:["unavailable"===(null===n||void 0===n?void 0:n.advancedMetricsStatus)&&(0,h.jsx)(d.lVp,{iconComponent:(0,h.jsx)(d.uMc,{}),title:"We can\u2019t retrieve advanced metrics at this time.",help:(0,h.jsx)(d.azJ,{sx:{fontSize:"14px"},children:"It looks like Prometheus is not available or reachable at the moment."})}),v.length?z(fe):null,(0,h.jsx)("h2",{style:{margin:0,borderBottom:"1px solid #dedede"},children:"Advanced"}),v.length?z(je):null]})]})}]];return(0,h.jsxs)(d.Mxu,{sx:{padding:g?0:"2rem"},children:[c&&(0,h.jsx)(ve,{modalOpen:c,timeStart:u,timeEnd:j,widgetRender:0,value:x,apiPrefix:t}),(0,h.jsx)(d.tUM,{horizontal:!0,options:I,currentTabOrPath:w,onTabClick:e=>{b(e)}})]})};var it=n(82817),at=n(98167);const lt=()=>{const e=(0,l.jL)(),[t,n]=(0,i.useState)(!1),d=(0,a.d4)(e=>e.dashboard.usage),c=(0,a.d4)(s.s$),x=!(null===c||void 0===c||!c.includes("object-browser-only"));let m=!1;return(null!==c&&void 0!==c&&c.includes("hide-menu")||x)&&(m=!0),(0,i.useEffect)(()=>{t||(n(!0),e((0,o.i)()))},[t,e]),(0,i.useEffect)(()=>{e((0,r.ph)("metrics"))},[e]),(0,h.jsxs)(i.Fragment,{children:[!m&&(0,h.jsx)(it.A,{label:"Metrics",actions:(0,h.jsx)(at.A,{})}),(0,h.jsx)(nt,{usage:d})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/2499.a423e5db.chunk.js b/web-app/build/static/js/2499.a423e5db.chunk.js deleted file mode 100644 index 28bf1b3c1e..0000000000 --- a/web-app/build/static/js/2499.a423e5db.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2499],{32680:(e,t,n)=>{n.d(t,{A:()=>u});var a=n(9950),o=n(98341),l=n(89132),r=n(99491),i=n(49078),s=n(96382),d=n(44414);const u=e=>{let{onClose:t,modalOpen:n,title:u,children:c,wideLimit:b=!0,titleIcon:h=null,iconColor:p="default",sx:x}=e;const m=(0,r.jL)(),[g,f]=(0,a.useState)(!1),j=(0,o.d4)(e=>e.system.modalSnackBar);(0,a.useEffect)(()=>{m((0,i.h0)(""))},[m]),(0,a.useEffect)(()=>{if(j){if(""===j.message)return void f(!1);"error"!==j.type&&f(!0)}},[j]);let C="";return j&&(C=j.detailedErrorMsg,(""===C||C&&C.length<5)&&(C=j.message)),(0,d.jsxs)(l.ngX,{onClose:t,open:n,title:u,titleIcon:h,widthLimit:b,sx:x,iconColor:p,children:[(0,d.jsx)(s.A,{isModal:!0}),(0,d.jsx)(l.qb_,{onClose:()=>{f(!1),m((0,i.h0)(""))},open:g,message:C,mode:"inline",variant:"error"===j.type?"error":"default",autoHideDuration:"error"===j.type?10:5,condensed:!0}),c]})}},52499:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var a=n(9950),o=n(89132),l=n(59908),r=n(45246),i=n(32680),s=n(58093),d=n(49078),u=n(99491),c=n(70444),b=n(48965),h=n(44414);const p=e=>{let{open:t,enabled:n,cfg:p,selectedBucket:x,closeModalAndRefresh:m}=e;const g=(0,u.jL)(),[f,j]=(0,a.useState)(!1),[C,k]=(0,a.useState)(!1),[v,S]=(0,a.useState)("1"),[y,A]=(0,a.useState)("Ti"),[q,B]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(n&&(k(!0),p)){const e=(0,l.GT)(p.quota||0,!0,!1,!0);S(e.total.toString()),A(e.unit),B(!0)}},[n,p]),(0,a.useEffect)(()=>{B(!C||/^\d*(?:\.\d{1,2})?$/.test(v))},[C,v]);return(0,h.jsx)(i.A,{modalOpen:t,onClose:()=>{m()},title:"Enable Bucket Quota",titleIcon:(0,h.jsx)(o.Uh,{}),children:(0,h.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),!f&&q&&c.F.buckets.setBucketQuota(x,{enabled:C,amount:parseInt((0,l.q5)(v,y,!0)),quota_type:"hard"}).then(()=>{j(!1),m()}).catch(e=>{j(!1),g((0,d.Dy)((0,b.S)(e.error)))})},children:(0,h.jsxs)(o.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,h.jsx)(o.dOG,{value:"bucket_quota",id:"bucket_quota",name:"bucket_quota",checked:C,onChange:e=>{k(e.target.checked)},label:"Enabled"}),C&&(0,h.jsx)(o.cl_,{id:"quota_size",name:"quota_size",onChange:e=>{S(e.target.value),e.target.validity.valid?B(!0):B(!1)},label:"Quota",value:v,required:!0,min:"1",overlayObject:(0,h.jsx)(s.A,{id:"quota_unit",onUnitChange:e=>{A(e)},unitSelected:y,unitsList:(0,l.l9)(["Ki"]),disabled:!1}),error:q?"":"Please enter a valid quota"}),(0,h.jsxs)(o.xA9,{item:!0,xs:12,sx:r.Uz.modalButtonBar,children:[(0,h.jsx)(o.$nd,{id:"cancel",type:"button",variant:"regular",disabled:f,onClick:()=>{m()},label:"Cancel"}),(0,h.jsx)(o.$nd,{id:"save",type:"submit",variant:"callAction",disabled:f||!q,label:"Save"})]}),f&&(0,h.jsx)(o.xA9,{item:!0,xs:12,children:(0,h.jsx)(o.z21,{})})]})})})}},58093:(e,t,n)=>{n.d(t,{A:()=>u});var a=n(9950),o=n(89132),l=n(19335),r=n(87946),i=n.n(r),s=n(44414);const d=l.Ay.button(e=>{let{theme:t}=e;return{border:"1px solid ".concat(i()(t,"borderColor","#E2E2E2")),borderRadius:3,color:i()(t,"secondaryText","#5B5C5C"),backgroundColor:i()(t,"boxBackground","#FBFAFA"),fontSize:12}}),u=e=>{let{id:t,unitSelected:n,unitsList:l,disabled:r=!1,onUnitChange:i}=e;const[u,c]=a.useState(null),b=Boolean(u),h=e=>{c(null),""!==e&&i&&i(e)};return(0,s.jsxs)(a.Fragment,{children:[(0,s.jsx)(d,{id:"".concat(t,"-button"),"aria-controls":"".concat(t,"-menu"),"aria-haspopup":"true","aria-expanded":b?"true":void 0,onClick:e=>{c(e.currentTarget)},disabled:r,type:"button",children:n}),(0,s.jsx)(o.Vey,{id:"upload-main-menu",options:l,selectedOption:"",onSelect:e=>h(e),hideTriggerAction:()=>{h("")},open:b,anchorEl:u,anchorOrigin:"end"})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/2587.52daa1fb.chunk.js b/web-app/build/static/js/2587.52daa1fb.chunk.js deleted file mode 100644 index 2e69efd4de..0000000000 --- a/web-app/build/static/js/2587.52daa1fb.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2587],{6805:(e,r,i)=>{i.d(r,{A:()=>a});var t=i(9950),o=i(89132),n=i(44414);const l=e=>{let{icon:r,description:i}=e;return(0,n.jsxs)(o.azJ,{sx:{display:"flex","& .min-icon":{marginRight:"10px",height:"23px",width:"23px",marginBottom:"10px"}},children:[r," ",(0,n.jsx)("div",{style:{fontSize:"14px",fontStyle:"italic",color:"#5E5E5E"},children:i})]})},a=e=>{let{helpText:r,docLink:i,docText:a,contents:s}=e;return(0,n.jsxs)(o.azJ,{sx:{flex:1,border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"20px"},children:[(0,n.jsxs)(o.azJ,{sx:{fontSize:"16px",fontWeight:600,display:"flex",alignItems:"center",marginBottom:"16px",paddingBottom:"20px","& .min-icon":{height:"21px",width:"21px",marginRight:"15px"}},children:[(0,n.jsx)(o.nag,{}),(0,n.jsx)("div",{children:r})]}),(0,n.jsxs)(o.azJ,{sx:{fontSize:"14px",marginBottom:"15px"},children:[s.map((e,r)=>(0,n.jsxs)(t.Fragment,{children:[e.icon&&(0,n.jsx)(o.azJ,{sx:{paddingBottom:"20px"},children:(0,n.jsx)(l,{icon:e.icon,description:e.iconDescription})}),(0,n.jsx)(o.azJ,{sx:{paddingBottom:"20px"},children:e.text})]},"feature-item-".concat(r))),(0,n.jsx)(o.azJ,{sx:{paddingBottom:"20px"},children:(0,n.jsx)("a",{href:i,target:"_blank",rel:"noopener",children:a})})]})]})}},62587:(e,r,i)=>{i.r(r),i.d(r,{default:()=>b});var t=i(9950),o=i(93598),n=i(89132),l=i(89379),a=i(28429),s=i(99491),d=i(45246),c=i(49078),p=i(82817),u=i(98167),h=i(70444),x=i(48965),m=i(44414);const f=e=>{let{icon:r,helpBox:i,header:o,backLink:f,title:y,formFields:g}=e;const b=(0,l.A)({name:{required:!0,hasError:(e,r)=>!e&&r?"Config Name is required":"",label:"Name",tooltip:"Name for identity provider configuration",placeholder:"Name",type:"text"}},g),D=(0,a.Zp)(),C=(0,s.jL)(),[O,v]=(0,t.useState)({}),[_,j]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{C((0,c.ph)("add_idp_config"))},[]),(0,m.jsxs)(n.xA9,{item:!0,xs:12,children:[(0,m.jsx)(p.A,{label:(0,m.jsx)(n.EGL,{onClick:()=>D(f),label:o}),actions:(0,m.jsx)(u.A,{})}),(0,m.jsx)(n.Mxu,{children:(0,m.jsxs)(n.Hbc,{helpBox:i,children:[(0,m.jsx)(n._xt,{icon:r,children:y}),(0,m.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{(e=>{j(!0),e.preventDefault();const r=O.name;let i="";for(const t of Object.keys(g))O[t]&&(i+="".concat(t,"=").concat(O[t]," "));h.F.idp.createConfiguration("openid",{name:r,input:i}).then(e=>{D(f),C((0,c.YR)(!0===e.data.restart))}).catch(e=>{C((0,c.C9)((0,x.S)(e.error)))}).finally(()=>j(!1))})(e)},children:(0,m.jsx)(n.xA9,{container:!0,children:(0,m.jsxs)(n.xA9,{xs:12,item:!0,children:[Object.entries(b).map(e=>{let[r,i]=e;return((e,r)=>"toggle"===r.type?(0,m.jsx)(n.dOG,{indicatorLabels:["Enabled","Disabled"],checked:"on"===O[e],value:"is-field-enabled",id:"is-field-enabled",name:"is-field-enabled",label:r.label,tooltip:r.tooltip,onChange:r=>v((0,l.A)((0,l.A)({},O),{},{[e]:r.target.checked?"on":"off"})),description:""}):(0,m.jsx)(n.cl_,{id:e,required:r.required,name:e,label:r.label,tooltip:r.tooltip,error:r.hasError(O[e],!0),value:O[e]?O[e]:"",onChange:r=>v((0,l.A)((0,l.A)({},O),{},{[e]:r.target.value})),placeholder:r.placeholder,type:r.type}))(r,i)}),(0,m.jsxs)(n.xA9,{item:!0,xs:12,sx:d.Uz.modalButtonBar,children:[(0,m.jsx)(n.$nd,{id:"clear",type:"button",variant:"regular",onClick:()=>{v({})},label:"Clear"}),(0,m.jsx)(n.$nd,{id:"save-key",type:"submit",variant:"callAction",color:"primary",disabled:_||!(()=>{for(const[e,r]of Object.entries(b))if(r.required&&(void 0===O[e]||null===O[e]||""===O[e]))return!1;return!0})(),label:"Save"})]})]})})})]})})]})};var y=i(91234),g=i(6805);const b=()=>(0,m.jsx)(f,{icon:(0,m.jsx)(n.XAi,{}),helpBox:(0,m.jsx)(g.A,{helpText:"Learn more about OpenID Connect Configurations",contents:y.G5,docLink:"https://min.io/docs/minio/linux/operations/external-iam.html#minio-external-iam-oidc",docText:"Learn more about OpenID Connect Configurations"}),header:"OpenID Configurations",backLink:o.zZ.IDP_OPENID_CONFIGURATIONS,title:"Create OpenID Configuration",formFields:y.Vb})},91234:(e,r,i)=>{i.d(r,{G5:()=>l,Lq:()=>s,Vb:()=>a,iT:()=>n});var t=i(89132),o=i(44414);const n=[{text:"MinIO supports using an Active Directory or LDAP (AD/LDAP) service for external management of user identities. Configuring an external IDentity Provider (IDP) enables Single-Sign On (SSO) workflows, where applications authenticate against the external IDP before accessing MinIO.",icon:(0,o.jsx)(t.Tir,{}),iconDescription:"Create Configurations"},{text:"MinIO queries the configured Active Directory / LDAP server to verify the credentials specified by the application and optionally return a list of groups in which the user has membership. MinIO supports two modes (Lookup-Bind Mode and Username-Bind Mode) for performing these queries",icon:null,iconDescription:""},{text:"MinIO recommends using Lookup-Bind mode as the preferred method for verifying AD/LDAP credentials. Username-Bind mode is a legacy method retained for backwards compatibility only.",icon:null,iconDescription:""}],l=[{text:"MinIO supports using an OpenID Connect (OIDC) compatible IDentity Provider (IDP) such as Okta, KeyCloak, Dex, Google, or Facebook for external management of user identities.",icon:(0,o.jsx)(t.XAi,{}),iconDescription:"Create Configurations"},{text:"Configuring an external IDP enables Single-Sign On workflows, where applications authenticate against the external IDP before accessing MinIO.",icon:null,iconDescription:""}],a={config_url:{required:!0,hasError:(e,r)=>!e&&r?"Config URL is required":"",label:"Config URL",tooltip:"Config URL for identity provider configuration",placeholder:"https://identity-provider-url/.well-known/openid-configuration",type:"text",editOnly:!1},client_id:{required:!0,hasError:(e,r)=>!e&&r?"Client ID is required":"",label:"Client ID",tooltip:"Identity provider Client ID",placeholder:"Enter Client ID",type:"text",editOnly:!1},client_secret:{required:!0,hasError:(e,r)=>!e&&r?"Client Secret is required":"",label:"Client Secret",tooltip:"Identity provider Client Secret",placeholder:"Enter Client Secret",type:"password",editOnly:!0},claim_name:{required:!1,label:"Claim Name",tooltip:"Claim from which MinIO will read the policy or role to use",placeholder:"Enter Claim Name",type:"text",hasError:(e,r)=>"",editOnly:!1},display_name:{required:!1,label:"Display Name",tooltip:"",placeholder:"Enter Display Name",type:"text",hasError:(e,r)=>"",editOnly:!1},claim_prefix:{required:!1,label:"Claim Prefix",tooltip:"",placeholder:"Enter Claim Prefix",type:"text",hasError:(e,r)=>"",editOnly:!1},scopes:{required:!1,label:"Scopes",tooltip:"",placeholder:"openid,profile,email",type:"text",hasError:(e,r)=>"",editOnly:!1},redirect_uri:{required:!1,label:"Redirect URI",tooltip:"",placeholder:"https://console-endpoint-url/oauth_callback",type:"text",hasError:(e,r)=>"",editOnly:!1},role_policy:{required:!1,label:"Role Policy",tooltip:"",placeholder:"readonly",type:"text",hasError:(e,r)=>"",editOnly:!1},claim_userinfo:{required:!1,label:"Claim User Info",tooltip:"",placeholder:"Claim User Info",type:"toggle",hasError:(e,r)=>"",editOnly:!1},redirect_uri_dynamic:{required:!1,label:"Redirect URI Dynamic",tooltip:"",placeholder:"Redirect URI Dynamic",type:"toggle",hasError:(e,r)=>"",editOnly:!1}},s={server_insecure:{required:!0,hasError:(e,r)=>!e&&r?"Server Address is required":"",label:"Server Insecure",tooltip:"Disable SSL certificate verification ",placeholder:"myldapserver.com:636",type:"toggle",editOnly:!1},server_addr:{required:!0,hasError:(e,r)=>!e&&r?"Server Address is required":"",label:"Server Address",tooltip:'AD/LDAP server address e.g. "myldapserver.com:636"',placeholder:"myldapserver.com:636",type:"text",editOnly:!1},lookup_bind_dn:{required:!0,hasError:(e,r)=>!e&&r?"Lookup Bind DN is required":"",label:"Lookup Bind DN",tooltip:"DN (Distinguished Name) for LDAP read-only service account used to perform DN and group lookups",placeholder:"cn=admin,dc=min,dc=io",type:"text",editOnly:!1},lookup_bind_password:{required:!0,hasError:(e,r)=>!e&&r?"Lookup Bind Password is required":"",label:"Lookup Bind Password",tooltip:"Password for LDAP read-only service account used to perform DN and group lookups",placeholder:"admin",type:"password",editOnly:!0},user_dn_search_base_dn:{required:!0,hasError:(e,r)=>!e&&r?"User DN Search Base DN is required":"",label:"User DN Search Base",tooltip:"",placeholder:"DC=example,DC=net",type:"text",editOnly:!1},user_dn_search_filter:{required:!0,hasError:(e,r)=>!e&&r?"User DN Search Filter is required":"",label:"User DN Search Filter",tooltip:"",placeholder:"(sAMAccountName=%s)",type:"text",editOnly:!1},group_search_base_dn:{required:!1,hasError:(e,r)=>"",label:"Group Search Base DN",tooltip:"",placeholder:"ou=swengg,dc=min,dc=io",type:"text",editOnly:!1},group_search_filter:{required:!1,hasError:(e,r)=>"",label:"Group Search Filter",tooltip:"",placeholder:"(&(objectclass=groupofnames)(member=%d))",type:"text",editOnly:!1}}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/2643.e00d71a1.chunk.js b/web-app/build/static/js/2643.e00d71a1.chunk.js deleted file mode 100644 index 779f30459b..0000000000 --- a/web-app/build/static/js/2643.e00d71a1.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2643],{42643:(e,a,l)=>{l.r(a),l.d(a,{default:()=>U});var t=l(89379),s=l(9950),u=l(28429),r=l(87946),n=l.n(r),o=l(89132),i=l(70444),c=l(48965),b=l(45246),v=l(60252),d=l(93598),S=l(49078),g=l(99491);const h=[{label:"US East (Ohio)",value:"us-east-2"},{label:"US East (N. Virginia)",value:"us-east-1"},{label:"US West (N. California)",value:"us-west-1"},{label:"US West (Oregon)",value:"us-west-2"},{label:"Africa (Cape Town)",value:"af-south-1"},{label:"Asia Pacific (Hong Kong)***",value:"ap-east-1"},{label:"Asia Pacific (Jakarta)",value:"ap-southeast-3"},{label:"Asia Pacific (Mumbai)",value:"ap-south-1"},{label:"Asia Pacific (Osaka)",value:"ap-northeast-3"},{label:"Asia Pacific (Seoul)",value:"ap-northeast-2"},{label:"Asia Pacific (Singapore)",value:"ap-southeast-1"},{label:"Asia Pacific (Sydney)",value:"ap-southeast-2"},{label:"Asia Pacific (Tokyo)",value:"ap-northeast-1"},{label:"Canada (Central)",value:"ca-central-1"},{label:"China (Beijing)",value:"cn-north-1"},{label:"China (Ningxia)",value:"cn-northwest-1"},{label:"Europe (Frankfurt)",value:"eu-central-1"},{label:"Europe (Ireland)",value:"eu-west-1"},{label:"Europe (London)",value:"eu-west-2"},{label:"Europe (Milan)",value:"eu-south-1"},{label:"Europe (Paris)",value:"eu-west-3"},{label:"Europe (Stockholm)",value:"eu-north-1"},{label:"South America (S\xe3o Paulo)",value:"sa-east-1"},{label:"Middle East (Bahrain)",value:"me-south-1"},{label:"AWS GovCloud (US-East)",value:"us-gov-east-1"},{label:"AWS GovCloud (US-West)",value:"us-gov-west-1"}],A=[{label:"Montr\xe9al",value:"NORTHAMERICA-NORTHEAST1"},{label:"Toronto",value:"NORTHAMERICA-NORTHEAST2"},{label:"Iowa",value:"US-CENTRAL1"},{label:"South Carolina",value:"US-EAST1"},{label:"Northern Virginia",value:"US-EAST4"},{label:"Oregon",value:"US-WEST1"},{label:"Los Angeles",value:"US-WEST2"},{label:"Salt Lake City",value:"US-WEST3"},{label:"Las Vegas",value:"US-WEST4"},{label:"S\xe3o Paulo",value:"SOUTHAMERICA-EAST1"},{label:"Santiago",value:"SOUTHAMERICA-WEST1"},{label:"Warsaw",value:"EUROPE-CENTRAL2"},{label:"Finland",value:"EUROPE-NORTH1"},{label:"Belgium",value:"EUROPE-WEST1"},{label:"London",value:"EUROPE-WEST2"},{label:"Frankfurt",value:"EUROPE-WEST3"},{label:"Netherlands",value:"EUROPE-WEST4"},{label:"Z\xfcrich",value:"EUROPE-WEST6"},{label:"Taiwan",value:"ASIA-EAST1"},{label:"Hong Kong",value:"ASIA-EAST2"},{label:"Tokyo",value:"ASIA-NORTHEAST1"},{label:"Osaka",value:"ASIA-NORTHEAST2"},{label:"Seoul",value:"ASIA-NORTHEAST3"},{label:"Mumbai",value:"ASIA-SOUTH1"},{label:"Delhi",value:"ASIA-SOUTH2"},{label:"Singapore",value:"ASIA-SOUTHEAST1"},{label:"Jakarta",value:"ASIA-SOUTHEAST2"},{label:"Sydney",value:"AUSTRALIA-SOUTHEAST1"},{label:"Melbourne",value:"AUSTRALIA-SOUTHEAST2"}],E=[{label:"Asia",value:"asia"},{label:"Asia Pacific",value:"asiapacific"},{label:"Australia",value:"australia"},{label:"Australia Central",value:"australiacentral"},{label:"Australia Central 2",value:"australiacentral2"},{label:"Australia East",value:"australiaeast"},{label:"Australia Southeast",value:"australiasoutheast"},{label:"Brazil",value:"brazil"},{label:"Brazil South",value:"brazilsouth"},{label:"Brazil Southeast",value:"brazilsoutheast"},{label:"Canada",value:"canada"},{label:"Canada Central",value:"canadacentral"},{label:"Canada East",value:"canadaeast"},{label:"Central India",value:"centralindia"},{label:"Central US",value:"centralus"},{label:"Central US (Stage)",value:"centralusstage"},{label:"Central US EUAP",value:"centraluseuap"},{label:"East Asia",value:"eastasia"},{label:"East Asia (Stage)",value:"eastasiastage"},{label:"East US",value:"eastus"},{label:"East US (Stage)",value:"eastusstage"},{label:"East US 2",value:"eastus2"},{label:"East US 2 (Stage)",value:"eastus2stage"},{label:"East US 2 EUAP",value:"eastus2euap"},{label:"Europe",value:"europe"},{label:"France",value:"france"},{label:"France Central",value:"francecentral"},{label:"France South",value:"francesouth"},{label:"Germany",value:"germany"},{label:"Germany North",value:"germanynorth"},{label:"Germany West Central",value:"germanywestcentral"},{label:"Global",value:"global"},{label:"India",value:"india"},{label:"Japan",value:"japan"},{label:"Japan East",value:"japaneast"},{label:"Japan West",value:"japanwest"},{label:"Jio India Central",value:"jioindiacentral"},{label:"Jio India West",value:"jioindiawest"},{label:"Korea",value:"korea"},{label:"Korea Central",value:"koreacentral"},{label:"Korea South",value:"koreasouth"},{label:"North Central US",value:"northcentralus"},{label:"North Central US (Stage)",value:"northcentralusstage"},{label:"North Europe",value:"northeurope"},{label:"Norway",value:"norway"},{label:"Norway East",value:"norwayeast"},{label:"Norway West",value:"norwaywest"},{label:"South Africa",value:"southafrica"},{label:"South Africa North",value:"southafricanorth"},{label:"South Africa West",value:"southafricawest"},{label:"South Central US",value:"southcentralus"},{label:"South Central US (Stage)",value:"southcentralusstage"},{label:"South India",value:"southindia"},{label:"Southeast Asia",value:"southeastasia"},{label:"Southeast Asia (Stage)",value:"southeastasiastage"},{label:"Sweden Central",value:"swedencentral"},{label:"Switzerland",value:"switzerland"},{label:"Switzerland North",value:"switzerlandnorth"},{label:"Switzerland West",value:"switzerlandwest"},{label:"UAE Central",value:"uaecentral"},{label:"UAE North",value:"uaenorth"},{label:"UK South",value:"uksouth"},{label:"UK West",value:"ukwest"},{label:"United Arab Emirates",value:"uae"},{label:"United Kingdom",value:"uk"},{label:"United States",value:"unitedstates"},{label:"United States EUAP",value:"unitedstateseuap"},{label:"West Central US",value:"westcentralus"},{label:"West Europe",value:"westeurope"},{label:"West India",value:"westindia"},{label:"West US",value:"westus"},{label:"West US (Stage)",value:"westusstage"},{label:"West US 2",value:"westus2"},{label:"West US 2 (Stage)",value:"westus2stage"},{label:"West US 3",value:"westus3"}];var p=l(44414);const m=e=>{let{label:a,onChange:l,type:t,tooltip:u="",required:r=!1,disabled:n,placeholder:i}=e;const c=(e=>{let a=[];return"s3"===e&&(a=h),"gcs"===e&&(a=A),"azure"===e&&(a=E),a.map(e=>({value:e.value,label:"".concat(e.label," - ").concat(e.value)}))})(t),[b,v]=(0,s.useState)("");return"minio"===t?(0,p.jsx)(o.cl_,{label:a,disabled:n,required:r,tooltip:u,value:b,placeholder:i,id:"region-list",onChange:e=>{v(e.target.value),l(e.target.value)}}):(0,p.jsx)(o.jT8,{label:a,disabled:n,required:r,tooltip:u,options:c,value:b,placeholder:i,id:"region-list",onChange:e=>{v(e),l(e)}})};var C=l(82817),T=l(98167);const U=()=>{const e=(0,g.jL)(),a=(0,u.Zp)(),l=(0,u.g)(),[r,h]=(0,s.useState)(!1),[A,E]=(0,s.useState)(""),[U,x]=(0,s.useState)(""),[w,f]=(0,s.useState)(""),[j,y]=(0,s.useState)(""),[k,N]=(0,s.useState)(""),[W,O]=(0,s.useState)(""),[R,I]=(0,s.useState)(""),[z,P]=(0,s.useState)(""),[H,K]=(0,s.useState)(""),[_,F]=(0,s.useState)(""),[q,M]=(0,s.useState)(""),[B,G]=(0,s.useState)(""),[L,J]=(0,s.useState)(""),Z=n()(l,"service","s3"),[D,X]=(0,s.useState)(!0),[V,$]=(0,s.useState)(""),Q=(0,s.useCallback)(()=>/^[A-Z0-9-_]+$/.test(A)?($(""),!0):($("Please verify that string is uppercase only and contains valid characters (numbers, dashes & underscores)."),!1),[A]);(0,s.useEffect)(()=>{if(r){let l={},s={name:A,endpoint:U,bucket:w,prefix:j,region:k},u=Z;switch(Z){case"minio":l={minio:(0,t.A)((0,t.A)({},s),{},{accesskey:R,secretkey:z})};break;case"s3":l={s3:(0,t.A)((0,t.A)({},s),{},{accesskey:R,secretkey:z,storageclass:W})};break;case"gcs":l={gcs:(0,t.A)((0,t.A)({},s),{},{creds:_})};break;case"azure":l={azure:(0,t.A)((0,t.A)({},s),{},{accountname:q,accountkey:B})}}let r=(0,t.A)({type:u},l);i.F.admin.addTier(r).then(()=>{h(!1),a(d.zZ.TIERS)}).catch(async a=>{const l=await a.json();h(!1),e((0,S.C9)((0,c.S)(l)))})}},[R,B,q,w,_,U,A,j,k,r,z,e,W,Z,a]),(0,s.useEffect)(()=>{let e=!0;""===Z&&(e=!1),""!==A&&Q()||(e=!1),""===U&&(e=!1),""===w&&(e=!1),""===k&&"minio"!==Z&&(e=!1),"s3"!==Z&&"minio"!==Z||(""===R&&(e=!1),""===z&&(e=!1)),"gcs"===Z&&""===_&&(e=!1),"azure"===Z&&(""===q&&(e=!1),""===B&&(e=!1)),X(e)},[R,B,q,w,_,U,D,A,j,k,z,W,Z,Q]),(0,s.useEffect)(()=>{switch(Z){case"gcs":x("https://storage.googleapis.com"),J("Google Cloud");break;case"s3":x("https://s3.amazonaws.com"),J("Amazon S3");break;case"azure":x("http://blob.core.windows.net"),J("Azure");break;case"minio":x(""),J("MinIO")}},[Z]);const Y=v._T.find(e=>e.serviceName===Z);return(0,s.useEffect)(()=>{e((0,S.ph)("add-tier-configuration"))},[]),(0,p.jsxs)(s.Fragment,{children:[(0,p.jsx)(C.A,{label:(0,p.jsx)(s.Fragment,{children:(0,p.jsx)(o.EGL,{label:"Add Tier",onClick:()=>a(d.zZ.TIERS_ADD)})}),actions:(0,p.jsx)(T.A,{})}),(0,p.jsx)(o.Mxu,{children:(0,p.jsx)(o.xA9,{item:!0,xs:12,sx:{border:"1px solid #eaeaea",padding:"25px"},children:(0,p.jsxs)("form",{noValidate:!0,onSubmit:e=>{e.preventDefault(),h(!0)},children:[""!==Z&&Y?(0,p.jsxs)(o._xt,{icon:Y.logo,sx:{marginBottom:20},children:[L||""," - Add Tier Configuration"]}):null,(0,p.jsx)(o.xA9,{item:!0,xs:12,sx:{display:"grid",gridTemplateColumns:"1fr 1fr",gridAutoFlow:"row",gridRowGap:20,gridColumnGap:50,["@media (max-width: ".concat(o.nmC.sm,"px)")]:{gridTemplateColumns:"1fr",gridAutoFlow:"dense"}},children:""!==Z&&(0,p.jsxs)(s.Fragment,{children:[(0,p.jsx)(o.cl_,{id:"name",name:"name",label:"Name",placeholder:"Enter Name (Eg. REMOTE-TIER)",value:A,onChange:e=>{E(e.target.value.toUpperCase())},error:V,required:!0}),(0,p.jsx)(o.cl_,{id:"endpoint",name:"endpoint",label:"Endpoint",placeholder:"Enter Endpoint",value:U,onChange:e=>{x(e.target.value)},required:!0}),(Z===v.pW||Z===v.vH)&&(0,p.jsxs)(s.Fragment,{children:[(0,p.jsx)(o.cl_,{id:"accessKey",name:"accessKey",label:"Access Key",placeholder:"Enter Access Key",value:R,onChange:e=>{I(e.target.value)},required:!0}),(0,p.jsx)(o.cl_,{id:"secretKey",name:"secretKey",label:"Secret Key",placeholder:"Enter Secret Key",value:z,onChange:e=>{P(e.target.value)},required:!0})]}),Z===v.qA&&(0,p.jsx)(o.SxS,{accept:".json",id:"creds",label:"Credentials",name:"creds",returnEncodedData:!0,onChange:(e,a,l)=>{l&&(F(l),K(a))},value:H,required:!0}),Z===v.y&&(0,p.jsxs)(s.Fragment,{children:[(0,p.jsx)(o.cl_,{id:"accountName",name:"accountName",label:"Account Name",placeholder:"Enter Account Name",value:q,onChange:e=>{M(e.target.value)},required:!0}),(0,p.jsx)(o.cl_,{id:"accountKey",name:"accountKey",label:"Account Key",placeholder:"Enter Account Key",value:B,onChange:e=>{G(e.target.value)},required:!0})]}),(0,p.jsx)(o.cl_,{id:"bucket",name:"bucket",label:"Bucket",placeholder:"Enter Bucket",value:w,onChange:e=>{f(e.target.value)},required:!0}),(0,p.jsx)(o.cl_,{id:"prefix",name:"prefix",label:"Prefix",placeholder:"Enter Prefix",value:j,onChange:e=>{y(e.target.value)}}),(0,p.jsx)(m,{onChange:e=>{N(e)},required:"minio"!==Z,label:"Region",id:"region",type:Z}),Z===v.pW&&(0,p.jsx)(o.cl_,{id:"storageClass",name:"storageClass",label:"Storage Class",placeholder:"Enter Storage Class",value:W,onChange:e=>{O(e.target.value)}})]})}),(0,p.jsx)(o.xA9,{item:!0,xs:12,sx:b.Uz.modalButtonBar,children:(0,p.jsx)(o.$nd,{id:"save-tier-configuration",type:"submit",variant:"callAction",disabled:r||!D,label:"Save Tier Configuration"})})]})})})]})}},60252:(e,a,l)=>{l.d(a,{_T:()=>i,pW:()=>n,qA:()=>r,vH:()=>u,y:()=>o});var t=l(89132),s=l(44414);const u="minio",r="gcs",n="s3",o="azure",i=[{serviceName:u,targetTitle:"MinIO",logo:(0,s.jsx)(t.Wh8,{}),logoXs:(0,s.jsx)(t.$2v,{})},{serviceName:r,targetTitle:"Google Cloud Storage",logo:(0,s.jsx)(t.F7U,{}),logoXs:(0,s.jsx)(t.gwF,{})},{serviceName:n,targetTitle:"AWS S3",logo:(0,s.jsx)(t._tF,{}),logoXs:(0,s.jsx)(t.ZZX,{})},{serviceName:o,targetTitle:"Azure",logo:(0,s.jsx)(t.Nmx,{}),logoXs:(0,s.jsx)(t.Ubg,{})}]}}]); \ No newline at end of file diff --git a/web-app/build/static/js/2684.c186c305.chunk.js b/web-app/build/static/js/2684.c186c305.chunk.js deleted file mode 100644 index ef3d51583e..0000000000 --- a/web-app/build/static/js/2684.c186c305.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2684],{32684:(e,t,a)=>{a.r(t),a.d(t,{default:()=>x});var n=a(9950),i=a(28429),s=a(89132),l=a(93598),c=a(49078),r=a(99491),o=a(82817),d=a(98167),p=a(70444),h=a(48965),u=a(66147),g=a(44414);const x=()=>{const e=(0,r.jL)(),t=(0,i.Zp)();let a=new URLSearchParams(document.location.search);const x=a.get("bucketName")||"",m=a.get("ruleID")||"";(0,n.useEffect)(()=>{e((0,c.ph)("bucket-replication-edit"))},[]);const f=l.zZ.BUCKETS+"/".concat(x,"/admin/replication"),[j,b]=(0,n.useState)(!0),[k,S]=(0,n.useState)(!1),[v,y]=(0,n.useState)("1"),[C,w]=(0,n.useState)(""),[E,D]=(0,n.useState)(""),[I,R]=(0,n.useState)(!1),[O,M]=(0,n.useState)(!1),[B,_]=(0,n.useState)(""),[A,T]=(0,n.useState)(""),[N,z]=(0,n.useState)(""),[P,F]=(0,n.useState)(!1),[G,J]=(0,n.useState)(!1),[L,V]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{j&&x&&m&&p.F.buckets.getBucketReplicationRule(x,m).then(e=>{var t;y(e.data.priority?e.data.priority.toString():"");const a=e.data.prefix||"",n=e.data.tags||"";D(a),_(n),T(n),w((null===(t=e.data.destination)||void 0===t?void 0:t.bucket)||""),R(e.data.delete_marker_replication||!1),z(e.data.storageClass||""),F(!!e.data.existingObjects),J(!!e.data.deletes_replication),V("Enabled"===e.data.status),M(!!e.data.metadata_replication),b(!1)}).catch(t=>{e((0,c.C9)((0,h.S)(t.error))),b(!1)})},[j,e,x,m]),(0,n.useEffect)(()=>{if(k&&x&&m){const a={arn:C,ruleState:L,prefix:E,tags:A,replicateDeleteMarkers:I,replicateDeletes:G,replicateExistingObjects:P,replicateMetadata:O,priority:parseInt(v),storageClass:N};p.F.buckets.updateMultiBucketReplication(x,m,a).then(()=>{t(f)}).catch(t=>{e((0,c.C9)((0,h.S)(t.error))),S(!1)})}},[k,x,m,C,E,A,I,v,G,P,L,O,N,e]),(0,g.jsxs)(n.Fragment,{children:[(0,g.jsx)(o.A,{label:(0,g.jsx)(s.EGL,{label:"Edit Bucket Replication",onClick:()=>t(f)}),actions:(0,g.jsx)(d.A,{})}),(0,g.jsx)(s.Mxu,{children:(0,g.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),S(!0)},children:(0,g.jsxs)(s.Hbc,{containerPadding:!1,withBorders:!1,helpBox:(0,g.jsx)(s.lVp,{iconComponent:(0,g.jsx)(s.WBh,{}),title:"Bucket Replication Configuration",help:(0,g.jsxs)(n.Fragment,{children:[(0,g.jsx)(s.azJ,{sx:{paddingTop:"10px"},children:"For each write operation to the bucket, MinIO checks all configured replication rules for the bucket and applies the matching rule with highest configured priority."}),(0,g.jsx)(s.azJ,{sx:{paddingTop:"10px"},children:"MinIO supports enabling replication of existing objects in a bucket."}),(0,g.jsx)(s.azJ,{sx:{paddingTop:"10px"},children:"MinIO does not enable existing object replication by default. Objects created before replication was configured or while replication is disabled are not synchronized to the target deployment unless replication of existing objects is enabled."}),(0,g.jsx)(s.azJ,{sx:{paddingTop:"10px"},children:"MinIO supports replicating delete operations, where MinIO synchronizes deleting specific object versions and new delete markers. Delete operation replication uses the same replication process as all other replication operations."})," "]})}),children:[(0,g.jsx)(s.dOG,{checked:L,id:"ruleState",name:"ruleState",label:"Rule State",onChange:e=>{V(e.target.checked)}}),(0,g.jsx)(s.EmB,{label:"Destination",sx:{width:"100%"},children:C}),(0,g.jsx)(s.cl_,{id:"priority",name:"priority",onChange:e=>{e.target.validity.valid&&y(e.target.value)},label:"Priority",value:v,pattern:"[0-9]*"}),(0,g.jsx)(s.cl_,{id:"storageClass",name:"storageClass",onChange:e=>{z(e.target.value)},placeholder:"STANDARD_IA,REDUCED_REDUNDANCY etc",label:"Storage Class",value:N}),(0,g.jsxs)("fieldset",{className:"inputItem",children:[(0,g.jsx)("legend",{children:"Object Filters"}),(0,g.jsx)(s.cl_,{id:"prefix",name:"prefix",onChange:e=>{D(e.target.value)},placeholder:"prefix",label:"Prefix",value:E}),(0,g.jsx)(u.A,{name:"tags",label:"Tags",elements:B,onChange:e=>{T(e)},keyPlaceholder:"Tag Key",valuePlaceholder:"Tag Value",withBorder:!0})]}),(0,g.jsxs)("fieldset",{className:"inputItem",children:[(0,g.jsx)("legend",{children:"Replication Options"}),(0,g.jsx)(s.dOG,{checked:P,id:"repExisting",name:"repExisting",label:"Existing Objects",onChange:e=>{F(e.target.checked)},description:"Replicate existing objects"}),(0,g.jsx)(s.dOG,{checked:O,id:"metadatataSync",name:"metadatataSync",label:"Metadata Sync",onChange:e=>{M(e.target.checked)},description:"Metadata Sync"}),(0,g.jsx)(s.dOG,{checked:I,id:"deleteMarker",name:"deleteMarker",label:"Delete Marker",onChange:e=>{R(e.target.checked)},description:"Replicate soft deletes"}),(0,g.jsx)(s.dOG,{checked:G,id:"repDelete",name:"repDelete",label:"Deletes",onChange:e=>{J(e.target.checked)},description:"Replicate versioned deletes"})]}),(0,g.jsxs)(s.xA9,{item:!0,xs:12,sx:{display:"flex",flexDirection:"row",justifyContent:"end",gap:10,paddingTop:10},children:[(0,g.jsx)(s.$nd,{id:"cancel-edit-replication",type:"button",variant:"regular",disabled:j||k,onClick:()=>{t(f)},label:"Cancel"}),(0,g.jsx)(s.$nd,{id:"save-replication",type:"submit",variant:"callAction",disabled:j||k,label:"Save"})]})]})})})]})}},66147:(e,t,a)=>{a.d(t,{A:()=>d});var n=a(9950),i=a(87946),s=a.n(i),l=a(95491),c=a.n(l),r=a(89132),o=a(44414);const d=e=>{let{elements:t,name:a,label:i,tooltip:l="",keyPlaceholder:d="",valuePlaceholder:p="",onChange:h,withBorder:u=!1}=e;const[g,x]=(0,n.useState)([""]),[m,f]=(0,n.useState)([""]),j=(0,n.createRef)();(0,n.useEffect)(()=>{if(1===g.length&&""===g[0]&&1===m.length&&""===m[0]&&t&&""!==t){const e=t.split("&");let a=[],n=[];e.forEach(e=>{const t=e.split("=");2===t.length&&(a.push(t[0]),n.push(t[1]))}),a.push(""),n.push(""),x(a),f(n)}},[g,m,t]),(0,n.useEffect)(()=>{const e=j.current;e&&g.length>1&&e.scrollIntoView(!1)},[g]);const b=(0,n.useRef)(!0);(0,n.useLayoutEffect)(()=>{b.current?b.current=!1:v()},[g,m]);const k=e=>{e.persist();let t=[...g];const a=s()(e.target,"dataset.index","0");t[parseInt(a)]=e.target.value,x(t)},S=e=>{e.persist();let t=[...m];const a=s()(e.target,"dataset.index","0");t[parseInt(a)]=e.target.value,f(t)},v=c()(()=>{let e="";g.forEach((t,a)=>{if(g[a]&&m[a]){let n="".concat(t,"=").concat(m[a]);0!==a&&(n="&".concat(n)),e="".concat(e).concat(n)}}),h(e)},500),y=m.map((e,t)=>(0,o.jsxs)(r.xA9,{item:!0,xs:12,className:"lineInputBoxes inputItem",children:[(0,o.jsx)(r.cl_,{id:"".concat(a,"-key-").concat(t.toString()),label:"",name:"".concat(a,"-").concat(t.toString()),value:g[t],onChange:k,index:t,placeholder:d}),(0,o.jsx)("span",{className:"queryDiv",children:":"}),(0,o.jsx)(r.cl_,{id:"".concat(a,"-value-").concat(t.toString()),label:"",name:"".concat(a,"-").concat(t.toString()),value:m[t],onChange:S,index:t,placeholder:p,overlayIcon:t===m.length-1?(0,o.jsx)(r.REV,{}):null,overlayAction:()=>{(()=>{if(""!==g[g.length-1].trim()&&""!==m[m.length-1].trim()){const e=[...g],t=[...m];e.push(""),t.push(""),x(e),f(t)}})()}})]},"query-pair-".concat(a,"-").concat(t.toString())));return(0,o.jsx)(n.Fragment,{children:(0,o.jsxs)(r.xA9,{item:!0,xs:12,sx:{"& .lineInputBoxes":{display:"flex"},"& .queryDiv":{alignSelf:"center",margin:"-15px 4px 0",fontWeight:600}},className:"inputItem",children:[(0,o.jsxs)(r.l1Y,{children:[i,""!==l&&(0,o.jsx)(r.azJ,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,o.jsx)(r.m_M,{tooltip:l,placement:"top",children:(0,o.jsx)(r.NTw,{style:{width:13,height:13}})})})]}),(0,o.jsxs)(r.azJ,{withBorders:u,sx:{padding:15,height:150,overflowY:"auto",position:"relative",marginTop:15},children:[y,(0,o.jsx)("div",{ref:j})]})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/2797.c53d9c9c.chunk.js b/web-app/build/static/js/2797.c53d9c9c.chunk.js deleted file mode 100644 index 0877ceed69..0000000000 --- a/web-app/build/static/js/2797.c53d9c9c.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2797],{42797:(e,t,a)=>{a.r(t),a.d(t,{default:()=>p});var n=a(9950),r=a(28429),s=a(98341),o=a(89132),l=a(32680),i=a(45246),c=a(99491),d=a(49078),h=a(44414);const p=(0,s.Ng)(e=>{let{objectBrowser:t}=e;return{simplePath:t.simplePath}})(e=>{let{modalOpen:t,folderName:a,bucketName:p,onClose:u,simplePath:m,limitedSubPath:f}=e;const x=(0,c.jL)(),w=(0,r.Zp)(),[b,j]=(0,n.useState)(""),[C,g]=(0,n.useState)(!1),[y,P]=(0,n.useState)(p),v=(0,s.d4)(e=>e.objectBrowser.records);(0,n.useEffect)(()=>{if(m){const e="".concat(p).concat(p.endsWith("/")||m.startsWith("/")?"":"/").concat(m);P(e)}},[m,p]);const k=()=>{let e="/";m&&(e=m.endsWith("/")?m:"".concat(m,"/"));if(-1!==v.findIndex(t=>t.name===e+b))return void x((0,d.Dy)({errorMessage:"Folder cannot have the same name as an existing file",detailedError:""}));const t=b.split("/").filter(e=>""!==e.trim()).join("/");"/"===e.slice(0,1)&&(e=e.slice(1));const a="/browser/".concat(encodeURIComponent(p),"/").concat(encodeURIComponent("".concat(e).concat(t,"/")));w(a),u()};(0,n.useEffect)(()=>{let e=!0;0===b.trim().length&&(e=!1),g(e)},[b]);return(0,h.jsx)(n.Fragment,{children:(0,h.jsx)(l.A,{modalOpen:t,title:"Choose or create a new path",onClose:u,titleIcon:(0,h.jsx)(o.DGR,{}),children:(0,h.jsxs)(o.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,h.jsxs)(o.azJ,{className:"inputItem",sx:{display:"flex",gap:8},children:[(0,h.jsx)("strong",{children:"Current Path:"})," ",(0,h.jsx)("br",{}),(0,h.jsx)(o.azJ,{sx:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",fontSize:14,textAlign:"left"},dir:"rtl",children:y})]}),(0,h.jsx)(o.cl_,{value:b,label:"New Folder Path",id:"folderPath",name:"folderPath",placeholder:"Enter the new Folder Path",onChange:e=>{j(e.target.value)},onKeyPress:e=>{"Enter"===e.code&&""!==b&&k()},required:!0,tooltip:f?"You may only have write access on a limited set of subpaths within this path. Please carefully review your User permissions to understand the paths to which you may write.":""}),(0,h.jsxs)(o.xA9,{item:!0,xs:12,sx:i.Uz.modalButtonBar,children:[(0,h.jsx)(o.$nd,{id:"clear",type:"button",color:"primary",variant:"regular",onClick:()=>{j("")},label:"Clear"}),(0,h.jsx)(o.$nd,{id:"create",type:"submit",variant:"callAction",disabled:!C,onClick:k,label:"Create"})]})]})})})})}}]); \ No newline at end of file diff --git a/web-app/build/static/js/2813.f128a9fb.chunk.js b/web-app/build/static/js/2813.f128a9fb.chunk.js deleted file mode 100644 index ba4ec0e927..0000000000 --- a/web-app/build/static/js/2813.f128a9fb.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2813],{52813:(e,t,s)=>{s.r(t),s.d(t,{default:()=>f});var n=s(9950),r=s(98341),o=s(89132);const a="error",l="success",i="inProgress";var d=s(99491),c=s(31690),h=s(49078),x=s(47146),g=s(70444),p=s(44414);const u=e=>{let{title:t,children:s}=e;const[r,a]=(0,n.useState)("N/A"),[l,i]=(0,n.useState)(0),[d,c]=(0,n.useState)(0),[h,x]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{h&&g.F.admin.adminInfo({defaultOnly:!0}).then(e=>{var t;const s=null===(t=e.data.servers)||void 0===t?void 0:t.length;if(i(s||0),e.data.servers&&e.data.servers.length>0){a(e.data.servers[0].version||"N/A");const t=e.data.servers.reduce((e,t)=>e+(t.drives?t.drives.length:0),0);c(t)}x(!1)}).catch(()=>{x(!1)})},[h]),(0,p.jsxs)(o.xA9,{item:!0,xs:12,children:[(0,p.jsx)(o._xt,{separator:!0,children:t}),(0,p.jsxs)(o.xA9,{item:!0,xs:12,children:[(0,p.jsx)(o.xA9,{item:!0,xs:12,sx:{padding:0,marginBottom:25},children:(0,p.jsx)(o.xA9,{container:!0,sx:{padding:25},children:h?(0,p.jsx)(n.Fragment,{children:(0,p.jsx)(o.xA9,{item:!0,xs:12,sx:{textAlign:"center"},children:(0,p.jsx)(o.aHM,{style:{width:25,height:25}})})}):(0,p.jsxs)(n.Fragment,{children:[(0,p.jsxs)(o.xA9,{item:!0,xs:12,md:4,sx:{fontSize:18,display:"flex",alignItems:"center","& svg":{marginRight:10}},children:[(0,p.jsx)(o.JUN,{})," ",(0,p.jsx)("strong",{children:l}),"\xa0nodes,\xa0",(0,p.jsx)("strong",{children:d}),"\xa0 drives"]}),(0,p.jsxs)(o.xA9,{item:!0,xs:12,md:4,sx:{fontSize:12,justifyContent:"center",alignSelf:"center",alignItems:"center",display:"flex"},children:[(0,p.jsx)("span",{style:{marginRight:20},children:(0,p.jsx)(o.mzI,{})})," ","MinIO VERSION\xa0",(0,p.jsx)("strong",{children:r})]})]})})}),s]})]})};var j=s(82817),m=s(98167);const f=()=>{const e=(0,d.jL)(),t=(0,r.d4)(e=>e.healthInfo.message),s=(0,r.d4)(e=>e.system.serverDiagnosticStatus),[g,f]=(0,n.useState)(!1),[w,b]=(0,n.useState)(!0),[v,S]=(0,n.useState)(""),[y,A]=(0,n.useState)("Start Health Report"),[H,R]=(0,n.useState)("Health Report"),[C,I]=(0,n.useState)(""),[k,z]=(0,n.useState)("");(0,n.useEffect)(()=>s===i?(R("Health Report in progress..."),void S("Health Report started. Please do not refresh page during diagnosis.")):s===l?(R("Health Report complete"),S("Health Report file is ready to be downloaded."),void A("Start Health Report")):s===a?(R("Error"),S("An error occurred while getting the Health Report file."),void A("Retry Health Report")):void 0,[s,g]),(0,n.useEffect)(()=>{s===l&&t!=={}&&b(!1),s===i&&b(!0),f(!1)},[s,t]),(0,n.useEffect)(()=>{if(g){e((0,x.Zq)()),I("");const t=new URL(window.location.toString()),s=!1?"9090":t.port,n=(0,c.nw)(t.protocol),r=new URL(document.baseURI).pathname,o=new WebSocket("".concat(n,"://").concat(t.hostname,":").concat(s).concat(r,"ws/health-info?deadline=1h"));let d=null;null!==o&&(o.onopen=()=>{console.log("WebSocket Client Connected"),o.send("ok"),d=setInterval(()=>{o.send("ok")},1e4),S("Health Report started. Please do not refresh page during diagnosis."),e((0,h.f7)(i))},o.onmessage=t=>{let s=JSON.parse(t.data.toString());s.serverHealthInfo&&e((0,x.zJ)(s.serverHealthInfo)),""!==s.encoded&&I(s.encoded),s.subnetResponse&&z(s.subnetResponse)},o.onerror=t=>{console.error("error closing websocket:",t),o.close(1e3),clearInterval(d),e((0,h.f7)(a))},o.onclose=t=>{clearInterval(d),t.code===c.Sf||t.code===c.gU||t.code===c.wU?(console.log("connection closed by server with code:",t.code),S("An error occurred while getting the Health Report file."),e((0,h.f7)(a))):(console.log("connection closed by server"),S("Health Report file is ready to be downloaded."),e((0,h.f7)(l)))})}else f(!1)},[g,e]);return(0,n.useEffect)(()=>{e((0,h.ph)("health_info"))},[e]),(0,p.jsxs)(n.Fragment,{children:[(0,p.jsx)(j.A,{label:"Health",actions:(0,p.jsx)(m.A,{})}),(0,p.jsxs)(o.Mxu,{children:[(0,p.jsx)(o.azJ,{withBorders:!0,children:(0,p.jsx)(u,{title:H,children:(0,p.jsx)(o.xA9,{container:!0,sx:{justifyContent:"flex-start",gap:20},children:(0,p.jsxs)(o.xA9,{item:!0,xs:12,sx:{textAlign:"center",marginBottom:25},children:[(0,p.jsx)("h2",{children:v}),(0,p.jsxs)(o.azJ,{sx:{textAlign:"center",marginBottom:25},children:[" ",""!==k&&!k.toLowerCase().includes("error")&&(0,p.jsxs)(o.xA9,{item:!0,xs:12,children:[(0,p.jsx)("strong",{children:"Health report generated successfully!"}),"\xa0"," ",(0,p.jsx)("strong",{children:"You can download the the Health report JSON File."})]}),(""===k||k.toLowerCase().includes("error"))&&s===l&&(0,p.jsxs)(o.xA9,{item:!0,xs:12,children:[(0,p.jsx)("strong",{children:"Something went wrong."}),"\xa0"," ",(0,p.jsx)("strong",{children:"May try again or download Health report JSON File."})]})]}),s===i?(0,p.jsx)(o.azJ,{sx:{paddingTop:8,paddingLeft:40},children:(0,p.jsx)(o.aHM,{style:{width:25,height:25}})}):(0,p.jsx)(n.Fragment,{children:(0,p.jsxs)(o.azJ,{sx:{display:"flex",gap:10,alignItems:"center",justifyContent:"center"},children:[(0,p.jsx)(o.azJ,{children:s!==a&&!w&&(0,p.jsx)(o.$nd,{id:"download",type:"submit",variant:"callAction",onClick:()=>(()=>{let e=document.createElement("a");e.setAttribute("href","data:application/gzip;base64,".concat(C)),e.setAttribute("download","diagnostic.json.gz"),e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e)})(),disabled:w,label:"Download"})}),(0,p.jsx)(o.azJ,{children:(0,p.jsx)(o.$nd,{id:"start-new-diagnostic",type:"submit",variant:"callAction",disabled:g,onClick:()=>{f(!0)},label:y})})]})})]},"start-download")})})}),!g&&(0,p.jsxs)(n.Fragment,{children:[(0,p.jsx)("br",{}),(0,p.jsx)(o.lVp,{title:"Cluster Health Report will be generated, you will be able to download the JSON File.",iconComponent:(0,p.jsx)(o.mo0,{}),help:"If the Health report cannot be generated at this time, please wait a moment and try again."})]})]})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/2896.27ff0208.chunk.js b/web-app/build/static/js/2896.27ff0208.chunk.js deleted file mode 100644 index 4027a7b4b1..0000000000 --- a/web-app/build/static/js/2896.27ff0208.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2896],{32680:(e,t,l)=>{l.d(t,{A:()=>d});var s=l(9950),i=l(98341),n=l(89132),o=l(99491),c=l(49078),a=l(96382),r=l(44414);const d=e=>{let{onClose:t,modalOpen:l,title:d,children:u,wideLimit:h=!0,titleIcon:p=null,iconColor:x="default",sx:m}=e;const v=(0,o.jL)(),[j,g]=(0,s.useState)(!1),y=(0,i.d4)(e=>e.system.modalSnackBar);(0,s.useEffect)(()=>{v((0,c.h0)(""))},[v]),(0,s.useEffect)(()=>{if(y){if(""===y.message)return void g(!1);"error"!==y.type&&g(!0)}},[y]);let f="";return y&&(f=y.detailedErrorMsg,(""===f||f&&f.length<5)&&(f=y.message)),(0,r.jsxs)(n.ngX,{onClose:t,open:l,title:d,titleIcon:p,widthLimit:h,sx:m,iconColor:x,children:[(0,r.jsx)(a.A,{isModal:!0}),(0,r.jsx)(n.qb_,{onClose:()=>{g(!1),v((0,c.h0)(""))},open:j,message:f,mode:"inline",variant:"error"===y.type?"error":"default",autoHideDuration:"error"===y.type?10:5,condensed:!0}),u]})}},32896:(e,t,l)=>{l.r(t),l.d(t,{default:()=>v});var s=l(9950),i=l(87946),n=l.n(i),o=l(98341),c=l(89132),a=l(49078),r=l(99491),d=l(45246),u=l(5887),h=l(32680),p=l(40038),x=l(2586),m=l(44414);const v=e=>{let{closeModalAndRefresh:t,selectedUser:l,selectedGroups:i,open:v}=e;const j=(0,r.jL)(),[g,y]=(0,s.useState)(!1),[f,b]=(0,s.useState)([]),[A,C]=(0,s.useState)([]),P=(0,o.d4)(e=>e.createUser.selectedPolicies);(0,s.useEffect)(()=>{if(v){if(1===(null===i||void 0===i?void 0:i.length))return void(1===(null===i||void 0===i?void 0:i.length)&&x.A.invoke("GET","/api/v1/group/".concat(encodeURIComponent(i[0]))).then(e=>{const t=n()(e,"policy","");b(t.split(",")),C(t.split(",")),j((0,u.Gy)(t.split(",")))}).catch(e=>{j((0,a.Dy)(e)),y(!1)}));const e=n()(l,"policy",[]);b(e),C(e),j((0,u.Gy)(e))}},[v,null===i||void 0===i?void 0:i.length,l]);const S=n()(l,"accessKey","");return(0,m.jsxs)(h.A,{onClose:()=>{t()},modalOpen:v,title:"Set Policies",children:[(0,m.jsxs)(c.Hbc,{withBorders:!1,containerPadding:!1,children:[(1===(null===i||void 0===i?void 0:i.length)||null!=l)&&(0,m.jsxs)(s.Fragment,{children:[(0,m.jsx)(c.EmB,{label:"Selected ".concat(null!==i?"Group":"User"),sx:{width:"100%"},children:null!==i?i[0]:S}),(0,m.jsx)(c.EmB,{label:"Current Policy",sx:{width:"100%"},children:f.join(", ")})]}),i&&(null===i||void 0===i?void 0:i.length)>1&&(0,m.jsx)(c.EmB,{label:"Selected Groups",sx:{width:"100%"},children:i.join(", ")}),(0,m.jsx)(c.xA9,{item:!0,xs:12,children:(0,m.jsx)(p.A,{selectedPolicy:A})})]}),(0,m.jsxs)(c.xA9,{item:!0,xs:12,sx:d.Uz.modalButtonBar,children:[(0,m.jsx)(c.$nd,{id:"reset",type:"button",variant:"regular",onClick:()=>{C(f),j((0,u.Gy)(f))},label:"Reset"}),(0,m.jsx)(c.$nd,{id:"save",type:"button",variant:"callAction",color:"primary",disabled:g,onClick:()=>{let e=null,s=null;null!==i?s=i:(e=[" "],null!==l&&(e=[l.accessKey])),y(!0),x.A.invoke("PUT","/api/v1/set-policy-multi",{name:P,groups:s,users:e}).then(()=>{y(!1),t()}).catch(e=>{y(!1),j((0,a.Dy)(e))})},label:"Save"})]}),g&&(0,m.jsx)(c.xA9,{item:!0,xs:12,children:(0,m.jsx)(c.z21,{})})]})}},40038:(e,t,l)=>{l.d(t,{A:()=>p});var s=l(9950),i=l(89132),n=l(20416),o=l(27428),c=l(49078),a=l(99491),r=l(5887),d=l(98341),u=l(70444),h=l(44414);const p=e=>{let{noTitle:t=!1}=e;const l=(0,a.jL)(),[p,x]=(0,s.useState)([]),[m,v]=(0,s.useState)(!1),[j,g]=(0,s.useState)(""),y=(0,d.d4)(e=>e.createUser.selectedPolicies),f=(0,s.useCallback)(()=>{v(!0),u.F.policies.listPolicies().then(e=>{var t;const l=null!==(t=e.data.policies)&&void 0!==t?t:[];v(!1),x(l.sort(n.Hw))}).catch(e=>{v(!1),l((0,c.Dy)(e))})},[l]);(0,s.useEffect)(()=>{v(!0)},[]),(0,s.useEffect)(()=>{m&&f()},[m,f]);const b=p.filter(e=>e.name.includes(j));return(0,h.jsxs)(i.xA9,{item:!0,xs:12,className:"inputItem",children:[m&&(0,h.jsx)(i.z21,{}),p.length>0?(0,h.jsxs)(s.Fragment,{children:[(0,h.jsx)(i.xA9,{item:!0,xs:12,className:"inputItem",children:(0,h.jsx)(o.A,{placeholder:"Start typing to search for a Policy",onChange:e=>{g(e)},value:j,label:t?"":"Assign Policies"})}),(0,h.jsx)(i.bQt,{columns:[{label:"Policy",elementKey:"name"}],onSelect:e=>{const t=e.target,s=t.value,i=t.checked;let n=[...y];i?n.push(s):n=n.filter(e=>e!==s),n=n.filter(e=>""!==e),l((0,r.Gy)(n))},selectedItems:y,isLoading:m,records:b,entityName:"Policies",idField:"name",customPaperHeight:"200px"})]}):(0,h.jsx)(i.azJ,{sx:{textAlign:"center",padding:"10px 0"},children:"No Policies Available"})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/2928.999f6aa5.chunk.js b/web-app/build/static/js/2928.999f6aa5.chunk.js deleted file mode 100644 index 05a1ef834a..0000000000 --- a/web-app/build/static/js/2928.999f6aa5.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2928],{12928:(e,n,s)=>{s.r(n),s.d(n,{default:()=>p});var t=s(9950),a=s(55604),l=s(82817),c=s(98167),r=s(49078),u=s(99491),i=s(44414);const o=(0,a.A)(t.lazy(()=>s.e(4517).then(s.bind(s,54517)))),p=()=>{const e=(0,u.jL)();return(0,t.useEffect)(()=>{e((0,r.ph)("event_destinations"))},[]),(0,i.jsxs)(t.Fragment,{children:[(0,i.jsx)(l.A,{label:"Event Destinations",actions:(0,i.jsx)(c.A,{})}),(0,i.jsx)(o,{})]})}},55604:(e,n,s)=>{s.d(n,{A:()=>c});var t=s(89379),a=s(9950),l=s(44414);const c=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(s){return(0,l.jsx)(a.Suspense,{fallback:n,children:(0,l.jsx)(e,(0,t.A)({},s))})}}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/2979.1c1ffc3c.chunk.js b/web-app/build/static/js/2979.1c1ffc3c.chunk.js deleted file mode 100644 index 1dcc1cc456..0000000000 --- a/web-app/build/static/js/2979.1c1ffc3c.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2979],{7174:(e,t,o)=>{"use strict";o.d(t,{Ck:()=>a,PE:()=>l,Qm:()=>s,Xm:()=>c,uu:()=>u});var n=o(89379),r=(o(9950),o(89132)),i=o(44414);const a=[{icon:(0,i.jsx)(r.DzZ,{}),configuration_id:"region",configuration_label:"Region"},{icon:(0,i.jsx)(r.MZJ,{}),configuration_id:"compression",configuration_label:"Compression"},{icon:(0,i.jsx)(r.loI,{}),configuration_id:"api",configuration_label:"API"},{icon:(0,i.jsx)(r.qm4,{}),configuration_id:"heal",configuration_label:"Heal"},{icon:(0,i.jsx)(r.Pq3,{}),configuration_id:"scanner",configuration_label:"Scanner"},{icon:(0,i.jsx)(r.RYV,{}),configuration_id:"etcd",configuration_label:"Etcd"},{icon:(0,i.jsx)(r.D0K,{}),configuration_id:"logger_webhook",configuration_label:"Logger Webhook"},{icon:(0,i.jsx)(r.rBG,{}),configuration_id:"audit_webhook",configuration_label:"Audit Webhook"},{icon:(0,i.jsx)(r.Dk$,{}),configuration_id:"audit_kafka",configuration_label:"Audit Kafka"}],l={region:[{name:"name",required:!0,label:"Server Location",tooltip:'Name of the location of the server e.g. "us-west-rack2"',type:"string",placeholder:"e.g. us-west-rack-2"},{name:"comment",required:!1,label:"Comment",tooltip:"You can add a comment to this setting",type:"comment",placeholder:"Enter custom notes if any"}],compression:[{name:"extensions",required:!1,label:"Extensions",tooltip:'Extensions to compress e.g. ".txt", ".log" or ".csv" - you can write one per field',type:"csv",placeholder:"Enter an Extension",withBorder:!0},{name:"mime_types",required:!1,label:"Mime Types",tooltip:'Mime types e.g. "text/*", "application/json" or "application/xml" - you can write one per field',type:"csv",placeholder:"Enter a Mime Type",withBorder:!0}],api:[{name:"requests_max",required:!1,label:"Requests Max",tooltip:"Maximum number of concurrent requests, e.g. '1600'",type:"number",placeholder:"Enter Requests Max"},{name:"cors_allow_origin",required:!1,label:"Cors Allow Origin",tooltip:"List of origins allowed for CORS requests",type:"csv",placeholder:"Enter allowed origin e.g. https://example.com"},{name:"replication_workers",required:!1,label:"Replication Workers",tooltip:"Number of replication workers, defaults to 100",type:"number",placeholder:"Enter Replication Workers"},{name:"replication_failed_workers",required:!1,label:"Replication Failed Workers",tooltip:"Number of replication workers for recently failed replicas, defaults to 4",type:"number",placeholder:"Enter Replication Failed Workers"}],heal:[{name:"bitrotscan",required:!1,label:"Bitrot Scan",tooltip:"Perform bitrot scan on disks when checking objects during scanner",type:"on|off"},{name:"max_sleep",required:!1,label:"Max Sleep",tooltip:"Maximum sleep duration between objects to slow down heal operation, e.g. 2s",type:"duration",placeholder:"Enter Max Sleep Duration"},{name:"max_io",required:!1,label:"Max IO",tooltip:"Maximum IO requests allowed between objects to slow down heal operation, e.g. 3",type:"number",placeholder:"Enter Max IO"}],scanner:[{name:"delay",required:!1,label:"Delay Multiplier",tooltip:"Scanner delay multiplier, defaults to '10.0'",type:"number",placeholder:"Enter Delay"},{name:"max_wait",required:!1,label:"Max Wait",tooltip:"Maximum wait time between operations, defaults to '15s'",type:"duration",placeholder:"Enter Max Wait"},{name:"cycle",required:!1,label:"Cycle",tooltip:"Time duration between scanner cycles, defaults to '1m'",type:"duration",placeholder:"Enter Cycle"}],etcd:[{name:"endpoints",required:!0,label:"Endpoints",tooltip:'List of etcd endpoints e.g. "http://localhost:2379" - you can write one per field',type:"csv",placeholder:"Enter Endpoint"},{name:"path_prefix",required:!1,label:"Path Prefix",tooltip:'Namespace prefix to isolate tenants e.g. "customer1/"',type:"string",placeholder:"Enter Path Prefix"},{name:"coredns_path",required:!1,label:"Coredns Path",tooltip:'Shared bucket DNS records, default is "/skydns"',type:"string",placeholder:"Enter Coredns Path"},{name:"client_cert",required:!1,label:"Client Cert",tooltip:"Client cert for mTLS authentication",type:"string",placeholder:"Enter Client Cert"},{name:"client_cert_key",required:!1,label:"Client Cert Key",tooltip:"Client cert key for mTLS authentication",type:"string",placeholder:"Enter Client Cert Key"},{name:"comment",required:!1,label:"Comment",tooltip:"You can add a comment to this setting",type:"comment",multiline:!0,placeholder:"Enter custom notes if any"}],logger_webhook:[{name:"endpoint",required:!0,label:"Endpoint",type:"string",placeholder:"Enter Endpoint"},{name:"auth_token",required:!0,label:"Auth Token",type:"string",placeholder:"Enter Auth Token"}],audit_webhook:[{name:"endpoint",required:!0,label:"Endpoint",type:"string",placeholder:"Enter Endpoint"},{name:"auth_token",required:!0,label:"Auth Token",type:"string",placeholder:"Enter Auth Token"}],audit_kafka:[{name:"enable",required:!1,label:"Enable",tooltip:"Enable audit_kafka target",type:"on|off",customValueProcess:e=>""===e||"on"===e?"on":"off"},{name:"brokers",required:!0,label:"Brokers",type:"csv",placeholder:"Enter Kafka Broker"},{name:"topic",required:!1,label:"Topic",type:"string",placeholder:"Enter Kafka Topic",tooltip:"Kafka topic used for bucket notifications"},{name:"sasl",required:!1,label:"Use SASL",tooltip:"Enable SASL (Simple Authentication and Security Layer) authentication",type:"on|off"},{name:"sasl_username",required:!1,label:"SASL Username",type:"string",placeholder:"Enter SASL Username",tooltip:"Username for SASL/PLAIN or SASL/SCRAM authentication"},{name:"sasl_password",required:!1,label:"SASL Password",type:"password",placeholder:"Enter SASL Password",tooltip:"Password for SASL/PLAIN or SASL/SCRAM authentication"},{name:"sasl_mechanism",required:!1,label:"SASL Mechanism",type:"string",placeholder:"Enter SASL Mechanism",tooltip:"SASL authentication mechanism"},{name:"tls",required:!1,label:"Use TLS",tooltip:"Enable TLS (Transport Layer Security)",type:"on|off"},{name:"tls_skip_verify",required:!1,label:"Skip TLS Verification",tooltip:"Trust server TLS without verification",type:"on|off"},{name:"client_tls_cert",required:!1,label:"Client Cert",tooltip:"Client cert for mTLS authentication",type:"string",placeholder:"Enter Client Cert"},{name:"client_tls_key",required:!1,label:"Client Cert Key",tooltip:"Client cert key for mTLS authentication",type:"string",placeholder:"Enter Client Cert Key"},{name:"tls_client_auth",required:!1,label:"TLS Client Auth",tooltip:"ClientAuth determines the Kafka server's policy for TLS client authorization",type:"string"},{name:"version",required:!1,label:"Version",tooltip:"Specify the version of the Kafka cluster",type:"string"}]},c=e=>e.filter(e=>""!==e.value),s=(e,t,o)=>{const n=e.target,r=n.value;let i=[...o];return n.checked?i.push(r):i=i.filter(e=>e!==r),t(i),i},u=e=>{let t={};return e.forEach(e=>{if(e.env_override){const o={value:e.env_override.value||"",overrideEnv:e.env_override.name||""};t=(0,n.A)((0,n.A)({},t),{},{[e.key]:o})}}),t}},20416:(e,t,o)=>{"use strict";o.d(t,{Hw:()=>r,LA:()=>n,SO:()=>i,rY:()=>a});const n=(e,t)=>{if(e.accessKey&&t.accessKey){if(e.accessKey>t.accessKey)return 1;if(e.accessKeye.name>t.name?1:e.namee>t?1:ee.policy>t.policy?1:e.policy{"use strict";o.d(t,{A:()=>u});var n=o(9950),r=o(98341),i=o(89132),a=o(99491),l=o(49078),c=o(96382),s=o(44414);const u=e=>{let{onClose:t,modalOpen:o,title:u,children:p,wideLimit:d=!0,titleIcon:f=null,iconColor:m="default",sx:y}=e;const h=(0,a.jL)(),[b,g]=(0,n.useState)(!1),x=(0,r.d4)(e=>e.system.modalSnackBar);(0,n.useEffect)(()=>{h((0,l.h0)(""))},[h]),(0,n.useEffect)(()=>{if(x){if(""===x.message)return void g(!1);"error"!==x.type&&g(!0)}},[x]);let v="";return x&&(v=x.detailedErrorMsg,(""===v||v&&v.length<5)&&(v=x.message)),(0,s.jsxs)(i.ngX,{onClose:t,open:o,title:u,titleIcon:f,widthLimit:d,sx:y,iconColor:m,children:[(0,s.jsx)(c.A,{isModal:!0}),(0,s.jsx)(i.qb_,{onClose:()=>{g(!1),h((0,l.h0)(""))},open:b,message:v,mode:"inline",variant:"error"===x.type?"error":"default",autoHideDuration:"error"===x.type?10:5,condensed:!0}),p]})}},42677:(e,t,o)=>{"use strict";o.d(t,{X:()=>i});o(9950);var n=o(51536),r=o(44414);const i=[{label:"Access Key",elementKey:"accessKey"},{label:"Expiry",elementKey:"expiration",renderFunction:e=>{if("1970-01-01T00:00:00Z"!==e){const t=n.c9.fromISO(e).toUTC().toFormat("y/M/d hh:mm:ss z");return(0,r.jsx)("span",{title:t,children:t})}return(0,r.jsx)("span",{children:"no-expiry"})}},{label:"Status",elementKey:"accountStatus",renderFunction:e=>"off"===e?"Disabled":"Enabled"},{label:"Name",elementKey:"name"},{label:"Description",elementKey:"description"}]},43878:(e,t,o)=>{"use strict";o.d(t,{A:()=>p});var n=o(9950),r=o(89132),i=o(49534),a=o(49078),l=o(99491),c=o(70444),s=o(48965),u=o(44414);const p=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:o,selectedSAs:p}=e;const d=(0,l.jL)(),[f,m]=(0,n.useState)(!1);if(!p)return null;return(0,u.jsx)(i.A,{title:"Delete Access Keys",confirmText:"Delete",isOpen:o,titleIcon:(0,u.jsx)(r.xWY,{}),isLoading:f,onConfirm:()=>{m(!0),c.F.serviceAccounts.deleteMultipleServiceAccounts(p).then(e=>{t(!0)}).catch(async e=>{const o=await e.json();d((0,a.C9)((0,s.S)(o))),t(!1)}).finally(()=>m(!1))},onClose:()=>t(!1),confirmationContent:(0,u.jsxs)(n.Fragment,{children:["Are you sure you want to delete the selected ",p.length," ","Access Keys?"," "]})})}},55604:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(89379),r=o(9950),i=o(44414);const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(o){return(0,i.jsx)(r.Suspense,{fallback:t,children:(0,i.jsx)(e,(0,n.A)({},o))})}}},59660:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,o=[],n=0;n{"use strict";var n=o(59660),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var o,i,a,l,c,s,u=!1;t||(t={}),o=t.debug||!1;try{if(a=n(),l=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),"undefined"===typeof n.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=r[t.format]||r.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(s),l.selectNodeContents(s),c.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(p){o&&console.error("unable to copy using execCommand: ",p),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(p){o&&console.error("unable to copy using clipboardData: ",p),o&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(l):c.removeAllRanges()),s&&document.body.removeChild(s),a()}return u}},85743:(e,t,o)=>{"use strict";o.d(t,{A:()=>m});var n=o(9950),r=o(89132),i=o(70444),a=o(48965),l=o(94797),c=o(99491),s=o(49078),u=o(32680),p=o(45246),d=o(51536),f=o(44414);const m=e=>{let{open:t,selectedAccessKey:o,closeModalAndRefresh:m}=e;const y=(0,c.jL)(),[h,b]=(0,n.useState)(!1),[g,x]=(0,n.useState)(""),[v,C]=(0,n.useState)(""),[S,w]=(0,n.useState)(""),[j,k]=(0,n.useState)(),[E,_]=(0,n.useState)("enabled");(0,n.useEffect)(()=>{h||""===o||(b(!0),i.F.serviceAccounts.getServiceAccount(o||"").then(e=>{b(!1);const t=e.data;C((null===t||void 0===t?void 0:t.name)||""),null!==t&&void 0!==t&&t.expiration&&k(d.c9.fromISO(null===t||void 0===t?void 0:t.expiration)),w((null===t||void 0===t?void 0:t.description)||""),_(t.accountStatus),x(t.policy||"")}).catch(e=>{b(!1),y((0,s.Dy)((0,a.S)(e)))}))},[o]);return(0,f.jsx)(u.A,{title:"Edit details of - ".concat(o),modalOpen:t,onClose:()=>{m()},titleIcon:(0,f.jsx)(r.uYH,{}),children:(0,f.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{var t;t=g,e.preventDefault(),i.F.serviceAccounts.updateServiceAccount(o||"",{policy:t,description:S,expiry:j,name:v,status:E}).then(()=>{m()}).catch(async e=>{const t=await e.json();y((0,s.C9)((0,a.S)(t)))})},children:(0,f.jsxs)(r.xA9,{container:!0,children:[(0,f.jsx)(r.xA9,{item:!0,xs:12,children:(0,f.jsx)(l.A,{label:"Access Key Policy",value:g,onChange:e=>{x(e)},editorHeight:"350px",helptip:(0,f.jsx)(n.Fragment,{children:(0,f.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/policy-based-access-control.html#policy-document-structure",children:"Guide to access policy structure"})})})}),(0,f.jsx)(r.azJ,{sx:{marginBottom:"15px",marginTop:"15px",display:"flex",width:"100%","& label":{width:"195px"}},children:(0,f.jsx)(r.e8j,{noLabelMinWidth:!0,value:j,onChange:e=>{k(e)},id:"expiryTime",label:"Expiry",timeFormat:"24h",secondsSelector:!1})}),(0,f.jsx)(r.xA9,{xs:12,sx:{marginBottom:"15px"},children:(0,f.jsx)(r.cl_,{value:v,size:120,label:"Name",id:"name",name:"name",type:"text",placeholder:"Enter a name",onChange:e=>{C(e.target.value)}})}),(0,f.jsx)(r.xA9,{xs:12,sx:{marginBottom:"15px"},children:(0,f.jsx)(r.cl_,{size:120,value:S,label:"Description",id:"description",name:"description",type:"text",placeholder:"Enter a description",onChange:e=>{w(e.target.value)}})}),(0,f.jsxs)(r.xA9,{xs:12,sx:{display:"flex",alignItems:"center",justifyContent:"start",fontWeight:600,color:"rgb(7, 25, 62)",gap:2,marginBottom:"15px"},children:[(0,f.jsx)("label",{style:{width:"150px"},children:"Status"}),(0,f.jsx)(r.azJ,{sx:{padding:"2px"},children:(0,f.jsx)(r.dOG,{style:{gap:"115px"},indicatorLabels:["Enabled","Disabled"],checked:"on"===E,id:"saStatus",name:"saStatus",label:"",onChange:e=>{_(e.target.checked?"on":"off")},value:"yes"})})]}),(0,f.jsxs)(r.xA9,{item:!0,xs:12,sx:p.Uz.modalButtonBar,children:[(0,f.jsx)(r.$nd,{id:"cancel-sa-policy",type:"button",variant:"regular",onClick:()=>{m()},disabled:h,label:"Cancel"}),(0,f.jsx)(r.$nd,{id:"save-sa-policy",type:"submit",variant:"callAction",color:"primary",disabled:h,label:"Update"})]})]})})})}},94702:(e,t,o)=>{"use strict";function n(e){return 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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=l(o(9950)),i=l(o(67243)),a=["text","onCopy","options","children"];function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function s(e){for(var t=1;t=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}function p(e,t){for(var o=0;o{"use strict";o.d(t,{A:()=>s});var n=o(9950),r=o(89132),i=o(95189),a=o.n(i),l=o(30272),c=o(44414);const s=e=>{let{value:t,label:o="",tooltip:i="",mode:s="json",onChange:u,editorHeight:p=250,helptip:d}=e;return(0,c.jsx)(r.BYM,{value:t,onChange:e=>u(e),mode:s,tooltip:i,editorHeight:p,label:o,helpTools:(0,c.jsx)(n.Fragment,{children:(0,c.jsx)(l.A,{tooltip:"Copy to Clipboard",children:(0,c.jsx)(a(),{text:t,children:(0,c.jsx)(r.$nd,{type:"button",id:"copy-code-mirror",icon:(0,c.jsx)(r.TdU,{}),color:"primary",variant:"regular"})})})}),helpTip:d,helpTipPlacement:"right"})}},95189:(e,t,o)=>{"use strict";var n=o(94702).CopyToClipboard;n.CopyToClipboard=n,e.exports=n}}]); \ No newline at end of file diff --git a/web-app/build/static/js/3126.ab390859.chunk.js b/web-app/build/static/js/3126.ab390859.chunk.js deleted file mode 100644 index 227c6723f6..0000000000 --- a/web-app/build/static/js/3126.ab390859.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3126],{23126:(e,n,s)=>{s.r(n),s.d(n,{default:()=>r});var t=s(9950),l=s(28429),a=s(20171),h=s(55604),c=s(44414);const p=(0,h.A)(t.lazy(()=>s.e(6242).then(s.bind(s,36242)))),u=(0,h.A)(t.lazy(()=>s.e(5238).then(s.bind(s,15238)))),r=()=>(0,c.jsxs)(l.BV,{children:[(0,c.jsx)(l.qh,{path:"/",element:(0,c.jsx)(p,{})}),(0,c.jsx)(l.qh,{path:":policyName",element:(0,c.jsx)(u,{})}),(0,c.jsx)(l.qh,{element:(0,c.jsx)(a.A,{})})]})},55604:(e,n,s)=>{s.d(n,{A:()=>h});var t=s(89379),l=s(9950),a=s(44414);const h=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(s){return(0,a.jsx)(l.Suspense,{fallback:n,children:(0,a.jsx)(e,(0,t.A)({},s))})}}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/3214.ed7fb3fd.chunk.js b/web-app/build/static/js/3214.ed7fb3fd.chunk.js deleted file mode 100644 index 6a6f85b83b..0000000000 --- a/web-app/build/static/js/3214.ed7fb3fd.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3214],{32680:(e,t,n)=>{n.d(t,{A:()=>d});var i=n(9950),a=n(98341),o=n(89132),l=n(99491),r=n(49078),s=n(96382),c=n(44414);const d=e=>{let{onClose:t,modalOpen:n,title:d,children:u,wideLimit:m=!0,titleIcon:b=null,iconColor:p="default",sx:h}=e;const g=(0,l.jL)(),[j,f]=(0,i.useState)(!1),x=(0,a.d4)(e=>e.system.modalSnackBar);(0,i.useEffect)(()=>{g((0,r.h0)(""))},[g]),(0,i.useEffect)(()=>{if(x){if(""===x.message)return void f(!1);"error"!==x.type&&f(!0)}},[x]);let v="";return x&&(v=x.detailedErrorMsg,(""===v||v&&v.length<5)&&(v=x.message)),(0,c.jsxs)(o.ngX,{onClose:t,open:n,title:d,titleIcon:b,widthLimit:m,sx:h,iconColor:p,children:[(0,c.jsx)(s.A,{isModal:!0}),(0,c.jsx)(o.qb_,{onClose:()=>{f(!1),g((0,r.h0)(""))},open:j,message:v,mode:"inline",variant:"error"===x.type?"error":"default",autoHideDuration:"error"===x.type?10:5,condensed:!0}),u]})}},43214:(e,t,n)=>{n.r(t),n.d(t,{default:()=>b});var i=n(9950),a=n(89132),o=n(70444),l=n(5501),r=n(48965),s=n(45246),c=n(49078),d=n(99491),u=n(32680),m=n(44414);const b=e=>{let{open:t,bucketName:n,closeModalAndRefresh:b}=e;const p=(0,d.jL)(),[h,g]=(0,i.useState)(!1),[j,f]=(0,i.useState)(!0),[x,v]=(0,i.useState)(l.BT.Compliance),[y,C]=(0,i.useState)(l.wg.Days),[k,S]=(0,i.useState)(1),[w,_]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{Number.isNaN(k)||(k||1)<1?_(!1):_(!0)},[k]),(0,i.useEffect)(()=>{j&&o.F.buckets.getBucketRetentionConfig(n).then(e=>{f(!1),v(e.data.mode),S(e.data.validity),C(e.data.unit)}).catch(()=>{f(!1)})},[j,n]),(0,m.jsx)(u.A,{title:"Set Retention Configuration",modalOpen:t,onClose:()=>{b()},children:j?(0,m.jsx)(a.aHM,{style:{width:16,height:16}}):(0,m.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),h||(g(!0),o.F.buckets.setBucketRetentionConfig(n,{mode:x||l.BT.Compliance,unit:y||l.wg.Days,validity:k||1}).then(()=>{g(!1),b()}).catch(e=>{g(!1),p((0,c.Dy)((0,r.S)(e.error)))}))},children:(0,m.jsxs)(a.Hbc,{containerPadding:!1,withBorders:!1,children:[(0,m.jsx)(a.z6M,{currentValue:x,id:"retention_mode",name:"retention_mode",label:"Retention Mode",onChange:e=>{v(e.target.value)},selectorOptions:[{value:"compliance",label:"Compliance"},{value:"governance",label:"Governance"}],helpTip:(0,m.jsxs)(i.Fragment,{children:[" ",(0,m.jsx)("a",{href:"https://min.io/docs/minio/macos/administration/object-management/object-retention.html#minio-object-locking-compliance",target:"blank",children:"Compliance"})," ","lock protects Objects from write operations by all users, including the MinIO root user.",(0,m.jsx)("br",{}),(0,m.jsx)("br",{}),(0,m.jsx)("a",{href:"https://min.io/docs/minio/macos/administration/object-management/object-retention.html#minio-object-locking-governance",target:"blank",children:"Governance"})," ","lock protects Objects from write operations by non-privileged users."]}),helpTipPlacement:"right"}),(0,m.jsx)(a.z6M,{currentValue:y,id:"retention_unit",name:"retention_unit",label:"Retention Unit",onChange:e=>{C(e.target.value)},selectorOptions:[{value:"days",label:"Days"},{value:"years",label:"Years"}]}),(0,m.jsx)(a.cl_,{type:"number",id:"retention_validity",name:"retention_validity",onChange:e=>{S(e.target.valueAsNumber)},label:"Retention Validity",value:String(k),required:!0,min:"1"}),(0,m.jsxs)(a.xA9,{item:!0,xs:12,sx:s.Uz.modalButtonBar,children:[(0,m.jsx)(a.$nd,{id:"cancel",type:"button",variant:"regular",disabled:h,onClick:()=>{b()},label:"Cancel"}),(0,m.jsx)(a.$nd,{id:"set",type:"submit",variant:"callAction",color:"primary",disabled:h||!w,label:"Set"})]}),h&&(0,m.jsx)(a.xA9,{item:!0,xs:12,children:(0,m.jsx)(a.z21,{})})]})})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/3477.3cc8bd40.chunk.js b/web-app/build/static/js/3477.3cc8bd40.chunk.js deleted file mode 100644 index ce11a10529..0000000000 --- a/web-app/build/static/js/3477.3cc8bd40.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3477],{32680:(e,t,n)=>{n.d(t,{A:()=>d});var a=n(9950),i=n(98341),l=n(89132),s=n(99491),o=n(49078),c=n(96382),r=n(44414);const d=e=>{let{onClose:t,modalOpen:n,title:d,children:p,wideLimit:x=!0,titleIcon:m=null,iconColor:h="default",sx:u}=e;const f=(0,s.jL)(),[j,g]=(0,a.useState)(!1),b=(0,i.d4)(e=>e.system.modalSnackBar);(0,a.useEffect)(()=>{f((0,o.h0)(""))},[f]),(0,a.useEffect)(()=>{if(b){if(""===b.message)return void g(!1);"error"!==b.type&&g(!0)}},[b]);let w="";return b&&(w=b.detailedErrorMsg,(""===w||w&&w.length<5)&&(w=b.message)),(0,r.jsxs)(l.ngX,{onClose:t,open:n,title:d,titleIcon:m,widthLimit:x,sx:u,iconColor:h,children:[(0,r.jsx)(c.A,{isModal:!0}),(0,r.jsx)(l.qb_,{onClose:()=>{g(!1),f((0,o.h0)(""))},open:j,message:w,mode:"inline",variant:"error"===b.type?"error":"default",autoHideDuration:"error"===b.type?10:5,condensed:!0}),p]})}},33477:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var a=n(9950),i=n(89132),l=n(98341),s=n(59908),o=n(49078),c=n(99491),r=n(32680),d=n(88802),p=n(48374),x=n(82817),m=n(98167),h=n(44414);const u=e=>{let{volumeVal:t,pathVal:n}=e;return(0,h.jsx)(i.azJ,{className:"code-block-container",children:(0,h.jsxs)(i.azJ,{className:"example-code-block",children:[(0,h.jsxs)(i.azJ,{sx:{display:"flex",marginBottom:"5px",flexFlow:"row",["@media (max-width: ".concat(i.nmC.sm,"px)")]:{flexFlow:"column"}},children:[(0,h.jsx)("label",{children:"Volume/bucket Name :"})," ",(0,h.jsx)("code",{children:t})]}),(0,h.jsxs)(i.azJ,{sx:{display:"flex",flexFlow:"row",["@media (max-width: ".concat(i.nmC.sm,"px)")]:{flexFlow:"column"}},children:[(0,h.jsx)("label",{children:"Path : "}),(0,h.jsx)("code",{children:n})]})]})})},f=()=>{const e=(0,c.jL)(),t=(0,l.d4)(o.Rq),[n,f]=(0,a.useState)(""),[j,g]=(0,a.useState)(""),[b,w]=(0,a.useState)(!0),[y,v]=(0,a.useState)(""),[C,k]=(0,a.useState)(""),[z,S]=(0,a.useState)(!1),[T,J]=(0,a.useState)(""),[F,I]=(0,a.useState)("");(0,a.useEffect)(()=>{let e,t;e=n.trim().length>0,e?"/"===n.slice(0,1)&&(e=!1,J("Volume/Bucket name cannot start with /")):J("This field is required"),t=j.trim().length>0,j?"/"===j.slice(0,1)&&(t=!1,I("Path cannot start with /")):I("This field is required");const a=e&&t;e&&J(""),t&&I(""),S(a)},[n,j]);const V=async()=>{let t=document.baseURI.replace(window.location.origin,"");(async e=>await fetch(e,{method:"GET"}))("".concat(t,"api/v1/admin/inspect?volume=").concat(encodeURIComponent(n),"&file=").concat(encodeURIComponent(j),"&encrypt=").concat(b)).then(async t=>{if(!t.ok){const n=await t.json();e((0,o.C9)({errorMessage:n.message,detailedError:n.code}))}const n=await t.blob(),a=t.headers.get("content-disposition").split('"')[1],i=(0,s.UM)(a)||"";(0,s.OT)(n,a),k(a),v(i)}).catch(t=>{e((0,o.C9)(t))})},A=()=>{f(""),g(""),w(!0)};return(0,a.useEffect)(()=>{e((0,o.ph)("inspect"))},[]),(0,h.jsxs)(a.Fragment,{children:[(0,h.jsx)(x.A,{label:"Inspect",actions:(0,h.jsx)(m.A,{})}),(0,h.jsxs)(i.Mxu,{children:[t?(0,h.jsx)(i.Hbc,{helpBox:(0,h.jsx)(i.lVp,{title:"Learn more about the Inspect feature",iconComponent:(0,h.jsx)(i.nTF,{}),help:(0,h.jsxs)(a.Fragment,{children:[(0,h.jsx)(i.azJ,{sx:{marginTop:"16px",fontWeight:600,fontStyle:"italic",fontSize:"14px"},children:"Examples:"}),(0,h.jsxs)(i.azJ,{sx:{display:"flex",flexFlow:"column",fontSize:"14px",flex:"2","& .step-row":{fontSize:"14px",display:"flex",marginTop:"15px",marginBottom:"15px","&.step-text":{fontWeight:400},"&:before":{content:"' '",height:"7px",width:"7px",backgroundColor:"#2781B0",marginRight:"10px",marginTop:"7px",flexShrink:0}},"& .code-block-container":{flex:"1",marginTop:"15px",marginLeft:"35px","& input":{color:"#737373"}},"& .example-code-block label":{display:"inline-block",width:160,fontWeight:600,fontSize:14,["@media (max-width: ".concat(i.nmC.sm,"px)")]:{width:"100%"}},"& code":{width:100,paddingLeft:"10px",fontFamily:"monospace",paddingRight:"10px",paddingTop:"3px",paddingBottom:"3px",borderRadius:"2px",border:"1px solid #eaeaea",fontSize:"10px",fontWeight:500,["@media (max-width: ".concat(i.nmC.sm,"px)")]:{width:"100%"}},"& .spacer":{marginBottom:"5px"}},children:[(0,h.jsxs)(i.azJ,{children:[(0,h.jsx)(i.azJ,{className:"step-row",children:(0,h.jsx)("div",{className:"step-text",children:"To Download 'xl.meta' for a specific object from all the drives in a zip file:"})}),(0,h.jsx)(u,{pathVal:"test*/xl.meta",volumeVal:"test-bucket"})]}),(0,h.jsxs)(i.azJ,{children:[(0,h.jsx)(i.azJ,{className:"step-row",children:(0,h.jsx)("div",{className:"step-text",children:"To Download all constituent parts for a specific object, and optionally encrypt the downloaded zip:"})}),(0,h.jsx)(u,{pathVal:"test*/xl.meta",volumeVal:"test*/*/part.*"})]}),(0,h.jsxs)(i.azJ,{children:[(0,h.jsx)(i.azJ,{className:"step-row",children:(0,h.jsxs)("div",{className:"step-text",children:["To Download recursively all objects at a prefix.",(0,h.jsx)("br",{}),"NOTE: This can be an expensive operation use it with caution."]})}),(0,h.jsx)(u,{pathVal:"test*/xl.meta",volumeVal:"test/**"})]})]}),(0,h.jsxs)(i.azJ,{sx:{marginTop:"30px",marginLeft:"15px",fontSize:"14px"},children:["You can learn more at our"," ",(0,h.jsx)("a",{href:"https://github.com/minio/minio/tree/master/docs/debugging",target:"_blank",rel:"noopener",children:"documentation"}),"."]})]})}),children:(0,h.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),V()},children:[(0,h.jsx)(i.cl_,{id:"inspect_volume",name:"inspect_volume",onChange:e=>{f(e.target.value)},label:"Volume or Bucket Name",value:n,error:T,required:!0,placeholder:"test-bucket"}),(0,h.jsx)(i.cl_,{id:"inspect_path",name:"inspect_path",error:F,onChange:e=>{g(e.target.value)},label:"File or Path to inspect",value:j,required:!0,placeholder:"test*/xl.meta"}),(0,h.jsx)(i.dOG,{label:"Encrypt",indicatorLabels:["True","False"],checked:b,value:"true",id:"inspect_encrypt",name:"inspect_encrypt",onChange:()=>{w(!b)}}),(0,h.jsxs)(i.azJ,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",marginTop:"55px"},children:[(0,h.jsx)(i.$nd,{id:"inspect-clear-button",style:{marginRight:"15px"},type:"button",variant:"regular","data-test-id":"inspect-clear-button",onClick:A,label:"Clear"}),(0,h.jsx)(i.$nd,{id:"inspect-start",type:"submit",variant:"callAction","data-test-id":"inspect-submit-button",disabled:!z,label:"Inspect"})]})]})}):(0,h.jsx)(d.A,{iconComponent:(0,h.jsx)(i.nTF,{}),entity:"Inspect"}),y?(0,h.jsx)(r.A,{modalOpen:!0,title:"Inspect Decryption Key",onClose:()=>{(0,s.Yj)(C),v(""),A()},titleIcon:(0,h.jsx)(i.aJN,{}),children:(0,h.jsxs)(a.Fragment,{children:[(0,h.jsxs)(i.azJ,{children:["This will be displayed only once. It cannot be recovered.",(0,h.jsx)("br",{}),"Use secure medium to share this key."]}),(0,h.jsx)("form",{noValidate:!0,onSubmit:()=>!1,children:(0,h.jsx)(p.A,{value:y})})]})}):null]})]})}},48374:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(9950),i=n(89132),l=n(44414);const s=e=>{let{value:t}=e;const[n,s]=(0,a.useState)(!1);return(0,l.jsxs)(i.azJ,{sx:{display:"flex",alignItems:"center",flexFlow:"row",["@media (max-width: ".concat(i.nmC.sm,"px)")]:{flexFlow:"column"}},children:[(0,l.jsx)(i.cl_,{id:"inspect-dec-key",name:"inspect-dec-key",placeholder:"",label:"",type:n?"text":"password",onChange:()=>{},value:t,overlayIcon:(0,l.jsx)(i.TdU,{}),readOnly:!0,overlayAction:()=>navigator.clipboard.writeText(t)}),(0,l.jsx)(i.$nd,{id:"show-hide-key",style:{marginLeft:"10px"},variant:"callAction",onClick:()=>s(!n),label:"Show/Hide"})]})}},88802:(e,t,n)=>{n.d(t,{A:()=>l});n(9950);var a=n(89132),i=n(44414);const l=e=>{let{iconComponent:t,entity:n}=e;return(0,i.jsx)(a.xA9,{container:!0,children:(0,i.jsx)(a.xA9,{item:!0,xs:12,children:(0,i.jsx)(a.lVp,{title:"".concat(n," not available"),iconComponent:t,help:(0,i.jsxs)(a.azJ,{sx:{fontSize:"14px",["@media (max-width: ".concat(a.nmC.sm,"px)")]:{display:"flex",flexFlow:"column"}},children:[(0,i.jsx)("span",{children:"This feature is not available for a single-disk setup.\xa0"}),(0,i.jsxs)("span",{children:["Please deploy a server in"," ",(0,i.jsx)("a",{href:"https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-multi-node-multi-drive.html",target:"_blank",rel:"noopener",children:"Distributed Mode"})," ","to use this feature."]})]})})})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/3541.34ae70ef.chunk.js b/web-app/build/static/js/3541.34ae70ef.chunk.js deleted file mode 100644 index 6481fdea1e..0000000000 --- a/web-app/build/static/js/3541.34ae70ef.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3541],{13541:(e,a,t)=>{t.r(a),t.d(a,{default:()=>o});var l=t(9950),n=t(89132),s=t(44414);const o=e=>{let{onChange:a}=e;const[t,o]=(0,l.useState)(!1),[r,u]=(0,l.useState)(""),[c,i]=(0,l.useState)(""),[d,m]=(0,l.useState)(""),[g,h]=(0,l.useState)(""),[b,p]=(0,l.useState)(""),[v,f]=(0,l.useState)(""),[x,j]=(0,l.useState)(" "),[C,S]=(0,l.useState)(""),[w,y]=(0,l.useState)("namespace"),[_,k]=(0,l.useState)(""),[E,q]=(0,l.useState)(""),[B,D]=(0,l.useState)(""),F=(0,l.useCallback)(()=>{let e="";return""!==c&&(e="".concat(e," host=").concat(c)),""!==d&&(e="".concat(e," dbname=").concat(d)),""!==b&&(e="".concat(e," user=").concat(b)),""!==v&&(e="".concat(e," password=").concat(v)),""!==g&&(e="".concat(e," port=").concat(g))," "!==x&&(e="".concat(e," sslmode=").concat(x)),e="".concat(e," "),e.trim()},[c,d,b,v,g,x]);return(0,l.useEffect)(()=>{if(""!==r){a([{key:"connection_string",value:r},{key:"table",value:C},{key:"format",value:w},{key:"queue_dir",value:_},{key:"queue_limit",value:E},{key:"comment",value:B}])}},[r,C,w,_,E,B,a]),(0,l.useEffect)(()=>{const e=F();u(e)},[b,d,v,g,x,c,u,F]),(0,l.useEffect)(()=>{if(t){const e=F();return void u(e)}const e=((e,a)=>{let t=[];for(const s of a){const a=e.indexOf(s+"=");-1!==a&&t.push(a)}t.sort((e,a)=>e-a);let l=new Map,n=new Array(t.length);for(let s=0;s{o(e.target.checked)},value:"manualString"}),t?(0,s.jsx)(l.Fragment,{children:(0,s.jsx)(n.cl_,{id:"connection-string",name:"connection_string",label:"Connection String",value:r,onChange:e=>{u(e.target.value)}})}):(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(n.xA9,{item:!0,xs:12,children:(0,s.jsxs)(n.azJ,{withBorders:!0,useBackground:!0,sx:{overflowY:"auto",height:170,marginBottom:12},children:[(0,s.jsx)(n.cl_,{id:"host",name:"host",label:"",placeholder:"Enter Host",value:c,onChange:e=>{i(e.target.value)}}),(0,s.jsx)(n.cl_,{id:"db-name",name:"db-name",label:"",placeholder:"Enter DB Name",value:d,onChange:e=>{m(e.target.value)}}),(0,s.jsx)(n.cl_,{id:"port",name:"port",label:"",placeholder:"Enter Port",value:g,onChange:e=>{h(e.target.value)}}),(0,s.jsx)(n.l6P,{value:x,label:"",id:"sslmode",name:"sslmode",onChange:e=>{e&&j(e+"")},options:[{label:"Enter SSL Mode",value:" "},{label:"Require",value:"require"},{label:"Disable",value:"disable"},{label:"Verify CA",value:"verify-ca"},{label:"Verify Full",value:"verify-full"}]}),(0,s.jsx)(n.cl_,{id:"user",name:"user",label:"",placeholder:"Enter User",value:b,onChange:e=>{p(e.target.value)}}),(0,s.jsx)(n.cl_,{id:"password",name:"password",label:"",type:"password",placeholder:"Enter Password",value:v,onChange:e=>{f(e.target.value)}})]})}),(0,s.jsx)(n.EmB,{label:"Connection String",multiLine:!0,children:r})]}),(0,s.jsx)(n.cl_,{id:"table",name:"table",label:"Table",placeholder:"Enter Table Name",value:C,tooltip:"DB table name to store/update events, table is auto-created",onChange:e=>{S(e.target.value)}}),(0,s.jsx)(n.z6M,{currentValue:w,id:"format",name:"format",label:"Format",onChange:e=>{y(e.target.value)},tooltip:"'namespace' reflects current bucket/object list and 'access' reflects a journal of object operations, defaults to 'namespace'",selectorOptions:[{label:"Namespace",value:"namespace"},{label:"Access",value:"access"}]}),(0,s.jsx)(n.cl_,{id:"queue-dir",name:"queue_dir",label:"Queue Dir",placeholder:"Enter Queue Directory",value:_,tooltip:"Staging directory for undelivered messages e.g. '/home/events'",onChange:e=>{k(e.target.value)}}),(0,s.jsx)(n.cl_,{id:"queue-limit",name:"queue_limit",label:"Queue Limit",placeholder:"Enter Queue Limit",type:"number",value:E,tooltip:"Maximum limit for undelivered messages, defaults to '10000'",onChange:e=>{q(e.target.value)}}),(0,s.jsx)(n.hFj,{id:"comment",name:"comment",label:"Comment",placeholder:"Enter custom notes if any",value:B,onChange:e=>{D(e.target.value)}})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/3576.89f6718c.chunk.js b/web-app/build/static/js/3576.89f6718c.chunk.js deleted file mode 100644 index 923a367a07..0000000000 --- a/web-app/build/static/js/3576.89f6718c.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3576],{73576:(e,t,n)=>{n.r(t),n.d(t,{default:()=>_});var i=n(9950),l=n(98341),s=n(28429),c=n(89132),r=n(2586),a=n(26843),o=n(93598),d=n(49078),u=n(47304),p=n(99491),h=n(30272),b=n(55604),x=n(44414);const m=(0,b.A)(i.lazy(()=>n.e(5503).then(n.bind(n,15503)))),A=(0,b.A)(i.lazy(()=>n.e(116).then(n.bind(n,30116)))),R=(0,b.A)(i.lazy(()=>n.e(4599).then(n.bind(n,14599)))),_=()=>{const e=(0,p.jL)(),t=(0,s.g)(),n=(0,l.d4)(u.Nx),[b,_]=(0,i.useState)(!0),[j,O]=(0,i.useState)([]),[I,S]=(0,i.useState)(!1),[T,k]=(0,i.useState)(!1),[g,N]=(0,i.useState)(!1),[C,f]=(0,i.useState)(""),[y,P]=(0,i.useState)([]),[E,v]=(0,i.useState)(!1),F=t.bucketName||"",V=(0,a._)(F,[o.OV.S3_GET_REPLICATION_CONFIGURATION,o.OV.S3_GET_ACTIONS]);(0,i.useEffect)(()=>{e((0,d.ph)("bucket_detail_replication"))},[]),(0,i.useEffect)(()=>{n&&_(!0)},[n,_]),(0,i.useEffect)(()=>{b&&(V?r.A.invoke("GET","/api/v1/buckets/".concat(F,"/replication")).then(e=>{const t=e.rules?e.rules:[];t.sort((e,t)=>e.priority-t.priority),O(t),_(!1)}).catch(t=>{e((0,d.C9)(t)),_(!1)}):_(!1))},[b,e,F,V]);const w=function(){k(arguments.length>0&&void 0!==arguments[0]&&arguments[0])},U=(0,s.Zp)(),G=[{type:"delete",onClick:e=>{f(e.id),v(!1),S(!0)}},{type:"view",onClick:e=>{f(e.id),U("/buckets/edit-replication?bucketName=".concat(F,"&ruleID=").concat(e.id))},disableButtonFunction:!(0,a._)(F,[o.OV.S3_PUT_REPLICATION_CONFIGURATION,o.OV.S3_PUT_ACTIONS],!0)}];return(0,x.jsxs)(i.Fragment,{children:[T&&(0,x.jsx)(A,{closeModalAndRefresh:()=>{w(!1),_(!0)},open:T,bucketName:F,setReplicationRules:j}),I&&(0,x.jsx)(R,{deleteOpen:I,selectedBucket:F,closeDeleteModalAndRefresh:e=>{S(!1),e&&_(!0)},ruleToDelete:C,rulesToDelete:y,remainingRules:j.length,allSelected:j.length>0&&y.length===j.length,deleteSelectedRules:E}),g&&(0,x.jsx)(m,{closeModalAndRefresh:e=>{N(!1),e&&_(!0)},open:g,bucketName:F,ruleID:C}),(0,x.jsx)(c._xt,{separator:!0,sx:{marginBottom:15},actions:(0,x.jsxs)(c.azJ,{style:{display:"flex",gap:10},children:[(0,x.jsx)(a.R,{scopes:[o.OV.S3_PUT_REPLICATION_CONFIGURATION,o.OV.S3_PUT_ACTIONS],resource:F,matchAll:!0,errorProps:{disabled:!0},children:(0,x.jsx)(h.A,{tooltip:"Remove Selected Replication Rules",children:(0,x.jsx)(c.$nd,{id:"remove-bucket-replication-rule",onClick:()=>{f("selectedRules"),v(!0),S(!0)},label:"Remove Selected Rules",icon:(0,x.jsx)(c.ucK,{}),color:"secondary",disabled:0===y.length||0===j.length,variant:"secondary"})})}),(0,x.jsx)(a.R,{scopes:[o.OV.S3_PUT_REPLICATION_CONFIGURATION,o.OV.S3_PUT_ACTIONS],resource:F,matchAll:!0,errorProps:{disabled:!0},children:(0,x.jsx)(h.A,{tooltip:"Add Replication Rule",children:(0,x.jsx)(c.$nd,{id:"add-bucket-replication-rule",onClick:()=>{U(o.zZ.BUCKETS_ADD_REPLICATION+"?bucketName=".concat(F,"&nextPriority=").concat(j.length+1))},label:"Add Replication Rule",icon:(0,x.jsx)(c.REV,{}),variant:"callAction"})})})]}),children:(0,x.jsx)(c.V7x,{content:(0,x.jsxs)(i.Fragment,{children:["MinIO"," ",(0,x.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/bucket-replication.html",children:"server-side bucket replication"})," ","is an automatic bucket-level configuration that synchronizes objects between a source and destination bucket."]}),placement:"right",children:"Replication"})}),(0,x.jsxs)(c.xA9,{container:!0,children:[(0,x.jsx)(c.xA9,{item:!0,xs:12,children:(0,x.jsx)(a.R,{scopes:[o.OV.S3_GET_REPLICATION_CONFIGURATION,o.OV.S3_GET_ACTIONS],resource:F,errorProps:{disabled:!0},children:(0,x.jsx)(c.bQt,{itemActions:G,columns:[{label:"Priority",elementKey:"priority",width:55,contentTextAlign:"center"},{label:"Destination",elementKey:"destination",renderFunction:e=>(0,x.jsx)(i.Fragment,{children:e.bucket.replace("arn:aws:s3:::","")})},{label:"Prefix",elementKey:"prefix",width:200},{label:"Tags",elementKey:"tags",renderFunction:e=>(0,x.jsx)(i.Fragment,{children:e&&""!==e.tags?"Yes":"No"}),width:60},{label:"Status",elementKey:"status",width:100}],isLoading:b,records:j,entityName:"Replication Rules",idField:"id",customPaperHeight:"400px",textSelectable:!0,selectedItems:y,onSelect:e=>(e=>{const t=e.target,n=t.value,i=t.checked;let l=[...y];return i?l.push(n):l=l.filter(e=>e!==n),P(l),l})(e),onSelectAll:()=>{y.length!==j.length?P(j.map(e=>e.id)):P([])}})})}),(0,x.jsxs)(c.xA9,{item:!0,xs:12,children:[(0,x.jsx)("br",{}),(0,x.jsx)(c.lVp,{title:"Replication",iconComponent:(0,x.jsx)(c.brV,{}),help:(0,x.jsxs)(i.Fragment,{children:["MinIO supports server-side and client-side replication of objects between source and destination buckets.",(0,x.jsx)("br",{}),(0,x.jsx)("br",{}),"You can learn more at our"," ",(0,x.jsx)("a",{href:"https://min.io/docs/minio/linux/administration/bucket-replication.html",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})]})]})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/3697.ae39b184.chunk.js b/web-app/build/static/js/3697.ae39b184.chunk.js deleted file mode 100644 index 9ade8d2958..0000000000 --- a/web-app/build/static/js/3697.ae39b184.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3697],{53697:(e,t,a)=>{a.r(t),a.d(t,{default:()=>w});var n=a(9950),s=a(51536),d=a(89132),o=a(98341),l=a(32680),r=a(99491),c=a(45536),i=a(45246),u=a(44414);const w=e=>{let{closeModalAndRefresh:t,open:a,bucketName:w}=e;const b=(0,r.jL)(),h=(0,o.d4)(e=>e.objectBrowser.rewind.rewindEnabled),x=(0,o.d4)(e=>e.objectBrowser.rewind.dateToRewind),[j,p]=(0,n.useState)(!1),[S,m]=(0,n.useState)(!0),[k,f]=(0,n.useState)(s.c9.fromJSDate(new Date));(0,n.useEffect)(()=>{h&&(m(!0),f(s.c9.fromISO(x||s.c9.now().toISO()||"")))},[h,x]);return(0,u.jsx)(l.A,{modalOpen:a,onClose:()=>{t()},title:"Rewind - ".concat(w),children:(0,u.jsxs)(d.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,u.jsx)(d.e8j,{value:k,onChange:e=>e?f(e):null,id:"rewind-selector",label:"Rewind to",timeFormat:"24h",secondsSelector:!1,disabled:!S}),h&&(0,u.jsx)(d.dOG,{value:"status",id:"status",name:"status",checked:S,onChange:e=>{m(e.target.checked)},label:"Current Status",indicatorLabels:["Enabled","Disabled"]}),(0,u.jsx)(d.xA9,{item:!0,xs:12,sx:i.Uz.modalButtonBar,children:(0,u.jsx)(d.$nd,{type:"button",variant:"callAction",disabled:j||!k&&S,onClick:()=>{!S&&h?b((0,c.rS)()):(p(!0),b((0,c.v8)({state:!0,bucket:w,dateRewind:k.toISO()}))),b((0,c.Yw)(!0)),t()},id:"rewind-apply-button",label:!S&&h?"Show Current Data":"Show Rewind Data"})}),j&&(0,u.jsx)(d.xA9,{item:!0,xs:12,children:(0,u.jsx)(d.z21,{})})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4043.e97d09a3.chunk.js b/web-app/build/static/js/4043.e97d09a3.chunk.js deleted file mode 100644 index 9b251fdc4c..0000000000 --- a/web-app/build/static/js/4043.e97d09a3.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4043],{54043:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var l=n(9950),o=n(49534),s=n(89132),c=n(49078),i=n(99491),r=n(70444),a=n(48965),u=n(44414);const p=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,selectedPolicy:p}=e;const d=(0,i.jL)(),[f,y]=(0,l.useState)(!1);if(!p)return null;return(0,u.jsx)(o.A,{title:"Delete Policy",confirmText:"Delete",isOpen:n,titleIcon:(0,u.jsx)(s.xWY,{}),isLoading:f,onConfirm:()=>{y(!0),r.F.policy.removePolicy(p).then(e=>{t(!0)}).catch(async e=>{const n=await e.json();d((0,c.C9)((0,a.S)(n))),t(!1)}).finally(()=>y(!1))},onClose:()=>t(!1),confirmationContent:(0,u.jsxs)(l.Fragment,{children:["Are you sure you want to delete policy ",(0,u.jsx)("br",{}),(0,u.jsx)("b",{children:p}),"?"]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4121.4051bbf5.chunk.js b/web-app/build/static/js/4121.4051bbf5.chunk.js deleted file mode 100644 index 1f32420f16..0000000000 --- a/web-app/build/static/js/4121.4051bbf5.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4121],{14121:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var r=n(9950),i=n(87946),s=n.n(i),o=n(98341),l=n(28429),a=n(89132),c=n(70444),d=n(48965),x=n(45246),u=n(93598),m=n(26843),p=n(60252),j=n(49078),h=n(99491),g=n(27428),b=n(55604),y=n(88802),f=n(30272),F=n(82817),T=n(98167),A=n(49534),C=n(44414);const O=e=>{let{open:t,closeModalAndRefresh:n,tierName:i}=e;const s=(0,h.jL)();return(0,C.jsx)(A.A,{title:"Delete Tier",confirmText:"Delete",isOpen:t,titleIcon:(0,C.jsx)(a.$rg,{}),isLoading:!1,onConfirm:()=>{""!==i?c.F.admin.removeTier(i).then(()=>{n(!0)}).catch(e=>{e.json().then(e=>{s((0,j.C9)({errorMessage:e.message,detailedError:e.detailedMessage}))}),n(!1)}):(0,j.C9)({errorMessage:"There was an error deleting the tier",detailedError:""})},onClose:()=>n(!1),confirmationContent:(0,C.jsxs)(r.Fragment,{children:["Are you sure you want to delete the tier ",(0,C.jsx)("strong",{children:i}),"?",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),(0,C.jsx)("strong",{children:" Please note"}),(0,C.jsx)("br",{})," Only empty tiers can be deleted. If the tier has had objects transitioned into it, it cannot be removed."]})})},I=(0,b.A)(r.lazy(()=>n.e(593).then(n.bind(n,30593)))),v=()=>{const e=(0,h.jL)(),t=(0,l.Zp)(),n=(0,o.d4)(j.Rq),[i,b]=(0,r.useState)([]),[A,v]=(0,r.useState)(""),[M,S]=(0,r.useState)(!0),[E,_]=(0,r.useState)(!1),[w,N]=(0,r.useState)(!1),[k,R]=(0,r.useState)({type:"unsupported",status:!1}),L=(0,m._)(u.Ms,[u.OV.ADMIN_SET_TIER]);(0,r.useEffect)(()=>{if(M)if(n){(()=>{c.F.admin.tiersList().then(e=>{b(e.data.items||[]),S(!1)}).catch(t=>{e((0,j.C9)((0,d.S)(t.error))),S(!1)})})()}else S(!1)},[M,e,n]);const D=i.filter(e=>{if(""===A)return!0;const t=s()(e,"".concat(e.type,".name"),""),n=s()(e,"type","");return t.indexOf(A)>=0||n.indexOf(A)>=0}),z=()=>{t(u.zZ.TIERS_ADD)};return(0,r.useEffect)(()=>{e((0,j.ph)("list-tiers-configuration"))},[]),(0,C.jsxs)(r.Fragment,{children:[E&&(0,C.jsx)(I,{open:E,tierData:k,closeModalAndRefresh:()=>{_(!1)}}),w&&(0,C.jsx)(O,{open:w,tierName:s()(k,"".concat(k.type,".name"),""),closeModalAndRefresh:()=>{N(!1),S(!0)}}),(0,C.jsx)(F.A,{label:"Tiers",actions:(0,C.jsx)(T.A,{})}),(0,C.jsx)(a.Mxu,{children:n?(0,C.jsxs)(r.Fragment,{children:[(0,C.jsxs)(a.xA9,{item:!0,xs:12,sx:x._0.actionsTray,children:[(0,C.jsx)(g.A,{placeholder:"Filter",onChange:v,value:A,sx:{marginRight:"auto",maxWidth:380}}),(0,C.jsxs)(a.azJ,{sx:{display:"flex",flexWrap:"nowrap",gap:5},children:[(0,C.jsx)(a.$nd,{id:"refresh-list",icon:(0,C.jsx)(a.fNY,{}),label:"Refresh List",onClick:()=>{S(!0)}}),(0,C.jsx)(f.A,{tooltip:L?"":"You require additional permissions in order to create a new Tier. Please ask your MinIO administrator to grant you "+u.OV.ADMIN_SET_TIER+" permission in order to create a Tier.",children:(0,C.jsx)(m.R,{scopes:[u.OV.ADMIN_SET_TIER],resource:u.Ms,errorProps:{disabled:!0},children:(0,C.jsx)(a.$nd,{id:"add-tier",icon:(0,C.jsx)(a.REV,{}),label:"Create Tier",onClick:z,variant:"callAction"})})})]})]}),M&&(0,C.jsx)(a.z21,{}),!M&&(0,C.jsxs)(r.Fragment,{children:[i.length>0&&(0,C.jsxs)(r.Fragment,{children:[(0,C.jsx)(a.xA9,{item:!0,xs:12,children:(0,C.jsx)(m.R,{scopes:[u.OV.ADMIN_LIST_TIERS],resource:u.Ms,errorProps:{disabled:!0},children:(0,C.jsx)(a.bQt,{itemActions:[{type:"edit",onClick:e=>{R(e),_(!0)}},{type:"delete",isDisabled:!(0,m._)("*",u.pC[u.ac.BUCKET_LIFECYCLE],!0),onClick:e=>{R(e),N(!0)}}],columns:[{label:"Tier Name",elementKey:"type",renderFunction:e=>{const t=s()(e,"".concat(e.type,".name"),"");return null!==t?(0,C.jsx)("b",{children:t}):""},renderFullObject:!0},{label:"Status",elementKey:"status",renderFunction:e=>e?(0,C.jsxs)(a.xA9,{container:!0,sx:{display:"flex",alignItems:"center",justifyItems:"start",color:"#4CCB92",fontSize:"8px",flexDirection:"column"},children:[(0,C.jsx)(a.JrA,{style:{fill:"#4CCB92",width:14,height:14}}),"ONLINE"]}):(0,C.jsxs)(a.xA9,{container:!0,sx:{display:"flex",flexDirection:"column",alignItems:"center",color:"#C83B51",fontSize:"8px"},children:[(0,C.jsx)(a.lgW,{style:{fill:"#C83B51",width:14,height:14}}),"OFFLINE"]}),width:50},{label:"Type",elementKey:"type",renderFunction:e=>{const{logoXs:t}=p._T.find(t=>t.serviceName===e)||{};return e?(0,C.jsx)(a.azJ,{sx:{display:"flex",alignItems:"center","& .min-icon":{width:"18px",height:"22px"}},children:t}):""},width:50},{label:"Endpoint",elementKey:"type",renderFunction:e=>{const t=s()(e,"".concat(e.type,".endpoint"),"");return null!==t?t:""},renderFullObject:!0},{label:"Bucket",elementKey:"type",renderFunction:e=>{const t=s()(e,"".concat(e.type,".bucket"),"");return null!==t?t:""},renderFullObject:!0},{label:"Prefix",elementKey:"type",renderFunction:e=>{const t=s()(e,"".concat(e.type,".prefix"),"");return null!==t?t:""},renderFullObject:!0},{label:"Region",elementKey:"type",renderFunction:e=>{const t=s()(e,"".concat(e.type,".region"),"");return null!==t?t:""},renderFullObject:!0},{label:"Usage",elementKey:"type",renderFunction:e=>{const t=s()(e,"".concat(e.type,".usage"),"");return null!==t?t:""},renderFullObject:!0},{label:"Objects",elementKey:"type",renderFunction:e=>{const t=s()(e,"".concat(e.type,".objects"),"");return null!==t?t:""},renderFullObject:!0},{label:"Versions",elementKey:"type",renderFunction:e=>{const t=s()(e,"".concat(e.type,".versions"),"");return null!==t?t:""},renderFullObject:!0}],isLoading:M,records:D,entityName:"Tiers",idField:"service_name",customPaperHeight:"400px"})})}),(0,C.jsx)(a.xA9,{item:!0,xs:12,sx:{marginTop:"15px"},children:(0,C.jsx)(a.lVp,{title:"Learn more about TIERS",iconComponent:(0,C.jsx)(a.fAn,{}),help:(0,C.jsxs)(r.Fragment,{children:["Tiers are used by the MinIO Object Lifecycle Management which allows creating rules for time or date based automatic transition or expiry of objects. For object transition, MinIO automatically moves the object to a configured remote storage tier.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"You can learn more at our"," ",(0,C.jsx)("a",{href:"https://min.io/docs/minio/linux/administration/object-management/object-lifecycle-management.html",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})})]}),0===i.length&&(0,C.jsx)(a.lVp,{title:"Tiers",iconComponent:(0,C.jsx)(a.fAn,{}),help:(0,C.jsxs)(r.Fragment,{children:["Tiers are used by the MinIO Object Lifecycle Management which allows creating rules for time or date based automatic transition or expiry of objects. For object transition, MinIO automatically moves the object to a configured remote storage tier.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),L?(0,C.jsxs)("div",{children:["To get started,"," ",(0,C.jsx)(a.t53,{isLoading:!1,label:"",onClick:z,children:"Create Tier"}),"."]}):""]})})]})]}):(0,C.jsx)(y.A,{entity:"Tiers",iconComponent:(0,C.jsx)(a.zEc,{})})})]})}},55604:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(89379),i=n(9950),s=n(44414);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n){return(0,s.jsx)(i.Suspense,{fallback:t,children:(0,s.jsx)(e,(0,r.A)({},n))})}}},60252:(e,t,n)=>{n.d(t,{_T:()=>c,pW:()=>l,qA:()=>o,vH:()=>s,y:()=>a});var r=n(89132),i=n(44414);const s="minio",o="gcs",l="s3",a="azure",c=[{serviceName:s,targetTitle:"MinIO",logo:(0,i.jsx)(r.Wh8,{}),logoXs:(0,i.jsx)(r.$2v,{})},{serviceName:o,targetTitle:"Google Cloud Storage",logo:(0,i.jsx)(r.F7U,{}),logoXs:(0,i.jsx)(r.gwF,{})},{serviceName:l,targetTitle:"AWS S3",logo:(0,i.jsx)(r._tF,{}),logoXs:(0,i.jsx)(r.ZZX,{})},{serviceName:a,targetTitle:"Azure",logo:(0,i.jsx)(r.Nmx,{}),logoXs:(0,i.jsx)(r.Ubg,{})}]},88802:(e,t,n)=>{n.d(t,{A:()=>s});n(9950);var r=n(89132),i=n(44414);const s=e=>{let{iconComponent:t,entity:n}=e;return(0,i.jsx)(r.xA9,{container:!0,children:(0,i.jsx)(r.xA9,{item:!0,xs:12,children:(0,i.jsx)(r.lVp,{title:"".concat(n," not available"),iconComponent:t,help:(0,i.jsxs)(r.azJ,{sx:{fontSize:"14px",["@media (max-width: ".concat(r.nmC.sm,"px)")]:{display:"flex",flexFlow:"column"}},children:[(0,i.jsx)("span",{children:"This feature is not available for a single-disk setup.\xa0"}),(0,i.jsxs)("span",{children:["Please deploy a server in"," ",(0,i.jsx)("a",{href:"https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-multi-node-multi-drive.html",target:"_blank",rel:"noopener",children:"Distributed Mode"})," ","to use this feature."]})]})})})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4169.96b3dd33.chunk.js b/web-app/build/static/js/4169.96b3dd33.chunk.js deleted file mode 100644 index dd260f68da..0000000000 --- a/web-app/build/static/js/4169.96b3dd33.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4169],{32680:(e,t,n)=>{n.d(t,{A:()=>d});var s=n(9950),a=n(98341),i=n(89132),o=n(99491),l=n(49078),r=n(96382),c=n(44414);const d=e=>{let{onClose:t,modalOpen:n,title:d,children:m,wideLimit:u=!0,titleIcon:x=null,iconColor:p="default",sx:h}=e;const g=(0,o.jL)(),[j,b]=(0,s.useState)(!1),f=(0,a.d4)(e=>e.system.modalSnackBar);(0,s.useEffect)(()=>{g((0,l.h0)(""))},[g]),(0,s.useEffect)(()=>{if(f){if(""===f.message)return void b(!1);"error"!==f.type&&b(!0)}},[f]);let _="";return f&&(_=f.detailedErrorMsg,(""===_||_&&_.length<5)&&(_=f.message)),(0,c.jsxs)(i.ngX,{onClose:t,open:n,title:d,titleIcon:x,widthLimit:u,sx:h,iconColor:p,children:[(0,c.jsx)(r.A,{isModal:!0}),(0,c.jsx)(i.qb_,{onClose:()=>{b(!1),g((0,l.h0)(""))},open:j,message:_,mode:"inline",variant:"error"===f.type?"error":"default",autoHideDuration:"error"===f.type?10:5,condensed:!0}),m]})}},44169:(e,t,n)=>{n.r(t),n.d(t,{default:()=>A});var s=n(9950),a=n(87946),i=n.n(a),o=n(98341),l=n(89132),r=n(59908);const c={time:"Timestamp",api_name:"API Name",access_key:"Access Key",bucket:"Bucket",object:"Object",remote_host:"Remote Host",request_id:"Request ID",user_agent:"User Agent",response_status:"Response Status",response_status_code:"Response Status Code",request_content_length:"Request Content Length",response_content_length:"Response Content Length",time_to_response_ns:"Time to Response NS"};var d=n(93598),m=n(49078),u=n(86070),x=n(99491),p=n(26843),h=n(2586),g=n(44414);const j=e=>{let{label:t,onChange:n,value:a,placeholder:i="",id:o,name:r}=e;return(0,g.jsx)(s.Fragment,{children:(0,g.jsxs)(l.azJ,{sx:{flexGrow:1,margin:"0 15px"},children:[(0,g.jsx)(l.l1Y,{children:t}),(0,g.jsx)(l.cl_,{placeholder:i,id:o,name:r,label:"",onChange:e=>{n(e.target.value)},sx:{"& input":{height:30}},value:a})]})})};var b=n(32680);const f=e=>{let{modalOpen:t,logSearchElement:n,onClose:a}=e;const o=Object.keys(n);return(0,g.jsx)(s.Fragment,{children:(0,g.jsx)(b.A,{modalOpen:t,title:"Full Log Information",onClose:()=>{a()},children:(0,g.jsxs)(l.xA9,{container:!0,children:[(0,g.jsx)(l.xA9,{item:!0,xs:12,children:(0,g.jsx)("table",{children:(0,g.jsx)("tbody",{children:o.map((e,t)=>(0,g.jsxs)("tr",{children:[(0,g.jsx)("th",{style:{fontWeight:700,paddingRight:"10px",textAlign:"left"},children:i()(c,e,"".concat(e))}),(0,g.jsx)("td",{children:i()(n,e,"")})]},"logSearch-".concat(t.toString())))})})}),(0,g.jsx)(l.xA9,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-end"},children:(0,g.jsx)(l.$nd,{id:"close-log-search",variant:"callAction",color:"primary",onClick:a,label:"Close"})})]})})})};var _=n(77517);const C=e=>{let{iconComponent:t,entity:n,documentationLink:a}=e;return(0,g.jsx)(l.xA9,{container:!0,sx:{justifyContent:"center",alignContent:"center",alignItems:"center"},children:(0,g.jsx)(l.xA9,{item:!0,xs:8,children:(0,g.jsx)(l.lVp,{title:"".concat(n," not available"),iconComponent:t,help:(0,g.jsxs)(s.Fragment,{children:["This feature is not available.",(0,g.jsx)("br",{}),"Please configure"," ",(0,g.jsx)("a",{href:a,target:"_blank",rel:"noopener",children:n})," ","first to use this feature."]})})})})};var y=n(82817),S=n(98167);const k={display:"flex",justifyContent:"space-between",marginBottom:12},A=()=>{const e=(0,x.jL)(),t=(0,o.d4)(u.s$),[n,a]=(0,s.useState)(!0),[b,A]=(0,s.useState)(null),[v,w]=(0,s.useState)(null),[E,T]=(0,s.useState)(!1),[F,I]=(0,s.useState)([]),[L,q]=(0,s.useState)(""),[R,z]=(0,s.useState)(""),[K,O]=(0,s.useState)(""),[J,B]=(0,s.useState)(""),[M,D]=(0,s.useState)(""),[N,P]=(0,s.useState)(""),[H,W]=(0,s.useState)(""),[U,$]=(0,s.useState)("DESC"),[G,Y]=(0,s.useState)(["time","api_name","access_key","bucket","object","remote_host","request_id","user_agent","response_status"]),[V,Q]=(0,s.useState)(0),[X,Z]=(0,s.useState)(!1),[ee,te]=(0,s.useState)(!1),[ne,se]=(0,s.useState)(null);let ae=null;const ie=t&&t.includes("log-search"),oe=(0,s.useCallback)(()=>{if(!X&&ie){Z(!0);let t="".concat(""!==L?"&fp=bucket:".concat(L):"").concat(""!==M?"&fp=object:".concat(M):"").concat(""!==R?"&fp=api_name:".concat(R):"").concat(""!==K?"&fp=access_key:".concat(K):"").concat(""!==N?"&fp=request_id:".concat(N):"").concat(""!==J?"&fp=user_agent:".concat(J):"").concat(""!==H?"&fp=response_status:".concat(H):"");t=t.trim(),t.endsWith(",")&&(t=t.slice(0,-1)),h.A.invoke("GET","/api/v1/logs/search?q=reqinfo".concat(""!==t?"".concat(t):"","&pageSize=100&pageNo=").concat(V,"&order=").concat("DESC"===U?"timeDesc":"timeAsc").concat(null!==b?"&timeStart=".concat(b.toUTC().toISO()):"").concat(null!==v?"&timeEnd=".concat(v.toUTC().toISO()):"")).then(e=>{const t=e.results||[];a(!1),Z(!1),I(t),Q(V+1),null!==ae&&ae()}).catch(t=>{a(!1),Z(!1),e((0,m.C9)(t))})}else a(!1),Z(!1)},[X,ie,L,M,R,K,N,J,H,V,U,b,v,ae,e]);(0,s.useEffect)(()=>{n&&(I([]),oe())},[n,U,oe]);return(0,s.useEffect)(()=>{e((0,m.ph)("audit_logs"))},[]),(0,g.jsxs)(s.Fragment,{children:[ee&&null!==ne&&(0,g.jsx)(f,{logSearchElement:ne,modalOpen:ee,onClose:()=>{se(null),te(!1)}}),(0,g.jsx)(y.A,{label:"Audit Logs",actions:(0,g.jsx)(S.A,{})}),(0,g.jsx)(l.Mxu,{children:ie?(0,g.jsxs)(s.Fragment,{children:[" ",(0,g.jsxs)(l.azJ,{withBorders:!0,sx:{marginBottom:15},children:[(0,g.jsxs)(l.xA9,{item:!0,xs:12,sx:{display:"flex",padding:15,["@media (max-width: ".concat(l.nmC.lg,"px)")]:{flexFlow:"column"}},children:[(0,g.jsx)(l.azJ,{children:(0,g.jsx)(_.A,{setTimeEnd:e=>w(e),setTimeStart:e=>A(e),timeEnd:v,timeStart:b})}),(0,g.jsx)(l.azJ,{sx:{display:"flex",alignItems:"center"},children:(0,g.jsx)(l.J2w,{label:"".concat(E?"Hide":"Show"," advanced Filters"),open:E,onClick:()=>{T(!E)}})})]}),(0,g.jsxs)(l.xA9,{item:!0,xs:12,sx:{display:E?"block":"none",overflowY:"hidden",marginBottom:E?12:0},children:[(0,g.jsxs)(l.azJ,{sx:{marginLeft:15,marginBottom:15,fontSize:12,color:"#9C9C9C"},children:["Enable your preferred options to get filtered records.",(0,g.jsx)("br",{}),"You can use '*' to match any character, '.' to signify a single character or '\\' to scape an special character (E.g. mybucket-*)"]}),(0,g.jsxs)(l.azJ,{sx:k,children:[(0,g.jsx)(j,{onChange:q,value:L,label:"Bucket",id:"bucket",name:"bucket"}),(0,g.jsx)(j,{onChange:z,value:R,label:"API Name",id:"api_name",name:"api_name"}),(0,g.jsx)(j,{onChange:O,value:K,label:"Access Key",id:"access_key",name:"access_key"}),(0,g.jsx)(j,{onChange:B,value:J,label:"User Agent",id:"user_agent",name:"user_agent"})]}),(0,g.jsxs)(l.azJ,{sx:k,children:[(0,g.jsx)(j,{onChange:D,value:M,label:"Object",id:"object",name:"object"}),(0,g.jsx)(j,{onChange:P,value:N,label:"Request ID",id:"request_id",name:"request_id"}),(0,g.jsx)(j,{onChange:W,value:H,label:"Response Status",id:"response_status",name:"response_status"})]})]}),(0,g.jsx)(l.xA9,{item:!0,xs:12,sx:{marginBottom:15,padding:"0 15px 0 15px",display:"flex",alignItems:"center",justifyContent:"flex-end"},children:(0,g.jsx)(l.$nd,{id:"get-information",type:"button",variant:"callAction",onClick:()=>{Q(0),a(!0)},label:"Get Information"})})]}),(0,g.jsx)(l.xA9,{item:!0,xs:12,children:(0,g.jsx)(p.R,{scopes:[d.OV.ADMIN_HEALTH_INFO],resource:d.Ms,errorProps:{disabled:!0},children:(0,g.jsx)(l.bQt,{columns:[{label:c.time,elementKey:"time",enableSort:!0},{label:c.api_name,elementKey:"api_name"},{label:c.access_key,elementKey:"access_key"},{label:c.bucket,elementKey:"bucket"},{label:c.object,elementKey:"object"},{label:c.remote_host,elementKey:"remote_host"},{label:c.request_id,elementKey:"request_id"},{label:c.user_agent,elementKey:"user_agent"},{label:c.response_status,elementKey:"response_status",renderFunction:e=>(0,g.jsx)(s.Fragment,{children:(0,g.jsxs)("span",{children:[e.response_status_code," (",e.response_status,")"]})}),renderFullObject:!0},{label:c.request_content_length,elementKey:"request_content_length",renderFunction:r.nO},{label:c.response_content_length,elementKey:"response_content_length",renderFunction:r.nO},{label:c.time_to_response_ns,elementKey:"time_to_response_ns",renderFunction:r.Wi,contentTextAlign:"right"}],isLoading:n,records:F,entityName:"Logs",customEmptyMessage:"There is no information with this criteria",idField:"request_id",columnsSelector:!0,columnsShown:G,onColumnChange:e=>{let t;t=G.findIndex(t=>t===e)>=0?G.filter(t=>t!==e):[...G,e],Y(t)},customPaperHeight:E?"calc(100vh - 520px)":"calc(100vh - 320px)",sortEnabled:{currentSort:"time",currentDirection:U,onSortClick:e=>{const t=i()(e,"sortDirection","DESC");$(t),Q(0),a(!0)}},infiniteScrollConfig:{recordsCount:1e6,loadMoreRecords:e=>(oe(),new Promise(e=>{ae=e}))},itemActions:[{type:"view",onClick:e=>{se(e),te(!0)}}],textSelectable:!0})})})]}):(0,g.jsx)(C,{entity:"Audit Logs",iconComponent:(0,g.jsx)(l.WIv,{}),documentationLink:"https://min.io/docs/minio/windows/operations/monitoring/minio-logging.html"})})]})}},77517:(e,t,n)=>{n.d(t,{A:()=>o});var s=n(9950),a=n(89132),i=n(44414);const o=e=>{let{timeStart:t,setTimeStart:n,timeEnd:o,setTimeEnd:l,triggerSync:r,label:c="Filter:",startLabel:d="Start Time:",endLabel:m="End Time:"}=e;return(0,i.jsx)(a.xA9,{item:!0,xs:12,sx:{"& .filter-date-input-label, .end-time-input-label":{display:"none"},"& .MuiInputBase-adornedEnd.filter-date-date-time-input":{width:"100%",border:"1px solid #eaeaea",paddingLeft:"8px",paddingRight:"8px",borderRadius:"1px"},"& .MuiInputAdornment-root button":{height:"20px",width:"20px",marginRight:"5px"},"& .filter-date-input-wrapper":{height:"30px",width:"100%","& .MuiTextField-root":{height:"30px",width:"90%","& input.Mui-disabled":{color:"#000000",WebkitTextFillColor:"#101010"}}}},children:(0,i.jsxs)(a.azJ,{sx:{display:"grid",height:40,alignItems:"center",gridTemplateColumns:"auto 2fr auto",padding:0,["@media (max-width: ".concat(a.nmC.sm,"px)")]:{padding:5},["@media (max-width: ".concat(a.nmC.md,"px)")]:{gridTemplateColumns:"1fr",height:"auto"},gap:"5px"},children:[(0,i.jsx)(a.azJ,{sx:{fontSize:"14px",fontWeight:500,marginRight:"5px"},className:"muted",children:c}),(0,i.jsxs)(a.azJ,{customBorderPadding:"0px",sx:{display:"grid",height:40,alignItems:"center",gridTemplateColumns:"1fr 1fr",gap:"8px",paddingLeft:"8px",paddingRight:"8px",["@media (max-width: ".concat(a.nmC.md,"px)")]:{height:"auto",gridTemplateColumns:"1fr"}},children:[(0,i.jsx)(a.e8j,{value:t,onChange:n,id:"stTime",secondsSelector:!1,pickerStartComponent:(0,i.jsxs)(s.Fragment,{children:[(0,i.jsx)(a.b1c,{}),(0,i.jsx)("span",{children:d})]})}),(0,i.jsx)(a.e8j,{value:o,onChange:l,id:"endTime",secondsSelector:!1,pickerStartComponent:(0,i.jsxs)(s.Fragment,{children:[(0,i.jsx)(a.b1c,{}),(0,i.jsx)("span",{children:m})]})})]}),r&&(0,i.jsx)(a.azJ,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"flex-end"},children:(0,i.jsx)(a.$nd,{id:"sync",type:"button",variant:"callAction",onClick:r,icon:(0,i.jsx)(a.Fjq,{}),label:"Sync"})})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4186.1b3f78a1.chunk.js b/web-app/build/static/js/4186.1b3f78a1.chunk.js deleted file mode 100644 index db5f6cff67..0000000000 --- a/web-app/build/static/js/4186.1b3f78a1.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4186],{74186:(e,t,o)=>{o.r(t),o.d(t,{default:()=>i});var a=o(9950),c=o(28429),s=o(99491),n=o(59908),r=o(49078),l=o(86070),p=o(2586),u=o(98734),g=o(44414);const i=()=>{const e=(0,s.jL)(),t=(0,c.Zp)();return(0,a.useEffect)(()=>{const o=()=>{e((0,r.WQ)(!1)),e({type:"socket/OBDisconnect"}),localStorage.setItem("userLoggedIn",""),localStorage.setItem("redirect-path",""),e((0,l.wD)()),(0,n.q7)(),t("/login"),window.location.reload()};(()=>{const e=localStorage.getItem("auth-state");p.A.invoke("POST","/api/v1/logout",{state:e}).then(o).catch(e=>{console.error(e),o()})})()},[e,t]),(0,g.jsx)(u.A,{})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4274.247cb27e.chunk.js b/web-app/build/static/js/4274.247cb27e.chunk.js deleted file mode 100644 index 307c7fe852..0000000000 --- a/web-app/build/static/js/4274.247cb27e.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4274,7958],{5134:(e,s,t)=>{t.d(s,{A:()=>h});var n=t(9950),a=t(87946),r=t.n(a),o=t(89132),i=t(20416),c=t(49078),l=t(99491),d=t(2586),u=t(27428),x=t(44414);const h=e=>{let{selectedGroups:s,setSelectedGroups:t}=e;const a=(0,l.jL)(),[h,p]=(0,n.useState)([]),[m,j]=(0,n.useState)(!1),[y,g]=(0,n.useState)(""),A=(0,n.useCallback)(()=>{d.A.invoke("GET","/api/v1/groups").then(e=>{let s=r()(e,"groups",[]);s||(s=[]),p(s.sort(i.SO)),j(!1)}).catch(e=>{a((0,c.Dy)(e)),j(!1)})},[a]);(0,n.useEffect)(()=>{j(!0)},[]),(0,n.useEffect)(()=>{m&&A()},[m,A]);const b=s||[],f=h.filter(e=>e.includes(y));return(0,x.jsxs)(o.xA9,{item:!0,xs:12,className:"inputItem",children:[m&&(0,x.jsx)(o.z21,{}),null!==h&&h.length>0?(0,x.jsxs)(n.Fragment,{children:[(0,x.jsx)(o.xA9,{item:!0,xs:12,className:"inputItem",children:(0,x.jsx)(u.A,{placeholder:"Start typing to search for Groups",onChange:g,value:y,label:"Assign Groups"})}),(0,x.jsx)(o.bQt,{columns:[{label:"Group"}],onSelect:e=>{const s=e.target,n=s.value,a=s.checked;let r=[...b];return a?r.push(n):r=r.filter(e=>e!==n),t(r),r},selectedItems:b,isLoading:m,records:f,entityName:"Groups",idField:"",customPaperHeight:"200px"})]}):(0,x.jsx)(o.azJ,{sx:{textAlign:"center",padding:"10px 0"},children:"No Groups Available"})]})}},23701:(e,s,t)=>{t.d(s,{A:()=>b});var n=t(89379),a=t(9950),r=t(87946),o=t.n(r),i=t(19335),c=t(89132),l=t(32680),d=t(95189),u=t.n(d),x=t(49078),h=t(99491),p=t(44414);const m=e=>{let{label:s="",value:t=""}=e;const n=(0,h.jL)();return(0,p.jsxs)(c.azJ,{sx:{marginTop:12},children:[(0,p.jsx)(c.l1Y,{children:s}),(0,p.jsx)(c.EmB,{actionButton:(0,p.jsx)(u(),{text:t,children:(0,p.jsx)(c.$nd,{id:"copy-path",variant:"regular",onClick:()=>{n((0,x.h0)("".concat(s," copied to clipboard")))},style:{marginRight:"5px",width:"28px",height:"28px",padding:"0px"},icon:(0,p.jsx)(c.TdU,{})})}),children:t})]})};var j=t(30272),y=t(45246);const g=i.Ay.div(e=>{let{theme:s}=e;return{color:o()(s,"signalColors.danger","#C51B3F"),fontSize:".85rem",margin:".5rem 0 .5rem 0",display:"flex",alignItems:"center","& svg ":{marginRight:".3rem",height:16,width:16}}}),A=(e,s)=>{let t=document.createElement("a");t.setAttribute("href","data:text/plain;charset=utf-8,"+s),t.setAttribute("download",e),t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)},b=e=>{let{newServiceAccount:s,open:t,closeModal:r,entity:i}=e;if(!s)return null;const d=o()(s,"console",null),u=o()(s,"idp",!1);return(0,p.jsx)(l.A,{modalOpen:t,onClose:()=>{r()},title:"New ".concat(i," Created"),titleIcon:(0,p.jsx)(c.kQt,{}),children:(0,p.jsxs)(c.xA9,{container:!0,children:[(0,p.jsxs)(c.xA9,{item:!0,xs:12,children:["A new ",i," has been created with the following details:",!u&&d&&(0,p.jsx)(a.Fragment,{children:(0,p.jsxs)(c.xA9,{item:!0,xs:12,sx:{overflowY:"auto",maxHeight:350},children:[(0,p.jsx)(c.azJ,{sx:{padding:".8rem 0 0 0",fontWeight:600,fontSize:".9rem"},children:"Console Credentials"}),Array.isArray(d)&&d.map((e,s)=>(0,p.jsxs)(a.Fragment,{children:[(0,p.jsx)(m,{label:"Access Key",value:e.accessKey}),(0,p.jsx)(m,{label:"Secret Key",value:e.secretKey})]})),!Array.isArray(d)&&(0,p.jsxs)(a.Fragment,{children:[(0,p.jsx)(m,{label:"Access Key",value:d.accessKey}),(0,p.jsx)(m,{label:"Secret Key",value:d.secretKey})]})]})}),(null===d||void 0===d)&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(m,{label:"Access Key",value:s.accessKey||""}),(0,p.jsx)(m,{label:"Secret Key",value:s.secretKey||""})]}),u?(0,p.jsx)(g,{children:"Please Login via the configured external identity provider."}):(0,p.jsxs)(g,{children:[(0,p.jsx)(c.cJw,{}),(0,p.jsx)("span",{children:"Write these down, as this is the only time the secret will be displayed."})]})]}),(0,p.jsx)(c.xA9,{item:!0,xs:12,sx:(0,n.A)({},y.Uz.modalButtonBar),children:!u&&(0,p.jsxs)(a.Fragment,{children:[(0,p.jsx)(j.A,{tooltip:"Download credentials in a JSON file formatted for import using mc alias import. This will only include the default login credentials.",children:(0,p.jsx)(c.$nd,{id:"download-button",label:"Download for import",onClick:()=>{let e={};if(d)if(Array.isArray(d)){e=d.map(e=>({url:e.url,accessKey:e.accessKey,secretKey:e.secretKey,api:"s3v4",path:"auto"}))[0]}else e={url:d.url,accessKey:d.accessKey,secretKey:d.secretKey,api:"s3v4",path:"auto"};else e={url:s.url,accessKey:s.accessKey,secretKey:s.secretKey,api:"s3v4",path:"auto"};A("credentials.json",JSON.stringify((0,n.A)({},e)))},icon:(0,p.jsx)(c.s3U,{}),variant:"callAction"})}),Array.isArray(d)&&d.length>1&&(0,p.jsx)(j.A,{tooltip:"Download all access credentials to a JSON file. NOTE: This file is not formatted for import using mc alias import. If you plan to import this alias from the file, please use the Download for Import button. ",children:(0,p.jsx)(c.$nd,{id:"download-all-button",label:"Download all access credentials",onClick:()=>{let e={};if(d&&Array.isArray(d)&&d.length>1){e=d.map(e=>({accessKey:e.accessKey,secretKey:e.secretKey}))}A("all_credentials.json",JSON.stringify((0,n.A)({},e)))},icon:(0,p.jsx)(c.s3U,{}),variant:"callAction",color:"primary"})})]})})]})})}},33312:(e,s,t)=>{t.d(s,{A:()=>o});t(9950);var n=t(19335),a=t(44414);const r=n.Ay.h1(()=>({padding:0,margin:0,fontSize:".9rem"})),o=e=>{let{children:s}=e;return(0,a.jsx)(r,{children:s})}},40038:(e,s,t)=>{t.d(s,{A:()=>h});var n=t(9950),a=t(89132),r=t(20416),o=t(27428),i=t(49078),c=t(99491),l=t(5887),d=t(98341),u=t(70444),x=t(44414);const h=e=>{let{noTitle:s=!1}=e;const t=(0,c.jL)(),[h,p]=(0,n.useState)([]),[m,j]=(0,n.useState)(!1),[y,g]=(0,n.useState)(""),A=(0,d.d4)(e=>e.createUser.selectedPolicies),b=(0,n.useCallback)(()=>{j(!0),u.F.policies.listPolicies().then(e=>{var s;const t=null!==(s=e.data.policies)&&void 0!==s?s:[];j(!1),p(t.sort(r.Hw))}).catch(e=>{j(!1),t((0,i.Dy)(e))})},[t]);(0,n.useEffect)(()=>{j(!0)},[]),(0,n.useEffect)(()=>{m&&b()},[m,b]);const f=h.filter(e=>e.name.includes(y));return(0,x.jsxs)(a.xA9,{item:!0,xs:12,className:"inputItem",children:[m&&(0,x.jsx)(a.z21,{}),h.length>0?(0,x.jsxs)(n.Fragment,{children:[(0,x.jsx)(a.xA9,{item:!0,xs:12,className:"inputItem",children:(0,x.jsx)(o.A,{placeholder:"Start typing to search for a Policy",onChange:e=>{g(e)},value:y,label:s?"":"Assign Policies"})}),(0,x.jsx)(a.bQt,{columns:[{label:"Policy",elementKey:"name"}],onSelect:e=>{const s=e.target,n=s.value,a=s.checked;let r=[...A];a?r.push(n):r=r.filter(e=>e!==n),r=r.filter(e=>""!==e),t((0,l.Gy)(r))},selectedItems:A,isLoading:m,records:f,entityName:"Policies",idField:"name",customPaperHeight:"200px"})]}):(0,x.jsx)(a.azJ,{sx:{textAlign:"center",padding:"10px 0"},children:"No Policies Available"})]})}},77958:(e,s,t)=>{t.r(s),t.d(s,{default:()=>u});var n=t(9950),a=t(49534),r=t(89132),o=t(49078),i=t(99491),c=t(70444),l=t(48965),d=t(44414);const u=e=>{let{closeDeleteModalAndRefresh:s,deleteOpen:t,selectedServiceAccount:u}=e;const x=(0,i.jL)(),[h,p]=(0,n.useState)(!1);if(!u)return null;return(0,d.jsx)(a.A,{title:"Delete Access Key",confirmText:"Delete",isOpen:t,titleIcon:(0,d.jsx)(r.xWY,{}),isLoading:h,onConfirm:()=>{p(!0),c.F.serviceAccounts.deleteServiceAccount(u).then(e=>{s(!0)}).catch(async e=>{const t=await e.json();x((0,o.C9)((0,l.S)(t))),s(!1)}).finally(()=>p(!1))},onClose:()=>s(!1),confirmationContent:(0,d.jsxs)(n.Fragment,{children:["Are you sure you want to delete Access Key"," ",(0,d.jsx)("b",{style:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"},children:u}),"?"]})})}},82646:(e,s,t)=>{t.r(s),t.d(s,{default:()=>h});var n=t(9950),a=t(28429),r=t(49078),o=t(89132),i=t(93598),c=t(49534),l=t(99491),d=t(70444),u=t(48965),x=t(44414);const h=e=>{let{closeDeleteModalAndRefresh:s,deleteOpen:t,selectedUsers:h}=e;const p=(0,a.Zp)(),m=(0,l.jL)(),j=()=>s(!1),[y,g]=(0,n.useState)(!0),[A,b]=(0,n.useState)(!1),[f,S]=(0,n.useState)([]),[v,C]=(0,n.useState)(!1),_=localStorage.getItem("userLoggedIn")||"";if((0,n.useEffect)(()=>{h&&d.F.users.checkUserServiceAccounts(h).then(e=>{var s;e.data&&(S(null!==(s=e.data.userServiceAccountList)&&void 0!==s?s:[]),e.data.hasSA&&b(!0))}).catch(e=>m((0,r.C9)((0,u.S)(e.error)))).finally(()=>g(!1))},[h,m]),!h)return null;const E=h.map(e=>(0,x.jsx)("div",{children:(0,x.jsx)("b",{children:e})},e)),U=[{type:"view",onClick:e=>{p("".concat(i.zZ.USERS,"/").concat(encodeURIComponent(e.userName))),j()}}],w="Are you sure you want to delete the following "+h.length+" user"+(h.length>1?"s?":"?");return(0,x.jsx)(c.A,{title:"Delete User".concat(h.length>1?"s":""),confirmText:"Delete",isOpen:t,titleIcon:(0,x.jsx)(o.xWY,{}),isLoading:v,onConfirm:()=>{for(let e of h)e===_?(m((0,r.C9)({errorMessage:"Cannot delete currently logged in user",detailedError:"Cannot delete currently logged in user ".concat(_)})),s(!0)):d.F.user.removeUser(e).then(e=>{s(!0),p("".concat(i.zZ.USERS))}).finally(()=>C(!1))},onClose:j,confirmationContent:y?(0,x.jsx)(o.aHM,{}):(0,x.jsx)(n.Fragment,{children:A?(0,x.jsxs)(n.Fragment,{children:[(0,x.jsx)(o.Wei,{variant:"warning",message:(0,x.jsxs)(n.Fragment,{children:["Click on a user to view the full listing of associated Access Keys. All Access Keys associated with a user will be deleted along with the user.",(0,x.jsx)("br",{}),(0,x.jsx)("br",{}),(0,x.jsx)("strong",{children:"Are you sure you want to continue?"})]}),title:"Warning: One or more users selected has associated Access Keys.",sx:{margin:"15px 0"}}),(0,x.jsx)(o.bQt,{itemActions:U,columns:[{label:"Username",elementKey:"userName"},{label:"# Associated Access Keys",elementKey:"numSAs"}],isLoading:y,records:f,entityName:"User Access Keys",idField:"userName",customPaperHeight:"250"})]}):(0,x.jsxs)(n.Fragment,{children:[w,E]})})})}},84274:(e,s,t)=>{t.r(s),t.d(s,{default:()=>se});var n=t(9950),a=t(28429),r=t(20171),o=t(89132),i=t(20416),c=t(45246),l=t(93598),d=t(2586),u=t(27428),x=t(55604),h=t(26843),p=t(49078),m=t(99491),j=t(30272),y=t(82817),g=t(98167),A=t(44414);const b=(0,x.A)(n.lazy(()=>Promise.resolve().then(t.bind(t,82646)))),f=(0,x.A)(n.lazy(()=>t.e(5465).then(t.bind(t,45465)))),S=()=>{const e=(0,m.jL)(),s=(0,a.Zp)(),[t,r]=(0,n.useState)([]),[x,S]=(0,n.useState)(!0),[v,C]=(0,n.useState)(!1),[_,E]=(0,n.useState)(!1),[U,w]=(0,n.useState)(""),[I,O]=(0,n.useState)([]),R=(0,h._)(l.Ms,l.x6),M=(0,h._)(l.Ms,l.Ld),K=(0,h._)(l.Ms,l.BD),D=(0,h._)(l.Ms,l.Dg);(0,n.useEffect)(()=>{x&&(R?d.A.invoke("GET","/api/v1/users").then(e=>{const s=null===e.users?[]:e.users;S(!1),r(s.sort(i.LA))}).catch(s=>{S(!1),e((0,p.C9)(s))}):S(!1))},[x,e,R]);const k=t.filter(e=>e.accessKey.includes(U)),P=e=>{s("".concat(l.zZ.USERS,"/").concat(encodeURIComponent(e.accessKey)))},z=[{type:"view",onClick:P,disableButtonFunction:()=>!M},{type:"edit",onClick:P,disableButtonFunction:()=>!M}];return(0,n.useEffect)(()=>{e((0,p.ph)("list_users"))},[]),(0,A.jsxs)(n.Fragment,{children:[v&&(0,A.jsx)(b,{deleteOpen:v,selectedUsers:I,closeDeleteModalAndRefresh:e=>{(e=>{C(!1),e&&(S(!0),O([]))})(e)}}),_&&(0,A.jsx)(f,{open:_,checkedUsers:I,closeModalAndRefresh:e=>{!function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];E(!1),e&&O([])}(e)}}),(0,A.jsx)(y.A,{label:"Users",actions:(0,A.jsx)(g.A,{})}),(0,A.jsx)(o.Mxu,{children:(0,A.jsxs)(o.xA9,{container:!0,children:[(0,A.jsxs)(o.xA9,{item:!0,xs:12,sx:c._0.actionsTray,children:[(0,A.jsx)(u.A,{placeholder:"Search Users",onChange:w,value:U,sx:{marginRight:"auto",maxWidth:380}}),(0,A.jsx)(h.R,{resource:l.Ms,scopes:[l.OV.ADMIN_DELETE_USER],matchAll:!0,errorProps:{disabled:!0},children:(0,A.jsx)(j.A,{tooltip:(0,h._)("console",[l.OV.ADMIN_DELETE_USER])?0===I.length?"Select Users to delete":"Delete Selected":(0,l.vj)([l.OV.ADMIN_DELETE_USER],"delete users"),children:(0,A.jsx)(o.$nd,{id:"delete-selected-users",onClick:()=>{C(!0)},label:"Delete Selected",icon:(0,A.jsx)(o.d7y,{}),disabled:0===I.length,variant:"secondary","aria-label":"delete-selected-users"})})}),(0,A.jsx)(h.R,{scopes:[l.OV.ADMIN_ADD_USER_TO_GROUP],resource:l.Ms,errorProps:{disabled:!0},children:(0,A.jsx)(j.A,{tooltip:(0,h._)("console",[l.OV.ADMIN_ADD_USER_TO_GROUP])?0===I.length?"Select Users to group":"Add to Group":(0,l.vj)([l.OV.ADMIN_ADD_USER_TO_GROUP],"add users to groups"),children:(0,A.jsx)(o.$nd,{id:"add-to-group",label:"Add to Group",icon:(0,A.jsx)(o.YXz,{}),disabled:I.length<=0,onClick:()=>{I.length>0&&E(!0)},variant:"regular"})})}),(0,A.jsx)(h.R,{scopes:[l.OV.ADMIN_CREATE_USER,l.OV.ADMIN_LIST_USER_POLICIES,l.OV.ADMIN_LIST_GROUPS],resource:l.HD,matchAll:!0,errorProps:{disabled:!0},children:(0,A.jsx)(j.A,{tooltip:(0,h._)("console-ui",[l.OV.ADMIN_CREATE_USER,l.OV.ADMIN_LIST_USER_POLICIES,l.OV.ADMIN_LIST_GROUPS,l.OV.ADMIN_ATTACH_USER_OR_GROUP_POLICY],!0)?"Create User":(0,l.vj)([l.OV.ADMIN_CREATE_USER,l.OV.ADMIN_LIST_USER_POLICIES,l.OV.ADMIN_LIST_GROUPS,l.OV.ADMIN_ATTACH_USER_OR_GROUP_POLICY],"create users"),children:(0,A.jsx)(o.$nd,{id:"create-user",label:"Create User",icon:(0,A.jsx)(o.REV,{}),onClick:()=>{s("".concat(l.zZ.USER_ADD))},variant:"callAction",disabled:!(0,h._)("console-ui",[l.OV.ADMIN_CREATE_USER,l.OV.ADMIN_LIST_USER_POLICIES,l.OV.ADMIN_LIST_GROUPS,l.OV.ADMIN_ATTACH_USER_OR_GROUP_POLICY],!0)})})})]}),x&&(0,A.jsx)(o.z21,{}),!x&&(0,A.jsxs)(n.Fragment,{children:[t.length>0&&(0,A.jsxs)(n.Fragment,{children:[(0,A.jsx)(o.xA9,{item:!0,xs:12,sx:{marginBottom:15},children:(0,A.jsx)(h.R,{scopes:[l.OV.ADMIN_LIST_USERS],resource:l.Ms,errorProps:{disabled:!0},children:(0,A.jsx)(o.bQt,{itemActions:z,columns:[{label:"Access Key",elementKey:"accessKey"}],onSelect:K||D?e=>{const{target:{value:s="",checked:t=!1}={}}=e;let n=[...I];return t?n.push(s):n=n.filter(e=>e!==s),O(n),n}:void 0,selectedItems:I,isLoading:x,records:k,entityName:"Users",idField:"accessKey"})})}),(0,A.jsx)(o.lVp,{title:"Users",iconComponent:(0,A.jsx)(o.c2u,{}),help:(0,A.jsxs)(n.Fragment,{children:["A MinIO user consists of a unique access key (username) and corresponding secret key (password). Clients must authenticate their identity by specifying both a valid access key (username) and the corresponding secret key (password) of an existing MinIO user.",(0,A.jsx)("br",{}),"Groups provide a simplified method for managing shared permissions among users with common access patterns and workloads.",(0,A.jsx)("br",{}),(0,A.jsx)("br",{}),"Users inherit access permissions to data and resources through the groups they belong to.",(0,A.jsx)("br",{}),"MinIO uses Policy-Based Access Control (PBAC) to define the authorized actions and resources to which an authenticated user has access. Each policy describes one or more actions and conditions that outline the permissions of a user or group of users.",(0,A.jsx)("br",{}),(0,A.jsx)("br",{}),"Each user can access only those resources and operations which are explicitly granted by the built-in role. MinIO denies access to any other resource or action by default.",(0,A.jsx)("br",{}),(0,A.jsx)("br",{}),"You can learn more at our"," ",(0,A.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/minio-user-management.html",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})]}),0===t.length&&(0,A.jsx)(o.xA9,{container:!0,children:(0,A.jsx)(o.xA9,{item:!0,xs:8,children:(0,A.jsx)(o.lVp,{title:"Users",iconComponent:(0,A.jsx)(o.c2u,{}),help:(0,A.jsxs)(n.Fragment,{children:["A MinIO user consists of a unique access key (username) and corresponding secret key (password). Clients must authenticate their identity by specifying both a valid access key (username) and the corresponding secret key (password) of an existing MinIO user.",(0,A.jsx)("br",{}),"Groups provide a simplified method for managing shared permissions among users with common access patterns and workloads.",(0,A.jsx)("br",{}),(0,A.jsx)("br",{}),"Users inherit access permissions to data and resources through the groups they belong to.",(0,A.jsx)("br",{}),"MinIO uses Policy-Based Access Control (PBAC) to define the authorized actions and resources to which an authenticated user has access. Each policy describes one or more actions and conditions that outline the permissions of a user or group of users.",(0,A.jsx)("br",{}),(0,A.jsx)("br",{}),"Each user can access only those resources and operations which are explicitly granted by the built-in role. MinIO denies access to any other resource or action by default.",(0,A.jsxs)(h.R,{scopes:[l.OV.ADMIN_CREATE_USER,l.OV.ADMIN_LIST_USER_POLICIES,l.OV.ADMIN_LIST_GROUPS],matchAll:!0,resource:l.Ms,children:[(0,A.jsx)("br",{}),(0,A.jsx)("br",{}),"To get started,"," ",(0,A.jsx)(o.t53,{onClick:()=>{s("".concat(l.zZ.USER_ADD))},children:"Create a User"}),"."]})]})})})})]})]})})]})};var v=t(5134),C=t(32680);const _=e=>{let{closeModalAndRefresh:s,selectedUser:t,open:a}=e;const r=(0,m.jL)(),[i,l]=(0,n.useState)(!1),[u,x]=(0,n.useState)(""),[h,j]=(0,n.useState)(""),[y,g]=(0,n.useState)(!1),[b,f]=(0,n.useState)([]),S=(0,n.useCallback)(()=>{if(!t)return null;d.A.invoke("GET","/api/v1/user/".concat(encodeURIComponent(t))).then(e=>{l(!1),x(e.accessKey),f(e.memberOf||[]),g("enabled"===e.status)}).catch(e=>{l(!1),r((0,p.Dy)(e))})},[t,r]);(0,n.useEffect)(()=>{null===t?(x(""),j(""),f([])):S()},[t,S]);const _=""!==u.trim()&&(""!==h.trim()&&null===t||null!==t);return(0,A.jsx)(C.A,{onClose:()=>{s()},modalOpen:a,title:"Set Groups",titleIcon:(0,A.jsx)(o.WC,{}),children:(0,A.jsx)(n.Fragment,{children:(0,A.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),i||(l(!0),null!==t?d.A.invoke("PUT","/api/v1/user/".concat(encodeURIComponent(t)),{status:y?"enabled":"disabled",groups:b}).then(e=>{l(!1),s()}).catch(e=>{l(!1),r((0,p.Dy)(e))}):d.A.invoke("POST","/api/v1/users",{accessKey:u,secretKey:h,groups:b}).then(e=>{l(!1),s()}).catch(e=>{l(!1),r((0,p.Dy)(e))}))},children:[(0,A.jsx)(o.Hbc,{withBorders:!1,containerPadding:!1,children:(0,A.jsx)(v.A,{selectedGroups:b,setSelectedGroups:e=>{f(e)}})}),(0,A.jsxs)(o.azJ,{sx:c.Uz.modalButtonBar,children:[(0,A.jsx)(o.$nd,{id:"clear-change-user-groups",type:"button",variant:"regular",onClick:()=>{null===t?(x(""),j(""),f([])):f([])},label:"Clear"}),(0,A.jsx)(o.$nd,{id:"save-user-groups",type:"submit",variant:"callAction",disabled:i||!_,label:"Save"})]}),i&&(0,A.jsx)(o.xA9,{item:!0,xs:12,children:(0,A.jsx)(o.z21,{})})]})})})};var E=t(98341),U=t(5887),w=t(40038);const I=e=>{let{closeModalAndRefresh:s,selectedUser:t,currentPolicies:a,open:r}=e;const i=(0,m.jL)(),[l,u]=(0,n.useState)(!1),[x,h]=(0,n.useState)([]),j=(0,E.d4)(e=>e.createUser.selectedPolicies);return(0,n.useEffect)(()=>{if(r){const e=a.map(e=>e.policy);h(e),i((0,U.Gy)(e))}},[r,t]),(0,A.jsxs)(C.A,{onClose:()=>{s()},modalOpen:r,title:"Set Policies",titleIcon:(0,A.jsx)(o.n$X,{}),children:[(0,A.jsx)(o.Hbc,{withBorders:!1,containerPadding:!1,children:(0,A.jsx)(w.A,{selectedPolicy:j})}),(0,A.jsxs)(o.azJ,{sx:c.Uz.modalButtonBar,children:[(0,A.jsx)(o.$nd,{id:"reset-user-policies",type:"button",variant:"regular",color:"primary",onClick:()=>{i((0,U.Gy)(x))},label:"Reset"}),(0,A.jsx)(o.$nd,{id:"save-user-policy",type:"button",variant:"callAction",color:"primary",disabled:l,onClick:()=>{let e=t;u(!0),d.A.invoke("PUT","/api/v1/set-policy",{name:j,entityName:e,entityType:"user"}).then(()=>{u(!1),i((0,U.Gy)([])),s()}).catch(e=>{u(!1),i((0,p.Dy)(e))})},label:"Save"})]}),l&&(0,A.jsx)(o.xA9,{item:!0,xs:12,children:(0,A.jsx)(o.z21,{})})]})};var O=t(77958),R=t(23701),M=t(43878),K=t(7174),D=t(85743),k=t(42677);const P=e=>{let{user:s,hasPolicy:t}=e;const r=(0,m.jL)(),c=(0,a.Zp)(),[u,x]=(0,n.useState)([]),[y,g]=(0,n.useState)(!1),[b,f]=(0,n.useState)(!1),[S,v]=(0,n.useState)(null),[C,_]=(0,n.useState)(!1),[E,U]=(0,n.useState)(null),[w,I]=(0,n.useState)([]),[P,z]=(0,n.useState)(!1),[N,T]=(0,n.useState)(!1);(0,n.useEffect)(()=>{L()},[]),(0,n.useEffect)(()=>{y&&d.A.invoke("GET","/api/v1/user/".concat(encodeURIComponent(s),"/service-accounts")).then(e=>{g(!1);const s=e.sort(i.LA);x(s)}).catch(e=>{r((0,p.C9)(e)),g(!1)})},[y,g,x,s,r]);const L=()=>{g(!0)},F=e=>{v(e),T(!0)},G=[{type:"view",onClick:e=>{e&&F(e.accessKey)}},{type:"delete",onClick:e=>{e&&(e=>{v(e),f(!0)})(e.accessKey)}},{type:"edit",onClick:e=>{e&&F(e.accessKey)}}];return(0,n.useEffect)(()=>{r((0,p.ph)("user_details_accounts"))},[]),(0,A.jsxs)(n.Fragment,{children:[b&&(0,A.jsx)(O.default,{deleteOpen:b,selectedServiceAccount:S,closeDeleteModalAndRefresh:e=>{(e=>{f(!1),e&&L()})(e)}}),P&&(0,A.jsx)(M.A,{deleteOpen:P,selectedSAs:w,closeDeleteModalAndRefresh:e=>{z(!1),e&&(r((0,p.Hk)("Access Keys deleted successfully.")),I([]),g(!0))}}),C&&(0,A.jsx)(R.A,{newServiceAccount:E,open:C,closeModal:()=>{_(!1),U(null)},entity:"Access Key"}),N&&(0,A.jsx)(D.A,{open:N,selectedAccessKey:S,closeModalAndRefresh:()=>{T(!1),g(!0)}}),(0,A.jsx)(o._xt,{separator:!0,sx:{marginBottom:15},actions:(0,A.jsxs)(o.azJ,{sx:{display:"flex",justifyContent:"flex-end",gap:10},children:[(0,A.jsx)(j.A,{tooltip:"Delete Selected",children:(0,A.jsx)(o.$nd,{id:"delete-selected",onClick:()=>{z(!0)},label:"Delete Selected",icon:(0,A.jsx)(o.d7y,{}),disabled:0===w.length,variant:"secondary"})}),(0,A.jsx)(h.R,{scopes:[l.OV.ADMIN_CREATE_SERVICEACCOUNT,l.OV.ADMIN_UPDATE_SERVICEACCOUNT,l.OV.ADMIN_REMOVE_SERVICEACCOUNT,l.OV.ADMIN_LIST_SERVICEACCOUNTS],resource:l.Ms,matchAll:!0,errorProps:{disabled:!0},children:(0,A.jsx)(j.A,{tooltip:"Create Access Key",children:(0,A.jsx)(o.$nd,{id:"create-service-account",label:"Create Access Key",variant:"callAction",icon:(0,A.jsx)(o.REV,{}),onClick:()=>{c("/identity/users/new-user-sa/".concat(encodeURIComponent(s)))},disabled:!t})})})]}),children:"Access Keys"}),(0,A.jsx)(o.bQt,{itemActions:G,entityName:"Access Keys",columns:k.X,onSelect:e=>(0,K.Qm)(e,I,w),selectedItems:w,isLoading:y,records:u,idField:"accessKey"})]})};var z=t(70444),N=t(48965);const T=e=>{let{open:s,userName:t,closeModal:a}=e;const r=(0,m.jL)(),[i,l]=(0,n.useState)(""),[d,u]=(0,n.useState)(""),[x,h]=(0,n.useState)(!1);return s?(0,A.jsx)(C.A,{title:"Change User Password",modalOpen:s,onClose:()=>{l(""),u(""),a()},titleIcon:(0,A.jsx)(o.Fwq,{}),children:(0,A.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{(e=>{if(e.preventDefault(),x)return;if(h(!0),i.length<8)return r((0,p.Dy)({errorMessage:"Passwords must be at least 8 characters long",detailedError:""})),void h(!1);let s={selectedUser:t,newSecretKey:i};z.F.account.changeUserPassword(s).then(e=>{h(!1),l(""),u(""),r((0,p.Hk)("Successfully updated the password for the user ".concat(t,"."))),a()}).catch(async e=>{h(!1),l(""),u("");const s=await e.json();r((0,p.C9)((0,N.S)(s)))})})(e)},children:(0,A.jsxs)(o.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,A.jsxs)(o.azJ,{sx:{margin:"10px 0 20px"},children:["Change password for: ",(0,A.jsx)("strong",{children:t})]}),(0,A.jsx)(o.cl_,{id:"new-password",name:"new-password",onChange:e=>{l(e.target.value)},label:"New Password",type:"password",value:i}),(0,A.jsx)(o.cl_,{id:"re-new-password",name:"re-new-password",onChange:e=>{u(e.target.value)},label:"Type New Password Again",type:"password",value:d}),(0,A.jsx)(o.azJ,{sx:c.Uz.modalButtonBar,children:(0,A.jsx)(o.$nd,{id:"save-user-password",type:"submit",variant:"callAction",color:"primary",disabled:x||!(d.length>0&&i===d),label:"Save"})}),x&&(0,A.jsx)(o.azJ,{children:(0,A.jsx)(o.z21,{})})]})})}):null};var L=t(82646);const F=()=>{const e=(0,m.jL)(),s=(0,a.g)(),t=(0,a.Zp)(),[r,c]=(0,n.useState)(!1),[u,x]=(0,n.useState)(!1),[b,f]=(0,n.useState)(!1),[S,v]=(0,n.useState)(!1),[C,E]=(0,n.useState)(!1),[U,w]=(0,n.useState)([]),[O,R]=(0,n.useState)([]),[M,K]=(0,n.useState)([]),[D,k]=(0,n.useState)(!1),[z,N]=(0,n.useState)(!1),[F,G]=(0,n.useState)(!1),[J,B]=(0,n.useState)("groups"),V=(0,h._)(l.Ms,l.Ho)&&!C,$=(0,h._)(l.Ms,l.m0)&&C,H=s.userName||"",Y=localStorage.getItem("userLoggedIn")||"",Z=(0,h._)(l.Ms,l.$X,!0),W=(0,h._)(l.Ms,l.Lb,!0),Q=(0,h._)(l.Ms,l.Oh),q=(0,n.useCallback)(()=>{if(""===H)return null;c(!0),d.A.invoke("GET","/api/v1/user/".concat(encodeURIComponent(H))).then(e=>{v(!1);const s=e.memberOf||[];w(s);const t=s.map(e=>({group:e}));R(t);const n=e.policy.map(e=>({policy:e}));n.sort(i.rY),K(n),E("enabled"===e.status),G(e.hasPolicy),c(!1)}).catch(s=>{v(!1),c(!1),e((0,p.Dy)(s))})},[H,e]);(0,n.useEffect)(()=>{e((0,p.ph)("user_details_groups"))},[]),(0,n.useEffect)(()=>{q()},[q]);const X=[{type:"view",onClick:e=>{t("".concat(l.zZ.GROUPS,"/").concat(encodeURIComponent(e.group)))},disableButtonFunction:()=>!Q}];return(0,A.jsxs)(n.Fragment,{children:[u&&(0,A.jsx)(_,{open:u,selectedUser:H,closeModalAndRefresh:()=>{x(!1),q()}}),b&&(0,A.jsx)(I,{open:b,selectedUser:H,currentPolicies:M,closeModalAndRefresh:()=>{f(!1),q()}}),z&&(0,A.jsx)(L.default,{deleteOpen:z,selectedUsers:[H],closeDeleteModalAndRefresh:e=>{(e=>{N(!1),e&&q()})(e)}}),D&&(0,A.jsx)(T,{open:D,userName:H,closeModal:()=>k(!1)}),(0,A.jsx)(y.A,{label:(0,A.jsx)(n.Fragment,{children:(0,A.jsx)(o.EGL,{label:"Users",onClick:()=>t(l.zZ.USERS)})}),actions:(0,A.jsx)(g.A,{})}),(0,A.jsx)(o.Mxu,{children:(0,A.jsxs)(o.xA9,{container:!0,children:[(0,A.jsx)(o.xA9,{item:!0,xs:12,children:(0,A.jsx)(o.lcx,{icon:(0,A.jsx)(o.c2u,{width:40}),title:H,subTitle:"",actions:(0,A.jsxs)(n.Fragment,{children:[(0,A.jsx)("span",{style:{fontSize:".8rem",marginRight:".5rem"},children:"User Status:"}),(0,A.jsx)("span",{style:{fontWeight:"bold",fontSize:".9rem",marginRight:".5rem"},children:C?"Enabled":"Disabled"}),(0,A.jsx)(j.A,{tooltip:V||$?"":(0,h._)(l.Ms,l.Ho)?(0,l.vj)(l.m0,"disable users"):(0,h._)(l.Ms,l.m0)?(0,l.vj)(l.Ho,"enable users"):(0,l.vj)(l.ni,"enable or disable users"),children:(0,A.jsx)(o.dOG,{indicatorLabels:["Enabled","Disabled"],checked:C,value:"group_enabled",id:"group-status",name:"group-status",onChange:()=>{var s;E(!C),s=!C,S||(v(!0),d.A.invoke("PUT","/api/v1/user/".concat(encodeURIComponent(H)),{status:s?"enabled":"disabled",groups:U}).then(e=>{v(!1)}).catch(s=>{v(!1),e((0,p.Dy)(s))}))},switchOnly:!0,disabled:!V&&!$})}),(0,A.jsx)(j.A,{tooltip:(0,h._)(l.Ms,l.Dg)?Y===H?"You cannot delete the currently logged in User":"Delete User":(0,l.vj)(l.Dg,"delete user"),children:(0,A.jsx)(o.$nd,{id:"delete-user",onClick:()=>{N(!0)},icon:(0,A.jsx)(o.ucK,{}),variant:"secondary",disabled:!(0,h._)(l.Ms,l.Dg)||Y===H})}),(0,A.jsx)(j.A,{tooltip:"Change Password",children:(0,A.jsx)(o.$nd,{id:"change-user-password",onClick:()=>{k(!0)},icon:(0,A.jsx)(o.aJN,{}),variant:"regular",disabled:Y===H})})]}),sx:{marginBottom:15}})}),(0,A.jsx)(o.xA9,{item:!0,xs:12,children:(0,A.jsx)(o.tUM,{currentTabOrPath:J,onTabClick:B,options:[{tabConfig:{id:"groups",label:"Groups",disabled:!W},content:(0,A.jsxs)(n.Fragment,{children:[(0,A.jsx)(o.azJ,{onMouseMove:()=>e((0,p.ph)("user_details_groups")),children:(0,A.jsx)(o._xt,{separator:!0,sx:{marginBottom:15},actions:(0,A.jsx)(j.A,{tooltip:W?"Assign groups":(0,l.vj)(l.Lb,"add users to groups"),children:(0,A.jsx)(o.$nd,{id:"add-groups",label:"Add to Groups",onClick:()=>{x(!0)},icon:(0,A.jsx)(o.REV,{}),variant:"callAction",disabled:!W})}),children:"Groups"})}),(0,A.jsx)(o.xA9,{item:!0,xs:12,onMouseMove:()=>e((0,p.ph)("user_details_groups")),children:(0,A.jsx)(o.bQt,{itemActions:X,columns:[{label:"Name",elementKey:"group"}],isLoading:r,records:O,entityName:"Groups",idField:"group"})})]})},{tabConfig:{id:"service_accounts",label:"Service Accounts",disabled:!(0,h._)(l.Ms,l.xw)},content:(0,A.jsx)(P,{user:H,hasPolicy:F})},{tabConfig:{id:"policies",label:"Policies",disabled:!Z},content:(0,A.jsxs)(n.Fragment,{children:[(0,A.jsx)(o.azJ,{onMouseMove:()=>e((0,p.ph)("user_details_policies")),children:(0,A.jsx)(o._xt,{separator:!0,sx:{marginBottom:15},actions:(0,A.jsx)(j.A,{tooltip:Z?"Assign Policies":(0,l.vj)(l.$X,"assign policies"),children:(0,A.jsx)(o.$nd,{id:"assign-policies",label:"Assign Policies",onClick:()=>{f(!0)},icon:(0,A.jsx)(o.n$X,{}),variant:"callAction",disabled:!Z})}),children:"Policies"})}),(0,A.jsx)(o.azJ,{children:(0,A.jsx)(o.bQt,{itemActions:[{type:"view",onClick:e=>{t("".concat(l.zZ.POLICIES,"/").concat(encodeURIComponent(e.policy)))}}],columns:[{label:"Name",elementKey:"policy"}],isLoading:r,records:M,entityName:"Policies",idField:"policy"})})]})}]})})]})})]})};var G=t(31628);const J=e=>{let{icon:s,description:t}=e;return(0,A.jsxs)(o.azJ,{sx:{display:"flex","& .min-icon":{marginRight:"10px",height:"23px",width:"23px",marginBottom:"10px"}},children:[s," ",(0,A.jsx)("div",{style:{fontSize:"14px",fontStyle:"italic",color:"#5E5E5E"},children:t})]})},B=()=>(0,A.jsxs)(o.azJ,{sx:{flex:1,border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"20px",marginTop:0},children:[(0,A.jsxs)(o.azJ,{sx:{fontSize:"16px",fontWeight:600,display:"flex",alignItems:"center",marginBottom:"16px","& .min-icon":{height:"21px",width:"21px",marginRight:"15px"}},children:[(0,A.jsx)(o.nag,{}),(0,A.jsx)("div",{children:"Learn more about the Users feature"})]}),(0,A.jsxs)(o.azJ,{sx:{fontSize:"14px",marginBottom:"15px"},children:["A MinIO user consists of a unique access key (username) and corresponding secret key (password). Clients must authenticate their identity by specifying both a valid access key (username) and the corresponding secret key (password) of an existing MinIO user.",(0,A.jsx)("br",{}),(0,A.jsx)("br",{}),"Each user can have one or more assigned policies that explicitly list the actions and resources to which that user has access. Users can also inherit policies from the groups in which they have membership.",(0,A.jsx)("br",{})]}),(0,A.jsxs)(o.azJ,{sx:{display:"flex",flexFlow:"column"},children:[(0,A.jsx)(J,{icon:(0,A.jsx)(o.c2u,{}),description:"Create Users"}),(0,A.jsx)(J,{icon:(0,A.jsx)(o.YXz,{}),description:"Manage Groups"}),(0,A.jsx)(J,{icon:(0,A.jsx)(o.uYH,{}),description:"Assign Policies"})]})]}),V=()=>{const e=(0,m.jL)(),s=(0,E.d4)(e=>e.createUser.userName);return(0,A.jsx)(o.cl_,{id:"accesskey-input",name:"accesskey-input",label:"User Name",value:s,autoFocus:!0,onChange:s=>{e((0,U.ht)(s.target.value))}})},$=()=>{const e=(0,m.jL)(),s=(0,E.d4)(e=>e.createUser.secretKey);return(0,A.jsx)(o.cl_,{id:"standard-multiline-static",name:"standard-multiline-static",type:"password",label:"Password",value:s,onChange:s=>{e((0,U.ir)(s.target.value))},autoComplete:"current-password"})},H=()=>{const e=(0,m.jL)(),s=(0,E.d4)(e=>e.createUser.selectedPolicies),t=(0,E.d4)(e=>e.createUser.selectedGroups),r=(0,E.d4)(e=>e.createUser.addLoading),i=(0,E.d4)(e=>e.createUser.sendEnabled),d=(0,E.d4)(e=>e.createUser.secretKeylength),u=(0,a.Zp)();e((0,U.yt)());return(0,n.useEffect)(()=>{e((0,p.ph)("add_user"))},[]),(0,A.jsx)(n.Fragment,{children:(0,A.jsxs)(o.xA9,{item:!0,xs:12,children:[(0,A.jsx)(y.A,{label:(0,A.jsx)(o.EGL,{label:"Users",onClick:()=>u(l.zZ.USERS)}),actions:(0,A.jsx)(g.A,{})}),(0,A.jsx)(o.Mxu,{children:(0,A.jsx)(o.Hbc,{title:"Create User",icon:(0,A.jsx)(o.R$W,{}),helpBox:(0,A.jsx)(B,{}),children:(0,A.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:s=>{(s=>{if(s.preventDefault(),d<8)return e((0,p.C9)({errorMessage:"Passwords must be at least 8 characters long",detailedError:""})),void e((0,U.AE)(!1));r||(e((0,U.AE)(!0)),e((0,G.y)()).unwrap().then(()=>u("".concat(l.zZ.USERS))))})(s)},children:[(0,A.jsx)(V,{}),(0,A.jsx)($,{}),(0,A.jsx)(w.A,{selectedPolicy:s}),(0,A.jsx)(v.A,{selectedGroups:t,setSelectedGroups:s=>{e((0,U.yD)(s))}}),r&&(0,A.jsx)(o.xA9,{item:!0,xs:12,children:(0,A.jsx)(o.z21,{})}),(0,A.jsxs)(o.xA9,{item:!0,xs:12,sx:c.Uz.modalButtonBar,children:[(0,A.jsx)(o.$nd,{id:"clear-add-user",type:"button",variant:"regular",onClick:s=>{e((0,G.o)())},label:"Clear"}),(0,A.jsx)(o.$nd,{id:"save-user",type:"submit",variant:"callAction",color:"primary",disabled:r||!i,label:"Save"})]})]})})})]})})};var Y=t(89379),Z=t(59908),W=t(94797);const Q=e=>{let{icon:s,description:t}=e;return(0,A.jsxs)(o.azJ,{sx:{display:"flex","& .min-icon":{marginRight:"10px",height:"23px",width:"23px",marginBottom:"10px"}},children:[s," ",(0,A.jsx)("div",{style:{fontSize:"14px",fontStyle:"italic",color:"#5E5E5E"},children:t})]})},q=()=>(0,A.jsxs)(o.azJ,{sx:{flex:1,border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"20px",marginTop:0},children:[(0,A.jsxs)(o.azJ,{sx:{fontSize:"16px",fontWeight:600,display:"flex",alignItems:"center",marginBottom:"16px",paddingBottom:"20px","& .min-icon":{height:"21px",width:"21px",marginRight:"15px"}},children:[(0,A.jsx)(o.nag,{}),(0,A.jsx)("div",{children:"Learn more about Access Keys"})]}),(0,A.jsxs)(o.azJ,{sx:{fontSize:"14px",marginBottom:"15px"},children:[(0,A.jsxs)(o.azJ,{sx:{paddingBottom:"20px"},children:[(0,A.jsx)(Q,{icon:(0,A.jsx)(o.ehx,{}),description:"Create Access Keys"}),(0,A.jsx)(o.azJ,{sx:{paddingTop:"20px"},children:"Access Keys inherit the policies explicitly attached to the parent user, and the policies attached to each group in which the parent user has membership."})]}),(0,A.jsxs)(o.azJ,{sx:{paddingBottom:"20px"},children:[(0,A.jsx)(Q,{icon:(0,A.jsx)(o.aJN,{}),description:"Assign Custom Credentials"}),(0,A.jsx)(o.azJ,{sx:{paddingTop:"10px"},children:"Randomized access credentials are recommended, and provided by default. You may use your own custom Access Key and Secret Key by replacing the default values. After creation of any Access Key, you will be given the opportunity to view and download the account credentials."}),(0,A.jsx)(o.azJ,{sx:{paddingTop:"10px"},children:"Access Keys support programmatic access by applications. You cannot use a Access Key to log into the MinIO Console."})]}),(0,A.jsxs)(o.azJ,{sx:{paddingBottom:"20px"},children:[(0,A.jsx)(Q,{icon:(0,A.jsx)(o.n$X,{}),description:"Assign Access Policies"}),(0,A.jsx)(o.azJ,{sx:{paddingTop:"10px"},children:"You can specify an optional JSON-formatted IAM policy to further restrict Access Key access to a subset of the actions and resources explicitly allowed for the parent user. Additional access beyond that of the parent user cannot be implemented through these policies."}),(0,A.jsx)(o.azJ,{sx:{paddingTop:"10px"},children:"You cannot modify the optional Access Key IAM policy after saving."})]})]}),(0,A.jsx)(o.azJ,{sx:{display:"flex",flexFlow:"column"}})]});var X=t(33312);const ee=()=>{const e=(0,m.jL)(),s=(0,a.g)(),t=(0,a.Zp)(),[r,i]=(0,n.useState)(!1),[u,x]=(0,n.useState)((0,Z.$f)(20)),[h,j]=(0,n.useState)((0,Z.$f)(40)),[b,f]=(0,n.useState)(!1),[S,v]=(0,n.useState)(null),[C,_]=(0,n.useState)(""),E=s.userName||"",[U,w]=(0,n.useState)(""),[I,O]=(0,n.useState)(""),[M,K]=(0,n.useState)(""),[D,k]=(0,n.useState)();(0,n.useEffect)(()=>{if(r){const s=D?D.toJSDate().toISOString():null;d.A.invoke("POST","/api/v1/user/".concat(encodeURIComponent(E),"/service-account-credentials"),{policy:C,accessKey:u,secretKey:h,description:I,comment:M,name:U,expiry:s}).then(e=>{i(!1),v({accessKey:e.accessKey||"",secretKey:e.secretKey||"",url:e.url||""})}).catch(s=>{i(!1),e((0,p.C9)(s))})}},[r,i,e,C,E,u,h,U,I,D,M]),(0,n.useEffect)(()=>{b&&d.A.invoke("GET","/api/v1/user/".concat(encodeURIComponent(E),"/policies")).then(e=>{_(JSON.stringify(JSON.parse(e.policy),null,4))}).catch(e=>{(0,p.C9)(e)})},[b,E]);return(0,n.useEffect)(()=>{e((0,p.ph)("add_user_SA"))},[]),(0,A.jsxs)(n.Fragment,{children:[S&&(0,A.jsx)(R.A,{newServiceAccount:S,open:!0,closeModal:()=>{v(null),t("".concat(l.zZ.USERS,"/").concat(encodeURIComponent(E)))},entity:"Access Key"}),(0,A.jsxs)(o.xA9,{item:!0,xs:12,children:[(0,A.jsx)(y.A,{label:(0,A.jsx)(o.EGL,{onClick:()=>t("".concat(l.zZ.USERS,"/").concat(encodeURIComponent(E))),label:"User Details - "+E}),actions:(0,A.jsx)(g.A,{})}),(0,A.jsx)(o.Mxu,{children:(0,A.jsx)(o.Hbc,{helpBox:(0,A.jsx)(q,{}),icon:(0,A.jsx)(o.kQt,{}),title:"Create Access Key for ".concat(E),children:(0,A.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),(e=>{e.preventDefault(),i(!0)})(e)},children:[(0,A.jsx)(o.cl_,{value:u,label:"Access Key",id:"accessKey",name:"accessKey",placeholder:"Enter Access Key",onChange:e=>{x(e.target.value)},startIcon:(0,A.jsx)(o.ehx,{})}),(0,A.jsx)(o.cl_,{value:h,label:"Secret Key",id:"secretKey",name:"secretKey",type:"password",placeholder:"Enter Secret Key",onChange:e=>{j(e.target.value)},startIcon:(0,A.jsx)(o.aJN,{})}),(0,A.jsx)(o.dOG,{value:"serviceAccountPolicy",id:"serviceAccountPolicy",name:"serviceAccountPolicy",checked:b,onChange:e=>{f(e.target.checked)},label:"Restrict beyond user policy",description:"You can specify an optional JSON-formatted IAM policy to further restrict Access Key access to a subset of the actions and resources explicitly allowed for the parent user. Additional access beyond that of the parent user cannot be implemented through these policies."}),b&&(0,A.jsxs)(o.xA9,{item:!0,xs:12,children:[(0,A.jsx)(o.azJ,{children:(0,A.jsx)(o.V7x,{content:(0,A.jsx)(n.Fragment,{children:(0,A.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/policy-based-access-control.html#policy-document-structure",children:"Guide to access policy structure"})}),placement:"right",children:(0,A.jsx)(X.A,{children:"Current User Policy - edit the JSON to remove permissions for this Access Key"})})}),(0,A.jsx)(o.xA9,{item:!0,xs:12,sx:(0,Y.A)({},c.Uz.formScrollable),children:(0,A.jsx)(W.A,{value:C,onChange:e=>{_(e)},editorHeight:"350px",helptip:(0,A.jsx)(n.Fragment,{children:(0,A.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/policy-based-access-control.html#policy-document-structure",children:"Guide to access policy structure"})})})})]}),(0,A.jsx)(o.azJ,{sx:{marginBottom:"15px",marginTop:"15px",width:"100%","& label":{width:"180px"}},children:(0,A.jsx)(o.e8j,{noLabelMinWidth:!0,value:D,onChange:e=>{k(e)},id:"expiryTime",label:"Expiry",timeFormat:"24h",secondsSelector:!1})}),(0,A.jsx)(o.cl_,{value:U,label:"Name",id:"name",name:"name",type:"text",placeholder:"Enter a name",onChange:e=>{w(e.target.value)}}),(0,A.jsx)(o.cl_,{value:I,label:"Description",id:"description",name:"description",type:"text",placeholder:"Enter a description",onChange:e=>{O(e.target.value)}}),(0,A.jsx)(o.cl_,{value:M,label:"Comments",id:"comment",name:"comment",type:"text",placeholder:"Enter a comment",onChange:e=>{K(e.target.value)}}),(0,A.jsxs)(o.xA9,{item:!0,xs:12,sx:(0,Y.A)({},c.Uz.modalButtonBar),children:[(0,A.jsx)(o.$nd,{id:"clear",type:"button",variant:"regular",onClick:()=>{v(null),x(""),j("")},label:"Clear"}),(0,A.jsx)(o.$nd,{id:"create-sa",type:"submit",variant:"callAction",color:"primary",label:"Create"})]})]})})})]})]})},se=()=>(0,A.jsxs)(a.BV,{children:[(0,A.jsx)(a.qh,{path:"add-user",element:(0,A.jsx)(H,{})}),(0,A.jsx)(a.qh,{path:":userName",element:(0,A.jsx)(F,{})}),(0,A.jsx)(a.qh,{path:"new-user-sa/:userName",element:(0,A.jsx)(ee,{})}),(0,A.jsx)(a.qh,{path:"/",element:(0,A.jsx)(S,{})}),(0,A.jsx)(a.qh,{element:(0,A.jsx)(r.A,{})})]})}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4388.f2cdce6f.chunk.js b/web-app/build/static/js/4388.f2cdce6f.chunk.js deleted file mode 100644 index 9fee37186e..0000000000 --- a/web-app/build/static/js/4388.f2cdce6f.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4388],{94388:(e,s,i)=>{i.r(s),i.d(s,{default:()=>C});var t=i(89379),n=i(9950),a=i(28429),r=i(89132),l=i(1531),c=i(93598),d=i(49078),o=i(99491),p=i(98341),x=i(86070),h=i(30272),u=i(44414);const f=e=>{let{rowData:s,rowId:i,onFieldChange:t,onAddClick:a,onRemoveClick:l,canAdd:c=!0,canRemove:d=!0,showRowActions:o=!0,disabledFields:p=[],fieldErrors:x={}}=e;const{endpoint:f="",accessKey:j="",secretKey:g="",name:m=""}=s;return(0,u.jsxs)(n.Fragment,{children:[(0,u.jsx)(r.azJ,{children:(0,u.jsx)(r.cl_,{id:"add-rep-peer-site-".concat(i),name:"add-rep-peer-site-".concat(i),placeholder:"site-name",label:"",readOnly:p.includes("name"),value:m,onChange:e=>{t(e,"name",i)},"data-test-id":"add-site-rep-peer-site-".concat(i)})}),(0,u.jsx)(r.azJ,{children:(0,u.jsx)(r.cl_,{id:"add-rep-peer-site-ep-".concat(i),name:"add-rep-peer-site-ep-".concat(i),placeholder:"https://dr.minio-storage:900".concat(i),label:"",readOnly:p.includes("endpoint"),error:x.endpoint,value:f,onChange:e=>{t(e,"endpoint",i)},"data-test-id":"add-site-rep-peer-ep-".concat(i)})}),(0,u.jsx)(r.azJ,{children:(0,u.jsx)(r.cl_,{id:"add-rep-peer-site-ac-".concat(i),name:"add-rep-peer-site-ac-".concat(i),label:"",required:!0,disabled:p.includes("accessKey"),value:j,error:x.accessKey,onChange:e=>{t(e,"accessKey",i)},"data-test-id":"add-rep-peer-site-ac-".concat(i)})}),(0,u.jsx)(r.azJ,{children:(0,u.jsx)(r.cl_,{id:"add-rep-peer-site-sk-".concat(i),name:"add-rep-peer-site-sk-".concat(i),label:"",required:!0,type:"password",value:g,error:x.secretKey,disabled:p.includes("secretKey"),onChange:e=>{t(e,"secretKey",i)},"data-test-id":"add-rep-peer-site-sk-".concat(i)})}),(0,u.jsx)(r.xA9,{item:!0,xs:12,sx:{alignItems:"center",display:"flex"},children:(0,u.jsx)(r.azJ,{sx:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"baseline",marginTop:"4px","& button":{borderColor:"#696969",color:"#696969",borderRadius:"50%"}},children:o?(0,u.jsxs)(n.Fragment,{children:[(0,u.jsx)(h.A,{tooltip:"Add a Row",children:(0,u.jsx)(r.$nd,{id:"add-row-".concat(i),variant:"regular",disabled:!c,icon:(0,u.jsx)(r.REV,{}),onClick:e=>{e.preventDefault(),null===a||void 0===a||a(i)},style:{width:25,height:25,padding:0}})}),(0,u.jsx)(h.A,{tooltip:"Remove Row",children:(0,u.jsx)(r.$nd,{id:"remove-row-".concat(i),variant:"regular",disabled:!d,icon:(0,u.jsx)(r.YPx,{}),onClick:e=>{e.preventDefault(),null===l||void 0===l||l(i)},style:{width:25,height:25,padding:0,marginLeft:8}})})]}):null})})]},"".concat(i))};var j=i(82817),g=i(98167);const m=e=>{let s=!1;try{new URL(e),s=!0}catch(i){s=!1}return s?"":"Invalid Endpoint"},y=e=>""===(null===e||void 0===e?void 0:e.trim()),K=()=>(0,u.jsxs)(n.Fragment,{children:[(0,u.jsx)(r.azJ,{children:(0,u.jsx)(r.l1Y,{children:"Site Name"})}),(0,u.jsx)(r.azJ,{children:(0,u.jsxs)(r.l1Y,{children:["Endpoint ","*"]})}),(0,u.jsx)(r.azJ,{children:(0,u.jsxs)(r.l1Y,{children:["Access Key ","*"]})}),(0,u.jsx)(r.azJ,{children:(0,u.jsxs)(r.l1Y,{children:["Secret Key ","*"]})}),(0,u.jsx)(r.azJ,{children:" "})]}),v=e=>{let{title:s}=e;return(0,u.jsx)(r.xA9,{item:!0,xs:12,children:(0,u.jsx)(r.azJ,{sx:{marginBottom:"15px",fontSize:"14px",fontWeight:600},children:s})})},C=()=>{const e=(0,o.jL)(),s=(0,a.Zp)(),{serverEndPoint:i=""}=(0,p.d4)(x.h0),[h,C]=(0,n.useState)([{endpoint:i,name:"",accessKey:"",secretKey:""}]),[w,A]=(0,n.useState)([]),b=()=>{A([{endpoint:"",name:"",accessKey:"",secretKey:""}])},[z,S]=(0,l.A)(e=>{const{sites:s,name:i}=e,n=s.findIndex(e=>e.name===i);if(-1!==n){let e=s[n];e=(0,t.A)((0,t.A)({},e),{},{isCurrent:!0,isSaved:!0}),C([e]),s.splice(n,1)}s.sort((e,s)=>e.name===i?-1:s.name===i?1:0);let a=s.map(e=>(0,t.A)((0,t.A)({},e),{},{accessKey:"",secretKey:"",isSaved:!0}));a.length?A(a):b()},e=>{b()}),k=()=>{S("GET","api/v1/admin/site-replication")};(0,n.useEffect)(()=>{k()},[]),(0,n.useEffect)(()=>{e((0,d.ph)("add-replication-sites"))},[]);const J=w.reduce((e,s,i)=>{const t=w[i].endpoint,n=m(t);return""===n&&""!==t&&e.push(n),e},[]),T=w.map(e=>!y(e.accessKey)&&!y(e.secretKey)).filter(Boolean),{accessKey:E,secretKey:R}=h[0],I=!y(E)&&!y(R),B=J.length===w.length,F=T.length===w.length;let L=I&&B&&F;const[_,q]=(0,l.A)(i=>{i.success?(e((0,d.Hk)(i.status)),O(),k(),s(c.zZ.SITE_REPLICATION)):e((0,d.C9)({errorMessage:"Error",detailedError:i.status}))},s=>{e((0,d.C9)(s))}),O=()=>{b(),C(e=>e.map((e,s)=>(0,t.A)((0,t.A)({},e),{},{accessKey:"",secretKey:"",name:""})))};return(0,u.jsxs)(n.Fragment,{children:[(0,u.jsx)(j.A,{label:(0,u.jsx)(r.EGL,{label:"Add Replication Site",onClick:()=>s(c.zZ.SITE_REPLICATION)}),actions:(0,u.jsx)(g.A,{})}),(0,u.jsx)(r.Mxu,{children:(0,u.jsxs)(r.azJ,{sx:{display:"grid",padding:"25px",gap:"25px",gridTemplateColumns:"1fr",border:"1px solid #eaeaea"},children:[(0,u.jsxs)(r.azJ,{children:[(0,u.jsx)(r._xt,{separator:!0,icon:(0,u.jsx)(r.pHQ,{}),children:"Add Sites for Replication"}),z||_?(0,u.jsx)(r.z21,{}):null,(0,u.jsx)(r.azJ,{sx:{fontSize:"14px",fontStyle:"italic",marginTop:"10px",marginBottom:"10px"},children:"Note: AccessKey and SecretKey values for every site is required while adding or editing peer sites"}),(0,u.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>(e.preventDefault(),(()=>{const e=null===h||void 0===h?void 0:h.map((e,s)=>({accessKey:e.accessKey,secretKey:e.secretKey,name:e.name,endpoint:e.endpoint.trim()})),s=w.reduce((e,s,i)=>(s.endpoint&&e.push({accessKey:s.accessKey,secretKey:s.secretKey,name:s.name||"dr-site-".concat(i),endpoint:s.endpoint.trim()}),e),[]),i=e.concat(s);q("POST","api/v1/admin/site-replication",i)})()),children:[(0,u.jsxs)(r.azJ,{sx:{marginTop:"15px"},children:[(0,u.jsx)(v,{title:"This Site"}),(0,u.jsxs)(r.azJ,{withBorders:!0,sx:{display:"grid",gridTemplateColumns:".8fr 1.2fr .8fr .8fr .2fr",padding:"15px",gap:"10px",maxHeight:"430px",overflowY:"auto"},children:[(0,u.jsx)(K,{}),h.map((e,s)=>{const i=y(e.accessKey)?"AccessKey is required":"",n=y(e.secretKey)?"SecretKey is required":"";return(0,u.jsx)(f,{rowData:e,rowId:s,fieldErrors:{accessKey:i,secretKey:n},onFieldChange:(e,s,i)=>{const n=e.target.value;""!==s&&C(e=>e.map((e,a)=>a===i?(0,t.A)((0,t.A)({},e),{},{[s]:n}):e))},showRowActions:!1},"current-".concat(s))})]})]}),(0,u.jsxs)(r.azJ,{sx:{marginTop:"25px"},children:[(0,u.jsx)(v,{title:"Peer Sites"}),(0,u.jsxs)(r.azJ,{withBorders:!0,sx:{display:"grid",gridTemplateColumns:".8fr 1.2fr .8fr .8fr .2fr",padding:"15px",gap:"10px",maxHeight:"430px",overflowY:"auto"},children:[(0,u.jsx)(K,{}),w.map((e,s)=>{const i=m(e.endpoint),n=y(e.accessKey)?"AccessKey is required":"",a=y(e.secretKey)?"SecretKey is required":"";return(0,u.jsx)(f,{rowData:e,rowId:s,fieldErrors:{endpoint:i,accessKey:n,secretKey:a},onFieldChange:(e,s,i)=>{const n=e.target.value;A(e=>e.map((e,a)=>a===i?(0,t.A)((0,t.A)({},e),{},{[s]:n}):e))},canAdd:!0,canRemove:s>0&&!e.isSaved,onAddClick:()=>{const e=[...w];e.splice(s+1,0,{name:"",endpoint:"",accessKey:"",secretKey:""}),A(e)},onRemoveClick:e=>{A(w.filter((s,i)=>i!==e))}},"exiting-".concat(s))})]})]}),(0,u.jsx)(r.xA9,{item:!0,xs:12,children:(0,u.jsxs)(r.azJ,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",marginTop:"20px",gap:"15px"},children:[(0,u.jsx)(r.$nd,{id:"clear",type:"button",variant:"regular",disabled:_,onClick:O,label:"Clear"}),(0,u.jsx)(r.$nd,{id:"save",type:"submit",variant:"callAction",disabled:_||!L,label:"Save"})]})})]})]}),(0,u.jsx)(r.lVp,{title:"",iconComponent:null,help:(0,u.jsxs)(n.Fragment,{children:[(0,u.jsxs)(r.azJ,{sx:{marginTop:"-25px",fontSize:"16px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"flex-start",padding:"2px"},children:[(0,u.jsx)(r.azJ,{sx:{backgroundColor:"#07193E",height:"15px",width:"15px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"50%",marginRight:"18px",padding:"3px",paddingLeft:"2px","& .min-icon":{height:"11px",width:"11px",fill:"#ffffff"}},children:(0,u.jsx)(r.pHQ,{})}),"About Site Replication"]}),(0,u.jsxs)(r.azJ,{sx:{display:"flex",flexFlow:"column",fontSize:"14px",flex:"2","& li":{fontSize:"14px",display:"flex",marginTop:"15px",marginBottom:"15px",width:"100%","&.step-text":{fontWeight:400}}},children:[(0,u.jsx)(r.azJ,{children:"The following changes are replicated to all other sites"}),(0,u.jsxs)("ul",{children:[(0,u.jsx)("li",{children:"Creation and deletion of buckets and objects"}),(0,u.jsx)("li",{children:"Creation and deletion of all IAM users, groups, policies and their mappings to users or groups"}),(0,u.jsx)("li",{children:"Creation of STS credentials"}),(0,u.jsx)("li",{children:"Creation and deletion of service accounts (except those owned by the root user)"}),(0,u.jsx)("li",{children:(0,u.jsxs)(r.azJ,{style:{display:"flex",flexFlow:"column",justifyContent:"flex-start"},children:[(0,u.jsx)("div",{style:{paddingTop:"1px"},children:"Changes to Bucket features such as"}),(0,u.jsxs)("ul",{children:[(0,u.jsx)("li",{children:"Bucket Policies"}),(0,u.jsx)("li",{children:"Bucket Tags"}),(0,u.jsx)("li",{children:"Bucket Object-Lock configurations"}),(0,u.jsx)("li",{children:"Bucket Encryption configuration"})]})]})}),(0,u.jsx)("li",{children:(0,u.jsxs)(r.azJ,{style:{display:"flex",flexFlow:"column",justifyContent:"flex-start"},children:[(0,u.jsx)("div",{style:{paddingTop:"1px"},children:"The following Bucket features will NOT be replicated"}),(0,u.jsxs)("ul",{children:[(0,u.jsx)("li",{children:"Bucket notification configuration"}),(0,u.jsx)("li",{children:"Bucket lifecycle (ILM) configuration"})]})]})})]})]})]})})]})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4402.d8bb81a3.chunk.js b/web-app/build/static/js/4402.d8bb81a3.chunk.js deleted file mode 100644 index 984d4702af..0000000000 --- a/web-app/build/static/js/4402.d8bb81a3.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4402],{54402:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var s=n(9950),l=n(89132),c=n(49078),o=n(99491),r=n(1531),i=n(49534),u=n(44414);const a=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,selectedBucket:a}=e;const d=(0,o.jL)(),[p,b]=(0,r.A)(()=>t(!0),e=>d((0,c.C9)(e)));if(!a)return null;return(0,u.jsx)(i.A,{title:"Delete Bucket",confirmText:"Delete",isOpen:n,titleIcon:(0,u.jsx)(l.xWY,{}),isLoading:p,onConfirm:()=>{b("DELETE","/api/v1/buckets/".concat(a),{name:a})},onClose:()=>t(!1),confirmationContent:(0,u.jsxs)(s.Fragment,{children:["Are you sure you want to delete bucket ",(0,u.jsx)("b",{children:a}),"? ",(0,u.jsx)("br",{}),"A bucket can only be deleted if it's empty."]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4517.ecaf7d95.chunk.js b/web-app/build/static/js/4517.ecaf7d95.chunk.js deleted file mode 100644 index 5cf852f62c..0000000000 --- a/web-app/build/static/js/4517.ecaf7d95.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4517],{54517:(e,t,o)=>{o.r(t),o.d(t,{default:()=>A});var n=o(9950),a=o(89132),i=o(98341),r=o(28429),l=o(70444),s=o(48965),c=o(19335),p=o(87946),d=o.n(p),u=o(76356),m=o(45246),g=o(93598),h=o(49078),f=o(99491),y=o(19156),b=o(27428),S=o(49534),v=o(44414);const T=e=>{let{onConfirm:t,onClose:o,serviceName:i,status:r}=e;return(0,v.jsx)(S.A,{title:"Delete Endpoint",confirmText:"Delete",isOpen:!0,titleIcon:(0,v.jsx)(a.$rg,{}),isLoading:!1,onConfirm:t,onClose:o,confirmationContent:(0,v.jsxs)(n.Fragment,{children:["Are you sure you want to delete the event destination ?",(0,v.jsx)("br",{}),(0,v.jsx)("b",{children:i})," which is ",(0,v.jsx)("b",{children:r})]})})};var x=o(30272);const _=c.Ay.div(e=>{let{theme:t}=e;return{display:"flex",alignItems:"center","& svg":{width:16,marginRight:5,fill:d()(t,"signalColors.good","#4CCB92")},"& svg.offline":{fill:d()(t,"signalColors.danger","#C51B3F")}}}),A=()=>{const e=(0,f.jL)(),t=(0,r.Zp)(),o=(0,i.d4)(e=>e.destination.loading),[c,p]=(0,n.useState)([]),[d,S]=(0,n.useState)(""),[A,k]=(0,n.useState)(!1),[E,j]=(0,n.useState)();(0,n.useEffect)(()=>{if(o){(()=>{l.F.admin.notificationEndpointList().then(t=>{let o=[];t.data.notification_endpoints&&(o=t.data.notification_endpoints),p((0,u.Es)(o)),e((0,y.$)(!1))}).catch(t=>{e((0,h.C9)((0,s.S)(t.error))),e((0,y.$)(!1))})})()}},[o,e]),(0,n.useEffect)(()=>{e((0,y.$)(!0))},[e]);const C=[{type:"delete",onClick:e=>{j(e),k(!0)}}],L=c.filter(e=>""===d||e.service_name.indexOf(d)>=0);return(0,v.jsx)(n.Fragment,{children:(0,v.jsxs)(a.Mxu,{children:[(0,v.jsxs)(a.xA9,{item:!0,xs:12,sx:m._0.actionsTray,children:[(0,v.jsx)(b.A,{placeholder:"Search target",onChange:S,value:d,sx:{maxWidth:380}}),(0,v.jsxs)(a.azJ,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:5},children:[(0,v.jsx)(x.A,{tooltip:"Refresh List",children:(0,v.jsx)(a.$nd,{id:"reload-event-destinations",label:"Refresh",variant:"regular",icon:(0,v.jsx)(a.fNY,{}),onClick:()=>{e((0,y.$)(!0))}})}),(0,v.jsx)(x.A,{tooltip:"Add Event Destination",children:(0,v.jsx)(a.$nd,{id:"add-notification-target",label:"Add Event Destination",variant:"callAction",icon:(0,v.jsx)(a.REV,{}),onClick:()=>{t(g.zZ.EVENT_DESTINATIONS_ADD)}})})]})]}),o&&(0,v.jsx)(a.z21,{}),!o&&(0,v.jsxs)(n.Fragment,{children:[c.length>0&&(0,v.jsxs)(n.Fragment,{children:[(0,v.jsx)(a.azJ,{sx:{width:"100%"},children:(0,v.jsx)(a.bQt,{itemActions:C,columns:[{label:"Status",elementKey:"status",renderFunction:e=>(0,v.jsxs)(_,{children:[(0,v.jsx)(a.GQ2,{className:"Offline"===e?"offline":""}),e]}),width:150},{label:"Service",elementKey:"service_name"}],isLoading:o,records:L,entityName:"Event Destinations",idField:"service_name",customPaperHeight:"400px"})}),(0,v.jsx)(a.xA9,{item:!0,xs:12,sx:{marginTop:15},children:(0,v.jsx)(a.lVp,{title:"Event Destinations",iconComponent:(0,v.jsx)(a.PI5,{}),help:(0,v.jsxs)(n.Fragment,{children:["MinIO bucket notifications allow administrators to send notifications to supported external services on certain object or bucket events. MinIO supports bucket and object-level S3 events similar to the Amazon S3 Event Notifications.",(0,v.jsx)("br",{}),(0,v.jsx)("br",{}),"You can learn more at our"," ",(0,v.jsx)("a",{href:"https://min.io/docs/minio/linux/administration/monitoring/bucket-notifications.html",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})})]}),0===c.length&&(0,v.jsx)(a.xA9,{container:!0,sx:{justifyContent:"center",alignContent:"center",alignItems:"center"},children:(0,v.jsx)(a.xA9,{item:!0,xs:8,children:(0,v.jsx)(a.lVp,{title:"Event Destinations",iconComponent:(0,v.jsx)(a.PI5,{}),help:(0,v.jsxs)(n.Fragment,{children:["MinIO bucket notifications allow administrators to send notifications to supported external services on certain object or bucket events. MinIO supports bucket and object-level S3 events similar to the Amazon S3 Event Notifications.",(0,v.jsx)("br",{}),(0,v.jsx)("br",{}),"To get started,"," ",(0,v.jsx)(a.t53,{onClick:()=>{t(g.zZ.EVENT_DESTINATIONS_ADD)},children:"Add an Event Destination"}),"."]})})})})]}),A?(0,v.jsx)(T,{onConfirm:()=>{(t=>{if(null!==t&&void 0!==t&&t.name){const o=(0,u.h4)(t.name);let n=":".concat(t.account_id);o?l.F.configs.resetConfig("".concat(o).concat(n)).then(()=>{e((0,h.YR)(!0)),j(null),k(!1),e((0,y.$)(!0))}).catch(t=>{k(!1),e((0,h.C9)((0,s.S)(t.error)))}):(j(null),k(!1),console.log("Unable to find Config key for ".concat(t.name)))}})(E)},status:"".concat(null===E||void 0===E?void 0:E.status),serviceName:"".concat(null===E||void 0===E?void 0:E.service_name),onClose:()=>{k(!1)}}):null]})})}},76356:(e,t,o)=>{o.d(t,{AU:()=>a,D3:()=>g,Es:()=>m,P4:()=>n,Xm:()=>b,bo:()=>f,fx:()=>S,h4:()=>T});const n="notify_postgres",a="notify_mysql",i="notify_kafka",r="notify_amqp",l="notify_mqtt",s="notify_redis",c="notify_nats",p="notify_elasticsearch",d="notify_webhook",u="notify_nsq",m=e=>e.map(e=>({service_name:"".concat(e.service,":").concat(e.account_id),name:e.service,account_id:e.account_id,status:e.status}));class g{}g.DB="database",g.Queue="queue",g.Func="functions";const h=()=>"".concat(document.baseURI),f=[{actionTrigger:n,targetTitle:"PostgreSQL",logo:"".concat(h(),"postgres-logo.svg"),category:g.DB},{actionTrigger:i,targetTitle:"Kafka",logo:"".concat(h(),"kafka-logo.svg"),category:g.Queue},{actionTrigger:r,targetTitle:"AMQP",logo:"".concat(h(),"amqp-logo.svg"),category:g.Queue},{actionTrigger:l,targetTitle:"MQTT",logo:"".concat(h(),"mqtt-logo.svg"),category:g.Queue},{actionTrigger:s,targetTitle:"Redis",logo:"".concat(h(),"redis-logo.svg"),category:g.Queue},{actionTrigger:c,targetTitle:"NATS",logo:"".concat(h(),"nats-logo.svg"),category:g.Queue},{actionTrigger:a,targetTitle:"Mysql",logo:"".concat(h(),"mysql-logo.svg"),category:g.DB},{actionTrigger:p,targetTitle:"Elastic Search",logo:"".concat(h(),"elasticsearch-logo.svg"),category:g.DB},{actionTrigger:d,targetTitle:"Webhook",logo:"".concat(h(),"webhooks-logo.svg"),category:g.Func},{actionTrigger:u,targetTitle:"NSQ",logo:"".concat(h(),"nsq-logo.svg"),category:g.Queue}],y=[{name:"queue_dir",label:"Queue Directory",required:!1,tooltip:"Staging directory for undelivered messages e.g. '/home/events'",type:"string",placeholder:"Enter Queue Directory"},{name:"queue_limit",label:"Queue Limit",required:!1,tooltip:"Maximum limit for undelivered messages, defaults to '10000'",type:"number",placeholder:"Enter Queue Limit"},{name:"comment",label:"Comment",required:!1,type:"comment",placeholder:"Enter custom notes if any"}],b=e=>e.filter(e=>""!==e.value),S={[i]:[{name:"brokers",label:"Brokers",required:!0,tooltip:"Comma separated list of Kafka broker addresses",type:"string",placeholder:"Enter Brokers"},{name:"topic",label:"Topic",tooltip:"Kafka topic used for bucket notifications",type:"string",placeholder:"Enter Topic"},{name:"sasl_username",label:"SASL Username",tooltip:"Username for SASL/PLAIN or SASL/SCRAM authentication",type:"string",placeholder:"Enter SASL Username"},{name:"sasl_password",label:"SASL Password",tooltip:"Password for SASL/PLAIN or SASL/SCRAM authentication",type:"string",placeholder:"Enter SASL Password"},{name:"sasl_mechanism",label:"SASL Mechanism",tooltip:"SASL authentication mechanism, default 'PLAIN'",type:"string"},{name:"tls_client_auth",label:"TLS Client Auth",tooltip:"Client Auth determines the Kafka server's policy for TLS client authorization",type:"string",placeholder:"Enter TLS Client Auth"},{name:"sasl",label:"SASL",tooltip:"Set to 'on' to enable SASL authentication",type:"on|off"},{name:"tls",label:"TLS",tooltip:"Set to 'on' to enable TLS",type:"on|off"},{name:"tls_skip_verify",label:"TLS skip verify",tooltip:'Trust server TLS without verification, defaults to "on" (verify)',type:"on|off"},{name:"client_tls_cert",label:"client TLS cert",tooltip:"Path to client certificate for mTLS authorization",type:"path",placeholder:"Enter TLS Client Cert"},{name:"client_tls_key",label:"client TLS key",tooltip:"Path to client key for mTLS authorization",type:"path",placeholder:"Enter TLS Client Key"},{name:"version",label:"Version",tooltip:"Specify the version of the Kafka cluster e.g '2.2.0'",type:"string",placeholder:"Enter Kafka Version"},...y],[r]:[{name:"url",required:!0,label:"URL",tooltip:"AMQP server endpoint e.g. `amqp://myuser:mypassword@localhost:5672`",type:"url"},{name:"exchange",label:"Exchange",tooltip:"Name of the AMQP exchange",type:"string",placeholder:"Enter Exchange"},{name:"exchange_type",label:"Exchange Type",tooltip:"AMQP exchange type",type:"string",placeholder:"Enter Exchange Type"},{name:"routing_key",label:"Routing Key",tooltip:"Routing key for publishing",type:"string",placeholder:"Enter Routing Key"},{name:"mandatory",label:"Mandatory",tooltip:"Quietly ignore undelivered messages when set to 'off', default is 'on'",type:"on|off"},{name:"durable",label:"Durable",tooltip:"Persist queue across broker restarts when set to 'on', default is 'off'",type:"on|off"},{name:"no_wait",label:"No Wait",tooltip:"Non-blocking message delivery when set to 'on', default is 'off'",type:"on|off"},{name:"internal",label:"Internal",tooltip:"Set to 'on' for exchange to be not used directly by publishers, but only when bound to other exchanges",type:"on|off"},{name:"auto_deleted",label:"Auto Deleted",tooltip:"Auto delete queue when set to 'on', when there are no consumers",type:"on|off"},{name:"delivery_mode",label:"Delivery Mode",tooltip:"Set to '1' for non-persistent or '2' for persistent queue",type:"number",placeholder:"Enter Delivery Mode"},...y],[s]:[{name:"address",required:!0,label:"Address",tooltip:"Redis server's address e.g. `localhost:6379`",type:"address",placeholder:"Enter Address"},{name:"key",required:!0,label:"Key",tooltip:"Redis key to store/update events, key is auto-created",type:"string",placeholder:"Enter Key"},{name:"password",label:"Password",tooltip:"Redis server password",type:"string",placeholder:"Enter Password"},...y],[l]:[{name:"broker",required:!0,label:"Broker",tooltip:"MQTT server endpoint e.g. `tcp://localhost:1883`",type:"uri",placeholder:"Enter Brokers"},{name:"topic",required:!0,label:"Topic",tooltip:"Name of the MQTT topic to publish",type:"string",placeholder:"Enter Topic"},{name:"username",label:"Username",tooltip:"MQTT username",type:"string",placeholder:"Enter Username"},{name:"password",label:"Password",tooltip:"MQTT password",type:"string",placeholder:"Enter Password"},{name:"qos",label:"QOS",tooltip:"Set the quality of service priority, defaults to '0'",type:"number",placeholder:"Enter QOS"},{name:"keep_alive_interval",label:"Keep Alive Interval",tooltip:"Keep-alive interval for MQTT connections in s,m,h,d",type:"duration",placeholder:"Enter Keep Alive Interval"},{name:"reconnect_interval",label:"Reconnect Interval",tooltip:"Reconnect interval for MQTT connections in s,m,h,d",type:"duration",placeholder:"Enter Reconnect Interval"},...y],[c]:[{name:"address",required:!0,label:"Address",tooltip:"NATS server address e.g. '0.0.0.0:4222'",type:"address",placeholder:"Enter Address"},{name:"subject",required:!0,label:"Subject",tooltip:"NATS subscription subject",type:"string",placeholder:"Enter NATS Subject"},{name:"username",label:"Username",tooltip:"NATS username",type:"string",placeholder:"Enter NATS Username"},{name:"password",label:"Password",tooltip:"NATS password",type:"string",placeholder:"Enter NATS password"},{name:"token",label:"Token",tooltip:"NATS token",type:"string",placeholder:"Enter NATS token"},{name:"tls",label:"TLS",tooltip:"Set to 'on' to enable TLS",type:"on|off"},{name:"tls_skip_verify",label:"TLS Skip Verify",tooltip:'Trust server TLS without verification, defaults to "on" (verify)',type:"on|off"},{name:"ping_interval",label:"Ping Interval",tooltip:"Client ping commands interval in s,m,h,d. Disabled by default",type:"duration",placeholder:"Enter Ping Interval"},{name:"streaming",label:"Streaming",tooltip:"Set to 'on' to use streaming NATS server",type:"on|off"},{name:"streaming_async",label:"Streaming async",tooltip:"Set to 'on' to enable asynchronous publish",type:"on|off"},{name:"streaming_max_pub_acks_in_flight",label:"Streaming max publish ACKS in flight",tooltip:"Number of messages to publish without waiting for ACKs",type:"number",placeholder:"Enter Streaming in flight value"},{name:"streaming_cluster_id",label:"Streaming Cluster ID",tooltip:"Unique ID for NATS streaming cluster",type:"string",placeholder:"Enter Streaming Cluster ID"},{name:"cert_authority",label:"Cert Authority",tooltip:"Path to certificate chain of the target NATS server",type:"string",placeholder:"Enter Cert Authority"},{name:"client_cert",label:"Client Cert",tooltip:"Client cert for NATS mTLS auth",type:"string",placeholder:"Enter Client Cert"},{name:"client_key",label:"Client Key",tooltip:"Client cert key for NATS mTLS authorization",type:"string",placeholder:"Enter Client Key"},...y],[p]:[{name:"url",required:!0,label:"URL",tooltip:"Elasticsearch server's address, with optional authentication info",type:"url",placeholder:"Enter URL"},{name:"index",required:!0,label:"Index",tooltip:"Elasticsearch index to store/update events, index is auto-created",type:"string",placeholder:"Enter Index"},{name:"format",required:!0,label:"Format",tooltip:"'namespace' reflects current bucket/object list and 'access' reflects a journal of object operations, defaults to 'namespace'",type:"enum",placeholder:"Enter Format"},...y],[d]:[{name:"endpoint",required:!0,label:"Endpoint",tooltip:"Webhook server endpoint e.g. http://localhost:8080/minio/events",type:"url",placeholder:"Enter Endpoint"},{name:"auth_token",label:"Auth Token",tooltip:"Opaque string or JWT authorization token",type:"string",placeholder:"Enter auth_token"},...y],[u]:[{name:"nsqd_address",required:!0,label:"NSQD Address",tooltip:"NSQ server address e.g. '127.0.0.1:4150'",type:"address",placeholder:"Enter nsqd_address"},{name:"topic",required:!0,label:"Topic",tooltip:"NSQ topic",type:"string",placeholder:"Enter Topic"},{name:"tls",label:"TLS",tooltip:"Set to 'on' to enable TLS",type:"on|off"},{name:"tls_skip_verify",label:"TLS Skip Verify",tooltip:'Trust server TLS without verification, defaults to "on" (verify)',type:"on|off"},...y]},v={webhook:"notify_webhook",amqp:"notify_amqp",kafka:"notify_kafka",mqtt:"notify_mqtt",nats:"notify_nats",nsq:"notify_nsq",mysql:"notify_mysql",postgresql:"notify_postgres",elasticsearch:"notify_elasticsearch",redis:"notify_redis"},T=e=>v[e]}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4540.7d7510b7.chunk.js b/web-app/build/static/js/4540.7d7510b7.chunk.js deleted file mode 100644 index 85341c5778..0000000000 --- a/web-app/build/static/js/4540.7d7510b7.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4540],{32680:(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var n=o(9950),r=o(98341),a=o(89132),i=o(99491),l=o(49078),c=o(96382),s=o(44414);const u=e=>{let{onClose:t,modalOpen:o,title:u,children:p,wideLimit:f=!0,titleIcon:d=null,iconColor:y="default",sx:b}=e;const m=(0,i.jL)(),[h,g]=(0,n.useState)(!1),v=(0,r.d4)(e=>e.system.modalSnackBar);(0,n.useEffect)(()=>{m((0,l.h0)(""))},[m]),(0,n.useEffect)(()=>{if(v){if(""===v.message)return void g(!1);"error"!==v.type&&g(!0)}},[v]);let C="";return v&&(C=v.detailedErrorMsg,(""===C||C&&C.length<5)&&(C=v.message)),(0,s.jsxs)(a.ngX,{onClose:t,open:o,title:u,titleIcon:d,widthLimit:f,sx:b,iconColor:y,children:[(0,s.jsx)(c.A,{isModal:!0}),(0,s.jsx)(a.qb_,{onClose:()=>{g(!1),m((0,l.h0)(""))},open:h,message:C,mode:"inline",variant:"error"===v.type?"error":"default",autoHideDuration:"error"===v.type?10:5,condensed:!0}),p]})}},59660:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,o=[],n=0;n{"use strict";var n=o(59660),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var o,a,i,l,c,s,u=!1;t||(t={}),o=t.debug||!1;try{if(i=n(),l=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),"undefined"===typeof n.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=r[t.format]||r.default;window.clipboardData.setData(a,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(s),l.selectNodeContents(s),c.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(p){o&&console.error("unable to copy using execCommand: ",p),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(p){o&&console.error("unable to copy using clipboardData: ",p),o&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(l):c.removeAllRanges()),s&&document.body.removeChild(s),i()}return u}},84540:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>b});var n=o(9950),r=o(70444),a=o(5501),i=o(48965),l=o(89132),c=o(45246),s=o(49078),u=o(99491),p=o(96187),f=o(32680),d=o(94797),y=o(44414);const b=e=>{let{open:t,bucketName:o,actualPolicy:b,actualDefinition:m,closeModalAndRefresh:h}=e;const g=(0,u.jL)(),[v,C]=(0,n.useState)(!1),[j,x]=(0,n.useState)(""),[w,O]=(0,n.useState)(p.U);return(0,n.useEffect)(()=>{x(b),O(m?JSON.stringify(JSON.parse(m),null,4):p.U)},[x,b,O,m]),(0,y.jsx)(f.A,{title:"Change Access Policy",modalOpen:t,onClose:()=>{h()},titleIcon:(0,y.jsx)(l.uYH,{}),children:(0,y.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),!v&&j&&(C(!0),r.F.buckets.bucketSetPolicy(o,{access:j,definition:w}).then(()=>{C(!1),h()}).catch(e=>{C(!1),g((0,s.Dy)((0,i.S)(e.error)))}))},children:[(0,y.jsxs)(l.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,y.jsx)(l.l6P,{value:j,label:"Access Policy",id:"select-access-policy",name:"select-access-policy",onChange:e=>{x(e)},options:[{value:a.jz.PRIVATE,label:"Private"},{value:a.jz.PUBLIC,label:"Public"},{value:a.jz.CUSTOM,label:"Custom"}]}),"PUBLIC"===j&&(0,y.jsx)(l.azJ,{className:"muted",style:{marginTop:"25px",fontSize:"14px",fontStyle:"italic"},children:"* Warning: With Public access anyone will be able to upload, download and delete files from this Bucket *"}),"CUSTOM"===j&&(0,y.jsx)(l.xA9,{item:!0,xs:12,children:(0,y.jsx)(d.A,{label:"Write Policy",value:w,onChange:e=>{O(e)},editorHeight:"300px",helptip:(0,y.jsx)(n.Fragment,{children:(0,y.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/policy-based-access-control.html#policy-document-structure",children:"Guide to access policy structure"})})})})]}),(0,y.jsxs)(l.azJ,{sx:c.Uz.modalButtonBar,children:[(0,y.jsx)(l.$nd,{id:"cancel",type:"button",variant:"regular",onClick:()=>{h()},disabled:v,label:"Cancel"}),(0,y.jsx)(l.$nd,{id:"set",type:"submit",variant:"callAction",disabled:v||"CUSTOM"===j&&!w,label:"Set"})]})]})})}},94702:(e,t,o)=>{"use strict";function n(e){return 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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=l(o(9950)),a=l(o(67243)),i=["text","onCopy","options","children"];function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function s(e){for(var t=1;t=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}function p(e,t){for(var o=0;o{"use strict";o.d(t,{A:()=>s});var n=o(9950),r=o(89132),a=o(95189),i=o.n(a),l=o(30272),c=o(44414);const s=e=>{let{value:t,label:o="",tooltip:a="",mode:s="json",onChange:u,editorHeight:p=250,helptip:f}=e;return(0,c.jsx)(r.BYM,{value:t,onChange:e=>u(e),mode:s,tooltip:a,editorHeight:p,label:o,helpTools:(0,c.jsx)(n.Fragment,{children:(0,c.jsx)(l.A,{tooltip:"Copy to Clipboard",children:(0,c.jsx)(i(),{text:t,children:(0,c.jsx)(r.$nd,{type:"button",id:"copy-code-mirror",icon:(0,c.jsx)(r.TdU,{}),color:"primary",variant:"regular"})})})}),helpTip:f,helpTipPlacement:"right"})}},95189:(e,t,o)=>{"use strict";var n=o(94702).CopyToClipboard;n.CopyToClipboard=n,e.exports=n},96187:(e,t,o)=>{"use strict";o.d(t,{U:()=>n});const n='{\n "Version": "2012-10-17",\n "Statement": [\n \n ]\n}'}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4599.93da78de.chunk.js b/web-app/build/static/js/4599.93da78de.chunk.js deleted file mode 100644 index ce94bf296c..0000000000 --- a/web-app/build/static/js/4599.93da78de.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4599],{14599:(e,t,l)=>{l.r(t),l.d(t,{default:()=>u});var n=l(9950),s=l(89132),r=l(49078),c=l(99491),i=l(1531),a=l(49534),o=l(44414);const u=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:l,selectedBucket:u,ruleToDelete:d,rulesToDelete:p,remainingRules:b,allSelected:x,deleteSelectedRules:h=!1}=e;const j=(0,c.jL)(),[m,f]=(0,n.useState)(""),[k,v]=(0,i.A)(()=>t(!0),e=>j((0,r.C9)(e)));if(!u)return null;return(0,o.jsx)(a.A,{title:h?"Delete Selected Replication Rules":"Delete Replication Rule",confirmText:"Delete",isOpen:l,titleIcon:(0,o.jsx)(s.xWY,{}),isLoading:k,onConfirm:()=>{let e="/api/v1/buckets/".concat(u,"/replication/").concat(d);if(h){if(!x)return e="/api/v1/buckets/".concat(u,"/delete-selected-replication-rules"),void v("DELETE",e,{rules:p});e="/api/v1/buckets/".concat(u,"/delete-all-replication-rules")}else 1===b&&(e="/api/v1/buckets/".concat(u,"/delete-all-replication-rules"));v("DELETE",e)},onClose:()=>t(!1),confirmButtonProps:{disabled:h&&"Yes, I am sure"!==m},confirmationContent:(0,o.jsx)(n.Fragment,{children:h?(0,o.jsxs)(n.Fragment,{children:["Are you sure you want to remove the selected replication rules for bucket ",(0,o.jsx)("b",{children:u}),"?",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"To continue please type ",(0,o.jsx)("b",{children:"Yes, I am sure"})," in the box.",(0,o.jsx)(s.xA9,{item:!0,xs:12,children:(0,o.jsx)(s.cl_,{id:"retype-tenant",name:"retype-tenant",onChange:e=>{f(e.target.value)},label:"",value:m})})]}):(0,o.jsxs)(n.Fragment,{children:["Are you sure you want to delete replication rule"," ",(0,o.jsx)("b",{children:d}),"?"]})})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4758.894e4bf0.chunk.js b/web-app/build/static/js/4758.894e4bf0.chunk.js deleted file mode 100644 index 33757ec8e1..0000000000 --- a/web-app/build/static/js/4758.894e4bf0.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4758],{80282:(e,n,t)=>{t.d(n,{A:()=>c});var a=t(9950),s=t(89132),r=t(44414);const c=e=>{let{helpText:n,contents:t}=e;return(0,r.jsx)(s.lVp,{iconComponent:(0,r.jsx)(s.nag,{}),title:n,help:(0,r.jsx)(a.Fragment,{children:t.map(e=>(0,r.jsx)(s.azJ,{sx:{paddingBottom:"20px"},children:e}))})})}},84758:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});var a=t(9950),s=t(89132),r=t(28429),c=t(93598),l=t(99491),i=t(45246),o=t(80282),x=t(70444),d=t(49078),p=t(48965),j=t(44414);const h=()=>{const e=(0,l.jL)(),n=(0,r.Zp)(),[t,h]=(0,a.useState)(""),[m,u]=(0,a.useState)(!1),y=""!==t.trim()&&-1===t.indexOf(" ");return(0,j.jsx)(s.Mxu,{children:(0,j.jsx)(s.Hbc,{title:"Create Key",icon:(0,j.jsx)(s.No_,{}),helpBox:(0,j.jsx)(o.A,{helpText:"Encryption Key",contents:["Create a new cryptographic key in the Key Management Service server connected to MINIO."]}),children:(0,j.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:a=>{a.preventDefault(),u(!0),x.F.kms.kmsCreateKey({key:t}).then(e=>{n("".concat(c.zZ.KMS_KEYS))}).catch(async n=>{const t=await n.json();e((0,d.C9)((0,p.S)(t)))}).finally(()=>u(!1))},children:(0,j.jsxs)(s.xA9,{container:!0,children:[(0,j.jsx)(s.xA9,{item:!0,xs:12,children:(0,j.jsx)(s.cl_,{id:"key-name",name:"key-name",label:"Key Name",autoFocus:!0,value:t,error:(e=>-1!==e.indexOf(" ")?"Key name cannot contain spaces":"")(t),onChange:e=>{h(e.target.value)}})}),(0,j.jsxs)(s.xA9,{item:!0,xs:12,sx:i.Uz.modalButtonBar,children:[(0,j.jsx)(s.$nd,{id:"clear",type:"button",variant:"regular",onClick:()=>{h("")},label:"Clear"}),(0,j.jsx)(s.$nd,{id:"save-key",type:"submit",variant:"callAction",color:"primary",disabled:m||!y,label:"Save"})]})]})})})})};var m=t(82817),u=t(98167);const y=()=>{const e=(0,l.jL)(),n=(0,r.Zp)();return(0,a.useEffect)(()=>{e((0,d.ph)("add_key"))},[]),(0,j.jsx)(a.Fragment,{children:(0,j.jsxs)(s.xA9,{item:!0,xs:12,children:[(0,j.jsx)(m.A,{label:(0,j.jsx)(s.EGL,{label:"Keys",onClick:()=>n(c.zZ.KMS_KEYS)}),actions:(0,j.jsx)(u.A,{})}),(0,j.jsx)(h,{})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4803.2a486f1b.chunk.js b/web-app/build/static/js/4803.2a486f1b.chunk.js deleted file mode 100644 index 82ccf24d4a..0000000000 --- a/web-app/build/static/js/4803.2a486f1b.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4803],{74803:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var s=n(9950),o=n(89132),l=n(49078),c=n(99491),r=n(70444),u=n(48965),a=n(49534),i=n(44414);const p=e=>{let{onClose:t,modalOpen:n,bucket:p,toDelete:f}=e;const h=(0,c.jL)(),[d,k]=(0,s.useState)(!1);return(0,i.jsx)(a.A,{title:"Delete Anonymous Access Rule",confirmText:"Delete",isOpen:n,isLoading:d,onConfirm:()=>{k(!0);let e={prefix:f};r.F.bucket.deleteAccessRuleWithBucket(p,e).then(()=>{t()}).catch(e=>{h((0,l.C9)((0,u.S)(e.error))),t()}).finally(()=>k(!1))},titleIcon:(0,i.jsx)(o.xWY,{}),onClose:t,confirmationContent:(0,i.jsx)(s.Fragment,{children:"Are you sure you want to delete this access rule?"})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4857.17d79bcb.chunk.js b/web-app/build/static/js/4857.17d79bcb.chunk.js deleted file mode 100644 index 52f6042546..0000000000 --- a/web-app/build/static/js/4857.17d79bcb.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4857],{58093:(e,t,a)=>{a.d(t,{A:()=>d});var n=a(9950),l=a(89132),i=a(19335),s=a(87946),r=a.n(s),c=a(44414);const o=i.Ay.button(e=>{let{theme:t}=e;return{border:"1px solid ".concat(r()(t,"borderColor","#E2E2E2")),borderRadius:3,color:r()(t,"secondaryText","#5B5C5C"),backgroundColor:r()(t,"boxBackground","#FBFAFA"),fontSize:12}}),d=e=>{let{id:t,unitSelected:a,unitsList:i,disabled:s=!1,onUnitChange:r}=e;const[d,h]=n.useState(null),u=Boolean(d),p=e=>{h(null),""!==e&&r&&r(e)};return(0,c.jsxs)(n.Fragment,{children:[(0,c.jsx)(o,{id:"".concat(t,"-button"),"aria-controls":"".concat(t,"-menu"),"aria-haspopup":"true","aria-expanded":u?"true":void 0,onClick:e=>{h(e.currentTarget)},disabled:s,type:"button",children:a}),(0,c.jsx)(l.Vey,{id:"upload-main-menu",options:i,selectedOption:"",onSelect:e=>p(e),hideTriggerAction:()=>{p("")},open:u,anchorEl:d,anchorOrigin:"end"})]})}},66147:(e,t,a)=>{a.d(t,{A:()=>d});var n=a(9950),l=a(87946),i=a.n(l),s=a(95491),r=a.n(s),c=a(89132),o=a(44414);const d=e=>{let{elements:t,name:a,label:l,tooltip:s="",keyPlaceholder:d="",valuePlaceholder:h="",onChange:u,withBorder:p=!1}=e;const[g,x]=(0,n.useState)([""]),[m,b]=(0,n.useState)([""]),j=(0,n.createRef)();(0,n.useEffect)(()=>{if(1===g.length&&""===g[0]&&1===m.length&&""===m[0]&&t&&""!==t){const e=t.split("&");let a=[],n=[];e.forEach(e=>{const t=e.split("=");2===t.length&&(a.push(t[0]),n.push(t[1]))}),a.push(""),n.push(""),x(a),b(n)}},[g,m,t]),(0,n.useEffect)(()=>{const e=j.current;e&&g.length>1&&e.scrollIntoView(!1)},[g]);const y=(0,n.useRef)(!0);(0,n.useLayoutEffect)(()=>{y.current?y.current=!1:S()},[g,m]);const v=e=>{e.persist();let t=[...g];const a=i()(e.target,"dataset.index","0");t[parseInt(a)]=e.target.value,x(t)},f=e=>{e.persist();let t=[...m];const a=i()(e.target,"dataset.index","0");t[parseInt(a)]=e.target.value,b(t)},S=r()(()=>{let e="";g.forEach((t,a)=>{if(g[a]&&m[a]){let n="".concat(t,"=").concat(m[a]);0!==a&&(n="&".concat(n)),e="".concat(e).concat(n)}}),u(e)},500),C=m.map((e,t)=>(0,o.jsxs)(c.xA9,{item:!0,xs:12,className:"lineInputBoxes inputItem",children:[(0,o.jsx)(c.cl_,{id:"".concat(a,"-key-").concat(t.toString()),label:"",name:"".concat(a,"-").concat(t.toString()),value:g[t],onChange:v,index:t,placeholder:d}),(0,o.jsx)("span",{className:"queryDiv",children:":"}),(0,o.jsx)(c.cl_,{id:"".concat(a,"-value-").concat(t.toString()),label:"",name:"".concat(a,"-").concat(t.toString()),value:m[t],onChange:f,index:t,placeholder:h,overlayIcon:t===m.length-1?(0,o.jsx)(c.REV,{}):null,overlayAction:()=>{(()=>{if(""!==g[g.length-1].trim()&&""!==m[m.length-1].trim()){const e=[...g],t=[...m];e.push(""),t.push(""),x(e),b(t)}})()}})]},"query-pair-".concat(a,"-").concat(t.toString())));return(0,o.jsx)(n.Fragment,{children:(0,o.jsxs)(c.xA9,{item:!0,xs:12,sx:{"& .lineInputBoxes":{display:"flex"},"& .queryDiv":{alignSelf:"center",margin:"-15px 4px 0",fontWeight:600}},className:"inputItem",children:[(0,o.jsxs)(c.l1Y,{children:[l,""!==s&&(0,o.jsx)(c.azJ,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,o.jsx)(c.m_M,{tooltip:s,placement:"top",children:(0,o.jsx)(c.NTw,{style:{width:13,height:13}})})})]}),(0,o.jsxs)(c.azJ,{withBorders:p,sx:{padding:15,height:150,overflowY:"auto",position:"relative",marginTop:15},children:[C,(0,o.jsx)("div",{ref:j})]})]})})}},84857:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y});var n=a(9950),l=a(28429),i=a(89132),s=a(93598),r=a(49078),c=a(99491),o=a(82817),d=a(98167),h=a(70444),u=a(48965),p=a(66147),g=a(59908),x=a(87946),m=a.n(x),b=a(58093),j=a(44414);const y=()=>{const e=(0,c.jL)(),t=(0,l.Zp)();let a=new URLSearchParams(document.location.search);const x=a.get("bucketName")||"",y=a.get("nextPriority")||"1",[v,f]=(0,n.useState)(!1),[S,C]=(0,n.useState)(y),[k,w]=(0,n.useState)(""),[R,E]=(0,n.useState)(""),[A,B]=(0,n.useState)(""),[T,_]=(0,n.useState)(""),[I,D]=(0,n.useState)(""),[M,O]=(0,n.useState)(""),[L,N]=(0,n.useState)(""),[z,K]=(0,n.useState)(!0),[P,U]=(0,n.useState)(!0),[F,G]=(0,n.useState)(!0),[J,V]=(0,n.useState)(!0),[q,W]=(0,n.useState)(!0),[Y,H]=(0,n.useState)(""),[Z,$]=(0,n.useState)("async"),[Q,X]=(0,n.useState)("100"),[ee,te]=(0,n.useState)("Gi"),[ae,ne]=(0,n.useState)("60"),[le,ie]=(0,n.useState)(!1),se=s.zZ.BUCKETS+"/".concat(x,"/admin/replication");(0,n.useEffect)(()=>{e((0,r.ph)("bucket-replication-add"))},[]);return(0,n.useEffect)(()=>{!le&&k.length>=3&&R.length>=8&&M.length>=3&&A.length>0&&ie(!0)},[A,k,R,M,le]),(0,n.useEffect)(()=>{le&&(k.length<3||R.length<8||M.length<3||A.length<1)&&ie(!1)},[A,k,R,M,le]),(0,j.jsxs)(n.Fragment,{children:[(0,j.jsx)(o.A,{label:(0,j.jsx)(i.EGL,{label:"Add Bucket Replication Rule - "+x,onClick:()=>t(se)}),actions:(0,j.jsx)(d.A,{})}),(0,j.jsx)(i.Mxu,{children:(0,j.jsx)(i.Hbc,{title:"Add Replication Rule",icon:(0,j.jsx)(i.WBh,{}),helpBox:(0,j.jsx)(i.lVp,{iconComponent:(0,j.jsx)(i.WBh,{}),title:"Bucket Replication Configuration",help:(0,j.jsxs)(n.Fragment,{children:[(0,j.jsx)(i.azJ,{sx:{paddconngTop:"10px"},children:"The bucket selected in this deployment acts as the \u201csource\u201d while the configured remote deployment acts as the \u201ctarget\u201d."}),(0,j.jsx)(i.azJ,{sx:{paddingTop:"10px"},children:'For each write operation to this "source" bucket, MinIO checks all configured replication rules and applies the matching rule with highest configured priority.'}),(0,j.jsx)(i.azJ,{sx:{paddingTop:"10px"},children:"MinIO supports automatically replicating existing objects in a bucket; this setting is enabled by default. Please note that objects created before replication was configured or while replication is disabled are not synchronized to the target deployment in case this setting is not enabled."}),(0,j.jsx)(i.azJ,{sx:{paddingTop:"10px"},children:"MinIO supports replicating delete operations, where MinIO synchronizes deleting specific object versions and new delete markers. Delete operation replication uses the same replication process as all other replication operations."})," "]})}),children:(0,j.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:a=>{a.preventDefault(),f(!0),(()=>{const a=[{originBucket:x,destinationBucket:M}],n=parseInt(ae),l="".concat(z?"https://":"http://").concat(A),i={accessKey:k,secretKey:R,targetURL:l,region:L,bucketsRelation:a,syncMode:Z,bandwidth:"async"===Z?parseInt((0,g.q5)(Q,ee,!0)):0,healthCheckPeriod:n,prefix:I,tags:Y,replicateDeleteMarkers:P,replicateDeletes:F,replicateExistingObjects:q,priority:parseInt(S),storageClass:T,replicateMetadata:J};h.F.bucketsReplication.setMultiBucketReplication(i).then(a=>{f(!1);const n=m()(a.data,"replicationState",[]);if(n.length>0){const a=n[0];return f(!1),a.errorString&&""!==a.errorString?void e((0,r.C9)({errorMessage:"There was an error",detailedError:a.errorString})):void t(se)}e((0,r.C9)({errorMessage:"No changes applied",detailedError:""}))}).catch(t=>{console.log("this is an error!"),f(!1),e((0,r.C9)((0,u.S)(t.error)))})})()},children:[(0,j.jsx)(i.cl_,{id:"priority",name:"priority",onChange:e=>{e.target.validity.valid&&C(e.target.value)},label:"Priority",value:S,pattern:"[0-9]*"}),(0,j.jsx)(i.cl_,{id:"targetURL",name:"targetURL",onChange:e=>{B(e.target.value)},placeholder:"play.min.io",label:"Target URL",value:A}),(0,j.jsx)(i.dOG,{checked:z,id:"useTLS",name:"useTLS",label:"Use TLS",onChange:e=>{K(e.target.checked)},value:"yes"}),(0,j.jsx)(i.cl_,{id:"accessKey",name:"accessKey",onChange:e=>{w(e.target.value)},label:"Access Key",value:k}),(0,j.jsx)(i.cl_,{id:"secretKey",name:"secretKey",onChange:e=>{E(e.target.value)},label:"Secret Key",value:R}),(0,j.jsx)(i.cl_,{id:"targetBucket",name:"targetBucket",onChange:e=>{O(e.target.value)},label:"Target Bucket",value:M}),(0,j.jsx)(i.cl_,{id:"region",name:"region",onChange:e=>{N(e.target.value)},label:"Region",value:L}),(0,j.jsx)(i.l6P,{id:"replication_mode",name:"replication_mode",onChange:e=>{$(e)},label:"Replication Mode",value:Z,options:[{label:"Asynchronous",value:"async"},{label:"Synchronous",value:"sync"}]}),"async"===Z&&(0,j.jsx)(i.azJ,{className:"inputItem",children:(0,j.jsx)(i.cl_,{type:"number",id:"bandwidth_scalar",name:"bandwidth_scalar",onChange:e=>{e.target.validity.valid&&X(e.target.value)},label:"Bandwidth",value:Q,min:"0",pattern:"[0-9]*",overlayObject:(0,j.jsx)(b.A,{id:"quota_unit",onUnitChange:e=>{te(e)},unitSelected:ee,unitsList:(0,g.l9)(["Ki"]),disabled:!1})})}),(0,j.jsx)(i.cl_,{id:"healthCheck",name:"healthCheck",onChange:e=>{ne(e.target.value)},label:"Health Check Duration",value:ae}),(0,j.jsx)(i.cl_,{id:"storageClass",name:"storageClass",onChange:e=>{_(e.target.value)},placeholder:"STANDARD_IA,REDUCED_REDUNDANCY etc",label:"Storage Class",value:T}),(0,j.jsxs)("fieldset",{className:"inputItem",children:[(0,j.jsx)("legend",{children:"Object Filters"}),(0,j.jsx)(i.cl_,{id:"prefix",name:"prefix",onChange:e=>{D(e.target.value)},placeholder:"prefix",label:"Prefix",value:I}),(0,j.jsx)(p.A,{name:"tags",label:"Tags",elements:"",onChange:e=>{H(e)},keyPlaceholder:"Tag Key",valuePlaceholder:"Tag Value",withBorder:!0})]}),(0,j.jsxs)("fieldset",{className:"inputItem",children:[(0,j.jsx)("legend",{children:"Replication Options"}),(0,j.jsx)(i.dOG,{checked:q,id:"repExisting",name:"repExisting",label:"Existing Objects",onChange:e=>{W(e.target.checked)},description:"Replicate existing objects"}),(0,j.jsx)(i.dOG,{checked:J,id:"metadatataSync",name:"metadatataSync",label:"Metadata Sync",onChange:e=>{V(e.target.checked)},description:"Metadata Sync"}),(0,j.jsx)(i.dOG,{checked:P,id:"deleteMarker",name:"deleteMarker",label:"Delete Marker",onChange:e=>{U(e.target.checked)},description:"Replicate soft deletes"}),(0,j.jsx)(i.dOG,{checked:F,id:"repDelete",name:"repDelete",label:"Deletes",onChange:e=>{G(e.target.checked)},description:"Replicate versioned deletes"})]}),(0,j.jsxs)(i.xA9,{item:!0,xs:12,sx:{display:"flex",flexDirection:"row",justifyContent:"end",gap:10,paddingTop:10},children:[(0,j.jsx)(i.$nd,{id:"cancel",type:"button",variant:"regular",disabled:v,onClick:()=>{t(se)},label:"Cancel"}),(0,j.jsx)(i.$nd,{id:"submit",type:"submit",variant:"callAction",color:"primary",disabled:v||!le,label:"Save"})]})]})})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4860.8173be96.chunk.js b/web-app/build/static/js/4860.8173be96.chunk.js deleted file mode 100644 index 1bb0c240f4..0000000000 --- a/web-app/build/static/js/4860.8173be96.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4860],{74860:(e,s,l)=>{l.r(s),l.d(s,{default:()=>d});var n=l(9950),a=l(28429),h=l(20171),j=l(98734),t=l(93598),x=l(44414);const c=n.lazy(()=>l.e(9506).then(l.bind(l,49506))),p=n.lazy(()=>l.e(1004).then(l.bind(l,51004))),b=n.lazy(()=>l.e(5169).then(l.bind(l,95169))),d=()=>(0,x.jsxs)(a.BV,{children:[(0,x.jsx)(a.qh,{path:t.zZ.ADD_BUCKETS,element:(0,x.jsx)(n.Suspense,{fallback:(0,x.jsx)(j.A,{}),children:(0,x.jsx)(b,{})})}),(0,x.jsx)(a.qh,{path:"/",element:(0,x.jsx)(n.Suspense,{fallback:(0,x.jsx)(j.A,{}),children:(0,x.jsx)(c,{})})}),(0,x.jsx)(a.qh,{path:":bucketName/admin/*",element:(0,x.jsx)(n.Suspense,{fallback:(0,x.jsx)(j.A,{}),children:(0,x.jsx)(p,{})})}),(0,x.jsx)(a.qh,{element:(0,x.jsx)(a.C5,{to:"/buckets"}),path:"*"}),(0,x.jsx)(a.qh,{element:(0,x.jsx)(n.Suspense,{fallback:(0,x.jsx)(j.A,{}),children:(0,x.jsx)(h.A,{})})})]})}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4945.b4f6f750.chunk.js b/web-app/build/static/js/4945.b4f6f750.chunk.js deleted file mode 100644 index 40d126dc3b..0000000000 --- a/web-app/build/static/js/4945.b4f6f750.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4945],{32680:(e,t,l)=>{l.d(t,{A:()=>d});var a=l(9950),s=l(98341),r=l(89132),n=l(99491),o=l(49078),i=l(96382),c=l(44414);const d=e=>{let{onClose:t,modalOpen:l,title:d,children:u,wideLimit:p=!0,titleIcon:h=null,iconColor:f="default",sx:x}=e;const b=(0,n.jL)(),[m,y]=(0,a.useState)(!1),v=(0,s.d4)(e=>e.system.modalSnackBar);(0,a.useEffect)(()=>{b((0,o.h0)(""))},[b]),(0,a.useEffect)(()=>{if(v){if(""===v.message)return void y(!1);"error"!==v.type&&y(!0)}},[v]);let C="";return v&&(C=v.detailedErrorMsg,(""===C||C&&C.length<5)&&(C=v.message)),(0,c.jsxs)(r.ngX,{onClose:t,open:l,title:d,titleIcon:h,widthLimit:p,sx:x,iconColor:f,children:[(0,c.jsx)(i.A,{isModal:!0}),(0,c.jsx)(r.qb_,{onClose:()=>{y(!1),b((0,o.h0)(""))},open:m,message:C,mode:"inline",variant:"error"===v.type?"error":"default",autoHideDuration:"error"===v.type?10:5,condensed:!0}),u]})}},54945:(e,t,l)=>{l.r(t),l.d(t,{default:()=>p});var a=l(9950),s=l(32680),r=l(89132),n=l(70444),o=l(48965),i=l(45246),c=l(49078),d=l(99491),u=l(44414);const p=e=>{let{modalOpen:t,onClose:l,bucket:p,prefilledRoute:h}=e;const f=(0,d.jL)(),[x,b]=(0,a.useState)(""),[m,y]=(0,a.useState)("readonly");(0,a.useEffect)(()=>{h&&b(h)},[h]);return(0,u.jsx)(s.A,{modalOpen:t,title:"Add Anonymous Access Rule",onClose:l,titleIcon:(0,u.jsx)(r.No_,{}),children:(0,u.jsxs)(r.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,u.jsx)(r.cl_,{value:x,label:"Prefix",id:"prefix",name:"prefix",placeholder:"Enter Prefix",onChange:e=>{b(e.target.value)},tooltip:"Enter '/' to apply the rule to all prefixes and objects at the bucket root. Do not include the wildcard asterisk '*' as part of the prefix *unless* it is an explicit part of the prefix name. The Console automatically appends an asterisk to the appropriate sections of the resulting IAM policy."}),(0,u.jsx)(r.l6P,{id:"access",name:"Access",onChange:e=>{y(e)},label:"Access",value:m,options:[{label:"readonly",value:"readonly"},{label:"writeonly",value:"writeonly"},{label:"readwrite",value:"readwrite"}],disabled:!1,helpTip:(0,u.jsx)(a.Fragment,{children:"Select the desired level of access available to unauthenticated Users"}),helpTipPlacement:"right"}),(0,u.jsxs)(r.xA9,{item:!0,xs:12,sx:i.Uz.modalButtonBar,children:[(0,u.jsx)(r.$nd,{id:"clear",type:"button",variant:"regular",onClick:()=>{b(""),y("readonly")},label:"Clear"}),(0,u.jsx)(r.$nd,{id:"add-access-save",type:"submit",variant:"callAction",disabled:""===x.trim(),onClick:()=>{n.F.bucket.setAccessRuleWithBucket(p,{prefix:x,access:m}).then(e=>{f((0,c.Hk)("Access Rule added successfully")),l()}).catch(e=>{f((0,c.C9)((0,o.S)(e.error))),l()})},label:"Save"})]})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/4964.f7712fa8.chunk.js b/web-app/build/static/js/4964.f7712fa8.chunk.js deleted file mode 100644 index 9c3acf7cd0..0000000000 --- a/web-app/build/static/js/4964.f7712fa8.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4964],{10734:(e,t,n)=>{n.d(t,{G:()=>_});var r,i=n(9950),a=n(72004),o=n(77437),c=n(93008),l=n.n(c),u=n(62780),s=n.n(u),p=n(40821),f=n.n(p),h=n(21099),y=n.n(h),d=n(59418),m=n.n(d),b=n(76653),v=n(42143),g=n(62775),O=n(67628),A=n(91792),w=n(21570),x=n(95912),j=n(675),P=["layout","type","stroke","connectNulls","isRange","ref"],E=["key"];function S(e){return S="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},S(e)}function k(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t0||!m()(c,r)||!m()(l,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,i,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,r=t.dot,o=t.points,c=t.className,l=t.top,u=t.left,s=t.xAxis,p=t.yAxis,h=t.width,y=t.height,d=t.isAnimationActive,m=t.id;if(n||!o||!o.length)return null;var b=this.state.isAnimationFinished,v=1===o.length,A=(0,a.A)("recharts-area",c),w=s&&s.allowDataOverflow,x=p&&p.allowDataOverflow,P=w||x,E=f()(m)?this.id:m,S=null!==(e=(0,j.J9)(r,!1))&&void 0!==e?e:{r:3,strokeWidth:2},k=S.r,D=void 0===k?3:k,M=S.strokeWidth,R=void 0===M?2:M,C=((0,j.sT)(r)?r:{}).clipDot,N=void 0===C||C,W=2*D+R;return i.createElement(g.W,{className:A},w||x?i.createElement("defs",null,i.createElement("clipPath",{id:"clipPath-".concat(E)},i.createElement("rect",{x:w?u:u-h/2,y:x?l:l-y/2,width:w?h:2*h,height:x?y:2*y})),!N&&i.createElement("clipPath",{id:"clipPath-dots-".concat(E)},i.createElement("rect",{x:u-W/2,y:l-W/2,width:h+W,height:y+W}))):null,v?null:this.renderArea(P,E),(r||v)&&this.renderDots(P,N,E),(!d||b)&&O.Z.renderCallByParent(this.props,o))}}])&&C(n.prototype,r),c&&C(n,c),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,c}(i.PureComponent);r=_,T(_,"displayName","Area"),T(_,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!A.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),T(_,"getBaseValue",function(e,t,n,r){var i=e.layout,a=e.baseValue,o=t.props.baseValue,c=null!==o&&void 0!==o?o:a;if((0,w.Et)(c)&&"number"===typeof c)return c;var l="horizontal"===i?r:n,u=l.scale.domain();if("number"===l.type){var s=Math.max(u[0],u[1]),p=Math.min(u[0],u[1]);return"dataMin"===c?p:"dataMax"===c||s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===c?u[0]:"dataMax"===c?u[1]:u[0]}),T(_,"getComposedData",function(e){var t,n=e.props,i=e.item,a=e.xAxis,o=e.yAxis,c=e.xAxisTicks,l=e.yAxisTicks,u=e.bandSize,s=e.dataKey,p=e.stackedData,f=e.dataStartIndex,h=e.displayedData,y=e.offset,d=n.layout,m=p&&p.length,b=r.getBaseValue(n,i,a,o),v="horizontal"===d,g=!1,O=h.map(function(e,t){var n;m?n=p[f+t]:(n=(0,x.kr)(e,s),Array.isArray(n)?g=!0:n=[b,n]);var r=null==n[1]||m&&null==(0,x.kr)(e,s);return v?{x:(0,x.nb)({axis:a,ticks:c,bandSize:u,entry:e,index:t}),y:r?null:o.scale(n[1]),value:n,payload:e}:{x:r?null:a.scale(n[1]),y:(0,x.nb)({axis:o,ticks:l,bandSize:u,entry:e,index:t}),value:n,payload:e}});return t=m||g?O.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return v?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?a.scale(t):null,y:e.y}}):v?o.scale(b):a.scale(b),R({points:O,baseLine:t,layout:d,isRange:g},y)}),T(_,"renderDotItem",function(e,t){var n;if(i.isValidElement(e))n=i.cloneElement(e,t);else if(l()(e))n=e(t);else{var r=(0,a.A)("recharts-area-dot","boolean"!==typeof e?e.className:""),o=t.key,c=k(t,E);n=i.createElement(v.c,D({},c,{key:o,className:r}))}return n})},68354:(e,t,n)=>{n.d(t,{Q:()=>l});var r=n(3864),i=n(10734),a=n(60158),o=n(44813),c=n(71052),l=(0,r.gu)({chartName:"AreaChart",GraphicalChild:i.G,axisComponents:[{axisType:"xAxis",AxisComp:a.W},{axisType:"yAxis",AxisComp:o.h}],formatAxisMap:c.pr})},81095:(e,t,n)=>{n.d(t,{u:()=>m});var r=n(72004),i=n(9950),a=n(80492),o=n.n(a),c=n(21570),l=n(84824),u=n(675);function s(e){return s="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},s(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(e=o()(e,x,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),n=D.current.getBoundingClientRect(),r=n.width,i=n.height;return W(r,i),t.observe(D.current),function(){t.disconnect()}},[W,x]);var I=(0,i.useMemo)(function(){var e=C.containerWidth,t=C.containerHeight;if(e<0||t<0)return null;(0,l.R)((0,c._3)(h)||(0,c._3)(m),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",h,m),(0,l.R)(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=(0,c._3)(h)?e:h,a=(0,c._3)(m)?t:m;n&&n>0&&(r?a=r/n:a&&(r=a*n),O&&a>O&&(a=O)),(0,l.R)(r>0||a>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",r,a,h,m,v,g,n);var o=!Array.isArray(A)&&(0,u.Mn)(A.type).endsWith("Chart");return i.Children.map(A,function(e){return i.isValidElement(e)?(0,i.cloneElement)(e,f({width:r,height:a},o?{style:f({height:"100%",width:"100%",maxHeight:a,maxWidth:r},e.props.style)}:{})):e})},[n,A,m,O,g,v,C,h]);return i.createElement("div",{id:j?"".concat(j):void 0,className:(0,r.A)("recharts-responsive-container",P),style:f(f({},k),{},{width:h,height:m,minWidth:v,minHeight:g,maxHeight:O}),ref:D},I)})}}]); \ No newline at end of file diff --git a/web-app/build/static/js/5028.88444243.chunk.js b/web-app/build/static/js/5028.88444243.chunk.js deleted file mode 100644 index 5f736ed97e..0000000000 --- a/web-app/build/static/js/5028.88444243.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[5028],{55028:(e,s,n)=>{n.r(s),n.d(s,{default:()=>v});var t=n(9950),l=n(89132),i=n(98341),o=n(99491),r=n(31690),a=n(54576),d=n(49078),c=n(27428),x=n(2586),g=n(51536),h=n(87946),p=n.n(h),j=n(44414);const m="HH:mm:ss ZZZZ MM/dd/yyyy",u=e=>{const{log:s}=e,[n,i]=(0,t.useState)(!1),o=e=>p()(s,e,"");let r="",a=o("ConsoleMsg"),d=o("error.message");""!==a?r=a:""!==d&&(r=d);let c=(r||"").replace(/\u2501|\u250f|\u2513|\u2503|\u2517|\u251b/g,"");c=c.replace(/([^\x20-\x7F])/g,"");let x=(0,j.jsx)(t.Fragment,{});""!==a?x=(e=>{let s=e.ConsoleMsg;return s=s.replace(/\x1B/g," "),s=s.replace(/((\[[0-9;]+m))/g,""),(0,j.jsx)("div",{style:{display:"table",tableLayout:"fixed",width:"100%",paddingLeft:10,paddingRight:10},children:(0,j.jsx)("div",{style:{display:"table-cell",whiteSpace:"nowrap",textOverflow:"ellipsis",overflowX:"auto"},children:(0,j.jsx)("pre",{children:s})})})})(s):""!==d&&(x=(e=>{const s={color:"#C83B51",fontWeight:400,fontFamily:"monospace",fontSize:"12px"},n={fontFamily:"monospace",fontSize:"12px"},l=s=>p()(e,s,""),i=g.c9.fromFormat(e.time.toString(),"HH:mm:ss z MM/dd/yyyy",{zone:"UTC"});return(0,j.jsxs)(t.Fragment,{children:[(0,j.jsxs)("div",{children:[(0,j.jsx)("b",{style:n,children:"API:\xa0"}),(0,j.jsx)("span",{style:s,children:l("api.name")})]}),(0,j.jsxs)("div",{children:[(0,j.jsx)("b",{style:n,children:"Time:\xa0"}),(0,j.jsx)("span",{style:s,children:i.toFormat(m)})]}),(0,j.jsxs)("div",{children:[(0,j.jsx)("b",{style:n,children:"DeploymentID:\xa0"}),(0,j.jsx)("span",{style:s,children:l("deploymentid")})]}),(0,j.jsxs)("div",{children:[(0,j.jsx)("b",{style:n,children:"RequestID:\xa0"}),(0,j.jsx)("span",{style:s,children:l("requestID")})]}),(0,j.jsxs)("div",{children:[(0,j.jsx)("b",{style:n,children:"RemoteHost:\xa0"}),(0,j.jsx)("span",{style:s,children:l("remotehost")})]}),(0,j.jsxs)("div",{children:[(0,j.jsx)("b",{style:n,children:"UserAgent:\xa0"}),(0,j.jsx)("span",{style:s,children:l("userAgent")})]}),(0,j.jsxs)("div",{children:[(0,j.jsx)("b",{style:n,children:"Error:\xa0"}),(0,j.jsx)("span",{style:s,children:l("error.message")})]}),(0,j.jsx)("br",{}),(0,j.jsx)("div",{children:(0,j.jsx)("b",{style:n,children:"Backtrace:\xa0"})}),(e.error.source||[]).map((e,t)=>(0,j.jsxs)("div",{children:[(0,j.jsxs)("b",{style:n,children:[t,":\xa0"]}),(0,j.jsx)("span",{style:s,children:e})]}))]})})(s)),c=(c||"").replace(/((\[[0-9;]+m))/g,"");const h=g.c9.fromFormat(s.time.toString(),"HH:mm:ss z MM/dd/yyyy",{zone:"UTC"}),u=h.toJSDate();let y=(0,j.jsx)(t.Fragment,{children:h.toFormat(m)});return 1===u.getFullYear()&&(y=(0,j.jsx)(t.Fragment,{children:"n/a"})),(0,j.jsxs)(t.Fragment,{children:[(0,j.jsxs)(l.Hjg,{sx:{cursor:"pointer",borderLeft:"0",borderRight:"0"},children:[(0,j.jsx)(l.nA6,{onClick:()=>i(!n),sx:{width:280,color:"#989898",fontSize:12},children:(0,j.jsxs)(l.azJ,{sx:{display:"flex",gap:1,alignItems:"center","& .min-icon":{width:12,marginRight:1},fontWeight:"bold",lineHeight:1},children:[(0,j.jsx)(l.uwE,{}),(0,j.jsx)("div",{children:y})]})}),(0,j.jsx)(l.nA6,{onClick:()=>i(!n),sx:{width:200,color:"#989898",fontSize:12},children:(0,j.jsx)(l.azJ,{sx:{"& .min-icon":{width:12,marginRight:1},fontWeight:"bold",lineHeight:1},children:s.errKind})}),(0,j.jsx)(l.nA6,{onClick:()=>i(!n),children:(0,j.jsx)(l.azJ,{sx:{display:"table",tableLayout:"fixed",width:"100%",paddingLeft:10,paddingRight:10},children:(0,j.jsx)(l.azJ,{sx:{display:"table-cell",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},children:c})})}),(0,j.jsx)(l.nA6,{onClick:()=>i(!n),sx:{width:40},children:(0,j.jsx)(l.azJ,{sx:{"& .min-icon":{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"2px"},"&:hover .min-icon":{fill:"#eaeaea"}},children:n?(0,j.jsx)(l.Clq,{}):(0,j.jsx)(l.FZk,{})})})]}),n?(0,j.jsxs)(l.Hjg,{children:[(0,j.jsx)(l.nA6,{sx:{paddingBottom:0,paddingTop:0,width:200,textTransform:"uppercase",verticalAlign:"top",textAlign:"right",color:"#8399AB",fontWeight:"bold"},children:(0,j.jsx)(l.azJ,{sx:{marginTop:10},children:"Log Details"})}),(0,j.jsx)(l.nA6,{sx:{paddingBottom:0,paddingTop:0},colSpan:2,children:(0,j.jsx)(l.azJ,{sx:{margin:1,padding:4,fontSize:14},withBorders:!0,useBackground:!0,children:x})}),(0,j.jsx)(l.nA6,{sx:{paddingBottom:0,paddingTop:0,width:40}})]}):null]},h.toString())};var y=n(82817),b=n(98167),f=null;const v=()=>{const e=(0,o.jL)(),s=(0,i.d4)(e=>e.logs.logMessages),n=(0,i.d4)(e=>e.logs.logsStarted),[g,h]=(0,t.useState)(""),[p,m]=(0,t.useState)([""]),[v,w]=(0,t.useState)("all"),[A,S]=(0,t.useState)("Select user agent"),[C,k]=(0,t.useState)(["All User Agents"]),[z,L]=(0,t.useState)("all"),[F,B]=(0,t.useState)(!1),I=g.toLowerCase();let M=s.filter(e=>(e.userAgent===A||"All User Agents"===A||"Select user agent"===A)&&(""===g||(e.ConsoleMsg.toLowerCase().indexOf(I)>=0||(!!(e.error&&e.error.source&&e.error.source.filter(e=>e.toLowerCase().indexOf(I)>=0).length>0)||(!!(e.error&&e.error.message.toLowerCase().indexOf(I)>=0)||!!(e.api&&e.api.name.toLowerCase().indexOf(I)>=0))))));return(0,t.useEffect)(()=>{B(!0),x.A.invoke("GET","/api/v1/nodes").then(e=>{m(e),B(!1)}).catch(e=>{B(!1)})},[]),(0,t.useEffect)(()=>{e((0,d.ph)("error_logs"))},[]),(0,j.jsxs)(t.Fragment,{children:[(0,j.jsx)(y.A,{label:"Logs",actions:(0,j.jsx)(b.A,{})}),(0,j.jsx)(l.Mxu,{children:(0,j.jsxs)(l.xA9,{container:!0,sx:{gap:15},children:[(0,j.jsx)(l.xA9,{item:!0,xs:3,children:F?(0,j.jsx)("h3",{children:" Loading nodes"}):(0,j.jsx)(l.l6P,{id:"node-selector",name:"node","data-test-id":"node-selector",value:v,onChange:e=>{w(e)},disabled:F||n,options:[{label:"All Nodes",value:"all"},...p.map(e=>({label:e,value:e}))]})}),(0,j.jsx)(l.xA9,{item:!0,xs:3,children:(0,j.jsx)(l.l6P,{id:"logType",name:"logType","data-test-id":"log-type",value:z,onChange:e=>{L(e)},disabled:F||n,options:[{value:"all",label:"All Log Types"},{value:"minio",label:"MinIO"},{value:"application",label:"Application"}]})}),(0,j.jsx)(l.xA9,{item:!0,xs:3,children:C.length>1&&(0,j.jsx)(l.l6P,{id:"userAgent",name:"userAgent","data-test-id":"user-agent",value:A,onChange:e=>{S(e)},disabled:C.length<1||n,options:C.map(e=>({label:e,value:e}))})}),(0,j.jsxs)(l.xA9,{item:!0,xs:2,sx:{display:"flex",justifyContent:"flex-end"},children:[!n&&(0,j.jsx)(l.$nd,{id:"start-logs",type:"submit",variant:"callAction",disabled:!1,onClick:()=>{e((0,a.Ib)());const s=new URL(window.location.toString()),n=s.port,t=(0,r.nw)(s.protocol),l=new URL(document.baseURI).pathname;f=new WebSocket("".concat(t,"://").concat(s.hostname,":").concat(n).concat(l,"ws/console/?logType=").concat(z,"&node=").concat("Select node"===v?"":v));let i=null;if(null!==f)return f.onopen=()=>{console.log("WebSocket Client Connected"),e((0,a.xW)(!0)),f.send("ok"),i=setInterval(()=>{f.send("ok")},1e4)},f.onmessage=s=>{let n=JSON.parse(s.data.toString()),t=!0;""===n.level&&""===n.errKind&&"00:00:00 UTC 01/01/0001"===n.time&&""===n.ConsoleMsg&&""===n.node&&(t=!1),n.key=Math.random(),C.indexOf(n.userAgent)<0&&void 0!==n.userAgent&&(C.push(n.userAgent),k(C)),t&&e((0,a.Jb)(n))},f.onclose=()=>{clearInterval(i),console.log("connection closed by server"),e((0,a.xW)(!1))},()=>{f.close(1e3),clearInterval(i),console.log("closing websockets"),e((0,a.xW)(!1))}},label:"Start Logs"}),n&&(0,j.jsx)(l.$nd,{id:"stop-logs",type:"button",variant:"callAction",onClick:()=>{null!==f&&void 0!==f&&(f.close(1e3),e((0,a.xW)(!1)))},label:"Stop Logs"})]}),(0,j.jsx)(l.xA9,{item:!0,xs:12,sx:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem","& button":{flexGrow:0,marginLeft:8,marginBottom:0}},children:(0,j.jsx)(c.A,{placeholder:"Filter",onChange:e=>{h(e)},value:g})}),(0,j.jsx)(l.xA9,{item:!0,xs:12,children:(0,j.jsx)(l.azJ,{id:"logs-container","data-test-id":"logs-list-container",sx:{minHeight:400,height:"calc(100vh - 200px)",overflow:"auto",fontSize:13,borderRadius:4},children:(0,j.jsxs)(l.azJ,{withBorders:!0,customBorderPadding:"0px",useBackground:!0,children:[(0,j.jsx)(l.XIK,{"aria-label":"collapsible table",children:(0,j.jsx)(l.BFY,{children:M.map(e=>(0,j.jsx)(u,{log:e}))})}),0===M.length&&(0,j.jsx)(l.azJ,{sx:{padding:20,textAlign:"center"},children:"No logs to display"})]})})})]})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/5169.f67830ab.chunk.js b/web-app/build/static/js/5169.f67830ab.chunk.js deleted file mode 100644 index 8a323f1770..0000000000 --- a/web-app/build/static/js/5169.f67830ab.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[5169],{54235:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(9950),s=n(87946),r=n.n(s),a=n(89132),o=n(44414);const l=e=>{let{elements:t,name:n,label:s,tooltip:l="",commonPlaceholder:c="",onChange:d,withBorder:u=!1}=e;const[x,h]=(0,i.useState)([""]),m=(0,i.createRef)();(0,i.useEffect)(()=>{if(1===x.length&&""===x[0]&&t&&""!==t){const e=t.split(",");e.push(""),h(e)}},[t,x]),(0,i.useEffect)(()=>{if(x.length>1){const e=m.current;e&&e.scrollIntoView(!1)}},[x,m]);const b=(0,i.useCallback)(e=>{d(e)},[d]),j=(0,i.useRef)(!0);(0,i.useEffect)(()=>{if(j.current)return void(j.current=!1);const e=x.filter(e=>""!==e.trim()).join(",");b(e)},[x]);const g=e=>{e.persist();let t=[...x];const n=r()(e.target,"dataset.index","0");t[parseInt(n)]=e.target.value,h(t)},p=x.map((e,t)=>(0,o.jsx)(a.cl_,{id:"".concat(n,"-").concat(t.toString()),label:"",name:"".concat(n,"-").concat(t.toString()),value:x[t],onChange:g,index:t,placeholder:c,overlayIcon:t===x.length-1?(0,o.jsx)(a.REV,{}):null,overlayAction:()=>{(e=>{if(""!==e[e.length-1].trim()){const t=[...e];t.push(""),h(t)}})(x)}},"csv-multi-".concat(n,"-").concat(t.toString())));return(0,o.jsx)(i.Fragment,{children:(0,o.jsxs)(a.azJ,{sx:{display:"flex"},className:"inputItem",children:[(0,o.jsxs)(a.l1Y,{sx:{alignItems:"flex-start"},children:[(0,o.jsx)("span",{children:s}),""!==l&&(0,o.jsx)(a.azJ,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,o.jsx)(a.m_M,{tooltip:l,placement:"top",children:(0,o.jsx)(a.azJ,{className:l,children:(0,o.jsx)(a.NTw,{})})})})]}),(0,o.jsxs)(a.azJ,{withBorders:u,sx:{width:"100%",overflowY:"auto",height:150,position:"relative"},children:[p,(0,o.jsx)("div",{ref:m})]})]})})}},58093:(e,t,n)=>{n.d(t,{A:()=>d});var i=n(9950),s=n(89132),r=n(19335),a=n(87946),o=n.n(a),l=n(44414);const c=r.Ay.button(e=>{let{theme:t}=e;return{border:"1px solid ".concat(o()(t,"borderColor","#E2E2E2")),borderRadius:3,color:o()(t,"secondaryText","#5B5C5C"),backgroundColor:o()(t,"boxBackground","#FBFAFA"),fontSize:12}}),d=e=>{let{id:t,unitSelected:n,unitsList:r,disabled:a=!1,onUnitChange:o}=e;const[d,u]=i.useState(null),x=Boolean(d),h=e=>{u(null),""!==e&&o&&o(e)};return(0,l.jsxs)(i.Fragment,{children:[(0,l.jsx)(c,{id:"".concat(t,"-button"),"aria-controls":"".concat(t,"-menu"),"aria-haspopup":"true","aria-expanded":x?"true":void 0,onClick:e=>{u(e.currentTarget)},disabled:a,type:"button",children:n}),(0,l.jsx)(s.Vey,{id:"upload-main-menu",options:r,selectedOption:"",onSelect:e=>h(e),hideTriggerAction:()=>{h("")},open:x,anchorEl:d,anchorOrigin:"end"})]})}},95169:(e,t,n)=>{n.r(t),n.d(t,{default:()=>E});var i=n(9950),s=n(19335),r=n(87946),a=n.n(r),o=n(28429),l=n(89132),c=n(59908),d=n(99491),u=n(98341),x=n(49078),h=n(58093),m=n(30272),b=n(43785),j=n(24157),g=n(44414);const p=e=>{let{hasErrors:t}=e;const n=(0,d.jL)(),i=(0,u.d4)(e=>e.addBucket.name);return(0,g.jsx)(l.cl_,{id:"bucket-name",name:"bucket-name",error:t?"Invalid bucket name":"",onFocus:()=>{n((0,b.Xb)(!0))},onChange:e=>{n((0,b.i)(e.target.value))},label:"Bucket Name",value:i,required:!0})};var f=n(93598),k=n(26843);const v=e=>{let{ruleText:t}=e;return(0,g.jsx)(i.Fragment,{children:(0,g.jsxs)(l.xA9,{container:!0,style:{display:"flex",justifyContent:"flex-start"},children:[(0,g.jsx)(l.xA9,{item:!0,xs:1,children:(0,g.jsx)(l.$rg,{width:"16px",height:"16px",style:{color:"#18BF42"}})}),(0,g.jsx)(l.xA9,{item:!0,xs:9,sx:{color:"#8f949c",display:"flex",justifyContent:"flex-start"},children:t})]})})},T=e=>{let{ruleText:t}=e;return(0,g.jsx)(i.Fragment,{children:(0,g.jsxs)(l.xA9,{container:!0,sx:{color:"#C83B51",display:"flex",justifyContent:"flex-start"},children:[(0,g.jsx)(l.xA9,{item:!0,xs:1,sx:{paddingRight:1},children:(0,g.jsx)(l.xWY,{width:"16px",height:"16px"})}),(0,g.jsx)(l.xA9,{item:!0,xs:9,sx:{color:"#C83B51",display:"flex",justifyContent:"flex-start",paddingLeft:1},children:t})]})})},C=e=>{let{ruleText:t}=e;return(0,g.jsx)(i.Fragment,{children:(0,g.jsxs)(l.xA9,{container:!0,sx:{display:"flex",justifyContent:"flex-start"},children:[(0,g.jsx)(l.xA9,{item:!0,xs:1,children:(0,g.jsx)(l.GQ2,{width:"12px",height:"12px",style:{color:"#8f949c"}})}),(0,g.jsx)(l.xA9,{item:!0,xs:9,sx:{color:"#8f949c",display:"flex",justifyContent:"flex-start"},style:{},children:t})]})})},y=e=>{let{errorList:t}=e;const n="Bucket names must be between 3 (min) and 63 (max) characters long.",s="Bucket names can consist only of lowercase letters, numbers, dots (.), and hyphens (-).",r="Bucket names must not contain two adjacent periods, or a period adjacent to a hyphen.",a="Bucket names must not be formatted as an IP address (for example, 192.168.5.4).",o="Bucket names must not start with the prefix xn--.",c="Bucket names must not end with the suffix -s3alias. This suffix is reserved for access point alias names.",d="Bucket names must be unique within a partition.",x=(0,u.d4)(e=>e.addBucket.name),[h,m]=(0,i.useState)(!1),b=(0,u.d4)(e=>e.addBucket.loading),[j,p,f,k,y,B,_]=t;return(0,g.jsxs)(i.Fragment,{children:[(0,g.jsx)(l.J2w,{id:"toggle-naming-rules",type:"button",open:h,label:"".concat(h?"Hide":"View"," Bucket Naming Rules"),onClick:()=>{m(!h)}}),h&&(0,g.jsxs)(l.xA9,{container:!0,sx:{fontSize:14,paddingTop:12},children:[(0,g.jsxs)(l.xA9,{item:!0,xs:6,children:[0===x.length?(0,g.jsx)(C,{ruleText:n}):j?(0,g.jsx)(v,{ruleText:n}):(0,g.jsx)(T,{ruleText:n}),0===x.length?(0,g.jsx)(C,{ruleText:s}):p?(0,g.jsx)(v,{ruleText:s}):(0,g.jsx)(T,{ruleText:s}),0===x.length?(0,g.jsx)(C,{ruleText:r}):f?(0,g.jsx)(v,{ruleText:r}):(0,g.jsx)(T,{ruleText:r}),0===x.length?(0,g.jsx)(C,{ruleText:a}):k?(0,g.jsx)(v,{ruleText:a}):(0,g.jsx)(T,{ruleText:a})]}),(0,g.jsxs)(l.xA9,{item:!0,xs:6,children:[0===x.length?(0,g.jsx)(C,{ruleText:o}):y?(0,g.jsx)(v,{ruleText:o}):(0,g.jsx)(T,{ruleText:o}),0===x.length?(0,g.jsx)(C,{ruleText:c}):B?(0,g.jsx)(v,{ruleText:c}):(0,g.jsx)(T,{ruleText:c}),0===x.length?(0,g.jsx)(C,{ruleText:d}):_?(0,g.jsx)(v,{ruleText:d}):(0,g.jsx)(T,{ruleText:d})]})]}),b&&(0,g.jsx)(l.xA9,{item:!0,xs:12,children:(0,g.jsx)(l.z21,{})})]})};var B=n(82817),_=n(70444),O=n(48965),S=n(98167),w=n(54235);const A=s.Ay.div(e=>{let{theme:t}=e;return{color:a()(t,"signalColors.danger","#C51B3F"),border:"1px solid ".concat(a()(t,"signalColors.danger","#C51B3F")),padding:8,borderRadius:3}}),E=()=>{const e=(0,d.jL)(),t=(0,o.Zp)(),n=new RegExp("^[a-z0-9][a-z0-9\\.\\-]{1,61}[a-z0-9]$"),s=new RegExp("^(\\d+\\.){3}\\d+$"),r=(0,u.d4)(e=>e.addBucket.name),a=(0,u.d4)(e=>e.addBucket.isDirty),[v,T]=(0,i.useState)([]),C=v.filter(e=>!e).length>0,[E,F]=(0,i.useState)([]),V=(0,u.d4)(e=>e.addBucket.versioningEnabled),I=(0,u.d4)(e=>e.addBucket.excludeFolders),N=(0,u.d4)(e=>e.addBucket.excludedPrefixes),P=(0,u.d4)(e=>e.addBucket.lockingEnabled),U=(0,u.d4)(e=>e.addBucket.quotaEnabled),R=(0,u.d4)(e=>e.addBucket.quotaSize),q=(0,u.d4)(e=>e.addBucket.quotaUnit),z=(0,u.d4)(e=>e.addBucket.retentionEnabled),L=(0,u.d4)(e=>e.addBucket.retentionMode),G=(0,u.d4)(e=>e.addBucket.retentionUnit),M=(0,u.d4)(e=>e.addBucket.retentionValidity),J=(0,u.d4)(e=>e.addBucket.loading),K=(0,u.d4)(e=>e.addBucket.error),Y=(0,u.d4)(e=>e.addBucket.invalidFields),D=(0,u.d4)(e=>e.addBucket.lockingFieldDisabled),$=(0,u.d4)(x.Rq),Q=(0,u.d4)(x.nM),W=(0,u.d4)(e=>e.addBucket.navigateTo),H=(0,k._)("*",[f.OV.S3_PUT_BUCKET_VERSIONING,f.OV.S3_PUT_BUCKET_OBJECT_LOCK_CONFIGURATION,f.OV.S3_PUT_ACTIONS],!0),X=(0,k._)("*",[f.OV.S3_PUT_BUCKET_VERSIONING,f.OV.S3_PUT_ACTIONS]);(0,i.useEffect)(()=>{K&&e((0,x.C9)((0,O.S)(K)))},[K,e]),(0,i.useEffect)(()=>{const e=[!(a&&(r.length<3||r.length>63)),n.test(r),!(r.includes(".-")||r.includes("-.")||r.includes("..")),!s.test(r),!r.startsWith("xn--"),!r.endsWith("-s3alias"),!E.includes(r)];T(e)},[r,a]),(0,i.useEffect)(()=>{e((0,b.i)("")),e((0,b.Xb)(!1));_.F.buckets.listBuckets().then(t=>{if(t.data){var n=[];null!=t.data.buckets&&t.data.buckets.length>0&&t.data.buckets.forEach(e=>{n.push(e.name)}),F(n)}else t.error&&e((0,x.C9)((0,O.S)(t.error)))}).catch(t=>{e((0,x.C9)((0,O.S)(t)))})},[e]);return(0,i.useEffect)(()=>{if(""!==W){const n="".concat(W);e((0,b.E2)()),t(n)}},[W,t,e]),(0,i.useEffect)(()=>{e((0,x.ph)("add_bucket"))},[]),(0,g.jsxs)(i.Fragment,{children:[(0,g.jsx)(B.A,{label:(0,g.jsx)(l.EGL,{label:"Buckets",onClick:()=>t("/buckets")}),actions:(0,g.jsx)(S.A,{})}),(0,g.jsx)(l.Mxu,{children:(0,g.jsx)(l.Hbc,{title:"Create Bucket",icon:(0,g.jsx)(l.brV,{}),helpBox:(0,g.jsx)(l.lVp,{iconComponent:(0,g.jsx)(l.brV,{}),title:"Buckets",help:(0,g.jsxs)(i.Fragment,{children:["MinIO uses buckets to organize objects. A bucket is similar to a folder or directory in a filesystem, where each bucket can hold an arbitrary number of objects.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),(0,g.jsx)("b",{children:"Versioning"})," allows to keep multiple versions of the same object under the same key.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),(0,g.jsx)("b",{children:"Object Locking"})," prevents objects from being deleted. Required to support retention and legal hold. Can only be enabled at bucket creation.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),(0,g.jsx)("b",{children:"Quota"})," limits the amount of data in the bucket.",H&&(0,g.jsxs)(i.Fragment,{children:[(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),(0,g.jsx)("b",{children:"Retention"})," imposes rules to prevent object deletion for a period of time. Versioning must be enabled in order to set bucket retention policies."]}),(0,g.jsx)("br",{}),(0,g.jsx)("br",{})]})}),children:(0,g.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:t=>{t.preventDefault(),e((0,j._)())},children:[(0,g.jsxs)(l.azJ,{children:[(0,g.jsx)(p,{hasErrors:C}),(0,g.jsx)(l.azJ,{sx:{margin:"10px 0"},children:(0,g.jsx)(y,{errorList:v})}),(0,g.jsx)(l._xt,{separator:!0,children:"Features"}),(0,g.jsxs)(l.azJ,{sx:{marginTop:10},children:[!$&&(0,g.jsxs)(i.Fragment,{children:[(0,g.jsxs)(A,{children:["These features are unavailable in a single-disk setup.",(0,g.jsx)("br",{}),"Please deploy a server in"," ",(0,g.jsx)("a",{href:"https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-multi-node-multi-drive.html",target:"_blank",rel:"noopener",children:"Distributed Mode"})," ","to use these features."]}),(0,g.jsx)("br",{}),(0,g.jsx)("br",{})]}),Q.enabled&&(0,g.jsxs)(i.Fragment,{children:[(0,g.jsx)("br",{}),(0,g.jsxs)(l.azJ,{withBorders:!0,sx:{display:"flex",alignItems:"center",padding:"10px","& > .min-icon ":{width:20,height:20,marginRight:10}},children:[(0,g.jsx)(l.mo0,{})," Versioning setting cannot be changed as cluster replication is enabled for this site."]}),(0,g.jsx)("br",{})]}),(0,g.jsx)(l.dOG,{value:"versioned",id:"versioned",name:"versioned",checked:V,onChange:t=>{e((0,b.tr)(t.target.checked))},label:"Versioning",disabled:!$||P||Q.enabled||!X,tooltip:X?"":(0,f.vj)([f.OV.S3_PUT_BUCKET_VERSIONING,f.OV.S3_PUT_ACTIONS],"Versioning"),helpTip:(0,g.jsxs)(i.Fragment,{children:[P&&V&&(0,g.jsxs)("strong",{children:[" ","You must disable Object Locking before Versioning can be disabled ",(0,g.jsx)("br",{})]}),"MinIO supports keeping multiple"," ",(0,g.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/object-versioning.html#minio-bucket-versioning",target:"blank",children:"versions"})," ","of an object in a single bucket.",(0,g.jsx)("br",{}),"Versioning is required to enable"," ",(0,g.jsx)("a",{href:"https://min.io/docs/minio/macos/administration/object-management.html#object-retention",target:"blank",children:"Object Locking"})," ","and"," ",(0,g.jsx)("a",{href:"https://min.io/docs/minio/macos/administration/object-management/object-retention.html#object-retention-modes",target:"blank",children:"Retention"}),"."]}),helpTipPlacement:"right"}),V&&$&&!P&&(0,g.jsxs)(i.Fragment,{children:[(0,g.jsx)(l.dOG,{id:"excludeFolders",label:"Exclude Folders",checked:I,onChange:t=>{e((0,b.uQ)(t.target.checked))},indicatorLabels:["Enabled","Disabled"],helpTip:(0,g.jsxs)(i.Fragment,{children:["You can choose to"," ",(0,g.jsx)("a",{href:"https://min.io/docs/minio/windows/administration/object-management/object-versioning.html#exclude-folders-from-versioning",children:"exclude folders and prefixes"})," ","from versioning if Object Locking is not enabled.",(0,g.jsx)("br",{}),"MinIO requires versioning to support replication.",(0,g.jsx)("br",{}),"Objects in excluded prefixes do not replicate to any peer site or remote site."]}),helpTipPlacement:"right"}),(0,g.jsx)(w.A,{elements:N,label:"Excluded Prefixes",name:"excludedPrefixes",onChange:t=>{let n="";n=Array.isArray(t)?t.join(","):t,e((0,b.pw)(n))},withBorder:!0})]}),(0,g.jsx)(l.dOG,{value:"locking",id:"locking",name:"locking",disabled:D||!$||!H,checked:P,onChange:t=>{e((0,b.SO)(t.target.checked)),t.target.checked&&!Q.enabled&&e((0,b.tr)(!0))},label:"Object Locking",tooltip:H?"":(0,f.vj)([f.OV.S3_PUT_BUCKET_VERSIONING,f.OV.S3_PUT_BUCKET_OBJECT_LOCK_CONFIGURATION,f.OV.S3_PUT_ACTIONS],"Locking"),helpTip:(0,g.jsxs)(i.Fragment,{children:[z&&(0,g.jsxs)("strong",{children:[" ","You must disable Retention before Object Locking can be disabled ",(0,g.jsx)("br",{})]}),"You can only enable"," ",(0,g.jsx)("a",{href:"https://min.io/docs/minio/macos/administration/object-management.html#object-retention",target:"blank",children:"Object Locking"})," ","when first creating a bucket.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),(0,g.jsx)("a",{href:"https://min.io/docs/minio/windows/administration/object-management/object-versioning.html#exclude-folders-from-versioning",children:"Exclude folders and prefixes"})," ","options will not be available if this option is enabled."]}),helpTipPlacement:"right"}),(0,g.jsx)(l.dOG,{value:"bucket_quota",id:"bucket_quota",name:"bucket_quota",checked:U,onChange:t=>{e((0,b.N2)(t.target.checked))},label:"Quota",disabled:!$,helpTip:(0,g.jsxs)(i.Fragment,{children:["Setting a"," ",(0,g.jsx)("a",{href:"https://min.io/docs/minio/linux/reference/minio-mc/mc-quota-set.html",target:"blank",children:"quota"})," ","assigns a hard limit to a bucket beyond which MinIO does not allow writes."]}),helpTipPlacement:"right"}),U&&$&&(0,g.jsx)(i.Fragment,{children:(0,g.jsx)(l.cl_,{type:"string",id:"quota_size",name:"quota_size",onChange:t=>{e((0,b.A1)(t.target.value))},label:"Capacity",value:R,required:!0,min:"1",overlayObject:(0,g.jsx)(h.A,{id:"quota_unit",onUnitChange:t=>{e((0,b.rS)(t))},unitSelected:q,unitsList:(0,c.l9)(["Ki"]),disabled:!1}),error:Y.includes("quotaSize")?"Please enter a valid quota":""})}),V&&$&&H&&(0,g.jsx)(l.dOG,{value:"bucket_retention",id:"bucket_retention",name:"bucket_retention",checked:z,onChange:t=>{e((0,b.VB)(t.target.checked))},label:"Retention",helpTip:(0,g.jsxs)(i.Fragment,{children:["MinIO supports setting both"," ",(0,g.jsx)("a",{href:"https://min.io/docs/minio/macos/administration/object-management/object-retention.html#configure-bucket-default-object-retention",target:"blank",children:"bucket-default"})," ","and per-object retention rules.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{})," For per-object retention settings, defer to the documentation for the PUT operation used by your preferred SDK."]}),helpTipPlacement:"right"}),z&&$&&(0,g.jsxs)(i.Fragment,{children:[(0,g.jsx)(l.z6M,{currentValue:L,id:"retention_mode",name:"retention_mode",label:"Mode",onChange:t=>{e((0,b.Og)(t.target.value))},selectorOptions:[{value:"compliance",label:"Compliance"},{value:"governance",label:"Governance"}],helpTip:(0,g.jsxs)(i.Fragment,{children:[" ",(0,g.jsx)("a",{href:"https://min.io/docs/minio/macos/administration/object-management/object-retention.html#minio-object-locking-compliance",target:"blank",children:"Compliance"})," ","lock protects Objects from write operations by all users, including the MinIO root user.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),(0,g.jsx)("a",{href:"https://min.io/docs/minio/macos/administration/object-management/object-retention.html#minio-object-locking-governance",target:"blank",children:"Governance"})," ","lock protects Objects from write operations by non-privileged users."]}),helpTipPlacement:"right"}),(0,g.jsx)(l.cl_,{type:"number",id:"retention_validity",name:"retention_validity",onChange:t=>{e((0,b.VY)(t.target.valueAsNumber))},label:"Validity",value:String(M),required:!0,overlayObject:(0,g.jsx)(h.A,{id:"retention_unit",onUnitChange:t=>{e((0,b.JW)(t))},unitSelected:G,unitsList:[{value:"days",label:"Days"},{value:"years",label:"Years"}],disabled:!1})})]})]})]}),(0,g.jsxs)(l.xA9,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:10,marginTop:15},children:[(0,g.jsx)(l.$nd,{id:"clear",type:"button",variant:"regular",className:"clearButton",onClick:()=>{e((0,b.E2)())},label:"Clear"}),(0,g.jsx)(m.A,{tooltip:Y.length>0||!a||C?"You must apply a valid name to the bucket":"",children:(0,g.jsx)(l.$nd,{id:"create-bucket",type:"submit",variant:"callAction",color:"primary",disabled:J||Y.length>0||!a||C,label:"Create Bucket"})})]}),J&&(0,g.jsx)(l.xA9,{item:!0,xs:12,children:(0,g.jsx)(l.z21,{})})]})})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/5238.1b851f9f.chunk.js b/web-app/build/static/js/5238.1b851f9f.chunk.js deleted file mode 100644 index a097824410..0000000000 --- a/web-app/build/static/js/5238.1b851f9f.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[5238],{15238:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r=n(89379),o=n(9950),i=n(98341),a=n(28429),s=n(89132),c=n(45246),l=n(94797),d=n(93598),p=n(26843),u=n(55604),x=n(27428),h=n(75054),f=n(44414);const m={display:"grid",gridTemplateColumns:"70px 1fr",gap:15},y=e=>{let{search:t="",children:n=""}=e;const r=new RegExp("(".concat(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),")"),"i"),o=String(n).split(r);return t?o.map((e,t)=>r.test(e)?(0,f.jsx)("mark",{children:e},t):e):n},b=e=>{let{policyStatements:t}=e;const[n,r]=(0,o.useState)("");return(0,f.jsxs)(s.xA9,{container:!0,children:[(0,f.jsx)(s.xA9,{item:!0,xs:12,children:(0,f.jsxs)(s.xA9,{container:!0,sx:{display:"flex",alignItems:"center"},children:[(0,f.jsx)(s.V7x,{content:(0,f.jsxs)(o.Fragment,{children:["Define which actions are permitted on a specified resource. Learn more about"," ",(0,f.jsx)("a",{target:"blank",href:"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html",children:"IAM conditional statements"}),"."]}),placement:"right",children:(0,f.jsx)(s.xA9,{item:!0,xs:12,sm:6,sx:{fontWeight:"bold"},children:"Statements"})}),(0,f.jsx)(s.xA9,{item:!0,xs:12,sm:6,sx:{display:"flex",justifyContent:"flex-end"},children:(0,f.jsx)(x.A,{placeholder:"Search",onChange:r,value:n,sx:{maxWidth:380}})})]})}),!t&&(0,f.jsx)(o.Fragment,{children:"Policy has no statements"}),t&&(0,f.jsx)(s.xA9,{item:!0,xs:12,sx:{"& .policy-row":{borderBottom:"1px solid #eaeaea"},"& .policy-row:first-child":{borderTop:"1px solid #eaeaea"},"& .policy-row:last-child":{borderBottom:"0px"},paddingTop:"15px","& mark":{color:"#000000",fontWeight:500}},children:t.map((e,t)=>{const r=e.Effect,o="Allow"===r;return(0,f.jsxs)(s.azJ,{className:"policy-row",sx:{display:"grid",gridTemplateColumns:"1fr",gap:"15px",fontSize:"14px",padding:"10px 0 10px 0","& .label":{fontWeight:600}},children:[(0,f.jsxs)(s.azJ,{sx:m,children:[(0,f.jsx)(s.azJ,{className:"label",children:"Effect:"}),(0,f.jsxs)(s.azJ,{sx:{display:"flex",alignItems:"center","& .min-icon":{marginRight:"5px",fill:o?h.Ez.GREEN:h.Ez.RED,height:"14px",width:"14px"}},children:[o?(0,f.jsx)(s.xhy,{}):(0,f.jsx)(s.aaC,{}),r]})]}),(0,f.jsxs)(s.xA9,{container:!0,sx:{gap:15},children:[(0,f.jsxs)(s.xA9,{item:!0,xs:12,sm:6,sx:m,children:[(0,f.jsx)(s.azJ,{className:"label",children:"Actions:"}),(0,f.jsx)(s.azJ,{children:e.Action&&e.Action.map((e,r)=>(0,f.jsx)("div",{children:(0,f.jsx)(y,{search:n,children:e})},"".concat(t,"-r-").concat(r)))})]}),(0,f.jsxs)(s.xA9,{item:!0,xs:12,sm:6,sx:m,children:[(0,f.jsx)(s.azJ,{className:"label",children:"Resources:"}),(0,f.jsx)(s.azJ,{children:e.Resource&&e.Resource.map((e,r)=>(0,f.jsxs)("div",{children:[" ",(0,f.jsx)(y,{search:n,children:e})]},"".concat(t,"-r-").concat(r)))})]})]})]},"".concat(t))})})]})};var g=n(49078),j=n(86070),v=n(99491),C=n(30272),w=n(82817),A=n(70444),P=n(98167);const O=(0,u.A)(o.lazy(()=>n.e(4043).then(n.bind(n,54043)))),S=()=>{const e=(0,v.jL)(),t=(0,a.Zp)(),n=(0,a.g)(),u=(0,i.d4)(j.s$),[h,m]=(0,o.useState)(null),[y,S]=(0,o.useState)([]),[_,E]=(0,o.useState)([]),[R,k]=(0,o.useState)([]),[D,M]=(0,o.useState)(!1),T=n.policyName||"",[F,z]=(0,o.useState)(""),[I,N]=(0,o.useState)(!0),[U,B]=(0,o.useState)(""),[J,L]=(0,o.useState)(!0),[G,$]=(0,o.useState)(""),[H,W]=(0,o.useState)(!0),[Z,V]=(0,o.useState)(!1),[Y,K]=(0,o.useState)("summary"),Q=u&&u.includes("ldap-idp")||!1,X=(0,p._)(d.Ms,d.qA,!0),q=(0,p._)(d.Ms,d.Oh,!0),ee=(0,p._)(d.Ms,d.x6,!0),te=(0,p._)(d.Ms,d.Ld,!0),ne=(0,p._)(d.Ms,d.yv,!0),re=(0,p._)(d.Ms,d.uA,!0),oe=(0,p._)(d.Ms,d.nr,!0);(0,o.useEffect)(()=>{I&&(I&&(ne?A.F.policy.policyInfo(T).then(e=>{if(e.data){var t,n;m(e.data),z(e?JSON.stringify(JSON.parse(null===(t=e.data)||void 0===t?void 0:t.policy),null,4):"");const r=JSON.parse(null===(n=e.data)||void 0===n?void 0:n.policy);S(r.Statement)}N(!1)}).catch(t=>{e((0,g.C9)(t)),N(!1)}):N(!1)),J&&(ee&&!Q?A.F.policies.listUsersForPolicy(T).then(e=>{var t;E(null!==(t=e.data)&&void 0!==t?t:[]),L(!1)}).catch(t=>{e((0,g.C9)(t)),L(!1)}):L(!1)),H&&(X&&!Q?A.F.policies.listGroupsForPolicy(T).then(e=>{var t;k(null!==(t=e.data)&&void 0!==t?t:[]),W(!1)}).catch(t=>{e((0,g.C9)(t)),W(!1)}):W(!1)))},[T,I,J,H,E,k,z,m,L,W,ee,X,ne,Q,e]);const ie=""!==T.trim(),ae=[{type:"view",onClick:e=>{t("".concat(d.zZ.USERS,"/").concat(encodeURIComponent(e)))},disableButtonFunction:()=>!te}],se=_.filter(e=>e.includes(U)),ce=[{type:"view",onClick:e=>{t("".concat(d.zZ.GROUPS,"/").concat(encodeURIComponent(e)))},disableButtonFunction:()=>!q}],le=R.filter(e=>e.includes(G)),de=()=>{L(!0),W(!0),N(!0)};return(0,o.useEffect)(()=>{e((0,g.ph)("policy_details_summary"))},[]),(0,f.jsxs)(o.Fragment,{children:[Z&&(0,f.jsx)(O,{deleteOpen:Z,selectedPolicy:T,closeDeleteModalAndRefresh:e=>{V(!1),t(d.zZ.POLICIES)}}),(0,f.jsx)(w.A,{label:(0,f.jsx)(o.Fragment,{children:(0,f.jsx)(s.EGL,{label:"Policy",onClick:()=>t(d.zZ.POLICIES)})}),actions:(0,f.jsx)(P.A,{})}),(0,f.jsxs)(s.Mxu,{children:[(0,f.jsx)(s.lcx,{icon:(0,f.jsx)(s.n$X,{width:40}),title:T,subTitle:(0,f.jsx)(o.Fragment,{children:"IAM Policy"}),actions:(0,f.jsxs)(o.Fragment,{children:[(0,f.jsx)(p.R,{scopes:[d.OV.ADMIN_DELETE_POLICY],resource:d.Ms,errorProps:{disabled:!0},children:(0,f.jsx)(C.A,{tooltip:re?"":(0,d.vj)(d.uA,"delete Policies"),children:(0,f.jsx)(s.$nd,{id:"delete-policy",label:"Delete Policy",variant:"secondary",icon:(0,f.jsx)(s.ucK,{}),onClick:()=>{V(!0)},disabled:!re})})}),(0,f.jsx)(C.A,{tooltip:"Refresh",children:(0,f.jsx)(s.$nd,{id:"refresh-policy",label:"Refresh",variant:"regular",icon:(0,f.jsx)(s.fNY,{}),onClick:()=>{de()}})})]}),sx:{marginBottom:15}}),(0,f.jsx)(s.azJ,{children:(0,f.jsx)(s.tUM,{options:[{tabConfig:{label:"Summary",disabled:!ne,id:"summary"},content:(0,f.jsx)(o.Fragment,{children:(0,f.jsxs)(s.xA9,{onMouseMove:()=>e((0,g.ph)("policy_details_summary")),children:[(0,f.jsx)(s._xt,{separator:!0,sx:{marginBottom:15},children:"Policy Summary"}),(0,f.jsx)(s.azJ,{withBorders:!0,children:(0,f.jsx)(b,{policyStatements:y})})]})})},{tabConfig:{label:"Users",disabled:!ee||Q,id:"users"},content:(0,f.jsx)(o.Fragment,{children:(0,f.jsxs)(s.xA9,{onMouseMove:()=>e((0,g.ph)("policy_details_users")),children:[(0,f.jsx)(s._xt,{separator:!0,sx:{marginBottom:15},children:"Users"}),(0,f.jsxs)(s.xA9,{container:!0,children:[_.length>0&&(0,f.jsx)(s.xA9,{item:!0,xs:12,sx:(0,r.A)((0,r.A)({},c._0.actionsTray),{},{marginBottom:15}),children:(0,f.jsx)(x.A,{value:U,placeholder:"Search Users",id:"search-resource",onChange:e=>{B(e)}})}),(0,f.jsx)(s.bQt,{itemActions:ae,columns:[{label:"Name",elementKey:"name"}],isLoading:J,records:se,entityName:"Users with this Policy associated",idField:"name",customPaperHeight:"500px"})]})]})})},{tabConfig:{label:"Groups",disabled:!X||Q,id:"groups"},content:(0,f.jsx)(o.Fragment,{children:(0,f.jsxs)(s.xA9,{onMouseMove:()=>e((0,g.ph)("policy_details_groups")),children:[(0,f.jsx)(s._xt,{separator:!0,sx:{marginBottom:15},children:"Groups"}),(0,f.jsxs)(s.xA9,{container:!0,children:[R.length>0&&(0,f.jsx)(s.xA9,{item:!0,xs:12,sx:(0,r.A)((0,r.A)({},c._0.actionsTray),{},{marginBottom:15}),children:(0,f.jsx)(x.A,{value:U,placeholder:"Search Groups",id:"search-resource",onChange:e=>{$(e)}})}),(0,f.jsx)(s.bQt,{itemActions:ce,columns:[{label:"Name",elementKey:"name"}],isLoading:H,records:le,entityName:"Groups with this Policy associated",idField:"name",customPaperHeight:"500px"})]})]})})},{tabConfig:{label:"Raw Policy",disabled:!ne,id:"raw-policy"},content:(0,f.jsx)(o.Fragment,{children:(0,f.jsxs)(s.xA9,{onMouseMove:()=>e((0,g.ph)("policy_details_policy")),children:[(0,f.jsx)(s.V7x,{content:(0,f.jsx)(o.Fragment,{children:(0,f.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/policy-based-access-control.html#policy-document-structure",children:"Guide to access policy structure"})}),placement:"right",children:(0,f.jsx)(s._xt,{children:"Raw Policy"})}),(0,f.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:t=>{t.preventDefault(),D||(M(!0),oe?A.F.policies.addPolicy({name:T,policy:F}).then(t=>{M(!1),e((0,g.Hk)("Policy successfully updated")),de()}).catch(t=>{M(!1),e((0,g.C9)({errorMessage:"There was an error updating the Policy ",detailedError:"There was an error updating the Policy: "+(t.error.detailedMessage||"")+". Please check Policy syntax."}))}):M(!1))},children:(0,f.jsxs)(s.xA9,{container:!0,children:[(0,f.jsx)(s.xA9,{item:!0,xs:12,children:(0,f.jsx)(l.A,{value:F,onChange:e=>{oe&&z(e)},editorHeight:"350px",helptip:(0,f.jsx)(o.Fragment,{children:(0,f.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/policy-based-access-control.html#policy-document-structure",children:"Guide to access policy structure"})})})}),(0,f.jsxs)(s.xA9,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-end",paddingTop:16,gap:8},children:[!h&&(0,f.jsx)(s.$nd,{type:"button",variant:"regular",id:"clear-policy",onClick:()=>{z("{}")},children:"Clear"}),(0,f.jsx)(p.R,{scopes:[d.OV.ADMIN_CREATE_POLICY],resource:d.Ms,errorProps:{disabled:!0},children:(0,f.jsx)(C.A,{tooltip:oe?"":(0,d.vj)(d.nr,"edit a Policy"),children:(0,f.jsx)(s.$nd,{id:"save",type:"submit",variant:"callAction",color:"primary",disabled:D||!ie||!oe,label:"Save"})})})]}),D&&(0,f.jsx)(s.xA9,{item:!0,xs:12,children:(0,f.jsx)(s.z21,{})})]})})]})})}],currentTabOrPath:Y,onTabClick:e=>K(e)})})]})]})}},59660:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r{"use strict";var r=n(59660),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,s,c,l,d=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),c=document.getSelection(),(l=document.createElement("span")).textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(l),s.selectNodeContents(l),c.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");d=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),d=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(s):c.removeAllRanges()),l&&document.body.removeChild(l),a()}return d}},75054:(e,t,n)=>{"use strict";n.d(t,{CS:()=>a,Ez:()=>r,WJ:()=>o,Zb:()=>i});const r={RED:"#C83B51",GREEN:"#4CCB92",YELLOW:"#FFBD62"},o=(e,t)=>e<=t/2?"bad":2!==t&&e===t/2+1?"warn":e===t?"good":void 0,i=e=>{switch(e){case"offline":return"bad";case"online":return"good";default:return"warn"}},a=(e,t)=>e<=t/2?"bad":e===t/2+1?"warn":e===t?"good":void 0},94702:(e,t,n)=>{"use strict";function r(e){return r="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(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=s(n(9950)),i=s(n(67243)),a=["text","onCopy","options","children"];function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(e,t){for(var n=0;n{"use strict";n.d(t,{A:()=>l});var r=n(9950),o=n(89132),i=n(95189),a=n.n(i),s=n(30272),c=n(44414);const l=e=>{let{value:t,label:n="",tooltip:i="",mode:l="json",onChange:d,editorHeight:p=250,helptip:u}=e;return(0,c.jsx)(o.BYM,{value:t,onChange:e=>d(e),mode:l,tooltip:i,editorHeight:p,label:n,helpTools:(0,c.jsx)(r.Fragment,{children:(0,c.jsx)(s.A,{tooltip:"Copy to Clipboard",children:(0,c.jsx)(a(),{text:t,children:(0,c.jsx)(o.$nd,{type:"button",id:"copy-code-mirror",icon:(0,c.jsx)(o.TdU,{}),color:"primary",variant:"regular"})})})}),helpTip:u,helpTipPlacement:"right"})}},95189:(e,t,n)=>{"use strict";var r=n(94702).CopyToClipboard;r.CopyToClipboard=r,e.exports=r}}]); \ No newline at end of file diff --git a/web-app/build/static/js/5354.36064e92.chunk.js b/web-app/build/static/js/5354.36064e92.chunk.js deleted file mode 100644 index e42f5a474e..0000000000 --- a/web-app/build/static/js/5354.36064e92.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[5354],{75354:(e,t,o)=>{o.r(t),o.d(t,{default:()=>m});var r=o(9950),a=o(19335),i=o(28429),n=o(2586),s=o(77663),l=o(89132),c=o(32393),p=o(87946),d=o.n(p),h=o(44414);const g=a.Ay.div(e=>{let{theme:t}=e;return{"& .errorDescription":{fontStyle:"italic",transition:"all .2s ease-in-out",padding:"0 15px",marginTop:5,overflow:"auto"},"& .errorLabel":{color:d()(t,"fontColor","#000"),fontSize:18,fontWeight:"bold",marginLeft:5},"& .simpleError":{marginTop:5,padding:"2px 5px",fontSize:16,color:d()(t,"fontColor","#000")},"& .messageIcon":{color:d()(t,"signalColors.danger","#C72C48"),display:"flex","& svg":{width:32,height:32}},"& .errorTitle":{display:"flex",alignItems:"center",borderBottom:15}}}),m=()=>{const e=(0,i.Zp)(),[t,o]=(0,r.useState)(""),[a,p]=(0,r.useState)(""),[d,m]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{if(d){const t=window.location.search,r=new URLSearchParams(t),a=r.get("code"),i=r.get("state"),s=r.get("error"),l=r.get("errorDescription");s||l?(o(s||""),p(l||""),m(!1)):n.A.invoke("POST","/api/v1/login/oauth2/auth",{code:a,state:i}).then(()=>{let t="/";localStorage.getItem("redirect-path")&&""!==localStorage.getItem("redirect-path")&&(t="".concat(localStorage.getItem("redirect-path")),localStorage.setItem("redirect-path","")),i&&localStorage.setItem("auth-state",i),m(!1),e(t)}).catch(e=>{o(e.errorMessage),p(e.detailedError),m(!1)})}},[d,e]),""!==t||""!==a?(0,h.jsx)(r.Fragment,{children:(0,h.jsx)(l.ndn,{logoProps:{applicationName:(0,c.R)(),subVariant:(0,c.v)()},form:(0,h.jsxs)(g,{children:[(0,h.jsxs)("div",{className:"errorTitle",children:[(0,h.jsx)("span",{className:"messageIcon",children:(0,h.jsx)(l.cJw,{})}),(0,h.jsx)("span",{className:"errorLabel",children:"Error from IDP"})]}),(0,h.jsx)("div",{className:"simpleError",children:t}),(0,h.jsx)(l.azJ,{className:"errorDescription",children:a}),(0,h.jsx)(l.$nd,{id:"back-to-login",onClick:()=>{window.location.href="".concat(s.p,"login")},type:"submit",variant:"callAction",fullWidth:!0,children:"Back to Login"})]}),promoHeader:(0,h.jsxs)("span",{style:{fontSize:"clamp(6px, 6vw, 115px)",lineHeight:1,display:"inline-block",width:"100%"},children:["Welcome to",(0,h.jsx)("br",{}),(0,h.jsx)("span",{style:{fontSize:"clamp(6px, 8vw, 200px)"},children:"CONSOLE"})]}),promoInfo:(0,h.jsxs)("span",{style:{fontSize:14,lineHeight:1},children:["This is just a fork of the MinIO Console for my own personal educational purposes, and therefore it incorporates MinIO\xae source code. You may also want to look for other maintained forks.",(0,h.jsx)("br",{}),"It is important to note that ",(0,h.jsx)("strong",{children:"MINIO"})," is a registered trademark of the MinIO Corporation. Consequently, this project is not affiliated with or endorsed by the MinIO Corporation."]})})}):null}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/5412.7b253da5.chunk.js b/web-app/build/static/js/5412.7b253da5.chunk.js deleted file mode 100644 index 4acdcfc54a..0000000000 --- a/web-app/build/static/js/5412.7b253da5.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[5412],{2311:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setUpSocketIOPing=t.appendQueryParams=t.parseSocketIOUrl=void 0;var r=n(94494);t.parseSocketIOUrl=function(e){if(e){var t=/^https|wss/.test(e),n=e.replace(/^(https?|wss?)(:\/\/)?/,"").replace(/\/$/,"");return"".concat(o=t?"wss":"ws","://").concat(n).concat(r.SOCKET_IO_PATH)}if(""===e){var o=(t=/^https/.test(window.location.protocol))?"wss":"ws",a=window.location.port?":".concat(window.location.port):"";return"".concat(o,"://").concat(window.location.hostname).concat(a).concat(r.SOCKET_IO_PATH)}return e};t.appendQueryParams=function(e,t){void 0===t&&(t={});var n=/\?([\w]+=[\w]+)/.test(e),r="".concat(Object.entries(t).reduce(function(e,t){var n=t[0],r=t[1];return e+"".concat(n,"=").concat(r,"&")},"").slice(0,-1));return"".concat(e).concat(n?"&":"?").concat(r)};t.setUpSocketIOPing=function(e,t){void 0===t&&(t=r.SOCKET_IO_PING_INTERVAL);return window.setInterval(function(){return e(r.SOCKET_IO_PING_CODE)},t)}},2915:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.resetGlobalState=t.assertIsWebSocket=void 0;var r=n(64035),o=n(38642);t.assertIsWebSocket=function(e,t){if(!t&&e instanceof WebSocket===!1)throw new Error("")},t.resetGlobalState=function(e){(0,o.resetSubscribers)(e),(0,r.resetWebSockets)(e)}},5412:(e,t,n)=>{n.r(t),n.d(t,{default:()=>b});var r=n(9950),o=n(51536),a=n(98341),c=n(89132),s=n(99491),u=n(59908),i=n(31690),l=n(64928),d=n(49078),f=n(30272),p=n(82817),v=n(98167),S=n(36811),h=n(44414);const b=()=>{const e=(0,s.jL)(),t=(0,a.d4)(e=>e.trace.messages),n=(0,a.d4)(e=>e.trace.traceStarted),[b,E]=(0,r.useState)(""),[y,O]=(0,r.useState)(""),[_,m]=(0,r.useState)(""),[g,T]=(0,r.useState)(""),[w,N]=(0,r.useState)(0),[C,R]=(0,r.useState)(!1),[x,I]=(0,r.useState)(!0),[k,A]=(0,r.useState)(!1),[j,P]=(0,r.useState)(!1),[L,M]=(0,r.useState)(!1),[W,D]=(0,r.useState)(!1),[U,F]=(0,r.useState)(!1),[J,G]=(0,r.useState)(!1),[B,z]=(0,r.useState)("");(0,r.useEffect)(()=>{const e=new URL(window.location.toString()),t=(0,i.nw)(e.protocol),n=e.port,r=C?"all":(()=>{const e=[];return x&&e.push("s3"),k&&e.push("internal"),j&&e.push("storage"),L&&e.push("os"),e.join(",")})(),o=new URL(document.baseURI).pathname,a=new URL("".concat(t,"://").concat(e.hostname,":").concat(n).concat(o,"ws/trace"));a.searchParams.append("calls",r),a.searchParams.append("threshold",w.toString()),a.searchParams.append("onlyErrors",W?"yes":"no"),a.searchParams.append("statusCode",b),a.searchParams.append("method",y),a.searchParams.append("funcname",_),a.searchParams.append("path",g),z(a.href)},[C,x,k,j,L,w,W,b,y,_,g]);const{sendMessage:K,lastJsonMessage:V,readyState:H}=(0,S.Ay)(B,{heartbeat:{message:"ok",interval:1e4,timeout:31536e6}},J);return(0,r.useEffect)(()=>{H===S.vj.CONNECTING?e((0,l.rZ)()):H===S.vj.OPEN?e((0,l.p)(!0)):H===S.vj.CLOSED&&e((0,l.p)(!1))},[H,e,K]),(0,r.useEffect)(()=>{V&&(V.ptime=o.c9.fromISO(V.time).toJSDate(),V.key=Math.random(),e((0,l.cI)(V)))},[V,e]),(0,r.useEffect)(()=>{e((0,d.ph)("trace"))},[]),(0,h.jsxs)(r.Fragment,{children:[(0,h.jsx)(p.A,{label:"Trace",actions:(0,h.jsx)(v.A,{})}),(0,h.jsx)(c.Mxu,{children:(0,h.jsx)(c.azJ,{withBorders:!0,children:(0,h.jsxs)(c.xA9,{container:!0,children:[(0,h.jsxs)(c.xA9,{item:!0,xs:12,sx:{display:"flex",flexFlow:"column","& .trace-Checkbox-label":{fontSize:"14px",fontWeight:"normal"}},children:[(0,h.jsx)(c.azJ,{sx:{fontSize:"16px",fontWeight:600,padding:"20px 0px 20px 0"},children:"Calls to Trace"}),(0,h.jsxs)(c.azJ,{className:"".concat(n?"inactive-state":""),sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,h.jsxs)(c.azJ,{sx:{display:"flex",flexFlow:"row","& .trace-checked-icon":{border:"1px solid red"},["@media (min-width: ".concat(c.nmC.md,"px)")]:{gap:30}},children:[(0,h.jsx)(c.Sc0,{checked:C,id:"all_calls",name:"all_calls",label:"All",onChange:()=>R(!C),value:"all",disabled:n}),(0,h.jsx)(c.Sc0,{checked:x||C,id:"s3_calls",name:"s3_calls",label:"S3",onChange:()=>I(!x),value:"s3",disabled:C||n}),(0,h.jsx)(c.Sc0,{checked:k||C,id:"internal_calls",name:"internal_calls",label:"Internal",onChange:()=>A(!k),value:"internal",disabled:C||n}),(0,h.jsx)(c.Sc0,{checked:j||C,id:"storage_calls",name:"storage_calls",label:"Storage",onChange:()=>P(!j),value:"storage",disabled:C||n}),(0,h.jsx)(c.Sc0,{checked:L||C,id:"os_calls",name:"os_calls",label:"OS",onChange:()=>M(!L),value:"os",disabled:C||n})]}),(0,h.jsxs)(c.azJ,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"15px"},children:[(0,h.jsx)(f.A,{tooltip:"More filter options",children:(0,h.jsx)(c.$nd,{id:"filter-toggle",onClick:()=>F(!U),label:"Filters",icon:(0,h.jsx)(c.YGH,{}),variant:"regular",className:"filters-toggle-button",style:{width:"118px",background:U?"rgba(8, 28, 66, 0.04)":""}})}),!n&&(0,h.jsx)(c.$nd,{id:"start-trace",label:"Start","data-test-id":"trace-start-button",variant:"callAction",onClick:()=>G(!0),style:{width:"118px"}}),n&&(0,h.jsx)(c.$nd,{id:"stop-trace",label:"Stop Trace","data-test-id":"trace-stop-button",variant:"callAction",onClick:()=>G(!1),style:{width:"118px"}})]})]})]}),U?(0,h.jsxs)(c.azJ,{useBackground:!0,className:"".concat(n?"inactive-state":""),sx:{marginTop:"25px",display:"flex",flexFlow:"column",padding:"30px",width:"100%","& .orient-vertical":{flexFlow:"column","& label":{marginBottom:"10px",fontWeight:600},"& .inputRebase":{width:"90%"}},"& .trace-Checkbox-label":{fontSize:"14px",fontWeight:"normal"}},children:[(0,h.jsxs)(c.azJ,{sx:{display:"flex"},children:[(0,h.jsx)(c.cl_,{className:"orient-vertical",id:"trace-status-code",name:"trace-status-code",label:"Status Code",placeholder:"e.g. 503",value:b,onChange:e=>E(e.target.value),disabled:n}),(0,h.jsx)(c.cl_,{className:"orient-vertical",id:"trace-function-name",name:"trace-function-name",label:"Function Name",placeholder:"e.g. FunctionName2055",value:_,onChange:e=>m(e.target.value),disabled:n}),(0,h.jsx)(c.cl_,{className:"orient-vertical",id:"trace-method",name:"trace-method",label:"Method",placeholder:"e.g. Method 2056",value:y,onChange:e=>O(e.target.value),disabled:n})]}),(0,h.jsxs)(c.azJ,{sx:{gap:"30px",display:"grid",gridTemplateColumns:"2fr 1fr",width:"100%",marginTop:"33px"},children:[(0,h.jsx)(c.azJ,{sx:{flex:2,width:"calc( 100% + 10px)"},children:(0,h.jsx)(c.cl_,{className:"orient-vertical",id:"trace-path",name:"trace-path",label:"Path",placeholder:"e.g. my-bucket/my-prefix/*",value:g,onChange:e=>T(e.target.value),disabled:n})}),(0,h.jsx)(c.azJ,{sx:{marginLeft:"15px"},children:(0,h.jsx)(c.cl_,{className:"orient-vertical",id:"trace-fthreshold",name:"trace-fthreshold",label:"Response Threshold",type:"number",placeholder:"e.g. website.io.3249.114.12",value:"".concat(w),onChange:e=>N(parseInt(e.target.value)),disabled:n})})]}),(0,h.jsx)(c.azJ,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-start",marginTop:"40px"},children:(0,h.jsx)(c.Sc0,{checked:W,id:"only_errors",name:"only_errors",label:"Display only Errors",onChange:()=>D(!W),value:"only_errors",disabled:n})})]}):null,(0,h.jsx)(c.xA9,{item:!0,xs:12,children:(0,h.jsx)(c.azJ,{sx:{fontSize:"16px",fontWeight:600,marginBottom:"30px",marginTop:"30px"},children:"Trace Results"})}),(0,h.jsx)(c.xA9,{item:!0,xs:12,children:(0,h.jsx)(c.bQt,{columns:[{label:"Time",elementKey:"ptime",renderFunction:e=>{const t=new Date(e);return(0,u.cj)(t)},width:100},{label:"Name",elementKey:"api"},{label:"Status",elementKey:"",renderFunction:e=>"".concat(e.statusCode," ").concat(e.statusMsg),renderFullObject:!0},{label:"Location",elementKey:"configuration_id",renderFunction:e=>"".concat(e.host," ").concat(e.client),renderFullObject:!0},{label:"Load Time",elementKey:"callStats.duration",width:150},{label:"Upload",elementKey:"callStats.rx",renderFunction:u.nO,width:150},{label:"Download",elementKey:"callStats.tx",renderFunction:u.nO,width:150}],isLoading:!1,records:t,entityName:"Traces",idField:"api",customEmptyMessage:n?"No Traced elements received yet":"Trace is not started yet",customPaperHeight:"calc(100vh - 292px)",autoScrollToBottom:!0})})]})})})]})}},5605:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{Object.defineProperty(t,"__esModule",{value:!0}),t.websocketWrapper=void 0;t.websocketWrapper=function(e,t){return new Proxy(e,{get:function(e,n){var r=e[n];return"reconnect"===n?t:"function"===typeof r?(console.error("Calling methods directly on the websocket is not supported at this moment. You must use the methods returned by useWebSocket."),function(){}):r},set:function(e,t,n){return/^on/.test(t)?(console.warn("The websocket's event handlers should be defined through the options object passed into useWebSocket."),!1):(e[t]=n,!0)}})},t.default=t.websocketWrapper},30426:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createOrJoinSocket=void 0;var r=n(64035),o=n(94494),a=n(18911),c=n(87434),s=n(38642);t.createOrJoinSocket=function(e,t,n,u,i,l,d,f){if(!o.isEventSourceSupported&&u.current.eventSourceOptions)throw o.isReactNative?new Error("EventSource is not supported in ReactNative"):new Error("EventSource is not supported");if(u.current.share){var p=null;void 0===r.sharedWebSockets[t]?(r.sharedWebSockets[t]=u.current.eventSourceOptions?new EventSource(t,u.current.eventSourceOptions):new WebSocket(t,u.current.protocols),e.current=r.sharedWebSockets[t],n(o.ReadyState.CONNECTING),p=(0,c.attachSharedListeners)(r.sharedWebSockets[t],t,u,f)):(e.current=r.sharedWebSockets[t],n(r.sharedWebSockets[t].readyState));var v={setLastMessage:i,setReadyState:n,optionsRef:u,reconnectCount:d,reconnect:l};return(0,s.addSubscriber)(t,v),function(e,t,n,a,c){return function(){if((0,s.removeSubscriber)(e,t),!(0,s.hasSubscribers)(e)){try{var u=r.sharedWebSockets[e];u instanceof WebSocket&&(u.onclose=function(e){n.current.onClose&&n.current.onClose(e),a(o.ReadyState.CLOSED)}),u.close()}catch(i){}c&&c(),delete r.sharedWebSockets[e]}}}(t,v,u,n,p)}if(e.current=u.current.eventSourceOptions?new EventSource(t,u.current.eventSourceOptions):new WebSocket(t,u.current.protocols),n(o.ReadyState.CONNECTING),!e.current)throw new Error("WebSocket failed to be created");return(0,a.attachListeners)(e.current,{setLastMessage:i,setReadyState:n},u,l.current,d,f)}},36811:(e,t,n)=>{t.vj=t.Ay=void 0;var r=n(44574);Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return r.useWebSocket}});var o=n(5605);var a=n(94494);Object.defineProperty(t,"vj",{enumerable:!0,get:function(){return a.ReadyState}});var c=n(77995);var s=n(2915)},38642:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.resetSubscribers=t.removeSubscriber=t.addSubscriber=t.hasSubscribers=t.getSubscribers=void 0;var n={},r=[];t.getSubscribers=function(e){return(0,t.hasSubscribers)(e)?Array.from(n[e]):r};t.hasSubscribers=function(e){var t;return(null===(t=n[e])||void 0===t?void 0:t.size)>0};t.addSubscriber=function(e,t){n[e]=n[e]||new Set,n[e].add(t)};t.removeSubscriber=function(e,t){n[e].delete(t)};t.resetSubscribers=function(e){if(e&&n.hasOwnProperty(e))delete n[e];else for(var t in n)n.hasOwnProperty(t)&&delete n[t]}},44574:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===a[0]||2===a[0])){c=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]{Object.defineProperty(t,"__esModule",{value:!0}),t.resetWebSockets=t.sharedWebSockets=void 0,t.sharedWebSockets={};t.resetWebSockets=function(e){if(e&&t.sharedWebSockets.hasOwnProperty(e))delete t.sharedWebSockets[e];else for(var n in t.sharedWebSockets)t.sharedWebSockets.hasOwnProperty(n)&&delete t.sharedWebSockets[n]}},73647:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.heartbeat=void 0;var r=n(94494);t.heartbeat=function(e,t){var n=t||{},o=n.interval,a=void 0===o?r.DEFAULT_HEARTBEAT.interval:o,c=n.timeout,s=void 0===c?r.DEFAULT_HEARTBEAT.timeout:c,u=n.message,i=void 0===u?r.DEFAULT_HEARTBEAT.message:u,l=!1,d=setInterval(function(){try{"function"===typeof i?e.send(i()):e.send(i)}catch(t){}},a),f=setInterval(function(){l?l=!1:e.close()},s);return e.addEventListener("close",function(){clearInterval(d),clearInterval(f)}),function(){l=!0}}},77995:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===a[0]||2===a[0])){c=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]{Object.defineProperty(t,"__esModule",{value:!0}),t.isEventSourceSupported=t.isReactNative=t.ReadyState=t.DEFAULT_HEARTBEAT=t.UNPARSABLE_JSON_OBJECT=t.DEFAULT_RECONNECT_INTERVAL_MS=t.DEFAULT_RECONNECT_LIMIT=t.SOCKET_IO_PING_CODE=t.SOCKET_IO_PATH=t.SOCKET_IO_PING_INTERVAL=t.DEFAULT_EVENT_SOURCE_OPTIONS=t.EMPTY_EVENT_HANDLERS=t.DEFAULT_OPTIONS=void 0;t.DEFAULT_OPTIONS={},t.EMPTY_EVENT_HANDLERS={},t.DEFAULT_EVENT_SOURCE_OPTIONS={withCredentials:!1,events:t.EMPTY_EVENT_HANDLERS},t.SOCKET_IO_PING_INTERVAL=25e3,t.SOCKET_IO_PATH="/socket.io/?EIO=3&transport=websocket",t.SOCKET_IO_PING_CODE="2",t.DEFAULT_RECONNECT_LIMIT=20,t.DEFAULT_RECONNECT_INTERVAL_MS=5e3,t.UNPARSABLE_JSON_OBJECT={},t.DEFAULT_HEARTBEAT={message:"ping",timeout:6e4,interval:25e3},function(e){e[e.UNINSTANTIATED=-1]="UNINSTANTIATED",e[e.CONNECTING=0]="CONNECTING",e[e.OPEN=1]="OPEN",e[e.CLOSING=2]="CLOSING",e[e.CLOSED=3]="CLOSED"}(t.ReadyState||(t.ReadyState={}));t.isReactNative="undefined"!==typeof navigator&&"ReactNative"===navigator.product,t.isEventSourceSupported=!t.isReactNative&&function(){try{return"EventSource"in globalThis}catch(e){return!1}}()}}]); \ No newline at end of file diff --git a/web-app/build/static/js/5465.15dfdf24.chunk.js b/web-app/build/static/js/5465.15dfdf24.chunk.js deleted file mode 100644 index 0f8eadc1ef..0000000000 --- a/web-app/build/static/js/5465.15dfdf24.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[5465],{45465:(e,s,t)=>{t.r(s),t.d(s,{default:()=>h});var r=t(9950),l=t(89132),a=t(45246),n=t(2586),o=t(5134),d=t(32680),i=t(49078),c=t(99491),u=t(44414);const h=e=>{let{open:s,checkedUsers:t,closeModalAndRefresh:h}=e;const p=(0,c.jL)(),[x,j]=(0,r.useState)(!1),[b,g]=(0,r.useState)(!1),[m,f]=(0,r.useState)([]);(0,r.useEffect)(()=>{x&&(m.length>0?n.A.invoke("PUT","/api/v1/users-groups-bulk",{groups:m,users:t}).then(()=>{j(!1),g(!0)}).catch(e=>{j(!1),p((0,i.Dy)(e))}):(j(!1),p((0,i.Dy)({errorMessage:"You need to select at least one group to assign",detailedError:""}))))},[x,j,h,m,t,p]);return(0,u.jsx)(d.A,{modalOpen:s,onClose:()=>{h(b)},title:b?"The selected users were added to the following groups.":"Add Users to Group",titleIcon:(0,u.jsx)(l.WC,{}),children:b?(0,u.jsx)(r.Fragment,{children:(0,u.jsxs)(l.Hbc,{withBorders:!1,containerPadding:!1,sx:{margin:"30px 0"},children:[(0,u.jsx)(l.EmB,{label:"Groups",sx:{width:"100%"},children:m.join(", ")}),(0,u.jsxs)(l.EmB,{label:"Users",sx:{width:"100%"},children:[" ",t.join(", ")," "]})]})}):(0,u.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),j(!0)},children:[(0,u.jsxs)(l.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,u.jsx)(l.EmB,{label:"Selected Users",sx:{width:"100%"},children:t.join(", ")}),(0,u.jsx)(o.A,{selectedGroups:m,setSelectedGroups:f})]}),(0,u.jsxs)(l.xA9,{item:!0,xs:12,sx:a.Uz.modalButtonBar,children:[(0,u.jsx)(l.$nd,{id:"clear-bulk-add-group",type:"button",variant:"regular",color:"primary",onClick:()=>{f([])},label:"Clear"}),(0,u.jsx)(l.$nd,{id:"save-add-group",type:"submit",variant:"callAction",disabled:x||m.length<1,label:"Save"})]}),x&&(0,u.jsx)(l.xA9,{item:!0,xs:12,children:(0,u.jsx)(l.z21,{})})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/5503.a9d9da00.chunk.js b/web-app/build/static/js/5503.a9d9da00.chunk.js deleted file mode 100644 index 7a2bf05baa..0000000000 --- a/web-app/build/static/js/5503.a9d9da00.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[5503],{15503:(e,t,a)=>{a.r(t),a.d(t,{default:()=>h});var n=a(9950),l=a(89132),s=a(32680),i=a(66147),r=a(45246),c=a(49078),o=a(99491),d=a(70444),u=a(48965),p=a(44414);const h=e=>{let{closeModalAndRefresh:t,open:a,bucketName:h,ruleID:g}=e;const x=(0,o.jL)(),[m,f]=(0,n.useState)(!0),[j,S]=(0,n.useState)(!1),[b,v]=(0,n.useState)("1"),[y,k]=(0,n.useState)(""),[C,E]=(0,n.useState)(""),[D,I]=(0,n.useState)(!1),[w,R]=(0,n.useState)(!1),[A,_]=(0,n.useState)(""),[B,M]=(0,n.useState)(""),[O,N]=(0,n.useState)(""),[P,L]=(0,n.useState)(!1),[T,G]=(0,n.useState)(!1),[q,F]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{m&&d.F.buckets.getBucketReplicationRule(h,g).then(e=>{var t;v(e.data.priority?e.data.priority.toString():"");const a=e.data.prefix||"",n=e.data.tags||"";E(a),_(n),M(n),k((null===(t=e.data.destination)||void 0===t?void 0:t.bucket)||""),I(e.data.delete_marker_replication||!1),N(e.data.storageClass||""),L(!!e.data.existingObjects),G(!!e.data.deletes_replication),F("Enabled"===e.data.status),R(!!e.data.metadata_replication),f(!1)}).catch(e=>{x((0,c.Dy)((0,u.S)(e.error))),f(!1)})},[m,x,h,g]),(0,n.useEffect)(()=>{if(j){const e={arn:y,ruleState:q,prefix:C,tags:B,replicateDeleteMarkers:D,replicateDeletes:T,replicateExistingObjects:P,replicateMetadata:w,priority:parseInt(b),storageClass:O};d.F.buckets.updateMultiBucketReplication(h,g,e).then(()=>{S(!1),t(!0)}).catch(e=>{x((0,c.Dy)((0,u.S)(e.error))),S(!1)})}},[j,h,g,y,C,B,D,b,T,P,q,w,O,t,x]),(0,p.jsx)(s.A,{modalOpen:a,onClose:()=>{t(!1)},title:"Edit Bucket Replication",titleIcon:(0,p.jsx)(l.WBh,{}),children:(0,p.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),S(!0)},children:(0,p.jsxs)(l.Hbc,{containerPadding:!1,withBorders:!1,children:[(0,p.jsx)(l.dOG,{checked:q,id:"ruleState",name:"ruleState",label:"Rule State",onChange:e=>{F(e.target.checked)}}),(0,p.jsx)(l.EmB,{label:"Destination",sx:{width:"100%"},children:y}),(0,p.jsx)(l.cl_,{id:"priority",name:"priority",onChange:e=>{e.target.validity.valid&&v(e.target.value)},label:"Priority",value:b,pattern:"[0-9]*"}),(0,p.jsx)(l.cl_,{id:"storageClass",name:"storageClass",onChange:e=>{N(e.target.value)},placeholder:"STANDARD_IA,REDUCED_REDUNDANCY etc",label:"Storage Class",value:O}),(0,p.jsxs)("fieldset",{className:"inputItem",children:[(0,p.jsx)("legend",{children:"Object Filters"}),(0,p.jsx)(l.cl_,{id:"prefix",name:"prefix",onChange:e=>{E(e.target.value)},placeholder:"prefix",label:"Prefix",value:C}),(0,p.jsx)(i.A,{name:"tags",label:"Tags",elements:A,onChange:e=>{M(e)},keyPlaceholder:"Tag Key",valuePlaceholder:"Tag Value",withBorder:!0})]}),(0,p.jsxs)("fieldset",{className:"inputItem",children:[(0,p.jsx)("legend",{children:"Replication Options"}),(0,p.jsx)(l.dOG,{checked:P,id:"repExisting",name:"repExisting",label:"Existing Objects",onChange:e=>{L(e.target.checked)},description:"Replicate existing objects"}),(0,p.jsx)(l.dOG,{checked:w,id:"metadatataSync",name:"metadatataSync",label:"Metadata Sync",onChange:e=>{R(e.target.checked)},description:"Metadata Sync"}),(0,p.jsx)(l.dOG,{checked:D,id:"deleteMarker",name:"deleteMarker",label:"Delete Marker",onChange:e=>{I(e.target.checked)},description:"Replicate soft deletes"}),(0,p.jsx)(l.dOG,{checked:T,id:"repDelete",name:"repDelete",label:"Deletes",onChange:e=>{G(e.target.checked)},description:"Replicate versioned deletes"})]}),(0,p.jsxs)(l.xA9,{item:!0,xs:12,sx:r.Uz.modalButtonBar,children:[(0,p.jsx)(l.$nd,{id:"cancel-edit-replication",type:"button",variant:"regular",disabled:m||j,onClick:()=>{t(!1)},label:"Cancel"}),(0,p.jsx)(l.$nd,{id:"save-replication",type:"submit",variant:"callAction",disabled:m||j,label:"Save"})]})]})})})}},32680:(e,t,a)=>{a.d(t,{A:()=>d});var n=a(9950),l=a(98341),s=a(89132),i=a(99491),r=a(49078),c=a(96382),o=a(44414);const d=e=>{let{onClose:t,modalOpen:a,title:d,children:u,wideLimit:p=!0,titleIcon:h=null,iconColor:g="default",sx:x}=e;const m=(0,i.jL)(),[f,j]=(0,n.useState)(!1),S=(0,l.d4)(e=>e.system.modalSnackBar);(0,n.useEffect)(()=>{m((0,r.h0)(""))},[m]),(0,n.useEffect)(()=>{if(S){if(""===S.message)return void j(!1);"error"!==S.type&&j(!0)}},[S]);let b="";return S&&(b=S.detailedErrorMsg,(""===b||b&&b.length<5)&&(b=S.message)),(0,o.jsxs)(s.ngX,{onClose:t,open:a,title:d,titleIcon:h,widthLimit:p,sx:x,iconColor:g,children:[(0,o.jsx)(c.A,{isModal:!0}),(0,o.jsx)(s.qb_,{onClose:()=>{j(!1),m((0,r.h0)(""))},open:f,message:b,mode:"inline",variant:"error"===S.type?"error":"default",autoHideDuration:"error"===S.type?10:5,condensed:!0}),u]})}},66147:(e,t,a)=>{a.d(t,{A:()=>d});var n=a(9950),l=a(87946),s=a.n(l),i=a(95491),r=a.n(i),c=a(89132),o=a(44414);const d=e=>{let{elements:t,name:a,label:l,tooltip:i="",keyPlaceholder:d="",valuePlaceholder:u="",onChange:p,withBorder:h=!1}=e;const[g,x]=(0,n.useState)([""]),[m,f]=(0,n.useState)([""]),j=(0,n.createRef)();(0,n.useEffect)(()=>{if(1===g.length&&""===g[0]&&1===m.length&&""===m[0]&&t&&""!==t){const e=t.split("&");let a=[],n=[];e.forEach(e=>{const t=e.split("=");2===t.length&&(a.push(t[0]),n.push(t[1]))}),a.push(""),n.push(""),x(a),f(n)}},[g,m,t]),(0,n.useEffect)(()=>{const e=j.current;e&&g.length>1&&e.scrollIntoView(!1)},[g]);const S=(0,n.useRef)(!0);(0,n.useLayoutEffect)(()=>{S.current?S.current=!1:y()},[g,m]);const b=e=>{e.persist();let t=[...g];const a=s()(e.target,"dataset.index","0");t[parseInt(a)]=e.target.value,x(t)},v=e=>{e.persist();let t=[...m];const a=s()(e.target,"dataset.index","0");t[parseInt(a)]=e.target.value,f(t)},y=r()(()=>{let e="";g.forEach((t,a)=>{if(g[a]&&m[a]){let n="".concat(t,"=").concat(m[a]);0!==a&&(n="&".concat(n)),e="".concat(e).concat(n)}}),p(e)},500),k=m.map((e,t)=>(0,o.jsxs)(c.xA9,{item:!0,xs:12,className:"lineInputBoxes inputItem",children:[(0,o.jsx)(c.cl_,{id:"".concat(a,"-key-").concat(t.toString()),label:"",name:"".concat(a,"-").concat(t.toString()),value:g[t],onChange:b,index:t,placeholder:d}),(0,o.jsx)("span",{className:"queryDiv",children:":"}),(0,o.jsx)(c.cl_,{id:"".concat(a,"-value-").concat(t.toString()),label:"",name:"".concat(a,"-").concat(t.toString()),value:m[t],onChange:v,index:t,placeholder:u,overlayIcon:t===m.length-1?(0,o.jsx)(c.REV,{}):null,overlayAction:()=>{(()=>{if(""!==g[g.length-1].trim()&&""!==m[m.length-1].trim()){const e=[...g],t=[...m];e.push(""),t.push(""),x(e),f(t)}})()}})]},"query-pair-".concat(a,"-").concat(t.toString())));return(0,o.jsx)(n.Fragment,{children:(0,o.jsxs)(c.xA9,{item:!0,xs:12,sx:{"& .lineInputBoxes":{display:"flex"},"& .queryDiv":{alignSelf:"center",margin:"-15px 4px 0",fontWeight:600}},className:"inputItem",children:[(0,o.jsxs)(c.l1Y,{children:[l,""!==i&&(0,o.jsx)(c.azJ,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,o.jsx)(c.m_M,{tooltip:i,placement:"top",children:(0,o.jsx)(c.NTw,{style:{width:13,height:13}})})})]}),(0,o.jsxs)(c.azJ,{withBorders:h,sx:{padding:15,height:150,overflowY:"auto",position:"relative",marginTop:15},children:[k,(0,o.jsx)("div",{ref:j})]})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/5692.8621ba1a.chunk.js b/web-app/build/static/js/5692.8621ba1a.chunk.js deleted file mode 100644 index f0655f2e94..0000000000 --- a/web-app/build/static/js/5692.8621ba1a.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[5692],{95692:(e,t,s)=>{s.r(t),s.d(t,{default:()=>S});var c=s(9950),n=s(98341),i=s(28429),a=s(89132),o=s(70444),r=s(48965),l=s(93598),d=s(26843),u=s(49078),m=s(47304),_=s(99491),h=s(44414);const S=()=>{const e=(0,_.jL)(),t=(0,i.Zp)(),s=(0,i.g)(),S=(0,n.d4)(m.Nx),[I,b]=(0,c.useState)("simple-tab-0"),[p,O]=(0,c.useState)(!0),[U,k]=(0,c.useState)([]),[A,E]=(0,c.useState)(!0),[C,L]=(0,c.useState)([]),N=s.bucketName||"",P=(0,d._)(N,[l.OV.ADMIN_LIST_USER_POLICIES]),x=(0,d._)(N,[l.OV.ADMIN_GET_POLICY,l.OV.ADMIN_LIST_USERS,l.OV.ADMIN_LIST_GROUPS],!0),f=(0,d._)(l.Ms,[l.OV.ADMIN_GET_USER]),g=(0,d._)(l.Ms,[l.OV.ADMIN_GET_POLICY,l.OV.ADMIN_LIST_USERS,l.OV.ADMIN_LIST_GROUPS]);(0,c.useEffect)(()=>{S&&(E(!0),O(!0))},[S,E,O]);const M=[{type:"view",disableButtonFunction:()=>!g,onClick:e=>{t("".concat(l.zZ.POLICIES,"/").concat(encodeURIComponent(e.name)))}}],T=[{type:"view",disableButtonFunction:()=>!f,onClick:e=>{t("".concat(l.zZ.USERS,"/").concat(encodeURIComponent(e)))}}];return(0,c.useEffect)(()=>{A&&(x?o.F.bucketUsers.listUsersWithAccessToBucket(N).then(e=>{L(e.data),E(!1)}).catch(t=>{e((0,u.C9)((0,r.S)(t))),E(!1)}):E(!1))},[A,e,N,x]),(0,c.useEffect)(()=>{e((0,u.ph)("bucket_detail_access"))},[]),(0,c.useEffect)(()=>{p&&(P?o.F.bucketPolicy.listPoliciesWithBucket(N).then(e=>{k(e.data.policies),O(!1)}).catch(t=>{e((0,u.C9)((0,r.S)(t))),O(!1)}):O(!1))},[p,e,N,P]),(0,h.jsxs)(c.Fragment,{children:[(0,h.jsx)(a._xt,{separator:!0,children:(0,h.jsx)(a.V7x,{content:(0,h.jsxs)(c.Fragment,{children:["Understand which"," ",(0,h.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/linux/administration/identity-access-management/policy-based-access-control.html#",children:"Policies"})," ","and"," ",(0,h.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/linux/administration/identity-access-management/minio-user-management.html",children:"Users"})," ","are authorized to access this Bucket."]}),placement:"right",children:"Access Audit"})}),(0,h.jsx)(a.tUM,{currentTabOrPath:I,onTabClick:e=>{b(e)},horizontal:!0,options:[{tabConfig:{label:"Policies",id:"simple-tab-0"},content:(0,h.jsx)(d.R,{scopes:[l.OV.ADMIN_LIST_USER_POLICIES],resource:N,errorProps:{disabled:!0},children:U&&(0,h.jsx)(a.bQt,{noBackground:!0,itemActions:M,columns:[{label:"Name",elementKey:"name"}],isLoading:p,records:U,entityName:"Policies",idField:"name"})})},{tabConfig:{label:"Users",id:"simple-tab-1"},content:(0,h.jsx)(d.R,{scopes:[l.OV.ADMIN_GET_POLICY,l.OV.ADMIN_LIST_USERS,l.OV.ADMIN_LIST_GROUPS],resource:N,matchAll:!0,errorProps:{disabled:!0},children:(0,h.jsx)(a.bQt,{noBackground:!0,itemActions:T,columns:[{label:"User",elementKey:"accessKey"}],isLoading:A,records:C,entityName:"Users",idField:"accessKey"})})}]})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/583.f19c0589.chunk.js b/web-app/build/static/js/583.f19c0589.chunk.js deleted file mode 100644 index ba39957397..0000000000 --- a/web-app/build/static/js/583.f19c0589.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[583],{23934:(e,t,n)=>{n.d(t,{A:()=>p});var s=n(9950),i=n(89132),a=n(49078),o=n(99491),r=n(49534),l=n(70444),c=n(48965),d=n(44414);const p=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,idp:p,idpType:u}=e;const f=(0,o.jL)(),[x,A]=(0,s.useState)(!1);if(!p)return null;const j="_"===p?"Default":p;return(0,d.jsx)(r.A,{title:"Delete ".concat(j),confirmText:"Delete",isOpen:n,titleIcon:(0,d.jsx)(i.xWY,{}),isLoading:x,onConfirm:()=>{A(!0),l.F.idp.deleteConfiguration(p,u).then(e=>{(e=>{t(!0),f((0,a.YR)(!0===e.restart))})(e.data)}).catch(e=>f((0,a.C9)((0,c.S)(e.error)))).finally(()=>A(!1))},onClose:()=>t(!1),confirmButtonProps:{disabled:x},confirmationContent:(0,d.jsxs)(s.Fragment,{children:["Are you sure you want to delete IDP ",(0,d.jsx)("b",{children:j})," ","configuration? ",(0,d.jsx)("br",{})]})})}},50583:(e,t,n)=>{n.r(t),n.d(t,{default:()=>m});var s=n(9950),i=n(89379),a=n(89132),o=n(28429),r=n(70444),l=n(48965),c=n(99491),d=n(93598),p=n(26843),u=n(49078),f=n(45246),x=n(30272),A=n(23934),j=n(82817),C=n(98167),b=n(44414);const h=e=>{let{idpType:t}=e;const n=(0,c.jL)(),h=(0,o.Zp)(),[m,y]=(0,s.useState)(!1),[D,_]=(0,s.useState)(""),[O,g]=(0,s.useState)(!1),[I,M]=(0,s.useState)([]),N=(0,p._)(d.Ms,[d.OV.ADMIN_CONFIG_UPDATE]),F=(0,p._)(d.Ms,[d.OV.ADMIN_CONFIG_UPDATE]),T=(0,p._)(d.Ms,[d.OV.ADMIN_CONFIG_UPDATE]);(0,s.useEffect)(()=>{E()},[]),(0,s.useEffect)(()=>{O&&(T?r.F.idp.listConfigurations(t).then(e=>{g(!1),e.data.results&&M(e.data.results.map(e=>(e.name="_"===e.name?"Default":e.name,e.enabled=!0===e.enabled?"Enabled":"Disabled",e)))}).catch(e=>{g(!1),n((0,u.C9)((0,l.S)(e.error)))}):g(!1))},[O,g,M,n,T,t]);const E=()=>{g(!0)},P=[{type:"view",onClick:e=>{let n="Default"===e.name?"_":e.name;h("/identity/idp/".concat(t,"/configurations/").concat(n))},disableButtonFunction:()=>!F},{type:"delete",onClick:e=>{y(!0),_(e="Default"===e?"_":e)},sendOnlyId:!0,disableButtonFunction:e=>!N||"Default"===e}];return(0,s.useEffect)(()=>{n((0,u.ph)("idp_configs"))},[]),(0,b.jsxs)(s.Fragment,{children:[m&&(0,b.jsx)(A.A,{deleteOpen:m,idp:D,idpType:t,closeDeleteModalAndRefresh:async e=>{y(!1),e&&E()}}),(0,b.jsx)(j.A,{label:"".concat(t.toUpperCase()," Configurations"),actions:(0,b.jsx)(C.A,{})}),(0,b.jsx)(a.Mxu,{children:(0,b.jsxs)(a.xA9,{container:!0,children:[(0,b.jsxs)(a.xA9,{item:!0,xs:12,sx:(0,i.A)((0,i.A)({},f._0.actionsTray),{},{justifyContent:"flex-end",gap:8}),children:[(0,b.jsx)(p.R,{scopes:[d.OV.ADMIN_CONFIG_UPDATE],resource:d.Ms,errorProps:{disabled:!0},children:(0,b.jsx)(x.A,{tooltip:"Refresh",children:(0,b.jsx)(a.$nd,{id:"refresh-keys",variant:"regular",icon:(0,b.jsx)(a.fNY,{}),onClick:()=>g(!0)})})}),(0,b.jsx)(p.R,{scopes:[d.OV.ADMIN_CONFIG_UPDATE],resource:d.Ms,errorProps:{disabled:!0},children:(0,b.jsx)(x.A,{tooltip:"Create ".concat(t," configuration"),children:(0,b.jsx)(a.$nd,{id:"create-idp",label:"Create Configuration",variant:"callAction",icon:(0,b.jsx)(a.REV,{}),onClick:()=>h("/identity/idp/".concat(t,"/configurations/add-idp"))})})})]}),(0,b.jsx)(a.xA9,{item:!0,xs:12,children:(0,b.jsx)(p.R,{scopes:[d.OV.ADMIN_CONFIG_UPDATE],resource:d.Ms,errorProps:{disabled:!0},children:(0,b.jsx)(a.bQt,{itemActions:P,columns:[{label:"Name",elementKey:"name"},{label:"Type",elementKey:"type"},{label:"Enabled",elementKey:"enabled"}],isLoading:O,records:I,entityName:"Keys",idField:"name"})})})]})})]})},m=()=>(0,b.jsx)(h,{idpType:"openid"})}}]); \ No newline at end of file diff --git a/web-app/build/static/js/593.fb5ea6de.chunk.js b/web-app/build/static/js/593.fb5ea6de.chunk.js deleted file mode 100644 index c0cca55f47..0000000000 --- a/web-app/build/static/js/593.fb5ea6de.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[593],{30593:(e,t,a)=>{a.r(t),a.d(t,{default:()=>x});var n=a(9950),r=a(87946),s=a.n(r),c=a(89132),l=a(70444),o=a(48965),i=a(45246),d=a(49078),u=a(99491),m=a(32680),h=a(44414);const x=e=>{let{open:t,closeModalAndRefresh:a,tierData:r}=e;const x=(0,u.jL)(),[p,g]=(0,n.useState)(!1),[j,y]=(0,n.useState)(""),[f,v]=(0,n.useState)(""),[C,b]=(0,n.useState)(""),[S,A]=(0,n.useState)(""),[K,E]=(0,n.useState)(!0),_=s()(r,"type",""),w=s()(r,"".concat(_,".name"),"");(0,n.useEffect)(()=>{let e=!0;"s3"===_||"azure"===_||"minio"===_?""!==C&&""!==S||(e=!1):"gcs"===_&&""===f&&(e=!1),E(e)},[S,C,f,_]);return(0,h.jsx)(m.A,{modalOpen:t,titleIcon:(0,h.jsx)(c.XAi,{}),onClose:()=>{a(!1)},title:"Update Credentials - ".concat(_," / ").concat(w),children:(0,h.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{e.preventDefault(),g(!0),(()=>{let e={};"s3"===_||"azure"===_||"minio"===_?e={access_key:C,secret_key:S}:"gcs"===_&&(e={creds:f}),""!==w?l.F.admin.editTierCredentials(_,w,e).then(()=>{g(!1),a(!0)}).catch(e=>{g(!1),x((0,d.Dy)((0,o.S)(e.error)))}):(0,d.Dy)({errorMessage:"There was an error retrieving tier information",detailedError:""})})()},children:[(0,h.jsxs)(c.Hbc,{withBorders:!1,containerPadding:!1,children:[("s3"===_||"minio"===_)&&(0,h.jsxs)(n.Fragment,{children:[(0,h.jsx)(c.cl_,{id:"accessKey",name:"accessKey",label:"Access Key",placeholder:"Enter Access Key",value:C,onChange:e=>{b(e.target.value)}}),(0,h.jsx)(c.cl_,{id:"secretKey",name:"secretKey",label:"Secret Key",placeholder:"Enter Secret Key",value:S,onChange:e=>{A(e.target.value)}})]}),"gcs"===_&&(0,h.jsx)(n.Fragment,{children:(0,h.jsx)(c.SxS,{accept:".json",id:"creds",label:"Credentials",name:"creds",returnEncodedData:!0,onChange:(e,t,a)=>{a&&(v(a),y(t))},value:j})}),"azure"===_&&(0,h.jsxs)(n.Fragment,{children:[(0,h.jsx)(c.cl_,{id:"accountName",name:"accountName",label:"Account Name",placeholder:"Enter Account Name",value:C,onChange:e=>{b(e.target.value)}}),(0,h.jsx)(c.cl_,{id:"accountKey",name:"accountKey",label:"Account Key",placeholder:"Enter Account Key",value:S,onChange:e=>{A(e.target.value)}})]})]}),p&&(0,h.jsx)(c.xA9,{item:!0,xs:12,children:(0,h.jsx)(c.z21,{})}),(0,h.jsx)(c.xA9,{item:!0,xs:12,sx:i.Uz.modalButtonBar,children:(0,h.jsx)(c.$nd,{id:"save-credentials",type:"submit",variant:"callAction",disabled:p||!K,label:"Save"})})]})})}},32680:(e,t,a)=>{a.d(t,{A:()=>d});var n=a(9950),r=a(98341),s=a(89132),c=a(99491),l=a(49078),o=a(96382),i=a(44414);const d=e=>{let{onClose:t,modalOpen:a,title:d,children:u,wideLimit:m=!0,titleIcon:h=null,iconColor:x="default",sx:p}=e;const g=(0,c.jL)(),[j,y]=(0,n.useState)(!1),f=(0,r.d4)(e=>e.system.modalSnackBar);(0,n.useEffect)(()=>{g((0,l.h0)(""))},[g]),(0,n.useEffect)(()=>{if(f){if(""===f.message)return void y(!1);"error"!==f.type&&y(!0)}},[f]);let v="";return f&&(v=f.detailedErrorMsg,(""===v||v&&v.length<5)&&(v=f.message)),(0,i.jsxs)(s.ngX,{onClose:t,open:a,title:d,titleIcon:h,widthLimit:m,sx:p,iconColor:x,children:[(0,i.jsx)(o.A,{isModal:!0}),(0,i.jsx)(s.qb_,{onClose:()=>{y(!1),g((0,l.h0)(""))},open:j,message:v,mode:"inline",variant:"error"===f.type?"error":"default",autoHideDuration:"error"===f.type?10:5,condensed:!0}),u]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/5938.d0dc8bf3.chunk.js b/web-app/build/static/js/5938.d0dc8bf3.chunk.js deleted file mode 100644 index 90c77885dc..0000000000 --- a/web-app/build/static/js/5938.d0dc8bf3.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[5938],{32680:(e,t,l)=>{l.d(t,{A:()=>d});var n=l(9950),s=l(98341),a=l(89132),o=l(99491),r=l(49078),i=l(96382),c=l(44414);const d=e=>{let{onClose:t,modalOpen:l,title:d,children:u,wideLimit:p=!0,titleIcon:h=null,iconColor:b="default",sx:m}=e;const x=(0,o.jL)(),[C,f]=(0,n.useState)(!1),j=(0,s.d4)(e=>e.system.modalSnackBar);(0,n.useEffect)(()=>{x((0,r.h0)(""))},[x]),(0,n.useEffect)(()=>{if(j){if(""===j.message)return void f(!1);"error"!==j.type&&f(!0)}},[j]);let v="";return j&&(v=j.detailedErrorMsg,(""===v||v&&v.length<5)&&(v=j.message)),(0,c.jsxs)(a.ngX,{onClose:t,open:l,title:d,titleIcon:h,widthLimit:p,sx:m,iconColor:b,children:[(0,c.jsx)(i.A,{isModal:!0}),(0,c.jsx)(a.qb_,{onClose:()=>{f(!1),x((0,r.h0)(""))},open:C,message:v,mode:"inline",variant:"error"===j.type?"error":"default",autoHideDuration:"error"===j.type?10:5,condensed:!0}),u]})}},55938:(e,t,l)=>{l.r(t),l.d(t,{default:()=>p});var n=l(9950),s=l(89132),a=l(70444),o=l(48965),r=l(45246),i=l(49078),c=l(99491),d=l(32680),u=l(44414);const p=e=>{let{modalOpen:t,onClose:l,bucket:p,toEdit:h,initial:b}=e;const m=(0,c.jL)(),[x,C]=(0,n.useState)(b);return(0,u.jsx)(n.Fragment,{children:(0,u.jsxs)(d.A,{modalOpen:t,title:"Edit Anonymous Access Rule for ".concat("".concat(p,"/").concat(h||"")),onClose:l,titleIcon:(0,u.jsx)(s.No_,{}),children:[(0,u.jsx)(s.Hbc,{containerPadding:!1,withBorders:!1,children:(0,u.jsx)(s.l6P,{id:"access",name:"Access",onChange:e=>{C(e)},label:"Access",value:x,options:[{label:"readonly",value:"readonly"},{label:"writeonly",value:"writeonly"},{label:"readwrite",value:"readwrite"}],disabled:!1})}),(0,u.jsxs)(s.xA9,{item:!0,xs:12,sx:r.Uz.modalButtonBar,children:[(0,u.jsx)(s.$nd,{id:"clear",type:"button",variant:"regular",onClick:()=>{C(b)},label:"Clear"}),(0,u.jsx)(s.$nd,{id:"save",type:"submit",variant:"callAction",onClick:()=>{a.F.bucket.setAccessRuleWithBucket(p,{prefix:h,access:x}).then(()=>{l()}).catch(e=>{m((0,i.C9)((0,o.S)(e.error))),l()})},label:"Save"})]})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/6215.3e9b6962.chunk.js b/web-app/build/static/js/6215.3e9b6962.chunk.js deleted file mode 100644 index 7628e43343..0000000000 --- a/web-app/build/static/js/6215.3e9b6962.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[6215],{60252:(e,t,n)=>{n.d(t,{_T:()=>c,pW:()=>s,qA:()=>a,vH:()=>r,y:()=>l});var i=n(89132),o=n(44414);const r="minio",a="gcs",s="s3",l="azure",c=[{serviceName:r,targetTitle:"MinIO",logo:(0,o.jsx)(i.Wh8,{}),logoXs:(0,o.jsx)(i.$2v,{})},{serviceName:a,targetTitle:"Google Cloud Storage",logo:(0,o.jsx)(i.F7U,{}),logoXs:(0,o.jsx)(i.gwF,{})},{serviceName:s,targetTitle:"AWS S3",logo:(0,o.jsx)(i._tF,{}),logoXs:(0,o.jsx)(i.ZZX,{})},{serviceName:l,targetTitle:"Azure",logo:(0,o.jsx)(i.Nmx,{}),logoXs:(0,o.jsx)(i.Ubg,{})}]},86215:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var i=n(9950),o=n(28429),r=n(60252),a=n(93598),s=n(19335),l=n(87946),c=n.n(l),m=n(44414);const g=s.Ay.button(e=>{let{theme:t}=e;return{background:c()(t,"boxBackground","#FFF"),border:"".concat(c()(t,"borderColor","#E2E2E2")," 1px solid"),borderRadius:5,height:80,display:"flex",alignItems:"center",justifyContent:"start",marginBottom:16,marginRight:8,cursor:"pointer",overflow:"hidden","&:hover":{backgroundColor:c()(t,"buttons.regular.hover.background","#ebebeb")},"& .imageContainer":{width:80,"& .min-icon":{maxWidth:46,maxHeight:46}},"& .tierNotifTitle":{color:c()(t,"buttons.callAction.enabled.background","#07193E"),fontSize:16,fontFamily:"Inter,sans-serif",paddingLeft:18,fontWeight:"bold"}}}),d=e=>{let{onClick:t,icon:n,name:i}=e;return(0,m.jsxs)(g,{onClick:()=>{t(i)},children:[(0,m.jsx)("span",{className:"imageContainer",children:n}),(0,m.jsx)("span",{className:"tierNotifTitle",children:i})]})};var p=n(89132),h=n(82817),x=n(98167),j=n(49078),b=n(99491);const u=()=>{const e=(0,o.Zp)(),t=(0,b.jL)();return(0,i.useEffect)(()=>{t((0,j.ph)("tier-type-selector"))},[t]),(0,m.jsxs)(i.Fragment,{children:[(0,m.jsx)(h.A,{label:(0,m.jsx)(i.Fragment,{children:(0,m.jsx)(p.EGL,{label:"Tier Types",onClick:()=>e(a.zZ.TIERS)})}),actions:(0,m.jsx)(x.A,{})}),(0,m.jsx)(p.Mxu,{children:(0,m.jsx)(p.Hbc,{title:"Select Tier Type",icon:(0,m.jsx)(p.fAn,{}),helpBox:(0,m.jsx)(p.lVp,{iconComponent:(0,m.jsx)(p.fAn,{}),title:"Tier Types",help:(0,m.jsxs)(i.Fragment,{children:["MinIO supports creating object transition lifecycle management rules, where MinIO can automatically move an object to a remote storage \u201ctier\u201d.",(0,m.jsx)("br",{}),(0,m.jsx)("br",{}),"MinIO supports the following Tier types:",(0,m.jsx)("br",{}),(0,m.jsxs)("ul",{children:[(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-s3.html#minio-lifecycle-management-transition-to-s3",target:"_blank",rel:"noopener",children:"MinIO or other S3-compatible storage"})}),(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-s3.html#minio-lifecycle-management-transition-to-s3",target:"_blank",rel:"noopener",children:"Amazon S3"})}),(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-gcs.html#minio-lifecycle-management-transition-to-gcs",target:"_blank",rel:"noopener",children:"Google Cloud Storage"})}),(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-azure.html#minio-lifecycle-management-transition-to-azure",target:"_blank",rel:"noopener",children:"Microsoft Azure Blob Storage"})})]})]})}),children:(0,m.jsx)(p.azJ,{sx:{margin:"15px",display:"grid",gridGap:"20px",gridTemplateColumns:"repeat(2, 1fr)",["@media (max-width: ".concat(p.nmC.md,"px)")]:{gridTemplateColumns:"repeat(1, 1fr)"}},children:r._T.map((t,n)=>(0,m.jsx)(d,{name:t.targetTitle,onClick:()=>{var n;n=t.serviceName,e("".concat(a.zZ.TIERS_ADD,"/").concat(n))},icon:t.logo},"tierOpt-".concat(n.toString,"-").concat(t.targetTitle)))})})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/6242.24c7dc20.chunk.js b/web-app/build/static/js/6242.24c7dc20.chunk.js deleted file mode 100644 index a3ac3a6d36..0000000000 --- a/web-app/build/static/js/6242.24c7dc20.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[6242],{36242:(e,s,t)=>{t.r(s),t.d(s,{default:()=>I});var i=t(9950),n=t(89132),o=t(28429),c=t(45246),a=t(93598),r=t(26843),l=t(49078),d=t(99491),u=t(70444),h=t(27428),m=t(55604),p=t(30272),x=t(82817),A=t(98167),j=t(44414);const b=(0,m.A)(i.lazy(()=>t.e(4043).then(t.bind(t,54043)))),I=()=>{const e=(0,d.jL)(),s=(0,o.Zp)(),[t,m]=(0,i.useState)([]),[I,f]=(0,i.useState)(!1),[y,C]=(0,i.useState)(!1),[M,P]=(0,i.useState)(""),[_,v]=(0,i.useState)(""),O=(0,r._)(a.Ms,[a.OV.ADMIN_GET_POLICY]),S=(0,r._)(a.Ms,a.uA),E=(0,r._)(a.Ms,a.Bc),g=(0,r._)(a.Ms,a.nr),L=(0,r._)(a.Ms,a.yv);(0,i.useEffect)(()=>{k()},[]),(0,i.useEffect)(()=>{I&&(E?u.F.policies.listPolicies().then(e=>{var s;const t=null!==(s=e.data.policies)&&void 0!==s?s:[];t.sort((e,s)=>e.name>s.name?1:e.name{f(!1),e((0,l.C9)(s))}):f(!1))},[I,f,m,e,E]);const k=()=>{f(!0)},w=[{type:"view",onClick:e=>{s("".concat(a.zZ.POLICIES,"/").concat(encodeURIComponent(e.name)))},disableButtonFunction:()=>!O},{type:"delete",onClick:e=>{C(!0),P(e)},sendOnlyId:!0,disableButtonFunction:()=>!S}],R=t.filter(e=>{var s;return null===(s=e.name)||void 0===s?void 0:s.includes(_)});return(0,i.useEffect)(()=>{e((0,l.ph)("list_policies"))},[]),(0,j.jsxs)(i.Fragment,{children:[y&&(0,j.jsx)(b,{deleteOpen:y,selectedPolicy:M,closeDeleteModalAndRefresh:e=>{C(!1),e&&k()}}),(0,j.jsx)(x.A,{label:"IAM Policies",actions:(0,j.jsx)(A.A,{})}),(0,j.jsx)(n.Mxu,{children:(0,j.jsxs)(n.xA9,{container:!0,children:[(0,j.jsxs)(n.xA9,{item:!0,xs:12,sx:c._0.actionsTray,children:[(0,j.jsx)(h.A,{onChange:v,placeholder:"Search Policies",value:_,sx:{maxWidth:380}}),(0,j.jsx)(r.R,{scopes:[a.OV.ADMIN_CREATE_POLICY],resource:a.Ms,errorProps:{disabled:!0},children:(0,j.jsx)(p.A,{tooltip:g?"":(0,a.vj)(a.nr,"create a Policy"),children:(0,j.jsx)(n.$nd,{id:"create-policy",label:"Create Policy",variant:"callAction",icon:(0,j.jsx)(n.REV,{}),onClick:()=>{s("".concat(a.zZ.POLICY_ADD))},disabled:!g})})})]}),(0,j.jsx)(n.xA9,{item:!0,xs:12,children:(0,j.jsx)(r.R,{scopes:[a.OV.ADMIN_LIST_USER_POLICIES],resource:a.Ms,errorProps:{disabled:!0},children:(0,j.jsx)(p.A,{tooltip:L?"":(0,a.vj)(a.yv,"view Policy details"),children:(0,j.jsx)(n.bQt,{itemActions:w,columns:[{label:"Name",elementKey:"name"}],isLoading:I,records:R,entityName:"Policies",idField:"name"})})})}),(0,j.jsx)(n.xA9,{item:!0,xs:12,sx:{marginTop:15},children:(0,j.jsx)(n.lVp,{title:"Learn more about IAM POLICIES",iconComponent:(0,j.jsx)(n.n$X,{}),help:(0,j.jsxs)(i.Fragment,{children:["MinIO uses Policy-Based Access Control (PBAC) to define the authorized actions and resources to which an authenticated user has access. Each policy describes one or more actions and conditions that outline the permissions of a user or group of users.",(0,j.jsx)("br",{}),(0,j.jsx)("br",{}),"MinIO PBAC is built for compatibility with AWS IAM policy syntax, structure, and behavior. The MinIO documentation makes a best-effort to cover IAM-specific behavior and functionality. Consider deferring to the IAM documentation for more complete documentation on AWS IAM-specific topics.",(0,j.jsx)("br",{}),(0,j.jsx)("br",{}),"You can learn more at our"," ",(0,j.jsx)("a",{href:"https://min.io/docs/minio/linux/administration/identity-access-management.html#access-management",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})})]})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/6481.f7633420.chunk.js b/web-app/build/static/js/6481.f7633420.chunk.js deleted file mode 100644 index 5a66ed9cae..0000000000 --- a/web-app/build/static/js/6481.f7633420.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[6481],{32680:(e,t,n)=>{n.d(t,{A:()=>c});var i=n(9950),s=n(98341),l=n(89132),o=n(99491),r=n(49078),a=n(96382),d=n(44414);const c=e=>{let{onClose:t,modalOpen:n,title:c,children:p,wideLimit:x=!0,titleIcon:m=null,iconColor:u="default",sx:h}=e;const j=(0,o.jL)(),[g,f]=(0,i.useState)(!1),y=(0,s.d4)(e=>e.system.modalSnackBar);(0,i.useEffect)(()=>{j((0,r.h0)(""))},[j]),(0,i.useEffect)(()=>{if(y){if(""===y.message)return void f(!1);"error"!==y.type&&f(!0)}},[y]);let b="";return y&&(b=y.detailedErrorMsg,(""===b||b&&b.length<5)&&(b=y.message)),(0,d.jsxs)(l.ngX,{onClose:t,open:n,title:c,titleIcon:m,widthLimit:x,sx:h,iconColor:u,children:[(0,d.jsx)(a.A,{isModal:!0}),(0,d.jsx)(l.qb_,{onClose:()=>{f(!1),j((0,r.h0)(""))},open:g,message:b,mode:"inline",variant:"error"===y.type?"error":"default",autoHideDuration:"error"===y.type?10:5,condensed:!0}),p]})}},86481:(e,t,n)=>{n.r(t),n.d(t,{default:()=>I});var i=n(89379),s=n(9950),l=n(28429),o=n(89132),r=n(93598),a=n(49078),d=n(99491),c=n(49534),p=n(1531),x=n(19335),m=n(87946),u=n.n(m),h=n(32680),j=n(45246),g=n(44414);const f=x.Ay.div(e=>{let{theme:t}=e;return{"& .alertText":{color:u()(t,"signalColors.danger","#C51B3F")}}}),y=e=>{let{editSite:t={},onClose:n,onComplete:i}=e;const l=(0,d.jL)(),[r,c]=(0,s.useState)(""),[x,m]=(0,p.A)(e=>{e.success?l((0,a.Hk)(e.status)):l((0,a.C9)({errorMessage:"Error",detailedError:e.status})),i()},e=>{l((0,a.C9)(e)),i()});let u=!1;try{new URL(r),u=!0}catch(y){u=!1}return(0,g.jsxs)(h.A,{title:"Edit Replication Endpoint ",modalOpen:!0,titleIcon:(0,g.jsx)(o.qUP,{}),onClose:n,children:[(0,g.jsxs)(f,{children:[(0,g.jsxs)(o.azJ,{sx:{display:"flex",flexFlow:"column",marginBottom:"15px"},children:[(0,g.jsxs)(o.azJ,{sx:{marginBottom:"10px"},children:[(0,g.jsx)("strong",{children:"Site:"})," "," ",t.name]}),(0,g.jsxs)(o.azJ,{sx:{marginBottom:"10px"},children:[(0,g.jsx)("strong",{children:"Current Endpoint:"})," "," ",t.endpoint]})]}),(0,g.jsxs)(o.xA9,{item:!0,xs:12,children:[(0,g.jsx)(o.l1Y,{sx:{marginBottom:5},children:"New Endpoint:"}),(0,g.jsx)(o.cl_,{id:"edit-rep-peer-endpoint",name:"edit-rep-peer-endpoint",placeholder:"https://dr.minio-storage:9000",onChange:e=>{c(e.target.value)},label:"",value:r})]}),(0,g.jsxs)(o.xA9,{item:!0,xs:12,sx:{marginBottom:15,fontStyle:"italic",display:"flex",alignItems:"center",fontSize:"12px",marginTop:2},children:[(0,g.jsx)("strong",{children:"Note:"}),"\xa0",(0,g.jsx)("span",{className:"alertText",children:"Access Key and Secret Key should be same on the new site/endpoint."})]})]}),(0,g.jsxs)(o.xA9,{item:!0,xs:12,sx:j.Uz.modalButtonBar,children:[(0,g.jsx)(o.$nd,{id:"close",type:"button",variant:"regular",onClick:n,label:"Cancel"}),(0,g.jsx)(o.$nd,{id:"update",type:"button",variant:"callAction",disabled:x||!u,onClick:()=>{m("PUT","api/v1/admin/site-replication",{endpoint:r,name:t.name,deploymentId:t.deploymentID})},label:"Update"})]})]})},b=x.Ay.div(e=>{let{theme:t}=e;return{display:"flex",gap:10,"& .currentIndicator":{"& .min-icon":{width:12,height:12,fill:u()(t,"signalColors.good","#4CCB92")}},"& .endpointName":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}),C=e=>{let{sites:t,onDeleteSite:n,onRefresh:i}=e;const[l,r]=(0,s.useState)(""),[a,d]=(0,s.useState)(null),p=[{label:"Site Name",elementKey:"name"},{label:"Endpoint",elementKey:"endpoint",renderFullObject:!0,renderFunction:e=>(0,g.jsxs)(b,{children:[e.isCurrent?(0,g.jsx)(o.m_M,{tooltip:"This site/cluster",placement:"top",children:(0,g.jsx)(o.azJ,{className:"currentIndicator",children:(0,g.jsx)(o.GQ2,{})})}):null,(0,g.jsx)(o.m_M,{tooltip:e.endpoint,children:(0,g.jsx)(o.azJ,{className:"endpointName",children:e.endpoint})})]})}],x=[{type:"edit",onClick:e=>d(e),tooltip:"Edit Endpoint"},{type:"delete",onClick:e=>r(e.name),tooltip:"Delete Site"}];return(0,g.jsxs)(s.Fragment,{children:[(0,g.jsx)(o.bQt,{columns:p,records:t,itemActions:x,idField:"name",customPaperHeight:"calc(100vh - 660px)",sx:{marginBottom:20}}),""!==l&&(0,g.jsx)(c.A,{title:"Delete Replication Site",confirmText:"Delete",isOpen:""!==l,titleIcon:(0,g.jsx)(o.xWY,{}),isLoading:!1,onConfirm:()=>{n(!1,[l])},onClose:()=>{r("")},confirmationContent:(0,g.jsxs)(s.Fragment,{children:["Are you sure you want to remove the replication site:"," ",(0,g.jsx)("strong",{children:l}),"?"]})}),null!==a&&(0,g.jsx)(y,{onComplete:()=>{d(null),i()},editSite:a,onClose:()=>{d(null)}})]})};var S=n(30272),A=n(82817),v=n(98167);const I=()=>{const e=(0,d.jL)(),t=(0,l.Zp)(),[n,x]=(0,s.useState)([]),[m,u]=(0,s.useState)(!1),[h,j]=(0,p.A)(e=>{const{sites:t,name:n}=e,s=t.findIndex(e=>e.name===n);if(-1!==s){let e=t[s];e=(0,i.A)((0,i.A)({},e),{},{isCurrent:!0}),t.splice(s,1,e)}t.sort((e,t)=>e.name===n?-1:t.name===n?1:0),x(t)},e=>{x([])}),f=()=>{j("GET","api/v1/admin/site-replication")},[y,b]=(0,p.A)(t=>{u(!1),e((0,a.Hk)("Successfully deleted.")),f()},t=>{e((0,a.C9)(t))}),I=function(){b("DELETE","api/v1/admin/site-replication",{all:arguments.length>0&&void 0!==arguments[0]&&arguments[0],sites:arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]})};(0,s.useEffect)(()=>{f()},[]);const E=null===n||void 0===n?void 0:n.length;return(0,s.useEffect)(()=>{e((0,a.ph)("site-replication"))},[]),(0,g.jsxs)(s.Fragment,{children:[(0,g.jsx)(A.A,{label:"Site Replication",actions:(0,g.jsx)(v.A,{})}),(0,g.jsxs)(o.Mxu,{children:[(0,g.jsx)(o._xt,{separator:!!E,sx:{marginBottom:15},actions:(0,g.jsxs)(o.azJ,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:8},children:[E?(0,g.jsxs)(s.Fragment,{children:[(0,g.jsx)(S.A,{tooltip:"Delete All",children:(0,g.jsx)(o.$nd,{id:"delete-all",label:"Delete All",variant:"secondary",disabled:y,icon:(0,g.jsx)(o.ucK,{}),onClick:()=>{u(!0)}})}),(0,g.jsx)(S.A,{tooltip:"Replication Status",children:(0,g.jsx)(o.$nd,{id:"replication-status",label:"Replication Status",variant:"regular",icon:(0,g.jsx)(o.YkU,{}),onClick:e=>{e.preventDefault(),t(r.zZ.SITE_REPLICATION_STATUS)}})})]}):null,(0,g.jsx)(S.A,{tooltip:"Add Replication Sites",children:(0,g.jsx)(o.$nd,{id:"add-replication-site",label:"Add Sites",variant:"callAction",disabled:y,icon:(0,g.jsx)(o.REV,{}),onClick:()=>{t(r.zZ.SITE_REPLICATION_ADD)}})})]}),children:E?"List of Replicated Sites":""}),E?(0,g.jsx)(C,{sites:n,onDeleteSite:I,onRefresh:f}):null,h?(0,g.jsx)(o.azJ,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc( 100vh - 450px )"},children:(0,g.jsx)(o.aHM,{style:{width:16,height:16}})}):null,E||h?null:(0,g.jsx)(o.xA9,{container:!0,children:(0,g.jsx)(o.xA9,{item:!0,xs:8,children:(0,g.jsx)(o.lVp,{title:"Site Replication",iconComponent:(0,g.jsx)(o.pHQ,{}),help:(0,g.jsxs)(s.Fragment,{children:["This feature allows multiple independent MinIO sites (or clusters) that are using the same external IDentity Provider (IDP) to be configured as replicas.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),"To get started,"," ",(0,g.jsx)(o.t53,{isLoading:!1,label:"",onClick:()=>{t(r.zZ.SITE_REPLICATION_ADD)},children:"Add a Replication Site"}),".",(0,g.jsx)("br",{}),"You can learn more at our"," ",(0,g.jsx)("a",{href:"https://min.io/docs/minio/linux/operations/install-deploy-manage/multi-site-replication.html",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})})}),E&&!h?(0,g.jsx)(o.lVp,{title:"Site Replication",iconComponent:(0,g.jsx)(o.pHQ,{}),help:(0,g.jsxs)(s.Fragment,{children:["This feature allows multiple independent MinIO sites (or clusters) that are using the same external IDentity Provider (IDP) to be configured as replicas. In this situation the set of replica sites are referred to as peer sites or just sites.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),"Initially, only one of the sites added for replication may have data. After site-replication is successfully configured, this data is replicated to the other (initially empty) sites. Subsequently, objects may be written to any of the sites, and they will be replicated to all other sites.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),"All sites must have the same deployment credentials (i.e. MINIO_ROOT_USER, MINIO_ROOT_PASSWORD).",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),"All sites must be using the same external IDP(s) if any.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),"For SSE-S3 or SSE-KMS encryption via KMS, all sites must have access to a central KMS deployment server.",(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),"You can learn more at our"," ",(0,g.jsx)("a",{href:"https://github.com/minio/minio/tree/master/docs/site-replication",target:"_blank",rel:"noopener",children:"documentation"}),"."]})}):null,m?(0,g.jsx)(c.A,{title:"Delete All",confirmText:"Delete",isOpen:!0,titleIcon:(0,g.jsx)(o.xWY,{}),isLoading:!1,onConfirm:()=>{const e=n.map(e=>e.name);I(!0,e)},onClose:()=>{u(!1)},confirmationContent:(0,g.jsx)(s.Fragment,{children:"Are you sure you want to remove all the replication sites?."})}):null]})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/6582.fb2dceaa.chunk.js b/web-app/build/static/js/6582.fb2dceaa.chunk.js deleted file mode 100644 index d542aaae52..0000000000 --- a/web-app/build/static/js/6582.fb2dceaa.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[6582],{66582:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var o=n(9950),l=n(89132),s=n(49078),r=n(99491),c=n(49534),a=n(70444),i=n(48965),u=n(44414);const p=e=>{let{selectedGroups:t,deleteOpen:n,closeDeleteModalAndRefresh:p}=e;const h=(0,r.jL)(),[d,f]=(0,o.useState)(!1);if(!t)return null;const g=t.map(e=>(0,u.jsx)("div",{children:(0,u.jsx)("b",{children:e})},e));return(0,u.jsx)(c.A,{title:"Delete Group".concat(t.length>1?"s":""),confirmText:"Delete",isOpen:n,titleIcon:(0,u.jsx)(l.xWY,{}),isLoading:d,onConfirm:()=>{for(let e of t)f(!0),a.F.group.removeGroup(e).then(e=>{p(!0)}).catch(async e=>{const t=await e.json();h((0,s.C9)((0,i.S)(t))),p(!1)}).finally(()=>f(!1))},onClose:()=>p(!1),confirmationContent:(0,u.jsxs)(o.Fragment,{children:["Are you sure you want to delete the following"," ",1===t.length?"":t.length," group",t.length>1?"s?":"?",g]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/66.6c94b445.chunk.js b/web-app/build/static/js/66.6c94b445.chunk.js deleted file mode 100644 index 7d44290da2..0000000000 --- a/web-app/build/static/js/66.6c94b445.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[66],{50066:(e,s,t)=>{t.r(s),t.d(s,{default:()=>v});var n=t(9950),o=t(1531),r=t(49534),i=t(89132),l=t(49078),c=t(99491),a=t(26843),d=t(93598),u=t(98341),b=t(70444),h=t(44414);const v=e=>{let{closeDeleteModalAndRefresh:s,deleteOpen:t,selectedBucket:v,selectedObjects:p,versioning:j}=e;const g=(0,c.jL)(),x=()=>s(!0),[f,m]=(0,o.A)(x,e=>g((0,l.C9)(e))),[C,y]=(0,n.useState)(!1),[O,_]=(0,n.useState)(!1),k=(0,u.d4)(e=>e.objectBrowser.retentionConfig),w=(0,a._)([v],[d.OV.S3_BYPASS_GOVERNANCE_RETENTION])&&"governance"===(null===k||void 0===k?void 0:k.mode);if(!p)return null;const T="Enabled"===(null===j||void 0===j?void 0:j.status)||"Suspended"===(null===j||void 0===j?void 0:j.status);return(0,h.jsx)(r.A,{title:"Delete Objects",confirmText:"Delete",isOpen:t,titleIcon:(0,h.jsx)(i.xWY,{}),isLoading:f,onConfirm:()=>{let e=[];for(let s=0;s{g((0,l.C9)({errorMessage:"Could not delete object. ".concat(e.statusText,". ").concat(k?"Please check retention mode and if object is WORM protected.":""),detailedError:""}))})}else m("POST","/api/v1/buckets/".concat(v,"/delete-objects?all_versions=").concat(C).concat(O?"&bypass=true":""),e)},onClose:()=>s(!1),confirmationContent:(0,h.jsxs)(n.Fragment,{children:["Are you sure you want to delete the selected ",p.length," ","objects?"," ",T&&(0,h.jsxs)(n.Fragment,{children:[(0,h.jsx)("br",{}),(0,h.jsx)("br",{}),(0,h.jsx)(i.dOG,{label:"Delete All Versions",indicatorLabels:["Yes","No"],checked:C,value:"delete_versions",id:"delete-versions",name:"delete-versions",onChange:e=>{y(!C)},description:""}),w&&C&&(0,h.jsx)(n.Fragment,{children:(0,h.jsx)("div",{style:{marginTop:10},children:(0,h.jsx)(i.dOG,{label:"Bypass Governance Mode",indicatorLabels:["Yes","No"],checked:O,value:"bypass_governance",id:"bypass_governance",name:"bypass_governance",onChange:e=>{_(!O)},description:""})})}),C&&(0,h.jsxs)(n.Fragment,{children:[(0,h.jsxs)("div",{style:{marginTop:10,border:"#c83b51 1px solid",borderRadius:3,padding:5,backgroundColor:"#c83b5120",color:"#c83b51"},children:["This will remove the objects as well as all of their versions, ",(0,h.jsx)("br",{}),"This action is irreversible."]}),(0,h.jsx)("br",{}),"Are you sure you want to continue?"]})]})]})})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/6644.a53d4ec8.chunk.js b/web-app/build/static/js/6644.a53d4ec8.chunk.js deleted file mode 100644 index b46c693d74..0000000000 --- a/web-app/build/static/js/6644.a53d4ec8.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[6644],{76644:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var a=n(9950),l=n(98341),s=n(89132),c=n(99491),o=n(59908),i=n(31690),r=n(11488),d=n(49078),u=n(2586),x=n(82817),h=n(98167),m=n(44414);const p=()=>{const e=(0,c.jL)(),t=(0,l.d4)(e=>e.watch.messages),[n,p]=(0,a.useState)(!1),[b,f]=(0,a.useState)("Select Bucket"),[g,j]=(0,a.useState)(""),[w,k]=(0,a.useState)(""),[S,v]=(0,a.useState)([]);(0,a.useEffect)(()=>{u.A.invoke("GET","/api/v1/buckets").then(e=>{let t=[];null!==e.buckets&&(t=e.buckets),v(t)}).catch(e=>{console.error(e)})},[]),(0,a.useEffect)(()=>{if(e((0,r.n4)()),n&&S.some(e=>e.name===b)){const t=new URL(window.location.toString()),n=!1?"9090":t.port,a=new URL(document.baseURI).pathname,l=(0,i.nw)(t.protocol),s=new WebSocket("".concat(l,"://").concat(t.hostname,":").concat(n).concat(a,"ws/watch/").concat(b,"?prefix=").concat(g,"&suffix=").concat(w));let c=null;if(null!==s)return s.onopen=()=>{console.log("WebSocket Client Connected"),s.send("ok"),c=setInterval(()=>{s.send("ok")},1e4)},s.onmessage=t=>{let n=JSON.parse(t.data.toString());n.Time=new Date(n.Time.toString()),n.key=Math.random(),e((0,r.ID)(n))},s.onclose=()=>{clearInterval(c),console.log("connection closed by server"),p(!1)},()=>{s.close(1e3),clearInterval(c),console.log("closing websockets")}}else p(!1)},[e,n,S,b,g,w]);const y=S.map(e=>({label:e.name,value:e.name}));(0,a.useEffect)(()=>{e((0,d.ph)("watch"))},[]);const C=y.map(e=>({label:e.label,value:e.value}));return(0,m.jsxs)(a.Fragment,{children:[(0,m.jsx)(x.A,{label:"Watch",actions:(0,m.jsx)(h.A,{})}),(0,m.jsx)(s.Mxu,{children:(0,m.jsxs)(s.xA9,{container:!0,children:[(0,m.jsxs)(s.xA9,{item:!0,xs:12,sx:{display:"flex",gap:10,marginBottom:15,alignItems:"center"},children:[(0,m.jsxs)(s.azJ,{sx:{flexGrow:1},children:[(0,m.jsx)(s.l1Y,{children:"Bucket"}),(0,m.jsx)(s.l6P,{id:"bucket-name",name:"bucket-name",value:b,onChange:e=>{f(e)},disabled:n,options:C,placeholder:"Select Bucket"})]}),(0,m.jsxs)(s.azJ,{sx:{flexGrow:1},children:[(0,m.jsx)(s.l1Y,{children:"Prefix"}),(0,m.jsx)(s.cl_,{id:"prefix-resource",disabled:n,onChange:e=>{j(e.target.value)}})]}),(0,m.jsxs)(s.azJ,{sx:{flexGrow:1},children:[(0,m.jsx)(s.l1Y,{children:"Suffix"}),(0,m.jsx)(s.cl_,{id:"suffix-resource",disabled:n,onChange:e=>{k(e.target.value)}})]}),(0,m.jsx)(s.azJ,{sx:{alignSelf:"flex-end",paddingBottom:4},children:n?(0,m.jsx)(s.$nd,{id:"stop-watch",type:"submit",variant:"callAction",onClick:()=>p(!1),label:"Stop"}):(0,m.jsx)(s.$nd,{id:"start-watch",type:"submit",variant:"callAction",onClick:()=>p(!0),label:"Start"})})]}),(0,m.jsx)(s.xA9,{item:!0,xs:12,children:(0,m.jsx)(s.bQt,{columns:[{label:"Time",elementKey:"Time",renderFunction:o.cj},{label:"Size",elementKey:"Size",renderFunction:o.nO},{label:"Type",elementKey:"Type"},{label:"Path",elementKey:"Path"}],records:t,entityName:"Watch",customEmptyMessage:"No Changes at this time",idField:"watch_table",isLoading:!1,customPaperHeight:"calc(100vh - 270px)"})})]})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/6681.da659a1c.chunk.js b/web-app/build/static/js/6681.da659a1c.chunk.js deleted file mode 100644 index 9050af7344..0000000000 --- a/web-app/build/static/js/6681.da659a1c.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[6681],{6805:(e,i,t)=>{t.d(i,{A:()=>a});var r=t(9950),n=t(89132),s=t(44414);const l=e=>{let{icon:i,description:t}=e;return(0,s.jsxs)(n.azJ,{sx:{display:"flex","& .min-icon":{marginRight:"10px",height:"23px",width:"23px",marginBottom:"10px"}},children:[i," ",(0,s.jsx)("div",{style:{fontSize:"14px",fontStyle:"italic",color:"#5E5E5E"},children:t})]})},a=e=>{let{helpText:i,docLink:t,docText:a,contents:o}=e;return(0,s.jsxs)(n.azJ,{sx:{flex:1,border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"20px"},children:[(0,s.jsxs)(n.azJ,{sx:{fontSize:"16px",fontWeight:600,display:"flex",alignItems:"center",marginBottom:"16px",paddingBottom:"20px","& .min-icon":{height:"21px",width:"21px",marginRight:"15px"}},children:[(0,s.jsx)(n.nag,{}),(0,s.jsx)("div",{children:i})]}),(0,s.jsxs)(n.azJ,{sx:{fontSize:"14px",marginBottom:"15px"},children:[o.map((e,i)=>(0,s.jsxs)(r.Fragment,{children:[e.icon&&(0,s.jsx)(n.azJ,{sx:{paddingBottom:"20px"},children:(0,s.jsx)(l,{icon:e.icon,description:e.iconDescription})}),(0,s.jsx)(n.azJ,{sx:{paddingBottom:"20px"},children:e.text})]},"feature-item-".concat(i))),(0,s.jsx)(n.azJ,{sx:{paddingBottom:"20px"},children:(0,s.jsx)("a",{href:t,target:"_blank",rel:"noopener",children:a})})]})]})}},18120:(e,i,t)=>{t.d(i,{A:()=>p});var r=t(9950),n=t(70444),s=t(48965),l=t(49534),a=t(89132),o=t(49078),c=t(99491),d=t(44414);const p=e=>{let{configurationName:i,closeResetModalAndRefresh:t,resetOpen:p}=e;const x=(0,c.jL)(),[u,h]=(0,r.useState)(!1);(0,r.useEffect)(()=>{u&&n.F.configs.resetConfig(i).then(()=>{h(!1),t(!0)}).catch(e=>{h(!1),x((0,o.C9)((0,s.S)(e.error)))})},[t,i,u,x]);return(0,d.jsx)(l.A,{title:"Restore Defaults",confirmText:"Yes, Reset Configuration",isOpen:p,titleIcon:(0,d.jsx)(a.xWY,{}),isLoading:u,onConfirm:()=>{h(!0)},onClose:()=>{t(!1)},confirmationContent:(0,d.jsxs)(r.Fragment,{children:[u&&(0,d.jsx)(a.z21,{}),(0,d.jsxs)(r.Fragment,{children:["Are you sure you want to restore these configurations to default values?",(0,d.jsx)("br",{}),(0,d.jsx)("b",{style:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"},children:"Please note that this may cause your system to not be accessible"})]})]})})}},20416:(e,i,t)=>{t.d(i,{Hw:()=>n,LA:()=>r,SO:()=>s,rY:()=>l});const r=(e,i)=>{if(e.accessKey&&i.accessKey){if(e.accessKey>i.accessKey)return 1;if(e.accessKeye.name>i.name?1:e.namee>i?1:ee.policy>i.policy?1:e.policy{t.r(i),t.d(i,{default:()=>D});var r=t(89379),n=t(9950),s=t(89132),l=t(70444),a=t(48965),o=t(99491),c=t(49078),d=t(91234),p=t(82817),x=t(6805),u=t(98341),h=t(51536),m=t(44414);const g=e=>{let{name:i}=e;return(0,m.jsxs)("h4",{children:[(0,m.jsx)(s.FUY,{style:{transform:"rotateZ(90deg)"}}),i]})},f=e=>{let{blockName:i,results:t}=e;return(0,m.jsxs)(n.Fragment,{children:[(0,m.jsxs)("strong",{children:[i,":"]}),(0,m.jsx)("ul",{children:t.map((e,t)=>(0,m.jsx)("li",{children:e},"policy-".concat(i,"-").concat(t)))})]})},y=e=>{var i,t,r,l,a,o;let{entityName:c,results:d}=e,p=0;switch(c){case"Group":p=(null===(i=d.groups)||void 0===i?void 0:i.length)||0;break;case"Policy":p=(null===(t=d.policies)||void 0===t?void 0:t.length)||0;break;case"User":p=(null===(r=d.users)||void 0===r?void 0:r.length)||0}return(0,m.jsxs)(s.azJ,{className:"resultElement",sx:{marginTop:50,"&:first-of-type":{marginTop:0}},children:[(0,m.jsxs)(s._xt,{separator:!0,sx:{fontSize:12},icon:(0,m.jsx)(s.Xk0,{style:{width:17,height:17}}),actions:(0,m.jsxs)(s.azJ,{sx:{fontSize:14},children:[(0,m.jsx)("strong",{children:p})," Entit",1===p?"y":"ies"," Found"]}),children:[c," Mappings"]}),(0,m.jsxs)(s.azJ,{className:"resultsList",sx:{h4:{borderBottom:"#e2e2e2 1px solid",padding:"12px 0",margin:0,marginBottom:15,display:"flex",alignItems:"center","& svg":{marginRight:10,fill:"#3C77A7"}}},children:["Group"===c&&(null===(l=d.groups)||void 0===l?void 0:l.map((e,i)=>(0,m.jsxs)(n.Fragment,{children:[(0,m.jsx)(g,{name:e.group||""}),e.policies&&(0,m.jsx)(f,{blockName:"Policies",results:e.policies})]},"policy-res-".concat(i)))),"User"===c&&(null===(a=d.users)||void 0===a?void 0:a.map((e,i)=>(0,m.jsxs)(n.Fragment,{children:[(0,m.jsx)(g,{name:e.user||""}),e.policies&&(0,m.jsx)(f,{blockName:"Policies",results:e.policies})]},"users-res-".concat(i)))),"Policy"===c&&(null===(o=d.policies)||void 0===o?void 0:o.map((e,i)=>(0,m.jsxs)(n.Fragment,{children:[(0,m.jsx)(g,{name:e.policy||""}),e.groups&&(0,m.jsx)(f,{blockName:"Groups",results:e.groups}),e.users&&(0,m.jsx)(f,{blockName:"Users",results:e.users})]},"policy-map-".concat(i))))]})]})};var j=t(40038);const b=()=>{const e=(0,o.jL)(),[i,t]=(0,n.useState)(!1),[r,d]=(0,n.useState)([""]),[p,x]=(0,n.useState)([""]),[g,f]=(0,n.useState)(null),b=(0,u.d4)(e=>e.createUser.selectedPolicies);return(0,m.jsxs)(s.azJ,{sx:{marginTop:15,paddingTop:0},children:[(0,m.jsxs)(s.xA9,{container:!0,sx:{marginTop:5},children:[(0,m.jsxs)(s.xA9,{item:!0,sm:12,md:6,lg:5,sx:{padding:10,paddingTop:0},children:[(0,m.jsx)(s._xt,{children:"Query Filters"}),(0,m.jsxs)(s.azJ,{sx:{padding:"0 10px",display:"flex",flexDirection:"column",gap:40},children:[(0,m.jsxs)(s.azJ,{sx:{padding:"10px 26px"},withBorders:!0,children:[(0,m.jsx)(s.azJ,{sx:{display:"flex"},children:(0,m.jsx)("h4",{style:{margin:0,marginBottom:10,fontSize:14},children:"Users"})}),(0,m.jsx)(s.azJ,{sx:{overflowY:"auto",minHeight:50,maxHeight:250,"& > div > div":{width:"100%"}},children:r.map((e,i)=>(0,m.jsx)(s.cl_,{id:"search-user-".concat(i),value:e,onChange:e=>{const t=[...r];t[i]=e.target.value,d(t)},overlayIcon:r.length===i+1?(0,m.jsx)(s.REV,{}):(0,m.jsx)(s.YPx,{}),overlayAction:()=>{((e,i)=>{if(e){const e=[...r,""];return void d(e)}const t=r.filter((e,t)=>t!==i);d(t)})(r.length===i+1,i)}},"search-user-".concat(i)))})]}),(0,m.jsxs)(s.azJ,{sx:{padding:"10px 26px"},withBorders:!0,children:[(0,m.jsx)("h4",{style:{margin:0,marginBottom:10,fontSize:14},children:"Groups"}),(0,m.jsx)(s.azJ,{sx:{overflowY:"auto",minHeight:50,maxHeight:"calc(100vh - 340px)","& > div > div":{width:"100%"}},children:p.map((e,i)=>(0,m.jsx)(s.cl_,{id:"search-group-".concat(i),value:e,onChange:e=>{const t=[...p];t[i]=e.target.value,x(t)},overlayIcon:p.length===i+1?(0,m.jsx)(s.REV,{}):(0,m.jsx)(s.YPx,{}),overlayAction:()=>{((e,i)=>{if(e){const e=[...p,""];return void x(e)}const t=p.filter((e,t)=>t!==i);x(t)})(p.length===i+1,i)}},"search-group-".concat(i)))})]}),(0,m.jsxs)(s.azJ,{sx:{padding:"10px 26px"},withBorders:!0,children:[(0,m.jsx)("h4",{style:{margin:0,marginBottom:10,fontSize:14},children:"Policies"}),(0,m.jsx)(s.azJ,{sx:{minHeight:265,maxHeight:"calc(100vh - 740px)"},children:(0,m.jsx)(j.A,{selectedPolicy:b,noTitle:!0})})]})]})]}),(0,m.jsx)(s.xA9,{item:!0,sm:12,md:6,lg:7,sx:{padding:10,paddingTop:0,display:"flex",flexDirection:"column"},children:i?(0,m.jsx)(s.azJ,{sx:{textAlign:"center"},children:(0,m.jsx)(s.aHM,{})}):(0,m.jsxs)(n.Fragment,{children:[(0,m.jsx)(s._xt,{actions:(0,m.jsx)(s.azJ,{sx:{display:"flex",flexDirection:"row",alignItems:"center",fontSize:14},children:null!==g&&void 0!==g&&g.timestamp?(0,m.jsxs)(n.Fragment,{children:[(0,m.jsx)(s.b1c,{style:{width:14,height:14,marginRight:5,fill:"#BEBFBF"}}),h.c9.fromISO(g.timestamp).toFormat("D HH:mm:ss")]}):""}),children:"Query Results"}),g?(0,m.jsxs)(s.azJ,{sx:{backgroundColor:"#FBFAFA",padding:"8px 22px",flexGrow:1,overflowY:"auto"},children:[!g.groups&&!g.users&&!g.policies&&(0,m.jsx)(s.azJ,{sx:{textAlign:"center"},children:(0,m.jsx)("h4",{children:"No Results Available"})}),!!g.groups&&(0,m.jsx)(y,{results:g,entityName:"Group"}),!!g.users&&(0,m.jsx)(y,{results:g,entityName:"User"}),!!g.policies&&(0,m.jsx)(y,{results:g,entityName:"Policy"})]}):(0,m.jsx)(s.azJ,{sx:{textAlign:"center"},children:"No query results yet"})]})})]}),(0,m.jsx)(s.xA9,{container:!0,children:(0,m.jsx)(s.xA9,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-start",marginTop:45,padding:"0 20px"},children:(0,m.jsx)(s.$nd,{id:"search-entity",type:"button",variant:"callAction",onClick:()=>{t(!0);let i={},n=b.filter(e=>""!==e),s=r.filter(e=>""!==e),o=p.filter(e=>""!==e);n.length>0&&(i.policies=n),s.length>0&&(i.users=s),o.length>0&&(i.groups=o),l.F.ldapEntities.getLdapEntities(i).then(e=>{f(e.data),t(!1)}).catch(i=>{e((0,c.C9)((0,a.S)(i.error))),t(!1)})},icon:(0,m.jsx)(s.WIv,{}),children:"Search"})})})]})};var v=t(18120),C=t(98167);const A=["server_addr","lookup_bind_dn","user_dn_search_base_dn","user_dn_search_filter"],D=()=>{const e=(0,o.jL)(),i=d.Lq,[t,u]=(0,n.useState)(!0),[h,g]=(0,n.useState)(!1),[f,y]=(0,n.useState)(!1),[j,D]=(0,n.useState)({}),[_,k]=(0,n.useState)({}),[S,w]=(0,n.useState)(void 0),[P,E]=(0,n.useState)(!1),[I,O]=(0,n.useState)(!1),[z,L]=(0,n.useState)("configuration"),[F,N]=(0,n.useState)(!1),q=()=>{P&&S&&B(S),E(!P)},B=e=>{let i={},t={};if(e&&e.length>0){const r=e.find(e=>"enable"===e.key);let n=0,s=0;e.forEach(e=>{e.env_override?(i[e.key]=e.env_override.value,t[e.key]=e.env_override.name):i[e.key]=e.value,A.includes(e.key)&&(e.value&&""!==e.value&&"off"!==e.value||e.env_override&&""!==e.env_override.value&&"off"!==e.env_override.value)&&n++,A.includes(e.key)&&e.env_override&&s++});const l=0!==n;l&&(r&&"off"!==r.value||!r)?g(!0):g(!1),0!==s&&N(!0),y(l)}k(t),D(i)};(0,n.useEffect)(()=>{t&&l.F.configs.configInfo("identity_ldap").then(e=>{e.data.length>0&&(w(e.data[0].key_values),B(e.data[0].key_values||[])),u(!1)}).catch(i=>{u(!1),e((0,c.C9)((0,a.S)(i.error)))})},[e,t]);return(0,n.useEffect)(()=>{e((0,c.ph)("LDAP"))},[]),(0,m.jsxs)(s.xA9,{item:!0,xs:12,children:[I&&(0,m.jsx)(v.A,{configurationName:"identity_ldap",closeResetModalAndRefresh:async i=>{O(!1),i&&(e((0,c.YR)(i)),w(void 0),D({}),g(!1),y(!1),E(!1))},resetOpen:I}),(0,m.jsx)(p.A,{label:"LDAP",actions:(0,m.jsx)(C.A,{})}),(0,m.jsx)(s.Mxu,{variant:"constrained",children:(0,m.jsx)(s.tUM,{horizontal:!0,options:[{tabConfig:{id:"configuration",label:"Configuration"},content:(0,m.jsxs)(n.Fragment,{children:[(0,m.jsx)(s.lcx,{icon:null,title:P?"Edit Configuration":"",actions:P?null:(0,m.jsxs)(n.Fragment,{children:[(0,m.jsx)(s.m_M,{tooltip:F?"Configuration cannot be edited in this module as LDAP environment variables are set for this MinIO instance.":"",children:(0,m.jsx)(s.$nd,{id:"edit",type:"button",variant:"callAction",icon:(0,m.jsx)(s.qUP,{}),onClick:q,label:"Edit Configuration",disabled:t||F})}),f&&(0,m.jsx)(s.m_M,{tooltip:F?"Configuration cannot be disabled / enabled in this module as LDAP environment variables are set for this MinIO instance.":"",children:(0,m.jsx)(s.$nd,{id:"is-configuration-enabled",onClick:()=>(i=>{const t={key_values:[{key:"enable",value:i?"on":"off"}]};l.F.configs.setConfig("identity_ldap",t).then(i=>{g(!h),e((0,c.YR)(i.data.restart||!1)),i.data.restart||e((0,c.Hk)("Configuration saved successfully"))}).catch(i=>{e((0,c.C9)((0,a.S)(i.error)))})})(!h),label:h?"Disable LDAP":"Enable LDAP",variant:h?"secondary":"regular",disabled:F})}),(0,m.jsx)(s.$nd,{id:"refresh-idp-config",onClick:()=>u(!0),label:"Refresh",icon:(0,m.jsx)(s.fNY,{})})]})}),(0,m.jsx)("br",{}),t?(0,m.jsx)(s.azJ,{sx:{display:"flex",justifyContent:"center",marginTop:10},children:(0,m.jsx)(s.aHM,{})}):(0,m.jsx)(n.Fragment,{children:P?(0,m.jsx)(n.Fragment,{children:(0,m.jsxs)(s.Hbc,{helpBox:(0,m.jsx)(x.A,{helpText:"Learn more about LDAP Configurations",contents:d.iT,docLink:"https://min.io/docs/minio/linux/operations/external-iam.html#minio-external-iam-ad-ldap",docText:"Learn more about LDAP Configurations"}),children:[P&&f?(0,m.jsx)(s.azJ,{sx:{marginBottom:15},children:(0,m.jsx)(s.lVp,{title:(0,m.jsx)(s.azJ,{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexGrow:1},children:"Lookup Bind Password must be re-entered to change LDAP configurations"}),iconComponent:(0,m.jsx)(s.cJw,{}),help:null})}):null,Object.entries(i).map(e=>{let[i,t]=e;return((e,i)=>"toggle"===i.type?(0,m.jsx)(s.dOG,{indicatorLabels:["Enabled","Disabled"],checked:"on"===j[e],value:"is-field-enabled",id:"is-field-enabled",name:"is-field-enabled",label:i.label,tooltip:i.tooltip,onChange:i=>D((0,r.A)((0,r.A)({},j),{},{[e]:i.target.checked?"on":"off"})),description:"",disabled:!P},e):(0,m.jsx)(s.cl_,{id:e,required:i.required,name:e,label:i.label,tooltip:i.tooltip,error:i.hasError(j[e],P),value:j[e]?j[e]:"",onChange:i=>D((0,r.A)((0,r.A)({},j),{},{[e]:i.target.value})),placeholder:i.placeholder,disabled:!P,type:i.type},e))(i,t)}),(0,m.jsxs)(s.azJ,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",marginTop:"20px",gap:"15px"},children:[P&&f&&(0,m.jsx)(s.$nd,{id:"clear",type:"button",variant:"secondary",onClick:()=>O(!0),label:"Reset Configuration"}),(0,m.jsx)(s.$nd,{id:"cancel",type:"button",variant:"regular",onClick:q,label:"Cancel"}),(0,m.jsx)(s.$nd,{id:"save-key",type:"submit",variant:"callAction",color:"primary",disabled:t||!(()=>{for(const[e,t]of Object.entries(i))if(t.required&&(void 0===j[e]||null===j[e]||""===j[e]))return!1;return!0})(),label:"Save",onClick:()=>{const t=Object.keys(i).map(e=>({key:e,value:j[e]}));l.F.configs.setConfig("identity_ldap",{key_values:t}).then(i=>{E(!1),w(t),B(t),e((0,c.YR)(i.data.restart||!1)),D((0,r.A)((0,r.A)({},j),{},{lookup_bind_password:""})),i.data.restart||e((0,c.Hk)("Configuration saved successfully"))}).catch(i=>{e((0,c.C9)((0,a.S)(i.error)))})}})]})]})}):(0,m.jsx)(n.Fragment,{children:(0,m.jsxs)(s.azJ,{sx:{display:"grid",gridTemplateColumns:"1fr",gridAutoFlow:"dense",gap:3,padding:"15px",border:"1px solid #eaeaea","@media (min-width: 576px)":{gridTemplateColumns:"2fr 1fr",gridAutoFlow:"row"}},children:[(0,m.jsx)(s.mZW,{label:"LDAP Enabled",value:h?"Yes":"No"}),f&&(0,m.jsx)(n.Fragment,{children:Object.entries(i).map(e=>{let[i,t]=e;if(!t.editOnly){let e=t.label,r=j[i]?j[i]:"";return _[i]&&(e=(0,m.jsxs)(s.azJ,{sx:{display:"flex",alignItems:"center",gap:5,"& .min-icon":{height:20,width:20},"& span":{height:20,display:"flex",alignItems:"center"}},children:[(0,m.jsx)("span",{children:t.label}),(0,m.jsx)(s.m_M,{tooltip:"This value is set from the ".concat(_[i]," environment variable"),placement:"right",children:(0,m.jsx)("span",{className:"muted",children:(0,m.jsx)(s.D0K,{})})})]}),r=(0,m.jsx)("i",{children:(0,m.jsx)("span",{className:"muted",children:r})})),(0,m.jsx)(s.mZW,{label:e,value:r},i)}return null})})]})})})]})},{tabConfig:{id:"entities",label:"Entities",disabled:!f||!h},content:(0,m.jsx)(n.Fragment,{children:f&&(0,m.jsx)(s.azJ,{children:(0,m.jsx)(b,{})})})}],currentTabOrPath:z,onTabClick:e=>{L(e),E(!1)}})})]})}},40038:(e,i,t)=>{t.d(i,{A:()=>u});var r=t(9950),n=t(89132),s=t(20416),l=t(27428),a=t(49078),o=t(99491),c=t(5887),d=t(98341),p=t(70444),x=t(44414);const u=e=>{let{noTitle:i=!1}=e;const t=(0,o.jL)(),[u,h]=(0,r.useState)([]),[m,g]=(0,r.useState)(!1),[f,y]=(0,r.useState)(""),j=(0,d.d4)(e=>e.createUser.selectedPolicies),b=(0,r.useCallback)(()=>{g(!0),p.F.policies.listPolicies().then(e=>{var i;const t=null!==(i=e.data.policies)&&void 0!==i?i:[];g(!1),h(t.sort(s.Hw))}).catch(e=>{g(!1),t((0,a.Dy)(e))})},[t]);(0,r.useEffect)(()=>{g(!0)},[]),(0,r.useEffect)(()=>{m&&b()},[m,b]);const v=u.filter(e=>e.name.includes(f));return(0,x.jsxs)(n.xA9,{item:!0,xs:12,className:"inputItem",children:[m&&(0,x.jsx)(n.z21,{}),u.length>0?(0,x.jsxs)(r.Fragment,{children:[(0,x.jsx)(n.xA9,{item:!0,xs:12,className:"inputItem",children:(0,x.jsx)(l.A,{placeholder:"Start typing to search for a Policy",onChange:e=>{y(e)},value:f,label:i?"":"Assign Policies"})}),(0,x.jsx)(n.bQt,{columns:[{label:"Policy",elementKey:"name"}],onSelect:e=>{const i=e.target,r=i.value,n=i.checked;let s=[...j];n?s.push(r):s=s.filter(e=>e!==r),s=s.filter(e=>""!==e),t((0,c.Gy)(s))},selectedItems:j,isLoading:m,records:v,entityName:"Policies",idField:"name",customPaperHeight:"200px"})]}):(0,x.jsx)(n.azJ,{sx:{textAlign:"center",padding:"10px 0"},children:"No Policies Available"})]})}},91234:(e,i,t)=>{t.d(i,{G5:()=>l,Lq:()=>o,Vb:()=>a,iT:()=>s});var r=t(89132),n=t(44414);const s=[{text:"MinIO supports using an Active Directory or LDAP (AD/LDAP) service for external management of user identities. Configuring an external IDentity Provider (IDP) enables Single-Sign On (SSO) workflows, where applications authenticate against the external IDP before accessing MinIO.",icon:(0,n.jsx)(r.Tir,{}),iconDescription:"Create Configurations"},{text:"MinIO queries the configured Active Directory / LDAP server to verify the credentials specified by the application and optionally return a list of groups in which the user has membership. MinIO supports two modes (Lookup-Bind Mode and Username-Bind Mode) for performing these queries",icon:null,iconDescription:""},{text:"MinIO recommends using Lookup-Bind mode as the preferred method for verifying AD/LDAP credentials. Username-Bind mode is a legacy method retained for backwards compatibility only.",icon:null,iconDescription:""}],l=[{text:"MinIO supports using an OpenID Connect (OIDC) compatible IDentity Provider (IDP) such as Okta, KeyCloak, Dex, Google, or Facebook for external management of user identities.",icon:(0,n.jsx)(r.XAi,{}),iconDescription:"Create Configurations"},{text:"Configuring an external IDP enables Single-Sign On workflows, where applications authenticate against the external IDP before accessing MinIO.",icon:null,iconDescription:""}],a={config_url:{required:!0,hasError:(e,i)=>!e&&i?"Config URL is required":"",label:"Config URL",tooltip:"Config URL for identity provider configuration",placeholder:"https://identity-provider-url/.well-known/openid-configuration",type:"text",editOnly:!1},client_id:{required:!0,hasError:(e,i)=>!e&&i?"Client ID is required":"",label:"Client ID",tooltip:"Identity provider Client ID",placeholder:"Enter Client ID",type:"text",editOnly:!1},client_secret:{required:!0,hasError:(e,i)=>!e&&i?"Client Secret is required":"",label:"Client Secret",tooltip:"Identity provider Client Secret",placeholder:"Enter Client Secret",type:"password",editOnly:!0},claim_name:{required:!1,label:"Claim Name",tooltip:"Claim from which MinIO will read the policy or role to use",placeholder:"Enter Claim Name",type:"text",hasError:(e,i)=>"",editOnly:!1},display_name:{required:!1,label:"Display Name",tooltip:"",placeholder:"Enter Display Name",type:"text",hasError:(e,i)=>"",editOnly:!1},claim_prefix:{required:!1,label:"Claim Prefix",tooltip:"",placeholder:"Enter Claim Prefix",type:"text",hasError:(e,i)=>"",editOnly:!1},scopes:{required:!1,label:"Scopes",tooltip:"",placeholder:"openid,profile,email",type:"text",hasError:(e,i)=>"",editOnly:!1},redirect_uri:{required:!1,label:"Redirect URI",tooltip:"",placeholder:"https://console-endpoint-url/oauth_callback",type:"text",hasError:(e,i)=>"",editOnly:!1},role_policy:{required:!1,label:"Role Policy",tooltip:"",placeholder:"readonly",type:"text",hasError:(e,i)=>"",editOnly:!1},claim_userinfo:{required:!1,label:"Claim User Info",tooltip:"",placeholder:"Claim User Info",type:"toggle",hasError:(e,i)=>"",editOnly:!1},redirect_uri_dynamic:{required:!1,label:"Redirect URI Dynamic",tooltip:"",placeholder:"Redirect URI Dynamic",type:"toggle",hasError:(e,i)=>"",editOnly:!1}},o={server_insecure:{required:!0,hasError:(e,i)=>!e&&i?"Server Address is required":"",label:"Server Insecure",tooltip:"Disable SSL certificate verification ",placeholder:"myldapserver.com:636",type:"toggle",editOnly:!1},server_addr:{required:!0,hasError:(e,i)=>!e&&i?"Server Address is required":"",label:"Server Address",tooltip:'AD/LDAP server address e.g. "myldapserver.com:636"',placeholder:"myldapserver.com:636",type:"text",editOnly:!1},lookup_bind_dn:{required:!0,hasError:(e,i)=>!e&&i?"Lookup Bind DN is required":"",label:"Lookup Bind DN",tooltip:"DN (Distinguished Name) for LDAP read-only service account used to perform DN and group lookups",placeholder:"cn=admin,dc=min,dc=io",type:"text",editOnly:!1},lookup_bind_password:{required:!0,hasError:(e,i)=>!e&&i?"Lookup Bind Password is required":"",label:"Lookup Bind Password",tooltip:"Password for LDAP read-only service account used to perform DN and group lookups",placeholder:"admin",type:"password",editOnly:!0},user_dn_search_base_dn:{required:!0,hasError:(e,i)=>!e&&i?"User DN Search Base DN is required":"",label:"User DN Search Base",tooltip:"",placeholder:"DC=example,DC=net",type:"text",editOnly:!1},user_dn_search_filter:{required:!0,hasError:(e,i)=>!e&&i?"User DN Search Filter is required":"",label:"User DN Search Filter",tooltip:"",placeholder:"(sAMAccountName=%s)",type:"text",editOnly:!1},group_search_base_dn:{required:!1,hasError:(e,i)=>"",label:"Group Search Base DN",tooltip:"",placeholder:"ou=swengg,dc=min,dc=io",type:"text",editOnly:!1},group_search_filter:{required:!1,hasError:(e,i)=>"",label:"Group Search Filter",tooltip:"",placeholder:"(&(objectclass=groupofnames)(member=%d))",type:"text",editOnly:!1}}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/669.7276830a.chunk.js b/web-app/build/static/js/669.7276830a.chunk.js deleted file mode 100644 index 6b8392ac5d..0000000000 --- a/web-app/build/static/js/669.7276830a.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[669],{40669:(e,s,t)=>{t.r(s),t.d(s,{default:()=>R});var a=t(89379),n=t(9950),r=t(89132),o=t(98341),l=t(28429),i=t(45246),c=t(32680),d=t(49078),u=t(99491),h=t(70444),x=t(48965),p=t(44414);const m=e=>{let{open:s,closeModal:t}=e;const o=(0,u.jL)(),[l,m]=(0,n.useState)(""),[g,j]=(0,n.useState)(""),[w,A]=(0,n.useState)(""),[y,b]=(0,n.useState)(!1),C=localStorage.getItem("userLoggedIn")||"";return s?(0,p.jsxs)(c.A,{title:"Change Password for ".concat(C),modalOpen:s,onClose:()=>{j(""),A(""),m(""),t()},titleIcon:(0,p.jsx)(r.Fwq,{}),children:[(0,p.jsx)("div",{children:"This will change your Console password. Please note your new password down, as it will be required to log into Console after this session."}),(0,p.jsx)(r.Wei,{variant:"warning",title:"Warning",message:(0,p.jsxs)(n.Fragment,{children:["If you are looking to change MINIO_ROOT_USER credentials, ",(0,p.jsx)("br",{}),"Please refer to"," ",(0,p.jsx)("a",{target:"_blank",rel:"noopener",href:"https://min.io/docs/minio/linux/administration/identity-access-management/minio-user-management.html#id4",children:"rotating"})," ","credentials."]}),sx:{margin:"15px 0"}}),(0,p.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:e=>{(e=>{if(e.preventDefault(),g!==w)return void o((0,d.Dy)({errorMessage:"New passwords don't match",detailedError:""}));if(g.length<8)return void o((0,d.Dy)({errorMessage:"Passwords must be at least 8 characters long",detailedError:""}));if(y)return;b(!0);let s={current_secret_key:l,new_secret_key:g};h.F.account.accountChangePassword(s).then(()=>{b(!1),j(""),A(""),m(""),o((0,d.Hk)("Successfully updated the password.")),t()}).catch(async e=>{b(!1),j(""),A(""),m("");const s=await e.json();o((0,d.C9)((0,x.S)(s)))})})(e)},children:(0,p.jsxs)(r.xA9,{container:!0,children:[(0,p.jsx)(r.xA9,{item:!0,xs:12,sx:(0,a.A)({},i.Uz.modalFormScrollable),children:(0,p.jsxs)(r.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,p.jsx)(r.cl_,{id:"current-password",name:"current-password",onChange:e=>{m(e.target.value)},label:"Current Password",type:"password",value:l}),(0,p.jsx)(r.cl_,{id:"new-password",name:"new-password",onChange:e=>{j(e.target.value)},label:"New Password",type:"password",value:g}),(0,p.jsx)(r.cl_,{id:"re-new-password",name:"re-new-password",onChange:e=>{A(e.target.value)},label:"Type New Password Again",type:"password",value:w})]})}),(0,p.jsx)(r.xA9,{item:!0,xs:12,sx:(0,a.A)({},i.Uz.modalButtonBar),children:(0,p.jsx)(r.$nd,{id:"save-password-modal",type:"submit",variant:"callAction",color:"primary",disabled:y||!(l.length>0&&g.length>0&&w.length>0),label:"Save"})}),y&&(0,p.jsx)(r.xA9,{item:!0,xs:12,children:(0,p.jsx)(r.z21,{})})]})})]}):null};var g=t(27428),j=t(55604),w=t(7174),A=t(43878),y=t(85743),b=t(86070),C=t(30272),v=t(82817),f=t(98167),S=t(42677),k=t(20416),_=t(26843),E=t(93598);const M=(0,j.A)(n.lazy(()=>t.e(7958).then(t.bind(t,77958)))),R=()=>{const e=(0,u.jL)(),s=(0,l.Zp)(),t=(0,o.d4)(b.s$),[c,j]=(0,n.useState)([]),[R,I]=(0,n.useState)(!1),[K,O]=(0,n.useState)(""),[P,D]=(0,n.useState)(!1),[N,T]=(0,n.useState)(null),[F,L]=(0,n.useState)(!1),[U,z]=(0,n.useState)([]),[V,$]=(0,n.useState)(!1),[W,B]=(0,n.useState)(!1),H=t&&t.includes("external-idp")||!1;(0,n.useEffect)(()=>{J()},[]),(0,n.useEffect)(()=>{e((0,d.ph)("accessKeys"))},[]),(0,n.useEffect)(()=>{R&&h.F.serviceAccounts.listUserServiceAccounts().then(e=>{I(!1);const s=e.data.sort(k.LA);j(s)}).catch(s=>{e((0,d.C9)((0,x.S)((null===s||void 0===s?void 0:s.error)||"Error retrieving access keys"))),I(!1)})},[R,I,j,e]);const J=()=>{I(!0)},q=e=>{T(e),B(!0)},Q=[{type:"view",onClick:e=>{e&&q(e.accessKey)}},{type:"delete",onClick:e=>{e&&(e=>{T(e),D(!0)})(e.accessKey)}},{type:"edit",onClick:e=>{e&&q(e.accessKey)}}],Y=c.filter(e=>{var s;return null===e||void 0===e||null===(s=e.accessKey)||void 0===s?void 0:s.toLowerCase().includes(K.toLowerCase())});return(0,p.jsxs)(n.Fragment,{children:[P&&(0,p.jsx)(M,{deleteOpen:P,selectedServiceAccount:N,closeDeleteModalAndRefresh:e=>{(e=>{D(!1),e&&(z([]),J())})(e)}}),V&&(0,p.jsx)(A.A,{deleteOpen:V,selectedSAs:U,closeDeleteModalAndRefresh:s=>{$(!1),s&&(e((0,d.Hk)("Access keys deleted successfully.")),z([]),I(!0))}}),W&&(0,p.jsx)(y.A,{open:W,selectedAccessKey:N,closeModalAndRefresh:()=>{B(!1),I(!0)}}),(0,p.jsx)(m,{open:F,closeModal:()=>L(!1)}),(0,p.jsx)(v.A,{label:"Access Keys",actions:(0,p.jsx)(f.A,{})}),(0,p.jsx)(r.Mxu,{children:(0,p.jsxs)(r.xA9,{container:!0,children:[(0,p.jsxs)(r.xA9,{item:!0,xs:12,sx:(0,a.A)({},i._0.actionsTray),children:[(0,p.jsx)(g.A,{placeholder:"Search Access Keys",onChange:O,sx:{marginRight:"auto",maxWidth:380},value:K}),(0,p.jsxs)(r.azJ,{sx:{display:"flex",flexWrap:"nowrap",gap:5},children:[(0,p.jsx)(C.A,{tooltip:"Delete Selected",children:(0,p.jsx)(r.$nd,{id:"delete-selected-accounts",onClick:()=>{$(!0)},label:"Delete Selected",icon:(0,p.jsx)(r.d7y,{}),disabled:0===U.length,variant:"secondary"})}),(0,p.jsx)(_.R,{scopes:[E.OV.ADMIN_CREATE_USER],resource:E.Ms,matchAll:!0,errorProps:{disabled:!0},children:(0,p.jsx)(r.$nd,{id:"change-password",onClick:()=>L(!0),label:"Change Password",icon:(0,p.jsx)(r.aJN,{}),variant:"regular",disabled:H})}),(0,p.jsx)(_.R,{scopes:[E.OV.ADMIN_CREATE_SERVICEACCOUNT],resource:E.Ms,matchAll:!0,errorProps:{disabled:!0},children:(0,p.jsx)(r.$nd,{id:"create-service-account",onClick:()=>{s("".concat(E.zZ.ACCOUNT_ADD))},label:"Create access key",icon:(0,p.jsx)(r.REV,{}),variant:"callAction"})})]})]}),(0,p.jsx)(r.xA9,{item:!0,xs:12,children:(0,p.jsx)(r.bQt,{itemActions:Q,entityName:"Access Keys",columns:S.X,onSelect:e=>(0,w.Qm)(e,z,U),selectedItems:U,isLoading:R,records:Y,idField:"accessKey"})}),(0,p.jsx)(r.xA9,{item:!0,xs:12,sx:{marginTop:15},children:(0,p.jsx)(r.lVp,{title:"Learn more about ACCESS KEYS",iconComponent:(0,p.jsx)(r.JMb,{}),help:(0,p.jsxs)(n.Fragment,{children:["MinIO access keys are child identities of an authenticated MinIO user, including externally managed identities. Each access key inherits its privileges based on the policies attached to it\u2019s parent user or those groups in which the parent user has membership. Access Keys also support an optional inline policy which further restricts access to a subset of actions and resources available to the parent user.",(0,p.jsx)("br",{}),(0,p.jsx)("br",{}),"You can learn more at our"," ",(0,p.jsx)("a",{href:"https://min.io/docs/minio/linux/administration/identity-access-management/minio-user-management.html#id3",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})})]})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/6777.aa21fae5.chunk.js b/web-app/build/static/js/6777.aa21fae5.chunk.js deleted file mode 100644 index 6eb977f5d7..0000000000 --- a/web-app/build/static/js/6777.aa21fae5.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[6777],{46777:(e,t,o)=>{o.r(t),o.d(t,{default:()=>E});var n=o(9950),a=o(87946),r=o.n(a),l=o(89132),i=o(28429),s=o(70444),c=o(48965),p=o(76356),d=o(93598),u=o(49078),g=o(99491),m=o(19156),f=o(55604),h=o(82817),y=o(19335),b=o(44414);const S=y.Ay.div(e=>{let{theme:t}=e;return{background:r()(t,"boxBackground","#fff"),border:"".concat(r()(t,"borderColor","#E5E5E5")," 1px solid"),borderRadius:5,height:80,display:"flex",alignItems:"center",justifyContent:"start",marginBottom:16,cursor:"pointer",padding:0,overflow:"hidden","& .logoButton":{height:"80px"},"& .imageContainer":{backgroundColor:r()(t,"bgColor","#fff"),display:"flex",alignItems:"center",justifyContent:"center",width:80,height:80,"& img":{maxWidth:46,maxHeight:46,filter:"drop-shadow(1px 1px 8px #fff)"}},"& .titleBox":{color:r()(t,"fontColor","#000"),fontSize:16,fontFamily:"Inter,sans-serif",paddingLeft:18}}}),T=e=>{let{logoSrc:t,title:o}=e;return(0,b.jsxs)(S,{children:[(0,b.jsx)(l.azJ,{className:"imageContainer",children:(0,b.jsx)("img",{src:t,className:"logoButton",alt:o})}),(0,b.jsx)(l.azJ,{className:"titleBox",children:(0,b.jsxs)("b",{children:[o," Event Destination"]})})]})};var v=o(98167);const _=(0,f.A)(n.lazy(()=>o.e(7852).then(o.bind(o,47852)))),A=(0,f.A)(n.lazy(()=>o.e(9459).then(o.bind(o,49459)))),k=(0,f.A)(n.lazy(()=>o.e(3541).then(o.bind(o,13541)))),E=e=>{let{saveAndRefresh:t}=e;const o=(0,g.jL)(),a=(0,i.Zp)(),f=(0,i.g)(),[y,S]=(0,n.useState)([]),[E,x]=(0,n.useState)(""),[q,L]=(0,n.useState)(!1),C=f.service||"";(0,n.useEffect)(()=>{if(q){const e={key_values:(0,p.Xm)(y)};s.F.configs.setConfig("".concat(C,":").concat(E),e).then(()=>{L(!1),o((0,u.YR)(!0)),o((0,m.$)(!0)),a(d.zZ.EVENT_DESTINATIONS)}).catch(e=>{L(!1),o((0,u.C9)((0,c.S)(e.error)))})}},[q,C,y,t,o,a,E]);const w=(0,n.useCallback)(e=>{S(e)},[S]);let j;switch(C){case p.P4:j=(0,b.jsx)(k,{onChange:w});break;case p.AU:j=(0,b.jsx)(_,{onChange:w});break;default:{const e=r()(p.fx,C,[]);j=(0,b.jsx)(A,{fields:e,onChange:w})}}const N=p.bo.find(e=>e.actionTrigger===C);return(0,n.useEffect)(()=>{o((0,u.ph)("add_notification_endpoint"))},[]),(0,b.jsxs)(n.Fragment,{children:[(0,b.jsx)(h.A,{label:(0,b.jsx)(n.Fragment,{children:(0,b.jsx)(l.EGL,{label:"Event Destinations",onClick:()=>a(d.zZ.EVENT_DESTINATIONS_ADD)})}),actions:(0,b.jsx)(v.A,{})}),(0,b.jsx)(l.Mxu,{children:(0,b.jsx)("form",{noValidate:!0,onSubmit:e=>{e.preventDefault(),L(!0)},children:""!==C&&(0,b.jsxs)(n.Fragment,{children:[(0,b.jsx)(l.xA9,{item:!0,xs:12,children:N&&(0,b.jsx)(T,{logoSrc:N.logo,title:N?N.targetTitle:""})}),(0,b.jsxs)(l.Hbc,{children:[(0,b.jsx)(l.cl_,{id:"identifier-field",name:"identifier-field",label:"Identifier",value:E,onChange:e=>x(e.target.value),tooltip:"Unique descriptive string for this destination",placeholder:"Enter Destination Identifier",required:!0}),(0,b.jsx)(l.xA9,{item:!0,xs:12,children:j}),(0,b.jsx)(l.xA9,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-end",marginTop:15},children:(0,b.jsx)(l.$nd,{id:"save-notification-target",type:"submit",variant:"callAction",disabled:q||""===E.trim(),label:"Save Event Destination"})})]})]})})})]})}},55604:(e,t,o)=>{o.d(t,{A:()=>l});var n=o(89379),a=o(9950),r=o(44414);const l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(o){return(0,r.jsx)(a.Suspense,{fallback:t,children:(0,r.jsx)(e,(0,n.A)({},o))})}}},76356:(e,t,o)=>{o.d(t,{AU:()=>a,D3:()=>m,Es:()=>g,P4:()=>n,Xm:()=>b,bo:()=>h,fx:()=>S,h4:()=>v});const n="notify_postgres",a="notify_mysql",r="notify_kafka",l="notify_amqp",i="notify_mqtt",s="notify_redis",c="notify_nats",p="notify_elasticsearch",d="notify_webhook",u="notify_nsq",g=e=>e.map(e=>({service_name:"".concat(e.service,":").concat(e.account_id),name:e.service,account_id:e.account_id,status:e.status}));class m{}m.DB="database",m.Queue="queue",m.Func="functions";const f=()=>"".concat(document.baseURI),h=[{actionTrigger:n,targetTitle:"PostgreSQL",logo:"".concat(f(),"postgres-logo.svg"),category:m.DB},{actionTrigger:r,targetTitle:"Kafka",logo:"".concat(f(),"kafka-logo.svg"),category:m.Queue},{actionTrigger:l,targetTitle:"AMQP",logo:"".concat(f(),"amqp-logo.svg"),category:m.Queue},{actionTrigger:i,targetTitle:"MQTT",logo:"".concat(f(),"mqtt-logo.svg"),category:m.Queue},{actionTrigger:s,targetTitle:"Redis",logo:"".concat(f(),"redis-logo.svg"),category:m.Queue},{actionTrigger:c,targetTitle:"NATS",logo:"".concat(f(),"nats-logo.svg"),category:m.Queue},{actionTrigger:a,targetTitle:"Mysql",logo:"".concat(f(),"mysql-logo.svg"),category:m.DB},{actionTrigger:p,targetTitle:"Elastic Search",logo:"".concat(f(),"elasticsearch-logo.svg"),category:m.DB},{actionTrigger:d,targetTitle:"Webhook",logo:"".concat(f(),"webhooks-logo.svg"),category:m.Func},{actionTrigger:u,targetTitle:"NSQ",logo:"".concat(f(),"nsq-logo.svg"),category:m.Queue}],y=[{name:"queue_dir",label:"Queue Directory",required:!1,tooltip:"Staging directory for undelivered messages e.g. '/home/events'",type:"string",placeholder:"Enter Queue Directory"},{name:"queue_limit",label:"Queue Limit",required:!1,tooltip:"Maximum limit for undelivered messages, defaults to '10000'",type:"number",placeholder:"Enter Queue Limit"},{name:"comment",label:"Comment",required:!1,type:"comment",placeholder:"Enter custom notes if any"}],b=e=>e.filter(e=>""!==e.value),S={[r]:[{name:"brokers",label:"Brokers",required:!0,tooltip:"Comma separated list of Kafka broker addresses",type:"string",placeholder:"Enter Brokers"},{name:"topic",label:"Topic",tooltip:"Kafka topic used for bucket notifications",type:"string",placeholder:"Enter Topic"},{name:"sasl_username",label:"SASL Username",tooltip:"Username for SASL/PLAIN or SASL/SCRAM authentication",type:"string",placeholder:"Enter SASL Username"},{name:"sasl_password",label:"SASL Password",tooltip:"Password for SASL/PLAIN or SASL/SCRAM authentication",type:"string",placeholder:"Enter SASL Password"},{name:"sasl_mechanism",label:"SASL Mechanism",tooltip:"SASL authentication mechanism, default 'PLAIN'",type:"string"},{name:"tls_client_auth",label:"TLS Client Auth",tooltip:"Client Auth determines the Kafka server's policy for TLS client authorization",type:"string",placeholder:"Enter TLS Client Auth"},{name:"sasl",label:"SASL",tooltip:"Set to 'on' to enable SASL authentication",type:"on|off"},{name:"tls",label:"TLS",tooltip:"Set to 'on' to enable TLS",type:"on|off"},{name:"tls_skip_verify",label:"TLS skip verify",tooltip:'Trust server TLS without verification, defaults to "on" (verify)',type:"on|off"},{name:"client_tls_cert",label:"client TLS cert",tooltip:"Path to client certificate for mTLS authorization",type:"path",placeholder:"Enter TLS Client Cert"},{name:"client_tls_key",label:"client TLS key",tooltip:"Path to client key for mTLS authorization",type:"path",placeholder:"Enter TLS Client Key"},{name:"version",label:"Version",tooltip:"Specify the version of the Kafka cluster e.g '2.2.0'",type:"string",placeholder:"Enter Kafka Version"},...y],[l]:[{name:"url",required:!0,label:"URL",tooltip:"AMQP server endpoint e.g. `amqp://myuser:mypassword@localhost:5672`",type:"url"},{name:"exchange",label:"Exchange",tooltip:"Name of the AMQP exchange",type:"string",placeholder:"Enter Exchange"},{name:"exchange_type",label:"Exchange Type",tooltip:"AMQP exchange type",type:"string",placeholder:"Enter Exchange Type"},{name:"routing_key",label:"Routing Key",tooltip:"Routing key for publishing",type:"string",placeholder:"Enter Routing Key"},{name:"mandatory",label:"Mandatory",tooltip:"Quietly ignore undelivered messages when set to 'off', default is 'on'",type:"on|off"},{name:"durable",label:"Durable",tooltip:"Persist queue across broker restarts when set to 'on', default is 'off'",type:"on|off"},{name:"no_wait",label:"No Wait",tooltip:"Non-blocking message delivery when set to 'on', default is 'off'",type:"on|off"},{name:"internal",label:"Internal",tooltip:"Set to 'on' for exchange to be not used directly by publishers, but only when bound to other exchanges",type:"on|off"},{name:"auto_deleted",label:"Auto Deleted",tooltip:"Auto delete queue when set to 'on', when there are no consumers",type:"on|off"},{name:"delivery_mode",label:"Delivery Mode",tooltip:"Set to '1' for non-persistent or '2' for persistent queue",type:"number",placeholder:"Enter Delivery Mode"},...y],[s]:[{name:"address",required:!0,label:"Address",tooltip:"Redis server's address e.g. `localhost:6379`",type:"address",placeholder:"Enter Address"},{name:"key",required:!0,label:"Key",tooltip:"Redis key to store/update events, key is auto-created",type:"string",placeholder:"Enter Key"},{name:"password",label:"Password",tooltip:"Redis server password",type:"string",placeholder:"Enter Password"},...y],[i]:[{name:"broker",required:!0,label:"Broker",tooltip:"MQTT server endpoint e.g. `tcp://localhost:1883`",type:"uri",placeholder:"Enter Brokers"},{name:"topic",required:!0,label:"Topic",tooltip:"Name of the MQTT topic to publish",type:"string",placeholder:"Enter Topic"},{name:"username",label:"Username",tooltip:"MQTT username",type:"string",placeholder:"Enter Username"},{name:"password",label:"Password",tooltip:"MQTT password",type:"string",placeholder:"Enter Password"},{name:"qos",label:"QOS",tooltip:"Set the quality of service priority, defaults to '0'",type:"number",placeholder:"Enter QOS"},{name:"keep_alive_interval",label:"Keep Alive Interval",tooltip:"Keep-alive interval for MQTT connections in s,m,h,d",type:"duration",placeholder:"Enter Keep Alive Interval"},{name:"reconnect_interval",label:"Reconnect Interval",tooltip:"Reconnect interval for MQTT connections in s,m,h,d",type:"duration",placeholder:"Enter Reconnect Interval"},...y],[c]:[{name:"address",required:!0,label:"Address",tooltip:"NATS server address e.g. '0.0.0.0:4222'",type:"address",placeholder:"Enter Address"},{name:"subject",required:!0,label:"Subject",tooltip:"NATS subscription subject",type:"string",placeholder:"Enter NATS Subject"},{name:"username",label:"Username",tooltip:"NATS username",type:"string",placeholder:"Enter NATS Username"},{name:"password",label:"Password",tooltip:"NATS password",type:"string",placeholder:"Enter NATS password"},{name:"token",label:"Token",tooltip:"NATS token",type:"string",placeholder:"Enter NATS token"},{name:"tls",label:"TLS",tooltip:"Set to 'on' to enable TLS",type:"on|off"},{name:"tls_skip_verify",label:"TLS Skip Verify",tooltip:'Trust server TLS without verification, defaults to "on" (verify)',type:"on|off"},{name:"ping_interval",label:"Ping Interval",tooltip:"Client ping commands interval in s,m,h,d. Disabled by default",type:"duration",placeholder:"Enter Ping Interval"},{name:"streaming",label:"Streaming",tooltip:"Set to 'on' to use streaming NATS server",type:"on|off"},{name:"streaming_async",label:"Streaming async",tooltip:"Set to 'on' to enable asynchronous publish",type:"on|off"},{name:"streaming_max_pub_acks_in_flight",label:"Streaming max publish ACKS in flight",tooltip:"Number of messages to publish without waiting for ACKs",type:"number",placeholder:"Enter Streaming in flight value"},{name:"streaming_cluster_id",label:"Streaming Cluster ID",tooltip:"Unique ID for NATS streaming cluster",type:"string",placeholder:"Enter Streaming Cluster ID"},{name:"cert_authority",label:"Cert Authority",tooltip:"Path to certificate chain of the target NATS server",type:"string",placeholder:"Enter Cert Authority"},{name:"client_cert",label:"Client Cert",tooltip:"Client cert for NATS mTLS auth",type:"string",placeholder:"Enter Client Cert"},{name:"client_key",label:"Client Key",tooltip:"Client cert key for NATS mTLS authorization",type:"string",placeholder:"Enter Client Key"},...y],[p]:[{name:"url",required:!0,label:"URL",tooltip:"Elasticsearch server's address, with optional authentication info",type:"url",placeholder:"Enter URL"},{name:"index",required:!0,label:"Index",tooltip:"Elasticsearch index to store/update events, index is auto-created",type:"string",placeholder:"Enter Index"},{name:"format",required:!0,label:"Format",tooltip:"'namespace' reflects current bucket/object list and 'access' reflects a journal of object operations, defaults to 'namespace'",type:"enum",placeholder:"Enter Format"},...y],[d]:[{name:"endpoint",required:!0,label:"Endpoint",tooltip:"Webhook server endpoint e.g. http://localhost:8080/minio/events",type:"url",placeholder:"Enter Endpoint"},{name:"auth_token",label:"Auth Token",tooltip:"Opaque string or JWT authorization token",type:"string",placeholder:"Enter auth_token"},...y],[u]:[{name:"nsqd_address",required:!0,label:"NSQD Address",tooltip:"NSQ server address e.g. '127.0.0.1:4150'",type:"address",placeholder:"Enter nsqd_address"},{name:"topic",required:!0,label:"Topic",tooltip:"NSQ topic",type:"string",placeholder:"Enter Topic"},{name:"tls",label:"TLS",tooltip:"Set to 'on' to enable TLS",type:"on|off"},{name:"tls_skip_verify",label:"TLS Skip Verify",tooltip:'Trust server TLS without verification, defaults to "on" (verify)',type:"on|off"},...y]},T={webhook:"notify_webhook",amqp:"notify_amqp",kafka:"notify_kafka",mqtt:"notify_mqtt",nats:"notify_nats",nsq:"notify_nsq",mysql:"notify_mysql",postgresql:"notify_postgres",elasticsearch:"notify_elasticsearch",redis:"notify_redis"},v=e=>T[e]}}]); \ No newline at end of file diff --git a/web-app/build/static/js/68.5a8e7ba6.chunk.js b/web-app/build/static/js/68.5a8e7ba6.chunk.js deleted file mode 100644 index 4461650621..0000000000 --- a/web-app/build/static/js/68.5a8e7ba6.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[68],{55604:(e,n,s)=>{s.d(n,{A:()=>h});var t=s(89379),l=s(9950),a=s(44414);const h=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(s){return(0,a.jsx)(l.Suspense,{fallback:n,children:(0,a.jsx)(e,(0,t.A)({},s))})}}},70068:(e,n,s)=>{s.r(n),s.d(n,{default:()=>u});var t=s(9950),l=s(28429),a=s(55604),h=s(20171),p=s(44414);const c=(0,a.A)(t.lazy(()=>s.e(3477).then(s.bind(s,33477)))),r=(0,a.A)(t.lazy(()=>s.e(1366).then(s.bind(s,31366)))),u=()=>(0,p.jsxs)(l.BV,{children:[(0,p.jsx)(l.qh,{path:"profile",element:(0,p.jsx)(r,{})}),(0,p.jsx)(l.qh,{path:"inspect",element:(0,p.jsx)(c,{})}),(0,p.jsx)(l.qh,{path:"*",element:(0,p.jsx)(h.A,{})})]})}}]); \ No newline at end of file diff --git a/web-app/build/static/js/7102.28d59501.chunk.js b/web-app/build/static/js/7102.28d59501.chunk.js deleted file mode 100644 index 21f146c84c..0000000000 --- a/web-app/build/static/js/7102.28d59501.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[7102],{57102:(e,t,s)=>{s.r(t),s.d(t,{default:()=>b});var c=s(9950),n=s(89132),i=s(98341),o=s(28429),a=s(70444),l=s(48965),r=s(93598),u=s(26843),d=s(49078),_=s(47304),p=s(99491),h=s(55604),x=s(30272),C=s(44414);const S=(0,h.A)(c.lazy(()=>s.e(4945).then(s.bind(s,54945)))),m=(0,h.A)(c.lazy(()=>s.e(4803).then(s.bind(s,74803)))),O=(0,h.A)(c.lazy(()=>s.e(5938).then(s.bind(s,55938)))),b=()=>{const e=(0,p.jL)(),t=(0,o.g)(),s=(0,i.d4)(_.Nx),[h,b]=(0,c.useState)(!0),[A,T]=(0,c.useState)([]),[f,E]=(0,c.useState)(!1),[k,j]=(0,c.useState)(!1),[y,P]=(0,c.useState)(""),[V,B]=(0,c.useState)(!1),[I,U]=(0,c.useState)(""),[L,g]=(0,c.useState)(""),w=t.bucketName||"",K=(0,u._)(w,[r.OV.S3_GET_BUCKET_POLICY,r.OV.S3_GET_ACTIONS]),N=(0,u._)(w,[r.OV.S3_DELETE_BUCKET_POLICY]),R=(0,u._)(w,[r.OV.S3_PUT_BUCKET_POLICY,r.OV.S3_PUT_ACTIONS]);(0,c.useEffect)(()=>{s&&b(!0)},[s,b]);const F=[{type:"delete",disableButtonFunction:()=>!N,onClick:e=>{j(!0),P(e.prefix)}},{type:"view",disableButtonFunction:()=>!R,onClick:e=>{U(e.prefix),g(e.access),B(!0)}}];(0,c.useEffect)(()=>{e((0,d.ph)("bucket_detail_prefix"))},[]),(0,c.useEffect)(()=>{h&&(K?a.F.bucket.listAccessRulesWithBucket(w).then(e=>{T(e.data.accessRules),b(!1)}).catch(t=>{e((0,d.C9)((0,l.S)(t))),b(!1)}):b(!1))},[h,e,K,w]);return(0,C.jsxs)(c.Fragment,{children:[f&&(0,C.jsx)(S,{modalOpen:f,onClose:()=>{E(!1),b(!0)},bucket:w}),k&&(0,C.jsx)(m,{modalOpen:k,onClose:()=>{j(!1),b(!0)},bucket:w,toDelete:y}),V&&(0,C.jsx)(O,{modalOpen:V,onClose:()=>{B(!1),b(!0)},bucket:w,toEdit:I,initial:L}),(0,C.jsx)(n._xt,{separator:!0,sx:{marginBottom:15},actions:(0,C.jsx)(u.R,{scopes:[r.OV.S3_GET_BUCKET_POLICY,r.OV.S3_PUT_BUCKET_POLICY,r.OV.S3_GET_ACTIONS,r.OV.S3_PUT_ACTIONS],resource:w,matchAll:!0,errorProps:{disabled:!0},children:(0,C.jsx)(x.A,{tooltip:"Add Access Rule",children:(0,C.jsx)(n.$nd,{id:"add-bucket-access-rule",onClick:()=>{E(!0)},label:"Add Access Rule",icon:(0,C.jsx)(n.REV,{}),variant:"callAction"})})}),children:(0,C.jsx)(n.V7x,{content:(0,C.jsxs)(c.Fragment,{children:["Setting an"," ",(0,C.jsx)("a",{href:"https://min.io/docs/minio/linux/reference/minio-mc/mc-anonymous-set.html",target:"blank",children:"Anonymous"})," ","policy allows clients to access the Bucket or prefix contents and perform actions consistent with the specified policy without authentication."]}),placement:"right",children:"Anonymous Access"})}),(0,C.jsx)(u.R,{scopes:[r.OV.S3_GET_BUCKET_POLICY,r.OV.S3_GET_ACTIONS],resource:w,errorProps:{disabled:!0},children:(0,C.jsx)(n.bQt,{itemActions:F,columns:[{label:"Prefix",elementKey:"prefix",renderFunction:e=>e||"/"},{label:"Access",elementKey:"access"}],isLoading:h,records:A||[],entityName:"Access Rules",idField:"prefix"})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/7356.3b77119f.chunk.js b/web-app/build/static/js/7356.3b77119f.chunk.js deleted file mode 100644 index 21b83e3821..0000000000 --- a/web-app/build/static/js/7356.3b77119f.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[7356],{59462:(t,e,n)=>{n.d(e,{A:()=>i});n(9950);var r=n(89132),a=n(44414);const i=t=>{let{icon:e=null,label:n=null}=t;return(0,a.jsxs)(r.azJ,{sx:{display:"flex",alignItems:"center",gap:5,marginTop:3},children:[(0,a.jsx)(r.azJ,{sx:{height:16,width:16,display:"flex",alignItems:"center"},children:e}),(0,a.jsx)(r.azJ,{children:n})]})}},80294:(t,e,n)=>{n.d(e,{E:()=>l});var r=n(3864),a=n(85706),i=n(60158),o=n(44813),s=n(71052),l=(0,r.gu)({chartName:"BarChart",GraphicalChild:a.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:o.h}],formatAxisMap:s.pr})},97356:(t,e,n)=>{n.r(e),n.d(e,{default:()=>ot});var r=n(89379),a=n(9950),i=n(89132),o=n(80294),s=n(93245),l=n(60158),c=n(44813),u=n(16335),p=n(25102),d=n(85706),h=n(3864),f=n(77437),y=n(93008),m=n.n(y),x=n(40821),v=n.n(x),b=n(59418),g=n.n(b),j=n(72004),A=n(76653),S=n(42143),w=n(62775),k=n(67628),O=n(99064),P=n(21570),E=n(675),C=n(91792),D=n(95912),T=["type","layout","connectNulls","ref"],F=["key"];function I(t){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},I(t)}function K(t,e){if(null==t)return{};var n,r,a=function(t,e){if(null==t)return{};var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}function M(){return M=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);ns){c=[].concat(W(a.slice(0,u)),[s-p]);break}var d=c.length%2===0?[0,l]:[l];return[].concat(W(e.repeat(a,o)),W(c),d).map(function(t){return"".concat(t,"px")}).join(", ")}),q(t,"id",(0,P.NF)("recharts-line-")),q(t,"pathRef",function(e){t.mainCurve=e}),q(t,"handleAnimationEnd",function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()}),q(t,"handleAnimationStart",function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()}),t}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&R(t,e)}(e,t),n=e,i=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"repeat",value:function(t,e){for(var n=t.length%2!==0?[].concat(W(t),[0]):t,r=[],a=0;a0||!g()(o,r))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(r,t,e)}},{key:"render",value:function(){var t,e=this.props,n=e.hide,r=e.dot,i=e.points,o=e.className,s=e.xAxis,l=e.yAxis,c=e.top,u=e.left,p=e.width,d=e.height,h=e.isAnimationActive,f=e.id;if(n||!i||!i.length)return null;var y=this.state.isAnimationFinished,m=1===i.length,x=(0,j.A)("recharts-line",o),b=s&&s.allowDataOverflow,g=l&&l.allowDataOverflow,A=b||g,S=v()(f)?this.id:f,O=null!==(t=(0,E.J9)(r,!1))&&void 0!==t?t:{r:3,strokeWidth:2},P=O.r,C=void 0===P?3:P,D=O.strokeWidth,T=void 0===D?2:D,F=((0,E.sT)(r)?r:{}).clipDot,I=void 0===F||F,K=2*C+T;return a.createElement(w.W,{className:x},b||g?a.createElement("defs",null,a.createElement("clipPath",{id:"clipPath-".concat(S)},a.createElement("rect",{x:b?u:u-p/2,y:g?c:c-d/2,width:b?p:2*p,height:g?d:2*d})),!I&&a.createElement("clipPath",{id:"clipPath-dots-".concat(S)},a.createElement("rect",{x:u-K/2,y:c-K/2,width:p+K,height:d+K}))):null,!m&&this.renderCurve(A,S),this.renderErrorBar(A,S),(m||r)&&this.renderDots(A,I,S),(!h||y)&&k.Z.renderCallByParent(this.props,i))}}])&&z(n.prototype,r),i&&z(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(a.PureComponent);q(U,"displayName","Line"),q(U,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!C.m.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),q(U,"getComposedData",function(t){var e=t.props,n=t.xAxis,r=t.yAxis,a=t.xAxisTicks,i=t.yAxisTicks,o=t.dataKey,s=t.bandSize,l=t.displayedData,c=t.offset,u=e.layout;return N({points:l.map(function(t,e){var l=(0,D.kr)(t,o);return"horizontal"===u?{x:(0,D.nb)({axis:n,ticks:a,bandSize:s,entry:t,index:e}),y:v()(l)?null:r.scale(l),value:l,payload:t}:{x:v()(l)?null:n.scale(l),y:(0,D.nb)({axis:r,ticks:i,bandSize:s,entry:t,index:e}),value:l,payload:t}}),layout:u},c)});var H=n(71052),G=(0,h.gu)({chartName:"LineChart",GraphicalChild:U,axisComponents:[{axisType:"xAxis",AxisComp:l.W},{axisType:"yAxis",AxisComp:c.h}],formatAxisMap:H.pr}),$=n(26843),Q=n(93598),X=n(49078),Y=n(99491),tt=n(59462),et=n(82817),nt=n(98167),rt=n(70444),at=n(48965),it=n(44414);const ot=()=>{const t=(0,Y.jL)(),[e,n]=(0,a.useState)("simple-tab-0"),[h,f]=(0,a.useState)(!0),[y,m]=(0,a.useState)(null),[x,v]=(0,a.useState)(!0),[b,g]=(0,a.useState)(null),[j,A]=(0,a.useState)(!0),[S,w]=(0,a.useState)(null),[k,O]=(0,a.useState)(!0),[P,E]=(0,a.useState)(null),[C,D]=(0,a.useState)(!0),T=(0,$._)(Q.Ms,[Q.OV.KMS_STATUS]),F=(0,$._)(Q.Ms,[Q.OV.KMS_METRICS])&&!h,I=(0,$._)(Q.Ms,[Q.OV.KMS_APIS])&&!h,K=(0,$._)(Q.Ms,[Q.OV.KMS_Version])&&!h;(0,a.useEffect)(()=>{T&&x&&rt.F.kms.kmsStatus().then(t=>{t.data&&(m(t.data),f("SecretKey"===t.data.name))}).catch(e=>{t((0,X.C9)((0,at.S)(e.error)))}).finally(()=>v(!1)),F&&j&&rt.F.kms.kmsMetrics().then(t=>{t.data&&g(t.data)}).catch(e=>{t((0,X.C9)((0,at.S)(e.error)))}).finally(()=>A(!1)),I&&k&&rt.F.kms.kmsapIs().then(t=>{t.data&&w(t.data)}).catch(e=>{t((0,X.C9)((0,at.S)(e.error)))}).finally(()=>O(!1)),K&&C&&rt.F.kms.kmsVersion().then(t=>{t.data&&E(t.data)}).catch(e=>{t((0,X.C9)((0,at.S)(e.error)))}).finally(()=>D(!1))},[t,T,x,F,j,I,k,K,C]);const M=(0,it.jsxs)(a.Fragment,{children:[(0,it.jsx)(i._xt,{children:"Status"}),(0,it.jsx)("br",{}),y&&(0,it.jsx)(i.xA9,{container:!0,children:(0,it.jsx)(i.xA9,{item:!0,xs:12,children:(0,it.jsx)(i.azJ,{sx:{display:"grid",gap:2,gridTemplateColumns:"2fr 1fr",gridAutoFlow:"row",["@media (max-width: ".concat(i.nmC.sm,"px)")]:{gridTemplateColumns:"1fr",gridAutoFlow:"dense"}},children:(0,it.jsxs)(i.azJ,{sx:{display:"grid",gap:2,gridTemplateColumns:"2fr 1fr",gridAutoFlow:"row",["@media (max-width: ".concat(i.nmC.sm,"px)")]:{gridTemplateColumns:"1fr",gridAutoFlow:"dense"}},children:[(0,it.jsx)(i.mZW,{label:"Name:",value:y.name}),P&&(0,it.jsx)(i.mZW,{label:"Version:",value:P.version}),(0,it.jsx)(i.mZW,{label:"Default Key ID:",value:y.defaultKeyID}),(0,it.jsx)(i.mZW,{label:"Key Management Service Endpoints:",value:(0,it.jsx)(a.Fragment,{children:y.endpoints&&y.endpoints.map((t,e)=>(0,it.jsx)(tt.A,{icon:"online"===t.status?(0,it.jsx)(i.xhy,{}):(0,it.jsx)(i.aaC,{}),label:t.url},e))})})]})})})})]}),_=(0,it.jsxs)(a.Fragment,{children:[(0,it.jsx)(i._xt,{children:"Supported API endpoints"}),(0,it.jsx)("br",{}),S&&(0,it.jsx)(i.xA9,{container:!0,children:(0,it.jsx)(i.xA9,{item:!0,xs:12,children:(0,it.jsx)(i.mZW,{label:"",value:(0,it.jsx)(i.azJ,{sx:{display:"grid",gap:2,gridTemplateColumns:"2fr 1fr",gridAutoFlow:"row",["@media (max-width: ".concat(i.nmC.sm,"px)")]:{gridTemplateColumns:"1fr",gridAutoFlow:"dense"}},children:S.results.map((t,e)=>(0,it.jsx)(tt.A,{icon:(0,it.jsx)(i.xhy,{}),label:"".concat(t.path," - ").concat(t.method)},e))})})})})]}),N=(0,it.jsx)(a.Fragment,{children:b&&(0,it.jsxs)(a.Fragment,{children:[(0,it.jsx)("h3",{children:"API Requests"}),(0,it.jsxs)(o.E,{width:730,height:250,data:[{label:"Success",success:b.requestOK},{label:"Failures",failures:b.requestFail},{label:"Errors",errors:b.requestErr},{label:"Active",active:b.requestActive}],children:[(0,it.jsx)(s.d,{strokeDasharray:"3 3"}),(0,it.jsx)(l.W,{dataKey:"label"}),(0,it.jsx)(c.h,{}),(0,it.jsx)(u.m,{}),(0,it.jsx)(p.s,{}),(0,it.jsx)(d.y,{dataKey:"success",fill:"green"}),(0,it.jsx)(d.y,{dataKey:"failures",fill:"red"}),(0,it.jsx)(d.y,{dataKey:"errors",fill:"black"}),(0,it.jsx)(d.y,{dataKey:"active",fill:"#8884d8"})]}),(0,it.jsx)("h3",{children:"Events"}),(0,it.jsxs)(o.E,{width:730,height:250,data:[{label:"Audit",audit:b.auditEvents},{label:"Errors",errors:b.errorEvents}],children:[(0,it.jsx)(s.d,{strokeDasharray:"3 3"}),(0,it.jsx)(l.W,{dataKey:"label"}),(0,it.jsx)(c.h,{}),(0,it.jsx)(u.m,{}),(0,it.jsx)(p.s,{}),(0,it.jsx)(d.y,{dataKey:"audit",fill:"green"}),(0,it.jsx)(d.y,{dataKey:"errors",fill:"black"})]}),(0,it.jsx)("h3",{children:"Latency Histogram"}),b.latencyHistogram&&(0,it.jsxs)(G,{width:730,height:250,data:b.latencyHistogram.map(t=>(0,r.A)((0,r.A)({},t),{},{duration:"".concat(t.duration/1e6,"ms")})),margin:{top:5,right:30,left:20,bottom:5},children:[(0,it.jsx)(s.d,{strokeDasharray:"3 3"}),(0,it.jsx)(l.W,{dataKey:"duration"}),(0,it.jsx)(c.h,{}),(0,it.jsx)(u.m,{}),(0,it.jsx)(p.s,{}),(0,it.jsx)(U,{type:"monotone",dataKey:"total",stroke:"#8884d8",name:"Requests that took T ms or less"})]})]})});return(0,a.useEffect)(()=>{t((0,X.ph)("kms_status"))},[]),(0,it.jsxs)(a.Fragment,{children:[(0,it.jsx)(et.A,{label:"Key Management Service",actions:(0,it.jsx)(nt.A,{})}),(0,it.jsx)(i.Mxu,{children:(0,it.jsx)(i.tUM,{currentTabOrPath:e,onTabClick:t=>n(t),options:[{tabConfig:{label:"Status",id:"simple-tab-0"},content:(0,it.jsx)(i.azJ,{withBorders:!0,sx:{display:"flex",flexFlow:"column",padding:"43px"},children:M})},{tabConfig:{label:"APIs",id:"simple-tab-1",disabled:!I},content:(0,it.jsx)(i.azJ,{withBorders:!0,sx:{display:"flex",flexFlow:"column",padding:"43px"},children:_})},{tabConfig:{label:"Metrics",id:"simple-tab-2",disabled:!F},content:(0,it.jsx)(i.azJ,{withBorders:!0,sx:{display:"flex",flexFlow:"column",padding:"43px"},children:N})}]})})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/7389.2d39bf47.chunk.js b/web-app/build/static/js/7389.2d39bf47.chunk.js deleted file mode 100644 index 9876068128..0000000000 --- a/web-app/build/static/js/7389.2d39bf47.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[7389],{2241:t=>{"use strict";var e=function(){};t.exports=e},8661:(t,e,i)=>{"use strict";i.d(e,{Ay:()=>s});const n=["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onBlur","onInput","onInvalid","onReset","onSubmit","onLoad","onError","onKeyDown","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onChange","onToggle"];function s(t,e){const i={};for(const s of n){const n=t[s];n&&(i[s]=e?t=>n(t,e(s)):n)}return i}},28097:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(9950);function s(t,e){switch(e.type){case"RESOLVE":return{value:e.value,error:void 0};case"REJECT":return{value:!1,error:e.error};case"RESET":return{value:void 0,error:void 0};default:return t}}function a(){return(0,n.useReducer)(s,{value:void 0,error:void 0})}},32878:(t,e,i)=>{"use strict";function n(t,e,i){e||(e=[]);var n=e.length++;return Object.defineProperty({},"_",{set:function(s){e[n]=s,t.apply(i,e)}})}i.d(e,{dU:()=>Rh,ng:()=>B,EA:()=>Fr,Tm:()=>fl,D6:()=>Xo,YE:()=>ol});var s=i(89379);function a(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function r(t,e){a(t,e),e.add(t)}function o(t,e,i){a(t,e),e.set(t,i)}function l(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}function c(t,e,i){return i(l(t,e))}function h(t,e){return t.get(l(t,e))}function d(t,e,i){return t.set(l(t,e),i),i}var u,p,g,f,m,v,b,w,x,y,A,_,k,S,E,M=i(64467);function C(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then(function(t){return{value:t,done:e}})}return C=function(t){this.s=t,this.n=t.next},C.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var i=this.s.return;return void 0===i?Promise.resolve({value:t,done:!0}):e(i.apply(this.s,arguments))},throw:function(t){var i=this.s.return;return void 0===i?Promise.reject(t):e(i.apply(this.s,arguments))}},new C(t)}const R="object"===typeof process&&process+""==="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&"browser"!==process.type),T=[.001,0,0,.001,0,0],P=1.35,D=1,I=2,L=4,F=16,O=32,N=64,W=128,j=256,B={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},z={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15,SIGNATURE:101},H={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35,DRAW_STEP:41},G=0,U=1,V=2,q=3,X=3,K=4,Y={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},Q={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},J=1,Z=2,$=3,tt=4,et=5,it={ERRORS:0,WARNINGS:1,INFOS:5},nt={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,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93,rawFillPath:94},st=0,at=1,rt=2,ot=3;let lt=it.WARNINGS;function ct(t){Number.isInteger(t)&&(lt=t)}function ht(){return lt}function dt(t){lt>=it.INFOS&&console.log("Info: ".concat(t))}function ut(t){lt>=it.WARNINGS&&console.log("Warning: ".concat(t))}function pt(t){throw new Error(t)}function gt(t,e){t||pt(e)}function ft(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return null;if(i&&"string"===typeof t){if(i.addDefaultProtocol&&t.startsWith("www.")){const e=t.match(/\./g);(null===e||void 0===e?void 0:e.length)>=2&&(t="http://".concat(t))}if(i.tryConvertEncoding)try{t=decodeURIComponent(escape(t))}catch(s){}}const n=e?URL.parse(t,e):URL.parse(t);return function(t){switch(null===t||void 0===t?void 0:t.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(n)?n:null}function mt(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=URL.parse(t);return n?(n.hash=e,n.href):i&&ft(t,"http://example.com")?t.split("#",1)[0]+"".concat(e?"#".concat(e):""):""}function vt(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.defineProperty(t,e,{value:i,enumerable:!n,configurable:!0,writable:!1}),i}const bt=function(){function t(t,e){this.message=t,this.name=e}return t.prototype=new Error,t.constructor=t,t}();class wt extends bt{constructor(t,e){super(t,"PasswordException"),this.code=e}}class xt extends bt{constructor(t,e){super(t,"UnknownErrorException"),this.details=e}}class yt extends bt{constructor(t){super(t,"InvalidPDFException")}}class At extends bt{constructor(t,e,i){super(t,"ResponseException"),this.status=e,this.missing=i}}class _t extends bt{constructor(t){super(t,"FormatError")}}class kt extends bt{constructor(t){super(t,"AbortException")}}function St(t){"object"===typeof t&&void 0!==(null===t||void 0===t?void 0:t.length)||pt("Invalid argument for bytesToString");const e=t.length,i=8192;if(et.toString(16).padStart(2,"0"));class Rt{static makeHexColor(t,e,i){return"#".concat(Ct[t]).concat(Ct[e]).concat(Ct[i])}static scaleMinMax(t,e){let i;t[0]?(t[0]<0&&(i=e[0],e[0]=e[2],e[2]=i),e[0]*=t[0],e[2]*=t[0],t[3]<0&&(i=e[1],e[1]=e[3],e[3]=i),e[1]*=t[3],e[3]*=t[3]):(i=e[0],e[0]=e[1],e[1]=i,i=e[2],e[2]=e[3],e[3]=i,t[1]<0&&(i=e[1],e[1]=e[3],e[3]=i),e[1]*=t[1],e[3]*=t[1],t[2]<0&&(i=e[0],e[0]=e[2],e[2]=i),e[0]*=t[2],e[2]*=t[2]),e[0]+=t[4],e[1]+=t[5],e[2]+=t[4],e[3]+=t[5]}static transform(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}static applyTransform(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const n=t[i],s=t[i+1];t[i]=n*e[0]+s*e[2]+e[4],t[i+1]=n*e[1]+s*e[3]+e[5]}static applyTransformToBezier(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const n=e[0],s=e[1],a=e[2],r=e[3],o=e[4],l=e[5];for(let c=0;c<6;c+=2){const e=t[i+c],h=t[i+c+1];t[i+c]=e*n+h*a+o,t[i+c+1]=e*s+h*r+l}}static applyInverseTransform(t,e){const i=t[0],n=t[1],s=e[0]*e[3]-e[1]*e[2];t[0]=(i*e[3]-n*e[2]+e[2]*e[5]-e[4]*e[3])/s,t[1]=(-i*e[1]+n*e[0]+e[4]*e[1]-e[5]*e[0])/s}static axialAlignedBoundingBox(t,e,i){const n=e[0],s=e[1],a=e[2],r=e[3],o=e[4],l=e[5],c=t[0],h=t[1],d=t[2],u=t[3];let p=n*c+o,g=p,f=n*d+o,m=f,v=r*h+l,b=v,w=r*u+l,x=w;if(0!==s||0!==a){const t=s*c,e=s*d,i=a*h,n=a*u;p+=i,m+=i,f+=n,g+=n,v+=t,x+=t,w+=e,b+=e}i[0]=Math.min(i[0],p,f,g,m),i[1]=Math.min(i[1],v,w,b,x),i[2]=Math.max(i[2],p,f,g,m),i[3]=Math.max(i[3],v,w,b,x)}static inverseTransform(t){const e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}static singularValueDecompose2dScale(t,e){const i=t[0],n=t[1],s=t[2],a=t[3],r=i**2+n**2,o=i*s+n*a,l=s**2+a**2,c=(r+l)/2,h=Math.sqrt(c**2-(r*l-o**2));e[0]=Math.sqrt(c+h||1),e[1]=Math.sqrt(c-h||1)}static normalizeRect(t){const e=t.slice(0);return t[0]>t[2]&&(e[0]=t[2],e[2]=t[0]),t[1]>t[3]&&(e[1]=t[3],e[3]=t[1]),e}static intersect(t,e){const i=Math.max(Math.min(t[0],t[2]),Math.min(e[0],e[2])),n=Math.min(Math.max(t[0],t[2]),Math.max(e[0],e[2]));if(i>n)return null;const s=Math.max(Math.min(t[1],t[3]),Math.min(e[1],e[3])),a=Math.min(Math.max(t[1],t[3]),Math.max(e[1],e[3]));return s>a?null:[i,s,n,a]}static pointBoundingBox(t,e,i){i[0]=Math.min(i[0],t),i[1]=Math.min(i[1],e),i[2]=Math.max(i[2],t),i[3]=Math.max(i[3],e)}static rectBoundingBox(t,e,i,n,s){s[0]=Math.min(s[0],t,i),s[1]=Math.min(s[1],e,n),s[2]=Math.max(s[2],t,i),s[3]=Math.max(s[3],e,n)}static bezierBoundingBox(t,e,i,n,s,a,r,o,c){c[0]=Math.min(c[0],t,r),c[1]=Math.min(c[1],e,o),c[2]=Math.max(c[2],t,r),c[3]=Math.max(c[3],e,o),l(Rt,this,Pt).call(this,t,i,s,r,e,n,a,o,3*(3*(i-s)-t+r),6*(t-2*i+s),3*(i-t),c),l(Rt,this,Pt).call(this,t,i,s,r,e,n,a,o,3*(3*(n-a)-e+o),6*(e-2*n+a),3*(n-e),c)}}function Tt(t,e,i,n,s,a,r,o,l,c){if(l<=0||l>=1)return;const h=1-l,d=l*l,u=d*l,p=h*(h*(h*t+3*l*e)+3*d*i)+u*n,g=h*(h*(h*s+3*l*a)+3*d*r)+u*o;c[0]=Math.min(c[0],p),c[1]=Math.min(c[1],g),c[2]=Math.max(c[2],p),c[3]=Math.max(c[3],g)}function Pt(t,e,i,n,s,a,r,o,c,h,d,p){if(Math.abs(c)<1e-12)return void(Math.abs(h)>=1e-12&&l(u,this,Tt).call(this,t,e,i,n,s,a,r,o,-d/h,p));const g=h**2-4*d*c;if(g<0)return;const f=Math.sqrt(g),m=2*c;l(u,this,Tt).call(this,t,e,i,n,s,a,r,o,(-h+f)/m,p),l(u,this,Tt).call(this,t,e,i,n,s,a,r,o,(-h-f)/m,p)}u=Rt;let Dt=null,It=null;function Lt(){if("function"===typeof crypto.randomUUID)return crypto.randomUUID();const t=new Uint8Array(32);return crypto.getRandomValues(t),St(t)}const Ft="pdfjs_internal_id_";function Ot(t,e,i){return Math.min(Math.max(t,e),i)}function Nt(t){return Uint8Array.prototype.toBase64?t.toBase64():btoa(St(t))}"function"!==typeof Promise.try&&(Promise.try=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n{e(t(...i))})}),"function"!==typeof Math.sumPrecise&&(Math.sumPrecise=function(t){return t.reduce((t,e)=>t+e,0)});const Wt="http://www.w3.org/2000/svg";class jt{}async function Bt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";if(qt(t,document.baseURI)){const i=await fetch(t);if(!i.ok)throw new Error(i.statusText);switch(e){case"arraybuffer":return i.arrayBuffer();case"blob":return i.blob();case"json":return i.json()}return i.text()}return new Promise((i,n)=>{const s=new XMLHttpRequest;s.open("GET",t,!0),s.responseType=e,s.onreadystatechange=()=>{if(s.readyState===XMLHttpRequest.DONE)if(200!==s.status&&0!==s.status)n(new Error(s.statusText));else{switch(e){case"arraybuffer":case"blob":case"json":return void i(s.response)}i(s.responseText)}},s.send(null)})}p=jt,(0,M.A)(jt,"CSS",96),(0,M.A)(jt,"PDF",72),(0,M.A)(jt,"PDF_TO_CSS_UNITS",p.CSS/p.PDF);class zt{constructor(t){let{viewBox:e,userUnit:i,scale:n,rotation:s,offsetX:a=0,offsetY:r=0,dontFlip:o=!1}=t;this.viewBox=e,this.userUnit=i,this.scale=n,this.rotation=s,this.offsetX=a,this.offsetY=r,n*=i;const l=(e[2]+e[0])/2,c=(e[3]+e[1])/2;let h,d,u,p,g,f,m,v;switch(s%=360,s<0&&(s+=360),s){case 180:h=-1,d=0,u=0,p=1;break;case 90:h=0,d=1,u=1,p=0;break;case 270:h=0,d=-1,u=-1,p=0;break;case 0:h=1,d=0,u=0,p=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}o&&(u=-u,p=-p),0===h?(g=Math.abs(c-e[1])*n+a,f=Math.abs(l-e[0])*n+r,m=(e[3]-e[1])*n,v=(e[2]-e[0])*n):(g=Math.abs(l-e[0])*n+a,f=Math.abs(c-e[1])*n+r,m=(e[2]-e[0])*n,v=(e[3]-e[1])*n),this.transform=[h*n,d*n,u*n,p*n,g-h*n*l-u*n*c,f-d*n*l-p*n*c],this.width=m,this.height=v}get rawDims(){const t=this.viewBox;return vt(this,"rawDims",{pageWidth:t[2]-t[0],pageHeight:t[3]-t[1],pageX:t[0],pageY:t[1]})}clone(){let{scale:t=this.scale,rotation:e=this.rotation,offsetX:i=this.offsetX,offsetY:n=this.offsetY,dontFlip:s=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new zt({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:t,rotation:e,offsetX:i,offsetY:n,dontFlip:s})}convertToViewportPoint(t,e){const i=[t,e];return Rt.applyTransform(i,this.transform),i}convertToViewportRectangle(t){const e=[t[0],t[1]];Rt.applyTransform(e,this.transform);const i=[t[2],t[3]];return Rt.applyTransform(i,this.transform),[e[0],e[1],i[0],i[1]]}convertToPdfPoint(t,e){const i=[t,e];return Rt.applyInverseTransform(i,this.transform),i}}class Ht extends bt{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;super(t,"RenderingCancelledException"),this.extraDelay=e}}function Gt(t){const e=t.length;let i=0;for(;i=1&&n<=12?n-1:0;let s=parseInt(e[3],10);s=s>=1&&s<=31?s:1;let a=parseInt(e[4],10);a=a>=0&&a<=23?a:0;let r=parseInt(e[5],10);r=r>=0&&r<=59?r:0;let o=parseInt(e[6],10);o=o>=0&&o<=59?o:0;const c=e[7]||"Z";let h=parseInt(e[8],10);h=h>=0&&h<=23?h:0;let d=parseInt(e[9],10)||0;return d=d>=0&&d<=59?d:0,"-"===c?(a+=h,r+=d):"+"===c&&(a-=h,r-=d),new Date(Date.UTC(i,n,s,a,r,o))}}var Qt={_:void 0};function Jt(t){if(t.startsWith("#")){const e=parseInt(t.slice(1),16);return[(16711680&e)>>16,(65280&e)>>8,255&e]}return t.startsWith("rgb(")?t.slice(4,-1).split(",").map(t=>parseInt(t)):t.startsWith("rgba(")?t.slice(5,-1).split(",").map(t=>parseInt(t)).slice(0,3):(ut('Not a valid color format: "'.concat(t,'"')),[0,0,0])}function Zt(t){const{a:e,b:i,c:n,d:s,e:a,f:r}=t.getTransform();return[e,i,n,s,a,r]}function $t(t){const{a:e,b:i,c:n,d:s,e:a,f:r}=t.getTransform().invertSelf();return[e,i,n,s,a,r]}function te(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e instanceof zt){const{pageWidth:n,pageHeight:s}=e.rawDims,{style:a}=t,r=Mt.isCSSRoundSupported,o="var(--total-scale-factor) * ".concat(n,"px"),l="var(--total-scale-factor) * ".concat(s,"px"),c=r?"round(down, ".concat(o,", var(--scale-round-x))"):"calc(".concat(o,")"),h=r?"round(down, ".concat(l,", var(--scale-round-y))"):"calc(".concat(l,")");i&&e.rotation%180!==0?(a.width=h,a.height=c):(a.width=c,a.height=h)}n&&t.setAttribute("data-main-rotation",e.rotation)}class ee{constructor(){const{pixelRatio:t}=ee;this.sx=t,this.sy=t}get scaled(){return 1!==this.sx||1!==this.sy}get symmetric(){return this.sx===this.sy}limitCanvas(t,e,i,n){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,a=1/0,r=1/0,o=1/0;(i=ee.capPixels(i,s))>0&&(a=Math.sqrt(i/(t*e))),-1!==n&&(r=n/t,o=n/e);const l=Math.min(a,r,o);return(this.sx>l||this.sy>l)&&(this.sx=l,this.sy=l,!0)}static get pixelRatio(){return globalThis.devicePixelRatio||1}static capPixels(t,e){if(e>=0){const i=Math.ceil(window.screen.availWidth*window.screen.availHeight*this.pixelRatio**2*(1+e/100));return t>0?Math.min(t,i):i}return t}}const ie=["image/apng","image/avif","image/bmp","image/gif","image/jpeg","image/png","image/svg+xml","image/webp","image/x-icon"];var ne=new WeakMap,se=new WeakMap,ae=new WeakMap,re=new WeakMap,oe=new WeakMap,le=new WeakMap,ce=new WeakSet;class he{constructor(t){r(this,ce),o(this,ne,null),o(this,se,null),o(this,ae,void 0),o(this,re,null),o(this,oe,null),o(this,le,null),d(ae,this,t),ve._||(ve._=Object.freeze({freetext:"pdfjs-editor-remove-freetext-button",highlight:"pdfjs-editor-remove-highlight-button",ink:"pdfjs-editor-remove-ink-button",stamp:"pdfjs-editor-remove-stamp-button",signature:"pdfjs-editor-remove-signature-button"}))}render(){const t=d(ne,this,document.createElement("div"));t.classList.add("editToolbar","hidden"),t.setAttribute("role","toolbar");const e=h(ae,this)._uiManager._signal;t.addEventListener("contextmenu",Xt,{signal:e}),t.addEventListener("pointerdown",de,{signal:e});const i=d(re,this,document.createElement("div"));i.className="buttons",t.append(i);const n=h(ae,this).toolbarPosition;if(n){const{style:e}=t,i="ltr"===h(ae,this)._uiManager.direction?1-n[0]:n[0];e.insetInlineEnd="".concat(100*i,"%"),e.top="calc(".concat(100*n[1],"% + var(--editor-toolbar-vert-offset))")}return l(ce,this,fe).call(this),t}get div(){return h(ne,this)}hide(){var t;h(ne,this).classList.add("hidden"),null===(t=h(se,this))||void 0===t||t.hideDropdown()}show(){var t;h(ne,this).classList.remove("hidden"),null===(t=h(oe,this))||void 0===t||t.shown()}async addAltText(t){const e=await t.render();l(ce,this,ge).call(this,e),h(re,this).prepend(e,c(ce,this,me)),d(oe,this,t)}addColorPicker(t){d(se,this,t);const e=t.renderButton();l(ce,this,ge).call(this,e),h(re,this).prepend(e,c(ce,this,me))}async addEditSignatureButton(t){const e=d(le,this,await t.renderEditButton(h(ae,this)));l(ce,this,ge).call(this,e),h(re,this).prepend(e,c(ce,this,me))}updateEditSignatureButton(t){h(le,this)&&(h(le,this).title=t)}remove(){var t;h(ne,this).remove(),null===(t=h(se,this))||void 0===t||t.destroy(),d(se,this,null)}}function de(t){t.stopPropagation()}function ue(t){h(ae,this)._focusEventsAllowed=!1,Kt(t)}function pe(t){h(ae,this)._focusEventsAllowed=!0,Kt(t)}function ge(t){const e=h(ae,this)._uiManager._signal;t.addEventListener("focusin",l(ce,this,ue).bind(this),{capture:!0,signal:e}),t.addEventListener("focusout",l(ce,this,pe).bind(this),{capture:!0,signal:e}),t.addEventListener("contextmenu",Xt,{signal:e})}function fe(){const{editorType:t,_uiManager:e}=h(ae,this),i=document.createElement("button");i.className="delete",i.tabIndex=0,i.setAttribute("data-l10n-id",ve._[t]),l(ce,this,ge).call(this,i),i.addEventListener("click",t=>{e.delete()},{signal:e._signal}),h(re,this).append(i)}function me(t){const e=document.createElement("div");return e.className="divider",e}var ve={_:null},be=new WeakMap,we=new WeakMap,xe=new WeakMap,ye=new WeakSet;class Ae{constructor(t){r(this,ye),o(this,be,null),o(this,we,null),o(this,xe,void 0),d(xe,this,t)}show(t,e,i){const[n,s]=l(ye,this,ke).call(this,e,i),{style:a}=h(we,this)||d(we,this,l(ye,this,_e).call(this));t.append(h(we,this)),a.insetInlineEnd="".concat(100*n,"%"),a.top="calc(".concat(100*s,"% + var(--editor-toolbar-vert-offset))")}hide(){h(we,this).remove()}}function _e(){const t=d(we,this,document.createElement("div"));t.className="editToolbar",t.setAttribute("role","toolbar"),t.addEventListener("contextmenu",Xt,{signal:h(xe,this)._signal});const e=d(be,this,document.createElement("div"));return e.className="buttons",t.append(e),l(ye,this,Se).call(this),t}function ke(t,e){let i=0,n=0;for(const s of t){const t=s.y+s.height;if(ti?(n=a,i=t):e?a>n&&(n=a):a{h(xe,this).highlightSelection("floating_button")},{signal:i}),h(be,this).append(t)}function Ee(t,e,i){for(const n of i)e.addEventListener(n,t[n].bind(t))}var Me=new WeakMap;class Ce{constructor(){o(this,Me,0)}get id(){var t,e;return"".concat("pdfjs_internal_editor_").concat((d(Me,this,(t=h(Me,this),e=t++,t)),e))}}var Re=new WeakMap,Te=new WeakMap,Pe=new WeakMap,De=new WeakSet;class Ie{constructor(){r(this,De),o(this,Re,Lt()),o(this,Te,0),o(this,Pe,null)}static get _isSVGFittingCanvas(){const t=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),e=new Image;e.src='data:image/svg+xml;charset=UTF-8,';return vt(this,"_isSVGFittingCanvas",e.decode().then(()=>(t.drawImage(e,0,0,1,1,0,0,1,3),0===new Uint32Array(t.getImageData(0,0,1,1).data.buffer)[0])))}async getFromFile(t){const{lastModified:e,name:i,size:n,type:s}=t;return l(De,this,Le).call(this,"".concat(e,"_").concat(i,"_").concat(n,"_").concat(s),t)}async getFromUrl(t){return l(De,this,Le).call(this,t,t)}async getFromBlob(t,e){const i=await e;return l(De,this,Le).call(this,t,i)}async getFromId(t){h(Pe,this)||d(Pe,this,new Map);const e=h(Pe,this).get(t);if(!e)return null;if(e.bitmap)return e.refCounter+=1,e;if(e.file)return this.getFromFile(e.file);if(e.blobPromise){const{blobPromise:t}=e;return delete e.blobPromise,this.getFromBlob(e.id,t)}return this.getFromUrl(e.url)}getFromCanvas(t,e){var i,n,s;h(Pe,this)||d(Pe,this,new Map);let a=h(Pe,this).get(t);if(null!==(s=a)&&void 0!==s&&s.bitmap)return a.refCounter+=1,a;const r=new OffscreenCanvas(e.width,e.height);return r.getContext("2d").drawImage(e,0,0),a={bitmap:r.transferToImageBitmap(),id:"image_".concat(h(Re,this),"_").concat((d(Te,this,(i=h(Te,this),n=i++,i)),n)),refCounter:1,isSvg:!1},h(Pe,this).set(t,a),h(Pe,this).set(a.id,a),a}getSvgUrl(t){const e=h(Pe,this).get(t);return null!==e&&void 0!==e&&e.isSvg?e.svgUrl:null}deleteId(t){var e;h(Pe,this)||d(Pe,this,new Map);const i=h(Pe,this).get(t);if(!i)return;if(i.refCounter-=1,0!==i.refCounter)return;const{bitmap:n}=i;if(!i.url&&!i.file){const t=new OffscreenCanvas(n.width,n.height);t.getContext("bitmaprenderer").transferFromImageBitmap(n),i.blobPromise=t.convertToBlob()}null===(e=n.close)||void 0===e||e.call(n),i.bitmap=null}isValidId(t){return t.startsWith("image_".concat(h(Re,this),"_"))}}async function Le(t,e){var i;h(Pe,this)||d(Pe,this,new Map);let n=h(Pe,this).get(t);if(null===n)return null;if(null!==(i=n)&&void 0!==i&&i.bitmap)return n.refCounter+=1,n;try{var s,a;let t;if(n||(n={bitmap:null,id:"image_".concat(h(Re,this),"_").concat((d(Te,this,(s=h(Te,this),a=s++,s)),a)),refCounter:0,isSvg:!1}),"string"===typeof e?(n.url=e,t=await Bt(e,"blob")):e instanceof File?t=n.file=e:e instanceof Blob&&(t=e),"image/svg+xml"===t.type){const e=g._isSVGFittingCanvas,i=new FileReader,s=new Image,a=new Promise((t,a)=>{s.onload=()=>{n.bitmap=s,n.isSvg=!0,t()},i.onload=async()=>{const t=n.svgUrl=i.result;s.src=await e?"".concat(t,"#svgView(preserveAspectRatio(none))"):t},s.onerror=i.onerror=a});i.readAsDataURL(t),await a}else n.bitmap=await createImageBitmap(t);n.refCounter=1}catch(r){ut(r),n=null}return h(Pe,this).set(t,n),n&&h(Pe,this).set(n.id,n),n}g=Ie;var Fe=new WeakMap,Oe=new WeakMap,Ne=new WeakMap,We=new WeakMap;class je{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:128;o(this,Fe,[]),o(this,Oe,!1),o(this,Ne,void 0),o(this,We,-1),d(Ne,this,t)}add(t){let{cmd:e,undo:i,post:n,mustExec:s,type:a=NaN,overwriteIfSameType:r=!1,keepUndo:o=!1}=t;if(s&&e(),h(Oe,this))return;const l={cmd:e,undo:i,post:n,type:a};if(-1===h(We,this))return h(Fe,this).length>0&&(h(Fe,this).length=0),d(We,this,0),void h(Fe,this).push(l);if(r&&h(Fe,this)[h(We,this)].type===a)return o&&(l.undo=h(Fe,this)[h(We,this)].undo),void(h(Fe,this)[h(We,this)]=l);const c=h(We,this)+1;c===h(Ne,this)?h(Fe,this).splice(0,1):(d(We,this,c),c=0;e--)if(h(Fe,this)[e].type!==t)return h(Fe,this).splice(e+1,h(We,this)-e),void d(We,this,e);h(Fe,this).length=0,d(We,this,-1)}}destroy(){d(Fe,this,null)}}var Be=new WeakSet;class ze{constructor(t){r(this,Be),this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:e}=Mt.platform;for(const[i,n,s={}]of t)for(const t of i){const i=t.startsWith("mac+");e&&i?(this.callbacks.set(t.slice(4),{callback:n,options:s}),this.allKeys.add(t.split("+").at(-1))):e||i||(this.callbacks.set(t,{callback:n,options:s}),this.allKeys.add(t.split("+").at(-1)))}}exec(t,e){if(!this.allKeys.has(e.key))return;const i=this.callbacks.get(l(Be,this,He).call(this,e));if(!i)return;const{callback:n,options:{bubbles:s=!1,args:a=[],checker:r=null}}=i;r&&!r(t,e)||(n.bind(t,...a,e)(),s||Kt(e))}}function He(t){t.altKey&&this.buffer.push("alt"),t.ctrlKey&&this.buffer.push("ctrl"),t.metaKey&&this.buffer.push("meta"),t.shiftKey&&this.buffer.push("shift"),this.buffer.push(t.key);const e=this.buffer.join("+");return this.buffer.length=0,e}class Ge{get _colors(){const t=new Map([["CanvasText",null],["Canvas",null]]);return function(t){const e=document.createElement("span");e.style.visibility="hidden",e.style.colorScheme="only light",document.body.append(e);for(const i of t.keys()){e.style.color=i;const n=window.getComputedStyle(e).color;t.set(i,Jt(n))}e.remove()}(t),vt(this,"_colors",t)}convert(t){const e=Jt(t);if(!window.matchMedia("(forced-colors: active)").matches)return e;for(const[i,n]of this._colors)if(n.every((t,i)=>t===e[i]))return Ge._colorsMapping.get(i);return e}getHexCode(t){const e=this._colors.get(t);return e?Rt.makeHexColor(...e):t}}(0,M.A)(Ge,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));var Ue=new WeakMap,Ve=new WeakMap,qe=new WeakMap,Xe=new WeakMap,Ke=new WeakMap,Ye=new WeakMap,Qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,$e=new WeakMap,ti=new WeakMap,ei=new WeakMap,ii=new WeakMap,ni=new WeakMap,si=new WeakMap,ai=new WeakMap,ri=new WeakMap,oi=new WeakMap,li=new WeakMap,ci=new WeakMap,hi=new WeakMap,di=new WeakMap,ui=new WeakMap,pi=new WeakMap,gi=new WeakMap,fi=new WeakMap,mi=new WeakMap,vi=new WeakMap,bi=new WeakMap,wi=new WeakMap,xi=new WeakMap,yi=new WeakMap,Ai=new WeakMap,_i=new WeakMap,ki=new WeakMap,Si=new WeakMap,Ei=new WeakMap,Mi=new WeakMap,Ci=new WeakMap,Ri=new WeakMap,Ti=new WeakMap,Pi=new WeakMap,Di=new WeakMap,Ii=new WeakMap,Li=new WeakSet;class Fi{static get _keyboardManager(){const t=Fi.prototype,e=t=>h(Pi,t).contains(document.activeElement)&&"BUTTON"!==document.activeElement.tagName&&t.hasSomethingToControl(),i=(t,e)=>{let{target:i}=e;if(i instanceof HTMLInputElement){const{type:t}=i;return"text"!==t&&"number"!==t}return!0},n=this.TRANSLATE_SMALL,s=this.TRANSLATE_BIG;return vt(this,"_keyboardManager",new ze([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:i}],[["ctrl+z","mac+meta+z"],t.undo,{checker:i}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:i}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:i}],[["Enter","mac+Enter"],t.addNewEditorFromKeyboard,{checker:(t,e)=>{let{target:i}=e;return!(i instanceof HTMLButtonElement)&&h(Pi,t).contains(i)&&!t.isEnterHandled}}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:(t,e)=>{let{target:i}=e;return!(i instanceof HTMLButtonElement)&&h(Pi,t).contains(document.activeElement)}}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-n,0],checker:e}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-s,0],checker:e}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[n,0],checker:e}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[s,0],checker:e}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-n],checker:e}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-s],checker:e}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,n],checker:e}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,s],checker:e}]]))}constructor(t,e,i,n,s,a,c,u,p,g,f,m,v,b){r(this,Li),o(this,Ue,new AbortController),o(this,Ve,null),o(this,qe,new Map),o(this,Xe,new Map),o(this,Ke,null),o(this,Ye,null),o(this,Qe,null),o(this,Je,new je),o(this,Ze,null),o(this,$e,null),o(this,ti,0),o(this,ei,new Set),o(this,ii,null),o(this,ni,null),o(this,si,new Set),(0,M.A)(this,"_editorUndoBar",null),o(this,ai,!1),o(this,ri,!1),o(this,oi,!1),o(this,li,null),o(this,ci,null),o(this,hi,null),o(this,di,null),o(this,ui,!1),o(this,pi,null),o(this,gi,new Ce),o(this,fi,!1),o(this,mi,!1),o(this,vi,null),o(this,bi,null),o(this,wi,null),o(this,xi,null),o(this,yi,null),o(this,Ai,z.NONE),o(this,_i,new Set),o(this,ki,null),o(this,Si,null),o(this,Ei,null),o(this,Mi,null),o(this,Ci,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1}),o(this,Ri,[0,0]),o(this,Ti,null),o(this,Pi,null),o(this,Di,null),o(this,Ii,null);const w=this._signal=h(Ue,this).signal;d(Pi,this,t),d(Di,this,e),d(Ke,this,i),d(Si,this,n),this._eventBus=s,s._on("editingaction",this.onEditingAction.bind(this),{signal:w}),s._on("pagechanging",this.onPageChanging.bind(this),{signal:w}),s._on("scalechanging",this.onScaleChanging.bind(this),{signal:w}),s._on("rotationchanging",this.onRotationChanging.bind(this),{signal:w}),s._on("setpreference",this.onSetPreference.bind(this),{signal:w}),s._on("switchannotationeditorparams",t=>this.updateParams(t.type,t.value),{signal:w}),l(Li,this,zi).call(this),l(Li,this,Ki).call(this),l(Li,this,Ui).call(this),d(Ye,this,a.annotationStorage),d(li,this,a.filterFactory),d(Ei,this,c),d(di,this,u||null),d(ai,this,p),d(ri,this,g),d(oi,this,f),d(yi,this,m||null),this.viewParameters={realScale:jt.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=v||null,this._supportsPinchToZoom=!1!==b}destroy(){var t,e,i,n,s,a,r,o;null===(t=h(Ii,this))||void 0===t||t.resolve(),d(Ii,this,null),null===(e=h(Ue,this))||void 0===e||e.abort(),d(Ue,this,null),this._signal=null;for(const l of h(Xe,this).values())l.destroy();h(Xe,this).clear(),h(qe,this).clear(),h(si,this).clear(),null===(i=h(xi,this))||void 0===i||i.clear(),d(Ve,this,null),h(_i,this).clear(),h(Je,this).destroy(),null===(n=h(Ke,this))||void 0===n||n.destroy(),null===(s=h(Si,this))||void 0===s||s.destroy(),null===(a=h(pi,this))||void 0===a||a.hide(),d(pi,this,null),null===(r=h(wi,this))||void 0===r||r.destroy(),d(wi,this,null),h(ci,this)&&(clearTimeout(h(ci,this)),d(ci,this,null)),h(Ti,this)&&(clearTimeout(h(Ti,this)),d(Ti,this,null)),null===(o=this._editorUndoBar)||void 0===o||o.destroy()}combinedSignal(t){return AbortSignal.any([this._signal,t.signal])}get mlManager(){return h(yi,this)}get useNewAltTextFlow(){return h(ri,this)}get useNewAltTextWhenAddingImage(){return h(oi,this)}get hcmFilter(){return vt(this,"hcmFilter",h(Ei,this)?h(li,this).addHCMFilter(h(Ei,this).foreground,h(Ei,this).background):"none")}get direction(){return vt(this,"direction",getComputedStyle(h(Pi,this)).direction)}get highlightColors(){return vt(this,"highlightColors",h(di,this)?new Map(h(di,this).split(",").map(t=>t.split("=").map(t=>t.trim()))):null)}get highlightColorNames(){return vt(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,t=>t.reverse())):null)}setCurrentDrawingSession(t){t?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),d($e,this,t)}setMainHighlightColorPicker(t){d(wi,this,t)}editAltText(t){var e;let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];null===(e=h(Ke,this))||void 0===e||e.editAltText(this,t,i)}getSignature(t){var e;null===(e=h(Si,this))||void 0===e||e.getSignature({uiManager:this,editor:t})}get signatureManager(){return h(Si,this)}switchToMode(t,e){this._eventBus.on("annotationeditormodechanged",e,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:t})}setPreference(t,e){this._eventBus.dispatch("setpreference",{source:this,name:t,value:e})}onSetPreference(t){let{name:e,value:i}=t;if("enableNewAltTextWhenAddingImage"===e)d(oi,this,i)}onPageChanging(t){let{pageNumber:e}=t;d(ti,this,e-1)}focusMainContainer(){h(Pi,this).focus()}findParent(t,e){for(const i of h(Xe,this).values()){const{x:n,y:s,width:a,height:r}=i.div.getBoundingClientRect();if(t>=n&&t<=n+a&&e>=s&&e<=s+r)return i}return null}disableUserSelect(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];h(Di,this).classList.toggle("noUserSelect",t)}addShouldRescale(t){h(si,this).add(t)}removeShouldRescale(t){h(si,this).delete(t)}onScaleChanging(t){var e;let{scale:i}=t;this.commitOrRemove(),this.viewParameters.realScale=i*jt.PDF_TO_CSS_UNITS;for(const n of h(si,this))n.onScaleChanging();null===(e=h($e,this))||void 0===e||e.onScaleChanging()}onRotationChanging(t){let{pagesRotation:e}=t;this.commitOrRemove(),this.viewParameters.rotation=e}highlightSelection(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const e=document.getSelection();if(!e||e.isCollapsed)return;const{anchorNode:i,anchorOffset:n,focusNode:s,focusOffset:a}=e,r=e.toString(),o=l(Li,this,Oi).call(this,e).closest(".textLayer"),c=this.getSelectionBoxes(o);if(!c)return;e.empty();const d=l(Li,this,Ni).call(this,o),u=h(Ai,this)===z.NONE,p=()=>{null===d||void 0===d||d.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:t,boxes:c,anchorNode:i,anchorOffset:n,focusNode:s,focusOffset:a,text:r}),u&&this.showAllEditors("highlight",!0,!0)};u?this.switchToMode(z.HIGHLIGHT,p):p()}addToAnnotationStorage(t){t.isEmpty()||!h(Ye,this)||h(Ye,this).has(t.id)||h(Ye,this).setValue(t.id,t)}blur(){if(this.isShiftKeyDown=!1,h(ui,this)&&(d(ui,this,!1),l(Li,this,Bi).call(this,"main_toolbar")),!this.hasSelection)return;const{activeElement:t}=document;for(const e of h(_i,this))if(e.div.contains(t)){d(bi,this,[e,t]),e._focusEventsAllowed=!1;break}}focus(){if(!h(bi,this))return;const[t,e]=h(bi,this);d(bi,this,null),e.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:this._signal}),e.focus()}addEditListeners(){l(Li,this,Ui).call(this),l(Li,this,qi).call(this)}removeEditListeners(){l(Li,this,Vi).call(this),l(Li,this,Xi).call(this)}dragOver(t){for(const{type:e}of t.dataTransfer.items)for(const i of h(ni,this))if(i.isHandlingMimeForPasting(e))return t.dataTransfer.dropEffect="copy",void t.preventDefault()}drop(t){for(const e of t.dataTransfer.items)for(const i of h(ni,this))if(i.isHandlingMimeForPasting(e.type))return i.paste(e,this.currentLayer),void t.preventDefault()}copy(t){var e;if(t.preventDefault(),null===(e=h(Ve,this))||void 0===e||e.commitOrRemove(),!this.hasSelection)return;const i=[];for(const n of h(_i,this)){const t=n.serialize(!0);t&&i.push(t)}0!==i.length&&t.clipboardData.setData("application/pdfjs",JSON.stringify(i))}cut(t){this.copy(t),this.delete()}async paste(t){t.preventDefault();const{clipboardData:e}=t;for(const a of e.items)for(const t of h(ni,this))if(t.isHandlingMimeForPasting(a.type))return void t.paste(a,this.currentLayer);let i=e.getData("application/pdfjs");if(!i)return;try{i=JSON.parse(i)}catch(s){return void ut('paste: "'.concat(s.message,'".'))}if(!Array.isArray(i))return;this.unselectAll();const n=this.currentLayer;try{const t=[];for(const a of i){const e=await n.deserialize(a);if(!e)return;t.push(e)}const e=()=>{for(const e of t)l(Li,this,$i).call(this,e);l(Li,this,nn).call(this,t)},s=()=>{for(const e of t)e.remove()};this.addCommands({cmd:e,undo:s,mustExec:!0})}catch(s){ut('paste: "'.concat(s.message,'".'))}}keydown(t){this.isShiftKeyDown||"Shift"!==t.key||(this.isShiftKeyDown=!0),h(Ai,this)===z.NONE||this.isEditorHandlingKeyboard||Fi._keyboardManager.exec(this,t)}keyup(t){this.isShiftKeyDown&&"Shift"===t.key&&(this.isShiftKeyDown=!1,h(ui,this)&&(d(ui,this,!1),l(Li,this,Bi).call(this,"main_toolbar")))}onEditingAction(t){let{name:e}=t;switch(e){case"undo":case"redo":case"delete":case"selectAll":this[e]();break;case"highlightSelection":this.highlightSelection("context_menu")}}setEditingState(t){t?(l(Li,this,Hi).call(this),l(Li,this,qi).call(this),l(Li,this,Yi).call(this,{isEditing:h(Ai,this)!==z.NONE,isEmpty:l(Li,this,en).call(this),hasSomethingToUndo:h(Je,this).hasSomethingToUndo(),hasSomethingToRedo:h(Je,this).hasSomethingToRedo(),hasSelectedEditor:!1})):(l(Li,this,Gi).call(this),l(Li,this,Xi).call(this),l(Li,this,Yi).call(this,{isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(t){if(!h(ni,this)){d(ni,this,t);for(const t of h(ni,this))l(Li,this,Qi).call(this,t.defaultPropertiesToUpdate)}}getId(){return h(gi,this).id}get currentLayer(){return h(Xe,this).get(h(ti,this))}getLayer(t){return h(Xe,this).get(t)}get currentPageIndex(){return h(ti,this)}addLayer(t){h(Xe,this).set(t.pageIndex,t),h(fi,this)?t.enable():t.disable()}removeLayer(t){h(Xe,this).delete(t.pageIndex)}async updateMode(t){var e;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(h(Ai,this)!==t&&(!h(Ii,this)||(await h(Ii,this).promise,h(Ii,this)))){var s,a;if(d(Ii,this,Promise.withResolvers()),null===(e=h($e,this))||void 0===e||e.commitOrRemove(),d(Ai,this,t),t===z.NONE)return this.setEditingState(!1),l(Li,this,Zi).call(this),null===(s=this._editorUndoBar)||void 0===s||s.hide(),void h(Ii,this).resolve();if(t===z.SIGNATURE)await(null===(a=h(Si,this))||void 0===a?void 0:a.loadSignatures());this.setEditingState(!0),await l(Li,this,Ji).call(this),this.unselectAll();for(const e of h(Xe,this).values())e.updateMode(t);if(!i)return n&&this.addNewEditorFromKeyboard(),void h(Ii,this).resolve();for(const t of h(qe,this).values())t.annotationElementId===i||t.id===i?(this.setSelected(t),t.enterInEditMode()):t.unselect();h(Ii,this).resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(t){t.mode!==h(Ai,this)&&this._eventBus.dispatch("switchannotationeditormode",(0,s.A)({source:this},t))}updateParams(t,e){var i;if(h(ni,this)){switch(t){case H.CREATE:return void this.currentLayer.addNewEditor(e);case H.HIGHLIGHT_DEFAULT_COLOR:null===(i=h(wi,this))||void 0===i||i.updateColor(e);break;case H.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(h(Mi,this)||d(Mi,this,new Map)).set(t,e),this.showAllEditors("highlight",e)}for(const i of h(_i,this))i.updateParams(t,e);for(const i of h(ni,this))i.updateDefaultParams(t,e)}}showAllEditors(t,e){var i,n;for(const s of h(qe,this).values())s.editorType===t&&s.show(e);(null===(i=null===(n=h(Mi,this))||void 0===n?void 0:n.get(H.HIGHLIGHT_SHOW_ALL))||void 0===i||i)!==e&&l(Li,this,Qi).call(this,[[H.HIGHLIGHT_SHOW_ALL,e]])}enableWaiting(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(h(mi,this)!==t){d(mi,this,t);for(const e of h(Xe,this).values())t?e.disableClick():e.enableClick(),e.div.classList.toggle("waiting",t)}}getEditors(t){const e=[];for(const i of h(qe,this).values())i.pageIndex===t&&e.push(i);return e}getEditor(t){return h(qe,this).get(t)}addEditor(t){h(qe,this).set(t.id,t)}removeEditor(t){var e,i;(t.div.contains(document.activeElement)&&(h(ci,this)&&clearTimeout(h(ci,this)),d(ci,this,setTimeout(()=>{this.focusMainContainer(),d(ci,this,null)},0))),h(qe,this).delete(t.id),t.annotationElementId)&&(null===(e=h(xi,this))||void 0===e||e.delete(t.annotationElementId));(this.unselect(t),t.annotationElementId&&h(ei,this).has(t.annotationElementId))||(null===(i=h(Ye,this))||void 0===i||i.remove(t.id))}addDeletedAnnotationElement(t){h(ei,this).add(t.annotationElementId),this.addChangedExistingAnnotation(t),t.deleted=!0}isDeletedAnnotationElement(t){return h(ei,this).has(t)}removeDeletedAnnotationElement(t){h(ei,this).delete(t.annotationElementId),this.removeChangedExistingAnnotation(t),t.deleted=!1}setActiveEditor(t){h(Ve,this)!==t&&(d(Ve,this,t),t&&l(Li,this,Qi).call(this,t.propertiesToUpdate))}updateUI(t){c(Li,this,tn)===t&&l(Li,this,Qi).call(this,t.propertiesToUpdate)}updateUIForDefaultProperties(t){l(Li,this,Qi).call(this,t.defaultPropertiesToUpdate)}toggleSelected(t){if(h(_i,this).has(t))return h(_i,this).delete(t),t.unselect(),void l(Li,this,Yi).call(this,{hasSelectedEditor:this.hasSelection});h(_i,this).add(t),t.select(),l(Li,this,Qi).call(this,t.propertiesToUpdate),l(Li,this,Yi).call(this,{hasSelectedEditor:!0})}setSelected(t){var e;null===(e=h($e,this))||void 0===e||e.commitOrRemove();for(const i of h(_i,this))i!==t&&i.unselect();h(_i,this).clear(),h(_i,this).add(t),t.select(),l(Li,this,Qi).call(this,t.propertiesToUpdate),l(Li,this,Yi).call(this,{hasSelectedEditor:!0})}isSelected(t){return h(_i,this).has(t)}get firstSelectedEditor(){return h(_i,this).values().next().value}unselect(t){t.unselect(),h(_i,this).delete(t),l(Li,this,Yi).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==h(_i,this).size}get isEnterHandled(){return 1===h(_i,this).size&&this.firstSelectedEditor.isEnterHandled}undo(){var t;h(Je,this).undo(),l(Li,this,Yi).call(this,{hasSomethingToUndo:h(Je,this).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:l(Li,this,en).call(this)}),null===(t=this._editorUndoBar)||void 0===t||t.hide()}redo(){h(Je,this).redo(),l(Li,this,Yi).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:h(Je,this).hasSomethingToRedo(),isEmpty:l(Li,this,en).call(this)})}addCommands(t){h(Je,this).add(t),l(Li,this,Yi).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:l(Li,this,en).call(this)})}cleanUndoStack(t){h(Je,this).cleanType(t)}delete(){var t;this.commitOrRemove();const e=null===(t=this.currentLayer)||void 0===t?void 0:t.endDrawingSession(!0);if(!this.hasSelection&&!e)return;const i=e?[e]:[...h(_i,this)],n=()=>{for(const t of i)l(Li,this,$i).call(this,t)};this.addCommands({cmd:()=>{var t;null===(t=this._editorUndoBar)||void 0===t||t.show(n,1===i.length?i[0].editorType:i.length);for(const e of i)e.remove()},undo:n,mustExec:!0})}commitOrRemove(){var t;null===(t=h(Ve,this))||void 0===t||t.commitOrRemove()}hasSomethingToControl(){return h(Ve,this)||this.hasSelection}selectAll(){for(const t of h(_i,this))t.commit();l(Li,this,nn).call(this,h(qe,this).values())}unselectAll(){var t;if((!h(Ve,this)||(h(Ve,this).commitOrRemove(),h(Ai,this)===z.NONE))&&(null===(t=h($e,this))||void 0===t||!t.commitOrRemove())&&this.hasSelection){for(const t of h(_i,this))t.unselect();h(_i,this).clear(),l(Li,this,Yi).call(this,{hasSelectedEditor:!1})}}translateSelectedEditors(t,e){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]||this.commitOrRemove(),!this.hasSelection)return;h(Ri,this)[0]+=t,h(Ri,this)[1]+=e;const[i,n]=h(Ri,this),s=[...h(_i,this)];h(Ti,this)&&clearTimeout(h(Ti,this)),d(Ti,this,setTimeout(()=>{d(Ti,this,null),h(Ri,this)[0]=h(Ri,this)[1]=0,this.addCommands({cmd:()=>{for(const t of s)h(qe,this).has(t.id)&&(t.translateInPage(i,n),t.translationDone())},undo:()=>{for(const t of s)h(qe,this).has(t.id)&&(t.translateInPage(-i,-n),t.translationDone())},mustExec:!1})},1e3));for(const a of s)a.translateInPage(t,e),a.translationDone()}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),d(ii,this,new Map);for(const t of h(_i,this))h(ii,this).set(t,{savedX:t.x,savedY:t.y,savedPageIndex:t.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!h(ii,this))return!1;this.disableUserSelect(!1);const t=h(ii,this);d(ii,this,null);let e=!1;for(const[{x:n,y:s,pageIndex:a},r]of t)r.newX=n,r.newY=s,r.newPageIndex=a,e||(e=n!==r.savedX||s!==r.savedY||a!==r.savedPageIndex);if(!e)return!1;const i=(t,e,i,n)=>{if(h(qe,this).has(t.id)){const s=h(Xe,this).get(n);s?t._setParentAndPosition(s,e,i):(t.pageIndex=n,t.x=e,t.y=i)}};return this.addCommands({cmd:()=>{for(const[e,{newX:n,newY:s,newPageIndex:a}]of t)i(e,n,s,a)},undo:()=>{for(const[e,{savedX:n,savedY:s,savedPageIndex:a}]of t)i(e,n,s,a)},mustExec:!0}),!0}dragSelectedEditors(t,e){if(h(ii,this))for(const i of h(ii,this).keys())i.drag(t,e)}rebuild(t){if(null===t.parent){const e=this.getLayer(t.pageIndex);e?(e.changeParent(t),e.addOrRebuild(t)):(this.addEditor(t),this.addToAnnotationStorage(t),t.rebuild())}else t.parent.addOrRebuild(t)}get isEditorHandlingKeyboard(){var t;return(null===(t=this.getActive())||void 0===t?void 0:t.shouldGetKeyboardEvents())||1===h(_i,this).size&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(t){return h(Ve,this)===t}getActive(){return h(Ve,this)}getMode(){return h(Ai,this)}get imageManager(){return vt(this,"imageManager",new Ie)}getSelectionBoxes(t){if(!t)return null;const e=document.getSelection();for(let l=0,c=e.rangeCount;l({x:(e-n)/a,y:1-(t+r-i)/s,width:o/a,height:r/s});break;case"180":r=(t,e,r,o)=>({x:1-(t+r-i)/s,y:1-(e+o-n)/a,width:r/s,height:o/a});break;case"270":r=(t,e,r,o)=>({x:1-(e+o-n)/a,y:(t-i)/s,width:o/a,height:r/s});break;default:r=(t,e,r,o)=>({x:(t-i)/s,y:(e-n)/a,width:r/s,height:o/a})}const o=[];for(let l=0,c=e.rangeCount;l{"pointerup"===i.type&&0!==i.button||(e.abort(),null===t||void 0===t||t.toggleDrawing(!0),"pointerup"===i.type&&l(Li,this,Bi).call(this,"main_toolbar"))};window.addEventListener("pointerup",n,{signal:i}),window.addEventListener("blur",n,{signal:i})}}else h(ki,this)&&(null===(a=h(pi,this))||void 0===a||a.hide(),d(ki,this,null),l(Li,this,Yi).call(this,{hasSelectedText:!1}))}function Bi(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";h(Ai,this)===z.HIGHLIGHT?this.highlightSelection(t):h(ai,this)&&l(Li,this,Wi).call(this)}function zi(){document.addEventListener("selectionchange",l(Li,this,ji).bind(this),{signal:this._signal})}function Hi(){if(h(hi,this))return;d(hi,this,new AbortController);const t=this.combinedSignal(h(hi,this));window.addEventListener("focus",this.focus.bind(this),{signal:t}),window.addEventListener("blur",this.blur.bind(this),{signal:t})}function Gi(){var t;null===(t=h(hi,this))||void 0===t||t.abort(),d(hi,this,null)}function Ui(){if(h(vi,this))return;d(vi,this,new AbortController);const t=this.combinedSignal(h(vi,this));window.addEventListener("keydown",this.keydown.bind(this),{signal:t}),window.addEventListener("keyup",this.keyup.bind(this),{signal:t})}function Vi(){var t;null===(t=h(vi,this))||void 0===t||t.abort(),d(vi,this,null)}function qi(){if(h(Ze,this))return;d(Ze,this,new AbortController);const t=this.combinedSignal(h(Ze,this));document.addEventListener("copy",this.copy.bind(this),{signal:t}),document.addEventListener("cut",this.cut.bind(this),{signal:t}),document.addEventListener("paste",this.paste.bind(this),{signal:t})}function Xi(){var t;null===(t=h(Ze,this))||void 0===t||t.abort(),d(Ze,this,null)}function Ki(){const t=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:t}),document.addEventListener("drop",this.drop.bind(this),{signal:t})}function Yi(t){Object.entries(t).some(t=>{let[e,i]=t;return h(Ci,this)[e]!==i})&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(h(Ci,this),t)}),h(Ai,this)===z.HIGHLIGHT&&!1===t.hasSelectedEditor&&l(Li,this,Qi).call(this,[[H.HIGHLIGHT_FREE,!0]]))}function Qi(t){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:t})}async function Ji(){if(!h(fi,this)){d(fi,this,!0);const t=[];for(const e of h(Xe,this).values())t.push(e.enable());await Promise.all(t);for(const e of h(qe,this).values())e.enable()}}function Zi(){if(this.unselectAll(),h(fi,this)){d(fi,this,!1);for(const t of h(Xe,this).values())t.disable();for(const t of h(qe,this).values())t.disable()}}function $i(t){const e=h(Xe,this).get(t.pageIndex);e?e.addOrRebuild(t):(this.addEditor(t),this.addToAnnotationStorage(t))}function tn(t){let e=null;for(e of h(_i,t));return e}function en(){if(0===h(qe,this).size)return!0;if(1===h(qe,this).size)for(const t of h(qe,this).values())return t.isEmpty();return!1}function nn(t){for(const e of h(_i,this))e.unselect();h(_i,this).clear();for(const e of t)e.isEmpty()||(h(_i,this).add(e),e.select());l(Li,this,Yi).call(this,{hasSelectedEditor:this.hasSelection})}(0,M.A)(Fi,"TRANSLATE_SMALL",1),(0,M.A)(Fi,"TRANSLATE_BIG",10);var sn=new WeakMap,an=new WeakMap,rn=new WeakMap,on=new WeakMap,ln=new WeakMap,cn=new WeakMap,hn=new WeakMap,dn=new WeakMap,un=new WeakMap,pn=new WeakMap,gn=new WeakMap,fn=new WeakMap,mn=new WeakSet;class vn{constructor(t){r(this,mn),o(this,sn,null),o(this,an,!1),o(this,rn,null),o(this,on,null),o(this,ln,null),o(this,cn,null),o(this,hn,!1),o(this,dn,null),o(this,un,null),o(this,pn,null),o(this,gn,null),o(this,fn,!1),d(un,this,t),d(fn,this,t._uiManager.useNewAltTextFlow),xn._||(xn._=Object.freeze({added:"pdfjs-editor-new-alt-text-added-button","added-label":"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button","missing-label":"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button","review-label":"pdfjs-editor-new-alt-text-to-review-button-label"}))}static initialize(t){var e;null!==(e=vn._l10n)&&void 0!==e||(vn._l10n=t)}async render(){const t=d(rn,this,document.createElement("button"));t.className="altText",t.tabIndex="0";const e=d(on,this,document.createElement("span"));t.append(e),h(fn,this)?(t.classList.add("new"),t.setAttribute("data-l10n-id",xn._.missing),e.setAttribute("data-l10n-id",xn._["missing-label"])):(t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),e.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));const i=h(un,this)._uiManager._signal;t.addEventListener("contextmenu",Xt,{signal:i}),t.addEventListener("pointerdown",t=>t.stopPropagation(),{signal:i});const n=t=>{t.preventDefault(),h(un,this)._uiManager.editAltText(h(un,this)),h(fn,this)&&h(un,this)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:c(mn,this,bn)}})};return t.addEventListener("click",n,{capture:!0,signal:i}),t.addEventListener("keydown",e=>{e.target===t&&"Enter"===e.key&&(d(hn,this,!0),n(e))},{signal:i}),await l(mn,this,wn).call(this),t}finish(){h(rn,this)&&(h(rn,this).focus({focusVisible:h(hn,this)}),d(hn,this,!1))}isEmpty(){return h(fn,this)?null===h(sn,this):!h(sn,this)&&!h(an,this)}hasData(){return h(fn,this)?null!==h(sn,this)||!!h(pn,this):this.isEmpty()}get guessedText(){return h(pn,this)}async setGuessedText(t){null===h(sn,this)&&(d(pn,this,t),d(gn,this,await vn._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:t})),l(mn,this,wn).call(this))}toggleAltTextBadge(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e;if(!h(fn,this)||h(sn,this))return null===(e=h(dn,this))||void 0===e||e.remove(),void d(dn,this,null);if(!h(dn,this)){const t=d(dn,this,document.createElement("div"));t.className="noAltTextBadge",h(un,this).div.append(t)}h(dn,this).classList.toggle("hidden",!t)}serialize(t){let e=h(sn,this);return t||h(pn,this)!==e||(e=h(gn,this)),{altText:e,decorative:h(an,this),guessedText:h(pn,this),textWithDisclaimer:h(gn,this)}}get data(){return{altText:h(sn,this),decorative:h(an,this)}}set data(t){let{altText:e,decorative:i,guessedText:n,textWithDisclaimer:s,cancel:a=!1}=t;n&&(d(pn,this,n),d(gn,this,s)),h(sn,this)===e&&h(an,this)===i||(a||(d(sn,this,e),d(an,this,i)),l(mn,this,wn).call(this))}toggle(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];h(rn,this)&&(!t&&h(cn,this)&&(clearTimeout(h(cn,this)),d(cn,this,null)),h(rn,this).disabled=!t)}shown(){h(un,this)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:c(mn,this,bn)}})}destroy(){var t,e;null===(t=h(rn,this))||void 0===t||t.remove(),d(rn,this,null),d(on,this,null),d(ln,this,null),null===(e=h(dn,this))||void 0===e||e.remove(),d(dn,this,null)}}function bn(t){return(h(sn,t)?"added":null===h(sn,t)&&t.guessedText&&"review")||"missing"}async function wn(){const t=h(rn,this);if(!t)return;if(h(fn,this)){var e,i;if(t.classList.toggle("done",!!h(sn,this)),t.setAttribute("data-l10n-id",xn._[c(mn,this,bn)]),null===(e=h(on,this))||void 0===e||e.setAttribute("data-l10n-id",xn._["".concat(c(mn,this,bn),"-label")]),!h(sn,this))return void(null===(i=h(ln,this))||void 0===i||i.remove())}else{var n;if(!h(sn,this)&&!h(an,this))return t.classList.remove("done"),void(null===(n=h(ln,this))||void 0===n||n.remove());t.classList.add("done"),t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let s=h(ln,this);if(!s){d(ln,this,s=document.createElement("span")),s.className="tooltip",s.setAttribute("role","tooltip"),s.id="alt-text-tooltip-".concat(h(un,this).id);const e=100,i=h(un,this)._uiManager._signal;i.addEventListener("abort",()=>{clearTimeout(h(cn,this)),d(cn,this,null)},{once:!0}),t.addEventListener("mouseenter",()=>{d(cn,this,setTimeout(()=>{d(cn,this,null),h(ln,this).classList.add("show"),h(un,this)._reportTelemetry({action:"alt_text_tooltip"})},e))},{signal:i}),t.addEventListener("mouseleave",()=>{var t;h(cn,this)&&(clearTimeout(h(cn,this)),d(cn,this,null)),null===(t=h(ln,this))||void 0===t||t.classList.remove("show")},{signal:i})}h(an,this)?s.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(s.removeAttribute("data-l10n-id"),s.textContent=h(sn,this)),s.parentNode||t.append(s);const a=h(un,this).getElementForAltText();null===a||void 0===a||a.setAttribute("aria-describedby",s.id)}var xn={_:null};(0,M.A)(vn,"_l10n",null);var yn=new WeakMap,An=new WeakMap,_n=new WeakMap,kn=new WeakMap,Sn=new WeakMap,En=new WeakMap,Mn=new WeakMap,Cn=new WeakMap,Rn=new WeakMap,Tn=new WeakMap,Pn=new WeakMap,Dn=new WeakMap,In=new WeakSet;class Ln{constructor(t){let{container:e,isPinchingDisabled:i=null,isPinchingStopped:n=null,onPinchStart:s=null,onPinching:a=null,onPinchEnd:c=null,signal:u}=t;r(this,In),o(this,yn,void 0),o(this,An,!1),o(this,_n,null),o(this,kn,void 0),o(this,Sn,void 0),o(this,En,void 0),o(this,Mn,void 0),o(this,Cn,null),o(this,Rn,void 0),o(this,Tn,null),o(this,Pn,void 0),o(this,Dn,null),d(yn,this,e),d(_n,this,n),d(kn,this,i),d(Sn,this,s),d(En,this,a),d(Mn,this,c),d(Pn,this,new AbortController),d(Rn,this,AbortSignal.any([u,h(Pn,this).signal])),e.addEventListener("touchstart",l(In,this,Fn).bind(this),{passive:!1,signal:h(Rn,this)})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return 35/ee.pixelRatio}destroy(){var t,e;null===(t=h(Pn,this))||void 0===t||t.abort(),d(Pn,this,null),null===(e=h(Cn,this))||void 0===e||e.abort(),d(Cn,this,null)}}function Fn(t){var e,i;if(null!==(e=h(kn,this))&&void 0!==e&&e.call(this))return;if(1===t.touches.length){if(h(Cn,this))return;const t=d(Cn,this,new AbortController),e=AbortSignal.any([h(Rn,this),t.signal]),i=h(yn,this),n={capture:!0,signal:e,passive:!1},s=t=>{var e;"touch"===t.pointerType&&(null===(e=h(Cn,this))||void 0===e||e.abort(),d(Cn,this,null))};return i.addEventListener("pointerdown",t=>{"touch"===t.pointerType&&(Kt(t),s(t))},n),i.addEventListener("pointerup",s,n),void i.addEventListener("pointercancel",s,n)}if(!h(Dn,this)){var n;d(Dn,this,new AbortController);const t=AbortSignal.any([h(Rn,this),h(Dn,this).signal]),e=h(yn,this),i={signal:t,capture:!1,passive:!1};e.addEventListener("touchmove",l(In,this,On).bind(this),i);const s=l(In,this,Nn).bind(this);e.addEventListener("touchend",s,i),e.addEventListener("touchcancel",s,i),i.capture=!0,e.addEventListener("pointerdown",Kt,i),e.addEventListener("pointermove",Kt,i),e.addEventListener("pointercancel",Kt,i),e.addEventListener("pointerup",Kt,i),null===(n=h(Sn,this))||void 0===n||n.call(this)}if(Kt(t),2!==t.touches.length||null!==(i=h(_n,this))&&void 0!==i&&i.call(this))return void d(Tn,this,null);let[s,a]=t.touches;s.identifier>a.identifier&&([s,a]=[a,s]),d(Tn,this,{touch0X:s.screenX,touch0Y:s.screenY,touch1X:a.screenX,touch1Y:a.screenY})}function On(t){var e;if(!h(Tn,this)||2!==t.touches.length)return;Kt(t);let[i,n]=t.touches;i.identifier>n.identifier&&([i,n]=[n,i]);const{screenX:s,screenY:a}=i,{screenX:r,screenY:o}=n,l=h(Tn,this),{touch0X:c,touch0Y:u,touch1X:p,touch1Y:g}=l,m=p-c,v=g-u,b=r-s,w=o-a,x=Math.hypot(b,w)||1,y=Math.hypot(m,v)||1;if(!h(An,this)&&Math.abs(y-x)<=f.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(l.touch0X=s,l.touch0Y=a,l.touch1X=r,l.touch1Y=o,!h(An,this))return void d(An,this,!0);const A=[(s+r)/2,(a+o)/2];null===(e=h(En,this))||void 0===e||e.call(this,A,y,x)}function Nn(t){if(!(t.touches.length>=2)){var e;if(h(Dn,this))h(Dn,this).abort(),d(Dn,this,null),null===(e=h(Mn,this))||void 0===e||e.call(this);h(Tn,this)&&(Kt(t),d(Tn,this,null),d(An,this,!1))}}f=Ln;var Wn=new WeakMap,jn=new WeakMap,Bn=new WeakMap,zn=new WeakMap,Hn=new WeakMap,Gn=new WeakMap,Un=new WeakMap,Vn=new WeakMap,qn=new WeakMap,Xn=new WeakMap,Kn=new WeakMap,Yn=new WeakMap,Qn=new WeakMap,Jn=new WeakMap,Zn=new WeakMap,$n=new WeakMap,ts=new WeakMap,es=new WeakMap,is=new WeakMap,ns=new WeakMap,ss=new WeakMap,as=new WeakMap,rs=new WeakMap,os=new WeakMap,ls=new WeakSet;class cs{static get _resizerKeyboardManager(){const t=cs.prototype._resizeWithKeyboard,e=Fi.TRANSLATE_SMALL,i=Fi.TRANSLATE_BIG;return vt(this,"_resizerKeyboardManager",new ze([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-e,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-i,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[e,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[i,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-e]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-i]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,e]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,i]}],[["Escape","mac+Escape"],cs.prototype._stopResizingWithKeyboard]]))}constructor(t){r(this,ls),o(this,Wn,null),o(this,jn,null),o(this,Bn,null),o(this,zn,!1),o(this,Hn,null),o(this,Gn,""),o(this,Un,!1),o(this,Vn,null),o(this,qn,null),o(this,Xn,null),o(this,Kn,null),o(this,Yn,""),o(this,Qn,!1),o(this,Jn,null),o(this,Zn,!1),o(this,$n,!1),o(this,ts,!1),o(this,es,null),o(this,is,0),o(this,ns,0),o(this,ss,null),o(this,as,null),(0,M.A)(this,"isSelected",!1),(0,M.A)(this,"_isCopy",!1),(0,M.A)(this,"_editToolbar",null),(0,M.A)(this,"_initialOptions",Object.create(null)),(0,M.A)(this,"_initialData",null),(0,M.A)(this,"_isVisible",!0),(0,M.A)(this,"_uiManager",null),(0,M.A)(this,"_focusEventsAllowed",!0),o(this,rs,!1),o(this,os,cs._zIndex++),this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null;const{rotation:e,rawDims:{pageWidth:i,pageHeight:n,pageX:s,pageY:a}}=this.parent.viewport;this.rotation=e,this.pageRotation=(360+e-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[i,n],this.pageTranslation=[s,a];const[l,c]=this.parentDimensions;this.x=t.x/l,this.y=t.y/c,this.isAttachedToDOM=!1,this.deleted=!1}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get isDrawer(){return!1}static get _defaultLineColor(){return vt(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(t){const e=new Rs({id:t.parent.getNextId(),parent:t.parent,uiManager:t._uiManager});e.annotationElementId=t.annotationElementId,e.deleted=!0,e._uiManager.addToAnnotationStorage(e)}static initialize(t,e){var i;if(null!==(i=cs._l10n)&&void 0!==i||(cs._l10n=t),cs._l10nResizer||(cs._l10nResizer=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"})),-1!==cs._borderLineWidth)return;const n=getComputedStyle(document.documentElement);cs._borderLineWidth=parseFloat(n.getPropertyValue("--outline-width"))||0}static updateDefaultParams(t,e){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(t){return!1}static paste(t,e){pt("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return h(rs,this)}set _isDraggable(t){var e;d(rs,this,t),null===(e=this.div)||void 0===e||e.classList.toggle("draggable",t)}get isEnterHandled(){return!0}center(){const[t,e]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*e/(2*t),this.y+=this.width*t/(2*e);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*e/(2*t),this.y-=this.width*t/(2*e);break;default:this.x-=this.width/2,this.y-=this.height/2}this.fixAndSetPosition()}addCommands(t){this._uiManager.addCommands(t)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=h(os,this)}setParent(t){null!==t?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):l(ls,this,Cs).call(this),this.parent=t}focusin(t){this._focusEventsAllowed&&(h(Qn,this)?d(Qn,this,!1):this.parent.setSelected(this))}focusout(t){var e;if(!this._focusEventsAllowed)return;if(!this.isAttachedToDOM)return;const i=t.relatedTarget;null!==i&&void 0!==i&&i.closest("#".concat(this.id))||(t.preventDefault(),null!==(e=this.parent)&&void 0!==e&&e.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(t,e,i,n){const[s,a]=this.parentDimensions;[i,n]=this.screenToPageTranslation(i,n),this.x=(t+i)/s,this.y=(e+n)/a,this.fixAndSetPosition()}_moveAfterPaste(t,e){const[i,n]=this.parentDimensions;this.setAt(t*i,e*n,this.width*i,this.height*n),this._onTranslated()}translate(t,e){l(ls,this,hs).call(this,this.parentDimensions,t,e)}translateInPage(t,e){h(Jn,this)||d(Jn,this,[this.x,this.y,this.width,this.height]),l(ls,this,hs).call(this,this.pageDimensions,t,e),this.div.scrollIntoView({block:"nearest"})}translationDone(){this._onTranslated(this.x,this.y)}drag(t,e){h(Jn,this)||d(Jn,this,[this.x,this.y,this.width,this.height]);const{div:i,parentDimensions:[n,s]}=this;if(this.x+=t/n,this.y+=e/s,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:t,y:e}=this.div.getBoundingClientRect();this.parent.findNewParent(this,t,e)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:a,y:r}=this;const[o,l]=this.getBaseTranslation();a+=o,r+=l;const{style:c}=i;c.left="".concat((100*a).toFixed(2),"%"),c.top="".concat((100*r).toFixed(2),"%"),this._onTranslating(a,r),i.scrollIntoView({block:"nearest"})}_onTranslating(t,e){}_onTranslated(t,e){}get _hasBeenMoved(){return!!h(Jn,this)&&(h(Jn,this)[0]!==this.x||h(Jn,this)[1]!==this.y)}get _hasBeenResized(){return!!h(Jn,this)&&(h(Jn,this)[2]!==this.width||h(Jn,this)[3]!==this.height)}getBaseTranslation(){const[t,e]=this.parentDimensions,{_borderLineWidth:i}=cs,n=i/t,s=i/e;switch(this.rotation){case 90:return[-n,s];case 180:return[n,s];case 270:return[n,-s];default:return[-n,-s]}}get _mustFixPosition(){return!0}fixAndSetPosition(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.rotation;const{div:{style:e},pageDimensions:[i,n]}=this;let{x:s,y:a,width:r,height:o}=this;if(r*=i,o*=n,s*=i,a*=n,this._mustFixPosition)switch(t){case 0:s=Ot(s,0,i-r),a=Ot(a,0,n-o);break;case 90:s=Ot(s,0,i-o),a=Ot(a,r,n);break;case 180:s=Ot(s,r,i),a=Ot(a,o,n);break;case 270:s=Ot(s,o,i),a=Ot(a,0,n-r)}this.x=s/=i,this.y=a/=n;const[l,c]=this.getBaseTranslation();s+=l,a+=c,e.left="".concat((100*s).toFixed(2),"%"),e.top="".concat((100*a).toFixed(2),"%"),this.moveInDOM()}screenToPageTranslation(t,e){return ds.call(cs,t,e,this.parentRotation)}pageTranslationToScreen(t,e){return ds.call(cs,t,e,360-this.parentRotation)}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:t,pageDimensions:[e,i]}=this;return[e*t,i*t]}setDims(t,e){const[i,n]=this.parentDimensions,{style:s}=this.div;s.width="".concat((100*t/i).toFixed(2),"%"),h(Un,this)||(s.height="".concat((100*e/n).toFixed(2),"%"))}fixDims(){const{style:t}=this.div,{height:e,width:i}=t,n=i.endsWith("%"),s=!h(Un,this)&&e.endsWith("%");if(n&&s)return;const[a,r]=this.parentDimensions;n||(t.width="".concat((100*parseFloat(i)/a).toFixed(2),"%")),h(Un,this)||s||(t.height="".concat((100*parseFloat(e)/r).toFixed(2),"%"))}getInitialTranslation(){return[0,0]}_onResized(){}static _round(t){return Math.round(1e4*t)/1e4}_onResizing(){}altTextFinish(){var t;null===(t=h(Bn,this))||void 0===t||t.finish()}async addEditToolbar(){return this._editToolbar||h($n,this)||(this._editToolbar=new he(this),this.div.append(this._editToolbar.render()),h(Bn,this)&&await this._editToolbar.addAltText(h(Bn,this))),this._editToolbar}removeEditToolbar(){var t;this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,null===(t=h(Bn,this))||void 0===t||t.destroy())}addContainer(t){var e;const i=null===(e=this._editToolbar)||void 0===e?void 0:e.div;i?i.before(t):this.div.append(t)}getClientDimensions(){return this.div.getBoundingClientRect()}async addAltTextButton(){h(Bn,this)||(vn.initialize(cs._l10n),d(Bn,this,new vn(this)),h(Wn,this)&&(h(Bn,this).data=h(Wn,this),d(Wn,this,null)),await this.addEditToolbar())}get altTextData(){var t;return null===(t=h(Bn,this))||void 0===t?void 0:t.data}set altTextData(t){h(Bn,this)&&(h(Bn,this).data=t)}get guessedAltText(){var t;return null===(t=h(Bn,this))||void 0===t?void 0:t.guessedText}async setGuessedAltText(t){var e;await(null===(e=h(Bn,this))||void 0===e?void 0:e.setGuessedText(t))}serializeAltText(t){var e;return null===(e=h(Bn,this))||void 0===e?void 0:e.serialize(t)}hasAltText(){return!!h(Bn,this)&&!h(Bn,this).isEmpty()}hasAltTextData(){var t,e;return null!==(t=null===(e=h(Bn,this))||void 0===e?void 0:e.hasData())&&void 0!==t&&t}render(){var t;const e=this.div=document.createElement("div");e.setAttribute("data-editor-rotation",(360-this.rotation)%360),e.className=this.name,e.setAttribute("id",this.id),e.tabIndex=h(zn,this)?-1:0,e.setAttribute("role","application"),this.defaultL10nId&&e.setAttribute("data-l10n-id",this.defaultL10nId),this._isVisible||e.classList.add("hidden"),this.setInForeground(),l(ls,this,_s).call(this);const[i,n]=this.parentDimensions;this.parentRotation%180!==0&&(e.style.maxWidth="".concat((100*n/i).toFixed(2),"%"),e.style.maxHeight="".concat((100*i/n).toFixed(2),"%"));const[s,a]=this.getInitialTranslation();return this.translate(s,a),Ee(this,e,["keydown","pointerdown","dblclick"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(h(as,this)||d(as,this,new Ln({container:e,isPinchingDisabled:()=>!this.isSelected,onPinchStart:l(ls,this,bs).bind(this),onPinching:l(ls,this,ws).bind(this),onPinchEnd:l(ls,this,xs).bind(this),signal:this._uiManager._signal}))),null===(t=this._uiManager._editorUndoBar)||void 0===t||t.hide(),e}pointerdown(t){const{isMac:e}=Mt.platform;0!==t.button||t.ctrlKey&&e?t.preventDefault():(d(Qn,this,!0),this._isDraggable?l(ls,this,As).call(this,t):l(ls,this,ys).call(this,t))}_onStartDragging(){}_onStopDragging(){}moveInDOM(){h(es,this)&&clearTimeout(h(es,this)),d(es,this,setTimeout(()=>{var t;d(es,this,null),null===(t=this.parent)||void 0===t||t.moveEditorInDOM(this)},0))}_setParentAndPosition(t,e,i){t.changeParent(this),this.x=e,this.y=i,this.fixAndSetPosition(),this._onTranslated()}getRect(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.rotation;const n=this.parentScale,[s,a]=this.pageDimensions,[r,o]=this.pageTranslation,l=t/n,c=e/n,h=this.x*s,d=this.y*a,u=this.width*s,p=this.height*a;switch(i){case 0:return[h+l+r,a-d-c-p+o,h+l+u+r,a-d-c+o];case 90:return[h+c+r,a-d+l+o,h+c+p+r,a-d+l+u+o];case 180:return[h-l-u+r,a-d+c+o,h-l+r,a-d+c+p+o];case 270:return[h-c-p+r,a-d-l-u+o,h-c+r,a-d-l+o];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,e){const[i,n,s,a]=t,r=s-i,o=a-n;switch(this.rotation){case 0:return[i,e-a,r,o];case 90:return[i,e-n,o,r];case 180:return[s,e-n,r,o];case 270:return[s,e-a,o,r];default:throw new Error("Invalid rotation")}}onceAdded(t){}isEmpty(){return!1}enableEditMode(){return!this.isInEditMode()&&(this.parent.setEditingState(!1),d($n,this,!0),!0)}disableEditMode(){return!!this.isInEditMode()&&(this.parent.setEditingState(!0),d($n,this,!1),!0)}isInEditMode(){return h($n,this)}shouldGetKeyboardEvents(){return h(ts,this)}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){const{top:t,left:e,bottom:i,right:n}=this.getClientDimensions(),{innerHeight:s,innerWidth:a}=window;return e0&&t0}rebuild(){l(ls,this,_s).call(this)}rotate(t){}resize(){}serializeDeleted(){var t;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:(null===(t=this._initialData)||void 0===t?void 0:t.popupRef)||""}}serialize(){pt("An editor must be serializable")}static async deserialize(t,e,i){const n=new this.prototype.constructor({parent:e,id:e.getNextId(),uiManager:i});n.rotation=t.rotation,d(Wn,n,t.accessibilityData),n._isCopy=t.isCopy||!1;const[s,a]=n.pageDimensions,[r,o,l,c]=n.getRectInCurrentCoords(t.rect,a);return n.x=r/s,n.y=o/a,n.width=l/s,n.height=c/a,n}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||null!==this.serialize())}remove(){var t,e;if(null===(t=h(Kn,this))||void 0===t||t.abort(),d(Kn,this,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),h(es,this)&&(clearTimeout(h(es,this)),d(es,this,null)),l(ls,this,Cs).call(this),this.removeEditToolbar(),h(ss,this)){for(const t of h(ss,this).values())clearTimeout(t);d(ss,this,null)}this.parent=null,null===(e=h(as,this))||void 0===e||e.destroy(),d(as,this,null)}get isResizable(){return!1}makeResizable(){this.isResizable&&(l(ls,this,ps).call(this),h(Vn,this).classList.remove("hidden"))}get toolbarPosition(){return null}keydown(t){if(!this.isResizable||t.target!==this.div||"Enter"!==t.key)return;this._uiManager.setSelected(this),d(Xn,this,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const e=h(Vn,this).children;if(!h(jn,this)){d(jn,this,Array.from(e));const t=l(ls,this,ks).bind(this),i=l(ls,this,Ss).bind(this),n=this._uiManager._signal;for(const e of h(jn,this)){const s=e.getAttribute("data-resizer-name");e.setAttribute("role","spinbutton"),e.addEventListener("keydown",t,{signal:n}),e.addEventListener("blur",i,{signal:n}),e.addEventListener("focus",l(ls,this,Es).bind(this,s),{signal:n}),e.setAttribute("data-l10n-id",cs._l10nResizer[s])}}const i=h(jn,this)[0];let n=0;for(const a of e){if(a===i)break;n++}const s=(360-this.rotation+this.parentRotation)%360/90*(h(jn,this).length/4);if(s!==n){if(sn)for(let e=0;e{var t,e;null!==(t=this.div)&&void 0!==t&&t.classList.contains("selectedEditor")&&(null===(e=this._editToolbar)||void 0===e||e.show())}))}unselect(){var t,e,i,n,s;this.isSelected&&(this.isSelected=!1,null===(t=h(Vn,this))||void 0===t||t.classList.add("hidden"),null===(e=this.div)||void 0===e||e.classList.remove("selectedEditor"),null!==(i=this.div)&&void 0!==i&&i.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),null===(n=this._editToolbar)||void 0===n||n.hide(),null===(s=h(Bn,this))||void 0===s||s.toggleAltTextBadge(!0))}updateParams(t,e){}disableEditing(){}enableEditing(){}get canChangeContent(){return!1}enterInEditMode(){this.canChangeContent&&(this.enableEditMode(),this.div.focus())}dblclick(t){this.enterInEditMode(),this.parent.updateToolbar({mode:this.constructor._editorType,editId:this.id})}getElementForAltText(){return this.div}get contentDiv(){return this.div}get isEditing(){return h(Zn,this)}set isEditing(t){d(Zn,this,t),this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(t,e){d(Un,this,!0);const i=t/e,{style:n}=this.div;n.aspectRatio=i,n.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){h(ss,this)||d(ss,this,new Map);const{action:e}=t;let i=h(ss,this).get(e);return i&&clearTimeout(i),i=setTimeout(()=>{this._reportTelemetry(t),h(ss,this).delete(e),0===h(ss,this).size&&d(ss,this,null)},cs._telemetryTimeout),void h(ss,this).set(e,i)}t.type||(t.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._isVisible;this.div.classList.toggle("hidden",!t),this._isVisible=t}enable(){this.div&&(this.div.tabIndex=0),d(zn,this,!1)}disable(){this.div&&(this.div.tabIndex=-1),d(zn,this,!0)}renderAnnotationElement(t){let e=t.container.querySelector(".annotationContent");if(e){if("CANVAS"===e.nodeName){const t=e;e=document.createElement("div"),e.classList.add("annotationContent",this.editorType),t.before(e)}}else e=document.createElement("div"),e.classList.add("annotationContent",this.editorType),t.container.prepend(e);return e}resetAnnotationElement(t){const{firstChild:e}=t.container;"DIV"===(null===e||void 0===e?void 0:e.nodeName)&&e.classList.contains("annotationContent")&&e.remove()}}function hs(t,e,i){let[n,s]=t;[e,i]=this.screenToPageTranslation(e,i),this.x+=e/n,this.y+=i/s,this._onTranslating(this.x,this.y),this.fixAndSetPosition()}function ds(t,e,i){switch(i){case 90:return[e,-t];case 180:return[-t,-e];case 270:return[-e,t];default:return[t,e]}}function us(t){switch(t){case 90:{const[t,e]=this.pageDimensions;return[0,-t/e,e/t,0]}case 180:return[-1,0,0,-1];case 270:{const[t,e]=this.pageDimensions;return[0,t/e,-e/t,0]}default:return[1,0,0,1]}}function ps(){if(h(Vn,this))return;d(Vn,this,document.createElement("div")),h(Vn,this).classList.add("resizers");const t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],e=this._uiManager._signal;for(const i of t){const t=document.createElement("div");h(Vn,this).append(t),t.classList.add("resizer",i),t.setAttribute("data-resizer-name",i),t.addEventListener("pointerdown",l(ls,this,gs).bind(this,i),{signal:e}),t.addEventListener("contextmenu",Xt,{signal:e}),t.tabIndex=-1}this.div.prepend(h(Vn,this))}function gs(t,e){var i;e.preventDefault();const{isMac:n}=Mt.platform;if(0!==e.button||e.ctrlKey&&n)return;null===(i=h(Bn,this))||void 0===i||i.toggle(!1);const s=this._isDraggable;this._isDraggable=!1,d(qn,this,[e.screenX,e.screenY]);const a=new AbortController,r=this._uiManager.combinedSignal(a);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",l(ls,this,vs).bind(this,t),{passive:!0,capture:!0,signal:r}),window.addEventListener("touchmove",Kt,{passive:!1,signal:r}),window.addEventListener("contextmenu",Xt,{signal:r}),d(Xn,this,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const o=this.parent.div.style.cursor,c=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(e.target).cursor;const u=()=>{var t;a.abort(),this.parent.togglePointerEvents(!0),null===(t=h(Bn,this))||void 0===t||t.toggle(!0),this._isDraggable=s,this.parent.div.style.cursor=o,this.div.style.cursor=c,l(ls,this,ms).call(this)};window.addEventListener("pointerup",u,{signal:r}),window.addEventListener("blur",u,{signal:r})}function fs(t,e,i,n){this.width=i,this.height=n,this.x=t,this.y=e;const[s,a]=this.parentDimensions;this.setDims(s*i,a*n),this.fixAndSetPosition(),this._onResized()}function ms(){if(!h(Xn,this))return;const{savedX:t,savedY:e,savedWidth:i,savedHeight:n}=h(Xn,this);d(Xn,this,null);const s=this.x,a=this.y,r=this.width,o=this.height;s===t&&a===e&&r===i&&o===n||this.addCommands({cmd:l(ls,this,fs).bind(this,s,a,r,o),undo:l(ls,this,fs).bind(this,t,e,i,n),mustExec:!0})}function vs(t,e){const[i,n]=this.parentDimensions,s=this.x,a=this.y,r=this.width,o=this.height,c=m.MIN_SIZE/i,u=m.MIN_SIZE/n,p=l(ls,this,us).call(this,this.rotation),g=(t,e)=>[p[0]*t+p[2]*e,p[1]*t+p[3]*e],f=l(ls,this,us).call(this,360-this.rotation);let v,b,w=!1,x=!1;switch(t){case"topLeft":w=!0,v=(t,e)=>[0,0],b=(t,e)=>[t,e];break;case"topMiddle":v=(t,e)=>[t/2,0],b=(t,e)=>[t/2,e];break;case"topRight":w=!0,v=(t,e)=>[t,0],b=(t,e)=>[0,e];break;case"middleRight":x=!0,v=(t,e)=>[t,e/2],b=(t,e)=>[0,e/2];break;case"bottomRight":w=!0,v=(t,e)=>[t,e],b=(t,e)=>[0,0];break;case"bottomMiddle":v=(t,e)=>[t/2,e],b=(t,e)=>[t/2,0];break;case"bottomLeft":w=!0,v=(t,e)=>[0,e],b=(t,e)=>[t,0];break;case"middleLeft":x=!0,v=(t,e)=>[0,e/2],b=(t,e)=>[t,e/2]}const y=v(r,o),A=b(r,o);let _=g(...A);const k=m._round(s+_[0]),S=m._round(a+_[1]);let E,M,C=1,R=1;if(e.fromKeyboard)({deltaX:E,deltaY:M}=e);else{const{screenX:t,screenY:i}=e,[n,s]=h(qn,this);[E,M]=this.screenToPageTranslation(t-n,i-s),h(qn,this)[0]=t,h(qn,this)[1]=i}var T,P;if([E,M]=(T=E/i,P=M/n,[f[0]*T+f[2]*P,f[1]*T+f[3]*P]),w){const t=Math.hypot(r,o);C=R=Math.max(Math.min(Math.hypot(A[0]-y[0]-E,A[1]-y[1]-M)/t,1/r,1/o),c/r,u/o)}else x?C=Ot(Math.abs(A[0]-y[0]-E),c,1)/r:R=Ot(Math.abs(A[1]-y[1]-M),u,1)/o;const D=m._round(r*C),I=m._round(o*R);_=g(...b(D,I));const L=k-_[0],F=S-_[1];h(Jn,this)||d(Jn,this,[this.x,this.y,this.width,this.height]),this.width=D,this.height=I,this.x=L,this.y=F,this.setDims(i*D,n*I),this.fixAndSetPosition(),this._onResizing()}function bs(){var t;d(Xn,this,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height}),null===(t=h(Bn,this))||void 0===t||t.toggle(!1),this.parent.togglePointerEvents(!1)}function ws(t,e,i){let n=i/e*.7+1-.7;if(1===n)return;const s=l(ls,this,us).call(this,this.rotation),a=(t,e)=>[s[0]*t+s[2]*e,s[1]*t+s[3]*e],[r,o]=this.parentDimensions,c=this.x,u=this.y,p=this.width,g=this.height,f=m.MIN_SIZE/r,v=m.MIN_SIZE/o;n=Math.max(Math.min(n,1/p,1/g),f/p,v/g);const b=m._round(p*n),w=m._round(g*n);if(b===p&&w===g)return;h(Jn,this)||d(Jn,this,[c,u,p,g]);const x=a(p/2,g/2),y=m._round(c+x[0]),A=m._round(u+x[1]),_=a(b/2,w/2);this.x=y-_[0],this.y=A-_[1],this.width=b,this.height=w,this.setDims(r*b,o*w),this.fixAndSetPosition(),this._onResizing()}function xs(){var t;null===(t=h(Bn,this))||void 0===t||t.toggle(!0),this.parent.togglePointerEvents(!0),l(ls,this,ms).call(this)}function ys(t){const{isMac:e}=Mt.platform;t.ctrlKey&&!e||t.shiftKey||t.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this)}function As(t){const{isSelected:e}=this;this._uiManager.setUpDragSession();let i=!1;const n=new AbortController,s=this._uiManager.combinedSignal(n),a={capture:!0,passive:!1,signal:s},r=t=>{n.abort(),d(Hn,this,null),d(Qn,this,!1),this._uiManager.endDragSession()||l(ls,this,ys).call(this,t),i&&this._onStopDragging()};e&&(d(is,this,t.clientX),d(ns,this,t.clientY),d(Hn,this,t.pointerId),d(Gn,this,t.pointerType),window.addEventListener("pointermove",t=>{i||(i=!0,this._onStartDragging());const{clientX:e,clientY:n,pointerId:s}=t;if(s!==h(Hn,this))return void Kt(t);const[a,r]=this.screenToPageTranslation(e-h(is,this),n-h(ns,this));d(is,this,e),d(ns,this,n),this._uiManager.dragSelectedEditors(a,r)},a),window.addEventListener("touchmove",Kt,a),window.addEventListener("pointerdown",t=>{t.pointerType===h(Gn,this)&&(h(as,this)||t.isPrimary)&&r(t),Kt(t)},a));const o=t=>{h(Hn,this)&&h(Hn,this)!==t.pointerId?Kt(t):r(t)};window.addEventListener("pointerup",o,{signal:s}),window.addEventListener("blur",o,{signal:s})}function _s(){if(h(Kn,this)||!this.div)return;d(Kn,this,new AbortController);const t=this._uiManager.combinedSignal(h(Kn,this));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:t}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:t})}function ks(t){m._resizerKeyboardManager.exec(this,t)}function Ss(t){var e;h(ts,this)&&(null===(e=t.relatedTarget)||void 0===e?void 0:e.parentNode)!==h(Vn,this)&&l(ls,this,Cs).call(this)}function Es(t){d(Yn,this,h(ts,this)?t:"")}function Ms(t){if(h(jn,this))for(const e of h(jn,this))e.tabIndex=t}function Cs(){d(ts,this,!1),l(ls,this,Ms).call(this,-1),l(ls,this,ms).call(this)}m=cs,(0,M.A)(cs,"_l10n",null),(0,M.A)(cs,"_l10nResizer",null),(0,M.A)(cs,"_borderLineWidth",-1),(0,M.A)(cs,"_colorManager",new Ge),(0,M.A)(cs,"_zIndex",1),(0,M.A)(cs,"_telemetryTimeout",1e3);class Rs extends cs{constructor(t){super(t),this.annotationElementId=t.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}}const Ts=3285377520,Ps=4294901760,Ds=65535;class Is{constructor(t){this.h1=t?4294967295&t:Ts,this.h2=t?4294967295&t:Ts}update(t){let e,i;if("string"===typeof t){e=new Uint8Array(2*t.length),i=0;for(let n=0,s=t.length;n>>8,e[i++]=255&s)}}else{if(!ArrayBuffer.isView(t))throw new Error("Invalid data format, must be a string or TypedArray.");e=t.slice(),i=e.byteLength}const n=i>>2,s=i-4*n,a=new Uint32Array(e.buffer,0,n);let r=0,o=0,l=this.h1,c=this.h2;const h=3432918353,d=461845907,u=11601,p=13715;for(let g=0;g>>17,r=r*d&Ps|r*p&Ds,l^=r,l=l<<13|l>>>19,l=5*l+3864292196):(o=a[g],o=o*h&Ps|o*u&Ds,o=o<<15|o>>>17,o=o*d&Ps|o*p&Ds,c^=o,c=c<<13|c>>>19,c=5*c+3864292196);switch(r=0,s){case 3:r^=e[4*n+2]<<16;case 2:r^=e[4*n+1]<<8;case 1:r^=e[4*n],r=r*h&Ps|r*u&Ds,r=r<<15|r>>>17,r=r*d&Ps|r*p&Ds,1&n?l^=r:c^=r}this.h1=l,this.h2=c}hexdigest(){let t=this.h1,e=this.h2;return t^=e>>>1,t=3981806797*t&Ps|36045*t&Ds,e=4283543511*e&Ps|(2950163797*(e<<16|t>>>16)&Ps)>>>16,t^=e>>>1,t=444984403*t&Ps|60499*t&Ds,e=3301882366*e&Ps|(3120437893*(e<<16|t>>>16)&Ps)>>>16,t^=e>>>1,(t>>>0).toString(16).padStart(8,"0")+(e>>>0).toString(16).padStart(8,"0")}}const Ls=Object.freeze({map:null,hash:"",transfer:void 0});var Fs=new WeakMap,Os=new WeakMap,Ns=new WeakMap,Ws=new WeakSet;class js{constructor(){r(this,Ws),o(this,Fs,!1),o(this,Os,null),o(this,Ns,new Map),this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(t,e){const i=h(Ns,this).get(t);return void 0===i?e:Object.assign(e,i)}getRawValue(t){return h(Ns,this).get(t)}remove(t){if(h(Ns,this).delete(t),0===h(Ns,this).size&&this.resetModified(),"function"===typeof this.onAnnotationEditor){for(const t of h(Ns,this).values())if(t instanceof cs)return;this.onAnnotationEditor(null)}}setValue(t,e){const i=h(Ns,this).get(t);let n=!1;if(void 0!==i)for(const[s,a]of Object.entries(e))i[s]!==a&&(n=!0,i[s]=a);else n=!0,h(Ns,this).set(t,e);n&&l(Ws,this,Bs).call(this),e instanceof cs&&"function"===typeof this.onAnnotationEditor&&this.onAnnotationEditor(e.constructor._type)}has(t){return h(Ns,this).has(t)}get size(){return h(Ns,this).size}resetModified(){h(Fs,this)&&(d(Fs,this,!1),"function"===typeof this.onResetModified&&this.onResetModified())}get print(){return new Hs(this)}get serializable(){if(0===h(Ns,this).size)return Ls;const t=new Map,e=new Is,i=[],n=Object.create(null);let s=!1;for(const[a,r]of h(Ns,this)){const i=r instanceof cs?r.serialize(!1,n):r;i&&(t.set(a,i),e.update("".concat(a,":").concat(JSON.stringify(i))),s||(s=!!i.bitmap))}if(s)for(const a of t.values())a.bitmap&&i.push(a.bitmap);return t.size>0?{map:t,hash:e.hexdigest(),transfer:i}:Ls}get editorStats(){let t=null;const e=new Map;for(const s of h(Ns,this).values()){var i;if(!(s instanceof cs))continue;const a=s.telemetryFinalData;if(!a)continue;const{type:r}=a;e.has(r)||e.set(r,Object.getPrototypeOf(s).constructor),t||(t=Object.create(null));const o=(i=t)[r]||(i[r]=new Map);for(const[t,e]of Object.entries(a)){var n;if("type"===t)continue;let i=o.get(t);i||(i=new Map,o.set(t,i));const s=null!==(n=i.get(e))&&void 0!==n?n:0;i.set(e,s+1)}}for(const[s,a]of e)t[s]=a.computeTelemetryFinalData(t[s]);return t}resetModifiedIds(){d(Os,this,null)}get modifiedIds(){if(h(Os,this))return h(Os,this);const t=[];for(const e of h(Ns,this).values())e instanceof cs&&e.annotationElementId&&e.serialize()&&t.push(e.annotationElementId);return d(Os,this,{ids:new Set(t),hash:t.join(",")})}[Symbol.iterator](){return h(Ns,this).entries()}}function Bs(){h(Fs,this)||(d(Fs,this,!0),"function"===typeof this.onSetModified&&this.onSetModified())}var zs=new WeakMap;class Hs extends js{constructor(t){super(),o(this,zs,void 0);const{map:e,hash:i,transfer:n}=t.serializable,s=structuredClone(e,n?{transfer:n}:null);d(zs,this,{map:s,hash:i,transfer:n})}get print(){pt("Should not call PrintAnnotationStorage.print")}get serializable(){return h(zs,this)}get modifiedIds(){return vt(this,"modifiedIds",{ids:new Set,hash:""})}}var Gs=new WeakMap;class Us{constructor(t){let{ownerDocument:e=globalThis.document,styleElement:i=null}=t;o(this,Gs,new Set),this._document=e,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}removeNativeFontFace(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}insertRule(t){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const e=this.styleElement.sheet;e.insertRule(t,e.cssRules.length)}clear(){for(const t of this.nativeFontFaces)this._document.fonts.delete(t);this.nativeFontFaces.clear(),h(Gs,this).clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont(t){let{systemFontInfo:e,disableFontFace:i,_inspectFont:n}=t;if(e&&!h(Gs,this).has(e.loadedName)){if(gt(!i,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:t,src:i,style:a}=e,r=new FontFace(t,i,a);this.addNativeFontFace(r);try{await r.load(),h(Gs,this).add(t),null===n||void 0===n||n(e)}catch(s){ut("Cannot load system font: ".concat(e.baseFontName,", installing it could help to improve PDF rendering.")),this.removeNativeFontFace(r)}return}pt("Not implemented: loadSystemFont without the Font Loading API.")}}async bind(t){if(t.attached||t.missingFile&&!t.systemFontInfo)return;if(t.attached=!0,t.systemFontInfo)return void await this.loadSystemFont(t);if(this.isFontLoadingAPISupported){const e=t.createNativeFontFace();if(e){this.addNativeFontFace(e);try{await e.loaded}catch(i){throw ut("Failed to load font '".concat(e.family,"': '").concat(i,"'.")),t.disableFontFace=!0,i}}return}const e=t.createFontFaceRule();if(e){if(this.insertRule(e),this.isSyncFontLoadingSupported)return;await new Promise(e=>{const i=this._queueLoadingCallback(e);this._prepareFontLoadEvent(t,i)})}}get isFontLoadingAPISupported(){var t;return vt(this,"isFontLoadingAPISupported",!(null===(t=this._document)||void 0===t||!t.fonts))}get isSyncFontLoadingSupported(){return vt(this,"isSyncFontLoadingSupported",R||Mt.platform.isFirefox)}_queueLoadingCallback(t){const{loadingRequests:e}=this,i={done:!1,complete:function(){for(gt(!i.done,"completeRequest() cannot be called twice."),i.done=!0;e.length>0&&e[0].done;){const t=e.shift();setTimeout(t.callback,0)}},callback:t};return e.push(i),i}get _loadTestFont(){return vt(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAE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(t,e,i,n){return t.substring(0,e)+n+t.substring(e+i)}let s,a;const r=this._document.createElement("canvas");r.width=1,r.height=1;const o=r.getContext("2d");let l=0;const c="lt".concat(Date.now()).concat(this.loadTestFontId++);let h=this._loadTestFont;h=n(h,976,c.length,c);const d=1482184792;let u=i(h,16);for(s=0,a=c.length-3;s>24&255,p>>16&255,p>>8&255,255&p)));const g="url(data:font/opentype;base64,".concat(btoa(h),");"),f='@font-face {font-family:"'.concat(c,'";src:').concat(g,"}");this.insertRule(f);const m=this._document.createElement("div");m.style.visibility="hidden",m.style.width=m.style.height="10px",m.style.position="absolute",m.style.top=m.style.left="0px";for(const v of[t.loadedName,c]){const t=this._document.createElement("span");t.textContent="Hi",t.style.fontFamily=v,m.append(t)}this._document.body.append(m),function t(e,i){if(++l>30)return ut("Load test font never loaded."),void i();o.font="30px "+e,o.fillText(".",0,20),o.getImageData(0,0,1,1).data[3]>0?i():setTimeout(t.bind(null,e,i))}(c,()=>{m.remove(),e.complete()})}}class Vs{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.compiledGlyphs=Object.create(null);for(const i in t)this[i]=t[i];this._inspectFont=e}createNativeFontFace(){var t;if(!this.data||this.disableFontFace)return null;let e;if(this.cssFontInfo){const t={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(t.style="oblique ".concat(this.cssFontInfo.italicAngle,"deg")),e=new FontFace(this.cssFontInfo.fontFamily,this.data,t)}else e=new FontFace(this.loadedName,this.data,{});return null===(t=this._inspectFont)||void 0===t||t.call(this,this),e}createFontFaceRule(){var t;if(!this.data||this.disableFontFace)return null;const e="url(data:".concat(this.mimetype,";base64,").concat(Nt(this.data),");");let i;if(this.cssFontInfo){let t="font-weight: ".concat(this.cssFontInfo.fontWeight,";");this.cssFontInfo.italicAngle&&(t+="font-style: oblique ".concat(this.cssFontInfo.italicAngle,"deg;")),i='@font-face {font-family:"'.concat(this.cssFontInfo.fontFamily,'";').concat(t,"src:").concat(e,"}")}else i='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(e,"}");return null===(t=this._inspectFont)||void 0===t||t.call(this,this,e),i}getPathGenerator(t,e){if(void 0!==this.compiledGlyphs[e])return this.compiledGlyphs[e];const i=this.loadedName+"_path_"+e;let n;try{n=t.get(i)}catch(a){ut('getPathGenerator - ignoring character: "'.concat(a,'".'))}const s=new Path2D(n||"");return this.fontExtraProperties||t.delete(i),this.compiledGlyphs[e]=s}}function qs(t){if("string"!==typeof t)return null;if(t.endsWith("/"))return t;throw new Error('Invalid factory url: "'.concat(t,'" must include trailing slash.'))}const Xs=t=>"object"===typeof t&&Number.isInteger(null===t||void 0===t?void 0:t.num)&&t.num>=0&&Number.isInteger(null===t||void 0===t?void 0:t.gen)&&t.gen>=0,Ks=function(t,e,i){if(!Array.isArray(i)||i.length<2)return!1;const[n,s,...a]=i;if(!t(n)&&!Number.isInteger(n))return!1;if(!e(s))return!1;const r=a.length;let o=!0;switch(s.name){case"XYZ":if(r<2||r>3)return!1;break;case"Fit":case"FitB":return 0===r;case"FitH":case"FitBH":case"FitV":case"FitBV":if(r>1)return!1;break;case"FitR":if(4!==r)return!1;o=!1;break;default:return!1}for(const l of a)if(!("number"===typeof l||o&&null===l))return!1;return!0}.bind(null,Xs,t=>"object"===typeof t&&"string"===typeof(null===t||void 0===t?void 0:t.name));var Ys=new WeakMap,Qs=new WeakMap;class Js{constructor(){o(this,Ys,new Map),o(this,Qs,Promise.resolve())}postMessage(t,e){const i={data:structuredClone(t,e?{transfer:e}:null)};h(Qs,this).then(()=>{for(const[t]of h(Ys,this))t.call(this,i)})}addEventListener(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=null;if((null===i||void 0===i?void 0:i.signal)instanceof AbortSignal){const{signal:s}=i;if(s.aborted)return void ut("LoopbackPort - cannot use an `aborted` signal.");const a=()=>this.removeEventListener(t,e);n=()=>s.removeEventListener("abort",a),s.addEventListener("abort",a)}h(Ys,this).set(e,n)}removeEventListener(t,e){const i=h(Ys,this).get(e);null===i||void 0===i||i(),h(Ys,this).delete(e)}terminate(){for(const[,t]of h(Ys,this))null===t||void 0===t||t();h(Ys,this).clear()}}const Zs=1,$s=2,ta=1,ea=2,ia=3,na=4,sa=5,aa=6,ra=7,oa=8;function la(){}function ca(t){if(t instanceof kt||t instanceof yt||t instanceof wt||t instanceof At||t instanceof xt)return t;switch(t instanceof Error||"object"===typeof t&&null!==t||pt('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),t.name){case"AbortException":return new kt(t.message);case"InvalidPDFException":return new yt(t.message);case"PasswordException":return new wt(t.message,t.code);case"ResponseException":return new At(t.message,t.status,t.missing);case"UnknownErrorException":return new xt(t.message,t.details)}return new xt(t.message,t.toString())}var ha=new WeakMap,da=new WeakSet;class ua{constructor(t,e,i){r(this,da),o(this,ha,new AbortController),this.sourceName=t,this.targetName=e,this.comObj=i,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),i.addEventListener("message",l(da,this,pa).bind(this),{signal:h(ha,this).signal})}on(t,e){const i=this.actionHandler;if(i[t])throw new Error('There is already an actionName called "'.concat(t,'"'));i[t]=e}send(t,e,i){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:e},i)}sendWithPromise(t,e,i){const n=this.callbackId++,s=Promise.withResolvers();this.callbackCapabilities[n]=s;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:n,data:e},i)}catch(a){s.reject(a)}return s.promise}sendWithStream(t,e,i,n){const s=this.streamId++,a=this.sourceName,r=this.targetName,o=this.comObj;return new ReadableStream({start:i=>{const l=Promise.withResolvers();return this.streamControllers[s]={controller:i,startCall:l,pullCall:null,cancelCall:null,isClosed:!1},o.postMessage({sourceName:a,targetName:r,action:t,streamId:s,data:e,desiredSize:i.desiredSize},n),l.promise},pull:t=>{const e=Promise.withResolvers();return this.streamControllers[s].pullCall=e,o.postMessage({sourceName:a,targetName:r,stream:aa,streamId:s,desiredSize:t.desiredSize}),e.promise},cancel:t=>{gt(t instanceof Error,"cancel must have a valid reason");const e=Promise.withResolvers();return this.streamControllers[s].cancelCall=e,this.streamControllers[s].isClosed=!0,o.postMessage({sourceName:a,targetName:r,stream:ta,streamId:s,reason:ca(t)}),e.promise}},i)}destroy(){var t;null===(t=h(ha,this))||void 0===t||t.abort(),d(ha,this,null)}}function pa(t){let{data:e}=t;if(e.targetName!==this.sourceName)return;if(e.stream)return void l(da,this,fa).call(this,e);if(e.callback){const t=e.callbackId,i=this.callbackCapabilities[t];if(!i)throw new Error("Cannot resolve callback ".concat(t));if(delete this.callbackCapabilities[t],e.callback===Zs)i.resolve(e.data);else{if(e.callback!==$s)throw new Error("Unexpected callback case");i.reject(ca(e.reason))}return}const i=this.actionHandler[e.action];if(!i)throw new Error("Unknown action from worker: ".concat(e.action));if(e.callbackId){const t=this.sourceName,n=e.sourceName,s=this.comObj;return void Promise.try(i,e.data).then(function(i){s.postMessage({sourceName:t,targetName:n,callback:Zs,callbackId:e.callbackId,data:i})},function(i){s.postMessage({sourceName:t,targetName:n,callback:$s,callbackId:e.callbackId,reason:ca(i)})})}e.streamId?l(da,this,ga).call(this,e):i(e.data)}function ga(t){const e=t.streamId,i=this.sourceName,n=t.sourceName,s=this.comObj,a=this,r=this.actionHandler[t.action],o={enqueue(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0;if(this.isCancelled)return;const o=this.desiredSize;this.desiredSize-=a,o>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),s.postMessage({sourceName:i,targetName:n,stream:na,streamId:e,chunk:t},r)},close(){this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:n,stream:ia,streamId:e}),delete a.streamSinks[e])},error(t){gt(t instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:n,stream:sa,streamId:e,reason:ca(t)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};o.sinkCapability.resolve(),o.ready=o.sinkCapability.promise,this.streamSinks[e]=o,Promise.try(r,t.data,o).then(function(){s.postMessage({sourceName:i,targetName:n,stream:oa,streamId:e,success:!0})},function(t){s.postMessage({sourceName:i,targetName:n,stream:oa,streamId:e,reason:ca(t)})})}function fa(t){const e=t.streamId,i=this.sourceName,n=t.sourceName,s=this.comObj,a=this.streamControllers[e],r=this.streamSinks[e];switch(t.stream){case oa:t.success?a.startCall.resolve():a.startCall.reject(ca(t.reason));break;case ra:t.success?a.pullCall.resolve():a.pullCall.reject(ca(t.reason));break;case aa:if(!r){s.postMessage({sourceName:i,targetName:n,stream:ra,streamId:e,success:!0});break}r.desiredSize<=0&&t.desiredSize>0&&r.sinkCapability.resolve(),r.desiredSize=t.desiredSize,Promise.try(r.onPull||la).then(function(){s.postMessage({sourceName:i,targetName:n,stream:ra,streamId:e,success:!0})},function(t){s.postMessage({sourceName:i,targetName:n,stream:ra,streamId:e,reason:ca(t)})});break;case na:if(gt(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(t.chunk);break;case ia:if(gt(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),l(da,this,ma).call(this,a,e);break;case sa:gt(a,"error should have stream controller"),a.controller.error(ca(t.reason)),l(da,this,ma).call(this,a,e);break;case ea:t.success?a.cancelCall.resolve():a.cancelCall.reject(ca(t.reason)),l(da,this,ma).call(this,a,e);break;case ta:if(!r)break;const o=ca(t.reason);Promise.try(r.onCancel||la,o).then(function(){s.postMessage({sourceName:i,targetName:n,stream:ea,streamId:e,success:!0})},function(t){s.postMessage({sourceName:i,targetName:n,stream:ea,streamId:e,reason:ca(t)})}),r.sinkCapability.reject(o),r.isCancelled=!0,delete this.streamSinks[e];break;default:throw new Error("Unexpected stream case")}}async function ma(t,e){var i,n,s;await Promise.allSettled([null===(i=t.startCall)||void 0===i?void 0:i.promise,null===(n=t.pullCall)||void 0===n?void 0:n.promise,null===(s=t.cancelCall)||void 0===s?void 0:s.promise]),delete this.streamControllers[e]}var va=new WeakMap;class ba{constructor(t){let{enableHWA:e=!1}=t;o(this,va,!1),d(va,this,e)}create(t,e){if(t<=0||e<=0)throw new Error("Invalid canvas size");const i=this._createCanvas(t,e);return{canvas:i,context:i.getContext("2d",{willReadFrequently:!h(va,this)})}}reset(t,e,i){if(!t.canvas)throw new Error("Canvas is not specified");if(e<=0||i<=0)throw new Error("Invalid canvas size");t.canvas.width=e,t.canvas.height=i}destroy(t){if(!t.canvas)throw new Error("Canvas is not specified");t.canvas.width=0,t.canvas.height=0,t.canvas=null,t.context=null}_createCanvas(t,e){pt("Abstract method `_createCanvas` called.")}}class wa extends ba{constructor(t){let{ownerDocument:e=globalThis.document,enableHWA:i=!1}=t;super({enableHWA:i}),this._document=e}_createCanvas(t,e){const i=this._document.createElement("canvas");return i.width=t,i.height=e,i}}class xa{constructor(t){let{baseUrl:e=null,isCompressed:i=!0}=t;this.baseUrl=e,this.isCompressed=i}async fetch(t){let{name:e}=t;if(!this.baseUrl)throw new Error("Ensure that the `cMapUrl` and `cMapPacked` API parameters are provided.");if(!e)throw new Error("CMap name must be specified.");const i=this.baseUrl+e+(this.isCompressed?".bcmap":"");return this._fetch(i).then(t=>({cMapData:t,isCompressed:this.isCompressed})).catch(t=>{throw new Error("Unable to load ".concat(this.isCompressed?"binary ":"","CMap at: ").concat(i))})}async _fetch(t){pt("Abstract method `_fetch` called.")}}class ya extends xa{async _fetch(t){const e=await Bt(t,this.isCompressed?"arraybuffer":"text");return e instanceof ArrayBuffer?new Uint8Array(e):Et(e)}}class Aa{addFilter(t){return"none"}addHCMFilter(t,e){return"none"}addAlphaFilter(t){return"none"}addLuminosityFilter(t){return"none"}addHighlightHCMFilter(t,e,i,n,s){return"none"}destroy(){}}var _a=new WeakMap,ka=new WeakMap,Sa=new WeakMap,Ea=new WeakMap,Ma=new WeakMap,Ca=new WeakMap,Ra=new WeakMap,Ta=new WeakSet;class Pa extends Aa{constructor(t){let{docId:e,ownerDocument:i=globalThis.document}=t;super(),r(this,Ta),o(this,_a,void 0),o(this,ka,void 0),o(this,Sa,void 0),o(this,Ea,void 0),o(this,Ma,void 0),o(this,Ca,void 0),o(this,Ra,0),d(Ea,this,e),d(Ma,this,i)}addFilter(t){var e,i;if(!t)return"none";let n=c(Ta,this,Da).get(t);if(n)return n;const[s,a,r]=l(Ta,this,Fa).call(this,t),o=1===t.length?s:"".concat(s).concat(a).concat(r);if(n=c(Ta,this,Da).get(o),n)return c(Ta,this,Da).set(t,n),n;const u="g_".concat(h(Ea,this),"_transfer_map_").concat((d(Ra,this,(e=h(Ra,this),i=e++,e)),i)),p=l(Ta,this,Oa).call(this,u);c(Ta,this,Da).set(t,p),c(Ta,this,Da).set(o,p);const g=l(Ta,this,ja).call(this,u);return l(Ta,this,za).call(this,s,a,r,g),p}addHCMFilter(t,e){var i;const n="".concat(t,"-").concat(e),s="base";let a=c(Ta,this,Ia).get(s);if((null===(i=a)||void 0===i?void 0:i.key)===n)return a.url;var r;a?(null===(r=a.filter)||void 0===r||r.remove(),a.key=n,a.url="none",a.filter=null):(a={key:n,url:"none",filter:null},c(Ta,this,Ia).set(s,a));if(!t||!e)return a.url;const o=l(Ta,this,Ga).call(this,t);t=Rt.makeHexColor(...o);const d=l(Ta,this,Ga).call(this,e);if(e=Rt.makeHexColor(...d),c(Ta,this,La).style.color="","#000000"===t&&"#ffffff"===e||t===e)return a.url;const u=new Array(256);for(let l=0;l<=255;l++){const t=l/255;u[l]=t<=.03928?t/12.92:((t+.055)/1.055)**2.4}const p=u.join(","),g="g_".concat(h(Ea,this),"_hcm_filter"),f=a.filter=l(Ta,this,ja).call(this,g);l(Ta,this,za).call(this,p,p,p,f),l(Ta,this,Wa).call(this,f);const m=(t,e)=>{const i=o[t]/255,n=d[t]/255,s=new Array(e+1);for(let a=0;a<=e;a++)s[a]=i+a/e*(n-i);return s.join(",")};return l(Ta,this,za).call(this,m(0,5),m(1,5),m(2,5),f),a.url=l(Ta,this,Oa).call(this,g),a.url}addAlphaFilter(t){var e,i;let n=c(Ta,this,Da).get(t);if(n)return n;const[s]=l(Ta,this,Fa).call(this,[t]),a="alpha_".concat(s);if(n=c(Ta,this,Da).get(a),n)return c(Ta,this,Da).set(t,n),n;const r="g_".concat(h(Ea,this),"_alpha_map_").concat((d(Ra,this,(e=h(Ra,this),i=e++,e)),i)),o=l(Ta,this,Oa).call(this,r);c(Ta,this,Da).set(t,o),c(Ta,this,Da).set(a,o);const u=l(Ta,this,ja).call(this,r);return l(Ta,this,Ha).call(this,s,u),o}addLuminosityFilter(t){var e,i;let n,s,a=c(Ta,this,Da).get(t||"luminosity");if(a)return a;if(t?([n]=l(Ta,this,Fa).call(this,[t]),s="luminosity_".concat(n)):s="luminosity",a=c(Ta,this,Da).get(s),a)return c(Ta,this,Da).set(t,a),a;const r="g_".concat(h(Ea,this),"_luminosity_map_").concat((d(Ra,this,(e=h(Ra,this),i=e++,e)),i)),o=l(Ta,this,Oa).call(this,r);c(Ta,this,Da).set(t,o),c(Ta,this,Da).set(s,o);const u=l(Ta,this,ja).call(this,r);return l(Ta,this,Na).call(this,u),t&&l(Ta,this,Ha).call(this,n,u),o}addHighlightHCMFilter(t,e,i,n,s){var a;const r="".concat(e,"-").concat(i,"-").concat(n,"-").concat(s);let o=c(Ta,this,Ia).get(t);if((null===(a=o)||void 0===a?void 0:a.key)===r)return o.url;var d;o?(null===(d=o.filter)||void 0===d||d.remove(),o.key=r,o.url="none",o.filter=null):(o={key:r,url:"none",filter:null},c(Ta,this,Ia).set(t,o));if(!e||!i)return o.url;const[u,p]=[e,i].map(l(Ta,this,Ga).bind(this));let g=Math.round(.2126*u[0]+.7152*u[1]+.0722*u[2]),f=Math.round(.2126*p[0]+.7152*p[1]+.0722*p[2]),[m,v]=[n,s].map(l(Ta,this,Ga).bind(this));f{const n=new Array(256),s=(f-g)/i,a=t/255,r=(e-t)/(255*i);let o=0;for(let l=0;l<=i;l++){const t=Math.round(g+l*s),e=a+l*r;for(let i=o;i<=t;i++)n[i]=e;o=t+1}for(let l=o;l<256;l++)n[l]=n[o-1];return n.join(",")},w="g_".concat(h(Ea,this),"_hcm_").concat(t,"_filter"),x=o.filter=l(Ta,this,ja).call(this,w);return l(Ta,this,Wa).call(this,x),l(Ta,this,za).call(this,b(m[0],v[0],5),b(m[1],v[1],5),b(m[2],v[2],5),x),o.url=l(Ta,this,Oa).call(this,w),o.url}destroy(){var t,e,i,n;arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&null!==(t=h(Ca,this))&&void 0!==t&&t.size||(null===(e=h(Sa,this))||void 0===e||e.parentNode.parentNode.remove(),d(Sa,this,null),null===(i=h(ka,this))||void 0===i||i.clear(),d(ka,this,null),null===(n=h(Ca,this))||void 0===n||n.clear(),d(Ca,this,null),d(Ra,this,0))}}function Da(t){return h(ka,t)||d(ka,t,new Map)}function Ia(t){return h(Ca,t)||d(Ca,t,new Map)}function La(t){if(!h(Sa,t)){const e=h(Ma,t).createElement("div"),{style:i}=e;i.visibility="hidden",i.contain="strict",i.width=i.height=0,i.position="absolute",i.top=i.left=0,i.zIndex=-1;const n=h(Ma,t).createElementNS(Wt,"svg");n.setAttribute("width",0),n.setAttribute("height",0),d(Sa,t,h(Ma,t).createElementNS(Wt,"defs")),e.append(n),n.append(h(Sa,t)),h(Ma,t).body.append(e)}return h(Sa,t)}function Fa(t){if(1===t.length){const e=t[0],i=new Array(256);for(let t=0;t<256;t++)i[t]=e[t]/255;const n=i.join(",");return[n,n,n]}const[e,i,n]=t,s=new Array(256),a=new Array(256),r=new Array(256);for(let o=0;o<256;o++)s[o]=e[o]/255,a[o]=i[o]/255,r[o]=n[o]/255;return[s.join(","),a.join(","),r.join(",")]}function Oa(t){if(void 0===h(_a,this)){d(_a,this,"");const t=h(Ma,this).URL;t!==h(Ma,this).baseURI&&(Gt(t)?ut('#createUrl: ignore "data:"-URL for performance reasons.'):d(_a,this,mt(t,"")))}return"url(".concat(h(_a,this),"#").concat(t,")")}function Na(t){const e=h(Ma,this).createElementNS(Wt,"feColorMatrix");e.setAttribute("type","matrix"),e.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),t.append(e)}function Wa(t){const e=h(Ma,this).createElementNS(Wt,"feColorMatrix");e.setAttribute("type","matrix"),e.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),t.append(e)}function ja(t){const e=h(Ma,this).createElementNS(Wt,"filter");return e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("id",t),c(Ta,this,La).append(e),e}function Ba(t,e,i){const n=h(Ma,this).createElementNS(Wt,e);n.setAttribute("type","discrete"),n.setAttribute("tableValues",i),t.append(n)}function za(t,e,i,n){const s=h(Ma,this).createElementNS(Wt,"feComponentTransfer");n.append(s),l(Ta,this,Ba).call(this,s,"feFuncR",t),l(Ta,this,Ba).call(this,s,"feFuncG",e),l(Ta,this,Ba).call(this,s,"feFuncB",i)}function Ha(t,e){const i=h(Ma,this).createElementNS(Wt,"feComponentTransfer");e.append(i),l(Ta,this,Ba).call(this,i,"feFuncA",t)}function Ga(t){return c(Ta,this,La).style.color=t,Jt(getComputedStyle(c(Ta,this,La)).getPropertyValue("color"))}class Ua{constructor(t){let{baseUrl:e=null}=t;this.baseUrl=e}async fetch(t){let{filename:e}=t;if(!this.baseUrl)throw new Error("Ensure that the `standardFontDataUrl` API parameter is provided.");if(!e)throw new Error("Font filename must be specified.");const i="".concat(this.baseUrl).concat(e);return this._fetch(i).catch(t=>{throw new Error("Unable to load font data at: ".concat(i))})}async _fetch(t){pt("Abstract method `_fetch` called.")}}class Va extends Ua{async _fetch(t){const e=await Bt(t,"arraybuffer");return new Uint8Array(e)}}class qa{constructor(t){let{baseUrl:e=null}=t;this.baseUrl=e}async fetch(t){let{filename:e}=t;if(!this.baseUrl)throw new Error("Ensure that the `wasmUrl` API parameter is provided.");if(!e)throw new Error("Wasm filename must be specified.");const i="".concat(this.baseUrl).concat(e);return this._fetch(i).catch(t=>{throw new Error("Unable to load wasm data at: ".concat(i))})}async _fetch(t){pt("Abstract method `_fetch` called.")}}class Xa extends qa{async _fetch(t){const e=await Bt(t,"arraybuffer");return new Uint8Array(e)}}async function Ka(t){const e=process.getBuiltinModule("fs"),i=await e.promises.readFile(t);return new Uint8Array(i)}R&&ut("Please use the `legacy` build in Node.js environments.");class Ya extends Aa{}class Qa extends ba{_createCanvas(t,e){return process.getBuiltinModule("module").createRequire("file:///var/home/georg/Projekte/Sonstiges/MinIO/console/web-app/node_modules/pdfjs-dist/build/pdf.mjs")("@napi-rs/canvas").createCanvas(t,e)}}class Ja extends xa{async _fetch(t){return Ka(t)}}class Za extends Ua{async _fetch(t){return Ka(t)}}class $a extends qa{async _fetch(t){return Ka(t)}}const tr="Fill",er="Stroke",ir="Shading";function nr(t,e){if(!e)return;const i=e[2]-e[0],n=e[3]-e[1],s=new Path2D;s.rect(e[0],e[1],i,n),t.clip(s)}class sr{isModifyingCurrentTransform(){return!1}getPattern(){pt("Abstract method `getPattern` called.")}}class ar extends sr{constructor(t){super(),this._type=t[1],this._bbox=t[2],this._colorStops=t[3],this._p0=t[4],this._p1=t[5],this._r0=t[6],this._r1=t[7],this.matrix=null}_createGradient(t){let e;"axial"===this._type?e=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(e=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const i of this._colorStops)e.addColorStop(i[0],i[1]);return e}getPattern(t,e,i,n){let s;if(n===er||n===tr){const a=e.current.getClippedPathBoundingBox(n,Zt(t))||[0,0,0,0],r=Math.ceil(a[2]-a[0])||1,o=Math.ceil(a[3]-a[1])||1,l=e.cachedCanvases.getCanvas("pattern",r,o),c=l.context;c.clearRect(0,0,c.canvas.width,c.canvas.height),c.beginPath(),c.rect(0,0,c.canvas.width,c.canvas.height),c.translate(-a[0],-a[1]),i=Rt.transform(i,[1,0,0,1,a[0],a[1]]),c.transform(...e.baseTransform),this.matrix&&c.transform(...this.matrix),nr(c,this._bbox),c.fillStyle=this._createGradient(c),c.fill(),s=t.createPattern(l.canvas,"no-repeat");const h=new DOMMatrix(i);s.setTransform(h)}else nr(t,this._bbox),s=this._createGradient(t);return s}}function rr(t,e,i,n,s,a,r,o){const l=e.coords,c=e.colors,h=t.data,d=4*t.width;let u;l[i+1]>l[n+1]&&(u=i,i=n,n=u,u=a,a=r,r=u),l[n+1]>l[s+1]&&(u=n,n=s,s=u,u=r,r=o,o=u),l[i+1]>l[n+1]&&(u=i,i=n,n=u,u=a,a=r,r=u);const p=(l[i]+e.offsetX)*e.scaleX,g=(l[i+1]+e.offsetY)*e.scaleY,f=(l[n]+e.offsetX)*e.scaleX,m=(l[n+1]+e.offsetY)*e.scaleY,v=(l[s]+e.offsetX)*e.scaleX,b=(l[s+1]+e.offsetY)*e.scaleY;if(g>=b)return;const w=c[a],x=c[a+1],y=c[a+2],A=c[r],_=c[r+1],k=c[r+2],S=c[o],E=c[o+1],M=c[o+2],C=Math.round(g),R=Math.round(b);let T,P,D,I,L,F,O,N;for(let W=C;W<=R;W++){if(Wb?1:m===b?0:(m-W)/(m-b),T=f-(f-v)*t,P=A-(A-S)*t,D=_-(_-E)*t,I=k-(k-M)*t}let t;t=Wb?1:(g-W)/(g-b),L=p-(p-v)*t,F=w-(w-S)*t,O=x-(x-E)*t,N=y-(y-M)*t;const e=Math.round(Math.min(T,L)),i=Math.round(Math.max(T,L));let n=d*W+4*e;for(let s=e;s<=i;s++)t=(T-s)/(T-L),t<0?t=0:t>1&&(t=1),h[n++]=P-(P-F)*t|0,h[n++]=D-(D-O)*t|0,h[n++]=I-(I-N)*t|0,h[n++]=255}}function or(t,e,i){const n=e.coords,s=e.colors;let a,r;switch(e.type){case"lattice":const o=e.verticesPerRow,l=Math.floor(n.length/o)-1,c=o-1;for(a=0;a=Math.ceil(p*b)?x=o:A=!0,S>=Math.ceil(g*w)?y=l:_=!0;const E=this.getSizeAndScale(x,this.ctx.canvas.width,b),M=this.getSizeAndScale(y,this.ctx.canvas.height,w),C=t.cachedCanvases.getCanvas("pattern",E.size,M.size),R=C.context,T=r.createCanvasGraphics(R);if(T.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(T,n,a),R.translate(-E.scale*c,-M.scale*h),T.transform(E.scale,0,0,M.scale,0,0),R.save(),this.clipBbox(T,c,h,d,u),T.baseTransform=Zt(T.ctx),T.executeOperatorList(i),T.endDrawing(),R.restore(),A||_){const e=C.canvas;A&&(x=o),_&&(y=l);const i=this.getSizeAndScale(x,this.ctx.canvas.width,b),n=this.getSizeAndScale(y,this.ctx.canvas.height,w),s=i.size,a=n.size,r=t.cachedCanvases.getCanvas("pattern-workaround",s,a),d=r.context,u=A?Math.floor(p/o):0,f=_?Math.floor(g/l):0;for(let t=0;t<=u;t++)for(let i=0;i<=f;i++)d.drawImage(e,s*t,a*i,s,a,0,0,s,a);return{canvas:r.canvas,scaleX:i.scale,scaleY:n.scale,offsetX:c,offsetY:h}}return{canvas:C.canvas,scaleX:E.scale,scaleY:M.scale,offsetX:c,offsetY:h}}getSizeAndScale(t,e,i){const n=Math.max(ur.MAX_PATTERN_SIZE,e);let s=Math.ceil(t*i);return s>=n?s=n:i=s/t,{scale:i,size:s}}clipBbox(t,e,i,n,s){const a=n-e,r=s-i;t.ctx.rect(e,i,a,r),Rt.axialAlignedBoundingBox([e,i,n,s],Zt(t.ctx),t.current.minMax),t.clip(),t.endPath()}setFillAndStrokeStyleToContext(t,e,i){const n=t.ctx,s=t.current;switch(e){case hr:const{fillStyle:t,strokeStyle:a}=this.ctx;n.fillStyle=s.fillColor=t,n.strokeStyle=s.strokeColor=a;break;case dr:n.fillStyle=n.strokeStyle=i,s.fillColor=s.strokeColor=i;break;default:throw new _t("Unsupported paint type: ".concat(e))}}isModifyingCurrentTransform(){return!1}getPattern(t,e,i,n){let s=i;n!==ir&&(s=Rt.transform(s,e.baseTransform),this.matrix&&(s=Rt.transform(s,this.matrix)));const a=this.createPatternCanvas(e);let r=new DOMMatrix(s);r=r.translate(a.offsetX,a.offsetY),r=r.scale(1/a.scaleX,1/a.scaleY);const o=t.createPattern(a.canvas,"repeat");return o.setTransform(r),o}}function pr(t){let{src:e,srcPos:i=0,dest:n,width:s,height:a,nonBlackColor:r=4294967295,inverseDecode:o=!1}=t;const l=Mt.isLittleEndian?4278190080:255,[c,h]=o?[r,l]:[l,r],d=s>>3,u=7&s,p=e.length;n=new Uint32Array(n.buffer);let g=0;for(let f=0;f0&&void 0!==arguments[0]?arguments[0]:tr,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const i=this.minMax.slice();if(t===er){e||pt("Stroke bounding box must include transform."),Rt.singularValueDecompose2dScale(e,mr);const t=mr[0]*this.lineWidth/2,n=mr[1]*this.lineWidth/2;i[0]-=t,i[1]-=n,i[2]+=t,i[3]+=n}return i}updateClipFromPath(){const t=Rt.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}isEmptyClip(){return this.minMax[0]===1/0}startNewPathAndClipBox(t){this.clipBox.set(t,0),this.minMax.set(vr,0)}getClippedPathBoundingBox(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tr,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Rt.intersect(this.clipBox,this.getPathBoundingBox(t,e))}}function yr(t,e){if(e instanceof ImageData)return void t.putImageData(e,0,0);const i=e.height,n=e.width,s=i%gr,a=(i-s)/gr,r=0===s?a:a+1,o=t.createImageData(n,gr);let l,c=0;const h=e.data,d=o.data;let u,p,g,f;if(e.kind===Y.GRAYSCALE_1BPP){const e=h.byteLength,i=new Uint32Array(d.buffer,0,d.byteLength>>2),f=i.length,m=n+7>>3,v=4294967295,b=Mt.isLittleEndian?4278190080:255;for(u=0;um?n:8*t-7,r=-8&a;let o=0,d=0;for(;s>=1}for(;l=a&&(g=s,f=n*g),l=0,p=f;p--;)d[l++]=h[c++],d[l++]=h[c++],d[l++]=h[c++],d[l++]=255;t.putImageData(o,0,u*gr)}}}function Ar(t,e){if(e.bitmap)return void t.drawImage(e.bitmap,0,0);const i=e.height,n=e.width,s=i%gr,a=(i-s)/gr,r=0===s?a:a+1,o=t.createImageData(n,gr);let l=0;const c=e.data,h=o.data;for(let d=0;d1&&void 0!==arguments[1]?arguments[1]:null;return"string"===typeof t?t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t):e}beginDrawing(t){let{transform:e,viewport:i,transparency:n=!1,background:s=null}=t;const a=this.ctx.canvas.width,r=this.ctx.canvas.height,o=this.ctx.fillStyle;if(this.ctx.fillStyle=s||"#ffffff",this.ctx.fillRect(0,0,a,r),this.ctx.fillStyle=o,n){const t=this.cachedCanvases.getCanvas("transparent",a,r);this.compositeCtx=this.ctx,this.transparentCanvas=t.canvas,this.ctx=t.context,this.ctx.save(),this.ctx.transform(...Zt(this.compositeCtx))}this.ctx.save(),kr(this.ctx),e&&(this.ctx.transform(...e),this.outputScaleX=e[0],this.outputScaleY=e[0]),this.ctx.transform(...i.transform),this.viewportScale=i.scale,this.baseTransform=Zt(this.ctx)}executeOperatorList(t,e,i,n){const s=t.argsArray,a=t.fnArray;let r=e||0;const o=s.length;if(o===r)return r;const l=o-r>10&&"function"===typeof i,c=l?Date.now()+15:0;let h=0;const d=this.commonObjs,u=this.objs;let p;for(;;){if(void 0!==n&&r===n.nextBreakPoint)return n.breakIt(r,i),r;if(p=a[r],p!==nt.dependency)this[p].apply(this,s[r]);else for(const t of s[r]){const e=t.startsWith("g_")?d:u;if(!e.has(t))return e.get(t,i),r}if(r++,r===o)return r;if(l&&++h>10){if(Date.now()>c)return i(),r;h=0}}}endDrawing(){l(Tr,this,Dr).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const t of this._cachedBitmapsMap.values()){for(const e of t.values())"undefined"!==typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement&&(e.width=e.height=0);t.clear()}this._cachedBitmapsMap.clear(),l(Tr,this,Ir).call(this)}_scaleImage(t,e){var i,n;const s=null!==(i=t.width)&&void 0!==i?i:t.displayWidth,a=null!==(n=t.height)&&void 0!==n?n:t.displayHeight;let r,o,l=Math.max(Math.hypot(e[0],e[1]),1),c=Math.max(Math.hypot(e[2],e[3]),1),h=s,d=a,u="prescale1";for(;l>2&&h>1||c>2&&d>1;){let e=h,i=d;l>2&&h>1&&(e=h>=16384?Math.floor(h/2)-1||1:Math.ceil(h/2),l/=h/e),c>2&&d>1&&(i=d>=16384?Math.floor(d/2)-1||1:Math.ceil(d)/2,c/=d/i),r=this.cachedCanvases.getCanvas(u,e,i),o=r.context,o.clearRect(0,0,e,i),o.drawImage(t,0,0,h,d,0,0,e,i),t=r.canvas,h=e,d=i,u="prescale1"===u?"prescale2":"prescale1"}return{img:t,paintWidth:h,paintHeight:d}}_createMaskCanvas(t){const e=this.ctx,{width:i,height:n}=t,s=this.current.fillColor,a=this.current.patternFill,r=Zt(e);let o,l,c,h;if((t.bitmap||t.data)&&t.count>1){const e=t.bitmap||t.data.buffer;l=JSON.stringify(a?r:[r.slice(0,4),s]),o=this._cachedBitmapsMap.get(e),o||(o=new Map,this._cachedBitmapsMap.set(e,o));const i=o.get(l);if(i&&!a){return{canvas:i,offsetX:Math.round(Math.min(r[0],r[2])+r[4]),offsetY:Math.round(Math.min(r[1],r[3])+r[5])}}c=i}c||(h=this.cachedCanvases.getCanvas("maskCanvas",i,n),Ar(h.context,t));let d=Rt.transform(r,[1/i,0,0,-1/n,0,0]);d=Rt.transform(d,[1,0,0,1,0,-n]);const u=vr.slice();Rt.axialAlignedBoundingBox([0,0,i,n],d,u);const[p,g,f,m]=u,v=Math.round(f-p)||1,b=Math.round(m-g)||1,w=this.cachedCanvases.getCanvas("fillCanvas",v,b),x=w.context,y=p,A=g;x.translate(-y,-A),x.transform(...d),c||(c=this._scaleImage(h.canvas,$t(x)),c=c.img,o&&a&&o.set(l,c)),x.imageSmoothingEnabled=Sr(Zt(x),t.interpolate),wr(x,c,0,0,c.width,c.height,0,0,i,n),x.globalCompositeOperation="source-in";const _=Rt.transform($t(x),[1,0,0,1,-y,-A]);return x.fillStyle=a?s.getPattern(e,this,_,tr):s,x.fillRect(0,0,i,n),o&&!a&&(this.cachedCanvases.delete("fillCanvas"),o.set(l,w.canvas)),{canvas:w.canvas,offsetX:Math.round(y),offsetY:Math.round(A)}}setLineWidth(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(t){this.ctx.lineCap=Er[t]}setLineJoin(t){this.ctx.lineJoin=Mr[t]}setMiterLimit(t){this.ctx.miterLimit=t}setDash(t,e){const i=this.ctx;void 0!==i.setLineDash&&(i.setLineDash(t),i.lineDashOffset=e)}setRenderingIntent(t){}setFlatness(t){}setGState(t){for(const[e,i]of t)switch(e){case"LW":this.setLineWidth(i);break;case"LC":this.setLineCap(i);break;case"LJ":this.setLineJoin(i);break;case"ML":this.setMiterLimit(i);break;case"D":this.setDash(i[0],i[1]);break;case"RI":this.setRenderingIntent(i);break;case"FL":this.setFlatness(i);break;case"Font":this.setFont(i[0],i[1]);break;case"CA":this.current.strokeAlpha=i;break;case"ca":this.ctx.globalAlpha=this.current.fillAlpha=i;break;case"BM":this.ctx.globalCompositeOperation=i;break;case"SMask":this.current.activeSMask=i?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(i)}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode():!this.current.activeSMask&&t&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const t=this.ctx.canvas.width,e=this.ctx.canvas.height,i="smaskGroupAt"+this.groupLevel,n=this.cachedCanvases.getCanvas(i,t,e);this.suspendedCtx=this.ctx;const s=this.ctx=n.context;s.setTransform(this.suspendedCtx.getTransform()),_r(this.suspendedCtx,s),function(t,e){if(t._removeMirroring)throw new Error("Context is already forwarding operations.");t.__originalSave=t.save,t.__originalRestore=t.restore,t.__originalRotate=t.rotate,t.__originalScale=t.scale,t.__originalTranslate=t.translate,t.__originalTransform=t.transform,t.__originalSetTransform=t.setTransform,t.__originalResetTransform=t.resetTransform,t.__originalClip=t.clip,t.__originalMoveTo=t.moveTo,t.__originalLineTo=t.lineTo,t.__originalBezierCurveTo=t.bezierCurveTo,t.__originalRect=t.rect,t.__originalClosePath=t.closePath,t.__originalBeginPath=t.beginPath,t._removeMirroring=()=>{t.save=t.__originalSave,t.restore=t.__originalRestore,t.rotate=t.__originalRotate,t.scale=t.__originalScale,t.translate=t.__originalTranslate,t.transform=t.__originalTransform,t.setTransform=t.__originalSetTransform,t.resetTransform=t.__originalResetTransform,t.clip=t.__originalClip,t.moveTo=t.__originalMoveTo,t.lineTo=t.__originalLineTo,t.bezierCurveTo=t.__originalBezierCurveTo,t.rect=t.__originalRect,t.closePath=t.__originalClosePath,t.beginPath=t.__originalBeginPath,delete t._removeMirroring},t.save=function(){e.save(),this.__originalSave()},t.restore=function(){e.restore(),this.__originalRestore()},t.translate=function(t,i){e.translate(t,i),this.__originalTranslate(t,i)},t.scale=function(t,i){e.scale(t,i),this.__originalScale(t,i)},t.transform=function(t,i,n,s,a,r){e.transform(t,i,n,s,a,r),this.__originalTransform(t,i,n,s,a,r)},t.setTransform=function(t,i,n,s,a,r){e.setTransform(t,i,n,s,a,r),this.__originalSetTransform(t,i,n,s,a,r)},t.resetTransform=function(){e.resetTransform(),this.__originalResetTransform()},t.rotate=function(t){e.rotate(t),this.__originalRotate(t)},t.clip=function(t){e.clip(t),this.__originalClip(t)},t.moveTo=function(t,i){e.moveTo(t,i),this.__originalMoveTo(t,i)},t.lineTo=function(t,i){e.lineTo(t,i),this.__originalLineTo(t,i)},t.bezierCurveTo=function(t,i,n,s,a,r){e.bezierCurveTo(t,i,n,s,a,r),this.__originalBezierCurveTo(t,i,n,s,a,r)},t.rect=function(t,i,n,s){e.rect(t,i,n,s),this.__originalRect(t,i,n,s)},t.closePath=function(){e.closePath(),this.__originalClosePath()},t.beginPath=function(){e.beginPath(),this.__originalBeginPath()}}(s,this.suspendedCtx),this.setGState([["BM","source-over"]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),_r(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(t){if(!this.current.activeSMask)return;t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const e=this.current.activeSMask,i=this.suspendedCtx;this.composeSMask(i,e,this.ctx,t),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}composeSMask(t,e,i,n){const s=n[0],a=n[1],r=n[2]-s,o=n[3]-a;0!==r&&0!==o&&(this.genericComposeSMask(e.context,i,r,o,e.subtype,e.backdrop,e.transferMap,s,a,e.offsetX,e.offsetY),t.save(),t.globalAlpha=1,t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(i.canvas,0,0),t.restore())}genericComposeSMask(t,e,i,n,s,a,r,o,l,c,h){let d=t.canvas,u=o-c,p=l-h;if(a)if(u<0||p<0||u+i>d.width||p+n>d.height){const t=this.cachedCanvases.getCanvas("maskExtension",i,n),e=t.context;e.drawImage(d,-u,-p),e.globalCompositeOperation="destination-atop",e.fillStyle=a,e.fillRect(0,0,i,n),e.globalCompositeOperation="source-over",d=t.canvas,u=p=0}else{t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);const e=new Path2D;e.rect(u,p,i,n),t.clip(e),t.globalCompositeOperation="destination-atop",t.fillStyle=a,t.fillRect(u,p,i,n),t.restore()}e.save(),e.globalAlpha=1,e.setTransform(1,0,0,1,0,0),"Alpha"===s&&r?e.filter=this.filterFactory.addAlphaFilter(r):"Luminosity"===s&&(e.filter=this.filterFactory.addLuminosityFilter(r));const g=new Path2D;g.rect(o,l,i,n),e.clip(g),e.globalCompositeOperation="destination-in",e.drawImage(d,u,p,i,n,o,l,i,n),e.restore()}save(){this.inSMaskMode&&_r(this.ctx,this.suspendedCtx),this.ctx.save();const t=this.current;this.stateStack.push(t),this.current=t.clone()}restore(){0!==this.stateStack.length?(this.current=this.stateStack.pop(),this.ctx.restore(),this.inSMaskMode&&_r(this.suspendedCtx,this.ctx),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null):this.inSMaskMode&&this.endSMaskMode()}transform(t,e,i,n,s,a){this.ctx.transform(t,e,i,n,s,a),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(t,e,i){let[n]=e;if(!i)return n||(n=e[0]=new Path2D),void this[t](n);if(!(n instanceof Path2D)){const t=e[0]=new Path2D;for(let e=0,i=n.length;e1&&void 0!==arguments[1])||arguments[1];const i=this.ctx,n=this.current.strokeColor;if(i.globalAlpha=this.current.strokeAlpha,this.contentVisible)if("object"===typeof n&&null!==n&&void 0!==n&&n.getPattern){const e=n.isModifyingCurrentTransform()?i.getTransform():null;if(i.save(),i.strokeStyle=n.getPattern(i,this,$t(i),er),e){const n=new Path2D;n.addPath(t,i.getTransform().invertSelf().multiplySelf(e)),t=n}this.rescaleAndStroke(t,!1),i.restore()}else this.rescaleAndStroke(t,!0);e&&this.consumePath(t,this.current.getClippedPathBoundingBox(er,Zt(this.ctx))),i.globalAlpha=this.current.fillAlpha}closeStroke(t){this.stroke(t)}fill(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const i=this.ctx,n=this.current.fillColor;let s=!1;if(this.current.patternFill){const e=n.isModifyingCurrentTransform()?i.getTransform():null;if(i.save(),i.fillStyle=n.getPattern(i,this,$t(i),tr),e){const n=new Path2D;n.addPath(t,i.getTransform().invertSelf().multiplySelf(e)),t=n}s=!0}const a=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==a&&(this.pendingEOFill?(i.fill(t,"evenodd"),this.pendingEOFill=!1):i.fill(t)),s&&i.restore(),e&&this.consumePath(t,a)}eoFill(t){this.pendingEOFill=!0,this.fill(t)}fillStroke(t){this.fill(t,!1),this.stroke(t,!1),this.consumePath(t)}eoFillStroke(t){this.pendingEOFill=!0,this.fillStroke(t)}closeFillStroke(t){this.fillStroke(t)}closeEOFillStroke(t){this.pendingEOFill=!0,this.fillStroke(t)}endPath(t){this.consumePath(t)}rawFillPath(t){this.ctx.fill(t)}clip(){this.pendingClip=Cr}eoClip(){this.pendingClip=Rr}beginText(){this.current.textMatrix=null,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){const t=this.pendingTextPaths,e=this.ctx;if(void 0===t)return;const i=new Path2D,n=e.getTransform().invertSelf();for(const{transform:s,x:a,y:r,fontSize:o,path:l}of t)i.addPath(l,new DOMMatrix(s).preMultiplySelf(n).translate(a,r).scale(o,-o));e.clip(i),delete this.pendingTextPaths}setCharSpacing(t){this.current.charSpacing=t}setWordSpacing(t){this.current.wordSpacing=t}setHScale(t){this.current.textHScale=t/100}setLeading(t){this.current.leading=-t}setFont(t,e){var i;const n=this.commonObjs.get(t),s=this.current;if(!n)throw new Error("Can't find font for ".concat(t));if(s.fontMatrix=n.fontMatrix||T,0!==s.fontMatrix[0]&&0!==s.fontMatrix[3]||ut("Invalid font matrix for font "+t),e<0?(e=-e,s.fontDirection=-1):s.fontDirection=1,this.current.font=n,this.current.fontSize=e,n.isType3Font)return;const a=n.loadedName||"sans-serif",r=(null===(i=n.systemFontInfo)||void 0===i?void 0:i.css)||'"'.concat(a,'", ').concat(n.fallbackName);let o="normal";n.black?o="900":n.bold&&(o="bold");const l=n.italic?"italic":"normal";let c=e;e<16?c=16:e>100&&(c=100),this.current.fontSizeScale=e/c,this.ctx.font="".concat(l," ").concat(o," ").concat(c,"px ").concat(r)}setTextRenderingMode(t){this.current.textRenderingMode=t}setTextRise(t){this.current.textRise=t}moveText(t,e){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=e}setLeadingMoveText(t,e){this.setLeading(-e),this.moveText(t,e)}setTextMatrix(t){const{current:e}=this;e.textMatrix=t,e.textMatrixScale=Math.hypot(t[0],t[1]),e.x=e.lineX=0,e.y=e.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(t,e,i,n,s){const a=this.ctx,r=this.current,o=r.font,c=r.textRenderingMode,h=r.fontSize/r.fontSizeScale,d=c&X,u=!!(c&K),p=r.patternFill&&!o.missingFile,g=r.patternStroke&&!o.missingFile;let f;if((o.disableFontFace||u||p||g)&&(f=o.getPathGenerator(this.commonObjs,t)),o.disableFontFace||p||g){let t;if(a.save(),a.translate(e,i),a.scale(h,-h),d!==G&&d!==V||(n?(t=a.getTransform(),a.setTransform(...n),a.fill(l(Tr,this,Lr).call(this,f,t,n))):a.fill(f)),d===U||d===V)if(s){t||(t=a.getTransform()),a.setTransform(...s);const{a:e,b:i,c:n,d:r}=t,o=Rt.inverseTransform(s),c=Rt.transform([e,i,n,r,0,0],o);Rt.singularValueDecompose2dScale(c,mr),a.lineWidth*=Math.max(mr[0],mr[1])/h,a.stroke(l(Tr,this,Lr).call(this,f,t,s))}else a.lineWidth/=h,a.stroke(f);a.restore()}else d!==G&&d!==V||a.fillText(t,e,i),d!==U&&d!==V||a.strokeText(t,e,i);if(u){(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:Zt(a),x:e,y:i,fontSize:h,path:f})}}get isFontSubpixelAAEnabled(){const{context:t}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);t.scale(1.5,1),t.fillText("I",0,10);const e=t.getImageData(0,0,10,10).data;let i=!1;for(let n=3;n0&&e[n]<255){i=!0;break}return vt(this,"isFontSubpixelAAEnabled",i)}showText(t){const e=this.current,i=e.font;if(i.isType3Font)return this.showType3Text(t);const n=e.fontSize;if(0===n)return;const s=this.ctx,a=e.fontSizeScale,r=e.charSpacing,o=e.wordSpacing,l=e.fontDirection,c=e.textHScale*l,h=t.length,d=i.vertical,u=d?1:-1,p=i.defaultVMetrics,g=n*e.fontMatrix[0],f=e.textRenderingMode===G&&!i.disableFontFace&&!e.patternFill;let m,v;if(s.save(),e.textMatrix&&s.transform(...e.textMatrix),s.translate(e.x,e.y+e.textRise),l>0?s.scale(c,-1):s.scale(c,1),e.patternFill){s.save();const t=e.fillColor.getPattern(s,this,$t(s),tr);m=Zt(s),s.restore(),s.fillStyle=t}if(e.patternStroke){s.save();const t=e.strokeColor.getPattern(s,this,$t(s),er);v=Zt(s),s.restore(),s.strokeStyle=t}let b=e.lineWidth;const w=e.textMatrixScale;if(0===w||0===b){const t=e.textRenderingMode&X;t!==U&&t!==V||(b=this.getSinglePixelWidth())}else b/=w;if(1!==a&&(s.scale(a,a),b/=a),s.lineWidth=b,i.isInvalidPDFjsFont){const i=[];let n=0;for(const e of t)i.push(e.unicode),n+=e.width;return s.fillText(i.join(""),0,0),e.x+=n*g*c,s.restore(),void this.compose()}let x,y=0;for(x=0;x0){const t=1e3*s.measureText(b).width/n*a;if(knew Pr(t,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};e=new ur(t,this.ctx,n,i)}else e=this._getPattern(t[1],t[2]);return e}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments),this.current.patternStroke=!0}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(t){this.ctx.strokeStyle=this.current.strokeColor=t,this.current.patternStroke=!1}setStrokeTransparent(){this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(t){this.ctx.fillStyle=this.current.fillColor=t,this.current.patternFill=!1}setFillTransparent(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(t){let e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.cachedPatterns.has(t)?e=this.cachedPatterns.get(t):(e=function(t){switch(t[0]){case"RadialAxial":return new ar(t);case"Mesh":return new lr(t);case"Dummy":return new cr}throw new Error("Unknown IR type: ".concat(t[0]))}(this.getObject(t)),this.cachedPatterns.set(t,e)),i&&(e.matrix=i),e}shadingFill(t){if(!this.contentVisible)return;const e=this.ctx;this.save();const i=this._getPattern(t);e.fillStyle=i.getPattern(e,this,$t(e),ir);const n=$t(e);if(n){const{width:t,height:i}=e.canvas,s=vr.slice();Rt.axialAlignedBoundingBox([0,0,t,i],n,s);const[a,r,o,l]=s;this.ctx.fillRect(a,r,o-a,l-r)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){pt("Should not call beginInlineImage")}beginImageData(){pt("Should not call beginImageData")}paintFormXObjectBegin(t,e){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),t&&this.transform(...t),this.baseTransform=Zt(this.ctx),e)){Rt.axialAlignedBoundingBox(e,this.baseTransform,this.current.minMax);const[t,i,n,s]=e,a=new Path2D;a.rect(t,i,n-t,s-i),this.ctx.clip(a),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(t){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const e=this.ctx;t.isolated||dt("TODO: Support non-isolated groups."),t.knockout&&ut("Knockout groups not supported.");const i=Zt(e);if(t.matrix&&e.transform(...t.matrix),!t.bbox)throw new Error("Bounding box is required.");let n=vr.slice();Rt.axialAlignedBoundingBox(t.bbox,Zt(e),n);const s=[0,0,e.canvas.width,e.canvas.height];n=Rt.intersect(n,s)||[0,0,0,0];const a=Math.floor(n[0]),r=Math.floor(n[1]),o=Math.max(Math.ceil(n[2])-a,1),l=Math.max(Math.ceil(n[3])-r,1);this.current.startNewPathAndClipBox([0,0,o,l]);let c="groupAt"+this.groupLevel;t.smask&&(c+="_smask_"+this.smaskCounter++%2);const h=this.cachedCanvases.getCanvas(c,o,l),d=h.context;d.translate(-a,-r),d.transform(...i);let u=new Path2D;const[p,g,f,m]=t.bbox;if(u.rect(p,g,f-p,m-g),t.matrix){const e=new Path2D;e.addPath(u,new DOMMatrix(t.matrix)),u=e}d.clip(u),t.smask?this.smaskStack.push({canvas:h.canvas,context:d,offsetX:a,offsetY:r,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(e.setTransform(1,0,0,1,0,0),e.translate(a,r),e.save()),_r(e,d),this.ctx=d,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(e),this.groupLevel++}endGroup(t){if(!this.contentVisible)return;this.groupLevel--;const e=this.ctx,i=this.groupStack.pop();if(this.ctx=i,this.ctx.imageSmoothingEnabled=!1,t.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const t=Zt(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...t);const i=vr.slice();Rt.axialAlignedBoundingBox([0,0,e.canvas.width,e.canvas.height],t,i),this.ctx.drawImage(e.canvas,0,0),this.ctx.restore(),this.compose(i)}}beginAnnotation(t,e,i,n,s){if(l(Tr,this,Dr).call(this),kr(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),e){const n=e[2]-e[0],a=e[3]-e[1];if(s&&this.annotationCanvasMap){(i=i.slice())[4]-=e[0],i[5]-=e[1],(e=e.slice())[0]=e[1]=0,e[2]=n,e[3]=a,Rt.singularValueDecompose2dScale(Zt(this.ctx),mr);const{viewportScale:s}=this,r=Math.ceil(n*this.outputScaleX*s),o=Math.ceil(a*this.outputScaleY*s);this.annotationCanvas=this.canvasFactory.create(r,o);const{canvas:l,context:c}=this.annotationCanvas;this.annotationCanvasMap.set(t,l),this.annotationCanvas.savedCtx=this.ctx,this.ctx=c,this.ctx.save(),this.ctx.setTransform(mr[0],0,0,-mr[1],0,a*mr[1]),kr(this.ctx)}else{kr(this.ctx),this.endPath();const t=new Path2D;t.rect(e[0],e[1],n,a),this.ctx.clip(t)}}this.current=new xr(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...i),this.transform(...n)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),l(Tr,this,Ir).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(t){if(!this.contentVisible)return;const e=t.count;(t=this.getObject(t.data,t)).count=e;const i=this.ctx,n=this._createMaskCanvas(t),s=n.canvas;i.save(),i.setTransform(1,0,0,1,0,0),i.drawImage(s,n.offsetX,n.offsetY),i.restore(),this.compose()}paintImageMaskXObjectRepeat(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;if(!this.contentVisible)return;t=this.getObject(t.data,t);const r=this.ctx;r.save();const o=Zt(r);r.transform(e,i,n,s,0,0);const l=this._createMaskCanvas(t);r.setTransform(1,0,0,1,l.offsetX-o[4],l.offsetY-o[5]);for(let c=0,h=a.length;ce?c/e:1,r=l>e?l/e:1}}this._cachedScaleForStroking[0]=a,this._cachedScaleForStroking[1]=r}return this._cachedScaleForStroking}rescaleAndStroke(t,e){const{ctx:i,current:{lineWidth:n}}=this,[s,a]=this.getScaleForStroking();if(s===a)return i.lineWidth=(n||1)*s,void i.stroke(t);const r=i.getLineDash();e&&i.save(),i.scale(s,a),fr.a=1/s,fr.d=1/a;const o=new Path2D;if(o.addPath(t,fr),r.length>0){const t=Math.max(s,a);i.setLineDash(r.map(e=>e/t)),i.lineDashOffset/=t}i.lineWidth=n||1,i.stroke(o),e&&i.restore()}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}}function Dr(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,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)}function Ir(){if(this.pageColors){const t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if("none"!==t){const e=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=e}}}function Lr(t,e,i){const n=new Path2D;return n.addPath(t,new DOMMatrix(i).invertSelf().multiplySelf(e)),n}for(const mf in nt)void 0!==Pr.prototype[mf]&&(Pr.prototype[nt[mf]]=Pr.prototype[mf]);class Fr{static get workerPort(){return l(Fr,this,Or)._}static set workerPort(t){if(!("undefined"!==typeof Worker&&t instanceof Worker)&&null!==t)throw new Error("Invalid `workerPort` type.");Or._=l(Fr,this,t)}static get workerSrc(){return l(Fr,this,Nr)._}static set workerSrc(t){if("string"!==typeof t)throw new Error("Invalid `workerSrc` type.");Nr._=l(Fr,this,t)}}var Or={_:null},Nr={_:""},Wr=new WeakMap,jr=new WeakMap;class Br{constructor(t){let{parsedData:e,rawData:i}=t;o(this,Wr,void 0),o(this,jr,void 0),d(Wr,this,e),d(jr,this,i)}getRaw(){return h(jr,this)}get(t){var e;return null!==(e=h(Wr,this).get(t))&&void 0!==e?e:null}[Symbol.iterator](){return h(Wr,this).entries()}}const zr=Symbol("INTERNAL");var Hr=new WeakMap,Gr=new WeakMap,Ur=new WeakMap,Vr=new WeakMap;class qr{constructor(t,e){let{name:i,intent:n,usage:s,rbGroups:a}=e;o(this,Hr,!1),o(this,Gr,!1),o(this,Ur,!1),o(this,Vr,!0),d(Hr,this,!!(t&I)),d(Gr,this,!!(t&L)),this.name=i,this.intent=n,this.usage=s,this.rbGroups=a}get visible(){if(h(Ur,this))return h(Vr,this);if(!h(Vr,this))return!1;const{print:t,view:e}=this.usage;return h(Hr,this)?"OFF"!==(null===e||void 0===e?void 0:e.viewState):!h(Gr,this)||"OFF"!==(null===t||void 0===t?void 0:t.printState)}_setVisible(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t!==zr&&pt("Internal method `_setVisible` called."),d(Ur,this,i),d(Vr,this,e)}}var Xr=new WeakMap,Kr=new WeakMap,Yr=new WeakMap,Qr=new WeakMap,Jr=new WeakSet;class Zr{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I;if(r(this,Jr),o(this,Xr,null),o(this,Kr,new Map),o(this,Yr,null),o(this,Qr,null),this.renderingIntent=e,this.name=null,this.creator=null,null!==t){this.name=t.name,this.creator=t.creator,d(Qr,this,t.order);for(const i of t.groups)h(Kr,this).set(i.id,new qr(e,i));if("OFF"===t.baseState)for(const t of h(Kr,this).values())t._setVisible(zr,!1);for(const e of t.on)h(Kr,this).get(e)._setVisible(zr,!0);for(const e of t.off)h(Kr,this).get(e)._setVisible(zr,!1);d(Yr,this,this.getHash())}}isVisible(t){if(0===h(Kr,this).size)return!0;if(!t)return dt("Optional content group not defined."),!0;if("OCG"===t.type)return h(Kr,this).has(t.id)?h(Kr,this).get(t.id).visible:(ut("Optional content group not found: ".concat(t.id)),!0);if("OCMD"===t.type){if(t.expression)return l(Jr,this,$r).call(this,t.expression);if(!t.policy||"AnyOn"===t.policy){for(const e of t.ids){if(!h(Kr,this).has(e))return ut("Optional content group not found: ".concat(e)),!0;if(h(Kr,this).get(e).visible)return!0}return!1}if("AllOn"===t.policy){for(const e of t.ids){if(!h(Kr,this).has(e))return ut("Optional content group not found: ".concat(e)),!0;if(!h(Kr,this).get(e).visible)return!1}return!0}if("AnyOff"===t.policy){for(const e of t.ids){if(!h(Kr,this).has(e))return ut("Optional content group not found: ".concat(e)),!0;if(!h(Kr,this).get(e).visible)return!0}return!1}if("AllOff"===t.policy){for(const e of t.ids){if(!h(Kr,this).has(e))return ut("Optional content group not found: ".concat(e)),!0;if(h(Kr,this).get(e).visible)return!1}return!0}return ut("Unknown optional content policy ".concat(t.policy,".")),!0}return ut("Unknown group type ".concat(t.type,".")),!0}setVisibility(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=h(Kr,this).get(t);if(n){if(i&&e&&n.rbGroups.length)for(const e of n.rbGroups)for(const i of e){var s;if(i!==t)null===(s=h(Kr,this).get(i))||void 0===s||s._setVisible(zr,!1,!0)}n._setVisible(zr,!!e,!0),d(Xr,this,null)}else ut("Optional content group not found: ".concat(t))}setOCGState(t){let e,{state:i,preserveRB:n}=t;for(const s of i){switch(s){case"ON":case"OFF":case"Toggle":e=s;continue}const t=h(Kr,this).get(s);if(t)switch(e){case"ON":this.setVisibility(s,!0,n);break;case"OFF":this.setVisibility(s,!1,n);break;case"Toggle":this.setVisibility(s,!t.visible,n)}}d(Xr,this,null)}get hasInitialVisibility(){return null===h(Yr,this)||this.getHash()===h(Yr,this)}getOrder(){return h(Kr,this).size?h(Qr,this)?h(Qr,this).slice():[...h(Kr,this).keys()]:null}getGroup(t){return h(Kr,this).get(t)||null}getHash(){if(null!==h(Xr,this))return h(Xr,this);const t=new Is;for(const[e,i]of h(Kr,this))t.update("".concat(e,":").concat(i.visible));return d(Xr,this,t.hexdigest())}[Symbol.iterator](){return h(Kr,this).entries()}}function $r(t){const e=t.length;if(e<2)return!0;const i=t[0];for(let n=1;n0){const t=a instanceof Uint8Array&&a.byteLength===a.buffer.byteLength?a.buffer:new Uint8Array(a).buffer;this._queuedChunks.push(t)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!n,this._isRangeSupported=!i,this._contentLength=s,this._fullRequestReader=null,this._rangeReaders=[],t.addRangeListener((t,e)=>{this._onReceiveData({begin:t,chunk:e})}),t.addProgressListener((t,e)=>{this._onProgress({loaded:t,total:e})}),t.addProgressiveReadListener(t=>{this._onReceiveData({chunk:t})}),t.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),t.transportReady()}_onReceiveData(t){let{begin:e,chunk:i}=t;const n=i instanceof Uint8Array&&i.byteLength===i.buffer.byteLength?i.buffer:new Uint8Array(i).buffer;if(void 0===e)this._fullRequestReader?this._fullRequestReader._enqueue(n):this._queuedChunks.push(n);else{gt(this._rangeReaders.some(function(t){return t._begin===e&&(t._enqueue(n),!0)}),"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var t,e;return null!==(t=null===(e=this._fullRequestReader)||void 0===e?void 0:e._loaded)&&void 0!==t?t:0}_onProgress(t){var e,i,n,s;void 0===t.total?null===(e=this._rangeReaders[0])||void 0===e||null===(i=e.onProgress)||void 0===i||i.call(e,{loaded:t.loaded}):null===(n=this._fullRequestReader)||void 0===n||null===(s=n.onProgress)||void 0===s||s.call(n,{loaded:t.loaded,total:t.total})}_onProgressiveDone(){var t;null===(t=this._fullRequestReader)||void 0===t||t.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(t){const e=this._rangeReaders.indexOf(t);e>=0&&this._rangeReaders.splice(e,1)}getFullReader(){gt(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const t=this._queuedChunks;return this._queuedChunks=null,new eo(this,t,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(t,e){if(e<=this._progressiveDataLength)return null;const i=new io(this,t,e);return this._pdfDataRangeTransport.requestDataRange(t,e),this._rangeReaders.push(i),i}cancelAllRequests(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);for(const i of this._rangeReaders.slice(0))i.cancel(t);this._pdfDataRangeTransport.abort()}}class eo{constructor(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this._stream=t,this._done=i||!1,this._filename=Ut(n)?n:null,this._queuedChunks=e||[],this._loaded=0;for(const s of this._queuedChunks)this._loaded+=s.byteLength;this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}_enqueue(t){if(!this._done){if(this._requests.length>0){this._requests.shift().resolve({value:t,done:!1})}else this._queuedChunks.push(t);this._loaded+=t.byteLength}}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}async read(){if(this._queuedChunks.length>0){return{value:this._queuedChunks.shift(),done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class io{constructor(t,e,i){this._stream=t,this._begin=e,this._end=i,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(t){if(!this._done){if(0===this._requests.length)this._queuedChunk=t;else{this._requests.shift().resolve({value:t,done:!1});for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const t=this._queuedChunk;return this._queuedChunk=null,{value:t,done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function no(t,e){const i=new Headers;if(!t||!e||"object"!==typeof e)return i;for(const n in e){const t=e[n];void 0!==t&&i.append(n,t)}return i}function so(t){var e,i;return null!==(e=null===(i=URL.parse(t))||void 0===i?void 0:i.origin)&&void 0!==e?e:null}function ao(t){let{responseHeaders:e,isHttp:i,rangeChunkSize:n,disableRange:s}=t;const a={allowRangeRequests:!1,suggestedLength:void 0},r=parseInt(e.get("Content-Length"),10);if(!Number.isInteger(r))return a;if(a.suggestedLength=r,r<=2*n)return a;if(s||!i)return a;if("bytes"!==e.get("Accept-Ranges"))return a;return"identity"!==(e.get("Content-Encoding")||"identity")||(a.allowRangeRequests=!0),a}function ro(t){const e=t.get("Content-Disposition");if(e){let t=function(t){let e=!0,i=n("filename\\*","i").exec(t);if(i){i=i[1];let t=r(i);return t=unescape(t),t=o(t),t=l(t),a(t)}if(i=function(t){const e=[];let i;const s=n("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(i=s.exec(t));){let[,t,n,s]=i;if(t=parseInt(t,10),t in e){if(0===t)break}else e[t]=[n,s]}const a=[];for(let n=0;n{if(t._responseOrigin=so(e.url),!lo(e.status))throw oo(e.status,n);this._reader=e.body.getReader(),this._headersCapability.resolve();const i=e.headers,{allowRangeRequests:s,suggestedLength:a}=ao({responseHeaders:i,isHttp:t.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=s,this._contentLength=a||this._contentLength,this._filename=ro(i),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new kt("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var t;await this._headersCapability.promise;const{value:e,done:i}=await this._reader.read();return i?{value:e,done:i}:(this._loaded+=e.byteLength,null===(t=this.onProgress)||void 0===t||t.call(this,{loaded:this._loaded,total:this._contentLength}),{value:ho(e),done:!1})}cancel(t){var e;null===(e=this._reader)||void 0===e||e.cancel(t),this._abortController.abort()}}class go{constructor(t,e,i){this._stream=t,this._reader=null,this._loaded=0;const n=t.source;this._withCredentials=n.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!n.disableStream,this._abortController=new AbortController;const s=new Headers(t.headers);s.append("Range","bytes=".concat(e,"-").concat(i-1));const a=n.url;fetch(a,co(s,this._withCredentials,this._abortController)).then(e=>{const i=so(e.url);if(i!==t._responseOrigin)throw new Error('Expected range response-origin "'.concat(i,'" to match "').concat(t._responseOrigin,'".'));if(!lo(e.status))throw oo(e.status,a);this._readCapability.resolve(),this._reader=e.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){var t;await this._readCapability.promise;const{value:e,done:i}=await this._reader.read();return i?{value:e,done:i}:(this._loaded+=e.byteLength,null===(t=this.onProgress)||void 0===t||t.call(this,{loaded:this._loaded}),{value:ho(e),done:!1})}cancel(t){var e;null===(e=this._reader)||void 0===e||e.cancel(t),this._abortController.abort()}}class fo{constructor(t){let{url:e,httpHeaders:i,withCredentials:n}=t;(0,M.A)(this,"_responseOrigin",null),this.url=e,this.isHttp=/^https?:/i.test(e),this.headers=no(this.isHttp,i),this.withCredentials=n||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}request(t){const e=new XMLHttpRequest,i=this.currXhrId++,n=this.pendingRequests[i]={xhr:e};e.open("GET",this.url),e.withCredentials=this.withCredentials;for(const[s,a]of this.headers)e.setRequestHeader(s,a);return this.isHttp&&"begin"in t&&"end"in t?(e.setRequestHeader("Range","bytes=".concat(t.begin,"-").concat(t.end-1)),n.expectedStatus=206):n.expectedStatus=200,e.responseType="arraybuffer",gt(t.onError,"Expected `onError` callback to be provided."),e.onerror=()=>{t.onError(e.status)},e.onreadystatechange=this.onStateChange.bind(this,i),e.onprogress=this.onProgress.bind(this,i),n.onHeadersReceived=t.onHeadersReceived,n.onDone=t.onDone,n.onError=t.onError,n.onProgress=t.onProgress,e.send(null),i}onProgress(t,e){var i;const n=this.pendingRequests[t];n&&(null===(i=n.onProgress)||void 0===i||i.call(n,e))}onStateChange(t,e){const i=this.pendingRequests[t];if(!i)return;const n=i.xhr;if(n.readyState>=2&&i.onHeadersReceived&&(i.onHeadersReceived(),delete i.onHeadersReceived),4!==n.readyState)return;if(!(t in this.pendingRequests))return;if(delete this.pendingRequests[t],0===n.status&&this.isHttp)return void i.onError(n.status);const s=n.status||200;if(!(200===s&&206===i.expectedStatus)&&s!==i.expectedStatus)return void i.onError(n.status);const a=function(t){const e=t.response;return"string"!==typeof e?e:Et(e).buffer}(n);if(206===s){const t=n.getResponseHeader("Content-Range"),e=/bytes (\d+)-(\d+)\/(\d+)/.exec(t);e?i.onDone({begin:parseInt(e[1],10),chunk:a}):(ut('Missing or invalid "Content-Range" header.'),i.onError(0))}else a?i.onDone({begin:0,chunk:a}):i.onError(n.status)}getRequestXhr(t){return this.pendingRequests[t].xhr}isPendingRequest(t){return t in this.pendingRequests}abortRequest(t){const e=this.pendingRequests[t].xhr;delete this.pendingRequests[t],e.abort()}}class mo{constructor(t){this._source=t,this._manager=new fo(t),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(t){const e=this._rangeRequestReaders.indexOf(t);e>=0&&this._rangeRequestReaders.splice(e,1)}getFullReader(){return gt(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new vo(this._manager,this._source),this._fullRequestReader}getRangeReader(t,e){const i=new bo(this._manager,t,e);return i.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(i),i}cancelAllRequests(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);for(const i of this._rangeRequestReaders.slice(0))i.cancel(t)}}class vo{constructor(t,e){this._manager=t,this._url=e.url,this._fullRequestId=t.request({onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._headersCapability=Promise.withResolvers(),this._disableRange=e.disableRange||!1,this._contentLength=e.length,this._rangeChunkSize=e.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}_onHeadersReceived(){const t=this._fullRequestId,e=this._manager.getRequestXhr(t);this._manager._responseOrigin=so(e.responseURL);const i=e.getAllResponseHeaders(),n=new Headers(i?i.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map(t=>{const[e,...i]=t.split(": ");return[e,i.join(": ")]}):[]),{allowRangeRequests:s,suggestedLength:a}=ao({responseHeaders:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});s&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=ro(n),this._isRangeSupported&&this._manager.abortRequest(t),this._headersCapability.resolve()}_onDone(t){if(t)if(this._requests.length>0){this._requests.shift().resolve({value:t.chunk,done:!1})}else this._cachedChunks.push(t.chunk);if(this._done=!0,!(this._cachedChunks.length>0)){for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(t){this._storedError=oo(t,this._url),this._headersCapability.reject(this._storedError);for(const e of this._requests)e.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(t){var e;null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:t.loaded,total:t.lengthComputable?t.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._headersCapability.promise}async read(){if(await this._headersCapability.promise,this._storedError)throw this._storedError;if(this._cachedChunks.length>0){return{value:this._cachedChunks.shift(),done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0,this._headersCapability.reject(t);for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class bo{constructor(t,e,i){this._manager=t,this._url=t.url,this._requestId=t.request({begin:e,end:i,onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_onHeadersReceived(){var t;const e=so(null===(t=this._manager.getRequestXhr(this._requestId))||void 0===t?void 0:t.responseURL);e!==this._manager._responseOrigin&&(this._storedError=new Error('Expected range response-origin "'.concat(e,'" to match "').concat(this._manager._responseOrigin,'".')),this._onError(0))}_close(){var t;null===(t=this.onClosed)||void 0===t||t.call(this,this)}_onDone(t){const e=t.chunk;if(this._requests.length>0){this._requests.shift().resolve({value:e,done:!1})}else this._queuedChunk=e;this._done=!0;for(const i of this._requests)i.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(t){var e;null!==(e=this._storedError)&&void 0!==e||(this._storedError=oo(t,this._url));for(const i of this._requests)i.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(t){var e;this.isStreamingSupported||(null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:t.loaded}))}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(null!==this._queuedChunk){const t=this._queuedChunk;return this._queuedChunk=null,{value:t,done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}const wo=/^[a-z][a-z0-9\-+.]+:/i;class xo{constructor(t){this.source=t,this.url=function(t){if(wo.test(t))return new URL(t);const e=process.getBuiltinModule("url");return new URL(e.pathToFileURL(t))}(t.url),gt("file:"===this.url.protocol,"PDFNodeStream only supports file:// URLs."),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var t,e;return null!==(t=null===(e=this._fullRequestReader)||void 0===e?void 0:e._loaded)&&void 0!==t?t:0}getFullReader(){return gt(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=new yo(this),this._fullRequestReader}getRangeReader(t,e){if(e<=this._progressiveDataLength)return null;const i=new Ao(this,t,e);return this._rangeRequestReaders.push(i),i}cancelAllRequests(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);for(const i of this._rangeRequestReaders.slice(0))i.cancel(t)}}class yo{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;const e=t.source;this._contentLength=e.length,this._loaded=0,this._filename=null,this._disableRange=e.disableRange||!1,this._rangeChunkSize=e.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers();const i=process.getBuiltinModule("fs");i.promises.lstat(this._url).then(t=>{this._contentLength=t.size,this._setReadableStream(i.createReadStream(this._url)),this._headersCapability.resolve()},t=>{"ENOENT"===t.code&&(t=oo(0,this._url.href)),this._storedError=t,this._headersCapability.reject(t)})}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var t;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const e=this._readableStream.read();if(null===e)return this._readCapability=Promise.withResolvers(),this.read();this._loaded+=e.length,null===(t=this.onProgress)||void 0===t||t.call(this,{loaded:this._loaded,total:this._contentLength});return{value:new Uint8Array(e).buffer,done:!1}}cancel(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",t=>{this._error(t)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new kt("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class Ao{constructor(t,e,i){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();const n=t.source;this._isStreamingSupported=!n.disableStream;const s=process.getBuiltinModule("fs");this._setReadableStream(s.createReadStream(this._url,{start:e,end:i-1}))}get isStreamingSupported(){return this._isStreamingSupported}async read(){var t;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const e=this._readableStream.read();if(null===e)return this._readCapability=Promise.withResolvers(),this.read();this._loaded+=e.length,null===(t=this.onProgress)||void 0===t||t.call(this,{loaded:this._loaded});return{value:new Uint8Array(e).buffer,done:!1}}cancel(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",t=>{this._error(t)}),this._storedError&&this._readableStream.destroy(this._storedError)}}const _o=Symbol("INITIAL_DATA");var ko=new WeakMap,So=new WeakSet;class Eo{constructor(){r(this,So),o(this,ko,Object.create(null))}get(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e){const i=l(So,this,Mo).call(this,t);return i.promise.then(()=>e(i.data)),null}const i=h(ko,this)[t];if(!i||i.data===_o)throw new Error("Requesting object that isn't resolved yet ".concat(t,"."));return i.data}has(t){const e=h(ko,this)[t];return!!e&&e.data!==_o}delete(t){const e=h(ko,this)[t];return!(!e||e.data===_o)&&(delete h(ko,this)[t],!0)}resolve(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const i=l(So,this,Mo).call(this,t);i.data=e,i.resolve()}clear(){for(const e in h(ko,this)){var t;const{data:i}=h(ko,this)[e];null===i||void 0===i||null===(t=i.bitmap)||void 0===t||t.close()}d(ko,this,Object.create(null))}*[Symbol.iterator](){for(const t in h(ko,this)){const{data:e}=h(ko,this)[t];e!==_o&&(yield[t,e])}}}function Mo(t){var e;return(e=h(ko,this))[t]||(e[t]=(0,s.A)((0,s.A)({},Promise.withResolvers()),{},{data:_o}))}var Co=new WeakMap,Ro=new WeakMap,To=new WeakMap,Po=new WeakMap,Do=new WeakMap,Io=new WeakMap,Lo=new WeakMap,Fo=new WeakMap,Oo=new WeakMap,No=new WeakMap,Wo=new WeakMap,jo=new WeakMap,Bo=new WeakMap,zo=new WeakMap,Ho=new WeakMap,Go=new WeakMap,Uo=new WeakMap,Vo=new WeakMap,qo=new WeakSet;class Xo{constructor(t){var e;let{textContentSource:i,container:n,viewport:s}=t;if(r(this,qo),o(this,Co,Promise.withResolvers()),o(this,Ro,null),o(this,To,!1),o(this,Po,!(null===(e=globalThis.FontInspector)||void 0===e||!e.enabled)),o(this,Do,null),o(this,Io,null),o(this,Lo,0),o(this,Fo,0),o(this,Oo,null),o(this,No,null),o(this,Wo,0),o(this,jo,0),o(this,Bo,Object.create(null)),o(this,zo,[]),o(this,Ho,null),o(this,Go,[]),o(this,Uo,new WeakMap),o(this,Vo,null),i instanceof ReadableStream)d(Ho,this,i);else{if("object"!==typeof i)throw new Error('No "textContentSource" parameter specified.');d(Ho,this,new ReadableStream({start(t){t.enqueue(i),t.close()}}))}d(Ro,this,d(No,this,n)),d(jo,this,s.scale*ee.pixelRatio),d(Wo,this,s.rotation),d(Io,this,{div:null,properties:null,ctx:null});const{pageWidth:a,pageHeight:l,pageX:c,pageY:u}=s.rawDims;d(Vo,this,[1,0,0,-1,-c,u+l]),d(Fo,this,a),d(Lo,this,l),$o.call(Xo),te(n,s),h(Co,this).promise.finally(()=>{al._.delete(this),d(Io,this,null),d(Bo,this,null)}).catch(()=>{})}static get fontFamilyMap(){const{isWindows:t,isFirefox:e}=Mt.platform;return vt(this,"fontFamilyMap",new Map([["sans-serif","".concat(t&&e?"Calibri, ":"","sans-serif")],["monospace","".concat(t&&e?"Lucida Console, ":"","monospace")]]))}render(){const t=()=>{h(Oo,this).read().then(e=>{var i;let{value:n,done:s}=e;s?h(Co,this).resolve():(null!==(i=h(Do,this))&&void 0!==i||d(Do,this,n.lang),Object.assign(h(Bo,this),n.styles),l(qo,this,Ko).call(this,n.items),t())},h(Co,this).reject)};return d(Oo,this,h(Ho,this).getReader()),al._.add(this),t(),h(Co,this).promise}update(t){let{viewport:e,onBefore:i=null}=t;const n=e.scale*ee.pixelRatio,s=e.rotation;if(s!==h(Wo,this)&&(null===i||void 0===i||i(),d(Wo,this,s),te(h(No,this),{rotation:s})),n!==h(jo,this)){null===i||void 0===i||i(),d(jo,this,n);const t={div:null,properties:null,ctx:Jo.call(Xo,h(Do,this))};for(const e of h(Go,this))t.properties=h(Uo,this).get(e),t.div=e,l(qo,this,Qo).call(this,t)}}cancel(){var t;const e=new kt("TextLayer task cancelled.");null===(t=h(Oo,this))||void 0===t||t.cancel(e).catch(()=>{}),d(Oo,this,null),h(Co,this).reject(e)}get textDivs(){return h(Go,this)}get textContentItemsStr(){return h(zo,this)}static cleanup(){if(!(l(Xo,this,al)._.size>0)){l(Xo,this,el)._.clear();for(const{canvas:t}of l(Xo,this,il)._.values())t.remove();l(Xo,this,il)._.clear()}}}function Ko(t){var e,i;if(h(To,this))return;null!==(i=(e=h(Io,this)).ctx)&&void 0!==i||(e.ctx=Jo.call(v,h(Do,this)));const n=h(Go,this),s=h(zo,this);for(const a of t){if(n.length>1e5)return ut("Ignoring additional textDivs for performance reasons."),void d(To,this,!0);if(void 0!==a.str)s.push(a.str),l(qo,this,Yo).call(this,a);else if("beginMarkedContentProps"===a.type||"beginMarkedContent"===a.type){const t=h(Ro,this);d(Ro,this,document.createElement("span")),h(Ro,this).classList.add("markedContent"),null!==a.id&&h(Ro,this).setAttribute("id","".concat(a.id)),t.append(h(Ro,this))}else"endMarkedContent"===a.type&&d(Ro,this,h(Ro,this).parentNode)}}function Yo(t){const e=document.createElement("span"),i={angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,fontSize:0};h(Go,this).push(e);const n=Rt.transform(h(Vo,this),t.transform);let s=Math.atan2(n[1],n[0]);const a=h(Bo,this)[t.fontName];a.vertical&&(s+=Math.PI/2);let r=h(Po,this)&&a.fontSubstitution||a.fontFamily;r=v.fontFamilyMap.get(r)||r;const o=Math.hypot(n[2],n[3]),c=o*tl.call(v,r,a,h(Do,this));let d,u;0===s?(d=n[4],u=n[5]-c):(d=n[4]+c*Math.sin(s),u=n[5]-c*Math.cos(s));const p="calc(var(--total-scale-factor) *",g=e.style;h(Ro,this)===h(No,this)?(g.left="".concat((100*d/h(Fo,this)).toFixed(2),"%"),g.top="".concat((100*u/h(Lo,this)).toFixed(2),"%")):(g.left="".concat(p).concat(d.toFixed(2),"px)"),g.top="".concat(p).concat(u.toFixed(2),"px)")),g.fontSize="".concat(p).concat((sl._*o).toFixed(2),"px)"),g.fontFamily=r,i.fontSize=o,e.setAttribute("role","presentation"),e.textContent=t.str,e.dir=t.dir,h(Po,this)&&(e.dataset.fontName=a.fontSubstitutionLoadedName||t.fontName),0!==s&&(i.angle=s*(180/Math.PI));let f=!1;if(t.str.length>1)f=!0;else if(" "!==t.str&&t.transform[0]!==t.transform[3]){const e=Math.abs(t.transform[0]),i=Math.abs(t.transform[3]);e!==i&&Math.max(e,i)/Math.min(e,i)>1.5&&(f=!0)}if(f&&(i.canvasWidth=a.vertical?t.height:t.width),h(Uo,this).set(e,i),h(Io,this).div=e,h(Io,this).properties=i,l(qo,this,Qo).call(this,h(Io,this)),i.hasText&&h(Ro,this).append(e),i.hasEOL){const t=document.createElement("br");t.setAttribute("role","presentation"),h(Ro,this).append(t)}}function Qo(t){const{div:e,properties:i,ctx:n}=t,{style:s}=e;let a="";if(sl._>1&&(a="scale(".concat(1/sl._,")")),0!==i.canvasWidth&&i.hasText){const{fontFamily:t}=s,{canvasWidth:r,fontSize:o}=i;Zo.call(v,n,o*h(jo,this),t);const{width:l}=n.measureText(e.textContent);l>0&&(a="scaleX(".concat(r*h(jo,this)/l,") ").concat(a))}0!==i.angle&&(a="rotate(".concat(i.angle,"deg) ").concat(a)),a.length>0&&(s.transform=a)}function Jo(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=l(v,this,il)._.get(t||(t=""));if(!e){const i=document.createElement("canvas");i.className="hiddenCanvasElement",i.lang=t,document.body.append(i),e=i.getContext("2d",{alpha:!1,willReadFrequently:!0}),l(v,this,il)._.set(t,e),l(v,this,nl)._.set(e,{size:0,family:""})}return e}function Zo(t,e,i){const n=l(v,this,nl)._.get(t);e===n.size&&i===n.family||(t.font="".concat(e,"px ").concat(i),n.size=e,n.family=i)}function $o(){if(null!==l(v,this,sl)._)return;const t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.style.position="absolute",t.textContent="X",document.body.append(t),sl._=l(v,this,t.getBoundingClientRect().height),t.remove()}function tl(t,e,i){const n=l(v,this,el)._.get(t);if(n)return n;const s=l(v,this,Jo).call(this,i);s.canvas.width=s.canvas.height=30,l(v,this,Zo).call(this,s,30,t);const a=s.measureText(""),r=a.fontBoundingBoxAscent,o=Math.abs(a.fontBoundingBoxDescent);s.canvas.width=s.canvas.height=0;let c=.8;return r?c=r/(r+o):(Mt.platform.isFirefox&&ut("Enable the `dom.textMetrics.fontBoundingBox.enabled` preference in `about:config` to improve TextLayer rendering."),e.ascent?c=e.ascent:e.descent&&(c=1+e.descent)),l(v,this,el)._.set(t,c),c}v=Xo;var el={_:new Map},il={_:new Map},nl={_:new WeakMap},sl={_:null},al={_:new Set};class rl{static textContent(t){const e=[],i={items:e,styles:Object.create(null)};return function t(i){var n;if(!i)return;let s=null;const a=i.name;if("#text"===a)s=i.value;else{if(!rl.shouldBuildText(a))return;null!==i&&void 0!==i&&null!==(n=i.attributes)&&void 0!==n&&n.textContent?s=i.attributes.textContent:i.value&&(s=i.value)}if(null!==s&&e.push({str:s}),i.children)for(const e of i.children)t(e)}(t),i}static shouldBuildText(t){return!("textarea"===t||"input"===t||"option"===t||"select"===t)}}function ol(){var t,e;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"string"===typeof i||i instanceof URL?i={url:i}:(i instanceof ArrayBuffer||ArrayBuffer.isView(i))&&(i={data:i});const n=new ll,{docId:s}=n,a=i.url?function(t){if(t instanceof URL)return t.href;if("string"===typeof t){if(R)return t;const e=URL.parse(t,window.location);if(e)return e.href}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}(i.url):null,r=i.data?function(t){if(R&&"undefined"!==typeof Buffer&&t instanceof Buffer)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(t instanceof Uint8Array&&t.byteLength===t.buffer.byteLength)return t;if("string"===typeof t)return Et(t);if(t instanceof ArrayBuffer||ArrayBuffer.isView(t)||"object"===typeof t&&!isNaN(null===t||void 0===t?void 0:t.length))return new Uint8Array(t);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}(i.data):null,o=i.httpHeaders||null,l=!0===i.withCredentials,c=null!==(t=i.password)&&void 0!==t?t:null,h=i.range instanceof fl?i.range:null,d=Number.isInteger(i.rangeChunkSize)&&i.rangeChunkSize>0?i.rangeChunkSize:65536;let u=i.worker instanceof El?i.worker:null;const p=i.verbosity,g="string"!==typeof i.docBaseUrl||Gt(i.docBaseUrl)?null:i.docBaseUrl,f=qs(i.cMapUrl),m=!1!==i.cMapPacked,v=i.CMapReaderFactory||(R?Ja:ya),b=qs(i.iccUrl),w=qs(i.standardFontDataUrl),x=i.StandardFontDataFactory||(R?Za:Va),y=qs(i.wasmUrl),A=i.WasmFactory||(R?$a:Xa),_=!0!==i.stopAtErrors,k=Number.isInteger(i.maxImageSize)&&i.maxImageSize>-1?i.maxImageSize:-1,S=!1!==i.isEvalSupported,E="boolean"===typeof i.isOffscreenCanvasSupported?i.isOffscreenCanvasSupported:!R,M="boolean"===typeof i.isImageDecoderSupported?i.isImageDecoderSupported:!R&&(Mt.platform.isFirefox||!globalThis.chrome),C=Number.isInteger(i.canvasMaxAreaInBytes)?i.canvasMaxAreaInBytes:-1,T="boolean"===typeof i.disableFontFace?i.disableFontFace:R,P=!0===i.fontExtraProperties,D=!0===i.enableXfa,I=i.ownerDocument||globalThis.document,L=!0===i.disableRange,F=!0===i.disableStream,O=!0===i.disableAutoFetch,N=!0===i.pdfBug,W=i.CanvasFactory||(R?Qa:wa),j=i.FilterFactory||(R?Ya:Pa),B=!0===i.enableHWA,z=!1!==i.useWasm,H=h?h.length:null!==(e=i.length)&&void 0!==e?e:NaN,G="boolean"===typeof i.useSystemFonts?i.useSystemFonts:!R&&!T,U="boolean"===typeof i.useWorkerFetch?i.useWorkerFetch:!!(v===ya&&x===Va&&A===Xa&&f&&w&&y&&qt(f,document.baseURI)&&qt(w,document.baseURI)&&qt(y,document.baseURI));ct(p);const V={canvasFactory:new W({ownerDocument:I,enableHWA:B}),filterFactory:new j({docId:s,ownerDocument:I}),cMapReaderFactory:U?null:new v({baseUrl:f,isCompressed:m}),standardFontDataFactory:U?null:new x({baseUrl:w}),wasmFactory:U?null:new A({baseUrl:y})};u||(u=El.create({verbosity:p,port:Fr.workerPort}),n._worker=u);const q={docId:s,apiVersion:"5.3.31",data:r,password:c,disableAutoFetch:O,rangeChunkSize:d,length:H,docBaseUrl:g,enableXfa:D,evaluatorOptions:{maxImageSize:k,disableFontFace:T,ignoreErrors:_,isEvalSupported:S,isOffscreenCanvasSupported:E,isImageDecoderSupported:M,canvasMaxAreaInBytes:C,fontExtraProperties:P,useSystemFonts:G,useWasm:z,useWorkerFetch:U,cMapUrl:f,iccUrl:b,standardFontDataUrl:w,wasmUrl:y}},X={ownerDocument:I,pdfBug:N,styleElement:null,loadingParams:{disableAutoFetch:O,enableXfa:D}};return u.promise.then(function(){if(n.destroyed)throw new Error("Loading aborted");if(u.destroyed)throw new Error("Worker was destroyed");const t=u.messageHandler.sendWithPromise("GetDocRequest",q,r?[r.buffer]:null);let e;if(h)e=new to(h,{disableRange:L,disableStream:F});else if(!r){if(!a)throw new Error("getDocument - no `url` parameter provided.");const t=qt(a)?uo:R?xo:mo;e=new t({url:a,length:H,httpHeaders:o,withCredentials:l,rangeChunkSize:d,disableRange:L,disableStream:F})}return t.then(t=>{if(n.destroyed)throw new Error("Loading aborted");if(u.destroyed)throw new Error("Worker was destroyed");const i=new ua(s,t,u.port),a=new zl(i,n,e,X,V);n._transport=a,i.send("Ready",null)})}).catch(n._capability.reject),n}class ll{constructor(){(0,M.A)(this,"_capability",Promise.withResolvers()),(0,M.A)(this,"_transport",null),(0,M.A)(this,"_worker",null),(0,M.A)(this,"docId","d".concat((cl._=(b=cl._,w=b++,b),w))),(0,M.A)(this,"destroyed",!1),(0,M.A)(this,"onPassword",null),(0,M.A)(this,"onProgress",null)}get promise(){return this._capability.promise}async destroy(){var t;this.destroyed=!0;try{var e,i;null!==(e=this._worker)&&void 0!==e&&e.port&&(this._worker._pendingDestroy=!0),await(null===(i=this._transport)||void 0===i?void 0:i.destroy())}catch(s){var n;throw null!==(n=this._worker)&&void 0!==n&&n.port&&delete this._worker._pendingDestroy,s}this._transport=null,null===(t=this._worker)||void 0===t||t.destroy(),this._worker=null}async getData(){return this._transport.getData()}}var cl={_:0},hl=new WeakMap,dl=new WeakMap,ul=new WeakMap,pl=new WeakMap,gl=new WeakMap;class fl{constructor(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;o(this,hl,Promise.withResolvers()),o(this,dl,[]),o(this,ul,[]),o(this,pl,[]),o(this,gl,[]),this.length=t,this.initialData=e,this.progressiveDone=i,this.contentDispositionFilename=n}addRangeListener(t){h(gl,this).push(t)}addProgressListener(t){h(pl,this).push(t)}addProgressiveReadListener(t){h(ul,this).push(t)}addProgressiveDoneListener(t){h(dl,this).push(t)}onDataRange(t,e){for(const i of h(gl,this))i(t,e)}onDataProgress(t,e){h(hl,this).promise.then(()=>{for(const i of h(pl,this))i(t,e)})}onDataProgressiveRead(t){h(hl,this).promise.then(()=>{for(const e of h(ul,this))e(t)})}onDataProgressiveDone(){h(hl,this).promise.then(()=>{for(const t of h(dl,this))t()})}transportReady(){h(hl,this).resolve()}requestDataRange(t,e){pt("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}class ml{constructor(t,e){this._pdfInfo=t,this._transport=e}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return vt(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(t){return this._transport.getPage(t)}getPageIndex(t){return this._transport.getPageIndex(t)}getDestinations(){return this._transport.getDestinations()}getDestination(t){return this._transport.getDestination(t)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){let{intent:t="display"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{renderingIntent:e}=this._transport.getRenderingIntent(t);return this._transport.getOptionalContentConfig(e)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._transport.startCleanup(t||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(t){return this._transport.cachedPageNumber(t)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}var vl=new WeakMap,bl=new WeakSet;class wl{constructor(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r(this,bl),o(this,vl,!1),this._pageIndex=t,this._pageInfo=e,this._transport=i,this._stats=n?new Vt:null,this._pdfBug=n,this.commonObjs=i.commonObjs,this.objs=new Eo,this._intentStates=new Map,this.destroyed=!1}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(){let{scale:t,rotation:e=this.rotate,offsetX:i=0,offsetY:n=0,dontFlip:s=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new zt({viewBox:this.view,userUnit:this.userUnit,scale:t,rotation:e,offsetX:i,offsetY:n,dontFlip:s})}getAnnotations(){let{intent:t="display"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{renderingIntent:e}=this._transport.getRenderingIntent(t);return this._transport.getAnnotations(this._pageIndex,e)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return vt(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){var t;return(null===(t=this._transport._htmlForXfa)||void 0===t?void 0:t.children[this._pageIndex])||null}render(t){var e,i;let{canvasContext:n,viewport:s,intent:a="display",annotationMode:r=B.ENABLE,transform:o=null,background:c=null,optionalContentConfigPromise:h=null,annotationCanvasMap:u=null,pageColors:p=null,printAnnotationStorage:g=null,isEditing:f=!1}=t;null===(e=this._stats)||void 0===e||e.time("Overall");const m=this._transport.getRenderingIntent(a,r,g,f),{renderingIntent:v,cacheKey:b}=m;d(vl,this,!1),h||(h=this._transport.getOptionalContentConfig(v));let w=this._intentStates.get(b);w||(w=Object.create(null),this._intentStates.set(b,w)),w.streamReaderCancelTimeout&&(clearTimeout(w.streamReaderCancelTimeout),w.streamReaderCancelTimeout=null);const x=!!(v&L);var y;w.displayReadyCapability||(w.displayReadyCapability=Promise.withResolvers(),w.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null===(y=this._stats)||void 0===y||y.time("Page Request"),this._pumpOperatorList(m));const A=t=>{var e;(w.renderTasks.delete(_),x&&d(vl,this,!0),l(bl,this,xl).call(this),t?(_.capability.reject(t),this._abortOperatorList({intentState:w,reason:t instanceof Error?t:new Error(t)})):_.capability.resolve(),this._stats)&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),null!==(e=globalThis.Stats)&&void 0!==e&&e.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))},_=new ql({callback:A,params:{canvasContext:n,viewport:s,transform:o,background:c},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:u,operatorList:w.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!x,pdfBug:this._pdfBug,pageColors:p});((i=w).renderTasks||(i.renderTasks=new Set)).add(_);const k=_.task;return Promise.all([w.displayReadyCapability.promise,h]).then(t=>{var e;let[i,n]=t;if(this.destroyed)A();else{if(null===(e=this._stats)||void 0===e||e.time("Rendering"),!(n.renderingIntent&v))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");_.initializeGraphics({transparency:i,optionalContentConfig:n}),_.operatorListChanged()}}).catch(A),k}getOperatorList(){let{intent:t="display",annotationMode:e=B.ENABLE,printAnnotationStorage:i=null,isEditing:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const s=this._transport.getRenderingIntent(t,e,i,n,!0);let a,r=this._intentStates.get(s.cacheKey);var o,l;(r||(r=Object.create(null),this._intentStates.set(s.cacheKey,r)),r.opListReadCapability)||(a=Object.create(null),a.operatorListChanged=function(){r.operatorList.lastChunk&&(r.opListReadCapability.resolve(r.operatorList),r.renderTasks.delete(a))},r.opListReadCapability=Promise.withResolvers(),((o=r).renderTasks||(o.renderTasks=new Set)).add(a),r.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null===(l=this._stats)||void 0===l||l.time("Page Request"),this._pumpOperatorList(s));return r.opListReadCapability.promise}streamTextContent(){let{includeMarkedContent:t=!1,disableNormalization:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:!0===t,disableNormalization:!0===e},{highWaterMark:100,size:t=>t.items.length})}getTextContent(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._transport._htmlForXfa)return this.getXfa().then(t=>rl.textContent(t));const e=this.streamTextContent(t);return new Promise(function(t,i){const n=e.getReader(),s={items:[],styles:Object.create(null),lang:null};!function e(){n.read().then(function(i){var n;let{value:a,done:r}=i;r?t(s):(null!==(n=s.lang)&&void 0!==n||(s.lang=a.lang),Object.assign(s.styles,a.styles),s.items.push(...a.items),e())},i)}()})}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const t=[];for(const e of this._intentStates.values())if(this._abortOperatorList({intentState:e,reason:new Error("Page was destroyed."),force:!0}),!e.opListReadCapability)for(const i of e.renderTasks)t.push(i.completed),i.cancel();return this.objs.clear(),d(vl,this,!1),Promise.all(t)}cleanup(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d(vl,this,!0);const e=l(bl,this,xl).call(this);return t&&e&&this._stats&&(this._stats=new Vt),e}_startRenderPage(t,e){var i,n;const s=this._intentStates.get(e);s&&(null===(i=this._stats)||void 0===i||i.timeEnd("Page Request"),null===(n=s.displayReadyCapability)||void 0===n||n.resolve(t))}_renderPageChunk(t,e){for(let i=0,n=t.length;i{o.read().then(t=>{let{value:e,done:i}=t;i?c.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,c),h())},t=>{if(c.streamReader=null,!this._transport.destroyed){if(c.operatorList){c.operatorList.lastChunk=!0;for(const t of c.renderTasks)t.operatorListChanged();l(bl,this,xl).call(this)}if(c.displayReadyCapability)c.displayReadyCapability.reject(t);else{if(!c.opListReadCapability)throw t;c.opListReadCapability.reject(t)}}})};h()}_abortOperatorList(t){let{intentState:e,reason:i,force:n=!1}=t;if(e.streamReader){if(e.streamReaderCancelTimeout&&(clearTimeout(e.streamReaderCancelTimeout),e.streamReaderCancelTimeout=null),!n){if(e.renderTasks.size>0)return;if(i instanceof Ht){let t=100;return i.extraDelay>0&&i.extraDelay<1e3&&(t+=i.extraDelay),void(e.streamReaderCancelTimeout=setTimeout(()=>{e.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:e,reason:i,force:!0})},t))}}if(e.streamReader.cancel(new kt(i.message)).catch(()=>{}),e.streamReader=null,!this._transport.destroyed){for(const[t,i]of this._intentStates)if(i===e){this._intentStates.delete(t);break}this.cleanup()}}}get stats(){return this._stats}}function xl(){if(!h(vl,this)||this.destroyed)return!1;for(const{renderTasks:t,operatorList:e}of this._intentStates.values())if(t.size>0||!e.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),d(vl,this,!1),!0}var yl=new WeakMap,Al=new WeakMap,_l=new WeakMap,kl=new WeakMap,Sl=new WeakSet;class El{constructor(){let{name:t=null,port:e=null,verbosity:i=ht()}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(r(this,Sl),o(this,yl,Promise.withResolvers()),o(this,Al,null),o(this,_l,null),o(this,kl,null),this.name=t,this.destroyed=!1,this.verbosity=i,e){if(Ll._.has(e))throw new Error("Cannot use more than one PDFWorker per port.");Ll._.set(e,this),l(Sl,this,Cl).call(this,e)}else l(Sl,this,Rl).call(this)}get promise(){return h(yl,this).promise}get port(){return h(_l,this)}get messageHandler(){return h(Al,this)}destroy(){var t,e;this.destroyed=!0,null===(t=h(kl,this))||void 0===t||t.terminate(),d(kl,this,null),Ll._.delete(h(_l,this)),d(_l,this,null),null===(e=h(Al,this))||void 0===e||e.destroy(),d(Al,this,null)}static create(t){const e=l(El,this,Ll)._.get(null===t||void 0===t?void 0:t.port);if(e){if(e._pendingDestroy)throw new Error("PDFWorker.create - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return e}return new El(t)}static get workerSrc(){if(Fr.workerSrc)return Fr.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _setupFakeWorkerGlobal(){return vt(this,"_setupFakeWorkerGlobal",(async()=>{if(c(El,this,Pl))return c(El,this,Pl);return(await import(this.workerSrc)).WorkerMessageHandler})())}}function Ml(){h(yl,this).resolve(),h(Al,this).send("configure",{verbosity:this.verbosity})}function Cl(t){d(_l,this,t),d(Al,this,new ua("main","worker",t)),h(Al,this).on("ready",()=>{}),l(Sl,this,Ml).call(this)}function Rl(){if(Il._||Pl(x))return void l(Sl,this,Tl).call(this);let{workerSrc:t}=x;try{x._isSameOrigin(window.location,t)||(t=x._createCDNWrapper(new URL(t,window.location).href));const e=new Worker(t,{type:"module"}),i=new ua("main","worker",e),n=()=>{s.abort(),i.destroy(),e.terminate(),this.destroyed?h(yl,this).reject(new Error("Worker was destroyed")):l(Sl,this,Tl).call(this)},s=new AbortController;e.addEventListener("error",()=>{h(kl,this)||n()},{signal:s.signal}),i.on("test",t=>{s.abort(),!this.destroyed&&t?(d(Al,this,i),d(_l,this,e),d(kl,this,e),l(Sl,this,Ml).call(this)):n()}),i.on("ready",t=>{if(s.abort(),this.destroyed)n();else try{a()}catch(e){l(Sl,this,Tl).call(this)}});const a=()=>{const t=new Uint8Array;i.send("test",t,[t.buffer])};return void a()}catch(e){dt("The worker has been disabled.")}l(Sl,this,Tl).call(this)}function Tl(){Il._||(ut("Setting up fake worker."),Il._=!0),x._setupFakeWorkerGlobal.then(t=>{var e,i;if(this.destroyed)return void h(yl,this).reject(new Error("Worker was destroyed"));const n=new Js;d(_l,this,n);const s="fake".concat((Dl._=(e=Dl._,i=e++,e),i)),a=new ua(s+"_worker",s,n);t.setup(a,n),d(Al,this,new ua(s,s+"_worker",n)),l(Sl,this,Ml).call(this)}).catch(t=>{h(yl,this).reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))})}function Pl(t){try{var e;return(null===(e=globalThis.pdfjsWorker)||void 0===e?void 0:e.WorkerMessageHandler)||null}catch(i){return null}}x=El;var Dl={_:0},Il={_:!1},Ll={_:new WeakMap};R&&(Il._=l(x,x,!0),Fr.workerSrc||(Fr.workerSrc="./pdf.worker.mjs")),x._isSameOrigin=(t,e)=>{const i=URL.parse(t);if(null===i||void 0===i||!i.origin||"null"===i.origin)return!1;const n=new URL(e,i);return i.origin===n.origin},x._createCDNWrapper=t=>{const e='await import("'.concat(t,'");');return URL.createObjectURL(new Blob([e],{type:"text/javascript"}))},x.fromPort=t=>{var e;if(e="`PDFWorker.fromPort` - please use `PDFWorker.create` instead.",console.log("Deprecated API usage: "+e),null===t||void 0===t||!t.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return x.create(t)};var Fl=new WeakMap,Ol=new WeakMap,Nl=new WeakMap,Wl=new WeakMap,jl=new WeakMap,Bl=new WeakSet;class zl{constructor(t,e,i,n,s){r(this,Bl),o(this,Fl,new Map),o(this,Ol,new Map),o(this,Nl,new Map),o(this,Wl,new Map),o(this,jl,null),this.messageHandler=t,this.loadingTask=e,this.commonObjs=new Eo,this.fontLoader=new Us({ownerDocument:n.ownerDocument,styleElement:n.styleElement}),this.loadingParams=n.loadingParams,this._params=n,this.canvasFactory=s.canvasFactory,this.filterFactory=s.filterFactory,this.cMapReaderFactory=s.cMapReaderFactory,this.standardFontDataFactory=s.standardFontDataFactory,this.wasmFactory=s.wasmFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=i,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}get annotationStorage(){return vt(this,"annotationStorage",new js)}getRenderingIntent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B.ENABLE,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=I,r=Ls;switch(t){case"any":a=D;break;case"display":break;case"print":a=L;break;default:ut("getRenderingIntent - invalid intent: ".concat(t))}const o=a&L&&i instanceof Hs?i:this.annotationStorage;switch(e){case B.DISABLE:a+=N;break;case B.ENABLE:break;case B.ENABLE_FORMS:a+=F;break;case B.ENABLE_STORAGE:a+=O,r=o.serializable;break;default:ut("getRenderingIntent - invalid annotationMode: ".concat(e))}n&&(a+=W),s&&(a+=j);const{ids:l,hash:c}=o.modifiedIds;return{renderingIntent:a,cacheKey:[a,r.hash,c].join("_"),annotationStorageSerializable:r,modifiedIds:l}}destroy(){var t;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),null===(t=h(jl,this))||void 0===t||t.reject(new Error("Worker was destroyed during onPassword callback"));const e=[];for(const n of h(Ol,this).values())e.push(n._destroy());h(Ol,this).clear(),h(Nl,this).clear(),h(Wl,this).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const i=this.messageHandler.sendWithPromise("Terminate",null);return e.push(i),Promise.all(e).then(()=>{var t,e;this.commonObjs.clear(),this.fontLoader.clear(),h(Fl,this).clear(),this.filterFactory.destroy(),Xo.cleanup(),null===(t=this._networkStream)||void 0===t||t.cancelAllRequests(new kt("Worker was terminated.")),null===(e=this.messageHandler)||void 0===e||e.destroy(),this.messageHandler=null,this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:t,loadingTask:e}=this;t.on("GetReader",(t,e)=>{gt(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=t=>{this._lastProgress={loaded:t.loaded,total:t.total}},e.onPull=()=>{this._fullReader.read().then(function(t){let{value:i,done:n}=t;n?e.close():(gt(i instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),e.enqueue(new Uint8Array(i),1,[i]))}).catch(t=>{e.error(t)})},e.onCancel=t=>{this._fullReader.cancel(t),e.ready.catch(t=>{if(!this.destroyed)throw t})}}),t.on("ReaderHeadersReady",async t=>{await this._fullReader.headersReady;const{isStreamingSupported:i,isRangeSupported:n,contentLength:s}=this._fullReader;if(!i||!n){var a;if(this._lastProgress)null===(a=e.onProgress)||void 0===a||a.call(e,this._lastProgress);this._fullReader.onProgress=t=>{var i;null===(i=e.onProgress)||void 0===i||i.call(e,{loaded:t.loaded,total:t.total})}}return{isStreamingSupported:i,isRangeSupported:n,contentLength:s}}),t.on("GetRangeReader",(t,e)=>{gt(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const i=this._networkStream.getRangeReader(t.begin,t.end);i?(e.onPull=()=>{i.read().then(function(t){let{value:i,done:n}=t;n?e.close():(gt(i instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),e.enqueue(new Uint8Array(i),1,[i]))}).catch(t=>{e.error(t)})},e.onCancel=t=>{i.cancel(t),e.ready.catch(t=>{if(!this.destroyed)throw t})}):e.close()}),t.on("GetDoc",t=>{let{pdfInfo:i}=t;this._numPages=i.numPages,this._htmlForXfa=i.htmlForXfa,delete i.htmlForXfa,e._capability.resolve(new ml(i,this))}),t.on("DocException",t=>{e._capability.reject(ca(t))}),t.on("PasswordRequest",t=>{d(jl,this,Promise.withResolvers());try{if(!e.onPassword)throw ca(t);const i=t=>{t instanceof Error?h(jl,this).reject(t):h(jl,this).resolve({password:t})};e.onPassword(i,t.code)}catch(i){h(jl,this).reject(i)}return h(jl,this).promise}),t.on("DataLoaded",t=>{var i;null===(i=e.onProgress)||void 0===i||i.call(e,{loaded:t.length,total:t.length}),this.downloadInfoCapability.resolve(t)}),t.on("StartRenderPage",t=>{if(this.destroyed)return;h(Ol,this).get(t.pageIndex)._startRenderPage(t.transparency,t.cacheKey)}),t.on("commonobj",e=>{var i;let[n,s,a]=e;if(this.destroyed)return null;if(this.commonObjs.has(n))return null;switch(s){case"Font":if("error"in a){const t=a.error;ut("Error during font loading: ".concat(t)),this.commonObjs.resolve(n,t);break}const e=this._params.pdfBug&&null!==(i=globalThis.FontInspector)&&void 0!==i&&i.enabled?(t,e)=>globalThis.FontInspector.fontAdded(t,e):null,r=new Vs(a,e);this.fontLoader.bind(r).catch(()=>t.sendWithPromise("FontFallback",{id:n})).finally(()=>{!r.fontExtraProperties&&r.data&&(r.data=null),this.commonObjs.resolve(n,r)});break;case"CopyLocalImage":const{imageRef:o}=a;gt(o,"The imageRef must be defined.");for(const t of h(Ol,this).values())for(const[,e]of t.objs)if((null===e||void 0===e?void 0:e.ref)===o)return e.dataLen?(this.commonObjs.resolve(n,structuredClone(e)),e.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(n,a);break;default:throw new Error("Got unknown common object type ".concat(s))}return null}),t.on("obj",t=>{let[e,i,n,s]=t;if(this.destroyed)return;const a=h(Ol,this).get(i);var r;if(!a.objs.has(e))if(0!==a._intentStates.size)switch(n){case"Image":case"Pattern":a.objs.resolve(e,s);break;default:throw new Error("Got unknown object type ".concat(n))}else null===s||void 0===s||null===(r=s.bitmap)||void 0===r||r.close()}),t.on("DocProgress",t=>{var i;this.destroyed||null===(i=e.onProgress)||void 0===i||i.call(e,{loaded:t.loaded,total:t.total})}),t.on("FetchBinaryData",async t=>{if(this.destroyed)throw new Error("Worker was destroyed.");const e=this[t.type];if(!e)throw new Error("".concat(t.type," not initialized, see the `useWorkerFetch` parameter."));return e.fetch(t)})}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){var t,e;this.annotationStorage.size<=0&&ut("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");const{map:i,transfer:n}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:i,filename:null!==(t=null===(e=this._fullReader)||void 0===e?void 0:e.filename)&&void 0!==t?t:null},n).finally(()=>{this.annotationStorage.resetModified()})}getPage(t){if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));const e=t-1,i=h(Nl,this).get(e);if(i)return i;const n=this.messageHandler.sendWithPromise("GetPage",{pageIndex:e}).then(i=>{if(this.destroyed)throw new Error("Transport destroyed");i.refStr&&h(Wl,this).set(i.refStr,t);const n=new wl(e,i,this,this._params.pdfBug);return h(Ol,this).set(e,n),n});return h(Nl,this).set(e,n),n}getPageIndex(t){return Xs(t)?this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(t,e){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:e})}getFieldObjects(){return l(Bl,this,Hl).call(this,"GetFieldObjects")}hasJSActions(){return l(Bl,this,Hl).call(this,"HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(t){return"string"!==typeof t?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return l(Bl,this,Hl).call(this,"GetDocJSActions")}getPageJSActions(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:t})}getStructTree(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:t})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(t){return l(Bl,this,Hl).call(this,"GetOptionalContentConfig").then(e=>new Zr(e,t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const t="GetMetadata",e=h(Fl,this).get(t);if(e)return e;const i=this.messageHandler.sendWithPromise(t,null).then(t=>{var e,i,n,s;return{info:t[0],metadata:t[1]?new Br(t[1]):null,contentDispositionFilename:null!==(e=null===(i=this._fullReader)||void 0===i?void 0:i.filename)&&void 0!==e?e:null,contentLength:null!==(n=null===(s=this._fullReader)||void 0===s?void 0:s.contentLength)&&void 0!==n?n:null}});return h(Fl,this).set(t,i),i}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const t of h(Ol,this).values()){if(!t.cleanup())throw new Error("startCleanup: Page ".concat(t.pageNumber," is currently rendering."))}this.commonObjs.clear(),t||this.fontLoader.clear(),h(Fl,this).clear(),this.filterFactory.destroy(!0),Xo.cleanup()}}cachedPageNumber(t){var e;if(!Xs(t))return null;const i=0===t.gen?"".concat(t.num,"R"):"".concat(t.num,"R").concat(t.gen);return null!==(e=h(Wl,this).get(i))&&void 0!==e?e:null}}function Hl(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const i=h(Fl,this).get(t);if(i)return i;const n=this.messageHandler.sendWithPromise(t,e);return h(Fl,this).set(t,n),n}var Gl=new WeakMap;class Ul{constructor(t){o(this,Gl,null),(0,M.A)(this,"onContinue",null),(0,M.A)(this,"onError",null),d(Gl,this,t)}get promise(){return h(Gl,this).capability.promise}cancel(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;h(Gl,this).cancel(null,t)}get separateAnnots(){const{separateAnnots:t}=h(Gl,this).operatorList;if(!t)return!1;const{annotationCanvasMap:e}=h(Gl,this);return t.form||t.canvas&&(null===e||void 0===e?void 0:e.size)>0}}var Vl=new WeakMap;class ql{constructor(t){let{callback:e,params:i,objs:n,commonObjs:s,annotationCanvasMap:a,operatorList:r,pageIndex:l,canvasFactory:c,filterFactory:h,useRequestAnimationFrame:d=!1,pdfBug:u=!1,pageColors:p=null}=t;o(this,Vl,null),this.callback=e,this.params=i,this.objs=n,this.commonObjs=s,this.annotationCanvasMap=a,this.operatorListIdx=null,this.operatorList=r,this._pageIndex=l,this.canvasFactory=c,this.filterFactory=h,this._pdfBug=u,this.pageColors=p,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===d&&"undefined"!==typeof window,this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new Ul(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=i.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics(t){var e,i;let{transparency:n=!1,optionalContentConfig:s}=t;if(this.cancelled)return;if(this._canvas){if(Xl._.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");Xl._.add(this._canvas)}this._pdfBug&&null!==(e=globalThis.StepperManager)&&void 0!==e&&e.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:a,viewport:r,transform:o,background:l}=this.params;this.gfx=new Pr(a,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:s},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:o,viewport:r,transparency:n,background:l}),this.operatorListIdx=0,this.graphicsReady=!0,null===(i=this.graphicsReadyCallback)||void 0===i||i.call(this)}cancel(){var t,e,i;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.running=!1,this.cancelled=!0,null===(t=this.gfx)||void 0===t||t.endDrawing(),h(Vl,this)&&(window.cancelAnimationFrame(h(Vl,this)),d(Vl,this,null)),Xl._.delete(this._canvas),n||(n=new Ht("Rendering cancelled, page ".concat(this._pageIndex+1),s)),this.callback(n),null===(e=(i=this.task).onError)||void 0===e||e.call(i,n)}operatorListChanged(){var t;this.graphicsReady?(null===(t=this.stepper)||void 0===t||t.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?d(Vl,this,window.requestAnimationFrame(()=>{d(Vl,this,null),this._nextBound().catch(this._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){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(),Xl._.delete(this._canvas),this.callback())))}}var Xl={_:new WeakSet};function Kl(t){return Math.floor(255*Math.max(0,Math.min(1,t))).toString(16).padStart(2,"0")}function Yl(t){return Math.max(0,Math.min(255,255*t))}class Ql{static CMYK_G(t){let[e,i,n,s]=t;return["G",1-Math.min(1,.3*e+.59*n+.11*i+s)]}static G_CMYK(t){let[e]=t;return["CMYK",0,0,0,1-e]}static G_RGB(t){let[e]=t;return["RGB",e,e,e]}static G_rgb(t){let[e]=t;return e=Yl(e),[e,e,e]}static G_HTML(t){let[e]=t;const i=Kl(e);return"#".concat(i).concat(i).concat(i)}static RGB_G(t){let[e,i,n]=t;return["G",.3*e+.59*i+.11*n]}static RGB_rgb(t){return t.map(Yl)}static RGB_HTML(t){return"#".concat(t.map(Kl).join(""))}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB(t){let[e,i,n,s]=t;return["RGB",1-Math.min(1,e+s),1-Math.min(1,n+s),1-Math.min(1,i+s)]}static CMYK_rgb(t){let[e,i,n,s]=t;return[Yl(1-Math.min(1,e+s)),Yl(1-Math.min(1,n+s)),Yl(1-Math.min(1,i+s))]}static CMYK_HTML(t){const e=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(e)}static RGB_CMYK(t){let[e,i,n]=t;const s=1-e,a=1-i,r=1-n;return["CMYK",s,a,r,Math.min(s,a,r)]}}class Jl{create(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t<=0||e<=0)throw new Error("Invalid SVG dimensions");const n=this._createSVG("svg:svg");return n.setAttribute("version","1.1"),i||(n.setAttribute("width","".concat(t,"px")),n.setAttribute("height","".concat(e,"px"))),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox","0 0 ".concat(t," ").concat(e)),n}createElement(t){if("string"!==typeof t)throw new Error("Invalid SVG element type");return this._createSVG(t)}_createSVG(t){pt("Abstract method `_createSVG` called.")}}class Zl extends Jl{_createSVG(t){return document.createElementNS(Wt,t)}}class $l{static setupStorage(t,e,i,n,s){const a=n.getValue(e,{value:null});switch(i.name){case"textarea":if(null!==a.value&&(t.textContent=a.value),"print"===s)break;t.addEventListener("input",t=>{n.setValue(e,{value:t.target.value})});break;case"input":if("radio"===i.attributes.type||"checkbox"===i.attributes.type){if(a.value===i.attributes.xfaOn?t.setAttribute("checked",!0):a.value===i.attributes.xfaOff&&t.removeAttribute("checked"),"print"===s)break;t.addEventListener("change",t=>{n.setValue(e,{value:t.target.checked?t.target.getAttribute("xfaOn"):t.target.getAttribute("xfaOff")})})}else{if(null!==a.value&&t.setAttribute("value",a.value),"print"===s)break;t.addEventListener("input",t=>{n.setValue(e,{value:t.target.value})})}break;case"select":if(null!==a.value){t.setAttribute("value",a.value);for(const t of i.children)t.attributes.value===a.value?t.attributes.selected=!0:t.attributes.hasOwnProperty("selected")&&delete t.attributes.selected}t.addEventListener("input",t=>{const i=t.target.options,s=-1===i.selectedIndex?"":i[i.selectedIndex].value;n.setValue(e,{value:s})})}}static setAttributes(t){let{html:e,element:i,storage:n=null,intent:s,linkService:a}=t;const{attributes:r}=i,o=e instanceof HTMLAnchorElement;"radio"===r.type&&(r.name="".concat(r.name,"-").concat(s));for(const[l,c]of Object.entries(r))if(null!==c&&void 0!==c)switch(l){case"class":c.length&&e.setAttribute(l,c.join(" "));break;case"dataId":break;case"id":e.setAttribute("data-element-id",c);break;case"style":Object.assign(e.style,c);break;case"textContent":e.textContent=c;break;default:(!o||"href"!==l&&"newWindow"!==l)&&e.setAttribute(l,c)}o&&a.addLinkAttributes(e,r.href,r.newWindow),n&&r.dataId&&this.setupStorage(e,r.dataId,i,n)}static render(t){const e=t.annotationStorage,i=t.linkService,n=t.xfaHtml,s=t.intent||"display",a=document.createElement(n.name);n.attributes&&this.setAttributes({html:a,element:n,intent:s,linkService:i});const r="richText"!==s,o=t.div;if(o.append(a),t.viewport){const e="matrix(".concat(t.viewport.transform.join(","),")");o.style.transform=e}r&&o.setAttribute("class","xfaLayer xfaFont");const l=[];if(0===n.children.length){if(n.value){const t=document.createTextNode(n.value);a.append(t),r&&rl.shouldBuildText(n.name)&&l.push(t)}return{textDivs:l}}const c=[[n,-1,a]];for(;c.length>0;){var h,d;const[t,n,a]=c.at(-1);if(n+1===t.children.length){c.pop();continue}const o=t.children[++c.at(-1)[1]];if(null===o)continue;const{name:u}=o;if("#text"===u){const t=document.createTextNode(o.value);l.push(t),a.append(t);continue}const p=null!==o&&void 0!==o&&null!==(h=o.attributes)&&void 0!==h&&h.xmlns?document.createElementNS(o.attributes.xmlns,u):document.createElement(u);if(a.append(p),o.attributes&&this.setAttributes({html:p,element:o,storage:e,intent:s,linkService:i}),(null===(d=o.children)||void 0===d?void 0:d.length)>0)c.push([o,-1,p]);else if(o.value){const t=document.createTextNode(o.value);r&&rl.shouldBuildText(u)&&l.push(t),p.append(t)}}for(const u of o.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))u.setAttribute("readOnly",!0);return{textDivs:l}}static update(t){const e="matrix(".concat(t.viewport.transform.join(","),")");t.div.style.transform=e,t.div.hidden=!1}}const tc=1e3,ec=new WeakSet;class ic{static create(t){switch(t.data.annotationType){case Q.LINK:return new hc(t);case Q.TEXT:return new gc(t);case Q.WIDGET:switch(t.data.fieldType){case"Tx":return new mc(t);case"Btn":return t.data.radioButton?new wc(t):t.data.checkBox?new bc(t):new xc(t);case"Ch":return new yc(t);case"Sig":return new vc(t)}return new fc(t);case Q.POPUP:return new Ac(t);case Q.FREETEXT:return new $c(t);case Q.LINE:return new eh(t);case Q.SQUARE:return new nh(t);case Q.CIRCLE:return new ah(t);case Q.POLYLINE:return new oh(t);case Q.CARET:return new ch(t);case Q.INK:return new ph(t);case Q.POLYGON:return new lh(t);case Q.HIGHLIGHT:return new fh(t);case Q.UNDERLINE:return new mh(t);case Q.SQUIGGLY:return new vh(t);case Q.STRIKEOUT:return new bh(t);case Q.STAMP:return new wh(t);case Q.FILEATTACHMENT:return new Ah(t);default:return new oc(t)}}}var nc=new WeakMap,sc=new WeakMap,ac=new WeakMap,rc=new WeakSet;class oc{constructor(t){let{isRenderable:e=!1,ignoreBorder:i=!1,createQuadrilaterals:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,rc),o(this,nc,null),o(this,sc,!1),o(this,ac,null),this.isRenderable=e,this.data=t.data,this.layer=t.layer,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this.parent=t.parent,e&&(this.container=this._createContainer(i)),n&&this._createQuadrilaterals()}static _hasPopupData(t){let{titleObj:e,contentsObj:i,richText:n}=t;return!!(null!==e&&void 0!==e&&e.str||null!==i&&void 0!==i&&i.str||null!==n&&void 0!==n&&n.str)}get _isEditable(){return this.data.isEditable}get hasPopupData(){return oc._hasPopupData(this.data)}updateEdited(t){var e;if(!this.container)return;h(nc,this)||d(nc,this,{rect:this.data.rect.slice(0)});const{rect:i}=t;i&&l(rc,this,lc).call(this,i),null===(e=h(ac,this))||void 0===e||e.popup.updateEdited(t)}resetEdited(){var t;h(nc,this)&&(l(rc,this,lc).call(this,h(nc,this).rect),null===(t=h(ac,this))||void 0===t||t.popup.resetEdited(),d(nc,this,null))}_createContainer(t){const{data:e,parent:{page:i,viewport:n}}=this,s=document.createElement("section");s.setAttribute("data-annotation-id",e.id),this instanceof fc||(s.tabIndex=tc);const{style:a}=s;if(a.zIndex=this.parent.zIndex++,e.alternativeText&&(s.title=e.alternativeText),e.noRotate&&s.classList.add("norotate"),!e.rect||this instanceof Ac){const{rotation:t}=e;return e.hasOwnCanvas||0===t||this.setRotation(t,s),s}const{width:r,height:o}=this;if(!t&&e.borderStyle.width>0){a.borderWidth="".concat(e.borderStyle.width,"px");const t=e.borderStyle.horizontalCornerRadius,i=e.borderStyle.verticalCornerRadius;if(t>0||i>0){const e="calc(".concat(t,"px * var(--total-scale-factor)) / calc(").concat(i,"px * var(--total-scale-factor))");a.borderRadius=e}else if(this instanceof wc){const t="calc(".concat(r,"px * var(--total-scale-factor)) / calc(").concat(o,"px * var(--total-scale-factor))");a.borderRadius=t}switch(e.borderStyle.style){case J:a.borderStyle="solid";break;case Z:a.borderStyle="dashed";break;case $:ut("Unimplemented border style: beveled");break;case tt:ut("Unimplemented border style: inset");break;case et:a.borderBottomStyle="solid"}const n=e.borderColor||null;n?(d(sc,this,!0),a.borderColor=Rt.makeHexColor(0|n[0],0|n[1],0|n[2])):a.borderWidth=0}const l=Rt.normalizeRect([e.rect[0],i.view[3]-e.rect[1]+i.view[1],e.rect[2],i.view[3]-e.rect[3]+i.view[1]]),{pageWidth:c,pageHeight:h,pageX:u,pageY:p}=n.rawDims;a.left="".concat(100*(l[0]-u)/c,"%"),a.top="".concat(100*(l[1]-p)/h,"%");const{rotation:g}=e;return e.hasOwnCanvas||0===g?(a.width="".concat(100*r/c,"%"),a.height="".concat(100*o/h,"%")):this.setRotation(g,s),s}setRotation(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.container;if(!this.data.rect)return;const{pageWidth:i,pageHeight:n}=this.parent.viewport.rawDims;let{width:s,height:a}=this;t%180!==0&&([s,a]=[a,s]),e.style.width="".concat(100*s/i,"%"),e.style.height="".concat(100*a/n,"%"),e.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){const t=(t,e,i)=>{const n=i.detail[t],s=n[0],a=n.slice(1);i.target.style[e]=Ql["".concat(s,"_HTML")](a),this.annotationStorage.setValue(this.data.id,{[e]:Ql["".concat(s,"_rgb")](a)})};return vt(this,"_commonActions",{display:t=>{const{display:e}=t.detail,i=e%2===1;this.container.style.visibility=i?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:i,noPrint:1===e||2===e})},print:t=>{this.annotationStorage.setValue(this.data.id,{noPrint:!t.detail.print})},hidden:t=>{const{hidden:e}=t.detail;this.container.style.visibility=e?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:e,noView:e})},focus:t=>{setTimeout(()=>t.target.focus({preventScroll:!1}),0)},userName:t=>{t.target.title=t.detail.userName},readonly:t=>{t.target.disabled=t.detail.readonly},required:t=>{this._setRequired(t.target,t.detail.required)},bgColor:e=>{t("bgColor","backgroundColor",e)},fillColor:e=>{t("fillColor","backgroundColor",e)},fgColor:e=>{t("fgColor","color",e)},textColor:e=>{t("textColor","color",e)},borderColor:e=>{t("borderColor","borderColor",e)},strokeColor:e=>{t("strokeColor","borderColor",e)},rotation:t=>{const e=t.detail.rotation;this.setRotation(e),this.annotationStorage.setValue(this.data.id,{rotation:e})}})}_dispatchEventFromSandbox(t,e){const i=this._commonActions;for(const n of Object.keys(e.detail)){const s=t[n]||i[n];null===s||void 0===s||s(e)}}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;const e=this.annotationStorage.getRawValue(this.data.id);if(!e)return;const i=this._commonActions;for(const[n,s]of Object.entries(e)){const a=i[n];if(a){a({detail:{[n]:s},target:t}),delete e[n]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:t}=this.data;if(!t)return;const[e,i,n,s]=this.data.rect.map(t=>Math.fround(t));if(8===t.length){const[a,r,o,l]=t.subarray(2,6);if(n===a&&s===r&&e===o&&i===l)return}const{style:a}=this.container;let r;if(h(sc,this)){const{borderColor:t,borderWidth:e}=a;a.borderWidth=0,r=["url('data:image/svg+xml;utf8,",'','')],this.container.classList.add("hasBorder")}const o=n-e,l=s-i,{svgFactory:c}=this,d=c.createElement("svg");d.classList.add("quadrilateralsContainer"),d.setAttribute("width",0),d.setAttribute("height",0);const u=c.createElement("defs");d.append(u);const p=c.createElement("clipPath"),g="clippath_".concat(this.data.id);p.setAttribute("id",g),p.setAttribute("clipPathUnits","objectBoundingBox"),u.append(p);for(let h=2,m=t.length;h'))}h(sc,this)&&(r.push("')"),a.backgroundImage=r.join("")),this.container.append(d),this.container.style.clipPath="url(#".concat(g,")")}_createPopup(){const{data:t}=this,e=d(ac,this,new Ac({data:{color:t.color,titleObj:t.titleObj,modificationDate:t.modificationDate,contentsObj:t.contentsObj,richText:t.richText,parentRect:t.rect,borderStyle:0,id:"popup_".concat(t.id),rotation:t.rotation},parent:this.parent,elements:[this]}));this.parent.div.append(e.render())}render(){pt("Abstract method `AnnotationElement.render` called")}_getElementsByName(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const i=[];if(this._fieldObjects){const n=this._fieldObjects[t];if(n)for(const{page:t,id:s,exportValues:a}of n){if(-1===t)continue;if(s===e)continue;const n="string"===typeof a?a:null,r=document.querySelector('[data-element-id="'.concat(s,'"]'));!r||ec.has(r)?i.push({id:s,exportValue:n,domElement:r}):ut("_getElementsByName - element not allowed: ".concat(s))}return i}for(const n of document.getElementsByName(t)){const{exportValue:t}=n,s=n.getAttribute("data-element-id");s!==e&&(ec.has(n)&&i.push({id:s,exportValue:t,domElement:n}))}return i}show(){var t;this.container&&(this.container.hidden=!1),null===(t=this.popup)||void 0===t||t.maybeShow()}hide(){var t;this.container&&(this.container.hidden=!0),null===(t=this.popup)||void 0===t||t.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const t=this.getElementsToTriggerPopup();if(Array.isArray(t))for(const e of t)e.classList.add("highlightArea");else t.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:t,data:{id:e}}=this;this.container.addEventListener("dblclick",()=>{var i;null===(i=this.linkService.eventBus)||void 0===i||i.dispatch("switchannotationeditormode",{source:this,mode:t,editId:e})})}get width(){return this.data.rect[2]-this.data.rect[0]}get height(){return this.data.rect[3]-this.data.rect[1]}}function lc(t){const{container:{style:e},data:{rect:i,rotation:n},parent:{viewport:{rawDims:{pageWidth:s,pageHeight:a,pageX:r,pageY:o}}}}=this;null===i||void 0===i||i.splice(0,4,...t),e.left="".concat(100*(t[0]-r)/s,"%"),e.top="".concat(100*(a-t[3]+o)/a,"%"),0===n?(e.width="".concat(100*(t[2]-t[0])/s,"%"),e.height="".concat(100*(t[3]-t[1])/a,"%")):this.setRotation(n)}var cc=new WeakSet;class hc extends oc{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;super(t,{isRenderable:!0,ignoreBorder:!(null===e||void 0===e||!e.ignoreBorder),createQuadrilaterals:!0}),r(this,cc),this.isTooltipOnly=t.data.isTooltipOnly}render(){const{data:t,linkService:e}=this,i=document.createElement("a");i.setAttribute("data-element-id",t.id);let n=!1;return t.url?(e.addLinkAttributes(i,t.url,t.newWindow),n=!0):t.action?(this._bindNamedAction(i,t.action),n=!0):t.attachment?(l(cc,this,uc).call(this,i,t.attachment,t.attachmentDest),n=!0):t.setOCGState?(l(cc,this,pc).call(this,i,t.setOCGState),n=!0):t.dest?(this._bindLink(i,t.dest),n=!0):(t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(i,t),n=!0),t.resetForm?(this._bindResetFormAction(i,t.resetForm),n=!0):this.isTooltipOnly&&!n&&(this._bindLink(i,""),n=!0)),this.container.classList.add("linkAnnotation"),n&&this.container.append(i),this.container}_bindLink(t,e){t.href=this.linkService.getDestinationHash(e),t.onclick=()=>(e&&this.linkService.goToDestination(e),!1),(e||""===e)&&l(cc,this,dc).call(this)}_bindNamedAction(t,e){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeNamedAction(e),!1),l(cc,this,dc).call(this)}_bindJSAction(t,e){t.href=this.linkService.getAnchorUrl("");const i=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const n of Object.keys(e.actions)){const s=i.get(n);s&&(t[s]=()=>{var t;return null===(t=this.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e.id,name:n}}),!1})}t.onclick||(t.onclick=()=>!1),l(cc,this,dc).call(this)}_bindResetFormAction(t,e){const i=t.onclick;if(i||(t.href=this.linkService.getAnchorUrl("")),l(cc,this,dc).call(this),!this._fieldObjects)return ut('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(i||(t.onclick=()=>!1));t.onclick=()=>{null===i||void 0===i||i();const{fields:t,refs:n,include:s}=e,a=[];if(0!==t.length||0!==n.length){const e=new Set(n);for(const i of t){const t=this._fieldObjects[i]||[];for(const{id:i}of t)e.add(i)}for(const t of Object.values(this._fieldObjects))for(const i of t)e.has(i.id)===s&&a.push(i)}else for(const e of Object.values(this._fieldObjects))a.push(...e);const r=this.annotationStorage,o=[];for(const e of a){const{id:t}=e;switch(o.push(t),e.type){case"text":{const i=e.defaultValue||"";r.setValue(t,{value:i});break}case"checkbox":case"radiobutton":{const i=e.defaultValue===e.exportValues;r.setValue(t,{value:i});break}case"combobox":case"listbox":{const i=e.defaultValue||"";r.setValue(t,{value:i});break}default:continue}const i=document.querySelector('[data-element-id="'.concat(t,'"]'));i&&(ec.has(i)?i.dispatchEvent(new Event("resetform")):ut("_bindResetFormAction - element not allowed: ".concat(t)))}var l;this.enableScripting&&(null===(l=this.linkService.eventBus)||void 0===l||l.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:o,name:"ResetForm"}}));return!1}}}function dc(){this.container.setAttribute("data-internal-link","")}function uc(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t.href=this.linkService.getAnchorUrl(""),e.description&&(t.title=e.description),t.onclick=()=>{var t;return null===(t=this.downloadManager)||void 0===t||t.openOrDownloadData(e.content,e.filename,i),!1},l(cc,this,dc).call(this)}function pc(t,e){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeSetOCGState(e),!1),l(cc,this,dc).call(this)}class gc extends oc{constructor(t){super(t,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(t),this.container}}class fc extends oc{render(){return this.container}showElementAndHideCanvas(t){var e;this.data.hasOwnCanvas&&("CANVAS"===(null===(e=t.previousSibling)||void 0===e?void 0:e.nodeName)&&(t.previousSibling.hidden=!0),t.hidden=!1)}_getKeyModifier(t){return Mt.platform.isMac?t.metaKey:t.ctrlKey}_setEventListener(t,e,i,n,s){i.includes("mouse")?t.addEventListener(i,t=>{var e;null===(e=this.linkService.eventBus)||void 0===e||e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:s(t),shift:t.shiftKey,modifier:this._getKeyModifier(t)}})}):t.addEventListener(i,t=>{var a;if("blur"===i){if(!e.focused||!t.relatedTarget)return;e.focused=!1}else if("focus"===i){if(e.focused)return;e.focused=!0}s&&(null===(a=this.linkService.eventBus)||void 0===a||a.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:s(t)}}))})}_setEventListeners(t,e,i,n){for(const[o,l]of i){var s,a,r;if("Action"===l||null!==(s=this.data.actions)&&void 0!==s&&s[l])"Focus"!==l&&"Blur"!==l||e||(e={focused:!1}),this._setEventListener(t,e,o,l,n),"Focus"!==l||null!==(a=this.data.actions)&&void 0!==a&&a.Blur?"Blur"!==l||null!==(r=this.data.actions)&&void 0!==r&&r.Focus||this._setEventListener(t,e,"focus","Focus",null):this._setEventListener(t,e,"blur","Blur",null)}}_setBackgroundColor(t){const e=this.data.backgroundColor||null;t.style.backgroundColor=null===e?"transparent":Rt.makeHexColor(e[0],e[1],e[2])}_setTextStyle(t){const e=["left","center","right"],{fontColor:i}=this.data.defaultAppearanceData,n=this.data.defaultAppearanceData.fontSize||9,s=t.style;let a;const r=t=>Math.round(10*t)/10;if(this.data.multiLine){const t=Math.abs(this.data.rect[3]-this.data.rect[1]-2),e=t/(Math.round(t/(P*n))||1);a=Math.min(n,r(e/P))}else{const t=Math.abs(this.data.rect[3]-this.data.rect[1]-2);a=Math.min(n,r(t/P))}s.fontSize="calc(".concat(a,"px * var(--total-scale-factor))"),s.color=Rt.makeHexColor(i[0],i[1],i[2]),null!==this.data.textAlignment&&(s.textAlign=e[this.data.textAlignment])}_setRequired(t,e){e?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",e)}}class mc extends fc{constructor(t){super(t,{isRenderable:t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue})}setPropertyOnSiblings(t,e,i,n){const s=this.annotationStorage;for(const a of this._getElementsByName(t.name,t.id))a.domElement&&(a.domElement[e]=i),s.setValue(a.id,{[n]:i})}render(){const t=this.annotationStorage,e=this.data.id;this.container.classList.add("textWidgetAnnotation");let i=null;if(this.renderForms){var n;const a=t.getValue(e,{value:this.data.fieldValue});let r=a.value||"";const o=t.getValue(e,{charLimit:this.data.maxLen}).charLimit;o&&r.length>o&&(r=r.slice(0,o));let l=a.formattedValue||(null===(n=this.data.textContent)||void 0===n?void 0:n.join("\n"))||null;l&&this.data.comb&&(l=l.replaceAll(/\s+/g,""));const c={userValue:r,formattedValue:l,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(i=document.createElement("textarea"),i.textContent=null!==l&&void 0!==l?l:r,this.data.doNotScroll&&(i.style.overflowY="hidden")):(i=document.createElement("input"),i.type=this.data.password?"password":"text",i.setAttribute("value",null!==l&&void 0!==l?l:r),this.data.doNotScroll&&(i.style.overflowX="hidden")),this.data.hasOwnCanvas&&(i.hidden=!0),ec.add(i),i.setAttribute("data-element-id",e),i.disabled=this.data.readOnly,i.name=this.data.fieldName,i.tabIndex=tc,this._setRequired(i,this.data.required),o&&(i.maxLength=o),i.addEventListener("input",n=>{t.setValue(e,{value:n.target.value}),this.setPropertyOnSiblings(i,"value",n.target.value,"value"),c.formattedValue=null}),i.addEventListener("resetform",t=>{var e;const n=null!==(e=this.data.defaultFieldValue)&&void 0!==e?e:"";i.value=c.userValue=n,c.formattedValue=null});let h=t=>{const{formattedValue:e}=c;null!==e&&void 0!==e&&(t.target.value=e),t.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){var s;i.addEventListener("focus",t=>{var e;if(c.focused)return;const{target:i}=t;c.userValue&&(i.value=c.userValue),c.lastCommittedValue=i.value,c.commitKey=1,null!==(e=this.data.actions)&&void 0!==e&&e.Focus||(c.focused=!0)}),i.addEventListener("updatefromsandbox",i=>{this.showElementAndHideCanvas(i.target);const n={value(i){var n;c.userValue=null!==(n=i.detail.value)&&void 0!==n?n:"",t.setValue(e,{value:c.userValue.toString()}),i.target.value=c.userValue},formattedValue(i){const{formattedValue:n}=i.detail;c.formattedValue=n,null!==n&&void 0!==n&&i.target!==document.activeElement&&(i.target.value=n),t.setValue(e,{formattedValue:n})},selRange(t){t.target.setSelectionRange(...t.detail.selRange)},charLimit:i=>{var n;const{charLimit:s}=i.detail,{target:a}=i;if(0===s)return void a.removeAttribute("maxLength");a.setAttribute("maxLength",s);let r=c.userValue;!r||r.length<=s||(r=r.slice(0,s),a.value=c.userValue=r,t.setValue(e,{value:r}),null===(n=this.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:r,willCommit:!0,commitKey:1,selStart:a.selectionStart,selEnd:a.selectionEnd}}))}};this._dispatchEventFromSandbox(n,i)}),i.addEventListener("keydown",t=>{var i;c.commitKey=1;let n=-1;if("Escape"===t.key?n=0:"Enter"!==t.key||this.data.multiLine?"Tab"===t.key&&(c.commitKey=3):n=2,-1===n)return;const{value:s}=t.target;c.lastCommittedValue!==s&&(c.lastCommittedValue=s,c.userValue=s,null===(i=this.linkService.eventBus)||void 0===i||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:s,willCommit:!0,commitKey:n,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}}))});const n=h;h=null,i.addEventListener("blur",t=>{var i;if(!c.focused||!t.relatedTarget)return;null!==(i=this.data.actions)&&void 0!==i&&i.Blur||(c.focused=!1);const{value:s}=t.target;var a;(c.userValue=s,c.lastCommittedValue!==s)&&(null===(a=this.linkService.eventBus)||void 0===a||a.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:s,willCommit:!0,commitKey:c.commitKey,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}}));n(t)}),null!==(s=this.data.actions)&&void 0!==s&&s.Keystroke&&i.addEventListener("beforeinput",t=>{var i;c.lastCommittedValue=null;const{data:n,target:s}=t,{value:a,selectionStart:r,selectionEnd:o}=s;let l=r,h=o;switch(t.inputType){case"deleteWordBackward":{const t=a.substring(0,r).match(/\w*[^\w]*$/);t&&(l-=t[0].length);break}case"deleteWordForward":{const t=a.substring(r).match(/^[^\w]*\w*/);t&&(h+=t[0].length);break}case"deleteContentBackward":r===o&&(l-=1);break;case"deleteContentForward":r===o&&(h+=1)}t.preventDefault(),null===(i=this.linkService.eventBus)||void 0===i||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:a,change:n||"",willCommit:!1,selStart:l,selEnd:h}})}),this._setEventListeners(i,c,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],t=>t.target.value)}if(h&&i.addEventListener("blur",h),this.data.comb){const t=(this.data.rect[2]-this.data.rect[0])/o;i.classList.add("comb"),i.style.letterSpacing="calc(".concat(t,"px * var(--total-scale-factor) - 1ch)")}}else i=document.createElement("div"),i.textContent=this.data.fieldValue,i.style.verticalAlign="middle",i.style.display="table-cell",this.data.hasOwnCanvas&&(i.hidden=!0);return this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}class vc extends fc{constructor(t){super(t,{isRenderable:!!t.data.hasOwnCanvas})}}class bc extends fc{constructor(t){super(t,{isRenderable:t.renderForms})}render(){const t=this.annotationStorage,e=this.data,i=e.id;let n=t.getValue(i,{value:e.exportValue===e.fieldValue}).value;"string"===typeof n&&(n="Off"!==n,t.setValue(i,{value:n})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const s=document.createElement("input");return ec.add(s),s.setAttribute("data-element-id",i),s.disabled=e.readOnly,this._setRequired(s,this.data.required),s.type="checkbox",s.name=e.fieldName,n&&s.setAttribute("checked",!0),s.setAttribute("exportValue",e.exportValue),s.tabIndex=tc,s.addEventListener("change",n=>{const{name:s,checked:a}=n.target;for(const r of this._getElementsByName(s,i)){const i=a&&r.exportValue===e.exportValue;r.domElement&&(r.domElement.checked=i),t.setValue(r.id,{value:i})}t.setValue(i,{value:a})}),s.addEventListener("resetform",t=>{const i=e.defaultFieldValue||"Off";t.target.checked=i===e.exportValue}),this.enableScripting&&this.hasJSActions&&(s.addEventListener("updatefromsandbox",e=>{const n={value(e){e.target.checked="Off"!==e.detail.value,t.setValue(i,{value:e.target.checked})}};this._dispatchEventFromSandbox(n,e)}),this._setEventListeners(s,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],t=>t.target.checked)),this._setBackgroundColor(s),this._setDefaultPropertiesFromJS(s),this.container.append(s),this.container}}class wc extends fc{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const t=this.annotationStorage,e=this.data,i=e.id;let n=t.getValue(i,{value:e.fieldValue===e.buttonValue}).value;if("string"===typeof n&&(n=n!==e.buttonValue,t.setValue(i,{value:n})),n)for(const a of this._getElementsByName(e.fieldName,i))t.setValue(a.id,{value:!1});const s=document.createElement("input");if(ec.add(s),s.setAttribute("data-element-id",i),s.disabled=e.readOnly,this._setRequired(s,this.data.required),s.type="radio",s.name=e.fieldName,n&&s.setAttribute("checked",!0),s.tabIndex=tc,s.addEventListener("change",e=>{const{name:n,checked:s}=e.target;for(const a of this._getElementsByName(n,i))t.setValue(a.id,{value:!1});t.setValue(i,{value:s})}),s.addEventListener("resetform",t=>{const i=e.defaultFieldValue;t.target.checked=null!==i&&void 0!==i&&i===e.buttonValue}),this.enableScripting&&this.hasJSActions){const n=e.buttonValue;s.addEventListener("updatefromsandbox",e=>{const s={value:e=>{const s=n===e.detail.value;for(const n of this._getElementsByName(e.target.name)){const e=s&&n.id===i;n.domElement&&(n.domElement.checked=e),t.setValue(n.id,{value:e})}}};this._dispatchEventFromSandbox(s,e)}),this._setEventListeners(s,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],t=>t.target.checked)}return this._setBackgroundColor(s),this._setDefaultPropertiesFromJS(s),this.container.append(s),this.container}}class xc extends hc{constructor(t){super(t,{ignoreBorder:t.data.hasAppearance})}render(){const t=super.render();t.classList.add("buttonWidgetAnnotation","pushButton");const e=t.lastChild;return this.enableScripting&&this.hasJSActions&&e&&(this._setDefaultPropertiesFromJS(e),e.addEventListener("updatefromsandbox",t=>{this._dispatchEventFromSandbox({},t)})),t}}class yc extends fc{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const t=this.annotationStorage,e=this.data.id,i=t.getValue(e,{value:this.data.fieldValue}),n=document.createElement("select");ec.add(n),n.setAttribute("data-element-id",e),n.disabled=this.data.readOnly,this._setRequired(n,this.data.required),n.name=this.data.fieldName,n.tabIndex=tc;let s=this.data.combo&&this.data.options.length>0;this.data.combo||(n.size=this.data.options.length,this.data.multiSelect&&(n.multiple=!0)),n.addEventListener("resetform",t=>{const e=this.data.defaultFieldValue;for(const i of n.options)i.selected=i.value===e});for(const c of this.data.options){const t=document.createElement("option");t.textContent=c.displayValue,t.value=c.exportValue,i.value.includes(c.exportValue)&&(t.setAttribute("selected",!0),s=!1),n.append(t)}let a=null;if(s){const t=document.createElement("option");t.value=" ",t.setAttribute("hidden",!0),t.setAttribute("selected",!0),n.prepend(t),a=()=>{t.remove(),n.removeEventListener("input",a),a=null},n.addEventListener("input",a)}const r=t=>{const e=t?"value":"textContent",{options:i,multiple:s}=n;return s?Array.prototype.filter.call(i,t=>t.selected).map(t=>t[e]):-1===i.selectedIndex?null:i[i.selectedIndex][e]};let o=r(!1);const l=t=>{const e=t.target.options;return Array.prototype.map.call(e,t=>({displayValue:t.textContent,exportValue:t.value}))};return this.enableScripting&&this.hasJSActions?(n.addEventListener("updatefromsandbox",i=>{const s={value(i){var s;null===(s=a)||void 0===s||s();const l=i.detail.value,c=new Set(Array.isArray(l)?l:[l]);for(const t of n.options)t.selected=c.has(t.value);t.setValue(e,{value:r(!0)}),o=r(!1)},multipleSelection(t){n.multiple=!0},remove(i){const s=n.options,a=i.detail.remove;if(s[a].selected=!1,n.remove(a),s.length>0){-1===Array.prototype.findIndex.call(s,t=>t.selected)&&(s[0].selected=!0)}t.setValue(e,{value:r(!0),items:l(i)}),o=r(!1)},clear(i){for(;0!==n.length;)n.remove(0);t.setValue(e,{value:null,items:[]}),o=r(!1)},insert(i){const{index:s,displayValue:a,exportValue:c}=i.detail.insert,h=n.children[s],d=document.createElement("option");d.textContent=a,d.value=c,h?h.before(d):n.append(d),t.setValue(e,{value:r(!0),items:l(i)}),o=r(!1)},items(i){const{items:s}=i.detail;for(;0!==n.length;)n.remove(0);for(const t of s){const{displayValue:e,exportValue:i}=t,s=document.createElement("option");s.textContent=e,s.value=i,n.append(s)}n.options.length>0&&(n.options[0].selected=!0),t.setValue(e,{value:r(!0),items:l(i)}),o=r(!1)},indices(i){const n=new Set(i.detail.indices);for(const t of i.target.options)t.selected=n.has(t.index);t.setValue(e,{value:r(!0)}),o=r(!1)},editable(t){t.target.disabled=!t.detail.editable}};this._dispatchEventFromSandbox(s,i)}),n.addEventListener("input",i=>{var n;const s=r(!0),a=r(!1);t.setValue(e,{value:s}),i.preventDefault(),null===(n=this.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:o,change:a,changeEx:s,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(n,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],t=>t.target.value)):n.addEventListener("input",function(i){t.setValue(e,{value:r(!0)})}),this.data.combo&&this._setTextStyle(n),this._setBackgroundColor(n),this._setDefaultPropertiesFromJS(n),this.container.append(n),this.container}}class Ac extends oc{constructor(t){const{data:e,elements:i}=t;super(t,{isRenderable:oc._hasPopupData(e)}),this.elements=i,this.popup=null}render(){this.container.classList.add("popupAnnotation");const t=this.popup=new Gc({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),e=[];for(const i of this.elements)i.popup=t,i.container.ariaHasPopup="dialog",e.push(i.data.id),i.addHighlightArea();return this.container.setAttribute("aria-controls",e.map(t=>"".concat(Ft).concat(t)).join(",")),this.container}}var _c=new WeakMap,kc=new WeakMap,Sc=new WeakMap,Ec=new WeakMap,Mc=new WeakMap,Cc=new WeakMap,Rc=new WeakMap,Tc=new WeakMap,Pc=new WeakMap,Dc=new WeakMap,Ic=new WeakMap,Lc=new WeakMap,Fc=new WeakMap,Oc=new WeakMap,Nc=new WeakMap,Wc=new WeakMap,jc=new WeakMap,Bc=new WeakMap,zc=new WeakMap,Hc=new WeakSet;class Gc{constructor(t){let{container:e,color:i,elements:n,titleObj:s,modificationDate:a,contentsObj:c,richText:u,parent:p,rect:g,parentRect:f,open:m}=t;r(this,Hc),o(this,_c,l(Hc,this,Kc).bind(this)),o(this,kc,l(Hc,this,Zc).bind(this)),o(this,Sc,l(Hc,this,Jc).bind(this)),o(this,Ec,l(Hc,this,Qc).bind(this)),o(this,Mc,null),o(this,Cc,null),o(this,Rc,null),o(this,Tc,null),o(this,Pc,null),o(this,Dc,null),o(this,Ic,null),o(this,Lc,!1),o(this,Fc,null),o(this,Oc,null),o(this,Nc,null),o(this,Wc,null),o(this,jc,null),o(this,Bc,null),o(this,zc,!1),d(Cc,this,e),d(jc,this,s),d(Rc,this,c),d(Wc,this,u),d(Dc,this,p),d(Mc,this,i),d(Nc,this,g),d(Ic,this,f),d(Pc,this,n),d(Tc,this,Yt.toDateObject(a)),this.trigger=n.flatMap(t=>t.getElementsToTriggerPopup());for(const r of this.trigger)r.addEventListener("click",h(Ec,this)),r.addEventListener("mouseenter",h(Sc,this)),r.addEventListener("mouseleave",h(kc,this)),r.classList.add("popupTriggerArea");for(const r of n){var v;null===(v=r.container)||void 0===v||v.addEventListener("keydown",h(_c,this))}h(Cc,this).hidden=!0,m&&l(Hc,this,Qc).call(this)}render(){if(h(Fc,this))return;const t=d(Fc,this,document.createElement("div"));if(t.className="popup",h(Mc,this)){const e=t.style.outlineColor=Rt.makeHexColor(...h(Mc,this));t.style.backgroundColor="color-mix(in srgb, ".concat(e," 30%, white)")}const e=document.createElement("span");e.className="header";const i=document.createElement("h1");if(e.append(i),({dir:i.dir,str:i.textContent}=h(jc,this)),t.append(e),h(Tc,this)){const t=document.createElement("span");t.classList.add("popupDate"),t.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),t.setAttribute("data-l10n-args",JSON.stringify({dateObj:h(Tc,this).valueOf()})),e.append(t)}const n=c(Hc,this,Uc);if(n)$l.render({xfaHtml:n,intent:"richText",div:t}),t.lastChild.classList.add("richText","popupContent");else{const e=this._formatContents(h(Rc,this));t.append(e)}h(Cc,this).append(t)}_formatContents(t){let{str:e,dir:i}=t;const n=document.createElement("p");n.classList.add("popupContent"),n.dir=i;const s=e.split(/(?:\r\n?|\n)/);for(let a=0,r=s.length;a=0&&s.setAttribute("stroke-width",e||1),i)for(let a=0,r=h(dh,this).length;a{"Enter"===t.key&&(n?t.metaKey:t.ctrlKey)&&l(yh,this,_h).call(this)}),!e.popupRef&&this.hasPopupData?this._createPopup():i.classList.add("popupTriggerArea"),t.append(i),t}getElementsToTriggerPopup(){return h(xh,this)}addHighlightArea(){this.container.classList.add("highlightArea")}}function _h(){var t;null===(t=this.downloadManager)||void 0===t||t.openOrDownloadData(this.content,this.filename)}var kh=new WeakMap,Sh=new WeakMap,Eh=new WeakMap,Mh=new WeakMap,Ch=new WeakSet;class Rh{constructor(t){let{div:e,accessibilityManager:i,annotationCanvasMap:n,annotationEditorUIManager:s,page:a,viewport:l,structTreeLayer:c}=t;r(this,Ch),o(this,kh,null),o(this,Sh,null),o(this,Eh,new Map),o(this,Mh,null),this.div=e,d(kh,this,i),d(Sh,this,n),d(Mh,this,c||null),this.page=a,this.viewport=l,this.zIndex=0,this._annotationEditorUIManager=s}hasEditableAnnotations(){return h(Eh,this).size>0}async render(t){const{annotations:e}=t,i=this.div;te(i,this.viewport);const n=new Map,s={data:null,layer:i,linkService:t.linkService,downloadManager:t.downloadManager,imageResourcesPath:t.imageResourcesPath||"",renderForms:!1!==t.renderForms,svgFactory:new Zl,annotationStorage:t.annotationStorage||new js,enableScripting:!0===t.enableScripting,hasJSActions:t.hasJSActions,fieldObjects:t.fieldObjects,parent:this,elements:null};for(const r of e){if(r.noHTML)continue;const t=r.annotationType===Q.POPUP;if(t){const t=n.get(r.id);if(!t)continue;s.elements=t}else if(r.rect[2]===r.rect[0]||r.rect[3]===r.rect[1])continue;s.data=r;const e=ic.create(s);if(!e.isRenderable)continue;if(!t&&r.popupRef){const t=n.get(r.popupRef);t?t.push(e):n.set(r.popupRef,[e])}const i=e.render();var a;if(r.hidden&&(i.style.visibility="hidden"),await l(Ch,this,Th).call(this,i,r.id),e._isEditable)h(Eh,this).set(e.data.id,e),null===(a=this._annotationEditorUIManager)||void 0===a||a.renderAnnotationElement(e)}l(Ch,this,Ph).call(this)}async addLinkAnnotations(t,e){const i={data:null,layer:this.div,linkService:e,svgFactory:new Zl,parent:this};for(const n of t){n.borderStyle||(n.borderStyle=Rh._defaultBorderStyle),i.data=n;const t=ic.create(i);if(!t.isRenderable)continue;const e=t.render();await l(Ch,this,Th).call(this,e,n.id)}}update(t){let{viewport:e}=t;const i=this.div;this.viewport=e,te(i,{rotation:e.rotation}),l(Ch,this,Ph).call(this),i.hidden=!1}getEditableAnnotations(){return Array.from(h(Eh,this).values())}getEditableAnnotation(t){return h(Eh,this).get(t)}static get _defaultBorderStyle(){return vt(this,"_defaultBorderStyle",Object.freeze({width:1,rawWidth:1,style:J,dashArray:[3],horizontalCornerRadius:0,verticalCornerRadius:0}))}}async function Th(t,e){var i,n;const s=t.firstChild||t,a=s.id="".concat(Ft).concat(e),r=await(null===(i=h(Mh,this))||void 0===i?void 0:i.getAriaAttributes(a));if(r)for(const[o,l]of r)s.setAttribute(o,l);this.div.append(t),null===(n=h(kh,this))||void 0===n||n.moveElementInDOM(this.div,t,s,!1)}function Ph(){if(!h(Sh,this))return;const t=this.div;for(const[i,n]of h(Sh,this)){const s=t.querySelector('[data-annotation-id="'.concat(i,'"]'));if(!s)continue;n.className="annotationContent";const{firstChild:a}=s;a?"CANVAS"===a.nodeName?a.replaceWith(n):a.classList.contains("annotationContent")?a.after(n):a.before(n):s.append(n);const r=h(Eh,this).get(i);var e;if(r)if(r._hasNoCanvas)null===(e=this._annotationEditorUIManager)||void 0===e||e.setMissingCanvas(i,s.id,n),r._hasNoCanvas=!1;else r.canvas=n}h(Sh,this).clear()}const Dh=/\r\n?|\n/g;var Ih=new WeakMap,Lh=new WeakMap,Fh=new WeakMap,Oh=new WeakMap,Nh=new WeakMap,Wh=new WeakSet;class jh extends cs{static get _keyboardManager(){const t=jh.prototype,e=t=>t.isEmpty(),i=Fi.TRANSLATE_SMALL,n=Fi.TRANSLATE_BIG;return vt(this,"_keyboardManager",new ze([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],t.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],t.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],t._translateEmpty,{args:[-i,0],checker:e}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-n,0],checker:e}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[i,0],checker:e}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[n,0],checker:e}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-i],checker:e}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-n],checker:e}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,i],checker:e}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,n],checker:e}]]))}constructor(t){super((0,s.A)((0,s.A)({},t),{},{name:"freeTextEditor"})),r(this,Wh),o(this,Ih,void 0),o(this,Lh,""),o(this,Fh,"".concat(this.id,"-editor")),o(this,Oh,null),o(this,Nh,void 0),d(Ih,this,t.color||jh._defaultColor||cs._defaultLineColor),d(Nh,this,t.fontSize||jh._defaultFontSize)}static initialize(t,e){cs.initialize(t,e);const i=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(i.getPropertyValue("--freetext-padding"))}static updateDefaultParams(t,e){switch(t){case H.FREETEXT_SIZE:jh._defaultFontSize=e;break;case H.FREETEXT_COLOR:jh._defaultColor=e}}updateParams(t,e){switch(t){case H.FREETEXT_SIZE:l(Wh,this,Bh).call(this,e);break;case H.FREETEXT_COLOR:l(Wh,this,zh).call(this,e)}}static get defaultPropertiesToUpdate(){return[[H.FREETEXT_SIZE,jh._defaultFontSize],[H.FREETEXT_COLOR,jh._defaultColor||cs._defaultLineColor]]}get propertiesToUpdate(){return[[H.FREETEXT_SIZE,h(Nh,this)],[H.FREETEXT_COLOR,h(Ih,this)]]}_translateEmpty(t,e){this._uiManager.translateSelectedEditors(t,e,!0)}getInitialTranslation(){const t=this.parentScale;return[-jh._internalPadding*t,-(jh._internalPadding+h(Nh,this))*t]}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(!super.enableEditMode())return!1;this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),d(Oh,this,new AbortController);const t=this._uiManager.combinedSignal(h(Oh,this));return this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:t}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:t}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:t}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:t}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:t}),!0}disableEditMode(){var t;return!!super.disableEditMode()&&(this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",h(Fh,this)),this._isDraggable=!0,null===(t=h(Oh,this))||void 0===t||t.abort(),d(Oh,this,null),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"),!0)}focusin(t){this._focusEventsAllowed&&(super.focusin(t),t.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(t){var e;this.width||(this.enableEditMode(),t&&this.editorDiv.focus(),null!==(e=this._initialOptions)&&void 0!==e&&e.isCentered&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const t=h(Lh,this),e=d(Lh,this,l(Wh,this,Hh).call(this).trimEnd());if(t===e)return;const i=t=>{d(Lh,this,t),t?(l(Wh,this,Vh).call(this),this._uiManager.rebuild(this),l(Wh,this,Gh).call(this)):this.remove()};this.addCommands({cmd:()=>{i(e)},undo:()=>{i(t)},mustExec:!1}),l(Wh,this,Gh).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}keydown(t){t.target===this.div&&"Enter"===t.key&&(this.enterInEditMode(),t.preventDefault())}editorDivKeydown(t){jh._keyboardManager.exec(this,t)}editorDivFocus(t){this.isEditing=!0}editorDivBlur(t){this.isEditing=!1}editorDivInput(t){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}get canChangeContent(){return!0}render(){if(this.div)return this.div;let t,e;(this._isCopy||this.annotationElementId)&&(t=this.x,e=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",h(Fh,this)),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text2"),this.editorDiv.setAttribute("data-l10n-attrs","default-content"),this.enableEditing(),this.editorDiv.contentEditable=!0;const{style:i}=this.editorDiv;if(i.fontSize="calc(".concat(h(Nh,this),"px * var(--total-scale-factor))"),i.color=h(Ih,this),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),this._isCopy||this.annotationElementId){const[i,n]=this.parentDimensions;if(this.annotationElementId){const{position:s}=this._initialData;let[a,r]=this.getInitialTranslation();[a,r]=this.pageTranslationToScreen(a,r);const[o,l]=this.pageDimensions,[c,h]=this.pageTranslation;let d,u;switch(this.rotation){case 0:d=t+(s[0]-c)/o,u=e+this.height-(s[1]-h)/l;break;case 90:d=t+(s[0]-c)/o,u=e-(s[1]-h)/l,[a,r]=[r,-a];break;case 180:d=t-this.width+(s[0]-c)/o,u=e-(s[1]-h)/l,[a,r]=[-a,-r];break;case 270:d=t+(s[0]-c-this.height*l)/o,u=e+(s[1]-h-this.width*o)/l,[a,r]=[-r,a]}this.setAt(d*i,u*n,a,r)}else this._moveAfterPaste(t,e);l(Wh,this,Vh).call(this),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}editorDivPaste(t){const e=t.clipboardData||window.clipboardData,{types:i}=e;if(1===i.length&&"text/plain"===i[0])return;t.preventDefault();const n=Xh.call(jh,e.getData("text")||"").replaceAll(Dh,"\n");if(!n)return;const s=window.getSelection();if(!s.rangeCount)return;this.editorDiv.normalize(),s.deleteFromDocument();const a=s.getRangeAt(0);if(!n.includes("\n"))return a.insertNode(document.createTextNode(n)),this.editorDiv.normalize(),void s.collapseToStart();const{startContainer:r,startOffset:o}=a,c=[],h=[];if(r.nodeType===Node.TEXT_NODE){const t=r.parentElement;if(h.push(r.nodeValue.slice(o).replaceAll(Dh,"")),t!==this.editorDiv){let e=c;for(const i of this.editorDiv.childNodes)i!==t?e.push(Uh.call(jh,i)):e=h}c.push(r.nodeValue.slice(0,o).replaceAll(Dh,""))}else if(r===this.editorDiv){let t=c,e=0;for(const i of this.editorDiv.childNodes)e++===o&&(t=h),t.push(Uh.call(jh,i))}d(Lh,this,"".concat(c.join("\n")).concat(n).concat(h.join("\n"))),l(Wh,this,Vh).call(this);const u=new Range;let p=Math.sumPrecise(c.map(t=>t.length));for(const{firstChild:l}of this.editorDiv.childNodes)if(l.nodeType===Node.TEXT_NODE){const t=l.nodeValue.length;if(p<=t){u.setStart(l,p),u.setEnd(l,p);break}p-=t}s.removeAllRanges(),s.addRange(u)}get contentDiv(){return this.editorDiv}static async deserialize(t,e,i){let n=null;if(t instanceof $c){const{data:{defaultAppearanceData:{fontSize:e,fontColor:i},rect:s,rotation:a,id:r,popupRef:o},textContent:l,textPosition:c,parent:{page:{pageNumber:h}}}=t;if(!l||0===l.length)return null;n=t={annotationType:z.FREETEXT,color:Array.from(i),fontSize:e,value:l.join("\n"),position:c,pageIndex:h-1,rect:s.slice(0),rotation:a,id:r,deleted:!1,popupRef:o}}const s=await super.deserialize(t,e,i);return d(Nh,s,t.fontSize),d(Ih,s,Rt.makeHexColor(...t.color)),d(Lh,s,Xh.call(jh,t.value)),s.annotationElementId=t.id||null,s._initialData=n,s}serialize(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const e=jh._internalPadding*this.parentScale,i=this.getRect(e,e),n=cs._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:h(Ih,this)),s={annotationType:z.FREETEXT,color:n,fontSize:h(Nh,this),value:l(Wh,this,qh).call(this),pageIndex:this.pageIndex,rect:i,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?(s.isCopy=!0,s):this.annotationElementId&&!l(Wh,this,Kh).call(this,s)?null:(s.id=this.annotationElementId,s)}renderAnnotationElement(t){const e=super.renderAnnotationElement(t);if(this.deleted)return e;const{style:i}=e;i.fontSize="calc(".concat(h(Nh,this),"px * var(--total-scale-factor))"),i.color=h(Ih,this),e.replaceChildren();for(const s of h(Lh,this).split("\n")){const t=document.createElement("div");t.append(s?document.createTextNode(s):document.createElement("br")),e.append(t)}const n=jh._internalPadding*this.parentScale;return t.updateEdited({rect:this.getRect(n,n),popupContent:h(Lh,this)}),e}resetAnnotationElement(t){super.resetAnnotationElement(t),t.resetEdited()}}function Bh(t){const e=t=>{this.editorDiv.style.fontSize="calc(".concat(t,"px * var(--total-scale-factor))"),this.translate(0,-(t-h(Nh,this))*this.parentScale),d(Nh,this,t),l(Wh,this,Gh).call(this)},i=h(Nh,this);this.addCommands({cmd:e.bind(this,t),undo:e.bind(this,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:H.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}function zh(t){const e=t=>{d(Ih,this,this.editorDiv.style.color=t)},i=h(Ih,this);this.addCommands({cmd:e.bind(this,t),undo:e.bind(this,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:H.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function Hh(){const t=[];this.editorDiv.normalize();let e=null;for(const n of this.editorDiv.childNodes){var i;(null===(i=e)||void 0===i?void 0:i.nodeType)===Node.TEXT_NODE&&"BR"===n.nodeName||(t.push(Uh.call(y,n)),e=n)}return t.join("\n")}function Gh(){const[t,e]=this.parentDimensions;let i;if(this.isAttachedToDOM)i=this.div.getBoundingClientRect();else{const{currentLayer:t,div:e}=this,n=e.style.display,s=e.classList.contains("hidden");e.classList.remove("hidden"),e.style.display="hidden",t.div.append(this.div),i=e.getBoundingClientRect(),e.remove(),e.style.display=n,e.classList.toggle("hidden",s)}this.rotation%180===this.parentRotation%180?(this.width=i.width/t,this.height=i.height/e):(this.width=i.height/t,this.height=i.width/e),this.fixAndSetPosition()}function Uh(t){return(t.nodeType===Node.TEXT_NODE?t.nodeValue:t.innerText).replaceAll(Dh,"")}function Vh(){if(this.editorDiv.replaceChildren(),h(Lh,this))for(const t of h(Lh,this).split("\n")){const e=document.createElement("div");e.append(t?document.createTextNode(t):document.createElement("br")),this.editorDiv.append(e)}}function qh(){return h(Lh,this).replaceAll("\xa0"," ")}function Xh(t){return t.replaceAll(" ","\xa0")}function Kh(t){const{value:e,fontSize:i,color:n,pageIndex:s}=this._initialData;return this._hasBeenMoved||t.value!==e||t.fontSize!==i||t.color.some((t,e)=>t!==n[e])||t.pageIndex!==s}y=jh,(0,M.A)(jh,"_freeTextDefaultContent",""),(0,M.A)(jh,"_internalPadding",0),(0,M.A)(jh,"_defaultColor",null),(0,M.A)(jh,"_defaultFontSize",10),(0,M.A)(jh,"_type","freetext"),(0,M.A)(jh,"_editorType",z.FREETEXT);class Yh{toSVGPath(){pt("Abstract method `toSVGPath` must be implemented.")}get box(){pt("Abstract getter `box` must be implemented.")}serialize(t,e){pt("Abstract method `serialize` must be implemented.")}static _rescale(t,e,i,n,s,a){a||(a=new Float32Array(t.length));for(let r=0,o=t.length;r5&&void 0!==arguments[5]?arguments[5]:0;r(this,cd),o(this,Qh,void 0),o(this,Jh,[]),o(this,Zh,void 0),o(this,$h,void 0),o(this,td,[]),o(this,ed,new Float32Array(18)),o(this,id,void 0),o(this,nd,void 0),o(this,sd,void 0),o(this,ad,void 0),o(this,rd,void 0),o(this,od,void 0),o(this,ld,[]),d(Qh,this,e),d(od,this,n*i),d($h,this,s),h(ed,this).set([NaN,NaN,NaN,NaN,a,l],6),d(Zh,this,c),d(ad,this,bd._*i),d(sd,this,wd._*i),d(rd,this,i),h(ld,this).push(a,l)}isEmpty(){return isNaN(h(ed,this)[8])}add(t){var e;let{x:i,y:n}=t;d(id,this,i),d(nd,this,n);const[s,a,r,o]=h(Qh,this);let[l,c,u,p]=h(ed,this).subarray(8,12);const g=i-u,f=n-p,m=Math.hypot(g,f);if(m=6;n-=6)isNaN(e[n])?i.push("L".concat(e[n+4]," ").concat(e[n+5])):i.push("C".concat(e[n]," ").concat(e[n+1]," ").concat(e[n+2]," ").concat(e[n+3]," ").concat(e[n+4]," ").concat(e[n+5]));return l(cd,this,pd).call(this,i),i.join(" ")}newFreeDrawOutline(t,e,i,n,s,a){return new Cd(t,e,i,n,s,a)}getOutlines(){var t,e;const i=h(td,this),n=h(Jh,this),s=h(ed,this),[a,r,o,c]=h(Qh,this),d=new Float32Array((null!==(t=null===(e=h(ld,this))||void 0===e?void 0:e.length)&&void 0!==t?t:0)+2);for(let l=0,g=d.length-2;l=6;l-=6)for(let t=0;t<6;t+=2)isNaN(n[l+t])?(u[p]=u[p+1]=NaN,p+=2):(u[p]=n[l+t],u[p+1]=n[l+t+1],p+=2);return l(cd,this,md).call(this,u,p),this.newFreeDrawOutline(u,d,h(Qh,this),h(rd,this),h(Zh,this),h($h,this))}}function dd(){const t=h(ed,this).subarray(4,6),e=h(ed,this).subarray(16,18),[i,n,s,a]=h(Qh,this);return[(h(id,this)+(t[0]-e[0])/2-i)/s,(h(nd,this)+(t[1]-e[1])/2-n)/a,(h(id,this)+(e[0]-t[0])/2-i)/s,(h(nd,this)+(e[1]-t[1])/2-n)/a]}function ud(){const[t,e,i,n]=h(Qh,this),[s,a,r,o]=l(cd,this,dd).call(this);return"M".concat((h(ed,this)[2]-t)/i," ").concat((h(ed,this)[3]-e)/n," L").concat((h(ed,this)[4]-t)/i," ").concat((h(ed,this)[5]-e)/n," L").concat(s," ").concat(a," L").concat(r," ").concat(o," L").concat((h(ed,this)[16]-t)/i," ").concat((h(ed,this)[17]-e)/n," L").concat((h(ed,this)[14]-t)/i," ").concat((h(ed,this)[15]-e)/n," Z")}function pd(t){const e=h(Jh,this);t.push("L".concat(e[4]," ").concat(e[5]," Z"))}function gd(t){const[e,i,n,s]=h(Qh,this),a=h(ed,this).subarray(4,6),r=h(ed,this).subarray(16,18),[o,c,d,u]=l(cd,this,dd).call(this);t.push("L".concat((a[0]-e)/n," ").concat((a[1]-i)/s," L").concat(o," ").concat(c," L").concat(d," ").concat(u," L").concat((r[0]-e)/n," ").concat((r[1]-i)/s))}function fd(t){const e=h(ed,this),[i,n,s,a]=h(Qh,this),[r,o,c,d]=l(cd,this,dd).call(this),u=new Float32Array(36);return u.set([NaN,NaN,NaN,NaN,(e[2]-i)/s,(e[3]-n)/a,NaN,NaN,NaN,NaN,(e[4]-i)/s,(e[5]-n)/a,NaN,NaN,NaN,NaN,r,o,NaN,NaN,NaN,NaN,c,d,NaN,NaN,NaN,NaN,(e[16]-i)/s,(e[17]-n)/a,NaN,NaN,NaN,NaN,(e[14]-i)/s,(e[15]-n)/a],0),this.newFreeDrawOutline(u,t,h(Qh,this),h(rd,this),h(Zh,this),h($h,this))}function md(t,e){const i=h(Jh,this);return t.set([NaN,NaN,NaN,NaN,i[4],i[5]],e),e+6}function vd(t,e){const i=h(ed,this).subarray(4,6),n=h(ed,this).subarray(16,18),[s,a,r,o]=h(Qh,this),[c,d,u,p]=l(cd,this,dd).call(this);return t.set([NaN,NaN,NaN,NaN,(i[0]-s)/r,(i[1]-a)/o,NaN,NaN,NaN,NaN,c,d,NaN,NaN,NaN,NaN,u,p,NaN,NaN,NaN,NaN,(n[0]-s)/r,(n[1]-a)/o],e),e+24}var bd={_:8},wd={_:bd._+2},xd=new WeakMap,yd=new WeakMap,Ad=new WeakMap,_d=new WeakMap,kd=new WeakMap,Sd=new WeakMap,Ed=new WeakMap,Md=new WeakSet;class Cd extends Yh{constructor(t,e,i,n,s,a){super(),r(this,Md),o(this,xd,void 0),o(this,yd,new Float32Array(4)),o(this,Ad,void 0),o(this,_d,void 0),o(this,kd,void 0),o(this,Sd,void 0),o(this,Ed,void 0),d(Ed,this,t),d(kd,this,e),d(xd,this,i),d(Sd,this,n),d(Ad,this,s),d(_d,this,a),this.lastPoint=[NaN,NaN],l(Md,this,Rd).call(this,a);const[c,u,p,g]=h(yd,this);for(let r=0,o=t.length;r5&&void 0!==arguments[5]?arguments[5]:0)}getNewOutline(t,e){const[i,n,s,a]=h(yd,this),[r,o,l,c]=h(xd,this),d=s*l,u=a*c,p=i*l+r,g=n*c+o,f=this.newOutliner({x:h(kd,this)[0]*d+p,y:h(kd,this)[1]*u+g},h(xd,this),h(Sd,this),t,h(_d,this),null!==e&&void 0!==e?e:h(Ad,this));for(let m=2;m1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];r(this,Ld),o(this,Td,void 0),o(this,Pd,void 0),o(this,Dd,[]),o(this,Id,[]);const s=[1/0,1/0,-1/0,-1/0],a=1e-4;for(const{x:r,y:o,width:d,height:m}of t){const t=Math.floor((r-e)/a)*a,i=Math.ceil((r+d+e)/a)*a,n=Math.floor((o-e)/a)*a,l=Math.ceil((o+m+e)/a)*a,c=[t,n,l,!0],u=[i,n,l,!1];h(Dd,this).push(c,u),Rt.rectBoundingBox(t,n,i,l,s)}const l=s[2]-s[0]+2*i,c=s[3]-s[1]+2*i,u=s[0]-i,p=s[1]-i,g=h(Dd,this).at(n?-1:-2),f=[g[0],g[2]];for(const r of h(Dd,this)){const[t,e,i]=r;r[0]=(t-u)/l,r[1]=(e-p)/c,r[2]=(i-p)/c}d(Td,this,new Float32Array([u,p,l,c])),d(Pd,this,f)}getOutlines(){h(Dd,this).sort((t,e)=>t[0]-e[0]||t[1]-e[1]||t[2]-e[2]);const t=[];for(const e of h(Dd,this))e[3]?(t.push(...l(Ld,this,Bd).call(this,e)),l(Ld,this,Wd).call(this,e)):(l(Ld,this,jd).call(this,e),t.push(...l(Ld,this,Bd).call(this,e)));return l(Ld,this,Od).call(this,t)}}function Od(t){const e=[],i=new Set;for(const a of t){const[t,i,n]=a;e.push([t,i,a],[t,n,a])}e.sort((t,e)=>t[1]-e[1]||t[0]-e[0]);for(let a=0,r=e.length;a0;){const t=i.values().next().value;let[e,a,r,o,l]=t;i.delete(t);let c=e,h=a;for(s=[e,r],n.push(s);;){let t;if(i.has(o))t=o;else{if(!i.has(l))break;t=l}i.delete(t),[e,a,r,o,l]=t,c!==e&&(s.push(c,h,e,h===a?a:r),c=e),h=h===a?r:a}s.push(c,h)}return new Gd(n,h(Td,this),h(Pd,this))}function Nd(t){const e=h(Id,this);let i=0,n=e.length-1;for(;i<=n;){const s=i+n>>1,a=e[s][0];if(a===t)return s;a=0;s--){const[t,n]=h(Id,this)[s];if(t!==e)break;if(t===e&&n===i)return void h(Id,this).splice(s,1)}}function Bd(t){const[e,i,n]=t,s=[[e,i,n]],a=l(Ld,this,Nd).call(this,n);for(let r=0;r=t)if(o>i)s[n][1]=i;else{if(1===a)return[];s.splice(n,1),n--,a--}else s[n][2]=t,o>i&&s.push([e,i,o])}}return s}var zd=new WeakMap,Hd=new WeakMap;class Gd extends Yh{constructor(t,e,i){super(),o(this,zd,void 0),o(this,Hd,void 0),d(Hd,this,t),d(zd,this,e),this.lastPoint=i}toSVGPath(){const t=[];for(const e of h(Hd,this)){let[i,n]=e;t.push("M".concat(i," ").concat(n));for(let s=2;s5&&void 0!==arguments[5]?arguments[5]:0)}}var qd=new WeakMap,Xd=new WeakMap,Kd=new WeakMap,Yd=new WeakMap,Qd=new WeakMap,Jd=new WeakMap,Zd=new WeakMap,$d=new WeakMap,tu=new WeakMap,eu=new WeakMap,iu=new WeakMap,nu=new WeakSet;class su{static get _keyboardManager(){return vt(this,"_keyboardManager",new ze([[["Escape","mac+Escape"],su.prototype._hideDropdownFromKeyboard],[[" ","mac+ "],su.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight","mac+ArrowDown","mac+ArrowRight"],su.prototype._moveToNext],[["ArrowUp","ArrowLeft","mac+ArrowUp","mac+ArrowLeft"],su.prototype._moveToPrevious],[["Home","mac+Home"],su.prototype._moveToBeginning],[["End","mac+End"],su.prototype._moveToEnd]]))}constructor(t){var e;let{editor:i=null,uiManager:n=null}=t;r(this,nu),o(this,qd,null),o(this,Xd,null),o(this,Kd,void 0),o(this,Yd,null),o(this,Qd,!1),o(this,Jd,!1),o(this,Zd,null),o(this,$d,void 0),o(this,tu,null),o(this,eu,null),o(this,iu,void 0),i?(d(Jd,this,!1),d(iu,this,H.HIGHLIGHT_COLOR),d(Zd,this,i)):(d(Jd,this,!0),d(iu,this,H.HIGHLIGHT_DEFAULT_COLOR)),d(eu,this,(null===i||void 0===i?void 0:i._uiManager)||n),d($d,this,h(eu,this)._eventBus),d(Kd,this,(null===i||void 0===i?void 0:i.color)||(null===(e=h(eu,this))||void 0===e?void 0:e.highlightColors.values().next().value)||"#FFFF98"),du._||(du._=Object.freeze({blue:"pdfjs-editor-colorpicker-blue",green:"pdfjs-editor-colorpicker-green",pink:"pdfjs-editor-colorpicker-pink",red:"pdfjs-editor-colorpicker-red",yellow:"pdfjs-editor-colorpicker-yellow"}))}renderButton(){const t=d(qd,this,document.createElement("button"));t.className="colorPicker",t.tabIndex="0",t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-button"),t.setAttribute("aria-haspopup",!0);const e=h(eu,this)._signal;t.addEventListener("click",l(nu,this,lu).bind(this),{signal:e}),t.addEventListener("keydown",l(nu,this,ou).bind(this),{signal:e});const i=d(Xd,this,document.createElement("span"));return i.className="swatch",i.setAttribute("aria-hidden",!0),i.style.backgroundColor=h(Kd,this),t.append(i),t}renderMainDropdown(){const t=d(Yd,this,l(nu,this,au).call(this));return t.setAttribute("aria-orientation","horizontal"),t.setAttribute("aria-labelledby","highlightColorPickerLabel"),t}_colorSelectFromKeyboard(t){if(t.target===h(qd,this))return void l(nu,this,lu).call(this,t);const e=t.target.getAttribute("data-color");e&&l(nu,this,ru).call(this,e,t)}_moveToNext(t){var e,i;c(nu,this,hu)?t.target!==h(qd,this)?null===(e=t.target.nextSibling)||void 0===e||e.focus():null===(i=h(Yd,this).firstChild)||void 0===i||i.focus():l(nu,this,lu).call(this,t)}_moveToPrevious(t){var e,i;t.target!==(null===(e=h(Yd,this))||void 0===e?void 0:e.firstChild)&&t.target!==h(qd,this)?(c(nu,this,hu)||l(nu,this,lu).call(this,t),null===(i=t.target.previousSibling)||void 0===i||i.focus()):c(nu,this,hu)&&this._hideDropdownFromKeyboard()}_moveToBeginning(t){var e;c(nu,this,hu)?null===(e=h(Yd,this).firstChild)||void 0===e||e.focus():l(nu,this,lu).call(this,t)}_moveToEnd(t){var e;c(nu,this,hu)?null===(e=h(Yd,this).lastChild)||void 0===e||e.focus():l(nu,this,lu).call(this,t)}hideDropdown(){var t,e;null===(t=h(Yd,this))||void 0===t||t.classList.add("hidden"),null===(e=h(tu,this))||void 0===e||e.abort(),d(tu,this,null)}_hideDropdownFromKeyboard(){var t;h(Jd,this)||(c(nu,this,hu)?(this.hideDropdown(),h(qd,this).focus({preventScroll:!0,focusVisible:h(Qd,this)})):null===(t=h(Zd,this))||void 0===t||t.unselect())}updateColor(t){if(h(Xd,this)&&(h(Xd,this).style.backgroundColor=t),!h(Yd,this))return;const e=h(eu,this).highlightColors.values();for(const i of h(Yd,this).children)i.setAttribute("aria-selected",e.next().value===t)}destroy(){var t,e;null===(t=h(qd,this))||void 0===t||t.remove(),d(qd,this,null),d(Xd,this,null),null===(e=h(Yd,this))||void 0===e||e.remove(),d(Yd,this,null)}}function au(){const t=document.createElement("div"),e=h(eu,this)._signal;t.addEventListener("contextmenu",Xt,{signal:e}),t.className="dropdown",t.role="listbox",t.setAttribute("aria-multiselectable",!1),t.setAttribute("aria-orientation","vertical"),t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-dropdown");for(const[i,n]of h(eu,this).highlightColors){const s=document.createElement("button");s.tabIndex="0",s.role="option",s.setAttribute("data-color",n),s.title=i,s.setAttribute("data-l10n-id",du._[i]);const a=document.createElement("span");s.append(a),a.className="swatch",a.style.backgroundColor=n,s.setAttribute("aria-selected",n===h(Kd,this)),s.addEventListener("click",l(nu,this,ru).bind(this,n),{signal:e}),t.append(s)}return t.addEventListener("keydown",l(nu,this,ou).bind(this),{signal:e}),t}function ru(t,e){e.stopPropagation(),h($d,this).dispatch("switchannotationeditorparams",{source:this,type:h(iu,this),value:t})}function ou(t){A._keyboardManager.exec(this,t)}function lu(t){if(c(nu,this,hu))return void this.hideDropdown();if(d(Qd,this,0===t.detail),h(tu,this)||(d(tu,this,new AbortController),window.addEventListener("pointerdown",l(nu,this,cu).bind(this),{signal:h(eu,this).combinedSignal(h(tu,this))})),h(Yd,this))return void h(Yd,this).classList.remove("hidden");const e=d(Yd,this,l(nu,this,au).call(this));h(qd,this).append(e)}function cu(t){var e;null!==(e=h(Yd,this))&&void 0!==e&&e.contains(t.target)||this.hideDropdown()}function hu(t){return h(Yd,t)&&!h(Yd,t).classList.contains("hidden")}A=su;var du={_:null},uu=new WeakMap,pu=new WeakMap,gu=new WeakMap,fu=new WeakMap,mu=new WeakMap,vu=new WeakMap,bu=new WeakMap,wu=new WeakMap,xu=new WeakMap,yu=new WeakMap,Au=new WeakMap,_u=new WeakMap,ku=new WeakMap,Su=new WeakMap,Eu=new WeakMap,Mu=new WeakMap,Cu=new WeakMap,Ru=new WeakMap,Tu=new WeakSet;class Pu extends cs{static get _keyboardManager(){const t=Pu.prototype;return vt(this,"_keyboardManager",new ze([[["ArrowLeft","mac+ArrowLeft"],t._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],t._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],t._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],t._moveCaret,{args:[3]}]]))}constructor(t){super((0,s.A)((0,s.A)({},t),{},{name:"highlightEditor"})),r(this,Tu),o(this,uu,null),o(this,pu,0),o(this,gu,void 0),o(this,fu,null),o(this,mu,null),o(this,vu,null),o(this,bu,null),o(this,wu,0),o(this,xu,null),o(this,yu,null),o(this,Au,null),o(this,_u,!1),o(this,ku,null),o(this,Su,void 0),o(this,Eu,null),o(this,Mu,""),o(this,Cu,void 0),o(this,Ru,""),this.color=t.color||Pu._defaultColor,d(Cu,this,t.thickness||Pu._defaultThickness),d(Su,this,t.opacity||Pu._defaultOpacity),d(gu,this,t.boxes||null),d(Ru,this,t.methodOfCreation||""),d(Mu,this,t.text||""),this._isDraggable=!1,this.defaultL10nId="pdfjs-editor-highlight-editor",t.highlightId>-1?(d(_u,this,!0),l(Tu,this,Iu).call(this,t),l(Tu,this,Wu).call(this)):h(gu,this)&&(d(uu,this,t.anchorNode),d(pu,this,t.anchorOffset),d(bu,this,t.focusNode),d(wu,this,t.focusOffset),l(Tu,this,Du).call(this),l(Tu,this,Wu).call(this),this.rotate(this.rotation))}get telemetryInitialData(){return{action:"added",type:h(_u,this)?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:h(Cu,this),methodOfCreation:h(Ru,this)}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}static computeTelemetryFinalData(t){return{numberOfColors:t.get("color").size}}static initialize(t,e){var i;cs.initialize(t,e),Pu._defaultColor||(Pu._defaultColor=(null===(i=e.highlightColors)||void 0===i?void 0:i.values().next().value)||"#fff066")}static updateDefaultParams(t,e){switch(t){case H.HIGHLIGHT_DEFAULT_COLOR:Pu._defaultColor=e;break;case H.HIGHLIGHT_THICKNESS:Pu._defaultThickness=e}}translateInPage(t,e){}get toolbarPosition(){return h(ku,this)}updateParams(t,e){switch(t){case H.HIGHLIGHT_COLOR:l(Tu,this,Lu).call(this,e);break;case H.HIGHLIGHT_THICKNESS:l(Tu,this,Fu).call(this,e)}}static get defaultPropertiesToUpdate(){return[[H.HIGHLIGHT_DEFAULT_COLOR,Pu._defaultColor],[H.HIGHLIGHT_THICKNESS,Pu._defaultThickness]]}get propertiesToUpdate(){return[[H.HIGHLIGHT_COLOR,this.color||Pu._defaultColor],[H.HIGHLIGHT_THICKNESS,h(Cu,this)||Pu._defaultThickness],[H.HIGHLIGHT_FREE,h(_u,this)]]}async addEditToolbar(){const t=await super.addEditToolbar();return t?(this._uiManager.highlightColors&&(d(mu,this,new su({editor:this})),t.addColorPicker(h(mu,this))),t):null}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(l(Tu,this,Hu).call(this))}getBaseTranslation(){return[0,0]}getRect(t,e){return super.getRect(t,e,l(Tu,this,Hu).call(this))}onceAdded(t){this.annotationElementId||this.parent.addUndoableEditor(this),t&&this.div.focus()}remove(){l(Tu,this,Nu).call(this),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(l(Tu,this,Wu).call(this),this.isAttachedToDOM||this.parent.add(this)))}setParent(t){let e=!1;if(this.parent&&!t)l(Tu,this,Nu).call(this);else if(t){var i;l(Tu,this,Wu).call(this,t),e=!this.parent&&(null===(i=this.div)||void 0===i?void 0:i.classList.contains("selectedEditor"))}super.setParent(t),this.show(this._isVisible),e&&this.select()}rotate(t){const{drawLayer:e}=this.parent;let i;h(_u,this)?(t=(t-this.rotation+360)%360,i=ju.call(Pu,h(yu,this).box,t)):i=ju.call(Pu,[this.x,this.y,this.width,this.height],t),e.updateProperties(h(Au,this),{bbox:i,root:{"data-main-rotation":t}}),e.updateProperties(h(Eu,this),{bbox:ju.call(Pu,h(vu,this).box,t),root:{"data-main-rotation":t}})}render(){if(this.div)return this.div;const t=super.render();h(Mu,this)&&(t.setAttribute("aria-label",h(Mu,this)),t.setAttribute("role","mark")),h(_u,this)?t.classList.add("free"):this.div.addEventListener("keydown",l(Tu,this,Bu).bind(this),{signal:this._uiManager._signal});const e=d(xu,this,document.createElement("div"));t.append(e),e.setAttribute("aria-hidden","true"),e.className="internal",e.style.clipPath=h(fu,this);const[i,n]=this.parentDimensions;return this.setDims(this.width*i,this.height*n),Ee(this,h(xu,this),["pointerover","pointerleave"]),this.enableEditing(),t}pointerover(){var t;this.isSelected||(null===(t=this.parent)||void 0===t||t.drawLayer.updateProperties(h(Eu,this),{rootClass:{hovered:!0}}))}pointerleave(){var t;this.isSelected||(null===(t=this.parent)||void 0===t||t.drawLayer.updateProperties(h(Eu,this),{rootClass:{hovered:!1}}))}_moveCaret(t){switch(this.parent.unselect(this),t){case 0:case 2:l(Tu,this,zu).call(this,!0);break;case 1:case 3:l(Tu,this,zu).call(this,!1)}}select(){var t;super.select(),h(Eu,this)&&(null===(t=this.parent)||void 0===t||t.drawLayer.updateProperties(h(Eu,this),{rootClass:{hovered:!1,selected:!0}}))}unselect(){var t;super.unselect(),h(Eu,this)&&(null===(t=this.parent)||void 0===t||t.drawLayer.updateProperties(h(Eu,this),{rootClass:{selected:!1}}),h(_u,this)||l(Tu,this,zu).call(this,!1))}get _mustFixPosition(){return!h(_u,this)}show(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._isVisible;super.show(t),this.parent&&(this.parent.drawLayer.updateProperties(h(Au,this),{rootClass:{hidden:!t}}),this.parent.drawLayer.updateProperties(h(Eu,this),{rootClass:{hidden:!t}}))}static startHighlighting(t,e,i){let{target:n,x:s,y:a}=i;const{x:r,y:o,width:c,height:h}=n.getBoundingClientRect(),d=new AbortController,u=t.combinedSignal(d),p=e=>{d.abort(),l(Pu,this,qu).call(this,t,e)};window.addEventListener("blur",p,{signal:u}),window.addEventListener("pointerup",p,{signal:u}),window.addEventListener("pointerdown",Kt,{capture:!0,passive:!1,signal:u}),window.addEventListener("contextmenu",Xt,{signal:u}),n.addEventListener("pointermove",l(Pu,this,Vu).bind(this,t),{signal:u}),this._freeHighlight=new Ud({x:s,y:a},[r,o,c,h],t.scale,this._defaultThickness/2,e,.001),({id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=t.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:this._defaultColor,"fill-opacity":this._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:this._freeHighlight.toSVGPath()}},!0,!0))}static async deserialize(t,e,i){let n=null;if(t instanceof fh){const{data:{quadPoints:e,rect:i,rotation:s,id:a,color:r,opacity:o,popupRef:l},parent:{page:{pageNumber:c}}}=t;n=t={annotationType:z.HIGHLIGHT,color:Array.from(r),opacity:o,quadPoints:e,boxes:null,pageIndex:c-1,rect:i.slice(0),rotation:s,id:a,deleted:!1,popupRef:l}}else if(t instanceof ph){const{data:{inkLists:e,rect:i,rotation:s,id:a,color:r,borderStyle:{rawWidth:o},popupRef:l},parent:{page:{pageNumber:c}}}=t;n=t={annotationType:z.HIGHLIGHT,color:Array.from(r),thickness:o,inkLists:e,boxes:null,pageIndex:c-1,rect:i.slice(0),rotation:s,id:a,deleted:!1,popupRef:l}}const{color:s,quadPoints:a,inkLists:r,opacity:o}=t,c=await super.deserialize(t,e,i);c.color=Rt.makeHexColor(...s),d(Su,c,o||1),r&&d(Cu,c,t.thickness),c.annotationElementId=t.id||null,c._initialData=n;const[u,p]=c.pageDimensions,[g,f]=c.pageTranslation;if(a){const t=d(gu,c,[]);for(let e=0;e0&&void 0!==arguments[0]&&arguments[0];if(this.isEmpty()||t)return null;if(this.deleted)return this.serializeDeleted();const e=this.getRect(0,0),i=cs._colorManager.convert(this.color),n={annotationType:z.HIGHLIGHT,color:i,opacity:h(Su,this),thickness:h(Cu,this),quadPoints:l(Tu,this,Gu).call(this),outlines:l(Tu,this,Uu).call(this,e),pageIndex:this.pageIndex,rect:e,rotation:l(Tu,this,Hu).call(this),structTreeParentId:this._structTreeParentId};return this.annotationElementId&&!l(Tu,this,Xu).call(this,n)?null:(n.id=this.annotationElementId,n)}renderAnnotationElement(t){return t.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}}function Du(){const t=new Fd(h(gu,this),.001);d(yu,this,t.getOutlines()),[this.x,this.y,this.width,this.height]=h(yu,this).box;const e=new Fd(h(gu,this),.0025,.001,"ltr"===this._uiManager.direction);d(vu,this,e.getOutlines());const{lastPoint:i}=h(vu,this);d(ku,this,[(i[0]-this.x)/this.width,(i[1]-this.y)/this.height])}function Iu(t){let{highlightOutlines:e,highlightId:i,clipPathId:n}=t;d(yu,this,e);if(d(vu,this,e.getNewOutline(h(Cu,this)/2+1.5,.0025)),i>=0)d(Au,this,i),d(fu,this,n),this.parent.drawLayer.finalizeDraw(i,{bbox:e.box,path:{d:e.toSVGPath()}}),d(Eu,this,this.parent.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:!0},bbox:h(vu,this).box,path:{d:h(vu,this).toSVGPath()}},!0));else if(this.parent){const t=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(h(Au,this),{bbox:ju.call(_,h(yu,this).box,(t-this.rotation+360)%360),path:{d:e.toSVGPath()}}),this.parent.drawLayer.updateProperties(h(Eu,this),{bbox:ju.call(_,h(vu,this).box,t),path:{d:h(vu,this).toSVGPath()}})}const[s,a,r,o]=e.box;switch(this.rotation){case 0:this.x=s,this.y=a,this.width=r,this.height=o;break;case 90:{const[t,e]=this.parentDimensions;this.x=a,this.y=1-s,this.width=r*e/t,this.height=o*t/e;break}case 180:this.x=1-s,this.y=1-a,this.width=r,this.height=o;break;case 270:{const[t,e]=this.parentDimensions;this.x=1-a,this.y=s,this.width=r*e/t,this.height=o*t/e;break}}const{lastPoint:l}=h(vu,this);d(ku,this,[(l[0]-s)/r,(l[1]-a)/o])}function Lu(t){const e=(t,e)=>{var i,n;this.color=t,d(Su,this,e),null===(i=this.parent)||void 0===i||i.drawLayer.updateProperties(h(Au,this),{root:{fill:t,"fill-opacity":e}}),null===(n=h(mu,this))||void 0===n||n.updateColor(t)},i=this.color,n=h(Su,this);this.addCommands({cmd:e.bind(this,t,_._defaultOpacity),undo:e.bind(this,i,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:H.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(t)},!0)}function Fu(t){const e=h(Cu,this),i=t=>{d(Cu,this,t),l(Tu,this,Ou).call(this,t)};this.addCommands({cmd:i.bind(this,t),undo:i.bind(this,e),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:H.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:t},!0)}function Ou(t){if(!h(_u,this))return;l(Tu,this,Iu).call(this,{highlightOutlines:h(yu,this).getNewOutline(t/2)}),this.fixAndSetPosition();const[e,i]=this.parentDimensions;this.setDims(this.width*e,this.height*i)}function Nu(){null!==h(Au,this)&&this.parent&&(this.parent.drawLayer.remove(h(Au,this)),d(Au,this,null),this.parent.drawLayer.remove(h(Eu,this)),d(Eu,this,null))}function Wu(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.parent;null===h(Au,this)&&(({id:n(d,[Au,this])._,clipPathId:n(d,[fu,this])._}=t.drawLayer.draw({bbox:h(yu,this).box,root:{viewBox:"0 0 1 1",fill:this.color,"fill-opacity":h(Su,this)},rootClass:{highlight:!0,free:h(_u,this)},path:{d:h(yu,this).toSVGPath()}},!1,!0)),d(Eu,this,t.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:h(_u,this)},bbox:h(vu,this).box,path:{d:h(vu,this).toSVGPath()}},h(_u,this))),h(xu,this)&&(h(xu,this).style.clipPath=h(fu,this)))}function ju(t,e){let[i,n,s,a]=t;switch(e){case 90:return[1-n-a,i,a,s];case 180:return[1-i-s,1-n-a,s,a];case 270:return[n,1-i-s,a,s]}return[i,n,s,a]}function Bu(t){_._keyboardManager.exec(this,t)}function zu(t){if(!h(uu,this))return;const e=window.getSelection();t?e.setPosition(h(uu,this),h(pu,this)):e.setPosition(h(bu,this),h(wu,this))}function Hu(){return h(_u,this)?this.rotation:0}function Gu(){if(h(_u,this))return null;const[t,e]=this.pageDimensions,[i,n]=this.pageTranslation,s=h(gu,this),a=new Float32Array(8*s.length);let r=0;for(const{x:o,y:l,width:c,height:h}of s){const s=o*t+i,d=(1-l)*e+n;a[r]=a[r+4]=s,a[r+1]=a[r+3]=d,a[r+2]=a[r+6]=s+c*t,a[r+5]=a[r+7]=d-h*e,r+=8}return a}function Uu(t){return h(yu,this).serialize(t,l(Tu,this,Hu).call(this))}function Vu(t,e){this._freeHighlight.add(e)&&t.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})}function qu(t,e){this._freeHighlight.isEmpty()?t.drawLayer.remove(this._freeHighlightId):t.createAndAddNewEditor(e,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""}function Xu(t){const{color:e}=this._initialData;return t.color.some((t,i)=>t!==e[i])}_=Pu,(0,M.A)(Pu,"_defaultColor",null),(0,M.A)(Pu,"_defaultOpacity",1),(0,M.A)(Pu,"_defaultThickness",12),(0,M.A)(Pu,"_type","highlight"),(0,M.A)(Pu,"_editorType",z.HIGHLIGHT),(0,M.A)(Pu,"_freeHighlightId",-1),(0,M.A)(Pu,"_freeHighlight",null),(0,M.A)(Pu,"_freeHighlightClipId","");var Ku=new WeakMap;class Yu{constructor(){o(this,Ku,Object.create(null))}updateProperty(t,e){this[t]=e,this.updateSVGProperty(t,e)}updateProperties(t){if(t)for(const[e,i]of Object.entries(t))e.startsWith("_")||this.updateProperty(e,i)}updateSVGProperty(t,e){h(Ku,this)[t]=e}toSVGProperties(){const t=h(Ku,this);return d(Ku,this,Object.create(null)),{root:t}}reset(){d(Ku,this,Object.create(null))}updateAll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this;this.updateProperties(t)}clone(){pt("Not implemented")}}var Qu=new WeakMap,Ju=new WeakMap,Zu=new WeakSet;class $u extends cs{constructor(t){super(t),r(this,Zu),o(this,Qu,null),o(this,Ju,void 0),(0,M.A)(this,"_drawId",null),d(Ju,this,t.mustBeCommitted||!1),this._addOutlines(t)}_addOutlines(t){t.drawOutlines&&(l(Zu,this,tp).call(this,t),l(Zu,this,np).call(this))}static _mergeSVGProperties(t,e){const i=new Set(Object.keys(t));for(const[n,s]of Object.entries(e))i.has(n)?Object.assign(t[n],s):t[n]=s;return t}static getDefaultDrawingOptions(t){pt("Not implemented")}static get typesMap(){pt("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(t,e){const i=this.typesMap.get(t);i&&this._defaultDrawingOptions.updateProperty(i,e),this._currentParent&&(lp._.updateProperty(i,e),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(t,e){const i=this.constructor.typesMap.get(t);i&&this._updateProperty(t,i,e)}static get defaultPropertiesToUpdate(){const t=[],e=this._defaultDrawingOptions;for(const[i,n]of this.typesMap)t.push([i,e[n]]);return t}get propertiesToUpdate(){const t=[],{_drawingOptions:e}=this;for(const[i,n]of this.constructor.typesMap)t.push([i,e[n]]);return t}_updateProperty(t,e,i){const n=this._drawingOptions,s=n[e],a=t=>{var i;n.updateProperty(e,t);const s=h(Qu,this).updateProperty(e,t);s&&l(Zu,this,rp).call(this,s),null===(i=this.parent)||void 0===i||i.drawLayer.updateProperties(this._drawId,n.toSVGProperties())};this.addCommands({cmd:a.bind(this,i),undo:a.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:t,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){var t;null===(t=this.parent)||void 0===t||t.drawLayer.updateProperties(this._drawId,$u._mergeSVGProperties(h(Qu,this).getPathResizingSVGProperties(l(Zu,this,ap).call(this)),{bbox:l(Zu,this,op).call(this)}))}_onResized(){var t;null===(t=this.parent)||void 0===t||t.drawLayer.updateProperties(this._drawId,$u._mergeSVGProperties(h(Qu,this).getPathResizedSVGProperties(l(Zu,this,ap).call(this)),{bbox:l(Zu,this,op).call(this)}))}_onTranslating(t,e){var i;null===(i=this.parent)||void 0===i||i.drawLayer.updateProperties(this._drawId,{bbox:l(Zu,this,op).call(this)})}_onTranslated(){var t;null===(t=this.parent)||void 0===t||t.drawLayer.updateProperties(this._drawId,$u._mergeSVGProperties(h(Qu,this).getPathTranslatedSVGProperties(l(Zu,this,ap).call(this),this.parentDimensions),{bbox:l(Zu,this,op).call(this)}))}_onStartDragging(){var t;null===(t=this.parent)||void 0===t||t.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){var t;null===(t=this.parent)||void 0===t||t.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!1}})}commit(){super.commit(),this.disableEditMode(),this.disableEditing()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}getBaseTranslation(){return[0,0]}get isResizable(){return!0}onceAdded(t){this.annotationElementId||this.parent.addUndoableEditor(this),this._isDraggable=!0,h(Ju,this)&&(d(Ju,this,!1),this.commit(),this.parent.setSelected(this),t&&this.isOnScreen&&this.div.focus())}remove(){l(Zu,this,ip).call(this),super.remove()}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(l(Zu,this,np).call(this),l(Zu,this,rp).call(this,h(Qu,this).box),this.isAttachedToDOM||this.parent.add(this)))}setParent(t){let e=!1;if(this.parent&&!t)this._uiManager.removeShouldRescale(this),l(Zu,this,ip).call(this);else if(t){var i;this._uiManager.addShouldRescale(this),l(Zu,this,np).call(this,t),e=!this.parent&&(null===(i=this.div)||void 0===i?void 0:i.classList.contains("selectedEditor"))}super.setParent(t),e&&this.select()}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,$u._mergeSVGProperties({bbox:l(Zu,this,op).call(this)},h(Qu,this).updateRotation((this.parentRotation-this.rotation+360)%360)))}onScaleChanging(){this.parent&&l(Zu,this,rp).call(this,h(Qu,this).updateParentDimensions(this.parentDimensions,this.parent.scale))}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;let t,e;this._isCopy&&(t=this.x,e=this.y);const i=super.render();i.classList.add("draw");const n=document.createElement("div");i.append(n),n.setAttribute("aria-hidden","true"),n.className="internal";const[s,a]=this.parentDimensions;return this.setDims(this.width*s,this.height*a),this._uiManager.addShouldRescale(this),this.disableEditing(),this._isCopy&&this._moveAfterPaste(t,e),i}static createDrawerInstance(t,e,i,n,s){pt("Not implemented")}static startDrawing(t,e,i,n){var s,a;const{target:r,offsetX:o,offsetY:l,pointerId:c,pointerType:h}=n;if(up._&&up._!==h)return;const{viewport:{rotation:d}}=t,{width:u,height:p}=r.getBoundingClientRect(),g=cp._=new AbortController,f=t.combinedSignal(g);dp._||(dp._=c),null!==(s=up._)&&void 0!==s||(up._=h),window.addEventListener("pointerup",t=>{var e;dp._===t.pointerId?this._endDraw(t):null===(e=pp._)||void 0===e||e.delete(t.pointerId)},{signal:f}),window.addEventListener("pointercancel",t=>{var e;dp._===t.pointerId?this._currentParent.endDrawingSession():null===(e=pp._)||void 0===e||e.delete(t.pointerId)},{signal:f}),window.addEventListener("pointerdown",t=>{up._===t.pointerType&&((pp._||(pp._=new Set)).add(t.pointerId),lp._.isCancellable()&&(lp._.removeLastElement(),lp._.isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))},{capture:!0,passive:!1,signal:f}),window.addEventListener("contextmenu",Xt,{signal:f}),r.addEventListener("pointermove",this._drawMove.bind(this),{signal:f}),r.addEventListener("touchmove",t=>{t.timeStamp===gp._&&Kt(t)},{signal:f}),t.toggleDrawing(),null===(a=e._editorUndoBar)||void 0===a||a.hide(),lp._?t.drawLayer.updateProperties(this._currentDrawId,lp._.startNew(o,l,u,p,d)):(e.updateUIForDefaultProperties(this),lp._=this.createDrawerInstance(o,l,u,p,d),hp._=this.getDefaultDrawingOptions(),this._currentParent=t,({id:this._currentDrawId}=t.drawLayer.draw(this._mergeSVGProperties(hp._.toSVGProperties(),lp._.defaultSVGProperties),!0,!1)))}static _drawMove(t){var e;if(gp._=-1,!lp._)return;const{offsetX:i,offsetY:n,pointerId:s}=t;dp._===s&&((null===(e=pp._)||void 0===e?void 0:e.size)>=1?this._endDraw(t):(this._currentParent.drawLayer.updateProperties(this._currentDrawId,lp._.add(i,n)),gp._=t.timeStamp,Kt(t)))}static _cleanup(t){t&&(this._currentDrawId=-1,this._currentParent=null,lp._=null,hp._=null,up._=null,gp._=NaN),cp._&&(cp._.abort(),cp._=null,dp._=NaN,pp._=null)}static _endDraw(t){const e=this._currentParent;if(e){if(e.toggleDrawing(!0),this._cleanup(!1),(null===t||void 0===t?void 0:t.target)===e.div&&e.drawLayer.updateProperties(this._currentDrawId,lp._.end(t.offsetX,t.offsetY)),this.supportMultipleDrawings){const t=lp._,i=this._currentDrawId,n=t.getLastElement();return void e.addCommands({cmd:()=>{e.drawLayer.updateProperties(i,t.setLastElement(n))},undo:()=>{e.drawLayer.updateProperties(i,t.removeLastElement())},mustExec:!1,type:H.DRAW_STEP})}this.endDrawing(!1)}}static endDrawing(t){const e=this._currentParent;if(!e)return null;if(e.toggleDrawing(!0),e.cleanUndoStack(H.DRAW_STEP),!lp._.isEmpty()){const{pageDimensions:[i,n],scale:s}=e,a=e.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:lp._.getOutlines(i*s,n*s,s,this._INNER_MARGIN),drawingOptions:hp._,mustBeCommitted:!t});return this._cleanup(!0),a}return e.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(t){}static deserializeDraw(t,e,i,n,s,a){pt("Not implemented")}static async deserialize(t,e,i){const{rawDims:{pageWidth:n,pageHeight:s,pageX:a,pageY:r}}=e.viewport,o=this.deserializeDraw(a,r,n,s,this._INNER_MARGIN,t),c=await super.deserialize(t,e,i);return c.createDrawingOptions(t),l(Zu,c,tp).call(c,{drawOutlines:o}),l(Zu,c,np).call(c),c.onScaleChanging(),c.rotate(),c}serializeDraw(t){const[e,i]=this.pageTranslation,[n,s]=this.pageDimensions;return h(Qu,this).serialize([e,i,n,s],t)}renderAnnotationElement(t){return t.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}}function tp(t){let{drawOutlines:e,drawId:i,drawingOptions:n}=t;d(Qu,this,e),this._drawingOptions||(this._drawingOptions=n),i>=0?(this._drawId=i,this.parent.drawLayer.finalizeDraw(i,e.defaultProperties)):this._drawId=l(Zu,this,ep).call(this,e,this.parent),l(Zu,this,rp).call(this,e.box)}function ep(t,e){const{id:i}=e.drawLayer.draw(k._mergeSVGProperties(this._drawingOptions.toSVGProperties(),t.defaultSVGProperties),!1,!1);return i}function ip(){null!==this._drawId&&this.parent&&(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())}function np(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.parent;null!==this._drawId&&this.parent===t||(null===this._drawId?(this._drawingOptions.updateAll(),this._drawId=l(Zu,this,ep).call(this,h(Qu,this),t)):this.parent.drawLayer.updateParent(this._drawId,t.drawLayer))}function sp(t){let[e,i,n,s]=t;const{parentDimensions:[a,r],rotation:o}=this;switch(o){case 90:return[i,1-e,n*(r/a),s*(a/r)];case 180:return[1-e,1-i,n,s];case 270:return[1-i,e,n*(r/a),s*(a/r)];default:return[e,i,n,s]}}function ap(){const{x:t,y:e,width:i,height:n,parentDimensions:[s,a],rotation:r}=this;switch(r){case 90:return[1-e,t,i*(s/a),n*(a/s)];case 180:return[1-t,1-e,i,n];case 270:return[e,1-t,i*(s/a),n*(a/s)];default:return[t,e,i,n]}}function rp(t){if([this.x,this.y,this.width,this.height]=l(Zu,this,sp).call(this,t),this.div){this.fixAndSetPosition();const[t,e]=this.parentDimensions;this.setDims(this.width*t,this.height*e)}this._onResized()}function op(){const{x:t,y:e,width:i,height:n,rotation:s,parentRotation:a,parentDimensions:[r,o]}=this;switch((4*s+a)/90){case 1:return[1-e-n,t,n,i];case 2:return[1-t-i,1-e-n,i,n];case 3:return[e,1-t-i,n,i];case 4:return[t,e-i*(r/o),n*(o/r),i*(r/o)];case 5:return[1-e,t,i*(r/o),n*(o/r)];case 6:return[1-t-n*(o/r),1-e,n*(o/r),i*(r/o)];case 7:return[e-i*(r/o),1-t-n*(o/r),i*(r/o),n*(o/r)];case 8:return[t-i,e-n,i,n];case 9:return[1-e,t-i,n,i];case 10:return[1-t,1-e,i,n];case 11:return[e-n,1-t,n,i];case 12:return[t-n*(o/r),e,n*(o/r),i*(r/o)];case 13:return[1-e-i*(r/o),t-n*(o/r),i*(r/o),n*(o/r)];case 14:return[1-t,1-e-i*(r/o),n*(o/r),i*(r/o)];case 15:return[e,1-t,i*(r/o),n*(o/r)];default:return[t,e,i,n]}}k=$u,(0,M.A)($u,"_currentDrawId",-1),(0,M.A)($u,"_currentParent",null);var lp={_:null},cp={_:null},hp={_:null},dp={_:NaN},up={_:null},pp={_:null},gp={_:NaN};(0,M.A)($u,"_INNER_MARGIN",3);var fp=new WeakMap,mp=new WeakMap,vp=new WeakMap,bp=new WeakMap,wp=new WeakMap,xp=new WeakMap,yp=new WeakMap,Ap=new WeakMap,_p=new WeakMap,kp=new WeakMap,Sp=new WeakMap,Ep=new WeakSet;class Mp{constructor(t,e,i,n,s,a){r(this,Ep),o(this,fp,new Float64Array(6)),o(this,mp,void 0),o(this,vp,void 0),o(this,bp,void 0),o(this,wp,void 0),o(this,xp,void 0),o(this,yp,""),o(this,Ap,0),o(this,_p,new jp),o(this,kp,void 0),o(this,Sp,void 0),d(kp,this,i),d(Sp,this,n),d(bp,this,s),d(wp,this,a),[t,e]=l(Ep,this,Cp).call(this,t,e);const c=d(mp,this,[NaN,NaN,NaN,NaN,t,e]);d(xp,this,[t,e]),d(vp,this,[{line:c,points:h(xp,this)}]),h(fp,this).set(c,0)}updateProperty(t,e){"stroke-width"===t&&d(wp,this,e)}isEmpty(){return!h(vp,this)||0===h(vp,this).length}isCancellable(){return h(xp,this).length<=10}add(t,e){[t,e]=l(Ep,this,Cp).call(this,t,e);const[i,n,s,a]=h(fp,this).subarray(2,6),r=t-s,o=e-a;return Math.hypot(h(kp,this)*r,h(Sp,this)*o)<=2?null:(h(xp,this).push(t,e),isNaN(i)?(h(fp,this).set([s,a,t,e],2),h(mp,this).push(NaN,NaN,NaN,NaN,t,e),{path:{d:this.toSVGPath()}}):(isNaN(h(fp,this)[0])&&h(mp,this).splice(6,6),h(fp,this).set([i,n,s,a,t,e],0),h(mp,this).push(...Yh.createBezierPoints(i,n,s,a,t,e)),{path:{d:this.toSVGPath()}}))}end(t,e){const i=this.add(t,e);return i||(2===h(xp,this).length?{path:{d:this.toSVGPath()}}:null)}startNew(t,e,i,n,s){d(kp,this,i),d(Sp,this,n),d(bp,this,s),[t,e]=l(Ep,this,Cp).call(this,t,e);const a=d(mp,this,[NaN,NaN,NaN,NaN,t,e]);d(xp,this,[t,e]);const r=h(vp,this).at(-1);return r&&(r.line=new Float32Array(r.line),r.points=new Float32Array(r.points)),h(vp,this).push({line:a,points:h(xp,this)}),h(fp,this).set(a,0),d(Ap,this,0),this.toSVGPath(),null}getLastElement(){return h(vp,this).at(-1)}setLastElement(t){return h(vp,this)?(h(vp,this).push(t),d(mp,this,t.line),d(xp,this,t.points),d(Ap,this,0),{path:{d:this.toSVGPath()}}):h(_p,this).setLastElement(t)}removeLastElement(){if(!h(vp,this))return h(_p,this).removeLastElement();h(vp,this).pop(),d(yp,this,"");for(let t=0,e=h(vp,this).length;tnull!==t&&void 0!==t?t:NaN),d,u,p,g),points:f(o[v].map(t=>null!==t&&void 0!==t?t:NaN),d,u,p,g)});const m=new this.prototype.constructor;return m.build(h,i,n,1,l,c,s),m}get box(){return h(Rp,this)}updateProperty(t,e){return"stroke-width"===t?l(Wp,this,Gp).call(this,e):null}updateParentDimensions(t,e){let[i,n]=t;const[s,a]=l(Wp,this,Bp).call(this);d(Ip,this,i),d(Lp,this,n),d(Fp,this,e);const[r,o]=l(Wp,this,Bp).call(this),c=r-s,u=o-a,p=h(Rp,this);return p[0]-=c,p[1]-=u,p[2]+=2*c,p[3]+=2*u,p}updateRotation(t){return d(Tp,this,t),{path:{transform:this.rotationTransform}}}get viewBox(){return h(Rp,this).map(Yh.svgRound).join(" ")}get defaultProperties(){const[t,e]=h(Rp,this);return{root:{viewBox:this.viewBox},path:{"transform-origin":"".concat(Yh.svgRound(t)," ").concat(Yh.svgRound(e))}}}get rotationTransform(){const[,,t,e]=h(Rp,this);let i=0,n=0,s=0,a=0,r=0,o=0;switch(h(Tp,this)){case 90:n=e/t,s=-t/e,r=t;break;case 180:i=-1,a=-1,r=t,o=e;break;case 270:n=-e/t,s=t/e,o=e;break;default:return""}return"matrix(".concat(i," ").concat(n," ").concat(s," ").concat(a," ").concat(Yh.svgRound(r)," ").concat(Yh.svgRound(o),")")}getPathResizingSVGProperties(t){let[e,i,n,s]=t;const[a,r]=l(Wp,this,Bp).call(this),[o,c,d,u]=h(Rp,this);if(Math.abs(d-a)<=Yh.PRECISION||Math.abs(u-r)<=Yh.PRECISION){const t=e+n/2-(o+d/2),a=i+s/2-(c+u/2);return{path:{"transform-origin":"".concat(Yh.svgRound(e)," ").concat(Yh.svgRound(i)),transform:"".concat(this.rotationTransform," translate(").concat(t," ").concat(a,")")}}}const p=(n-2*a)/(d-2*a),g=(s-2*r)/(u-2*r),f=d/n,m=u/s;return{path:{"transform-origin":"".concat(Yh.svgRound(o)," ").concat(Yh.svgRound(c)),transform:"".concat(this.rotationTransform," scale(").concat(f," ").concat(m,") ")+"translate(".concat(Yh.svgRound(a)," ").concat(Yh.svgRound(r),") scale(").concat(p," ").concat(g,") ")+"translate(".concat(Yh.svgRound(-a)," ").concat(Yh.svgRound(-r),")")}}}getPathResizedSVGProperties(t){let[e,i,n,s]=t;const[a,r]=l(Wp,this,Bp).call(this),o=h(Rp,this),[c,d,u,p]=o;if(o[0]=e,o[1]=i,o[2]=n,o[3]=s,Math.abs(u-a)<=Yh.PRECISION||Math.abs(p-r)<=Yh.PRECISION){const t=e+n/2-(c+u/2),a=i+s/2-(d+p/2);for(const{line:e,points:i}of h(Dp,this))Yh._translate(e,t,a,e),Yh._translate(i,t,a,i);return{root:{viewBox:this.viewBox},path:{"transform-origin":"".concat(Yh.svgRound(e)," ").concat(Yh.svgRound(i)),transform:this.rotationTransform||null,d:this.toSVGPath()}}}const g=(n-2*a)/(u-2*a),f=(s-2*r)/(p-2*r),m=-g*(c+a)+e+a,v=-f*(d+r)+i+r;if(1!==g||1!==f||0!==m||0!==v)for(const{line:l,points:b}of h(Dp,this))Yh._rescale(l,m,v,g,f,l),Yh._rescale(b,m,v,g,f,b);return{root:{viewBox:this.viewBox},path:{"transform-origin":"".concat(Yh.svgRound(e)," ").concat(Yh.svgRound(i)),transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties(t,e){let[i,n]=t;const[s,a]=e,r=h(Rp,this),o=i-r[0],l=n-r[1];if(h(Ip,this)===s&&h(Lp,this)===a)for(const{line:c,points:d}of h(Dp,this))Yh._translate(c,o,l,c),Yh._translate(d,o,l,d);else{const t=h(Ip,this)/s,e=h(Lp,this)/a;d(Ip,this,s),d(Lp,this,a);for(const{line:i,points:n}of h(Dp,this))Yh._rescale(i,o,l,t,e,i),Yh._rescale(n,o,l,t,e,n);r[2]*=t,r[3]*=e}return r[0]=i,r[1]=n,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":"".concat(Yh.svgRound(i)," ").concat(Yh.svgRound(n))}}}get defaultSVGProperties(){const t=h(Rp,this);return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":"".concat(Yh.svgRound(t[0])," ").concat(Yh.svgRound(t[1])),transform:this.rotationTransform||null},bbox:t}}}function Bp(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h(Np,this);const e=h(Pp,this)+t/2*h(Fp,this);return h(Op,this)%180===0?[e/h(Ip,this),e/h(Lp,this)]:[e/h(Lp,this),e/h(Ip,this)]}function zp(){const[t,e,i,n]=h(Rp,this),[s,a]=l(Wp,this,Bp).call(this,0);return[t+s,e+a,i-2*s,n-2*a]}function Hp(){const t=d(Rp,this,new Float32Array([1/0,1/0,-1/0,-1/0]));for(const{line:n}of h(Dp,this)){if(n.length<=12){for(let e=4,i=n.length;e0&&void 0!==arguments[0]&&arguments[0];if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const{lines:e,points:i,rect:n}=this.serializeDraw(t),{_drawingOptions:{stroke:s,"stroke-opacity":a,"stroke-width":r}}=this,o={annotationType:z.INK,color:cs._colorManager.convert(s),opacity:a,thickness:r,paths:{lines:e,points:i},pageIndex:this.pageIndex,rect:n,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?(o.isCopy=!0,o):this.annotationElementId&&!l(Vp,this,Xp).call(this,o)?null:(o.id=this.annotationElementId,o)}renderAnnotationElement(t){const{points:e,rect:i}=this.serializeDraw(!1);return t.updateEdited({rect:i,thickness:this._drawingOptions["stroke-width"],points:e}),null}}function Xp(t){const{color:e,thickness:i,opacity:n,pageIndex:s}=this._initialData;return this._hasBeenMoved||this._hasBeenResized||t.color.some((t,i)=>t!==e[i])||t.thickness!==i||t.opacity!==n||t.pageIndex!==s}(0,M.A)(qp,"_type","ink"),(0,M.A)(qp,"_editorType",z.INK),(0,M.A)(qp,"_defaultDrawingOptions",null);class Kp extends jp{toSVGPath(){let t=super.toSVGPath();return t.endsWith("Z")||(t+="Z"),t}}class Yp{static extractContoursFromText(t,e,i,n,s,a){let{fontFamily:r,fontStyle:o,fontWeight:c}=e,h=new OffscreenCanvas(1,1),d=h.getContext("2d",{alpha:!1});const u=d.font="".concat(o," ").concat(c," ").concat(200,"px ").concat(r),{actualBoundingBoxLeft:p,actualBoundingBoxRight:g,actualBoundingBoxAscent:f,actualBoundingBoxDescent:m,fontBoundingBoxAscent:v,fontBoundingBoxDescent:b,width:w}=d.measureText(t),x=1.5,y=Math.ceil(Math.max(Math.abs(p)+Math.abs(g)||0,w)*x),A=Math.ceil(Math.max(Math.abs(f)+Math.abs(m)||200,Math.abs(v)+Math.abs(b)||200)*x);h=new OffscreenCanvas(y,A),d=h.getContext("2d",{alpha:!0,willReadFrequently:!0}),d.font=u,d.filter="grayscale(1)",d.fillStyle="white",d.fillRect(0,0,y,A),d.fillStyle="black",d.fillText(t,.5*y/2,1.5*A/2);const _=l(Yp,this,sg).call(this,d.getImageData(0,0,y,A).data),k=l(Yp,this,ng).call(this,_),S=l(Yp,this,ag).call(this,k),E=l(Yp,this,$p).call(this,_,y,A,S);return this.processDrawnLines({lines:{curves:E,width:y,height:A},pageWidth:i,pageHeight:n,rotation:s,innerMargin:a,mustSmooth:!0,areContours:!0})}static process(t,e,i,n,s){const[a,r,o]=l(Yp,this,rg).call(this,t),[c,h]=l(Yp,this,ig).call(this,a,r,o,Math.hypot(r,o)*l(Yp,this,og)._.sigmaSFactor,l(Yp,this,og)._.sigmaR,l(Yp,this,og)._.kernelSize),d=l(Yp,this,ag).call(this,h),u=l(Yp,this,$p).call(this,c,r,o,d);return this.processDrawnLines({lines:{curves:u,width:r,height:o},pageWidth:e,pageHeight:i,rotation:n,innerMargin:s,mustSmooth:!0,areContours:!0})}static processDrawnLines(t){var e;let{lines:i,pageWidth:n,pageHeight:s,rotation:a,innerMargin:r,mustSmooth:o,areContours:c}=t;a%180!==0&&([n,s]=[s,n]);const{curves:h,width:d,height:u}=i,p=null!==(e=i.thickness)&&void 0!==e?e:0,g=[],f=Math.min(n/d,s/u),m=f/n,v=f/s,b=[];for(const{points:x}of h){const t=o?l(Yp,this,eg).call(this,x):x;if(!t)continue;b.push(t);const e=t.length,i=new Float32Array(e),n=new Float32Array(3*(2===e?2:e-2));if(g.push({line:n,points:i}),2===e){i[0]=t[0]*m,i[1]=t[1]*v,n.set([NaN,NaN,NaN,NaN,i[0],i[1]],0);continue}let[s,a,r,c]=t;s*=m,a*=v,r*=m,c*=v,i.set([s,a,r,c],0),n.set([NaN,NaN,NaN,NaN,s,a],0);for(let o=4;o=-128&&l<=127?Int8Array:o>=-32768&&l<=32767?Int16Array:Int32Array;const h=i.length,d=8+3*h,u=new Uint32Array(d);let p=0;u[p++]=d*Uint32Array.BYTES_PER_ELEMENT+(c-2*h)*e.BYTES_PER_ELEMENT,u[p++]=0,u[p++]=a,u[p++]=r,u[p++]=n?0:1,u[p++]=Math.max(0,Math.floor(null!==s&&void 0!==s?s:0)),u[p++]=h,u[p++]=e.BYTES_PER_ELEMENT;for(const b of i)u[p++]=b.length-2,u[p++]=b[0],u[p++]=b[1];const g=new CompressionStream("deflate-raw"),f=g.writable.getWriter();await f.ready,f.write(u);const m=e.prototype.constructor;for(const b of i){const t=new m(b.length-2);for(let e=2,i=b.length;e{await d.ready,await d.close()}).catch(()=>{});let u=null,p=0;var e,i=!1,n=!1;try{for(var s,a=function(t){var e,i,n,s=2;for("undefined"!=typeof Symbol&&(i=Symbol.asyncIterator,n=Symbol.iterator);s--;){if(i&&null!=(e=t[i]))return e.call(t);if(n&&null!=(e=t[n]))return new C(e.call(t));i="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}(c);i=!(s=await a.next()).done;i=!1){const t=s.value;u||(u=new Uint8Array(new Uint32Array(t.buffer,0,4)[0])),u.set(t,p),p+=t.length}}catch(o){n=!0,e=o}finally{try{i&&null!=a.return&&await a.return()}finally{if(n)throw e}}const g=new Uint32Array(u.buffer,0,u.length>>2),f=g[1];if(0!==f)throw new Error("Invalid version: ".concat(f));const m=g[2],v=g[3],b=0===g[4],w=g[5],x=g[6],y=g[7],A=[],_=(8+3*x)*Uint32Array.BYTES_PER_ELEMENT;let k;switch(y){case Int8Array.BYTES_PER_ELEMENT:k=new Int8Array(u.buffer,_);break;case Int16Array.BYTES_PER_ELEMENT:k=new Int16Array(u.buffer,_);break;case Int32Array.BYTES_PER_ELEMENT:k=new Int32Array(u.buffer,_)}p=0;for(let t=0;t0?0:4:1===i?n+6:2-n}function Jp(t,e,i,n,s,a,r){const o=l(S,this,Qp).call(this,i,n,s,a);for(let c=0;c<8;c++){const s=(-c+o-r+16)%8;if(0!==t[(i+l(S,this,lg)._[2*s])*e+(n+l(S,this,lg)._[2*s+1])])return s}return-1}function Zp(t,e,i,n,s,a,r){const o=l(S,this,Qp).call(this,i,n,s,a);for(let c=0;c<8;c++){const s=(c+o+r+16)%8;if(0!==t[(i+l(S,this,lg)._[2*s])*e+(n+l(S,this,lg)._[2*s+1])])return s}return-1}function $p(t,e,i,n){const s=t.length,a=new Int32Array(s);for(let l=0;l=1&&0===a[i+1])){1!==n&&(r=Math.abs(n));continue}o+=1,d+=1,n>1&&(r=n)}const u=[t,h],p=d===t+1,g={isHole:p,points:u,id:o,parent:0};let f;c.push(g);for(const t of c)if(t.id===r){f=t;break}f?f.isHole?g.parent=p?f.parent:r:g.parent=p?r:f.parent:g.parent=p?r:0;const m=l(S,this,Jp).call(this,a,e,h,t,s,d,0);if(-1===m){a[i]=-o,1!==a[i]&&(r=Math.abs(a[i]));continue}let v=l(S,this,lg)._[2*m],b=l(S,this,lg)._[2*m+1];const w=h+v,x=t+b;s=w,d=x;let y=h,A=t;for(;;){const n=l(S,this,Zp).call(this,a,e,y,A,s,d,1);v=l(S,this,lg)._[2*n],b=l(S,this,lg)._[2*n+1];const c=y+v,p=A+b;u.push(p,c);const g=y*e+A;if(0===a[g+1]?a[g]=-o:1===a[g]&&(a[g]=o),c===h&&p===t&&y===w&&A===x){1!==a[i]&&(r=Math.abs(a[i]));break}s=y,d=A,y=c,A=p}}}return c}function tg(t,e,i,n){if(i-e<=4){for(let s=e;sy&&(A=l,y=e)}y>(c*x)**2?(l(S,this,tg).call(this,t,e,A+2,n),l(S,this,tg).call(this,t,A,i,n)):n.push(s,a)}function eg(t){const e=[],i=t.length;return l(S,this,tg).call(this,t,0,i,e),e.push(t[i-2],t[i-1]),e.length<=4?null:e}function ig(t,e,i,n,s,a){const r=new Float32Array(a**2),o=-2*n**2,l=a>>1;for(let g=0;g=i))for(let i=0;i=e)continue;const g=t[s*e+p],f=r[u*a+i]*c[Math.abs(g-o)];h+=g*f,d+=f}}p[u[s]=Math.round(h/d)]++}return[u,p]}function ng(t){const e=new Uint32Array(256);for(const i of t)e[i]++;return e}function sg(t){const e=t.length,i=new Uint8ClampedArray(e>>2);let n=-1/0,s=1/0;for(let r=0,o=i.length;rn&&(n=e),e0!==t);let a=s,r=s;for(e=s;e<256;e++){const s=t[e];s>i&&(e-a>n&&(n=e-a,r=e-1),i=s,a=e)}for(e=r-1;e>=0&&!(t[e]>t[e+1]);e--);return e}function rg(t){const e=t,{width:i,height:n}=t,{maxDim:s}=l(S,this,og)._;let a=i,r=n;if(i>s||n>s){let o=i,l=n,c=Math.log2(Math.max(i,n)/s);const h=Math.floor(c);c=c===h?h-1:h;for(let i=0;i{null===e||void 0===e||e.updateEditSignatureButton(t)})}getSignaturePreview(){const{newCurves:t,areContours:e,thickness:i,width:n,height:s}=h(pg,this),a=Math.max(n,s);return{areContours:e,outline:Yp.processDrawnLines({lines:{curves:t.map(t=>({points:t})),thickness:i,width:n,height:s},pageWidth:a,pageHeight:a,rotation:0,innerMargin:0,mustSmooth:!1,areContours:e}).outline}}async addEditToolbar(){const t=await super.addEditToolbar();return t?(this._uiManager.signatureManager&&null!==h(ug,this)&&(await t.addEditSignatureButton(this._uiManager.signatureManager,h(gg,this),h(ug,this)),t.show()),t):null}addSignature(t,e,i,n){const{x:s,y:a}=this,{outline:r}=d(pg,this,t);let o;d(dg,this,r instanceof Kp),d(ug,this,i),this.div.setAttribute("data-l10n-args",JSON.stringify({description:i})),h(dg,this)?o=fg.getDefaultDrawingOptions():(o=fg._defaultDrawnSignatureOptions.clone(),o.updateProperties({"stroke-width":r.thickness})),this._addOutlines({drawOutlines:r,drawingOptions:o});const[l,c]=this.parentDimensions,[,u]=this.pageDimensions;let p=e/u;p=p>=1?.5:p,this.width*=p/this.height,this.width>=1&&(p*=.9/this.width,this.width=.9),this.height=p,this.setDims(l*this.width,c*this.height),this.x=s,this.y=a,this.center(),this._onResized(),this.onScaleChanging(),this.rotate(),this._uiManager.addToAnnotationStorage(this),this.setUuid(n),this._reportTelemetry({action:"pdfjs.signature.inserted",data:{hasBeenSaved:!!n,hasDescription:!!i}}),this.div.hidden=!1}getFromImage(t){const{rawDims:{pageWidth:e,pageHeight:i},rotation:n}=this.parent.viewport;return Yp.process(t,e,i,n,fg._INNER_MARGIN)}getFromText(t,e){const{rawDims:{pageWidth:i,pageHeight:n},rotation:s}=this.parent.viewport;return Yp.extractContoursFromText(t,e,i,n,s,fg._INNER_MARGIN)}getDrawnSignature(t){const{rawDims:{pageWidth:e,pageHeight:i},rotation:n}=this.parent.viewport;return Yp.processDrawnLines({lines:t,pageWidth:e,pageHeight:i,rotation:n,innerMargin:fg._INNER_MARGIN,mustSmooth:!1,areContours:!1})}createDrawingOptions(t){let{areContours:e,thickness:i}=t;e?this._drawingOptions=fg.getDefaultDrawingOptions():(this._drawingOptions=fg._defaultDrawnSignatureOptions.clone(),this._drawingOptions.updateProperties({"stroke-width":i}))}serialize(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isEmpty())return null;const{lines:e,points:i,rect:n}=this.serializeDraw(t),{_drawingOptions:{"stroke-width":s}}=this,a={annotationType:z.SIGNATURE,isSignature:!0,areContours:h(dg,this),color:[0,0,0],thickness:h(dg,this)?0:s,pageIndex:this.pageIndex,rect:n,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?(a.paths={lines:e,points:i},a.uuid=h(gg,this),a.isCopy=!0):a.lines=e,h(ug,this)&&(a.accessibilityData={type:"Figure",alt:h(ug,this)}),a}static deserializeDraw(t,e,i,n,s,a){return a.areContours?Kp.deserialize(t,e,i,n,s,a):jp.deserialize(t,e,i,n,s,a)}static async deserialize(t,e,i){var n;const s=await super.deserialize(t,e,i);return d(dg,s,t.areContours),d(ug,s,(null===(n=t.accessibilityData)||void 0===n?void 0:n.alt)||""),d(gg,s,t.uuid),s}}(0,M.A)(fg,"_type","signature"),(0,M.A)(fg,"_editorType",z.SIGNATURE),(0,M.A)(fg,"_defaultDrawingOptions",null);var mg=new WeakMap,vg=new WeakMap,bg=new WeakMap,wg=new WeakMap,xg=new WeakMap,yg=new WeakMap,Ag=new WeakMap,_g=new WeakMap,kg=new WeakMap,Sg=new WeakMap,Eg=new WeakMap,Mg=new WeakSet;class Cg extends cs{constructor(t){super((0,s.A)((0,s.A)({},t),{},{name:"stampEditor"})),r(this,Mg),o(this,mg,null),o(this,vg,null),o(this,bg,null),o(this,wg,null),o(this,xg,null),o(this,yg,""),o(this,Ag,null),o(this,_g,!1),o(this,kg,null),o(this,Sg,!1),o(this,Eg,!1),d(wg,this,t.bitmapUrl),d(xg,this,t.bitmapFile),this.defaultL10nId="pdfjs-editor-stamp-editor"}static initialize(t,e){cs.initialize(t,e)}static isHandlingMimeForPasting(t){return ie.includes(t)}static paste(t,e){e.pasteEditor({mode:z.STAMP},{bitmapFile:t.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){var t;return{type:"stamp",hasAltText:!(null===(t=this.altTextData)||void 0===t||!t.altText)}}static computeTelemetryFinalData(t){var e,i;const n=t.get("hasAltText");return{hasAltText:null!==(e=n.get(!0))&&void 0!==e?e:0,hasNoAltText:null!==(i=n.get(!1))&&void 0!==i?i:0}}async mlGuessAltText(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.hasAltTextData())return null;const{mlManager:i}=this._uiManager;if(!i)throw new Error("No ML.");if(!await i.isEnabledFor("altText"))throw new Error("ML isn't enabled for alt text.");const{data:n,width:s,height:a}=t||this.copyCanvas(null,null,!0).imageData,r=await i.guess({name:"altText",request:{data:n,width:s,height:a,channels:n.length/(s*a)}});if(!r)throw new Error("No response from the AI service.");if(r.error)throw new Error("Error from the AI service.");if(r.cancel)return null;if(!r.output)throw new Error("No valid response from the AI service.");const o=r.output;return await this.setGuessedAltText(o),e&&!this.hasAltTextData()&&(this.altTextData={alt:o,decorative:!1}),o}remove(){var t;h(vg,this)&&(d(mg,this,null),this._uiManager.imageManager.deleteId(h(vg,this)),null===(t=h(Ag,this))||void 0===t||t.remove(),d(Ag,this,null),h(kg,this)&&(clearTimeout(h(kg,this)),d(kg,this,null)));super.remove()}rebuild(){this.parent?(super.rebuild(),null!==this.div&&(h(vg,this)&&null===h(Ag,this)&&l(Mg,this,Pg).call(this),this.isAttachedToDOM||this.parent.add(this))):h(vg,this)&&l(Mg,this,Pg).call(this)}onceAdded(t){this._isDraggable=!0,t&&this.div.focus()}isEmpty(){return!(h(bg,this)||h(mg,this)||h(wg,this)||h(xg,this)||h(vg,this)||h(_g,this))}get isResizable(){return!0}render(){if(this.div)return this.div;let t,e;return this._isCopy&&(t=this.x,e=this.y),super.render(),this.div.hidden=!0,this.addAltTextButton(),h(_g,this)||(h(mg,this)?l(Mg,this,Dg).call(this):l(Mg,this,Pg).call(this)),this._isCopy&&this._moveAfterPaste(t,e),this._uiManager.addShouldRescale(this),this.div}setCanvas(t,e){const{id:i,bitmap:n}=this._uiManager.imageManager.getFromCanvas(t,e);e.remove(),i&&this._uiManager.imageManager.isValidId(i)&&(d(vg,this,i),n&&d(mg,this,n),d(_g,this,!1),l(Mg,this,Dg).call(this))}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;null!==h(kg,this)&&clearTimeout(h(kg,this));d(kg,this,setTimeout(()=>{d(kg,this,null),l(Mg,this,Lg).call(this)},200))}copyCanvas(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t||(t=224);const{width:n,height:s}=h(mg,this),a=new ee;let r=h(mg,this),o=n,c=s,d=null;if(e){var u,p;if(n>e||s>e){const t=Math.min(e/n,e/s);o=Math.floor(n*t),c=Math.floor(s*t)}d=document.createElement("canvas");const t=d.width=Math.ceil(o*a.sx),i=d.height=Math.ceil(c*a.sy);h(Sg,this)||(r=l(Mg,this,Ig).call(this,t,i));const g=d.getContext("2d");g.filter=this._uiManager.hcmFilter;let f="white",m="#cfcfd8";"none"!==this._uiManager.hcmFilter?m="black":null!==(u=(p=window).matchMedia)&&void 0!==u&&u.call(p,"(prefers-color-scheme: dark)").matches&&(f="#8f8f9d",m="#42414d");const v=15,b=v*a.sx,w=v*a.sy,x=new OffscreenCanvas(2*b,2*w),y=x.getContext("2d");y.fillStyle=f,y.fillRect(0,0,2*b,2*w),y.fillStyle=m,y.fillRect(0,0,b,w),y.fillRect(b,w,b,w),g.fillStyle=g.createPattern(x,"repeat"),g.fillRect(0,0,t,i),g.drawImage(r,0,0,r.width,r.height,0,0,t,i)}let g=null;if(i){let e,i;if(a.symmetric&&r.widtht||s>t){const a=Math.min(t/n,t/s);e=Math.floor(n*a),i=Math.floor(s*a),h(Sg,this)||(r=l(Mg,this,Ig).call(this,e,i))}const o=new OffscreenCanvas(e,i).getContext("2d",{willReadFrequently:!0});o.drawImage(r,0,0,r.width,r.height,0,0,e,i),g={width:e,height:i,data:o.getImageData(0,0,e,i).data}}return{canvas:d,width:o,height:c,imageData:g}}static async deserialize(t,e,i){let n=null,s=!1;if(t instanceof wh){var a;const{data:{rect:r,rotation:o,id:l,structParent:c,popupRef:h},container:d,parent:{page:{pageNumber:u}},canvas:p}=t;let g,f;p?(delete t.canvas,({id:g,bitmap:f}=i.imageManager.getFromCanvas(d.id,p)),p.remove()):(s=!0,t._hasNoCanvas=!0);const m=(null===(a=await e._structTree.getAriaAttributes("".concat(Ft).concat(l)))||void 0===a?void 0:a.get("aria-label"))||"";n=t={annotationType:z.STAMP,bitmapId:g,bitmap:f,pageIndex:u-1,rect:r.slice(0),rotation:o,id:l,deleted:!1,accessibilityData:{decorative:!1,altText:m},isSvg:!1,structParent:c,popupRef:h}}const r=await super.deserialize(t,e,i),{rect:o,bitmap:l,bitmapUrl:c,bitmapId:h,isSvg:u,accessibilityData:p}=t;s?(i.addMissingCanvas(t.id,r),d(_g,r,!0)):h&&i.imageManager.isValidId(h)?(d(vg,r,h),l&&d(mg,r,l)):d(wg,r,c),d(Sg,r,u);const[g,f]=r.pageDimensions;return r.width=(o[2]-o[0])/g,r.height=(o[3]-o[1])/f,r.annotationElementId=t.id||null,p&&(r.altTextData=p),r._initialData=n,d(Eg,r,!!n),r}serialize(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const i={annotationType:z.STAMP,bitmapId:h(vg,this),pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:h(Sg,this),structTreeParentId:this._structTreeParentId};if(t)return i.bitmapUrl=l(Mg,this,Fg).call(this,!0),i.accessibilityData=this.serializeAltText(!0),i.isCopy=!0,i;const{decorative:n,altText:s}=this.serializeAltText(!1);if(!n&&s&&(i.accessibilityData={type:"Figure",alt:s}),this.annotationElementId){const t=l(Mg,this,Og).call(this,i);if(t.isSame)return null;var a;if(t.isSameAltText)delete i.accessibilityData;else i.accessibilityData.structParent=null!==(a=this._initialData.structParent)&&void 0!==a?a:-1}if(i.id=this.annotationElementId,null===e)return i;e.stamps||(e.stamps=new Map);const r=h(Sg,this)?(i.rect[2]-i.rect[0])*(i.rect[3]-i.rect[1]):null;if(e.stamps.has(h(vg,this))){if(h(Sg,this)){const t=e.stamps.get(h(vg,this));r>t.area&&(t.area=r,t.serialized.bitmap.close(),t.serialized.bitmap=l(Mg,this,Fg).call(this,!1))}}else e.stamps.set(h(vg,this),{area:r,serialized:i}),i.bitmap=l(Mg,this,Fg).call(this,!1);return i}renderAnnotationElement(t){return t.updateEdited({rect:this.getRect(0,0)}),null}}function Rg(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?(d(mg,this,t.bitmap),e||(d(vg,this,t.id),d(Sg,this,t.isSvg)),t.file&&d(yg,this,t.file.name),l(Mg,this,Dg).call(this)):this.remove()}function Tg(){if(d(bg,this,null),this._uiManager.enableWaiting(!1),h(Ag,this)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&h(mg,this))return this._editToolbar.hide(),void this._uiManager.editAltText(this,!0);if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&h(mg,this)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch(t){}}this.div.focus()}}function Pg(){if(h(vg,this))return this._uiManager.enableWaiting(!0),void this._uiManager.imageManager.getFromId(h(vg,this)).then(t=>l(Mg,this,Rg).call(this,t,!0)).finally(()=>l(Mg,this,Tg).call(this));if(h(wg,this)){const t=h(wg,this);return d(wg,this,null),this._uiManager.enableWaiting(!0),void d(bg,this,this._uiManager.imageManager.getFromUrl(t).then(t=>l(Mg,this,Rg).call(this,t)).finally(()=>l(Mg,this,Tg).call(this)))}if(h(xg,this)){const t=h(xg,this);return d(xg,this,null),this._uiManager.enableWaiting(!0),void d(bg,this,this._uiManager.imageManager.getFromFile(t).then(t=>l(Mg,this,Rg).call(this,t)).finally(()=>l(Mg,this,Tg).call(this)))}const t=document.createElement("input");t.type="file",t.accept=ie.join(",");const e=this._uiManager._signal;d(bg,this,new Promise(i=>{t.addEventListener("change",async()=>{if(t.files&&0!==t.files.length){this._uiManager.enableWaiting(!0);const e=await this._uiManager.imageManager.getFromFile(t.files[0]);this._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),l(Mg,this,Rg).call(this,e)}else this.remove();i()},{signal:e}),t.addEventListener("cancel",()=>{this.remove(),i()},{signal:e})}).finally(()=>l(Mg,this,Tg).call(this))),t.click()}function Dg(){var t;const{div:e}=this;let{width:i,height:n}=h(mg,this);const[s,a]=this.pageDimensions,r=.75;if(this.width)i=this.width*s,n=this.height*a;else if(i>r*s||n>r*a){const t=Math.min(r*s/i,r*a/n);i*=t,n*=t}const[o,c]=this.parentDimensions;this.setDims(i*o/s,n*c/a),this._uiManager.enableWaiting(!1);const u=d(Ag,this,document.createElement("canvas"));u.setAttribute("role","img"),this.addContainer(u),this.width=i/s,this.height=n/a,null!==(t=this._initialOptions)&&void 0!==t&&t.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&!this.annotationElementId||(e.hidden=!1),l(Mg,this,Lg).call(this),h(Eg,this)||(this.parent.addUndoableEditor(this),d(Eg,this,!0)),this._reportTelemetry({action:"inserted_image"}),h(yg,this)&&this.div.setAttribute("aria-description",h(yg,this))}function Ig(t,e){const{width:i,height:n}=h(mg,this);let s=i,a=n,r=h(mg,this);for(;s>2*t||a>2*e;){const i=s,n=a;s>2*t&&(s=s>=16384?Math.floor(s/2)-1:Math.ceil(s/2)),a>2*e&&(a=a>=16384?Math.floor(a/2)-1:Math.ceil(a/2));const o=new OffscreenCanvas(s,a);o.getContext("2d").drawImage(r,0,0,i,n,0,0,s,a),r=o.transferToImageBitmap()}return r}function Lg(){const[t,e]=this.parentDimensions,{width:i,height:n}=this,s=new ee,a=Math.ceil(i*t*s.sx),r=Math.ceil(n*e*s.sy),o=h(Ag,this);if(!o||o.width===a&&o.height===r)return;o.width=a,o.height=r;const c=h(Sg,this)?h(mg,this):l(Mg,this,Ig).call(this,a,r),d=o.getContext("2d");d.filter=this._uiManager.hcmFilter,d.drawImage(c,0,0,c.width,c.height,0,0,a,r)}function Fg(t){if(t){if(h(Sg,this)){const t=this._uiManager.imageManager.getSvgUrl(h(vg,this));if(t)return t}const t=document.createElement("canvas");({width:t.width,height:t.height}=h(mg,this));return t.getContext("2d").drawImage(h(mg,this),0,0),t.toDataURL()}if(h(Sg,this)){const[t,e]=this.pageDimensions,i=Math.round(this.width*t*jt.PDF_TO_CSS_UNITS),n=Math.round(this.height*e*jt.PDF_TO_CSS_UNITS),s=new OffscreenCanvas(i,n);return s.getContext("2d").drawImage(h(mg,this),0,0,h(mg,this).width,h(mg,this).height,0,0,i,n),s.transferToImageBitmap()}return structuredClone(h(mg,this))}function Og(t){var e;const{pageIndex:i,accessibilityData:{altText:n}}=this._initialData,s=t.pageIndex===i,a=((null===(e=t.accessibilityData)||void 0===e?void 0:e.alt)||"")===n;return{isSame:!this._hasBeenMoved&&!this._hasBeenResized&&s&&a,isSameAltText:a}}(0,M.A)(Cg,"_type","stamp"),(0,M.A)(Cg,"_editorType",z.STAMP);var Ng=new WeakMap,Wg=new WeakMap,jg=new WeakMap,Bg=new WeakMap,zg=new WeakMap,Hg=new WeakMap,Gg=new WeakMap,Ug=new WeakMap,Vg=new WeakMap,qg=new WeakMap,Xg=new WeakMap,Kg=new WeakMap,Yg=new WeakMap,Qg=new WeakMap,Jg=new WeakSet;class Zg{constructor(t){let{uiManager:e,pageIndex:i,div:n,structTreeLayer:s,accessibilityManager:a,annotationLayer:l,drawLayer:c,textLayer:u,viewport:p,l10n:g}=t;r(this,Jg),o(this,Ng,void 0),o(this,Wg,!1),o(this,jg,null),o(this,Bg,null),o(this,zg,null),o(this,Hg,new Map),o(this,Gg,!1),o(this,Ug,!1),o(this,Vg,!1),o(this,qg,null),o(this,Xg,null),o(this,Kg,null),o(this,Yg,null),o(this,Qg,void 0);const f=[...af._.values()];if(!Zg._initialized){Zg._initialized=!0;for(const t of f)t.initialize(g,e)}e.registerEditorTypes(f),d(Qg,this,e),this.pageIndex=i,this.div=n,d(Ng,this,a),d(jg,this,l),this.viewport=p,d(Kg,this,u),this.drawLayer=c,this._structTree=s,h(Qg,this).addLayer(this)}get isEmpty(){return 0===h(Hg,this).size}get isInvisible(){return this.isEmpty&&h(Qg,this).getMode()===z.NONE}updateToolbar(t){h(Qg,this).updateToolbar(t)}updateMode(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h(Qg,this).getMode();switch(l(Jg,this,sf).call(this),t){case z.NONE:return this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),void this.disableClick();case z.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case z.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);const{classList:e}=this.div;for(const i of af._.values())e.toggle("".concat(i._type,"Editing"),t===i._editorType);this.div.hidden=!1}hasTextLayer(t){var e;return t===(null===(e=h(Kg,this))||void 0===e?void 0:e.div)}setEditingState(t){h(Qg,this).setEditingState(t)}addCommands(t){h(Qg,this).addCommands(t)}cleanUndoStack(t){h(Qg,this).cleanUndoStack(t)}toggleDrawing(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.div.classList.toggle("drawing",!t)}togglePointerEvents(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.div.classList.toggle("disabled",!t)}toggleAnnotationLayerPointerEvents(){var t;let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];null===(t=h(jg,this))||void 0===t||t.div.classList.toggle("disabled",!e)}async enable(){d(Vg,this,!0),this.div.tabIndex=0,this.togglePointerEvents(!0);const t=new Set;for(const i of h(Hg,this).values())i.enableEditing(),i.show(!0),i.annotationElementId&&(h(Qg,this).removeChangedExistingAnnotation(i),t.add(i.annotationElementId));if(!h(jg,this))return void d(Vg,this,!1);const e=h(jg,this).getEditableAnnotations();for(const i of e){if(i.hide(),h(Qg,this).isDeletedAnnotationElement(i.data.id))continue;if(t.has(i.data.id))continue;const e=await this.deserialize(i);e&&(this.addOrRebuild(e),e.enableEditing())}d(Vg,this,!1)}disable(){d(Ug,this,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1);const t=new Map,e=new Map;for(const s of h(Hg,this).values()){var i;s.disableEditing(),s.annotationElementId&&(null===s.serialize()?(e.set(s.annotationElementId,s),null===(i=this.getEditableAnnotation(s.annotationElementId))||void 0===i||i.show(),s.remove()):t.set(s.annotationElementId,s))}if(h(jg,this)){const i=h(jg,this).getEditableAnnotations();for(const n of i){const{id:i}=n.data;if(h(Qg,this).isDeletedAnnotationElement(i))continue;let s=e.get(i);s?(s.resetAnnotationElement(n),s.show(!1),n.show()):(s=t.get(i),s&&(h(Qg,this).addChangedExistingAnnotation(s),s.renderAnnotationElement(n)&&s.show(!1)),n.show())}}l(Jg,this,sf).call(this),this.isEmpty&&(this.div.hidden=!0);const{classList:n}=this.div;for(const s of af._.values())n.remove("".concat(s._type,"Editing"));this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),d(Ug,this,!1)}getEditableAnnotation(t){var e;return(null===(e=h(jg,this))||void 0===e?void 0:e.getEditableAnnotation(t))||null}setActiveEditor(t){h(Qg,this).getActive()!==t&&h(Qg,this).setActiveEditor(t)}enableTextSelection(){var t;if(this.div.tabIndex=-1,null!==(t=h(Kg,this))&&void 0!==t&&t.div&&!h(Yg,this)){d(Yg,this,new AbortController);const t=h(Qg,this).combinedSignal(h(Yg,this));h(Kg,this).div.addEventListener("pointerdown",l(Jg,this,$g).bind(this),{signal:t}),h(Kg,this).div.classList.add("highlighting")}}disableTextSelection(){var t;this.div.tabIndex=0,null!==(t=h(Kg,this))&&void 0!==t&&t.div&&h(Yg,this)&&(h(Yg,this).abort(),d(Yg,this,null),h(Kg,this).div.classList.remove("highlighting"))}enableClick(){if(h(Bg,this))return;d(Bg,this,new AbortController);const t=h(Qg,this).combinedSignal(h(Bg,this));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:t});const e=this.pointerup.bind(this);this.div.addEventListener("pointerup",e,{signal:t}),this.div.addEventListener("pointercancel",e,{signal:t})}disableClick(){var t;null===(t=h(Bg,this))||void 0===t||t.abort(),d(Bg,this,null)}attach(t){h(Hg,this).set(t.id,t);const{annotationElementId:e}=t;e&&h(Qg,this).isDeletedAnnotationElement(e)&&h(Qg,this).removeDeletedAnnotationElement(t)}detach(t){var e;h(Hg,this).delete(t.id),null===(e=h(Ng,this))||void 0===e||e.removePointerInTextLayer(t.contentDiv),!h(Ug,this)&&t.annotationElementId&&h(Qg,this).addDeletedAnnotationElement(t)}remove(t){this.detach(t),h(Qg,this).removeEditor(t),t.div.remove(),t.isAttachedToDOM=!1}changeParent(t){var e;t.parent!==this&&(t.parent&&t.annotationElementId&&(h(Qg,this).addDeletedAnnotationElement(t.annotationElementId),cs.deleteAnnotationElement(t),t.annotationElementId=null),this.attach(t),null===(e=t.parent)||void 0===e||e.detach(t),t.setParent(this),t.div&&t.isAttachedToDOM&&(t.div.remove(),this.div.append(t.div)))}add(t){if(t.parent!==this||!t.isAttachedToDOM){if(this.changeParent(t),h(Qg,this).addEditor(t),this.attach(t),!t.isAttachedToDOM){const e=t.render();this.div.append(e),t.isAttachedToDOM=!0}t.fixAndSetPosition(),t.onceAdded(!h(Vg,this)),h(Qg,this).addToAnnotationStorage(t),t._reportTelemetry(t.telemetryInitialData)}}moveEditorInDOM(t){var e;if(!t.isAttachedToDOM)return;const{activeElement:i}=document;t.div.contains(i)&&!h(zg,this)&&(t._focusEventsAllowed=!1,d(zg,this,setTimeout(()=>{d(zg,this,null),t.div.contains(document.activeElement)?t._focusEventsAllowed=!0:(t.div.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:h(Qg,this)._signal}),i.focus())},0))),t._structTreeParentId=null===(e=h(Ng,this))||void 0===e?void 0:e.moveElementInDOM(this.div,t.div,t.contentDiv,!0)}addOrRebuild(t){t.needsToBeRebuilt()?(t.parent||(t.parent=this),t.rebuild(),t.show()):this.add(t)}addUndoableEditor(t){this.addCommands({cmd:()=>t._uiManager.rebuild(t),undo:()=>{t.remove()},mustExec:!1})}getNextId(){return h(Qg,this).getId()}combinedSignal(t){return h(Qg,this).combinedSignal(t)}canCreateNewEmptyEditor(){var t;return null===(t=c(Jg,this,tf))||void 0===t?void 0:t.canCreateNewEmptyEditor()}async pasteEditor(t,e){this.updateToolbar(t),await h(Qg,this).updateMode(t.mode);const{offsetX:i,offsetY:n}=l(Jg,this,nf).call(this),a=this.getNextId(),r=l(Jg,this,ef).call(this,(0,s.A)({parent:this,id:a,x:i,y:n,uiManager:h(Qg,this),isCentered:!0},e));r&&this.add(r)}async deserialize(t){var e,i;return await(null===(e=af._.get(null!==(i=t.annotationType)&&void 0!==i?i:t.annotationEditorType))||void 0===e?void 0:e.deserialize(t,this,h(Qg,this)))||null}createAndAddNewEditor(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getNextId(),a=l(Jg,this,ef).call(this,(0,s.A)({parent:this,id:n,x:t.offsetX,y:t.offsetY,uiManager:h(Qg,this),isCentered:e},i));return a&&this.add(a),a}addNewEditor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.createAndAddNewEditor(l(Jg,this,nf).call(this),!0,t)}setSelected(t){h(Qg,this).setSelected(t)}toggleSelected(t){h(Qg,this).toggleSelected(t)}unselect(t){h(Qg,this).unselect(t)}pointerup(t){var e;const{isMac:i}=Mt.platform;if(0!==t.button||t.ctrlKey&&i)return;if(t.target!==this.div)return;if(!h(Gg,this))return;if(d(Gg,this,!1),null!==(e=c(Jg,this,tf))&&void 0!==e&&e.isDrawer&&c(Jg,this,tf).supportMultipleDrawings)return;if(!h(Wg,this))return void d(Wg,this,!0);const n=h(Qg,this).getMode();n!==z.STAMP&&n!==z.SIGNATURE?this.createAndAddNewEditor(t,!1):h(Qg,this).unselectAll()}pointerdown(t){var e;if(h(Qg,this).getMode()===z.HIGHLIGHT&&this.enableTextSelection(),h(Gg,this))return void d(Gg,this,!1);const{isMac:i}=Mt.platform;if(0!==t.button||t.ctrlKey&&i)return;if(t.target!==this.div)return;if(d(Gg,this,!0),null!==(e=c(Jg,this,tf))&&void 0!==e&&e.isDrawer)return void this.startDrawingSession(t);const n=h(Qg,this).getActive();d(Wg,this,!n||n.isEmpty())}startDrawingSession(t){if(this.div.focus({preventScroll:!0}),h(qg,this))return void c(Jg,this,tf).startDrawing(this,h(Qg,this),!1,t);h(Qg,this).setCurrentDrawingSession(this),d(qg,this,new AbortController);const e=h(Qg,this).combinedSignal(h(qg,this));this.div.addEventListener("blur",t=>{let{relatedTarget:e}=t;e&&!this.div.contains(e)&&(d(Xg,this,null),this.commitOrRemove())},{signal:e}),c(Jg,this,tf).startDrawing(this,h(Qg,this),!1,t)}pause(t){if(t){const{activeElement:t}=document;return void(this.div.contains(t)&&d(Xg,this,t))}h(Xg,this)&&setTimeout(()=>{var t;null===(t=h(Xg,this))||void 0===t||t.focus(),d(Xg,this,null)},0)}endDrawingSession(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return h(qg,this)?(h(Qg,this).setCurrentDrawingSession(null),h(qg,this).abort(),d(qg,this,null),d(Xg,this,null),c(Jg,this,tf).endDrawing(t)):null}findNewParent(t,e,i){const n=h(Qg,this).findParent(e,i);return null!==n&&n!==this&&(n.changeParent(t),!0)}commitOrRemove(){return!!h(qg,this)&&(this.endDrawingSession(),!0)}onScaleChanging(){h(qg,this)&&c(Jg,this,tf).onScaleChangingWhenDrawing(this)}destroy(){var t;this.commitOrRemove(),(null===(t=h(Qg,this).getActive())||void 0===t?void 0:t.parent)===this&&(h(Qg,this).commitOrRemove(),h(Qg,this).setActiveEditor(null)),h(zg,this)&&(clearTimeout(h(zg,this)),d(zg,this,null));for(const i of h(Hg,this).values()){var e;null===(e=h(Ng,this))||void 0===e||e.removePointerInTextLayer(i.contentDiv),i.setParent(null),i.isAttachedToDOM=!1,i.div.remove()}this.div=null,h(Hg,this).clear(),h(Qg,this).removeLayer(this)}render(t){let{viewport:e}=t;this.viewport=e,te(this.div,e);for(const i of h(Qg,this).getEditors(this.pageIndex))this.add(i),i.rebuild();this.updateMode()}update(t){let{viewport:e}=t;h(Qg,this).commitOrRemove(),l(Jg,this,sf).call(this);const i=this.viewport.rotation,n=e.rotation;if(this.viewport=e,te(this.div,{rotation:n}),i!==n)for(const s of h(Hg,this).values())s.rotate(n)}get pageDimensions(){const{pageWidth:t,pageHeight:e}=this.viewport.rawDims;return[t,e]}get scale(){return h(Qg,this).viewParameters.realScale}}function $g(t){h(Qg,this).unselectAll();const{target:e}=t;if(e===h(Kg,this).div||("img"===e.getAttribute("role")||e.classList.contains("endOfContent"))&&h(Kg,this).div.contains(e)){const{isMac:e}=Mt.platform;if(0!==t.button||t.ctrlKey&&e)return;h(Qg,this).showAllEditors("highlight",!0,!0),h(Kg,this).div.classList.add("free"),this.toggleDrawing(),Pu.startHighlighting(this,"ltr"===h(Qg,this).direction,{target:h(Kg,this).div,x:t.x,y:t.y}),h(Kg,this).div.addEventListener("pointerup",()=>{h(Kg,this).div.classList.remove("free"),this.toggleDrawing(!0)},{once:!0,signal:h(Qg,this)._signal}),t.preventDefault()}}function tf(t){return af._.get(h(Qg,t).getMode())}function ef(t){const e=c(Jg,this,tf);return e?new e.prototype.constructor(t):null}function nf(){const{x:t,y:e,width:i,height:n}=this.div.getBoundingClientRect(),s=Math.max(0,t),a=Math.max(0,e),r=(s+Math.min(window.innerWidth,t+i))/2-t,o=(a+Math.min(window.innerHeight,e+n))/2-e,[l,c]=this.viewport.rotation%180===0?[r,o]:[o,r];return{offsetX:l,offsetY:c}}function sf(){for(const t of h(Hg,this).values())t.isEmpty()&&t.remove()}(0,M.A)(Zg,"_initialized",!1);var af={_:new Map([jh,qp,Cg,Pu,fg].map(t=>[t._editorType,t]))},rf=new WeakMap,of=new WeakMap,lf=new WeakMap,cf=new WeakSet;class hf{constructor(t){let{pageIndex:e}=t;r(this,cf),o(this,rf,null),o(this,of,new Map),o(this,lf,new Map),this.pageIndex=e}setParent(t){if(h(rf,this)){if(h(rf,this)!==t){if(h(of,this).size>0)for(const e of h(of,this).values())e.remove(),t.append(e);d(rf,this,t)}}else d(rf,this,t)}static get _svgFactory(){return vt(this,"_svgFactory",new Zl)}draw(t){var e,i;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const a=(ff._=(e=ff._,i=e++,e),i),r=l(cf,this,uf).call(this),o=hf._svgFactory.createElement("defs");r.append(o);const c=hf._svgFactory.createElement("path");o.append(c);const d="path_p".concat(this.pageIndex,"_").concat(a);c.setAttribute("id",d),c.setAttribute("vector-effect","non-scaling-stroke"),n&&h(lf,this).set(a,c);const u=s?l(cf,this,pf).call(this,o,d):null,p=hf._svgFactory.createElement("use");return r.append(p),p.setAttribute("href","#".concat(d)),this.updateProperties(r,t),h(of,this).set(a,r),{id:a,clipPathId:"url(#".concat(u,")")}}drawOutline(t,e){var i,n;const s=(ff._=(i=ff._,n=i++,i),n),a=l(cf,this,uf).call(this),r=hf._svgFactory.createElement("defs");a.append(r);const o=hf._svgFactory.createElement("path");r.append(o);const c="path_p".concat(this.pageIndex,"_").concat(s);let d;if(o.setAttribute("id",c),o.setAttribute("vector-effect","non-scaling-stroke"),e){const t=hf._svgFactory.createElement("mask");r.append(t),d="mask_p".concat(this.pageIndex,"_").concat(s),t.setAttribute("id",d),t.setAttribute("maskUnits","objectBoundingBox");const e=hf._svgFactory.createElement("rect");t.append(e),e.setAttribute("width","1"),e.setAttribute("height","1"),e.setAttribute("fill","white");const i=hf._svgFactory.createElement("use");t.append(i),i.setAttribute("href","#".concat(c)),i.setAttribute("stroke","none"),i.setAttribute("fill","black"),i.setAttribute("fill-rule","nonzero"),i.classList.add("mask")}const u=hf._svgFactory.createElement("use");a.append(u),u.setAttribute("href","#".concat(c)),d&&u.setAttribute("mask","url(#".concat(d,")"));const p=u.cloneNode();return a.append(p),u.classList.add("mainOutline"),p.classList.add("secondaryOutline"),this.updateProperties(a,t),h(of,this).set(s,a),s}finalizeDraw(t,e){h(lf,this).delete(t),this.updateProperties(t,e)}updateProperties(t,e){if(!e)return;const{root:i,bbox:n,rootClass:s,path:a}=e,r="number"===typeof t?h(of,this).get(t):t;if(r){if(i&&l(cf,this,gf).call(this,r,i),n&&df.call(hf,r,n),s){const{classList:t}=r;for(const[e,i]of Object.entries(s))t.toggle(e,i)}if(a){const t=r.firstChild.firstChild;l(cf,this,gf).call(this,t,a)}}}updateParent(t,e){if(e===this)return;const i=h(of,this).get(t);i&&(h(rf,e).append(i),h(of,this).delete(t),h(of,e).set(t,i))}remove(t){h(lf,this).delete(t),null!==h(rf,this)&&(h(of,this).get(t).remove(),h(of,this).delete(t))}destroy(){d(rf,this,null);for(const t of h(of,this).values())t.remove();h(of,this).clear(),h(lf,this).clear()}}function df(t,e){let[i,n,s,a]=e;const{style:r}=t;r.top="".concat(100*n,"%"),r.left="".concat(100*i,"%"),r.width="".concat(100*s,"%"),r.height="".concat(100*a,"%")}function uf(){const t=E._svgFactory.create(1,1,!0);return h(rf,this).append(t),t.setAttribute("aria-hidden",!0),t}function pf(t,e){const i=E._svgFactory.createElement("clipPath");t.append(i);const n="clip_".concat(e);i.setAttribute("id",n),i.setAttribute("clipPathUnits","objectBoundingBox");const s=E._svgFactory.createElement("use");return i.append(s),s.setAttribute("href","#".concat(e)),s.classList.add("clip"),n}function gf(t,e){for(const[i,n]of Object.entries(e))null===n?t.removeAttribute(i):t.setAttribute(i,n)}E=hf;var ff={_:0};globalThis._pdfjsTestingUtils={HighlightOutliner:Fd},globalThis.pdfjsLib={AbortException:kt,AnnotationEditorLayer:Zg,AnnotationEditorParamsType:H,AnnotationEditorType:z,AnnotationEditorUIManager:Fi,AnnotationLayer:Rh,AnnotationMode:B,AnnotationType:Q,build:"47ad820d9",ColorPicker:su,createValidAbsoluteUrl:ft,DOMSVGFactory:Zl,DrawLayer:hf,FeatureTest:Mt,fetchData:Bt,getDocument:ol,getFilenameFromUrl:function(t){return[t]=t.split(/[#?]/,1),t.substring(t.lastIndexOf("/")+1)},getPdfFilenameFromUrl:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!==typeof t)return e;if(Gt(t))return ut('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),e;const i=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,n=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(t);let s=i.exec(n[1])||i.exec(n[2])||i.exec(n[3]);if(s&&(s=s[0],s.includes("%")))try{s=i.exec(decodeURIComponent(s))[0]}catch(a){}return s||e},getUuid:Lt,getXfaPageViewport:function(t,e){let{scale:i=1,rotation:n=0}=e;const{width:s,height:a}=t.attributes.style,r=[0,0,parseInt(s),parseInt(a)];return new zt({viewBox:r,userUnit:1,scale:i,rotation:n})},GlobalWorkerOptions:Fr,ImageKind:Y,InvalidPDFException:yt,isDataScheme:Gt,isPdfFile:Ut,isValidExplicitDest:Ks,MathClamp:Ot,noContextMenu:Xt,normalizeUnicode:function(t){return Dt||(Dt=/([\xA0\xB5\u037E\u0EB3\u2000-\u200A\u202F\u2126\uFB00-\uFB04\uFB06\uFB20-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBA1\uFBA4-\uFBA9\uFBAE-\uFBB1\uFBD3-\uFBDC\uFBDE-\uFBE7\uFBEA-\uFBF8\uFBFC\uFBFD\uFC00-\uFC5D\uFC64-\uFCF1\uFCF5-\uFD3D\uFD88\uFDF4\uFDFA\uFDFB\uFE71\uFE77\uFE79\uFE7B\uFE7D]+)|(\uFB05+)/g,It=new Map([["\ufb05","\u017ft"]])),t.replaceAll(Dt,(t,e,i)=>e?e.normalize("NFKC"):It.get(i))},OPS:nt,OutputScale:ee,PasswordResponses:{NEED_PASSWORD:1,INCORRECT_PASSWORD:2},PDFDataRangeTransport:fl,PDFDateString:Yt,PDFWorker:El,PermissionFlag:{PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},PixelsPerInch:jt,RenderingCancelledException:Ht,ResponseException:At,setLayerDimensions:te,shadow:vt,SignatureExtractor:Yp,stopEvent:Kt,SupportedImageMimeTypes:ie,TextLayer:Xo,TouchManager:Ln,updateUrlHash:mt,Util:Rt,VerbosityLevel:it,version:"5.3.31",XfaLayer:$l}},38342:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var n=i(44414);function s(t){let{children:e,type:i}=t;return(0,n.jsx)("div",{className:"react-pdf__message react-pdf__message--".concat(i),children:e})}},49910:(t,e,i)=>{"use strict";i.d(e,{A:()=>L});var n=i(44414),s=i(9950),a=i(58386),r=i(8661),o=i(72004);function l(){for(var t=[],e=0;ex(i),[i]),r=(0,s.useMemo)(()=>m(i)?v(i)?null:i.children.map((t,e)=>(0,n.jsx)(y,{node:t},e)):null,[i]);return(0,n.jsx)("span",Object.assign({className:e},a,{children:r}))}function A(){return(0,s.useContext)(d)}var _=i(28097),k=i(78762);function S(){const t=A();(0,c.A)(t,"Unable to find Page context.");const{onGetStructTreeError:e,onGetStructTreeSuccess:i}=t,[r,o]=(0,_.A)(),{value:l,error:d}=r,{customTextRenderer:u,page:p}=t;return(0,s.useEffect)(function(){o({type:"RESET"})},[o,p]),(0,s.useEffect)(function(){if(u)return;if(!p)return;const t=(0,a.A)(p.getStructTree()),e=t;return t.promise.then(t=>{o({type:"RESOLVE",value:t})}).catch(t=>{o({type:"REJECT",error:t})}),()=>(0,k.xL)(e)},[u,p,o]),(0,s.useEffect)(()=>{void 0!==l&&(!1!==l?l&&i&&i(l):d&&(h(!1,d.toString()),e&&e(d)))},[l]),l?(0,n.jsx)(y,{className:"react-pdf__Page__structTree structTree",node:l}):null}const E=p.ng;function M(t){const e=A();(0,c.A)(e,"Unable to find Page context.");const i=Object.assign(Object.assign({},e),t),{_className:a,canvasBackground:r,devicePixelRatio:o=(0,k.mZ)(),onRenderError:d,onRenderSuccess:u,page:p,renderForms:g,renderTextLayer:f,rotate:m,scale:v}=i,{canvasRef:b}=t;(0,c.A)(p,"Attempted to render page canvas, but no page was specified.");const w=(0,s.useRef)(null);function x(t){(0,k.UT)(t)||(h(!1,t.toString()),d&&d(t))}const y=(0,s.useMemo)(()=>p.getViewport({scale:v*o,rotation:m}),[o,p,m,v]),_=(0,s.useMemo)(()=>p.getViewport({scale:v,rotation:m}),[p,m,v]);(0,s.useEffect)(function(){if(!p)return;p.cleanup();const{current:t}=w;if(!t)return;t.width=y.width,t.height=y.height,t.style.width="".concat(Math.floor(_.width),"px"),t.style.height="".concat(Math.floor(_.height),"px"),t.style.visibility="hidden";const e={annotationMode:g?E.ENABLE_FORMS:E.ENABLE,canvasContext:t.getContext("2d",{alpha:!1}),viewport:y};r&&(e.background=r);const i=p.render(e),n=i;return i.promise.then(()=>{t.style.visibility="",p&&u&&u((0,k.vS)(p,v))}).catch(x),()=>(0,k.xL)(n)},[r,p,g,y,_]);const M=(0,s.useCallback)(()=>{const{current:t}=w;t&&(t.width=0,t.height=0)},[]);return(0,s.useEffect)(()=>M,[M]),(0,n.jsx)("canvas",{className:"".concat(a,"__canvas"),dir:"ltr",ref:l(b,w),style:{display:"block",userSelect:"none"},children:f?(0,n.jsx)(S,{}):null})}function C(){const t=A();(0,c.A)(t,"Unable to find Page context.");const{customTextRenderer:e,onGetTextError:i,onGetTextSuccess:r,onRenderTextLayerError:l,onRenderTextLayerSuccess:d,page:u,pageIndex:g,pageNumber:f,rotate:m,scale:v}=t;(0,c.A)(u,"Attempted to load page text content, but no page was specified.");const[b,w]=(0,_.A)(),{value:x,error:y}=b,S=(0,s.useRef)(null);h(1===Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-text-layer"),10),"TextLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-text-layer"),(0,s.useEffect)(function(){w({type:"RESET"})},[u,w]),(0,s.useEffect)(function(){if(!u)return;const t=(0,a.A)(u.getTextContent()),e=t;return t.promise.then(t=>{w({type:"RESOLVE",value:t})}).catch(t=>{w({type:"REJECT",error:t})}),()=>(0,k.xL)(e)},[u,w]),(0,s.useEffect)(()=>{void 0!==x&&(!1!==x?x&&r&&r(x):y&&(h(!1,y.toString()),i&&i(y)))},[x]);const E=(0,s.useCallback)(()=>{d&&d()},[d]),M=(0,s.useCallback)(t=>{h(!1,t.toString()),l&&l(t)},[l]);const C=(0,s.useMemo)(()=>u.getViewport({scale:v,rotation:m}),[u,m,v]);return(0,s.useLayoutEffect)(function(){if(!u||!x)return;const{current:t}=S;if(!t)return;t.innerHTML="";const i=u.streamTextContent({includeMarkedContent:!0}),n={container:t,textContentSource:i,viewport:C},s=new p.D6(n),a=s;return s.render().then(()=>{const i=document.createElement("div");i.className="endOfContent",t.append(i);const n=t.querySelectorAll('[role="presentation"]');if(e){let t=0;x.items.forEach((i,s)=>{if(!function(t){return"str"in t}(i))return;const a=n[t];if(!a)return;const r=e(Object.assign({pageIndex:g,pageNumber:f,itemIndex:s},i));a.innerHTML=r,t+=i.str&&i.hasEOL?2:1})}E()}).catch(M),()=>(0,k.xL)(a)},[e,M,E,u,g,f,x,C]),(0,n.jsx)("div",{className:(0,o.A)("react-pdf__Page__textContent","textLayer"),onMouseUp:function(){const t=S.current;t&&t.classList.remove("selecting")},onMouseDown:function(){const t=S.current;t&&t.classList.add("selecting")},ref:S})}var R=i(76325);function T(){return(0,s.useContext)(R.A)}function P(){const t=T(),e=A();(0,c.A)(e,"Unable to find Page context.");const i=Object.assign(Object.assign({},t),e),{imageResourcesPath:r,linkService:l,onGetAnnotationsError:d,onGetAnnotationsSuccess:u,onRenderAnnotationLayerError:g,onRenderAnnotationLayerSuccess:f,page:m,pdf:v,renderForms:b,rotate:w,scale:x=1}=i;(0,c.A)(v,"Attempted to load page annotations, but no document was specified. Wrap in a or pass explicit `pdf` prop."),(0,c.A)(m,"Attempted to load page annotations, but no page was specified."),(0,c.A)(l,"Attempted to load page annotations, but no linkService was specified.");const[y,S]=(0,_.A)(),{value:E,error:M}=y,C=(0,s.useRef)(null);h(1===Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-annotation-layer"),10),"AnnotationLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-annotations"),(0,s.useEffect)(function(){S({type:"RESET"})},[S,m]),(0,s.useEffect)(function(){if(!m)return;const t=(0,a.A)(m.getAnnotations()),e=t;return t.promise.then(t=>{S({type:"RESOLVE",value:t})}).catch(t=>{S({type:"REJECT",error:t})}),()=>{(0,k.xL)(e)}},[S,m]),(0,s.useEffect)(()=>{void 0!==E&&(!1!==E?E&&u&&u(E):M&&(h(!1,M.toString()),d&&d(M)))},[E]);const R=(0,s.useMemo)(()=>m.getViewport({scale:x,rotation:w}),[m,w,x]);return(0,s.useEffect)(function(){if(!v||!m||!l||!E)return;const{current:t}=C;if(!t)return;const e=R.clone({dontFlip:!0}),i={accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,div:t,l10n:null,page:m,structTreeLayer:null,viewport:e},n={annotations:E,annotationStorage:v.annotationStorage,div:t,imageResourcesPath:r,linkService:l,page:m,renderForms:b,viewport:e};t.innerHTML="";try{new p.dU(i).render(n),f&&f()}catch(s){!function(t){h(!1,"".concat(t)),g&&g(t)}(s)}return()=>{}},[E,r,l,m,v,b,R]),(0,n.jsx)("div",{className:(0,o.A)("react-pdf__Page__annotations","annotationLayer"),ref:C})}var D=function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(t);s in a or pass explicit `pdf` prop.");const pt=(0,k.ci)(Q)?Q-1:null!==Y&&void 0!==Y?Y:null,gt=null!==Q&&void 0!==Q?Q:(0,k.ci)(Y)?Y+1:null,ft=null!==nt&&void 0!==nt?nt:ht?ht.rotate:null,mt=(0,s.useMemo)(()=>{if(!ht)return null;let t=1;const e=null!==st&&void 0!==st?st:I;if(rt||S){const e=ht.getViewport({scale:1,rotation:ft});rt?t=rt/e.width:S&&(t=S/e.height)}return e*t},[S,ht,ft,st,rt]);(0,s.useEffect)(function(){return()=>{(0,k.ci)(pt)&&g&&at&&at(pt)}},[g,J,pt,at]),(0,s.useEffect)(function(){ct({type:"RESET"})},[ct,J,pt]),(0,s.useEffect)(function(){if(!J||!gt)return;const t=(0,a.A)(J.getPage(gt)),e=t;return t.promise.then(t=>{ct({type:"RESOLVE",value:t})}).catch(t=>{ct({type:"REJECT",error:t})}),()=>(0,k.xL)(e)},[ct,J,gt]),(0,s.useEffect)(()=>{void 0!==ht&&(!1!==ht?function(){if(H){if(!ht||!mt)return;H((0,k.vS)(ht,mt))}if(g&&Z){if(!(0,k.ci)(pt)||!ut.current)return;Z(pt,ut.current)}}():dt&&(h(!1,dt.toString()),z&&z(dt)))},[ht,mt]);const vt=(0,s.useMemo)(()=>ht&&(0,k.ci)(pt)&>&&(0,k.ci)(ft)&&(0,k.ci)(mt)?{_className:p,canvasBackground:f,customTextRenderer:x,devicePixelRatio:y,onGetAnnotationsError:F,onGetAnnotationsSuccess:O,onGetStructTreeError:N,onGetStructTreeSuccess:W,onGetTextError:j,onGetTextSuccess:B,onRenderAnnotationLayerError:G,onRenderAnnotationLayerSuccess:U,onRenderError:V,onRenderSuccess:q,onRenderTextLayerError:X,onRenderTextLayerSuccess:K,page:ht,pageIndex:pt,pageNumber:gt,renderForms:tt,renderTextLayer:it,rotate:ft,scale:mt}:null,[p,f,x,y,F,O,N,W,j,B,G,U,V,q,X,K,ht,pt,gt,tt,it,ft,mt]),bt=(0,s.useMemo)(()=>(0,r.Ay)(ot,()=>ht?mt?(0,k.vS)(ht,mt):void 0:ht),[ot,ht,mt]),wt="".concat(pt,"@").concat(mt,"/").concat(ft);function xt(){switch(et){case"custom":return(0,c.A)(w,'renderMode was set to "custom", but no customRenderer was passed.'),(0,n.jsx)(w,{},"".concat(wt,"_custom"));case"none":return null;default:return(0,n.jsx)(M,{canvasRef:m},"".concat(wt,"_canvas"))}}return(0,n.jsx)("div",Object.assign({className:(0,o.A)(p,b),"data-page-number":gt,ref:l(E,ut),style:{"--scale-round-x":"1px","--scale-round-y":"1px","--scale-factor":"1","--user-unit":"".concat(mt),"--total-scale-factor":"calc(var(--scale-factor) * var(--user-unit))",backgroundColor:f||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"}},bt,{children:gt?null===J||void 0===ht||null===ht?(0,n.jsx)(u.A,{type:"loading",children:"function"===typeof R?R():R}):!1===J||!1===ht?(0,n.jsx)(u.A,{type:"error",children:"function"===typeof A?A():A}):(0,n.jsxs)(d.Provider,{value:vt,children:[xt(),it?(0,n.jsx)(C,{},"".concat(wt,"_text")):null,$?(0,n.jsx)(P,{},"".concat(wt,"_annotations")):null,v]}):(0,n.jsx)(u.A,{type:"no-data",children:"function"===typeof L?L():L})}))}},54823:(t,e,i)=>{"use strict";i.d(e,{A:()=>k});var n=i(44414),s=i(9950),a=i(8661),r=i(58386),o=i(72004),l=i(67033),c=i(2241),h=Object.prototype.hasOwnProperty;function d(t,e,i){for(i of t.keys())if(u(i,e))return i}function u(t,e){var i,n,s;if(t===e)return!0;if(t&&e&&(i=t.constructor)===e.constructor){if(i===Date)return t.getTime()===e.getTime();if(i===RegExp)return t.toString()===e.toString();if(i===Array){if((n=t.length)===e.length)for(;n--&&u(t[n],e[n]););return-1===n}if(i===Set){if(t.size!==e.size)return!1;for(n of t){if((s=n)&&"object"===typeof s&&!(s=d(e,s)))return!1;if(!e.has(s))return!1}return!0}if(i===Map){if(t.size!==e.size)return!1;for(n of t){if((s=n[0])&&"object"===typeof s&&!(s=d(e,s)))return!1;if(!u(n[1],e.get(s)))return!1}return!0}if(i===ArrayBuffer)t=new Uint8Array(t),e=new Uint8Array(e);else if(i===DataView){if((n=t.byteLength)===e.byteLength)for(;n--&&t.getInt8(n)===e.getInt8(n););return-1===n}if(ArrayBuffer.isView(t)){if((n=t.byteLength)===e.byteLength)for(;n--&&t[n]===e[n];);return-1===n}if(!i||"object"===typeof t){for(i in n=0,t){if(h.call(t,i)&&++n&&!h.call(e,i))return!1;if(!(i in e)||!u(t[i],e[i]))return!1}return Object.keys(e).length===n}}return t!==t&&e!==e}var p=i(32878),g=i(76325),f=i(38342);class m{constructor(){this.externalLinkEnabled=!0,this.externalLinkRel=void 0,this.externalLinkTarget=void 0,this.isInPresentationMode=!1,this.pdfDocument=void 0,this.pdfViewer=void 0}setDocument(t){this.pdfDocument=t}setViewer(t){this.pdfViewer=t}setExternalLinkRel(t){this.externalLinkRel=t}setExternalLinkTarget(t){this.externalLinkTarget=t}setHistory(){}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return(0,l.A)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(t){(0,l.A)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber=t}get rotation(){return 0}set rotation(t){}goToDestination(t){return new Promise(e=>{(0,l.A)(this.pdfDocument,"PDF document not loaded."),(0,l.A)(t,"Destination is not specified."),"string"===typeof t?this.pdfDocument.getDestination(t).then(e):Array.isArray(t)?e(t):t.then(e)}).then(t=>{(0,l.A)(Array.isArray(t),'"'.concat(t,'" is not a valid destination array.'));const e=t[0];new Promise(t=>{(0,l.A)(this.pdfDocument,"PDF document not loaded."),e instanceof Object?this.pdfDocument.getPageIndex(e).then(e=>{t(e)}).catch(()=>{(0,l.A)(!1,'"'.concat(e,'" is not a valid page reference.'))}):"number"===typeof e?t(e):(0,l.A)(!1,'"'.concat(e,'" is not a valid destination reference.'))}).then(e=>{const i=e+1;(0,l.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,l.A)(i>=1&&i<=this.pagesCount,'"'.concat(i,'" is not a valid page number.')),this.pdfViewer.scrollPageIntoView({dest:t,pageIndex:e,pageNumber:i})})})}navigateTo(t){this.goToDestination(t)}goToPage(t){const e=t-1;(0,l.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,l.A)(t>=1&&t<=this.pagesCount,'"'.concat(t,'" is not a valid page number.')),this.pdfViewer.scrollPageIntoView({pageIndex:e,pageNumber:t})}addLinkAttributes(t,e,i){t.href=e,t.rel=this.externalLinkRel||"noopener noreferrer nofollow",t.target=i?"_blank":this.externalLinkTarget||""}getDestinationHash(){return"#"}getAnchorUrl(){return"#"}setHash(){}executeNamedAction(){}cachePageRef(){}isPageVisible(){return!0}isPageCached(){return!0}executeSetOCGState(){}}const v={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var b=i(78762),w=i(28097),x=function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(t);s{switch(e){case v.NEED_PASSWORD:t(prompt("Enter the password to open this PDF file."));break;case v.INCORRECT_PASSWORD:t(prompt("Invalid password. Please try again."));break}};function _(t){return"object"===typeof t&&null!==t&&("data"in t||"range"in t||"url"in t)}const k=(0,s.forwardRef)(function(t,e){var{children:i,className:h,error:d="Failed to load PDF file.",externalLinkRel:v,externalLinkTarget:k,file:S,inputRef:E,imageResourcesPath:M,loading:C="Loading PDF\u2026",noData:R="No PDF file specified.",onItemClick:T,onLoadError:P,onLoadProgress:D,onLoadSuccess:I,onPassword:L=A,onSourceError:F,onSourceSuccess:O,options:N,renderMode:W,rotate:j,scale:B}=t,z=x(t,["children","className","error","externalLinkRel","externalLinkTarget","file","inputRef","imageResourcesPath","loading","noData","onItemClick","onLoadError","onLoadProgress","onLoadSuccess","onPassword","onSourceError","onSourceSuccess","options","renderMode","rotate","scale"]);const[H,G]=(0,w.A)(),{value:U,error:V}=H,[q,X]=(0,w.A)(),{value:K,error:Y}=q,Q=(0,s.useRef)(new m),J=(0,s.useRef)([]),Z=(0,s.useRef)(void 0),$=(0,s.useRef)(void 0);S&&S!==Z.current&&_(S)&&(c(!u(S,Z.current),'File prop passed to changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "file" prop.'),Z.current=S),N&&N!==$.current&&(c(!u(N,$.current),'Options prop passed to changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "options" prop.'),$.current=N);const tt=(0,s.useRef)({scrollPageIntoView:t=>{const{dest:e,pageNumber:i,pageIndex:n=i-1}=t;if(T)return void T({dest:e,pageIndex:n,pageNumber:i});const s=J.current[n];s?s.scrollIntoView():c(!1,"An internal link leading to page ".concat(i," was clicked, but neither was provided with onItemClick nor it was able to find the page within itself. Either provide onItemClick to and handle navigating by yourself or ensure that all pages are rendered within ."))}});(0,s.useImperativeHandle)(e,()=>({linkService:Q,pages:J,viewer:tt}),[]),(0,s.useEffect)(function(){G({type:"RESET"})},[S,G]);const et=(0,s.useCallback)(async()=>{if(!S)return null;if("string"===typeof S){if((0,b.zL)(S)){return{data:(0,b.jA)(S)}}return(0,b.qC)(),{url:S}}if(S instanceof y)return{range:S};if((0,b.mw)(S))return{data:S};if(b.Bd&&(0,b.qf)(S)){return{data:await(0,b.h1)(S)}}if((0,l.A)("object"===typeof S,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,l.A)(_(S),"Invalid parameter object: need either .data, .range or .url"),"url"in S&&"string"===typeof S.url){if((0,b.zL)(S.url)){const{url:t}=S,e=x(S,["url"]),i=(0,b.jA)(t);return Object.assign({data:i},e)}(0,b.qC)()}return S},[S]);(0,s.useEffect)(()=>{const t=(0,r.A)(et());return t.promise.then(t=>{G({type:"RESOLVE",value:t})}).catch(t=>{G({type:"REJECT",error:t})}),()=>{(0,b.xL)(t)}},[et,G]),(0,s.useEffect)(()=>{"undefined"!==typeof U&&(!1!==U?O&&O():V&&(c(!1,V.toString()),F&&F(V)))},[U]),(0,s.useEffect)(function(){X({type:"RESET"})},[X,U]),(0,s.useEffect)(function(){if(!U)return;const t=N?Object.assign(Object.assign({},U),N):U,e=p.YE(t);D&&(e.onProgress=D),L&&(e.onPassword=L);const i=e,n=i.promise.then(t=>{X({type:"RESOLVE",value:t})}).catch(t=>{i.destroyed||X({type:"REJECT",error:t})});return()=>{n.finally(()=>i.destroy())}},[N,X,U]),(0,s.useEffect)(()=>{"undefined"!==typeof K&&(!1!==K?K&&(I&&I(K),J.current=new Array(K.numPages),Q.current.setDocument(K)):Y&&(c(!1,Y.toString()),P&&P(Y)))},[K]),(0,s.useEffect)(function(){Q.current.setViewer(tt.current),Q.current.setExternalLinkRel(v),Q.current.setExternalLinkTarget(k)},[v,k]);const it=(0,s.useCallback)((t,e)=>{J.current[t]=e},[]),nt=(0,s.useCallback)(t=>{delete J.current[t]},[]),st=(0,s.useMemo)(()=>({imageResourcesPath:M,linkService:Q.current,onItemClick:T,pdf:K,registerPage:it,renderMode:W,rotate:j,scale:B,unregisterPage:nt}),[M,T,K,it,W,j,B,nt]),at=(0,s.useMemo)(()=>(0,a.Ay)(z,()=>K),[z,K]);return(0,n.jsx)("div",Object.assign({className:(0,o.A)("react-pdf__Document",h),ref:E},at,{children:S?void 0===K||null===K?(0,n.jsx)(f.A,{type:"loading",children:"function"===typeof C?C():C}):!1===K?(0,n.jsx)(f.A,{type:"error",children:"function"===typeof d?d():d}):(0,n.jsx)(g.A.Provider,{value:st,children:i}):(0,n.jsx)(f.A,{type:"no-data",children:"function"===typeof R?R():R})}))})},55044:(t,e,i)=>{"use strict";i.d(e,{VB:()=>at});var n=i(9950),s=i(11942);function a(t,e,i,n){return new(i||(i=Promise))(function(s,a){function r(t){try{l(n.next(t))}catch(e){a(e)}}function o(t){try{l(n.throw(t))}catch(e){a(e)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i(function(t){t(e)})).then(r,o)}l((n=n.apply(t,e||[])).next())})}Object.create;Object.create;"function"===typeof SuppressedError&&SuppressedError;const r=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function o(t,e,i){const n=function(t){const{name:e}=t;if(e&&-1!==e.lastIndexOf(".")&&!t.type){const i=e.split(".").pop().toLowerCase(),n=r.get(i);n&&Object.defineProperty(t,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return t}(t),{webkitRelativePath:s}=t,a="string"===typeof e?e:"string"===typeof s&&s.length>0?s:"./".concat(t.name);return"string"!==typeof n.path&&l(n,"path",a),void 0!==i&&Object.defineProperty(n,"handle",{value:i,writable:!1,configurable:!1,enumerable:!0}),l(n,"relativePath",a),n}function l(t,e,i){Object.defineProperty(t,e,{value:i,writable:!1,configurable:!1,enumerable:!0})}const c=[".DS_Store","Thumbs.db"];function h(t){return"object"===typeof t&&null!==t}function d(t){return t.filter(t=>-1===c.indexOf(t.name))}function u(t){if(null===t)return[];const e=[];for(let i=0;i[...t,...Array.isArray(e)?g(e):[e]],[])}function f(t,e){return a(this,void 0,void 0,function*(){var i;if(globalThis.isSecureContext&&"function"===typeof t.getAsFileSystemHandle){const e=yield t.getAsFileSystemHandle();if(null===e)throw new Error("".concat(t," is not a File"));if(void 0!==e){const t=yield e.getFile();return t.handle=e,o(t)}}const n=t.getAsFile();if(!n)throw new Error("".concat(t," is not a File"));return o(n,null!==(i=null===e||void 0===e?void 0:e.fullPath)&&void 0!==i?i:void 0)})}function m(t){return a(this,void 0,void 0,function*(){return t.isDirectory?v(t):function(t){return a(this,void 0,void 0,function*(){return new Promise((e,i)=>{t.file(i=>{const n=o(i,t.fullPath);e(n)},t=>{i(t)})})})}(t)})}function v(t){const e=t.createReader();return new Promise((t,i)=>{const n=[];!function s(){e.readEntries(e=>a(this,void 0,void 0,function*(){if(e.length){const t=Promise.all(e.map(m));n.push(t),s()}else try{const e=yield Promise.all(n);t(e)}catch(a){i(a)}}),t=>{i(t)})}()})}var b=i(86189);function w(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||k(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function y(t){for(var e=1;et.length)&&(e=t.length);for(var i=0,n=new Array(e);i0&&void 0!==arguments[0]?arguments[0]:"").split(","),e=t.length>1?"one of ".concat(t.join(", ")):t[0];return{code:M,message:"File type must be ".concat(e)}},D=function(t){return{code:C,message:"File is larger than ".concat(t," ").concat(1===t?"byte":"bytes")}},I=function(t){return{code:R,message:"File is smaller than ".concat(t," ").concat(1===t?"byte":"bytes")}},L={code:T,message:"Too many files"};function F(t,e){var i="application/x-moz-file"===t.type||E(t,e);return[i,i?null:P(e)]}function O(t,e,i){if(N(t.size))if(N(e)&&N(i)){if(t.size>i)return[!1,D(i)];if(t.sizei)return[!1,D(i)]}return[!0,null]}function N(t){return void 0!==t&&null!==t}function W(t){return"function"===typeof t.isPropagationStopped?t.isPropagationStopped():"undefined"!==typeof t.cancelBubble&&t.cancelBubble}function j(t){return t.dataTransfer?Array.prototype.some.call(t.dataTransfer.types,function(t){return"Files"===t||"application/x-moz-file"===t}):!!t.target&&!!t.target.files}function B(t){t.preventDefault()}function z(){for(var t=arguments.length,e=new Array(t),i=0;i1?i-1:0),s=1;st.length)&&(e=t.length);for(var i=0,n=new Array(e);i=0||(s[i]=t[i]);return s}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(s[i]=t[i])}return s}var it=(0,n.forwardRef)(function(t,e){var i=t.children,s=at(et(t,U)),a=s.open,r=et(s,V);return(0,n.useImperativeHandle)(e,function(){return{open:a}},[a]),n.createElement(n.Fragment,null,i($($({},r),{},{open:a})))});it.displayName="Dropzone";var nt={disabled:!1,getFilesFromEvent:function(t){return a(this,void 0,void 0,function*(){return h(t)&&h(t.dataTransfer)?function(t,e){return a(this,void 0,void 0,function*(){if(t.items){const i=u(t.items).filter(t=>"file"===t.kind);if("drop"!==e)return i;return d(g(yield Promise.all(i.map(p))))}return d(u(t.files).map(t=>o(t)))})}(t.dataTransfer,t.type):function(t){return h(t)&&h(t.target)}(t)?function(t){return u(t.target.files).map(t=>o(t))}(t):Array.isArray(t)&&t.every(t=>"getFile"in t&&"function"===typeof t.getFile)?function(t){return a(this,void 0,void 0,function*(){return(yield Promise.all(t.map(t=>t.getFile()))).map(t=>o(t))})}(t):[]})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};it.defaultProps=nt,it.propTypes={children:s.func,accept:s.objectOf(s.arrayOf(s.string)),multiple:s.bool,preventDropOnDocument:s.bool,noClick:s.bool,noKeyboard:s.bool,noDrag:s.bool,noDragEventsBubbling:s.bool,minSize:s.number,maxSize:s.number,maxFiles:s.number,disabled:s.bool,getFilesFromEvent:s.func,onFileDialogCancel:s.func,onFileDialogOpen:s.func,useFsAccessApi:s.bool,autoFocus:s.bool,onDragEnter:s.func,onDragLeave:s.func,onDragOver:s.func,onDrop:s.func,onDropAccepted:s.func,onDropRejected:s.func,onError:s.func,validator:s.func};var st={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function at(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=$($({},nt),t),i=e.accept,s=e.disabled,a=e.getFilesFromEvent,r=e.maxSize,o=e.minSize,l=e.multiple,c=e.maxFiles,h=e.onDragEnter,d=e.onDragLeave,u=e.onDragOver,p=e.onDrop,g=e.onDropAccepted,f=e.onDropRejected,m=e.onFileDialogCancel,v=e.onFileDialogOpen,b=e.useFsAccessApi,x=e.autoFocus,k=e.preventDropOnDocument,S=e.noClick,E=e.noKeyboard,M=e.noDrag,C=e.noDragEventsBubbling,R=e.onError,T=e.validator,P=(0,n.useMemo)(function(){return function(t){if(N(t))return Object.entries(t).reduce(function(t,e){var i=_(e,2),n=i[0],s=i[1];return[].concat(w(t),[n],w(s))},[]).filter(function(t){return H(t)||G(t)}).join(",")}(i)},[i]),D=(0,n.useMemo)(function(){return function(t){return N(t)?[{description:"Files",accept:Object.entries(t).filter(function(t){var e=_(t,2),i=e[0],n=e[1],s=!0;return H(i)||(console.warn('Skipped "'.concat(i,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),s=!1),Array.isArray(n)&&n.every(G)||(console.warn('Skipped "'.concat(i,'" because an invalid file extension was provided.')),s=!1),s}).reduce(function(t,e){var i=_(e,2),n=i[0],s=i[1];return y(y({},t),{},A({},n,s))},{})}]:t}(i)},[i]),I=(0,n.useMemo)(function(){return"function"===typeof v?v:ot},[v]),U=(0,n.useMemo)(function(){return"function"===typeof m?m:ot},[m]),V=(0,n.useRef)(null),Q=(0,n.useRef)(null),J=Y((0,n.useReducer)(rt,st),2),Z=J[0],it=J[1],at=Z.isFocused,lt=Z.isFileDialogActive,ct=(0,n.useRef)("undefined"!==typeof window&&window.isSecureContext&&b&&"showOpenFilePicker"in window),ht=function(){!ct.current&<&&setTimeout(function(){Q.current&&(Q.current.files.length||(it({type:"closeDialog"}),U()))},300)};(0,n.useEffect)(function(){return window.addEventListener("focus",ht,!1),function(){window.removeEventListener("focus",ht,!1)}},[Q,lt,U,ct]);var dt=(0,n.useRef)([]),ut=function(t){V.current&&V.current.contains(t.target)||(t.preventDefault(),dt.current=[])};(0,n.useEffect)(function(){return k&&(document.addEventListener("dragover",B,!1),document.addEventListener("drop",ut,!1)),function(){k&&(document.removeEventListener("dragover",B),document.removeEventListener("drop",ut))}},[V,k]),(0,n.useEffect)(function(){return!s&&x&&V.current&&V.current.focus(),function(){}},[V,x,s]);var pt=(0,n.useCallback)(function(t){R?R(t):console.error(t)},[R]),gt=(0,n.useCallback)(function(t){t.preventDefault(),t.persist(),Mt(t),dt.current=[].concat(K(dt.current),[t.target]),j(t)&&Promise.resolve(a(t)).then(function(e){if(!W(t)||C){var i=e.length,n=i>0&&function(t){var e=t.files,i=t.accept,n=t.minSize,s=t.maxSize,a=t.multiple,r=t.maxFiles,o=t.validator;return!(!a&&e.length>1||a&&r>=1&&e.length>r)&&e.every(function(t){var e=_(F(t,i),1)[0],a=_(O(t,n,s),1)[0],r=o?o(t):null;return e&&a&&!r})}({files:e,accept:P,minSize:o,maxSize:r,multiple:l,maxFiles:c,validator:T});it({isDragAccept:n,isDragReject:i>0&&!n,isDragActive:!0,type:"setDraggedFiles"}),h&&h(t)}}).catch(function(t){return pt(t)})},[a,h,pt,C,P,o,r,l,c,T]),ft=(0,n.useCallback)(function(t){t.preventDefault(),t.persist(),Mt(t);var e=j(t);if(e&&t.dataTransfer)try{t.dataTransfer.dropEffect="copy"}catch(i){}return e&&u&&u(t),!1},[u,C]),mt=(0,n.useCallback)(function(t){t.preventDefault(),t.persist(),Mt(t);var e=dt.current.filter(function(t){return V.current&&V.current.contains(t)}),i=e.indexOf(t.target);-1!==i&&e.splice(i,1),dt.current=e,e.length>0||(it({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),j(t)&&d&&d(t))},[V,d,C]),vt=(0,n.useCallback)(function(t,e){var i=[],n=[];t.forEach(function(t){var e=Y(F(t,P),2),s=e[0],a=e[1],l=Y(O(t,o,r),2),c=l[0],h=l[1],d=T?T(t):null;if(s&&c&&!d)i.push(t);else{var u=[a,h];d&&(u=u.concat(d)),n.push({file:t,errors:u.filter(function(t){return t})})}}),(!l&&i.length>1||l&&c>=1&&i.length>c)&&(i.forEach(function(t){n.push({file:t,errors:[L]})}),i.splice(0)),it({acceptedFiles:i,fileRejections:n,isDragReject:n.length>0,type:"setFiles"}),p&&p(i,n,e),n.length>0&&f&&f(n,e),i.length>0&&g&&g(i,e)},[it,l,P,o,r,c,p,g,f,T]),bt=(0,n.useCallback)(function(t){t.preventDefault(),t.persist(),Mt(t),dt.current=[],j(t)&&Promise.resolve(a(t)).then(function(e){W(t)&&!C||vt(e,t)}).catch(function(t){return pt(t)}),it({type:"reset"})},[a,vt,pt,C]),wt=(0,n.useCallback)(function(){if(ct.current){it({type:"openDialog"}),I();var t={multiple:l,types:D};window.showOpenFilePicker(t).then(function(t){return a(t)}).then(function(t){vt(t,null),it({type:"closeDialog"})}).catch(function(t){var e;(e=t)instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(U(t),it({type:"closeDialog"})):!function(t){return t instanceof DOMException&&("SecurityError"===t.name||t.code===t.SECURITY_ERR)}(t)?pt(t):(ct.current=!1,Q.current?(Q.current.value=null,Q.current.click()):pt(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided.")))})}else Q.current&&(it({type:"openDialog"}),I(),Q.current.value=null,Q.current.click())},[it,I,U,b,vt,pt,D,l]),xt=(0,n.useCallback)(function(t){V.current&&V.current.isEqualNode(t.target)&&(" "!==t.key&&"Enter"!==t.key&&32!==t.keyCode&&13!==t.keyCode||(t.preventDefault(),wt()))},[V,wt]),yt=(0,n.useCallback)(function(){it({type:"focus"})},[]),At=(0,n.useCallback)(function(){it({type:"blur"})},[]),_t=(0,n.useCallback)(function(){S||(!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(t){return-1!==t.indexOf("MSIE")||-1!==t.indexOf("Trident/")}(t)||function(t){return-1!==t.indexOf("Edge/")}(t)}()?wt():setTimeout(wt,0))},[S,wt]),kt=function(t){return s?null:t},St=function(t){return E?null:kt(t)},Et=function(t){return M?null:kt(t)},Mt=function(t){C&&t.stopPropagation()},Ct=(0,n.useMemo)(function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,i=void 0===e?"ref":e,n=t.role,a=t.onKeyDown,r=t.onFocus,o=t.onBlur,l=t.onClick,c=t.onDragEnter,h=t.onDragOver,d=t.onDragLeave,u=t.onDrop,p=et(t,q);return $($(tt({onKeyDown:St(z(a,xt)),onFocus:St(z(r,yt)),onBlur:St(z(o,At)),onClick:kt(z(l,_t)),onDragEnter:Et(z(c,gt)),onDragOver:Et(z(h,ft)),onDragLeave:Et(z(d,mt)),onDrop:Et(z(u,bt)),role:"string"===typeof n&&""!==n?n:"presentation"},i,V),s||E?{}:{tabIndex:0}),p)}},[V,xt,yt,At,_t,gt,ft,mt,bt,E,M,s]),Rt=(0,n.useCallback)(function(t){t.stopPropagation()},[]),Tt=(0,n.useMemo)(function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,i=void 0===e?"ref":e,n=t.onChange,s=t.onClick,a=et(t,X);return $($({},tt({accept:P,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:kt(z(n,bt)),onClick:kt(z(s,Rt)),tabIndex:-1},i,Q)),a)}},[Q,i,l,bt,s]);return $($({},Z),{},{isFocused:at&&!s,getRootProps:Ct,getInputProps:Tt,rootRef:V,inputRef:Q,open:kt(wt)})}function rt(t,e){switch(e.type){case"focus":return $($({},t),{},{isFocused:!0});case"blur":return $($({},t),{},{isFocused:!1});case"openDialog":return $($({},st),{},{isFileDialogActive:!0});case"closeDialog":return $($({},t),{},{isFileDialogActive:!1});case"setDraggedFiles":return $($({},t),{},{isDragActive:e.isDragActive,isDragAccept:e.isDragAccept,isDragReject:e.isDragReject});case"setFiles":return $($({},t),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections,isDragReject:e.isDragReject});case"reset":return $({},st);default:return t}}function ot(){}},58386:(t,e,i)=>{"use strict";function n(t){let e=!1;return{promise:new Promise((i,n)=>{t.then(t=>!e&&i(t)).catch(t=>!e&&n(t))}),cancel(){e=!0}}}i.d(e,{A:()=>n})},59660:t=>{t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,i=[],n=0;n{"use strict";var n=i(59660),s={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var i,a,r,o,l,c,h=!1;e||(e={}),i=e.debug||!1;try{if(r=n(),o=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=t,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(n){if(n.stopPropagation(),e.format)if(n.preventDefault(),"undefined"===typeof n.clipboardData){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=s[e.format]||s.default;window.clipboardData.setData(a,t)}else n.clipboardData.clearData(),n.clipboardData.setData(e.format,t);e.onCopy&&(n.preventDefault(),e.onCopy(n.clipboardData))}),document.body.appendChild(c),o.selectNodeContents(c),l.addRange(o),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");h=!0}catch(d){i&&console.error("unable to copy using execCommand: ",d),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),h=!0}catch(d){i&&console.error("unable to copy using clipboardData: ",d),i&&console.error("falling back to prompt"),a=function(t){var e=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}("message"in e?e.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,t)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(o):l.removeAllRanges()),c&&document.body.removeChild(c),r()}return h}},76325:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});const n=(0,i(9950).createContext)(null)},78762:(t,e,i)=>{"use strict";i.d(e,{Bd:()=>a,UT:()=>v,ci:()=>o,h1:()=>b,jA:()=>d,mZ:()=>u,mw:()=>l,qC:()=>g,qf:()=>c,vS:()=>m,xL:()=>f,zL:()=>h});var n=i(67033),s=i(2241);const a="undefined"!==typeof window,r=a&&"file:"===window.location.protocol;function o(t){return function(t){return"undefined"!==typeof t}(t)&&null!==t}function l(t){return t instanceof ArrayBuffer}function c(t){return(0,n.A)(a,"isBlob can only be used in a browser environment"),t instanceof Blob}function h(t){return function(t){return"string"===typeof t}(t)&&/^data:/.test(t)}function d(t){(0,n.A)(h(t),"Invalid data URI.");const[e="",i=""]=t.split(",");return-1!==e.split(";").indexOf("base64")?atob(i):unescape(i)}function u(){return a&&window.devicePixelRatio||1}const p="On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.";function g(){s(!r,"Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. ".concat(p))}function f(t){(null===t||void 0===t?void 0:t.cancel)&&t.cancel()}function m(t,e){return Object.defineProperty(t,"width",{get(){return this.view[2]*e},configurable:!0}),Object.defineProperty(t,"height",{get(){return this.view[3]*e},configurable:!0}),Object.defineProperty(t,"originalWidth",{get(){return this.view[2]},configurable:!0}),Object.defineProperty(t,"originalHeight",{get(){return this.view[3]},configurable:!0}),t}function v(t){return"RenderingCancelledException"===t.name}function b(t){return new Promise((e,i)=>{const n=new FileReader;n.onload=()=>{if(!n.result)return i(new Error("Error while reading a file."));e(n.result)},n.onerror=t=>{if(!t.target)return i(new Error("Error while reading a file."));const{error:e}=t.target;if(!e)return i(new Error("Error while reading a file."));switch(e.code){case e.NOT_FOUND_ERR:return i(new Error("Error while reading a file: File not found."));case e.SECURITY_ERR:return i(new Error("Error while reading a file: Security error."));case e.ABORT_ERR:return i(new Error("Error while reading a file: Aborted."));default:return i(new Error("Error while reading a file."))}},n.readAsArrayBuffer(t)})}},86189:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t,e){if(t&&e){var i=Array.isArray(e)?e:e.split(",");if(0===i.length)return!0;var n=t.name||"",s=(t.type||"").toLowerCase(),a=s.replace(/\/.*$/,"");return i.some(function(t){var e=t.trim().toLowerCase();return"."===e.charAt(0)?n.toLowerCase().endsWith(e):e.endsWith("/*")?a===e.replace(/\/.*$/,""):s===e})}return!0}},94702:(t,e,i)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.CopyToClipboard=void 0;var s=o(i(9950)),a=o(i(67243)),r=["text","onCopy","options","children"];function o(t){return t&&t.__esModule?t:{default:t}}function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function c(t){for(var e=1;e=0||(s[i]=t[i]);return s}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(s[i]=t[i])}return s}function d(t,e){for(var i=0;i{"use strict";var n=i(94702).CopyToClipboard;n.CopyToClipboard=n,t.exports=n}}]); \ No newline at end of file diff --git a/web-app/build/static/js/7401.cd4f5830.chunk.js b/web-app/build/static/js/7401.cd4f5830.chunk.js deleted file mode 100644 index 027fcbc373..0000000000 --- a/web-app/build/static/js/7401.cd4f5830.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[7401],{77401:(s,x,e)=>{e.r(x),e.d(x,{default:()=>i});var m=e(9950),j=e(89132),r=e(44414);const i=()=>{const[s,x]=(0,m.useState)("default");return(0,r.jsxs)(j.azJ,{sx:{position:"relative",padding:"20px 35px 0","& h6":{color:"#777777",fontSize:30},"& p":{"& span:not(*[class*='smallUnit'])":{fontSize:16}}},children:[(0,r.jsx)(j.xA9,{container:!0,children:(0,r.jsx)(j.z6M,{selectorOptions:[{value:"def",label:"Default"},{value:"red",label:"Color"}],currentValue:s,id:"color-selector",name:"color-selector",onChange:s=>{x(s.target.value)}})}),(0,r.jsx)("h1",{children:"Logos"}),(0,r.jsx)(j.xA9,{container:!0,sx:{fontSize:12,wordWrap:"break-word","& .min-loader":{width:45,height:45},"& .min-icon":{color:"red"===s?"red":"black"}},children:(0,r.jsxs)(j.xA9,{item:!0,xs:3,children:[(0,r.jsx)(j.xul,{}),(0,r.jsx)("br",{}),"ThemedLogo"]})}),(0,r.jsx)("h1",{children:"Loaders"}),(0,r.jsx)(j.xA9,{container:!0,sx:{fontSize:12,wordWrap:"break-word","& .min-loader":{width:45,height:45},"& .min-icon":{color:"red"===s?"red":"black"}},children:(0,r.jsxs)(j.xA9,{item:!0,xs:3,children:[(0,r.jsx)(j.aHM,{}),(0,r.jsx)("br",{}),"Loader"]})}),(0,r.jsx)("h1",{children:"Icons"}),(0,r.jsxs)(j.xA9,{container:!0,sx:{fontSize:12,wordWrap:"break-word","& .min-loader":{width:45,height:45},"& .min-icon":{color:"red"===s?"red":"black"}},children:[(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.JMb,{}),(0,r.jsx)("br",{}),"AccountIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.No_,{}),(0,r.jsx)("br",{}),"AddAccessRuleIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.hQD,{}),(0,r.jsx)("br",{}),"AddFolderIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.REV,{}),(0,r.jsx)("br",{}),"AddIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.WC,{}),(0,r.jsx)("br",{}),"AddMembersToGroupIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.b_$,{}),(0,r.jsx)("br",{}),"AddNewTagIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j._0O,{}),(0,r.jsx)("br",{}),"AlertIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.wKj,{}),(0,r.jsx)("br",{}),"AllBucketsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.HKb,{}),(0,r.jsx)("br",{}),"ArrowIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.flY,{}),(0,r.jsx)("br",{}),"ArrowRightIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Nmx,{}),(0,r.jsx)("br",{}),"AzureTierIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Ubg,{}),(0,r.jsx)("br",{}),"AzureTierIconXs"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.y$O,{}),(0,r.jsx)("br",{}),"BackSettingsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.j6H,{}),(0,r.jsx)("br",{}),"BucketEncryptionIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Uh,{}),(0,r.jsx)("br",{}),"BucketQuotaIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.WBh,{}),(0,r.jsx)("br",{}),"BucketReplicationIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.brV,{}),(0,r.jsx)("br",{}),"BucketsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.CTc,{}),(0,r.jsx)("br",{}),"CalendarIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.fJb,{}),(0,r.jsx)("br",{}),"CallHomeFeatureIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.rXL,{}),(0,r.jsx)("br",{}),"CancelledIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.uYH,{}),(0,r.jsx)("br",{}),"ChangeAccessPolicyIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Fwq,{}),(0,r.jsx)("br",{}),"ChangePasswordIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.GQ2,{}),(0,r.jsx)("br",{}),"CircleIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j._FR,{}),(0,r.jsx)("br",{}),"ClosePanelIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.pHQ,{}),(0,r.jsx)("br",{}),"ClustersIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.dLE,{}),(0,r.jsx)("br",{}),"CollapseIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.RJ2,{}),(0,r.jsx)("br",{}),"ComputerLineIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.xTG,{}),(0,r.jsx)("br",{}),"ConfigurationsListIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.xWY,{}),(0,r.jsx)("br",{}),"ConfirmDeleteIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.$rg,{}),(0,r.jsx)("br",{}),"ConfirmModalIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.D0K,{}),(0,r.jsx)("br",{}),"ConsoleIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.TdU,{}),(0,r.jsx)("br",{}),"CopyIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.lwR,{}),(0,r.jsx)("br",{}),"CreateGroupIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.WSU,{}),(0,r.jsx)("br",{}),"CreateIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.DGR,{}),(0,r.jsx)("br",{}),"CreateNewPathIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.R$W,{}),(0,r.jsx)("br",{}),"CreateUserIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.aL$,{}),(0,r.jsx)("br",{}),"DashboardIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.d7y,{}),(0,r.jsx)("br",{}),"DeleteIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.rgY,{}),(0,r.jsx)("br",{}),"DeleteNonCurrentIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.uFi,{}),(0,r.jsx)("br",{}),"DiagnosticsFeatureIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.KLX,{}),(0,r.jsx)("br",{}),"DiagnosticsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.aaC,{}),(0,r.jsx)("br",{}),"DisabledIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.wD7,{}),(0,r.jsx)("br",{}),"DocumentationIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.s3U,{}),(0,r.jsx)("br",{}),"DownloadIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.CB9,{}),(0,r.jsx)("br",{}),"DownloadStatIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.KPq,{}),(0,r.jsx)("br",{}),"DriveFormatErrorsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.JUN,{}),(0,r.jsx)("br",{}),"DrivesIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.qUP,{}),(0,r.jsx)("br",{}),"EditIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.cGQ,{}),(0,r.jsx)("br",{}),"EditTagIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.qI7,{}),(0,r.jsx)("br",{}),"EditTenantIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.jcB,{}),(0,r.jsx)("br",{}),"EditYamlIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.K8y,{}),(0,r.jsx)("br",{}),"EditorThemeSwitchIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.F7$,{}),(0,r.jsx)("br",{}),"EgressIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.xhy,{}),(0,r.jsx)("br",{}),"EnabledIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.VDx,{}),(0,r.jsx)("br",{}),"EventSubscriptionIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.JHI,{}),(0,r.jsx)("br",{}),"ExtraFeaturesIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.DUd,{}),(0,r.jsx)("br",{}),"FileBookIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.$5j,{}),(0,r.jsx)("br",{}),"FileCloudIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.bM2,{}),(0,r.jsx)("br",{}),"FileCodeIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.qM2,{}),(0,r.jsx)("br",{}),"FileConfigIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.ITz,{}),(0,r.jsx)("br",{}),"FileDbIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.PcO,{}),(0,r.jsx)("br",{}),"FileFontIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.nLN,{}),(0,r.jsx)("br",{}),"FileImageIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Uom,{}),(0,r.jsx)("br",{}),"FileLinkIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.VSs,{}),(0,r.jsx)("br",{}),"FileLockIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.YJK,{}),(0,r.jsx)("br",{}),"FileMissingIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.jCy,{}),(0,r.jsx)("br",{}),"FileMusicIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.yTC,{}),(0,r.jsx)("br",{}),"FilePdfIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.QvW,{}),(0,r.jsx)("br",{}),"FilePptIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.yEV,{}),(0,r.jsx)("br",{}),"FileTxtIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.FRZ,{}),(0,r.jsx)("br",{}),"FileVideoIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.wPu,{}),(0,r.jsx)("br",{}),"FileWorldIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.z9t,{}),(0,r.jsx)("br",{}),"FileXlsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.j_m,{}),(0,r.jsx)("br",{}),"FileZipIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.sjq,{}),(0,r.jsx)("br",{}),"FolderIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.eXQ,{}),(0,r.jsx)("br",{}),"FormatDrivesIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.F7U,{}),(0,r.jsx)("br",{}),"GoogleTierIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.gwF,{}),(0,r.jsx)("br",{}),"GoogleTierIconXs"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.YXz,{}),(0,r.jsx)("br",{}),"GroupsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.rod,{}),(0,r.jsx)("br",{}),"HardBucketQuotaIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Sdx,{}),(0,r.jsx)("br",{}),"HealIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.NTw,{}),(0,r.jsx)("br",{}),"HelpIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.nag,{}),(0,r.jsx)("br",{}),"HelpIconFilled"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.osr,{}),(0,r.jsx)("br",{}),"HistoryIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.n$X,{}),(0,r.jsx)("br",{}),"IAMPoliciesIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.mo0,{}),(0,r.jsx)("br",{}),"InfoIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.iv,{}),(0,r.jsx)("br",{}),"JSONIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.QrX,{}),(0,r.jsx)("br",{}),"LambdaBalloonIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.PI5,{}),(0,r.jsx)("br",{}),"LambdaIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.jm5,{}),(0,r.jsx)("br",{}),"LambdaNotificationsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.ODz,{}),(0,r.jsx)("br",{}),"LegalHoldIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.t6I,{}),(0,r.jsx)("br",{}),"LicenseIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.oVU,{}),(0,r.jsx)("br",{}),"LifecycleConfigIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.qYV,{}),(0,r.jsx)("br",{}),"LinkIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.XAi,{}),(0,r.jsx)("br",{}),"LockIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.o4l,{}),(0,r.jsx)("br",{}),"LogoutIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Dk$,{}),(0,r.jsx)("br",{}),"LogsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.$vN,{}),(0,r.jsx)("br",{}),"MetadataIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Wh8,{}),(0,r.jsx)("br",{}),"MinIOTierIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.$2v,{}),(0,r.jsx)("br",{}),"MinIOTierIconXs"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.XWb,{}),(0,r.jsx)("br",{}),"MirroringIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.hwo,{}),(0,r.jsx)("br",{}),"MultipleBucketsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.VgG,{}),(0,r.jsx)("br",{}),"NewAccountIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.pj3,{}),(0,r.jsx)("br",{}),"NewPathIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.WJF,{}),(0,r.jsx)("br",{}),"NewPoolIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Kiw,{}),(0,r.jsx)("br",{}),"NextArrowIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.g7G,{}),(0,r.jsx)("br",{}),"ObjectBrowser1Icon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.t1M,{}),(0,r.jsx)("br",{}),"ObjectBrowserFolderIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.nwl,{}),(0,r.jsx)("br",{}),"ObjectBrowserIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Hch,{}),(0,r.jsx)("br",{}),"ObjectInfoIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.W2Y,{}),(0,r.jsx)("br",{}),"ObjectManagerIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.jG,{}),(0,r.jsx)("br",{}),"ObjectPreviewIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.lD6,{}),(0,r.jsx)("br",{}),"OfflineRegistrationBackIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Kmb,{}),(0,r.jsx)("br",{}),"OfflineRegistrationIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.J2s,{}),(0,r.jsx)("br",{}),"OnlineRegistrationBackIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.ESy,{}),(0,r.jsx)("br",{}),"OnlineRegistrationIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.UtR,{}),(0,r.jsx)("br",{}),"OpenListIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.aJN,{}),(0,r.jsx)("br",{}),"PasswordKeyIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.s5I,{}),(0,r.jsx)("br",{}),"PerformanceFeatureIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.BlH,{}),(0,r.jsx)("br",{}),"PermissionIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.cyn,{}),(0,r.jsx)("br",{}),"PreviewIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.uMc,{}),(0,r.jsx)("br",{}),"PrometheusErrorIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.wb9,{}),(0,r.jsx)("br",{}),"PrometheusIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.YkU,{}),(0,r.jsx)("br",{}),"RecoverIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.UfX,{}),(0,r.jsx)("br",{}),"RedoIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.fNY,{}),(0,r.jsx)("br",{}),"RefreshIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.TFC,{}),(0,r.jsx)("br",{}),"RemoveAllIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.YPx,{}),(0,r.jsx)("br",{}),"RemoveIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.fRK,{}),(0,r.jsx)("br",{}),"ReportedUsageFullIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.wNL,{}),(0,r.jsx)("br",{}),"ReportedUsageIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.gn6,{}),(0,r.jsx)("br",{}),"RetentionIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j._tF,{}),(0,r.jsx)("br",{}),"S3TierIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.ZZX,{}),(0,r.jsx)("br",{}),"S3TierIconXs"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.WIv,{}),(0,r.jsx)("br",{}),"SearchIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.nhX,{}),(0,r.jsx)("br",{}),"SelectAllIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.IN,{}),(0,r.jsx)("br",{}),"SelectMultipleIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.WXN,{}),(0,r.jsx)("br",{}),"ServersIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.kQt,{}),(0,r.jsx)("br",{}),"ServiceAccountCredentialsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.ehx,{}),(0,r.jsx)("br",{}),"ServiceAccountIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.tec,{}),(0,r.jsx)("br",{}),"ServiceAccountsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Zes,{}),(0,r.jsx)("br",{}),"SettingsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.liv,{}),(0,r.jsx)("br",{}),"ShareIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.vhL,{}),(0,r.jsx)("br",{}),"SpeedtestIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Gg5,{}),(0,r.jsx)("br",{}),"StarIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.NBP,{}),(0,r.jsx)("br",{}),"StorageIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Fjq,{}),(0,r.jsx)("br",{}),"SyncIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.P3Z,{}),(0,r.jsx)("br",{}),"TagsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.fmr,{}),(0,r.jsx)("br",{}),"TenantsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.$R7,{}),(0,r.jsx)("br",{}),"TenantsOutlineIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.fAn,{}),(0,r.jsx)("br",{}),"TiersIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.zEc,{}),(0,r.jsx)("br",{}),"TiersNotAvailableIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.dwU,{}),(0,r.jsx)("br",{}),"ToolsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Sxe,{}),(0,r.jsx)("br",{}),"TotalObjectsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.bqg,{}),(0,r.jsx)("br",{}),"TraceIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.ucK,{}),(0,r.jsx)("br",{}),"TrashIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.EO4,{}),(0,r.jsx)("br",{}),"UploadFile"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.nDF,{}),(0,r.jsx)("br",{}),"UploadFolderIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.JMY,{}),(0,r.jsx)("br",{}),"UploadIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.VJE,{}),(0,r.jsx)("br",{}),"UploadStatIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Owo,{}),(0,r.jsx)("br",{}),"UptimeIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.c2u,{}),(0,r.jsx)("br",{}),"UsersIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.M3H,{}),(0,r.jsx)("br",{}),"VerifiedIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.mzI,{}),(0,r.jsx)("br",{}),"VersionIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.j1U,{}),(0,r.jsx)("br",{}),"VersionsIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.cJw,{}),(0,r.jsx)("br",{}),"WarnIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.WN0,{}),(0,r.jsx)("br",{}),"WarpIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.jJ3,{}),(0,r.jsx)("br",{}),"WatchIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.evq,{}),(0,r.jsx)("br",{}),"AlertCloseIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.DtA,{}),(0,r.jsx)("br",{}),"OpenSourceIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.xLb,{}),(0,r.jsx)("br",{}),"LicenseDocIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Z3O,{}),(0,r.jsx)("br",{}),"BackIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.YGH,{}),(0,r.jsx)("br",{}),"FilterIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.BK0,{}),(0,r.jsx)("br",{}),"SuccessIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.OFF,{}),(0,r.jsx)("br",{}),"NetworkGetIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.z8D,{}),(0,r.jsx)("br",{}),"NetworkPutIcon"]})]}),(0,r.jsx)("h1",{children:"Menu Icons"}),(0,r.jsxs)(j.xA9,{container:!0,sx:{fontSize:12,wordWrap:"break-word","& .min-loader":{width:45,height:45},"& .min-icon":{color:"red"===s?"red":"black"}},children:[(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.nhF,{}),(0,r.jsx)("br",{}),"AccessMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.l7M,{}),(0,r.jsx)("br",{}),"AccountsMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Vep,{}),(0,r.jsx)("br",{}),"AuditLogsMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.wql,{}),(0,r.jsx)("br",{}),"BucketsMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.kfP,{}),(0,r.jsx)("br",{}),"CallHomeMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Zui,{}),(0,r.jsx)("br",{}),"DiagnosticsMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.YMI,{}),(0,r.jsx)("br",{}),"DrivesMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.Xk0,{}),(0,r.jsx)("br",{}),"GroupsMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.bdq,{}),(0,r.jsx)("br",{}),"HealthMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.XjC,{}),(0,r.jsx)("br",{}),"IdentityMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.nTF,{}),(0,r.jsx)("br",{}),"InspectMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.cpY,{}),(0,r.jsx)("br",{}),"LogsMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.YI8,{}),(0,r.jsx)("br",{}),"MenuCollapsedIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.w_U,{}),(0,r.jsx)("br",{}),"MenuExpandedIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.KKE,{}),(0,r.jsx)("br",{}),"MetricsMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.v5p,{}),(0,r.jsx)("br",{}),"MonitoringMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.$iK,{}),(0,r.jsx)("br",{}),"PerformanceMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.oPe,{}),(0,r.jsx)("br",{}),"ProfileMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.ke_,{}),(0,r.jsx)("br",{}),"RegisterMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.EsX,{}),(0,r.jsx)("br",{}),"SupportMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.sJx,{}),(0,r.jsx)("br",{}),"TraceMenuIcon"]}),(0,r.jsxs)(j.xA9,{item:!0,xs:3,sm:2,md:1,children:[(0,r.jsx)(j.PPm,{}),(0,r.jsx)("br",{}),"UsersMenuIcon"]})]})]})}}}]); \ No newline at end of file diff --git a/web-app/build/static/js/7445.6ddb0188.chunk.js b/web-app/build/static/js/7445.6ddb0188.chunk.js deleted file mode 100644 index 7f2e054919..0000000000 --- a/web-app/build/static/js/7445.6ddb0188.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[7445],{27445:(e,t,o)=>{o.r(t),o.d(t,{default:()=>A});var a=o(89379),n=o(9950),r=o(28429),i=o(89132),l=o(76356),s=o(45246),c=o(93598),p=o(44414);const d=()=>(0,p.jsx)(i.lVp,{iconComponent:(0,p.jsx)(i.jm5,{}),title:"What are Event Destinations?",help:(0,p.jsx)(i.azJ,{sx:{paddingTop:"20px"},children:"MinIO bucket notifications allow administrators to send notifications to supported external services on certain object or bucket events. MinIO supports bucket and object-level S3 events similar to the Amazon S3 Event Notifications."})});var g=o(82817),u=o(87946),m=o.n(u);const h=o(19335).Ay.button(e=>{let{theme:t}=e;return{background:m()(t,"boxBackground","#FFF"),border:"".concat(m()(t,"borderColor","#E2E2E2")," 1px solid"),borderRadius:5,width:250,height:80,display:"flex",alignItems:"center",justifyContent:"start",marginBottom:16,marginRight:8,cursor:"pointer",overflow:"hidden","&:hover":{backgroundColor:m()(t,"buttons.regular.hover.background","#ebebeb")},"& .imageContainer":{width:80,"& .logoButton":{maxWidth:46,maxHeight:46,filter:"drop-shadow(1px 1px 8px #fff)"}},"& .lambdaNotifTitle":{color:m()(t,"buttons.callAction.enabled.background","#07193E"),fontSize:16,fontFamily:"Inter,sans-serif",paddingLeft:18,fontWeight:"bold"}}}),y=e=>{let{destinationType:t,srcImage:o,title:a}=e;const n=(0,r.Zp)();return(0,p.jsxs)(h,{onClick:()=>{n("".concat(c.zZ.EVENT_DESTINATIONS_ADD,"/").concat(t))},children:[(0,p.jsx)("span",{className:"imageContainer",children:(0,p.jsx)("img",{src:o,className:"logoButton",alt:a})}),(0,p.jsx)("span",{className:"lambdaNotifTitle",children:a})]})};var f=o(98167),b=o(99491),T=o(49078);const S=l.bo.filter(e=>""!==e.logo),v=S.filter(e=>e.category===l.D3.DB),_=S.filter(e=>e.category===l.D3.Queue),k=S.filter(e=>e.category===l.D3.Func),A=()=>{const e=(0,r.Zp)(),t=(0,b.jL)();return(0,n.useEffect)(()=>{t((0,T.ph)("notification_type_selector"))},[]),(0,p.jsxs)(n.Fragment,{children:[(0,p.jsx)(g.A,{label:(0,p.jsx)(n.Fragment,{children:(0,p.jsx)(i.EGL,{label:"Event Destinations",onClick:()=>e(c.zZ.EVENT_DESTINATIONS)})}),actions:(0,p.jsx)(f.A,{})}),(0,p.jsx)(i.Mxu,{children:(0,p.jsx)(i.Hbc,{helpBox:(0,p.jsx)(d,{}),children:(0,p.jsxs)(i.azJ,{children:[(0,p.jsx)(i.azJ,{sx:{fontSize:16,fontWeight:600,paddingBottom:15},children:"Queue"}),(0,p.jsx)(i.azJ,{sx:(0,a.A)({},s.AF.iconContainer),children:_.map(e=>(0,p.jsx)(y,{destinationType:e.actionTrigger,srcImage:e.logo,title:e.targetTitle},"icon-".concat(e.targetTitle)))}),(0,p.jsx)(i.azJ,{sx:{fontSize:16,fontWeight:600,paddingBottom:15},children:"Database"}),(0,p.jsx)(i.azJ,{sx:(0,a.A)({},s.AF.iconContainer),children:v.map(e=>(0,p.jsx)(y,{destinationType:e.actionTrigger,srcImage:e.logo,title:e.targetTitle},"icon-".concat(e.targetTitle)))}),(0,p.jsx)(i.azJ,{sx:{fontSize:16,fontWeight:600,paddingBottom:15},children:"Functions"}),(0,p.jsx)(i.azJ,{sx:(0,a.A)({},s.AF.iconContainer),children:k.map(e=>(0,p.jsx)(y,{destinationType:e.actionTrigger,srcImage:e.logo,title:e.targetTitle},"icon-".concat(e.targetTitle)))})]})})})]})}},76356:(e,t,o)=>{o.d(t,{AU:()=>n,D3:()=>m,Es:()=>u,P4:()=>a,Xm:()=>b,bo:()=>y,fx:()=>T,h4:()=>v});const a="notify_postgres",n="notify_mysql",r="notify_kafka",i="notify_amqp",l="notify_mqtt",s="notify_redis",c="notify_nats",p="notify_elasticsearch",d="notify_webhook",g="notify_nsq",u=e=>e.map(e=>({service_name:"".concat(e.service,":").concat(e.account_id),name:e.service,account_id:e.account_id,status:e.status}));class m{}m.DB="database",m.Queue="queue",m.Func="functions";const h=()=>"".concat(document.baseURI),y=[{actionTrigger:a,targetTitle:"PostgreSQL",logo:"".concat(h(),"postgres-logo.svg"),category:m.DB},{actionTrigger:r,targetTitle:"Kafka",logo:"".concat(h(),"kafka-logo.svg"),category:m.Queue},{actionTrigger:i,targetTitle:"AMQP",logo:"".concat(h(),"amqp-logo.svg"),category:m.Queue},{actionTrigger:l,targetTitle:"MQTT",logo:"".concat(h(),"mqtt-logo.svg"),category:m.Queue},{actionTrigger:s,targetTitle:"Redis",logo:"".concat(h(),"redis-logo.svg"),category:m.Queue},{actionTrigger:c,targetTitle:"NATS",logo:"".concat(h(),"nats-logo.svg"),category:m.Queue},{actionTrigger:n,targetTitle:"Mysql",logo:"".concat(h(),"mysql-logo.svg"),category:m.DB},{actionTrigger:p,targetTitle:"Elastic Search",logo:"".concat(h(),"elasticsearch-logo.svg"),category:m.DB},{actionTrigger:d,targetTitle:"Webhook",logo:"".concat(h(),"webhooks-logo.svg"),category:m.Func},{actionTrigger:g,targetTitle:"NSQ",logo:"".concat(h(),"nsq-logo.svg"),category:m.Queue}],f=[{name:"queue_dir",label:"Queue Directory",required:!1,tooltip:"Staging directory for undelivered messages e.g. '/home/events'",type:"string",placeholder:"Enter Queue Directory"},{name:"queue_limit",label:"Queue Limit",required:!1,tooltip:"Maximum limit for undelivered messages, defaults to '10000'",type:"number",placeholder:"Enter Queue Limit"},{name:"comment",label:"Comment",required:!1,type:"comment",placeholder:"Enter custom notes if any"}],b=e=>e.filter(e=>""!==e.value),T={[r]:[{name:"brokers",label:"Brokers",required:!0,tooltip:"Comma separated list of Kafka broker addresses",type:"string",placeholder:"Enter Brokers"},{name:"topic",label:"Topic",tooltip:"Kafka topic used for bucket notifications",type:"string",placeholder:"Enter Topic"},{name:"sasl_username",label:"SASL Username",tooltip:"Username for SASL/PLAIN or SASL/SCRAM authentication",type:"string",placeholder:"Enter SASL Username"},{name:"sasl_password",label:"SASL Password",tooltip:"Password for SASL/PLAIN or SASL/SCRAM authentication",type:"string",placeholder:"Enter SASL Password"},{name:"sasl_mechanism",label:"SASL Mechanism",tooltip:"SASL authentication mechanism, default 'PLAIN'",type:"string"},{name:"tls_client_auth",label:"TLS Client Auth",tooltip:"Client Auth determines the Kafka server's policy for TLS client authorization",type:"string",placeholder:"Enter TLS Client Auth"},{name:"sasl",label:"SASL",tooltip:"Set to 'on' to enable SASL authentication",type:"on|off"},{name:"tls",label:"TLS",tooltip:"Set to 'on' to enable TLS",type:"on|off"},{name:"tls_skip_verify",label:"TLS skip verify",tooltip:'Trust server TLS without verification, defaults to "on" (verify)',type:"on|off"},{name:"client_tls_cert",label:"client TLS cert",tooltip:"Path to client certificate for mTLS authorization",type:"path",placeholder:"Enter TLS Client Cert"},{name:"client_tls_key",label:"client TLS key",tooltip:"Path to client key for mTLS authorization",type:"path",placeholder:"Enter TLS Client Key"},{name:"version",label:"Version",tooltip:"Specify the version of the Kafka cluster e.g '2.2.0'",type:"string",placeholder:"Enter Kafka Version"},...f],[i]:[{name:"url",required:!0,label:"URL",tooltip:"AMQP server endpoint e.g. `amqp://myuser:mypassword@localhost:5672`",type:"url"},{name:"exchange",label:"Exchange",tooltip:"Name of the AMQP exchange",type:"string",placeholder:"Enter Exchange"},{name:"exchange_type",label:"Exchange Type",tooltip:"AMQP exchange type",type:"string",placeholder:"Enter Exchange Type"},{name:"routing_key",label:"Routing Key",tooltip:"Routing key for publishing",type:"string",placeholder:"Enter Routing Key"},{name:"mandatory",label:"Mandatory",tooltip:"Quietly ignore undelivered messages when set to 'off', default is 'on'",type:"on|off"},{name:"durable",label:"Durable",tooltip:"Persist queue across broker restarts when set to 'on', default is 'off'",type:"on|off"},{name:"no_wait",label:"No Wait",tooltip:"Non-blocking message delivery when set to 'on', default is 'off'",type:"on|off"},{name:"internal",label:"Internal",tooltip:"Set to 'on' for exchange to be not used directly by publishers, but only when bound to other exchanges",type:"on|off"},{name:"auto_deleted",label:"Auto Deleted",tooltip:"Auto delete queue when set to 'on', when there are no consumers",type:"on|off"},{name:"delivery_mode",label:"Delivery Mode",tooltip:"Set to '1' for non-persistent or '2' for persistent queue",type:"number",placeholder:"Enter Delivery Mode"},...f],[s]:[{name:"address",required:!0,label:"Address",tooltip:"Redis server's address e.g. `localhost:6379`",type:"address",placeholder:"Enter Address"},{name:"key",required:!0,label:"Key",tooltip:"Redis key to store/update events, key is auto-created",type:"string",placeholder:"Enter Key"},{name:"password",label:"Password",tooltip:"Redis server password",type:"string",placeholder:"Enter Password"},...f],[l]:[{name:"broker",required:!0,label:"Broker",tooltip:"MQTT server endpoint e.g. `tcp://localhost:1883`",type:"uri",placeholder:"Enter Brokers"},{name:"topic",required:!0,label:"Topic",tooltip:"Name of the MQTT topic to publish",type:"string",placeholder:"Enter Topic"},{name:"username",label:"Username",tooltip:"MQTT username",type:"string",placeholder:"Enter Username"},{name:"password",label:"Password",tooltip:"MQTT password",type:"string",placeholder:"Enter Password"},{name:"qos",label:"QOS",tooltip:"Set the quality of service priority, defaults to '0'",type:"number",placeholder:"Enter QOS"},{name:"keep_alive_interval",label:"Keep Alive Interval",tooltip:"Keep-alive interval for MQTT connections in s,m,h,d",type:"duration",placeholder:"Enter Keep Alive Interval"},{name:"reconnect_interval",label:"Reconnect Interval",tooltip:"Reconnect interval for MQTT connections in s,m,h,d",type:"duration",placeholder:"Enter Reconnect Interval"},...f],[c]:[{name:"address",required:!0,label:"Address",tooltip:"NATS server address e.g. '0.0.0.0:4222'",type:"address",placeholder:"Enter Address"},{name:"subject",required:!0,label:"Subject",tooltip:"NATS subscription subject",type:"string",placeholder:"Enter NATS Subject"},{name:"username",label:"Username",tooltip:"NATS username",type:"string",placeholder:"Enter NATS Username"},{name:"password",label:"Password",tooltip:"NATS password",type:"string",placeholder:"Enter NATS password"},{name:"token",label:"Token",tooltip:"NATS token",type:"string",placeholder:"Enter NATS token"},{name:"tls",label:"TLS",tooltip:"Set to 'on' to enable TLS",type:"on|off"},{name:"tls_skip_verify",label:"TLS Skip Verify",tooltip:'Trust server TLS without verification, defaults to "on" (verify)',type:"on|off"},{name:"ping_interval",label:"Ping Interval",tooltip:"Client ping commands interval in s,m,h,d. Disabled by default",type:"duration",placeholder:"Enter Ping Interval"},{name:"streaming",label:"Streaming",tooltip:"Set to 'on' to use streaming NATS server",type:"on|off"},{name:"streaming_async",label:"Streaming async",tooltip:"Set to 'on' to enable asynchronous publish",type:"on|off"},{name:"streaming_max_pub_acks_in_flight",label:"Streaming max publish ACKS in flight",tooltip:"Number of messages to publish without waiting for ACKs",type:"number",placeholder:"Enter Streaming in flight value"},{name:"streaming_cluster_id",label:"Streaming Cluster ID",tooltip:"Unique ID for NATS streaming cluster",type:"string",placeholder:"Enter Streaming Cluster ID"},{name:"cert_authority",label:"Cert Authority",tooltip:"Path to certificate chain of the target NATS server",type:"string",placeholder:"Enter Cert Authority"},{name:"client_cert",label:"Client Cert",tooltip:"Client cert for NATS mTLS auth",type:"string",placeholder:"Enter Client Cert"},{name:"client_key",label:"Client Key",tooltip:"Client cert key for NATS mTLS authorization",type:"string",placeholder:"Enter Client Key"},...f],[p]:[{name:"url",required:!0,label:"URL",tooltip:"Elasticsearch server's address, with optional authentication info",type:"url",placeholder:"Enter URL"},{name:"index",required:!0,label:"Index",tooltip:"Elasticsearch index to store/update events, index is auto-created",type:"string",placeholder:"Enter Index"},{name:"format",required:!0,label:"Format",tooltip:"'namespace' reflects current bucket/object list and 'access' reflects a journal of object operations, defaults to 'namespace'",type:"enum",placeholder:"Enter Format"},...f],[d]:[{name:"endpoint",required:!0,label:"Endpoint",tooltip:"Webhook server endpoint e.g. http://localhost:8080/minio/events",type:"url",placeholder:"Enter Endpoint"},{name:"auth_token",label:"Auth Token",tooltip:"Opaque string or JWT authorization token",type:"string",placeholder:"Enter auth_token"},...f],[g]:[{name:"nsqd_address",required:!0,label:"NSQD Address",tooltip:"NSQ server address e.g. '127.0.0.1:4150'",type:"address",placeholder:"Enter nsqd_address"},{name:"topic",required:!0,label:"Topic",tooltip:"NSQ topic",type:"string",placeholder:"Enter Topic"},{name:"tls",label:"TLS",tooltip:"Set to 'on' to enable TLS",type:"on|off"},{name:"tls_skip_verify",label:"TLS Skip Verify",tooltip:'Trust server TLS without verification, defaults to "on" (verify)',type:"on|off"},...f]},S={webhook:"notify_webhook",amqp:"notify_amqp",kafka:"notify_kafka",mqtt:"notify_mqtt",nats:"notify_nats",nsq:"notify_nsq",mysql:"notify_mysql",postgresql:"notify_postgres",elasticsearch:"notify_elasticsearch",redis:"notify_redis"},v=e=>S[e]}}]); \ No newline at end of file diff --git a/web-app/build/static/js/7470.4b28f453.chunk.js b/web-app/build/static/js/7470.4b28f453.chunk.js deleted file mode 100644 index e219e5e7b5..0000000000 --- a/web-app/build/static/js/7470.4b28f453.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 7470.4b28f453.chunk.js.LICENSE.txt */ -(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[7470],{33684:(t,A,e)=>{var r=e(10366),n=e(86942),i=Object.prototype.hasOwnProperty,o=n(function(t,A,e){i.call(t,e)?t[e].push(A):r(t,e,[A])});t.exports=o},41971:(t,A,e)=>{var r=e(20927);t.exports=function(t,A,e,n){return r(t,function(t,r,i){A(n,t,e(t),i)}),n}},60299:t=>{t.exports=function(t,A,e,r){for(var n=-1,i=null==t?0:t.length;++n{var r=e(12897).default;t.exports=function(t){var A={};function e(r){if(A[r])return A[r].exports;var n=A[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,e),n.l=!0,n.exports}return e.m=t,e.c=A,e.d=function(t,A,r){e.o(t,A)||Object.defineProperty(t,A,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,A){if(1&A&&(t=e(t)),8&A)return t;if(4&A&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&A&&"string"!=typeof t)for(var n in t)e.d(r,n,function(A){return t[A]}.bind(null,n));return r},e.n=function(t){var A=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(A,"a",A),A},e.o=function(t,A){return Object.prototype.hasOwnProperty.call(t,A)},e.p="",e(e.s=3)}([function(t,A,e){t.exports=function(){"use strict";var t=function(A,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,A){t.__proto__=A}||function(t,A){for(var e in A)A.hasOwnProperty(e)&&(t[e]=A[e])})(A,e)};function A(A,e){function r(){this.constructor=A}t(A,e),A.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var e=function(){return(e=Object.assign||function(t){for(var A,e=1,r=arguments.length;e0&&n[n.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]=55296&&n<=56319&&e>10),o%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"==typeof Uint8Array?[]:new Uint8Array(256),l=0;l<64;l++)u[c.charCodeAt(l)]=l;var h,f=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},d=function(){function t(t,A,e,r,n,i){this.initialValue=t,this.errorValue=A,this.highStart=e,this.highValueIndex=r,this.index=n,this.data=i}return t.prototype.get=function(t){var A;if(t>=0){if(t<55296||t>56319&&t<=65535)return A=((A=this.index[t>>5])<<2)+(31&t),this.data[A];if(t<=65535)return A=((A=this.index[2048+(t-55296>>5)])<<2)+(31&t),this.data[A];if(t>11),A=this.index[A],A+=t>>5&63,A=((A=this.index[A])<<2)+(31&t),this.data[A];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),p=10,B=13,g=15,w=17,m=18,Q=19,C=20,y=21,v=22,F=24,U=25,N=26,E=27,b=28,L=30,H=32,x=33,S=34,I=35,_=37,T=38,R=39,O=40,K=42,M=function(){var t,A,e,r=function(t){var A,e,r,n,i,o=.75*t.length,s=t.length,a=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),l=Array.isArray(c)?c:new Uint8Array(c);for(A=0;A>4,l[a++]=(15&r)<<4|n>>2,l[a++]=(3&n)<<6|63&i;return c}("KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk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KAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACA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ABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAA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B4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcA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LAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEs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wArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA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AB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlAC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ACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA"),n=Array.isArray(r)?function(t){for(var A=t.length,e=[],r=0;r0;){var o=r[--i];if(Array.isArray(t)?-1!==t.indexOf(o):t===o)for(var s=e;s<=r.length;){var a;if((a=r[++s])===A)return!0;if(a!==p)break}if(o!==p)break}return!1},G=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r!==p)return r;e--}return 0},J=function(t,A,e,r,n){if(0===e[r])return"\xd7";var i=r-1;if(Array.isArray(n)&&!0===n[i])return"\xd7";var o=i-1,s=i+1,a=A[i],c=o>=0?A[o]:0,u=A[s];if(2===a&&3===u)return"\xd7";if(-1!==D.indexOf(a))return"!";if(-1!==D.indexOf(u))return"\xd7";if(-1!==k.indexOf(u))return"\xd7";if(8===G(i,A))return"\xf7";if(11===M.get(t[i])&&(u===_||u===H||u===x))return"\xd7";if(7===a||7===u)return"\xd7";if(9===a)return"\xd7";if(-1===[p,B,g].indexOf(a)&&9===u)return"\xd7";if(-1!==[w,m,Q,F,b].indexOf(u))return"\xd7";if(G(i,A)===v)return"\xd7";if(X(23,v,i,A))return"\xd7";if(X([w,m],y,i,A))return"\xd7";if(X(12,12,i,A))return"\xd7";if(a===p)return"\xf7";if(23===a||23===u)return"\xd7";if(16===u||16===a)return"\xf7";if(-1!==[B,g,y].indexOf(u)||14===a)return"\xd7";if(36===c&&-1!==V.indexOf(a))return"\xd7";if(a===b&&36===u)return"\xd7";if(u===C&&-1!==P.concat(C,Q,U,_,H,x).indexOf(a))return"\xd7";if(-1!==P.indexOf(u)&&a===U||-1!==P.indexOf(a)&&u===U)return"\xd7";if(a===E&&-1!==[_,H,x].indexOf(u)||-1!==[_,H,x].indexOf(a)&&u===N)return"\xd7";if(-1!==P.indexOf(a)&&-1!==z.indexOf(u)||-1!==z.indexOf(a)&&-1!==P.indexOf(u))return"\xd7";if(-1!==[E,N].indexOf(a)&&(u===U||-1!==[v,g].indexOf(u)&&A[s+1]===U)||-1!==[v,g].indexOf(a)&&u===U||a===U&&-1!==[U,b,F].indexOf(u))return"\xd7";if(-1!==[U,b,F,w,m].indexOf(u))for(var l=i;l>=0;){if((h=A[l])===U)return"\xd7";if(-1===[b,F].indexOf(h))break;l--}if(-1!==[E,N].indexOf(u))for(l=-1!==[w,m].indexOf(a)?o:i;l>=0;){var h;if((h=A[l])===U)return"\xd7";if(-1===[b,F].indexOf(h))break;l--}if(T===a&&-1!==[T,R,S,I].indexOf(u)||-1!==[R,S].indexOf(a)&&-1!==[R,O].indexOf(u)||-1!==[O,I].indexOf(a)&&u===O)return"\xd7";if(-1!==q.indexOf(a)&&-1!==[C,N].indexOf(u)||-1!==q.indexOf(u)&&a===E)return"\xd7";if(-1!==P.indexOf(a)&&-1!==P.indexOf(u))return"\xd7";if(a===F&&-1!==P.indexOf(u))return"\xd7";if(-1!==P.concat(U).indexOf(a)&&u===v||-1!==P.concat(U).indexOf(u)&&a===m)return"\xd7";if(41===a&&41===u){for(var f=e[i],d=1;f>0&&41===A[--f];)d++;if(d%2!=0)return"\xd7"}return a===H&&u===x?"\xd7":"\xf7"},W=function(){function t(t,A,e,r){this.codePoints=t,this.required="!"===A,this.start=e,this.end=r}return t.prototype.slice=function(){return a.apply(void 0,this.codePoints.slice(this.start,this.end))},t}();!function(t){t[t.STRING_TOKEN=0]="STRING_TOKEN",t[t.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",t[t.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",t[t.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",t[t.COMMA_TOKEN=4]="COMMA_TOKEN",t[t.HASH_TOKEN=5]="HASH_TOKEN",t[t.DELIM_TOKEN=6]="DELIM_TOKEN",t[t.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",t[t.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",t[t.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",t[t.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",t[t.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",t[t.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",t[t.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",t[t.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",t[t.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",t[t.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",t[t.NUMBER_TOKEN=17]="NUMBER_TOKEN",t[t.FUNCTION=18]="FUNCTION",t[t.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",t[t.IDENT_TOKEN=20]="IDENT_TOKEN",t[t.COLUMN_TOKEN=21]="COLUMN_TOKEN",t[t.URL_TOKEN=22]="URL_TOKEN",t[t.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",t[t.CDC_TOKEN=24]="CDC_TOKEN",t[t.CDO_TOKEN=25]="CDO_TOKEN",t[t.COLON_TOKEN=26]="COLON_TOKEN",t[t.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",t[t.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",t[t.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",t[t.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",t[t.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",t[t.EOF_TOKEN=32]="EOF_TOKEN"}(h||(h={}));var Y=function(t){return t>=48&&t<=57},Z=function(t){return Y(t)||t>=65&&t<=70||t>=97&&t<=102},$=function(t){return 10===t||9===t||32===t},tt=function(t){return function(t){return function(t){return t>=97&&t<=122}(t)||function(t){return t>=65&&t<=90}(t)}(t)||function(t){return t>=128}(t)||95===t},At=function(t){return tt(t)||Y(t)||45===t},et=function(t){return t>=0&&t<=8||11===t||t>=14&&t<=31||127===t},rt=function(t,A){return 92===t&&10!==A},nt=function(t,A,e){return 45===t?tt(A)||rt(A,e):!!tt(t)||!(92!==t||!rt(t,A))},it=function(t,A,e){return 43===t||45===t?!!Y(A)||46===A&&Y(e):Y(46===t?A:t)},ot=function(t){var A=0,e=1;43!==t[A]&&45!==t[A]||(45===t[A]&&(e=-1),A++);for(var r=[];Y(t[A]);)r.push(t[A++]);var n=r.length?parseInt(a.apply(void 0,r),10):0;46===t[A]&&A++;for(var i=[];Y(t[A]);)i.push(t[A++]);var o=i.length,s=o?parseInt(a.apply(void 0,i),10):0;69!==t[A]&&101!==t[A]||A++;var c=1;43!==t[A]&&45!==t[A]||(45===t[A]&&(c=-1),A++);for(var u=[];Y(t[A]);)u.push(t[A++]);var l=u.length?parseInt(a.apply(void 0,u),10):0;return e*(n+s*Math.pow(10,-o))*Math.pow(10,c*l)},st={type:h.LEFT_PARENTHESIS_TOKEN},at={type:h.RIGHT_PARENTHESIS_TOKEN},ct={type:h.COMMA_TOKEN},ut={type:h.SUFFIX_MATCH_TOKEN},lt={type:h.PREFIX_MATCH_TOKEN},ht={type:h.COLUMN_TOKEN},ft={type:h.DASH_MATCH_TOKEN},dt={type:h.INCLUDE_MATCH_TOKEN},pt={type:h.LEFT_CURLY_BRACKET_TOKEN},Bt={type:h.RIGHT_CURLY_BRACKET_TOKEN},gt={type:h.SUBSTRING_MATCH_TOKEN},wt={type:h.BAD_URL_TOKEN},mt={type:h.BAD_STRING_TOKEN},Qt={type:h.CDO_TOKEN},Ct={type:h.CDC_TOKEN},yt={type:h.COLON_TOKEN},vt={type:h.SEMICOLON_TOKEN},Ft={type:h.LEFT_SQUARE_BRACKET_TOKEN},Ut={type:h.RIGHT_SQUARE_BRACKET_TOKEN},Nt={type:h.WHITESPACE_TOKEN},Et={type:h.EOF_TOKEN},bt=function(){function t(){this._value=[]}return t.prototype.write=function(t){this._value=this._value.concat(s(t))},t.prototype.read=function(){for(var t=[],A=this.consumeToken();A!==Et;)t.push(A),A=this.consumeToken();return t},t.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case 34:return this.consumeStringToken(34);case 35:var A=this.peekCodePoint(0),e=this.peekCodePoint(1),r=this.peekCodePoint(2);if(At(A)||rt(e,r)){var n=nt(A,e,r)?2:1,i=this.consumeName();return{type:h.HASH_TOKEN,value:i,flags:n}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ut;break;case 39:return this.consumeStringToken(39);case 40:return st;case 41:return at;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),gt;break;case 43:if(it(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case 44:return ct;case 45:var o=t,s=this.peekCodePoint(0),c=this.peekCodePoint(1);if(it(o,s,c))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(nt(o,s,c))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(45===s&&62===c)return this.consumeCodePoint(),this.consumeCodePoint(),Ct;break;case 46:if(it(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(42===u&&47===(u=this.consumeCodePoint()))return this.consumeToken();if(-1===u)return this.consumeToken()}break;case 58:return yt;case 59:return vt;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),Qt;break;case 64:var l=this.peekCodePoint(0),f=this.peekCodePoint(1),d=this.peekCodePoint(2);if(nt(l,f,d))return i=this.consumeName(),{type:h.AT_KEYWORD_TOKEN,value:i};break;case 91:return Ft;case 92:if(rt(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case 93:return Ut;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),lt;break;case 123:return pt;case 125:return Bt;case 117:case 85:var p=this.peekCodePoint(0),B=this.peekCodePoint(1);return 43!==p||!Z(B)&&63!==B||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ft;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),ht;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),dt;break;case-1:return Et}return $(t)?(this.consumeWhiteSpace(),Nt):Y(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):tt(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:h.DELIM_TOKEN,value:a(t)}},t.prototype.consumeCodePoint=function(){var t=this._value.shift();return void 0===t?-1:t},t.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},t.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},t.prototype.consumeUnicodeRangeToken=function(){for(var t=[],A=this.consumeCodePoint();Z(A)&&t.length<6;)t.push(A),A=this.consumeCodePoint();for(var e=!1;63===A&&t.length<6;)t.push(A),A=this.consumeCodePoint(),e=!0;if(e){var r=parseInt(a.apply(void 0,t.map(function(t){return 63===t?48:t})),16),n=parseInt(a.apply(void 0,t.map(function(t){return 63===t?70:t})),16);return{type:h.UNICODE_RANGE_TOKEN,start:r,end:n}}var i=parseInt(a.apply(void 0,t),16);if(45===this.peekCodePoint(0)&&Z(this.peekCodePoint(1))){this.consumeCodePoint(),A=this.consumeCodePoint();for(var o=[];Z(A)&&o.length<6;)o.push(A),A=this.consumeCodePoint();return n=parseInt(a.apply(void 0,o),16),{type:h.UNICODE_RANGE_TOKEN,start:i,end:n}}return{type:h.UNICODE_RANGE_TOKEN,start:i,end:i}},t.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return"url"===t.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:h.FUNCTION_TOKEN,value:t}):{type:h.IDENT_TOKEN,value:t}},t.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:h.URL_TOKEN,value:""};var A=this.peekCodePoint(0);if(39===A||34===A){var e=this.consumeStringToken(this.consumeCodePoint());return e.type===h.STRING_TOKEN&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:e.value}):(this.consumeBadUrlRemnants(),wt)}for(;;){var r=this.consumeCodePoint();if(-1===r||41===r)return{type:h.URL_TOKEN,value:a.apply(void 0,t)};if($(r))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:a.apply(void 0,t)}):(this.consumeBadUrlRemnants(),wt);if(34===r||39===r||40===r||et(r))return this.consumeBadUrlRemnants(),wt;if(92===r){if(!rt(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),wt;t.push(this.consumeEscapedCodePoint())}else t.push(r)}},t.prototype.consumeWhiteSpace=function(){for(;$(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(41===t||-1===t)return;rt(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(t){for(var A="";t>0;){var e=Math.min(6e4,t);A+=a.apply(void 0,this._value.splice(0,e)),t-=e}return this._value.shift(),A},t.prototype.consumeStringToken=function(t){for(var A="",e=0;;){var r=this._value[e];if(-1===r||void 0===r||r===t)return A+=this.consumeStringSlice(e),{type:h.STRING_TOKEN,value:A};if(10===r)return this._value.splice(0,e),mt;if(92===r){var n=this._value[e+1];-1!==n&&void 0!==n&&(10===n?(A+=this.consumeStringSlice(e),e=-1,this._value.shift()):rt(r,n)&&(A+=this.consumeStringSlice(e),A+=a(this.consumeEscapedCodePoint()),e=-1))}e++}},t.prototype.consumeNumber=function(){var t=[],A=4,e=this.peekCodePoint(0);for(43!==e&&45!==e||t.push(this.consumeCodePoint());Y(this.peekCodePoint(0));)t.push(this.consumeCodePoint());e=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===e&&Y(r))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),A=8;Y(this.peekCodePoint(0));)t.push(this.consumeCodePoint());e=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((69===e||101===e)&&((43===r||45===r)&&Y(n)||Y(r)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),A=8;Y(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[ot(t),A]},t.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),A=t[0],e=t[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);if(nt(r,n,i)){var o=this.consumeName();return{type:h.DIMENSION_TOKEN,number:A,flags:e,unit:o}}return 37===r?(this.consumeCodePoint(),{type:h.PERCENTAGE_TOKEN,number:A,flags:e}):{type:h.NUMBER_TOKEN,number:A,flags:e}},t.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(Z(t)){for(var A=a(t);Z(this.peekCodePoint(0))&&A.length<6;)A+=a(this.consumeCodePoint());$(this.peekCodePoint(0))&&this.consumeCodePoint();var e=parseInt(A,16);return 0===e||function(t){return t>=55296&&t<=57343}(e)||e>1114111?65533:e}return-1===t?65533:t},t.prototype.consumeName=function(){for(var t="";;){var A=this.consumeCodePoint();if(At(A))t+=a(A);else{if(!rt(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),t;t+=a(this.consumeEscapedCodePoint())}}},t}(),Lt=function(){function t(t){this._tokens=t}return t.create=function(A){var e=new bt;return e.write(A),new t(e.read())},t.parseValue=function(A){return t.create(A).parseComponentValue()},t.parseValues=function(A){return t.create(A).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===h.WHITESPACE_TOKEN;)t=this.consumeToken();if(t.type===h.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var A=this.consumeComponentValue();do{t=this.consumeToken()}while(t.type===h.WHITESPACE_TOKEN);if(t.type===h.EOF_TOKEN)return A;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var t=[];;){var A=this.consumeComponentValue();if(A.type===h.EOF_TOKEN)return t;t.push(A),t.push()}},t.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case h.LEFT_CURLY_BRACKET_TOKEN:case h.LEFT_SQUARE_BRACKET_TOKEN:case h.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(t.type);case h.FUNCTION_TOKEN:return this.consumeFunction(t)}return t},t.prototype.consumeSimpleBlock=function(t){for(var A={type:t,values:[]},e=this.consumeToken();;){if(e.type===h.EOF_TOKEN||Kt(e,t))return A;this.reconsumeToken(e),A.values.push(this.consumeComponentValue()),e=this.consumeToken()}},t.prototype.consumeFunction=function(t){for(var A={name:t.value,values:[],type:h.FUNCTION};;){var e=this.consumeToken();if(e.type===h.EOF_TOKEN||e.type===h.RIGHT_PARENTHESIS_TOKEN)return A;this.reconsumeToken(e),A.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var t=this._tokens.shift();return void 0===t?Et:t},t.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},t}(),Ht=function(t){return t.type===h.DIMENSION_TOKEN},xt=function(t){return t.type===h.NUMBER_TOKEN},St=function(t){return t.type===h.IDENT_TOKEN},It=function(t){return t.type===h.STRING_TOKEN},_t=function(t,A){return St(t)&&t.value===A},Tt=function(t){return t.type!==h.WHITESPACE_TOKEN},Rt=function(t){return t.type!==h.WHITESPACE_TOKEN&&t.type!==h.COMMA_TOKEN},Ot=function(t){var A=[],e=[];return t.forEach(function(t){if(t.type===h.COMMA_TOKEN){if(0===e.length)throw new Error("Error parsing function args, zero tokens for arg");return A.push(e),void(e=[])}t.type!==h.WHITESPACE_TOKEN&&e.push(t)}),e.length&&A.push(e),A},Kt=function(t,A){return A===h.LEFT_CURLY_BRACKET_TOKEN&&t.type===h.RIGHT_CURLY_BRACKET_TOKEN||A===h.LEFT_SQUARE_BRACKET_TOKEN&&t.type===h.RIGHT_SQUARE_BRACKET_TOKEN||A===h.LEFT_PARENTHESIS_TOKEN&&t.type===h.RIGHT_PARENTHESIS_TOKEN},Mt=function(t){return t.type===h.NUMBER_TOKEN||t.type===h.DIMENSION_TOKEN},Pt=function(t){return t.type===h.PERCENTAGE_TOKEN||Mt(t)},Dt=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},kt={type:h.NUMBER_TOKEN,number:0,flags:4},zt={type:h.PERCENTAGE_TOKEN,number:50,flags:4},jt={type:h.PERCENTAGE_TOKEN,number:100,flags:4},qt=function(t,A,e){var r=t[0],n=t[1];return[Vt(r,A),Vt(void 0!==n?n:r,e)]},Vt=function(t,A){if(t.type===h.PERCENTAGE_TOKEN)return t.number/100*A;if(Ht(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},Xt=function(t){if(t.type===h.DIMENSION_TOKEN)switch(t.unit){case"deg":return Math.PI*t.number/180;case"grad":return Math.PI/200*t.number;case"rad":return t.number;case"turn":return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},Gt=function(t){return t.type===h.DIMENSION_TOKEN&&("deg"===t.unit||"grad"===t.unit||"rad"===t.unit||"turn"===t.unit)},Jt=function(t){switch(t.filter(St).map(function(t){return t.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[kt,kt];case"to top":case"bottom":return Wt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[kt,jt];case"to right":case"left":return Wt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[jt,jt];case"to bottom":case"top":return Wt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[jt,kt];case"to left":case"right":return Wt(270)}return 0},Wt=function(t){return Math.PI*t/180},Yt=function(t){if(t.type===h.FUNCTION){var A=sA[t.name];if(void 0===A)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return A(t.values)}if(t.type===h.HASH_TOKEN){if(3===t.value.length){var e=t.value.substring(0,1),r=t.value.substring(1,2),n=t.value.substring(2,3);return tA(parseInt(e+e,16),parseInt(r+r,16),parseInt(n+n,16),1)}if(4===t.value.length){e=t.value.substring(0,1),r=t.value.substring(1,2),n=t.value.substring(2,3);var i=t.value.substring(3,4);return tA(parseInt(e+e,16),parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16)/255)}if(6===t.value.length)return e=t.value.substring(0,2),r=t.value.substring(2,4),n=t.value.substring(4,6),tA(parseInt(e,16),parseInt(r,16),parseInt(n,16),1);if(8===t.value.length)return e=t.value.substring(0,2),r=t.value.substring(2,4),n=t.value.substring(4,6),i=t.value.substring(6,8),tA(parseInt(e,16),parseInt(r,16),parseInt(n,16),parseInt(i,16)/255)}if(t.type===h.IDENT_TOKEN){var o=aA[t.value.toUpperCase()];if(void 0!==o)return o}return aA.TRANSPARENT},Zt=function(t){return 0==(255&t)},$t=function(t){var A=255&t,e=255&t>>8,r=255&t>>16,n=255&t>>24;return A<255?"rgba("+n+","+r+","+e+","+A/255+")":"rgb("+n+","+r+","+e+")"},tA=function(t,A,e,r){return(t<<24|A<<16|e<<8|Math.round(255*r))>>>0},AA=function(t,A){if(t.type===h.NUMBER_TOKEN)return t.number;if(t.type===h.PERCENTAGE_TOKEN){var e=3===A?1:255;return 3===A?t.number/100*e:Math.round(t.number/100*e)}return 0},eA=function(t){var A=t.filter(Rt);if(3===A.length){var e=A.map(AA),r=e[0],n=e[1],i=e[2];return tA(r,n,i,1)}if(4===A.length){var o=A.map(AA),s=(r=o[0],n=o[1],i=o[2],o[3]);return tA(r,n,i,s)}return 0};function rA(t,A,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<.5?A:e<2/3?6*(A-t)*(2/3-e)+t:t}var nA,iA,oA=function(t){var A=t.filter(Rt),e=A[0],r=A[1],n=A[2],i=A[3],o=(e.type===h.NUMBER_TOKEN?Wt(e.number):Xt(e))/(2*Math.PI),s=Pt(r)?r.number/100:0,a=Pt(n)?n.number/100:0,c=void 0!==i&&Pt(i)?Vt(i,1):1;if(0===s)return tA(255*a,255*a,255*a,1);var u=a<=.5?a*(s+1):a+s-a*s,l=2*a-u,f=rA(l,u,o+1/3),d=rA(l,u,o),p=rA(l,u,o-1/3);return tA(255*f,255*d,255*p,c)},sA={hsl:oA,hsla:oA,rgb:eA,rgba:eA},aA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};(function(t){t[t.VALUE=0]="VALUE",t[t.LIST=1]="LIST",t[t.IDENT_VALUE=2]="IDENT_VALUE",t[t.TYPE_VALUE=3]="TYPE_VALUE",t[t.TOKEN_VALUE=4]="TOKEN_VALUE"})(nA||(nA={})),function(t){t[t.BORDER_BOX=0]="BORDER_BOX",t[t.PADDING_BOX=1]="PADDING_BOX",t[t.CONTENT_BOX=2]="CONTENT_BOX"}(iA||(iA={}));var cA,uA,lA,hA={name:"background-clip",initialValue:"border-box",prefix:!1,type:nA.LIST,parse:function(t){return t.map(function(t){if(St(t))switch(t.value){case"padding-box":return iA.PADDING_BOX;case"content-box":return iA.CONTENT_BOX}return iA.BORDER_BOX})}},fA={name:"background-color",initialValue:"transparent",prefix:!1,type:nA.TYPE_VALUE,format:"color"},dA=function(t){var A=Yt(t[0]),e=t[1];return e&&Pt(e)?{color:A,stop:e}:{color:A,stop:null}},pA=function(t,A){var e=t[0],r=t[t.length-1];null===e.stop&&(e.stop=kt),null===r.stop&&(r.stop=jt);for(var n=[],i=0,o=0;oi?n.push(a):n.push(i),i=a}else n.push(null)}var c=null;for(o=0;ot.optimumDistance)?{optimumCorner:A,optimumDistance:s}:t},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},wA=function(t){var A=Wt(180),e=[];return Ot(t).forEach(function(t,r){if(0===r){var n=t[0];if(n.type===h.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(n.value))return void(A=Jt(t));if(Gt(n))return void(A=(Xt(n)+Wt(270))%Wt(360))}var i=dA(t);e.push(i)}),{angle:A,stops:e,type:cA.LINEAR_GRADIENT}},mA=function(t){return 0===t[0]&&255===t[1]&&0===t[2]&&255===t[3]},QA=function(t,A,e,r,n){var i="http://www.w3.org/2000/svg",o=document.createElementNS(i,"svg"),s=document.createElementNS(i,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",A.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",e.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(s),s.appendChild(n),o},CA=function(t){return new Promise(function(A,e){var r=new Image;r.onload=function(){return A(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))})},yA={get SUPPORT_RANGE_BOUNDS(){var t=function(t){if(t.createRange){var A=t.createRange();if(A.getBoundingClientRect){var e=t.createElement("boundtest");e.style.height="123px",e.style.display="block",t.body.appendChild(e),A.selectNode(e);var r=A.getBoundingClientRect(),n=Math.round(r.height);if(t.body.removeChild(e),123===n)return!0}}return!1}(document);return Object.defineProperty(yA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=function(t){var A=new Image,e=t.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,";try{r.drawImage(A,0,0),e.toDataURL()}catch(t){return!1}return!0}(document);return Object.defineProperty(yA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t="function"==typeof Array.from&&"function"==typeof window.fetch?function(t){var A=t.createElement("canvas");A.width=100,A.height=100;var e=A.getContext("2d");if(!e)return Promise.reject(!1);e.fillStyle="rgb(0, 255, 0)",e.fillRect(0,0,100,100);var r=new Image,n=A.toDataURL();r.src=n;var i=QA(100,100,0,0,r);return e.fillStyle="red",e.fillRect(0,0,100,100),CA(i).then(function(A){e.drawImage(A,0,0);var r=e.getImageData(0,0,100,100).data;e.fillStyle="red",e.fillRect(0,0,100,100);var i=t.createElement("div");return i.style.backgroundImage="url("+n+")",i.style.height="100px",mA(r)?CA(QA(100,100,0,0,i)):Promise.reject(!1)}).then(function(t){return e.drawImage(t,0,0),mA(e.getImageData(0,0,100,100).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(yA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=void 0!==(new Image).crossOrigin;return Object.defineProperty(yA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(yA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(yA,"SUPPORT_CORS_XHR",{value:t}),t}},vA=function(){function t(t){var A=t.id,e=t.enabled;this.id=A,this.enabled=e,this.start=Date.now()}return t.prototype.debug=function(){for(var t=[],A=0;A0&&setTimeout(function(){return A("Timed out ("+o._options.imageTimeout+"ms) loading image")},o._options.imageTimeout)})];case 3:return[2,n.sent()]}})})},t.prototype.has=function(t){return void 0!==this._cache[t]},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(t){var A=this,e=this._options.proxy;if(!e)throw new Error("No proxy defined");var r=t.substring(0,256);return new Promise(function(n,i){var o=yA.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;if(s.onload=function(){if(200===s.status)if("text"===o)n(s.response);else{var t=new FileReader;t.addEventListener("load",function(){return n(t.result)},!1),t.addEventListener("error",function(t){return i(t)},!1),t.readAsDataURL(s.response)}else i("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=i,s.open("GET",e+"?url="+encodeURIComponent(t)+"&responseType="+o),"text"!==o&&s instanceof XMLHttpRequest&&(s.responseType=o),A._options.imageTimeout){var a=A._options.imageTimeout;s.timeout=a,s.ontimeout=function(){return i("Timed out ("+a+"ms) proxying "+r)}}s.send()})},t}(),NA=/^data:image\/svg\+xml/i,EA=/^data:image\/.*;base64,/i,bA=/^data:image\/.*/i,LA=function(t){return yA.SUPPORT_SVG_DRAWING||!IA(t)},HA=function(t){return bA.test(t)},xA=function(t){return EA.test(t)},SA=function(t){return"blob"===t.substr(0,4)},IA=function(t){return"svg"===t.substr(-3).toLowerCase()||NA.test(t)},_A=function(t){var A=uA.CIRCLE,e=lA.FARTHEST_CORNER,r=[],n=[];return Ot(t).forEach(function(t,i){var o=!0;if(0===i?o=t.reduce(function(t,A){if(St(A))switch(A.value){case"center":return n.push(zt),!1;case"top":case"left":return n.push(kt),!1;case"right":case"bottom":return n.push(jt),!1}else if(Pt(A)||Mt(A))return n.push(A),!1;return t},o):1===i&&(o=t.reduce(function(t,r){if(St(r))switch(r.value){case"circle":return A=uA.CIRCLE,!1;case"ellipse":return A=uA.ELLIPSE,!1;case"contain":case"closest-side":return e=lA.CLOSEST_SIDE,!1;case"farthest-side":return e=lA.FARTHEST_SIDE,!1;case"closest-corner":return e=lA.CLOSEST_CORNER,!1;case"cover":case"farthest-corner":return e=lA.FARTHEST_CORNER,!1}else if(Mt(r)||Pt(r))return Array.isArray(e)||(e=[]),e.push(r),!1;return t},o)),o){var s=dA(t);r.push(s)}}),{size:e,shape:A,stops:r,position:n,type:cA.RADIAL_GRADIENT}};!function(t){t[t.URL=0]="URL",t[t.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",t[t.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"}(cA||(cA={})),function(t){t[t.CIRCLE=0]="CIRCLE",t[t.ELLIPSE=1]="ELLIPSE"}(uA||(uA={})),function(t){t[t.CLOSEST_SIDE=0]="CLOSEST_SIDE",t[t.FARTHEST_SIDE=1]="FARTHEST_SIDE",t[t.CLOSEST_CORNER=2]="CLOSEST_CORNER",t[t.FARTHEST_CORNER=3]="FARTHEST_CORNER"}(lA||(lA={}));var TA,RA=function(t){if(t.type===h.URL_TOKEN){var A={url:t.value,type:cA.URL};return FA.getInstance().addImage(t.value),A}if(t.type===h.FUNCTION){var e=OA[t.name];if(void 0===e)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return e(t.values)}throw new Error("Unsupported image type")},OA={"linear-gradient":function(t){var A=Wt(180),e=[];return Ot(t).forEach(function(t,r){if(0===r){var n=t[0];if(n.type===h.IDENT_TOKEN&&"to"===n.value)return void(A=Jt(t));if(Gt(n))return void(A=Xt(n))}var i=dA(t);e.push(i)}),{angle:A,stops:e,type:cA.LINEAR_GRADIENT}},"-moz-linear-gradient":wA,"-ms-linear-gradient":wA,"-o-linear-gradient":wA,"-webkit-linear-gradient":wA,"radial-gradient":function(t){var A=uA.CIRCLE,e=lA.FARTHEST_CORNER,r=[],n=[];return Ot(t).forEach(function(t,i){var o=!0;if(0===i){var s=!1;o=t.reduce(function(t,r){if(s)if(St(r))switch(r.value){case"center":return n.push(zt),t;case"top":case"left":return n.push(kt),t;case"right":case"bottom":return n.push(jt),t}else(Pt(r)||Mt(r))&&n.push(r);else if(St(r))switch(r.value){case"circle":return A=uA.CIRCLE,!1;case"ellipse":return A=uA.ELLIPSE,!1;case"at":return s=!0,!1;case"closest-side":return e=lA.CLOSEST_SIDE,!1;case"cover":case"farthest-side":return e=lA.FARTHEST_SIDE,!1;case"contain":case"closest-corner":return e=lA.CLOSEST_CORNER,!1;case"farthest-corner":return e=lA.FARTHEST_CORNER,!1}else if(Mt(r)||Pt(r))return Array.isArray(e)||(e=[]),e.push(r),!1;return t},o)}if(o){var a=dA(t);r.push(a)}}),{size:e,shape:A,stops:r,position:n,type:cA.RADIAL_GRADIENT}},"-moz-radial-gradient":_A,"-ms-radial-gradient":_A,"-o-radial-gradient":_A,"-webkit-radial-gradient":_A,"-webkit-gradient":function(t){var A=Wt(180),e=[],r=cA.LINEAR_GRADIENT,n=uA.CIRCLE,i=lA.FARTHEST_CORNER;return Ot(t).forEach(function(t,A){var n=t[0];if(0===A){if(St(n)&&"linear"===n.value)return void(r=cA.LINEAR_GRADIENT);if(St(n)&&"radial"===n.value)return void(r=cA.RADIAL_GRADIENT)}if(n.type===h.FUNCTION)if("from"===n.name){var i=Yt(n.values[0]);e.push({stop:kt,color:i})}else if("to"===n.name)i=Yt(n.values[0]),e.push({stop:jt,color:i});else if("color-stop"===n.name){var o=n.values.filter(Rt);if(2===o.length){i=Yt(o[1]);var s=o[0];xt(s)&&e.push({stop:{type:h.PERCENTAGE_TOKEN,number:100*s.number,flags:s.flags},color:i})}}}),r===cA.LINEAR_GRADIENT?{angle:(A+Wt(180))%Wt(360),stops:e,type:r}:{size:i,shape:n,stops:e,position:[],type:r}}},KA={name:"background-image",initialValue:"none",type:nA.LIST,prefix:!1,parse:function(t){if(0===t.length)return[];var A=t[0];return A.type===h.IDENT_TOKEN&&"none"===A.value?[]:t.filter(function(t){return Rt(t)&&function(t){return t.type!==h.FUNCTION||OA[t.name]}(t)}).map(RA)}},MA={name:"background-origin",initialValue:"border-box",prefix:!1,type:nA.LIST,parse:function(t){return t.map(function(t){if(St(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},PA={name:"background-position",initialValue:"0% 0%",type:nA.LIST,prefix:!1,parse:function(t){return Ot(t).map(function(t){return t.filter(Pt)}).map(Dt)}};!function(t){t[t.REPEAT=0]="REPEAT",t[t.NO_REPEAT=1]="NO_REPEAT",t[t.REPEAT_X=2]="REPEAT_X",t[t.REPEAT_Y=3]="REPEAT_Y"}(TA||(TA={}));var DA,kA={name:"background-repeat",initialValue:"repeat",prefix:!1,type:nA.LIST,parse:function(t){return Ot(t).map(function(t){return t.filter(St).map(function(t){return t.value}).join(" ")}).map(zA)}},zA=function(t){switch(t){case"no-repeat":return TA.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return TA.REPEAT_X;case"repeat-y":case"no-repeat repeat":return TA.REPEAT_Y;default:return TA.REPEAT}};!function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"}(DA||(DA={}));var jA,qA={name:"background-size",initialValue:"0",prefix:!1,type:nA.LIST,parse:function(t){return Ot(t).map(function(t){return t.filter(VA)})}},VA=function(t){return St(t)||Pt(t)},XA=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:nA.TYPE_VALUE,format:"color"}},GA=XA("top"),JA=XA("right"),WA=XA("bottom"),YA=XA("left"),ZA=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:nA.LIST,parse:function(t){return Dt(t.filter(Pt))}}},$A=ZA("top-left"),te=ZA("top-right"),Ae=ZA("bottom-right"),ee=ZA("bottom-left");!function(t){t[t.NONE=0]="NONE",t[t.SOLID=1]="SOLID"}(jA||(jA={}));var re,ne=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:nA.IDENT_VALUE,parse:function(t){return"none"===t?jA.NONE:jA.SOLID}}},ie=ne("top"),oe=ne("right"),se=ne("bottom"),ae=ne("left"),ce=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:nA.VALUE,prefix:!1,parse:function(t){return Ht(t)?t.number:0}}},ue=ce("top"),le=ce("right"),he=ce("bottom"),fe=ce("left"),de={name:"color",initialValue:"transparent",prefix:!1,type:nA.TYPE_VALUE,format:"color"},pe={name:"display",initialValue:"inline-block",prefix:!1,type:nA.LIST,parse:function(t){return t.filter(St).reduce(function(t,A){return t|Be(A.value)},0)}},Be=function(t){switch(t){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0};!function(t){t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t[t.INLINE_START=3]="INLINE_START",t[t.INLINE_END=4]="INLINE_END"}(re||(re={}));var ge,we={name:"float",initialValue:"none",prefix:!1,type:nA.IDENT_VALUE,parse:function(t){switch(t){case"left":return re.LEFT;case"right":return re.RIGHT;case"inline-start":return re.INLINE_START;case"inline-end":return re.INLINE_END}return re.NONE}},me={name:"letter-spacing",initialValue:"0",prefix:!1,type:nA.VALUE,parse:function(t){return t.type===h.IDENT_TOKEN&&"normal"===t.value?0:t.type===h.NUMBER_TOKEN||t.type===h.DIMENSION_TOKEN?t.number:0}};!function(t){t.NORMAL="normal",t.STRICT="strict"}(ge||(ge={}));var Qe,Ce={name:"line-break",initialValue:"normal",prefix:!1,type:nA.IDENT_VALUE,parse:function(t){return"strict"===t?ge.STRICT:ge.NORMAL}},ye={name:"line-height",initialValue:"normal",prefix:!1,type:nA.TOKEN_VALUE},ve={name:"list-style-image",initialValue:"none",type:nA.VALUE,prefix:!1,parse:function(t){return t.type===h.IDENT_TOKEN&&"none"===t.value?null:RA(t)}};!function(t){t[t.INSIDE=0]="INSIDE",t[t.OUTSIDE=1]="OUTSIDE"}(Qe||(Qe={}));var Fe,Ue={name:"list-style-position",initialValue:"outside",prefix:!1,type:nA.IDENT_VALUE,parse:function(t){return"inside"===t?Qe.INSIDE:Qe.OUTSIDE}};!function(t){t[t.NONE=-1]="NONE",t[t.DISC=0]="DISC",t[t.CIRCLE=1]="CIRCLE",t[t.SQUARE=2]="SQUARE",t[t.DECIMAL=3]="DECIMAL",t[t.CJK_DECIMAL=4]="CJK_DECIMAL",t[t.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",t[t.LOWER_ROMAN=6]="LOWER_ROMAN",t[t.UPPER_ROMAN=7]="UPPER_ROMAN",t[t.LOWER_GREEK=8]="LOWER_GREEK",t[t.LOWER_ALPHA=9]="LOWER_ALPHA",t[t.UPPER_ALPHA=10]="UPPER_ALPHA",t[t.ARABIC_INDIC=11]="ARABIC_INDIC",t[t.ARMENIAN=12]="ARMENIAN",t[t.BENGALI=13]="BENGALI",t[t.CAMBODIAN=14]="CAMBODIAN",t[t.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",t[t.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",t[t.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",t[t.DEVANAGARI=18]="DEVANAGARI",t[t.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",t[t.GEORGIAN=20]="GEORGIAN",t[t.GUJARATI=21]="GUJARATI",t[t.GURMUKHI=22]="GURMUKHI",t[t.HEBREW=22]="HEBREW",t[t.HIRAGANA=23]="HIRAGANA",t[t.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",t[t.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",t[t.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",t[t.KANNADA=27]="KANNADA",t[t.KATAKANA=28]="KATAKANA",t[t.KATAKANA_IROHA=29]="KATAKANA_IROHA",t[t.KHMER=30]="KHMER",t[t.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",t[t.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",t[t.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",t[t.LAO=34]="LAO",t[t.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",t[t.MALAYALAM=36]="MALAYALAM",t[t.MONGOLIAN=37]="MONGOLIAN",t[t.MYANMAR=38]="MYANMAR",t[t.ORIYA=39]="ORIYA",t[t.PERSIAN=40]="PERSIAN",t[t.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",t[t.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",t[t.TAMIL=43]="TAMIL",t[t.TELUGU=44]="TELUGU",t[t.THAI=45]="THAI",t[t.TIBETAN=46]="TIBETAN",t[t.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",t[t.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",t[t.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",t[t.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",t[t.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"}(Fe||(Fe={}));var Ne,Ee={name:"list-style-type",initialValue:"none",prefix:!1,type:nA.IDENT_VALUE,parse:function(t){switch(t){case"disc":return Fe.DISC;case"circle":return Fe.CIRCLE;case"square":return Fe.SQUARE;case"decimal":return Fe.DECIMAL;case"cjk-decimal":return Fe.CJK_DECIMAL;case"decimal-leading-zero":return Fe.DECIMAL_LEADING_ZERO;case"lower-roman":return Fe.LOWER_ROMAN;case"upper-roman":return Fe.UPPER_ROMAN;case"lower-greek":return Fe.LOWER_GREEK;case"lower-alpha":return Fe.LOWER_ALPHA;case"upper-alpha":return Fe.UPPER_ALPHA;case"arabic-indic":return Fe.ARABIC_INDIC;case"armenian":return Fe.ARMENIAN;case"bengali":return Fe.BENGALI;case"cambodian":return Fe.CAMBODIAN;case"cjk-earthly-branch":return Fe.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Fe.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Fe.CJK_IDEOGRAPHIC;case"devanagari":return Fe.DEVANAGARI;case"ethiopic-numeric":return Fe.ETHIOPIC_NUMERIC;case"georgian":return Fe.GEORGIAN;case"gujarati":return Fe.GUJARATI;case"gurmukhi":return Fe.GURMUKHI;case"hebrew":return Fe.HEBREW;case"hiragana":return Fe.HIRAGANA;case"hiragana-iroha":return Fe.HIRAGANA_IROHA;case"japanese-formal":return Fe.JAPANESE_FORMAL;case"japanese-informal":return Fe.JAPANESE_INFORMAL;case"kannada":return Fe.KANNADA;case"katakana":return Fe.KATAKANA;case"katakana-iroha":return Fe.KATAKANA_IROHA;case"khmer":return Fe.KHMER;case"korean-hangul-formal":return Fe.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Fe.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Fe.KOREAN_HANJA_INFORMAL;case"lao":return Fe.LAO;case"lower-armenian":return Fe.LOWER_ARMENIAN;case"malayalam":return Fe.MALAYALAM;case"mongolian":return Fe.MONGOLIAN;case"myanmar":return Fe.MYANMAR;case"oriya":return Fe.ORIYA;case"persian":return Fe.PERSIAN;case"simp-chinese-formal":return Fe.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Fe.SIMP_CHINESE_INFORMAL;case"tamil":return Fe.TAMIL;case"telugu":return Fe.TELUGU;case"thai":return Fe.THAI;case"tibetan":return Fe.TIBETAN;case"trad-chinese-formal":return Fe.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Fe.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Fe.UPPER_ARMENIAN;case"disclosure-open":return Fe.DISCLOSURE_OPEN;case"disclosure-closed":return Fe.DISCLOSURE_CLOSED;default:return Fe.NONE}}},be=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:nA.TOKEN_VALUE}},Le=be("top"),He=be("right"),xe=be("bottom"),Se=be("left");!function(t){t[t.VISIBLE=0]="VISIBLE",t[t.HIDDEN=1]="HIDDEN",t[t.SCROLL=2]="SCROLL",t[t.AUTO=3]="AUTO"}(Ne||(Ne={}));var Ie,_e={name:"overflow",initialValue:"visible",prefix:!1,type:nA.LIST,parse:function(t){return t.filter(St).map(function(t){switch(t.value){case"hidden":return Ne.HIDDEN;case"scroll":return Ne.SCROLL;case"auto":return Ne.AUTO;default:return Ne.VISIBLE}})}};!function(t){t.NORMAL="normal",t.BREAK_WORD="break-word"}(Ie||(Ie={}));var Te,Re={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:nA.IDENT_VALUE,parse:function(t){return"break-word"===t?Ie.BREAK_WORD:Ie.NORMAL}},Oe=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:nA.TYPE_VALUE,format:"length-percentage"}},Ke=Oe("top"),Me=Oe("right"),Pe=Oe("bottom"),De=Oe("left");!function(t){t[t.LEFT=0]="LEFT",t[t.CENTER=1]="CENTER",t[t.RIGHT=2]="RIGHT"}(Te||(Te={}));var ke,ze={name:"text-align",initialValue:"left",prefix:!1,type:nA.IDENT_VALUE,parse:function(t){switch(t){case"right":return Te.RIGHT;case"center":case"justify":return Te.CENTER;default:return Te.LEFT}}};!function(t){t[t.STATIC=0]="STATIC",t[t.RELATIVE=1]="RELATIVE",t[t.ABSOLUTE=2]="ABSOLUTE",t[t.FIXED=3]="FIXED",t[t.STICKY=4]="STICKY"}(ke||(ke={}));var je,qe={name:"position",initialValue:"static",prefix:!1,type:nA.IDENT_VALUE,parse:function(t){switch(t){case"relative":return ke.RELATIVE;case"absolute":return ke.ABSOLUTE;case"fixed":return ke.FIXED;case"sticky":return ke.STICKY}return ke.STATIC}},Ve={name:"text-shadow",initialValue:"none",type:nA.LIST,prefix:!1,parse:function(t){return 1===t.length&&_t(t[0],"none")?[]:Ot(t).map(function(t){for(var A={color:aA.TRANSPARENT,offsetX:kt,offsetY:kt,blur:kt},e=0,r=0;r1?1:0],this.overflowWrap=Fr(Re,t.overflowWrap),this.paddingTop=Fr(Ke,t.paddingTop),this.paddingRight=Fr(Me,t.paddingRight),this.paddingBottom=Fr(Pe,t.paddingBottom),this.paddingLeft=Fr(De,t.paddingLeft),this.position=Fr(qe,t.position),this.textAlign=Fr(ze,t.textAlign),this.textDecorationColor=Fr(or,t.textDecorationColor||t.color),this.textDecorationLine=Fr(sr,t.textDecorationLine),this.textShadow=Fr(Ve,t.textShadow),this.textTransform=Fr(Ge,t.textTransform),this.transform=Fr(Je,t.transform),this.transformOrigin=Fr($e,t.transformOrigin),this.visibility=Fr(Ar,t.visibility),this.wordBreak=Fr(rr,t.wordBreak),this.zIndex=Fr(nr,t.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Xe.VISIBLE},t.prototype.isTransparent=function(){return Zt(this.backgroundColor)},t.prototype.isTransformed=function(){return null!==this.transform},t.prototype.isPositioned=function(){return this.position!==ke.STATIC},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==re.NONE},t.prototype.isInlineLevel=function(){return dr(this.display,4)||dr(this.display,33554432)||dr(this.display,268435456)||dr(this.display,536870912)||dr(this.display,67108864)||dr(this.display,134217728)},t}(),yr=function(t){this.content=Fr(pr,t.content),this.quotes=Fr(wr,t.quotes)},vr=function(t){this.counterIncrement=Fr(Br,t.counterIncrement),this.counterReset=Fr(gr,t.counterReset)},Fr=function(t,A){var e=new bt,r=null!=A?A.toString():t.initialValue;e.write(r);var n=new Lt(e.read());switch(t.type){case nA.IDENT_VALUE:var i=n.parseComponentValue();return t.parse(St(i)?i.value:t.initialValue);case nA.VALUE:return t.parse(n.parseComponentValue());case nA.LIST:return t.parse(n.parseComponentValues());case nA.TOKEN_VALUE:return n.parseComponentValue();case nA.TYPE_VALUE:switch(t.format){case"angle":return Xt(n.parseComponentValue());case"color":return Yt(n.parseComponentValue());case"image":return RA(n.parseComponentValue());case"length":var o=n.parseComponentValue();return Mt(o)?o:kt;case"length-percentage":var s=n.parseComponentValue();return Pt(s)?s:kt}}throw new Error("Attempting to parse unsupported css format type "+t.format)},Ur=function(t){this.styles=new Cr(window.getComputedStyle(t,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&tn(t)&&(t.style.transform="none"),this.bounds=o(t),this.flags=0},Nr=function(t,A){this.text=t,this.bounds=A},Er=function(t){var A=t.ownerDocument;if(A){var e=A.createElement("html2canvaswrapper");e.appendChild(t.cloneNode(!0));var r=t.parentNode;if(r){r.replaceChild(e,t);var n=o(e);return e.firstChild&&r.replaceChild(e.firstChild,e),n}}return new i(0,0,0,0)},br=function(t,A,e){var r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(t,A),n.setEnd(t,A+e),i.fromClientRect(n.getBoundingClientRect())},Lr=function(t,A){for(var e,r=function(t,A){var e=s(t),r=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=function(t,A){void 0===A&&(A="strict");var e=[],r=[],n=[];return t.forEach(function(t,i){var o=M.get(t);if(o>50?(n.push(!0),o-=50):n.push(!1),-1!==["normal","auto","loose"].indexOf(A)&&-1!==[8208,8211,12316,12448].indexOf(t))return r.push(i),e.push(16);if(4===o||11===o){if(0===i)return r.push(i),e.push(L);var s=e[i-1];return-1===j.indexOf(s)?(r.push(r[i-1]),e.push(s)):(r.push(i),e.push(L))}return r.push(i),31===o?e.push("strict"===A?y:_):o===K||29===o?e.push(L):43===o?t>=131072&&t<=196605||t>=196608&&t<=262141?e.push(_):e.push(L):void e.push(o)}),[r,e,n]}(t,A.lineBreak),r=e[0],n=e[1],i=e[2];return"break-all"!==A.wordBreak&&"break-word"!==A.wordBreak||(n=n.map(function(t){return-1!==[U,L,K].indexOf(t)?_:t})),[r,n,"keep-all"===A.wordBreak?i.map(function(A,e){return A&&t[e]>=19968&&t[e]<=40959}):void 0]}(e,A),n=r[0],i=r[1],o=r[2],a=e.length,c=0,u=0;return{next:function(){if(u>=a)return{done:!0,value:null};for(var t="\xd7";u0)if(yA.SUPPORT_RANGE_BOUNDS)n.push(new Nr(t,br(e,i,t.length)));else{var r=e.splitText(t.length);n.push(new Nr(t,Er(e))),e=r}else yA.SUPPORT_RANGE_BOUNDS||(e=e.splitText(t.length));i+=t.length}),n}(this.text,A,t)},xr=function(t,A){switch(A){case je.LOWERCASE:return t.toLowerCase();case je.CAPITALIZE:return t.replace(Sr,Ir);case je.UPPERCASE:return t.toUpperCase();default:return t}},Sr=/(^|\s|:|-|\(|\))([a-z])/g,Ir=function(t,A,e){return t.length>0?A+e.toUpperCase():t},_r=function(t){function e(A){var e=t.call(this,A)||this;return e.src=A.currentSrc||A.src,e.intrinsicWidth=A.naturalWidth,e.intrinsicHeight=A.naturalHeight,FA.getInstance().addImage(e.src),e}return A(e,t),e}(Ur),Tr=function(t){function e(A){var e=t.call(this,A)||this;return e.canvas=A,e.intrinsicWidth=A.width,e.intrinsicHeight=A.height,e}return A(e,t),e}(Ur),Rr=function(t){function e(A){var e=t.call(this,A)||this,r=new XMLSerializer;return e.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(A)),e.intrinsicWidth=A.width.baseVal.value,e.intrinsicHeight=A.height.baseVal.value,FA.getInstance().addImage(e.svg),e}return A(e,t),e}(Ur),Or=function(t){function e(A){var e=t.call(this,A)||this;return e.value=A.value,e}return A(e,t),e}(Ur),Kr=function(t){function e(A){var e=t.call(this,A)||this;return e.start=A.start,e.reversed="boolean"==typeof A.reversed&&!0===A.reversed,e}return A(e,t),e}(Ur),Mr=[{type:h.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Pr=[{type:h.PERCENTAGE_TOKEN,flags:0,number:50}],Dr=function(t){function e(A){var e,r,n,o=t.call(this,A)||this;switch(o.type=A.type.toLowerCase(),o.checked=A.checked,o.value=0===(r="password"===(e=A).type?new Array(e.value.length+1).join("\u2022"):e.value).length?e.placeholder||"":r,"checkbox"!==o.type&&"radio"!==o.type||(o.styles.backgroundColor=3739148031,o.styles.borderTopColor=o.styles.borderRightColor=o.styles.borderBottomColor=o.styles.borderLeftColor=2779096575,o.styles.borderTopWidth=o.styles.borderRightWidth=o.styles.borderBottomWidth=o.styles.borderLeftWidth=1,o.styles.borderTopStyle=o.styles.borderRightStyle=o.styles.borderBottomStyle=o.styles.borderLeftStyle=jA.SOLID,o.styles.backgroundClip=[iA.BORDER_BOX],o.styles.backgroundOrigin=[0],o.bounds=(n=o.bounds).width>n.height?new i(n.left+(n.width-n.height)/2,n.top,n.height,n.height):n.width0)A.textNodes.push(new Hr(r,A.styles));else if($r(r)){var i=Gr(r);i.styles.isVisible()&&(Wr(r,i,e)?i.flags|=4:Yr(i.styles)&&(i.flags|=2),-1!==Vr.indexOf(r.tagName)&&(i.flags|=8),A.elements.push(i),fn(r)||on(r)||dn(r)||Xr(r,i,e))}},Gr=function(t){return cn(t)?new _r(t):an(t)?new Tr(t):on(t)?new Rr(t):en(t)?new Or(t):rn(t)?new Kr(t):nn(t)?new Dr(t):dn(t)?new kr(t):fn(t)?new zr(t):un(t)?new qr(t):new Ur(t)},Jr=function(t){var A=Gr(t);return A.flags|=4,Xr(t,A,A),A},Wr=function(t,A,e){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||sn(t)&&e.styles.isTransparent()},Yr=function(t){return t.isPositioned()||t.isFloating()},Zr=function(t){return t.nodeType===Node.TEXT_NODE},$r=function(t){return t.nodeType===Node.ELEMENT_NODE},tn=function(t){return $r(t)&&void 0!==t.style&&!An(t)},An=function(t){return"object"==typeof t.className},en=function(t){return"LI"===t.tagName},rn=function(t){return"OL"===t.tagName},nn=function(t){return"INPUT"===t.tagName},on=function(t){return"svg"===t.tagName},sn=function(t){return"BODY"===t.tagName},an=function(t){return"CANVAS"===t.tagName},cn=function(t){return"IMG"===t.tagName},un=function(t){return"IFRAME"===t.tagName},ln=function(t){return"STYLE"===t.tagName},hn=function(t){return"SCRIPT"===t.tagName},fn=function(t){return"TEXTAREA"===t.tagName},dn=function(t){return"SELECT"===t.tagName},pn=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(t){var A=this.counters[t];return A&&A.length?A[A.length-1]:1},t.prototype.getCounterValues=function(t){return this.counters[t]||[]},t.prototype.pop=function(t){var A=this;t.forEach(function(t){return A.counters[t].pop()})},t.prototype.parse=function(t){var A=this,e=t.counterIncrement,r=t.counterReset,n=!0;null!==e&&e.forEach(function(t){var e=A.counters[t.counter];e&&0!==t.increment&&(n=!1,e[Math.max(0,e.length-1)]+=t.increment)});var i=[];return n&&r.forEach(function(t){var e=A.counters[t.counter];i.push(t.counter),e||(e=A.counters[t.counter]=[]),e.push(t.reset)}),i},t}(),Bn={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},gn={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},wn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},mn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},Qn=function(t,A,e,r,n,i){return te?Un(t,n,i.length>0):r.integers.reduce(function(A,e,n){for(;t>=e;)t-=e,A+=r.values[n];return A},"")+i},Cn=function(t,A,e,r){var n="";do{e||t--,n=r(t)+n,t/=A}while(t*A>=A);return n},yn=function(t,A,e,r,n){var i=e-A+1;return(t<0?"-":"")+(Cn(Math.abs(t),i,r,function(t){return a(Math.floor(t%i)+A)})+n)},vn=function(t,A,e){void 0===e&&(e=". ");var r=A.length;return Cn(Math.abs(t),r,!1,function(t){return A[Math.floor(t%r)]})+e},Fn=function(t,A,e,r,n,i){if(t<-9999||t>9999)return Un(t,Fe.CJK_DECIMAL,n.length>0);var o=Math.abs(t),s=n;if(0===o)return A[0]+s;for(var a=0;o>0&&a<=4;a++){var c=o%10;0===c&&dr(i,1)&&""!==s?s=A[c]+s:c>1||1===c&&0===a||1===c&&1===a&&dr(i,2)||1===c&&1===a&&dr(i,4)&&t>100||1===c&&a>1&&dr(i,8)?s=A[c]+(a>0?e[a-1]:"")+s:1===c&&a>0&&(s=e[a-1]+s),o=Math.floor(o/10)}return(t<0?r:"")+s},Un=function(t,A,e){var r=e?". ":"",n=e?"\u3001":"",i=e?", ":"",o=e?" ":"";switch(A){case Fe.DISC:return"\u2022"+o;case Fe.CIRCLE:return"\u25e6"+o;case Fe.SQUARE:return"\u25fe"+o;case Fe.DECIMAL_LEADING_ZERO:var s=yn(t,48,57,!0,r);return s.length<4?"0"+s:s;case Fe.CJK_DECIMAL:return vn(t,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",n);case Fe.LOWER_ROMAN:return Qn(t,1,3999,Bn,Fe.DECIMAL,r).toLowerCase();case Fe.UPPER_ROMAN:return Qn(t,1,3999,Bn,Fe.DECIMAL,r);case Fe.LOWER_GREEK:return yn(t,945,969,!1,r);case Fe.LOWER_ALPHA:return yn(t,97,122,!1,r);case Fe.UPPER_ALPHA:return yn(t,65,90,!1,r);case Fe.ARABIC_INDIC:return yn(t,1632,1641,!0,r);case Fe.ARMENIAN:case Fe.UPPER_ARMENIAN:return Qn(t,1,9999,gn,Fe.DECIMAL,r);case Fe.LOWER_ARMENIAN:return Qn(t,1,9999,gn,Fe.DECIMAL,r).toLowerCase();case Fe.BENGALI:return yn(t,2534,2543,!0,r);case Fe.CAMBODIAN:case Fe.KHMER:return yn(t,6112,6121,!0,r);case Fe.CJK_EARTHLY_BRANCH:return vn(t,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",n);case Fe.CJK_HEAVENLY_STEM:return vn(t,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",n);case Fe.CJK_IDEOGRAPHIC:case Fe.TRAD_CHINESE_INFORMAL:return Fn(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8ca0",n,14);case Fe.TRAD_CHINESE_FORMAL:return Fn(t,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8ca0",n,15);case Fe.SIMP_CHINESE_INFORMAL:return Fn(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8d1f",n,14);case Fe.SIMP_CHINESE_FORMAL:return Fn(t,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8d1f",n,15);case Fe.JAPANESE_INFORMAL:return Fn(t,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",n,0);case Fe.JAPANESE_FORMAL:return Fn(t,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",n,7);case Fe.KOREAN_HANGUL_FORMAL:return Fn(t,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc","\ub9c8\uc774\ub108\uc2a4",i,7);case Fe.KOREAN_HANJA_INFORMAL:return Fn(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\ub9c8\uc774\ub108\uc2a4",i,0);case Fe.KOREAN_HANJA_FORMAL:return Fn(t,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343","\ub9c8\uc774\ub108\uc2a4",i,7);case Fe.DEVANAGARI:return yn(t,2406,2415,!0,r);case Fe.GEORGIAN:return Qn(t,1,19999,mn,Fe.DECIMAL,r);case Fe.GUJARATI:return yn(t,2790,2799,!0,r);case Fe.GURMUKHI:return yn(t,2662,2671,!0,r);case Fe.HEBREW:return Qn(t,1,10999,wn,Fe.DECIMAL,r);case Fe.HIRAGANA:return vn(t,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case Fe.HIRAGANA_IROHA:return vn(t,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case Fe.KANNADA:return yn(t,3302,3311,!0,r);case Fe.KATAKANA:return vn(t,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",n);case Fe.KATAKANA_IROHA:return vn(t,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",n);case Fe.LAO:return yn(t,3792,3801,!0,r);case Fe.MONGOLIAN:return yn(t,6160,6169,!0,r);case Fe.MYANMAR:return yn(t,4160,4169,!0,r);case Fe.ORIYA:return yn(t,2918,2927,!0,r);case Fe.PERSIAN:return yn(t,1776,1785,!0,r);case Fe.TAMIL:return yn(t,3046,3055,!0,r);case Fe.TELUGU:return yn(t,3174,3183,!0,r);case Fe.THAI:return yn(t,3664,3673,!0,r);case Fe.TIBETAN:return yn(t,3872,3881,!0,r);case Fe.DECIMAL:default:return yn(t,48,57,!0,r)}},Nn=function(){function t(t,A){if(this.options=A,this.scrolledElements=[],this.referenceElement=t,this.counters=new pn,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement)}return t.prototype.toIFrame=function(t,A){var e=this,i=bn(t,A);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var o=t.defaultView.pageXOffset,s=t.defaultView.pageYOffset,a=i.contentWindow,c=a.document,u=Ln(i).then(function(){return r(e,void 0,void 0,function(){var t;return n(this,function(e){switch(e.label){case 0:return this.scrolledElements.forEach(In),a&&(a.scrollTo(A.left,A.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||a.scrollY===A.top&&a.scrollX===A.left||(c.documentElement.style.top=-A.top+"px",c.documentElement.style.left=-A.left+"px",c.documentElement.style.position="absolute")),t=this.options.onclone,void 0===this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:e.sent(),e.label=2;case 2:return"function"==typeof t?[2,Promise.resolve().then(function(){return t(c)}).then(function(){return i})]:[2,i]}})})});return c.open(),c.write(xn(document.doctype)+""),Sn(this.referenceElement.ownerDocument,o,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},t.prototype.createElementClone=function(t){if(an(t))return this.createCanvasClone(t);if(ln(t))return this.createStyleClone(t);var A=t.cloneNode(!1);return cn(A)&&"lazy"===A.loading&&(A.loading="eager"),A},t.prototype.createStyleClone=function(t){try{var A=t.sheet;if(A&&A.cssRules){var e=[].slice.call(A.cssRules,0).reduce(function(t,A){return A&&"string"==typeof A.cssText?t+A.cssText:t},""),r=t.cloneNode(!1);return r.textContent=e,r}}catch(t){if(vA.getInstance(this.options.id).error("Unable to access cssRules property",t),"SecurityError"!==t.name)throw t}return t.cloneNode(!1)},t.prototype.createCanvasClone=function(t){if(this.options.inlineImages&&t.ownerDocument){var A=t.ownerDocument.createElement("img");try{return A.src=t.toDataURL(),A}catch(t){vA.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var e=t.cloneNode(!1);try{e.width=t.width,e.height=t.height;var r=t.getContext("2d"),n=e.getContext("2d");return n&&(r?n.putImageData(r.getImageData(0,0,t.width,t.height),0,0):n.drawImage(t,0,0)),e}catch(t){}return e},t.prototype.cloneNode=function(t){if(Zr(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var A=t.ownerDocument.defaultView;if(A&&$r(t)&&(tn(t)||An(t))){var e=this.createElementClone(t),r=A.getComputedStyle(t),n=A.getComputedStyle(t,":before"),i=A.getComputedStyle(t,":after");this.referenceElement===t&&tn(e)&&(this.clonedReferenceElement=e),sn(e)&&Rn(e);for(var o=this.counters.parse(new vr(r)),s=this.resolvePseudoContent(t,e,n,hr.BEFORE),a=t.firstChild;a;a=a.nextSibling)$r(a)&&(hn(a)||a.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(a))||this.options.copyStyles&&$r(a)&&ln(a)||e.appendChild(this.cloneNode(a));s&&e.insertBefore(s,e.firstChild);var c=this.resolvePseudoContent(t,e,i,hr.AFTER);return c&&e.appendChild(c),this.counters.pop(o),r&&(this.options.copyStyles||An(t))&&!un(t)&&Hn(r,e),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([e,t.scrollLeft,t.scrollTop]),(fn(t)||dn(t))&&(fn(e)||dn(e))&&(e.value=t.value),e}return t.cloneNode(!1)},t.prototype.resolvePseudoContent=function(t,A,e,r){var n=this;if(e){var i=e.content,o=A.ownerDocument;if(o&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==e.display){this.counters.parse(new vr(e));var s=new yr(e),a=o.createElement("html2canvaspseudoelement");Hn(e,a),s.content.forEach(function(A){if(A.type===h.STRING_TOKEN)a.appendChild(o.createTextNode(A.value));else if(A.type===h.URL_TOKEN){var e=o.createElement("img");e.src=A.value,e.style.opacity="1",a.appendChild(e)}else if(A.type===h.FUNCTION){if("attr"===A.name){var r=A.values.filter(St);r.length&&a.appendChild(o.createTextNode(t.getAttribute(r[0].value)||""))}else if("counter"===A.name){var i=A.values.filter(Rt),c=i[0],u=i[1];if(c&&St(c)){var l=n.counters.getCounterValue(c.value),f=u&&St(u)?Ee.parse(u.value):Fe.DECIMAL;a.appendChild(o.createTextNode(Un(l,f,!1)))}}else if("counters"===A.name){var d=A.values.filter(Rt),p=(c=d[0],d[1]);if(u=d[2],c&&St(c)){var B=n.counters.getCounterValues(c.value),g=u&&St(u)?Ee.parse(u.value):Fe.DECIMAL,w=p&&p.type===h.STRING_TOKEN?p.value:"",m=B.map(function(t){return Un(t,g,!1)}).join(w);a.appendChild(o.createTextNode(m))}}}else if(A.type===h.IDENT_TOKEN)switch(A.value){case"open-quote":a.appendChild(o.createTextNode(mr(s.quotes,n.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(mr(s.quotes,--n.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(A.value))}}),a.className=_n+" "+Tn;var c=r===hr.BEFORE?" "+_n:" "+Tn;return An(A)?A.className.baseValue+=c:A.className+=c,a}}},t.destroy=function(t){return!!t.parentNode&&(t.parentNode.removeChild(t),!0)},t}();!function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"}(hr||(hr={}));var En,bn=function(t,A){var e=t.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=A.width.toString(),e.height=A.height.toString(),e.scrolling="no",e.setAttribute("data-html2canvas-ignore","true"),t.body.appendChild(e),e},Ln=function(t){return new Promise(function(A,e){var r=t.contentWindow;if(!r)return e("No window assigned for iframe");var n=r.document;r.onload=t.onload=n.onreadystatechange=function(){r.onload=t.onload=n.onreadystatechange=null;var e=setInterval(function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(e),A(t))},50)}})},Hn=function(t,A){for(var e=t.length-1;e>=0;e--){var r=t.item(e);"content"!==r&&A.style.setProperty(r,t.getPropertyValue(r))}return A},xn=function(t){var A="";return t&&(A+=""),A},Sn=function(t,A,e){t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},In=function(t){var A=t[0],e=t[1],r=t[2];A.scrollLeft=e,A.scrollTop=r},_n="___html2canvas___pseudoelement_before",Tn="___html2canvas___pseudoelement_after",Rn=function(t){On(t,"."+_n+':before{\n content: "" !important;\n display: none !important;\n}\n .'+Tn+':after{\n content: "" !important;\n display: none !important;\n}')},On=function(t,A){var e=t.ownerDocument;if(e){var r=e.createElement("style");r.textContent=A,t.appendChild(r)}};!function(t){t[t.VECTOR=0]="VECTOR",t[t.BEZIER_CURVE=1]="BEZIER_CURVE"}(En||(En={}));var Kn,Mn=function(t,A){return t.length===A.length&&t.some(function(t,e){return t===A[e]})},Pn=function(){function t(t,A){this.type=En.VECTOR,this.x=t,this.y=A}return t.prototype.add=function(A,e){return new t(this.x+A,this.y+e)},t}(),Dn=function(t,A,e){return new Pn(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e)},kn=function(){function t(t,A,e,r){this.type=En.BEZIER_CURVE,this.start=t,this.startControl=A,this.endControl=e,this.end=r}return t.prototype.subdivide=function(A,e){var r=Dn(this.start,this.startControl,A),n=Dn(this.startControl,this.endControl,A),i=Dn(this.endControl,this.end,A),o=Dn(r,n,A),s=Dn(n,i,A),a=Dn(o,s,A);return e?new t(this.start,r,o,a):new t(a,s,i,this.end)},t.prototype.add=function(A,e){return new t(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),zn=function(t){return t.type===En.BEZIER_CURVE},jn=function(t){var A=t.styles,e=t.bounds,r=qt(A.borderTopLeftRadius,e.width,e.height),n=r[0],i=r[1],o=qt(A.borderTopRightRadius,e.width,e.height),s=o[0],a=o[1],c=qt(A.borderBottomRightRadius,e.width,e.height),u=c[0],l=c[1],h=qt(A.borderBottomLeftRadius,e.width,e.height),f=h[0],d=h[1],p=[];p.push((n+s)/e.width),p.push((f+u)/e.width),p.push((i+d)/e.height),p.push((a+l)/e.height);var B=Math.max.apply(Math,p);B>1&&(n/=B,i/=B,s/=B,a/=B,u/=B,l/=B,f/=B,d/=B);var g=e.width-s,w=e.height-l,m=e.width-u,Q=e.height-d,C=A.borderTopWidth,y=A.borderRightWidth,v=A.borderBottomWidth,F=A.borderLeftWidth,U=Vt(A.paddingTop,t.bounds.width),N=Vt(A.paddingRight,t.bounds.width),E=Vt(A.paddingBottom,t.bounds.width),b=Vt(A.paddingLeft,t.bounds.width);this.topLeftBorderBox=n>0||i>0?qn(e.left,e.top,n,i,Kn.TOP_LEFT):new Pn(e.left,e.top),this.topRightBorderBox=s>0||a>0?qn(e.left+g,e.top,s,a,Kn.TOP_RIGHT):new Pn(e.left+e.width,e.top),this.bottomRightBorderBox=u>0||l>0?qn(e.left+m,e.top+w,u,l,Kn.BOTTOM_RIGHT):new Pn(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=f>0||d>0?qn(e.left,e.top+Q,f,d,Kn.BOTTOM_LEFT):new Pn(e.left,e.top+e.height),this.topLeftPaddingBox=n>0||i>0?qn(e.left+F,e.top+C,Math.max(0,n-F),Math.max(0,i-C),Kn.TOP_LEFT):new Pn(e.left+F,e.top+C),this.topRightPaddingBox=s>0||a>0?qn(e.left+Math.min(g,e.width+F),e.top+C,g>e.width+F?0:s-F,a-C,Kn.TOP_RIGHT):new Pn(e.left+e.width-y,e.top+C),this.bottomRightPaddingBox=u>0||l>0?qn(e.left+Math.min(m,e.width-F),e.top+Math.min(w,e.height+C),Math.max(0,u-y),l-v,Kn.BOTTOM_RIGHT):new Pn(e.left+e.width-y,e.top+e.height-v),this.bottomLeftPaddingBox=f>0||d>0?qn(e.left+F,e.top+Q,Math.max(0,f-F),d-v,Kn.BOTTOM_LEFT):new Pn(e.left+F,e.top+e.height-v),this.topLeftContentBox=n>0||i>0?qn(e.left+F+b,e.top+C+U,Math.max(0,n-(F+b)),Math.max(0,i-(C+U)),Kn.TOP_LEFT):new Pn(e.left+F+b,e.top+C+U),this.topRightContentBox=s>0||a>0?qn(e.left+Math.min(g,e.width+F+b),e.top+C+U,g>e.width+F+b?0:s-F+b,a-(C+U),Kn.TOP_RIGHT):new Pn(e.left+e.width-(y+N),e.top+C+U),this.bottomRightContentBox=u>0||l>0?qn(e.left+Math.min(m,e.width-(F+b)),e.top+Math.min(w,e.height+C+U),Math.max(0,u-(y+N)),l-(v+E),Kn.BOTTOM_RIGHT):new Pn(e.left+e.width-(y+N),e.top+e.height-(v+E)),this.bottomLeftContentBox=f>0||d>0?qn(e.left+F+b,e.top+Q,Math.max(0,f-(F+b)),d-(v+E),Kn.BOTTOM_LEFT):new Pn(e.left+F+b,e.top+e.height-(v+E))};!function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Kn||(Kn={}));var qn=function(t,A,e,r,n){var i=(Math.sqrt(2)-1)/3*4,o=e*i,s=r*i,a=t+e,c=A+r;switch(n){case Kn.TOP_LEFT:return new kn(new Pn(t,c),new Pn(t,c-s),new Pn(a-o,A),new Pn(a,A));case Kn.TOP_RIGHT:return new kn(new Pn(t,A),new Pn(t+o,A),new Pn(a,c-s),new Pn(a,c));case Kn.BOTTOM_RIGHT:return new kn(new Pn(a,A),new Pn(a,A+s),new Pn(t+o,c),new Pn(t,c));case Kn.BOTTOM_LEFT:default:return new kn(new Pn(a,c),new Pn(a-o,c),new Pn(t,A+s),new Pn(t,A))}},Vn=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Xn=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},Gn=function(t,A,e){this.type=0,this.offsetX=t,this.offsetY=A,this.matrix=e,this.target=6},Jn=function(t,A){this.type=1,this.target=A,this.path=t},Wn=function(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},Yn=function(){function t(t,A){if(this.container=t,this.effects=A.slice(0),this.curves=new jn(t),null!==t.styles.transform){var e=t.bounds.left+t.styles.transformOrigin[0].number,r=t.bounds.top+t.styles.transformOrigin[1].number,n=t.styles.transform;this.effects.push(new Gn(e,r,n))}if(t.styles.overflowX!==Ne.VISIBLE){var i=Vn(this.curves),o=Xn(this.curves);Mn(i,o)?this.effects.push(new Jn(i,6)):(this.effects.push(new Jn(i,2)),this.effects.push(new Jn(o,4)))}}return t.prototype.getParentEffects=function(){var t=this.effects.slice(0);if(this.container.styles.overflowX!==Ne.VISIBLE){var A=Vn(this.curves),e=Xn(this.curves);Mn(A,e)||t.push(new Jn(e,6))}return t},t}(),Zn=function(t,A,e,r){t.container.elements.forEach(function(n){var i=dr(n.flags,4),o=dr(n.flags,2),s=new Yn(n,t.getParentEffects());dr(n.styles.display,2048)&&r.push(s);var a=dr(n.flags,8)?[]:r;if(i||o){var c=i||n.styles.isPositioned()?e:A,u=new Wn(s);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var l=n.styles.zIndex.order;if(l<0){var h=0;c.negativeZIndex.some(function(t,A){return l>t.element.container.styles.zIndex.order?(h=A,!1):h>0}),c.negativeZIndex.splice(h,0,u)}else if(l>0){var f=0;c.positiveZIndex.some(function(t,A){return l>=t.element.container.styles.zIndex.order?(f=A+1,!1):f>0}),c.positiveZIndex.splice(f,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);Zn(s,u,i?u:e,a)}else n.styles.isInlineLevel()?A.inlineLevel.push(s):A.nonInlineLevel.push(s),Zn(s,A,e,a);dr(n.flags,8)&&$n(n,a)})},$n=function(t,A){for(var e=t instanceof Kr?t.start:1,r=t instanceof Kr&&t.reversed,n=0;n0&&t.intrinsicHeight>0){var r=ei(t),n=Xn(A);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(e,0,0,t.intrinsicWidth,t.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(A){return r(this,void 0,void 0,function(){var e,r,o,s,a,c,u,l,f,d,p,B,g,w;return n(this,function(n){switch(n.label){case 0:this.applyEffects(A.effects,4),e=A.container,r=A.curves,o=e.styles,s=0,a=e.textNodes,n.label=1;case 1:return s0&&F>0&&(w=r.ctx.createPattern(p,"repeat"),r.renderRepeat(Q,w,N,E))):function(t){return t.type===cA.RADIAL_GRADIENT}(e)&&(m=ri(t,A,[null,null,null]),Q=m[0],C=m[1],y=m[2],v=m[3],F=m[4],U=0===e.position.length?[zt]:e.position,N=Vt(U[0],v),E=Vt(U[U.length-1],F),b=function(t,A,e,r,n){var i=0,o=0;switch(t.size){case lA.CLOSEST_SIDE:t.shape===uA.CIRCLE?i=o=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-n)):t.shape===uA.ELLIPSE&&(i=Math.min(Math.abs(A),Math.abs(A-r)),o=Math.min(Math.abs(e),Math.abs(e-n)));break;case lA.CLOSEST_CORNER:if(t.shape===uA.CIRCLE)i=o=Math.min(BA(A,e),BA(A,e-n),BA(A-r,e),BA(A-r,e-n));else if(t.shape===uA.ELLIPSE){var s=Math.min(Math.abs(e),Math.abs(e-n))/Math.min(Math.abs(A),Math.abs(A-r)),a=gA(r,n,A,e,!0),c=a[0],u=a[1];o=s*(i=BA(c-A,(u-e)/s))}break;case lA.FARTHEST_SIDE:t.shape===uA.CIRCLE?i=o=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-n)):t.shape===uA.ELLIPSE&&(i=Math.max(Math.abs(A),Math.abs(A-r)),o=Math.max(Math.abs(e),Math.abs(e-n)));break;case lA.FARTHEST_CORNER:if(t.shape===uA.CIRCLE)i=o=Math.max(BA(A,e),BA(A,e-n),BA(A-r,e),BA(A-r,e-n));else if(t.shape===uA.ELLIPSE){s=Math.max(Math.abs(e),Math.abs(e-n))/Math.max(Math.abs(A),Math.abs(A-r));var l=gA(r,n,A,e,!1);c=l[0],u=l[1],o=s*(i=BA(c-A,(u-e)/s))}}return Array.isArray(t.size)&&(i=Vt(t.size[0],r),o=2===t.size.length?Vt(t.size[1],n):i),[i,o]}(e,N,E,v,F),L=b[0],H=b[1],L>0&&L>0&&(x=r.ctx.createRadialGradient(C+N,y+E,0,C+N,y+E,L),pA(e.stops,2*L).forEach(function(t){return x.addColorStop(t.stop,$t(t.color))}),r.path(Q),r.ctx.fillStyle=x,L!==H?(S=t.bounds.left+.5*t.bounds.width,I=t.bounds.top+.5*t.bounds.height,T=1/(_=H/L),r.ctx.save(),r.ctx.translate(S,I),r.ctx.transform(1,0,0,_,0,0),r.ctx.translate(-S,-I),r.ctx.fillRect(C,T*(y-I)+I,v,F*T),r.ctx.restore()):r.ctx.fill())),n.label=6;case 6:return A--,[2]}})},r=this,i=0,o=t.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return i>18&63,e=i>>12&63,r=i>>6&63,n=63&i,c[s++]=h.charAt(A)+h.charAt(e)+h.charAt(r)+h.charAt(n),o>16&255,e=o>>8&255,r=255&o,c[a++]=64==n?String.fromCharCode(A):64==i?String.fromCharCode(A,e):String.fromCharCode(A,e,r),s>>0,r=new Array(e),n=1>>0,n=0;n>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var r=arguments[1],n=0;n>16&255,r=c>>8&255,i=255&c}if(void 0===r||void 0===o&&e===r&&r===i)if("string"==typeof e)A=e+" "+s[0];else if(2===t.precision)A=m(e/255)+" "+s[0];else A=Q(e/255)+" "+s[0];else if(void 0===o||"object"===n(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1.000","1.000","1.000",s[1]].join(" ");if("string"==typeof e)A=[e,r,i,s[1]].join(" ");else if(2===t.precision)A=[m(e/255),m(r/255),m(i/255),s[1]].join(" ");else A=[Q(e/255),Q(r/255),Q(i/255),s[1]].join(" ")}else if("string"==typeof e)A=[e,r,i,o,s[2]].join(" ");else if(2===t.precision)A=[m(e/255),m(r/255),m(i/255),m(o/255),s[2]].join(" ");else A=[Q(e/255),Q(r/255),Q(i/255),Q(o/255),s[2]].join(" ");return A},pt=f.__private__.getFilters=function(){return c},Bt=f.__private__.putStream=function(t){var A,e=(t=t||{}).data||"",r=t.filters||pt(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,o=e.length;!0===r&&(r=["FlateEncode"]);var a=t.additionalKeyValues||[],c=(A=void 0!==s.API.processDataByFilters?s.API.processDataByFilters(e,r):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());0!==A.data.length&&(a.push({key:"Length",value:A.data.length}),!0===i&&a.push({key:"Length1",value:o})),0!=c.length&&(c.split("/").length-1==1?a.push({key:"Filter",value:c}):a.push({key:"Filter",value:"["+c+"]"})),D("<<");for(var u=0;u>"),0!==A.data.length&&(D("stream"),D(A.data),D("endstream"))},gt=f.__private__.putPage=function(t){t.mediaBox;var A=t.number,e=t.data,r=t.objId,n=t.contentsObjId;ct(r,!0),rt[b].mediaBox.topRightX,rt[b].mediaBox.bottomLeftX,rt[b].mediaBox.topRightY,rt[b].mediaBox.bottomLeftY,D("<>"),D("endobj");var i=e.join("\n");return ct(n,!0),Bt({data:i,filters:pt()}),D("endobj"),r},wt=f.__private__.putPages=function(){var t,A,e=[];for(t=1;t<=et;t++)rt[t].objId=at(),rt[t].contentsObjId=at();for(t=1;t<=et;t++)e.push(gt({number:t,data:K[t],objId:rt[t].objId,contentsObjId:rt[t].contentsObjId,mediaBox:rt[t].mediaBox,cropBox:rt[t].cropBox,bleedBox:rt[t].bleedBox,trimBox:rt[t].trimBox,artBox:rt[t].artBox,userUnit:rt[t].userUnit,rootDictionaryObjId:lt,resourceDictionaryObjId:ht}));ct(lt,!0),D("<>"),D("endobj"),it.publish("postPutPages")},mt=function(t,A,e){At.hasOwnProperty(A)||(At[A]={}),At[A][e]=t},Qt=function(t,A,e,r,n){n=n||!1;var i="F"+(Object.keys(tt).length+1).toString(10),o={id:i,postScriptName:t,fontName:A,fontStyle:e,encoding:r,isStandardFont:n,metadata:{}};return it.publish("addFont",{font:o,instance:this}),void 0!==i&&(tt[i]=o,mt(i,A,e)),i},Ct=f.__private__.pdfEscape=f.pdfEscape=function(t,A){return function(t,A){var e,r,n,i,o,s,a,c,u;if(n=(A=A||{}).sourceEncoding||"Unicode",o=A.outputEncoding,(A.autoencode||o)&&tt[I].metadata&&tt[I].metadata[n]&&tt[I].metadata[n].encoding&&(i=tt[I].metadata[n].encoding,!o&&tt[I].encoding&&(o=tt[I].encoding),!o&&i.codePages&&(o=i.codePages[0]),"string"==typeof o&&(o=i[o]),o)){for(a=!1,s=[],e=0,r=t.length;e>8&&(a=!0);t=s.join("")}for(e=t.length;void 0===a&&0!==e;)t.charCodeAt(e-1)>>8&&(a=!0),e--;if(!a)return t;for(s=A.noBOM?[]:[254,255],e=0,r=t.length;e>8)>>8)throw new Error("Character at position "+e+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)}(t,A).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},yt=f.__private__.beginPage=function(t,A){var r,n="string"==typeof A&&A.toLowerCase();if("string"==typeof t&&(r=g(t.toLowerCase()))&&(t=r[0],A=r[1]),Array.isArray(t)&&(A=t[1],t=t[0]),(isNaN(t)||isNaN(A))&&(t=e[0],A=e[1]),n){switch(n.substr(0,1)){case"l":t>"),D("endobj")},bt=f.__private__.putCatalog=function(t){var A=(t=t||{}).rootDictionaryObjId||lt;switch(st(),D("<<"),D("/Type /Catalog"),D("/Pages "+A+" 0 R"),H||(H="fullwidth"),H){case"fullwidth":D("/OpenAction [3 0 R /FitH null]");break;case"fullheight":D("/OpenAction [3 0 R /FitV null]");break;case"fullpage":D("/OpenAction [3 0 R /Fit]");break;case"original":D("/OpenAction [3 0 R /XYZ null null 1]");break;default:var e=""+H;"%"===e.substr(e.length-1)&&(H=parseInt(H)/100),"number"==typeof H&&D("/OpenAction [3 0 R /XYZ null null "+m(H)+"]")}switch(S||(S="continuous"),S){case"continuous":D("/PageLayout /OneColumn");break;case"single":D("/PageLayout /SinglePage");break;case"two":case"twoleft":D("/PageLayout /TwoColumnLeft");break;case"tworight":D("/PageLayout /TwoColumnRight")}x&&D("/PageMode /"+x),it.publish("putCatalog"),D(">>"),D("endobj")},Lt=f.__private__.putTrailer=function(){D("trailer"),D("<<"),D("/Size "+(Z+1)),D("/Root "+Z+" 0 R"),D("/Info "+(Z-1)+" 0 R"),D("/ID [ <"+C+"> <"+C+"> ]"),D(">>")},xt=f.__private__.putHeader=function(){D("%PDF-"+d),D("%\xba\xdf\xac\xe0")},St=f.__private__.putXRef=function(){var t=1,A="0000000000";for(D("xref"),D("0 "+(Z+1)),D("0000000000 65535 f "),t=1;t<=Z;t++)"function"==typeof $[t]?D((A+$[t]()).slice(-10)+" 00000 n "):void 0!==$[t]?D((A+$[t]).slice(-10)+" 00000 n "):D("0000000000 00000 n ")},It=f.__private__.buildDocument=function(){O=!1,P=Z=0,M=[],$=[],nt=[],lt=at(),ht=at(),it.publish("buildDocument"),xt(),wt(),function(){it.publish("putAdditionalObjects");for(var t=0;t>"),D("endobj")));var A}(),it.publish("putResources"),ct(ht,!0),D("<<"),function(){for(var t in D("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),D("/Font <<"),tt)tt.hasOwnProperty(t)&&(!1===l||!0===l&&h.hasOwnProperty(t))&&D("/"+t+" "+tt[t].objectNumber+" 0 R");D(">>"),D("/XObject <<"),it.publish("putXobjectDict"),D(">>")}(),D(">>"),D("endobj"),it.publish("postPutResources"),Et(),bt();var t=P;return St(),Lt(),D("startxref"),D(""+t),D("%%EOF"),O=!0,M.join("\n")},_t=f.__private__.getBlob=function(t){return new Blob([z(t)],{type:"application/pdf"})},Tt=f.output=f.__private__.output=((T=function(t,A){A=A||{};var e=It();switch("string"==typeof A?A={filename:A}:A.filename=A.filename||"generated.pdf",t){case void 0:return e;case"save":f.save(A.filename);break;case"arraybuffer":return z(e);case"blob":return _t(e);case"bloburi":case"bloburl":if(void 0!==r.URL&&"function"==typeof r.URL.createObjectURL)return r.URL&&r.URL.createObjectURL(_t(e))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+A.filename+";base64,"+btoa(e);case"dataurlnewwindow":var n='',i=r.open();if(null!==i&&i.document.write(n),i||"undefined"==typeof safari)return i;case"datauri":case"dataurl":return r.document.location.href="data:application/pdf;filename="+A.filename+";base64,"+btoa(e);default:return null}}).foo=function(){try{return T.apply(this,arguments)}catch(e){var t=e.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var A="Error in function "+t.split("\n")[0].split("<")[0]+": "+e.message;if(!r.console)throw new Error(A);r.console.error(A,e),r.alert&&alert(A)}},(T.foo.bar=T).foo),Rt=function(t){return!0===Array.isArray(ot)&&-1":")"),At=1):(Y=Gt(A),Z=Jt(e),$=(c?"<":"(")+y[W]+(c?">":")")),void 0!==z&&void 0!==z[W]&&(et=z[W]+" Tw\n"),0!==L.length&&0===W?t.push(et+L.join(" ")+" "+Y.toFixed(2)+" "+Z.toFixed(2)+" Tm\n"+$):1===At||0===At&&0===W?t.push(et+Y.toFixed(2)+" "+Z.toFixed(2)+" Td\n"+$):t.push(et+$);t=0===At?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var rt="BT\n/"+I+" "+q+" Tf\n"+(q*l).toFixed(2)+" TL\n"+tA+"\n";return rt+=u,rt+=t,D(rt+="ET"),h[I]=!0,f},f.__private__.lstext=f.lstext=function(t,A,e,r){return console.warn("jsPDF.lstext is deprecated"),this.text(t,A,e,{charSpace:r})},f.__private__.clip=f.clip=function(t){D("evenodd"===t?"W*":"W"),D("n")},f.__private__.clip_fixed=f.clip_fixed=function(t){console.log("clip_fixed is deprecated"),f.clip(t)};var Pt=f.__private__.isValidStyle=function(t){var A=!1;return-1!==[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(t)&&(A=!0),A},Dt=f.__private__.getStyle=function(t){var A="S";return"F"===t?A="f":"FD"===t||"DF"===t?A="B":"f"!==t&&"f*"!==t&&"B"!==t&&"B*"!==t||(A=t),A};f.__private__.line=f.line=function(t,A,e,r){if(isNaN(t)||isNaN(A)||isNaN(e)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[e-t,r-A]],t,A)},f.__private__.lines=f.lines=function(t,A,e,r,n,i){var o,s,a,c,u,l,h,f,d,p,B,g;if("number"==typeof t&&(g=e,e=A,A=t,t=g),r=r||[1,1],i=i||!1,isNaN(A)||isNaN(e)||!Array.isArray(t)||!Array.isArray(r)||!Pt(n)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(D(Q(Gt(A))+" "+Q(Jt(e))+" m "),o=r[0],s=r[1],c=t.length,p=A,B=e,a=0;a=o.length-1;if(F&&!U){m+=" ";continue}if(F||U){if(U)g=v;else if(t.multiline&&c<(h+2)*(Q+2)+2)continue t}else{if(!t.multiline)continue t;if(c<(h+2)*(Q+2)+2)continue t;g=v}for(var N="",E=B;E<=g;E++)N+=o[E]+" ";switch(N=" "==N.substr(N.length-1)?N.substr(0,N.length-1):N,w=y(N,t,a).width,t.textAlign){case"right":d=u-w-2;break;case"center":d=(u-w)/2;break;default:d=2}A+=s(d)+" "+s(p)+" Td\n",A+="("+i(N)+") Tj\n",A+=-s(d)+" 0 Td\n",p=-(a+2),w=0,B=g+1,Q++,m=""}break}return n.text=A,n.fontSize=a,n},y=function(t,A,r){var n=e.internal.getFont(A.fontName,A.fontStyle),i=e.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},v={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},F=function(){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var A in t)if(t.hasOwnProperty(A)){var r=t[A];r.objId=void 0,r.hasAnnotation&&U.call(e,r)}},U=function(t){var A={type:"reference",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find(function(t){return t.type===A.type&&t.object===A.object})&&e.internal.getPageInfo(t.page).pageContext.annotations.push(A)},N=function(){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},E=function(){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0},b=function(t){var A=!t;for(var r in t||(e.internal.newObjectDeferredBegin(e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(r)){var i=t[r],o=[],s=i.Rect;if(i.Rect&&(i.Rect=m.call(this,i.Rect)),e.internal.newObjectDeferredBegin(i.objId,!0),i.DA=G.createDefaultAppearanceStream(i),"object"===n(i)&&"function"==typeof i.getKeyValueListForStream&&(o=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var a=Q.call(this,i);o.push({key:"AP",value:"<>"}),e.internal.acroformPlugin.xForms.push(a)}if(i.appearanceStreamContent){var c="";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var l=i.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",1<=Object.keys(l).length||Array.isArray(l))for(var r in l){var h;l.hasOwnProperty(r)&&("function"==typeof(h=l[r])&&(h=h.call(this,i)),c+="/"+r+" "+h+" ",0<=e.internal.acroformPlugin.xForms.indexOf(h)||e.internal.acroformPlugin.xForms.push(h))}else"function"==typeof(h=l)&&(h=h.call(this,i)),c+="/"+r+" "+h,0<=e.internal.acroformPlugin.xForms.indexOf(h)||e.internal.acroformPlugin.xForms.push(h);c+=">>"}o.push({key:"AP",value:"<<\n"+c+">>"})}e.internal.putStream({additionalKeyValues:o}),e.internal.out("endobj")}A&&L.call(this,e.internal.acroformPlugin.xForms)},L=function(t){for(var A in t)if(t.hasOwnProperty(A)){var r=A,i=t[A];e.internal.newObjectDeferredBegin(i&&i.objId,!0),"object"===n(i)&&"function"==typeof i.putStream&&i.putStream(),delete t[r]}},H=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(e=this,R.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(v)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");r=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new T,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",E),e.internal.events.subscribe("buildDocument",F),e.internal.events.subscribe("putCatalog",N),e.internal.events.subscribe("postPutPages",b),e.internal.acroformPlugin.isInitialized=!0}},x=t.__acroform__.arrayToPdfArray=function(t){if(Array.isArray(t)){for(var A="[",e=0;e>"),e.join("\n")}},set:function(t){"object"===n(t)&&(A=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return A.CA||""},set:function(t){"string"==typeof t&&(A.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(A){t="/"+A}})};c(D,R);var k=function(){D.call(this),this.pushButton=!0};c(k,D);var z=function(){D.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=void 0!==A?A:[]}})};c(z,D);var j=function(){var t,A;R.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return A},set:function(t){A=t}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t,A=[];for(t in A.push("<<"),r)A.push("/"+t+" ("+r[t]+")");return A.push(">>"),A.join("\n")},set:function(t){"object"===n(t)&&(r=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(t){"string"==typeof t&&(r.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=G.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};c(j,R),z.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var A in this.Kids)if(this.Kids.hasOwnProperty(A)){var e=this.Kids[A];e.appearanceStreamContent=t.createAppearanceStream(e.optionName),e.caption=t.getCA()}},z.prototype.createOption=function(t){this.Kids.length;var A=new j;return A.Parent=this,A.optionName=t,this.Kids.push(A),J.call(this,A),A};var q=function(){D.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=G.CheckBox.createAppearanceStream()};c(q,D);var V=function(){R.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,13):this.Ff=w(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,21):this.Ff=w(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,23):this.Ff=w(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,24):this.Ff=w(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,25):this.Ff=w(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,26):this.Ff=w(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(A){Number.isInteger(A)&&(t=A)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};c(V,R);var X=function(){V.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(B(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=g(this.Ff,14):this.Ff=w(this.Ff,14)}}),this.password=!0};c(X,V);var G={CheckBox:{createAppearanceStream:function(){return{N:{On:G.CheckBox.YesNormal},D:{On:G.CheckBox.YesPushDown,Off:G.CheckBox.OffPushDown}}},YesPushDown:function(t){var A=h(t),r=[],n=e.internal.getFont(t.fontName,t.fontStyle).id,i=e.__private__.encodeColorString(t.color),o=C(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+s(G.internal.getWidth(t))+" "+s(G.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+s(o.fontSize)+" Tf "+i),r.push("BT"),r.push(o.text),r.push("ET"),r.push("Q"),r.push("EMC"),A.stream=r.join("\n"),A},YesNormal:function(t){var A=h(t),r=e.internal.getFont(t.fontName,t.fontStyle).id,n=e.__private__.encodeColorString(t.color),i=[],o=G.internal.getHeight(t),a=G.internal.getWidth(t),c=C(t,t.caption);return i.push("1 g"),i.push("0 0 "+s(a)+" "+s(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+s(a-1)+" "+s(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+s(c.fontSize)+" Tf "+n),i.push(c.text),i.push("ET"),i.push("Q"),A.stream=i.join("\n"),A},OffPushDown:function(t){var A=h(t),e=[];return e.push("0.749023 g"),e.push("0 0 "+s(G.internal.getWidth(t))+" "+s(G.internal.getHeight(t))+" re"),e.push("f"),A.stream=e.join("\n"),A}},RadioButton:{Circle:{createAppearanceStream:function(t){var A={D:{Off:G.RadioButton.Circle.OffPushDown},N:{}};return A.N[t]=G.RadioButton.Circle.YesNormal,A.D[t]=G.RadioButton.Circle.YesPushDown,A},getCA:function(){return"l"},YesNormal:function(t){var A=h(t),e=[],r=G.internal.getWidth(t)<=G.internal.getHeight(t)?G.internal.getWidth(t)/4:G.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=G.internal.Bezier_C,i=Number((r*n).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+a(G.internal.getWidth(t)/2)+" "+a(G.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),e.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),e.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),e.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join("\n"),A},YesPushDown:function(t){var A=h(t),e=[],r=G.internal.getWidth(t)<=G.internal.getHeight(t)?G.internal.getWidth(t)/4:G.internal.getHeight(t)/4,n=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((n*G.internal.Bezier_C).toFixed(5)),o=Number((r*G.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+a(G.internal.getWidth(t)/2)+" "+a(G.internal.getHeight(t)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+a(G.internal.getWidth(t)/2)+" "+a(G.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),e.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),e.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),e.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join("\n"),A},OffPushDown:function(t){var A=h(t),e=[],r=G.internal.getWidth(t)<=G.internal.getHeight(t)?G.internal.getWidth(t)/4:G.internal.getHeight(t)/4,n=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((n*G.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+a(G.internal.getWidth(t)/2)+" "+a(G.internal.getHeight(t)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join("\n"),A}},Cross:{createAppearanceStream:function(t){var A={D:{Off:G.RadioButton.Cross.OffPushDown},N:{}};return A.N[t]=G.RadioButton.Cross.YesNormal,A.D[t]=G.RadioButton.Cross.YesPushDown,A},getCA:function(){return"8"},YesNormal:function(t){var A=h(t),e=[],r=G.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+s(G.internal.getWidth(t)-2)+" "+s(G.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push(s(r.x1.x)+" "+s(r.x1.y)+" m"),e.push(s(r.x2.x)+" "+s(r.x2.y)+" l"),e.push(s(r.x4.x)+" "+s(r.x4.y)+" m"),e.push(s(r.x3.x)+" "+s(r.x3.y)+" l"),e.push("s"),e.push("Q"),A.stream=e.join("\n"),A},YesPushDown:function(t){var A=h(t),e=G.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+s(G.internal.getWidth(t))+" "+s(G.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+s(G.internal.getWidth(t)-2)+" "+s(G.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(s(e.x1.x)+" "+s(e.x1.y)+" m"),r.push(s(e.x2.x)+" "+s(e.x2.y)+" l"),r.push(s(e.x4.x)+" "+s(e.x4.y)+" m"),r.push(s(e.x3.x)+" "+s(e.x3.y)+" l"),r.push("s"),r.push("Q"),A.stream=r.join("\n"),A},OffPushDown:function(t){var A=h(t),e=[];return e.push("0.749023 g"),e.push("0 0 "+s(G.internal.getWidth(t))+" "+s(G.internal.getHeight(t))+" re"),e.push("f"),A.stream=e.join("\n"),A}}},createDefaultAppearanceStream:function(t){var A=e.internal.getFont(t.fontName,t.fontStyle).id,r=e.__private__.encodeColorString(t.color);return"/"+A+" "+t.fontSize+" Tf "+r}};G.internal={Bezier_C:.551915024494,calculateCross:function(t){var A=G.internal.getWidth(t),e=G.internal.getHeight(t),r=Math.min(A,e);return{x1:{x:(A-r)/2,y:(e-r)/2+r},x2:{x:(A-r)/2+r,y:(e-r)/2},x3:{x:(A-r)/2,y:(e-r)/2},x4:{x:(A-r)/2+r,y:(e-r)/2+r}}}},G.internal.getWidth=function(t){var A=0;return"object"===n(t)&&(A=u(t.Rect[2])),A},G.internal.getHeight=function(t){var A=0;return"object"===n(t)&&(A=u(t.Rect[3])),A};var J=t.addField=function(t){if(H.call(this),!(t instanceof R))throw new Error("Invalid argument passed to jsPDF.addField.");return function(t){e.internal.acroformPlugin.printedOut&&(e.internal.acroformPlugin.printedOut=!1,e.internal.acroformPlugin.acroFormDictionaryRoot=null),e.internal.acroformPlugin.acroFormDictionaryRoot||H.call(e),e.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t)}.call(this,t),t.page=e.internal.getCurrentPageInfo().pageNumber,this};t.addButton=function(t){if(t instanceof D==0)throw new Error("Invalid argument passed to jsPDF.addButton.");return J.call(this,t)},t.addTextField=function(t){if(t instanceof V==0)throw new Error("Invalid argument passed to jsPDF.addTextField.");return J.call(this,t)},t.addChoiceField=function(t){if(t instanceof O==0)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return J.call(this,t)},"object"==n(A)&&void 0===A.ChoiceField&&void 0===A.ListBox&&void 0===A.ComboBox&&void 0===A.EditBox&&void 0===A.Button&&void 0===A.PushButton&&void 0===A.RadioButton&&void 0===A.CheckBox&&void 0===A.TextField&&void 0===A.PasswordField?(A.ChoiceField=O,A.ListBox=K,A.ComboBox=M,A.EditBox=P,A.Button=D,A.PushButton=k,A.RadioButton=z,A.CheckBox=q,A.TextField=V,A.PasswordField=X,A.AcroForm={Appearance:G}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),t.AcroFormChoiceField=O,t.AcroFormListBox=K,t.AcroFormComboBox=M,t.AcroFormEditBox=P,t.AcroFormButton=D,t.AcroFormPushButton=k,t.AcroFormRadioButton=z,t.AcroFormCheckBox=q,t.AcroFormTextField=V,t.AcroFormPasswordField=X,t.AcroFormAppearance=G,t.AcroForm={ChoiceField:O,ListBox:K,ComboBox:M,EditBox:P,Button:D,PushButton:k,RadioButton:z,CheckBox:q,TextField:V,PasswordField:X,Appearance:G}})((window.tmp=dt).API,"undefined"!=typeof window&&window||void 0!==r&&r),function(t){var A="addImage_",e={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=t.getImageFileTypeByImageData=function(A,r){var n,i;r=r||"UNKNOWN";var o,s,a,c="UNKNOWN";for(a in t.isArrayBufferView(A)&&(A=t.arrayBufferToBinaryString(A)),e)for(o=e[a],n=0;n>"}),"trns"in A&&A.trns.constructor==Array){for(var s="",a=0,c=A.trns.length;a>18]+r[(258048&A)>>12]+r[(4032&A)>>6]+r[63&A];return 1==o?e+=r[(252&(A=n[s]))>>2]+r[(3&A)<<4]+"==":2==o&&(e+=r[(64512&(A=n[s]<<8|n[s+1]))>>10]+r[(1008&A)>>4]+r[(15&A)<<2]+"="),e},t.createImageInfo=function(t,A,e,r,n,i,o,s,a,c,u,l,h){var f={alias:s,w:A,h:e,cs:r,bpc:n,i:o,data:t};return i&&(f.f=i),a&&(f.dp=a),c&&(f.trns=c),u&&(f.pal=u),l&&(f.smask=l),h&&(f.p=h),f},t.addImage=function(e,r,i,h,f,d,p,B,g){var w="";if("string"!=typeof r){var m=d;d=f,f=h,h=i,i=r,r=m}if("object"===n(e)&&!c(e)&&"imageData"in e){var Q=e;e=Q.imageData,r=Q.format||r||"UNKNOWN",i=Q.x||i||0,h=Q.y||h||0,f=Q.w||f,d=Q.h||d,p=Q.alias||p,B=Q.compression||B,g=Q.rotation||Q.angle||g}var C=this.internal.getFilters();if(void 0===B&&-1!==C.indexOf("FlateEncode")&&(B="SLOW"),"string"==typeof e&&(e=unescape(e)),isNaN(i)||isNaN(h))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var y,v,F,U,N,E,b,L=function(){var t=this.internal.collections[A+"images"];return t||(this.internal.collections[A+"images"]=t={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",s)),t}.call(this);if(!((y=l(e,L))||(c(e)&&(e=u(e,r)),(null==(b=p)||0===b.length)&&(p="string"==typeof(E=e)?t.sHashCode(E):t.isArrayBufferView(E)?t.sHashCode(t.arrayBufferToBinaryString(E)):null),y=l(p,L)))){if(this.isString(e)&&(""!==(w=this.convertStringToImageData(e))||void 0!==(w=t.loadFile(e)))&&(e=w),r=this.getImageFileTypeByImageData(e,r),!a(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if(this.supportsArrayBuffer()&&(e instanceof Uint8Array||(v=e,e=this.binaryStringToUint8Array(e))),!(y=this["process"+r.toUpperCase()](e,(N=0,(U=L)&&(N=Object.keys?Object.keys(U).length:function(t){var A=0;for(var e in t)t.hasOwnProperty(e)&&A++;return A}(U)),N),p,((F=B)&&"string"==typeof F&&(F=F.toUpperCase()),F in t.image_compression?F:t.image_compression.NONE),v)))throw new Error("An unknown error occurred whilst processing the image")}return function(t,A,e,r,n,i,o,s){var a=function(t,A,e){return t||A||(A=t=-96),t<0&&(t=-1*e.w*72/t/this.internal.scaleFactor),A<0&&(A=-1*e.h*72/A/this.internal.scaleFactor),0===t&&(t=A*e.w/e.h),0===A&&(A=t*e.h/e.w),[t,A]}.call(this,e,r,n),c=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;if(e=a[0],r=a[1],o[i]=n,s){s*=Math.PI/180;var l=Math.cos(s),h=Math.sin(s),f=function(t){return t.toFixed(4)},d=[f(l),f(h),f(-1*h),f(l),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,c(t),u(A+r),"cm"].join(" ")),this.internal.write(d.join(" ")),this.internal.write([c(e),"0","0",c(r),"0","0","cm"].join(" "))):this.internal.write([c(e),"0","0",c(r),c(t),u(A+r),"cm"].join(" ")),this.internal.write("/I"+n.i+" Do"),this.internal.write("Q")}.call(this,i,h,f,d,y,y.i,L,g),this},t.convertStringToImageData=function(A){var e,r="";if(this.isString(A)){var n;e=null!==(n=this.extractImageFromDataUrl(A))?n.data:A;try{r=atob(e)}catch(A){throw t.validateStringAsBase64(e)?new Error("atob-Error in jsPDF.convertStringToImageData "+A.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return r};var h=function(t,A){return t.subarray(A,A+5)};t.processJPEG=function(t,A,e,n,i,o){var s,a=this.decode.DCT_DECODE;if(!this.isString(t)&&!this.isArrayBuffer(t)&&!this.isArrayBufferView(t))return null;if(this.isString(t)&&(s=function(t){var A;if("JPEG"!==r(t))throw new Error("getJpegSize requires a binary string jpeg file");for(var e=256*t.charCodeAt(4)+t.charCodeAt(5),n=4,i=t.length;n>",c.content=B;var h=c.objId+" 0 R";B="<>";else if(a.options.pageNumber)switch(B="<>",this.internal.write(B))}}this.internal.write("]")}}]),o.createAnnotation=function(t){var A=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":A.pageContext.annotations.push(t)}},o.link=function(t,A,e,r,n){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:t,y:A,w:e,h:r,options:n,type:"link"})},o.textWithLink=function(t,A,e,r){var n=this.getTextWidth(t),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,A,e),e+=.2*i,this.link(A,e-i,n,i,r),n},o.getTextWidth=function(t){var A=this.internal.getFontSize();return this.getStringUnitWidth(t)*A/this.internal.scaleFactor},function(t){var A={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];t.__arabicParser__={};var i=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==A[t.charCodeAt(0)]},o=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},s=t.__arabicParser__.isArabicEndLetter=function(t){return o(t)&&i(t)&&A[t.charCodeAt(0)].length<=2},a=t.__arabicParser__.isArabicAlfLetter=function(t){return o(t)&&0<=n.indexOf(t.charCodeAt(0))},c=(t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return o(t)&&i(t)&&1<=A[t.charCodeAt(0)].length},t.__arabicParser__.arabicLetterHasFinalForm=function(t){return o(t)&&i(t)&&2<=A[t.charCodeAt(0)].length}),u=(t.__arabicParser__.arabicLetterHasInitialForm=function(t){return o(t)&&i(t)&&3<=A[t.charCodeAt(0)].length},t.__arabicParser__.arabicLetterHasMedialForm=function(t){return o(t)&&i(t)&&4==A[t.charCodeAt(0)].length}),l=t.__arabicParser__.resolveLigatures=function(t){var A=0,r=e,n=0,i="",o=0;for(A=0;A>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+A+" 0 R")});return this},s=dt.API,(a=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(A){t=A}});var A=150;Object.defineProperty(this,"width",{get:function(){return A},set:function(t){A=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=A+1)}});var e=300;Object.defineProperty(this,"height",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=e+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(t){r=t}});var n={};Object.defineProperty(this,"style",{get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(t,A){var e;if("2d"!==(t=t||"2d"))return null;for(e in A)this.pdf.context2d.hasOwnProperty(e)&&(this.pdf.context2d[e]=A[e]);return(this.pdf.context2d._canvas=this).pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},s.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}]),c=dt.API,l={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},h=1,f=function(t,A,e,r,n){l={x:t,y:A,w:e,h:r,ln:n}},d=function(){return l},p={left:0,top:0,bottom:0},c.setHeaderFunction=function(t){u=t},c.getTextDimensions=function(t,A){var e=this.table_font_size||this.internal.getFontSize(),r=(this.internal.getFont().fontStyle,(A=A||{}).scaleFactor||this.internal.scaleFactor),n=0,i=0,o=0;if("string"==typeof t)0!=(n=this.getStringUnitWidth(t)*e)&&(i=1);else{if("[object Array]"!==Object.prototype.toString.call(t))throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var s=0;s=this.internal.pageSize.getHeight()-c.bottom&&(this.cellAddPage(),a=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(i,!0)),A=d().y+d().h,a&&(A=23)}if(void 0!==n[0])if(this.printingHeaderRow?this.rect(t,A,e,r,"FD"):this.rect(t,A,e,r),"right"===o){n instanceof Array||(n=[n]);for(var u=0;u=2*Math.PI&&(r=0,n=2*Math.PI),this.path.push({type:"arc",x:t,y:A,radius:e,startAngle:r,endAngle:n,counterclockwise:i})},a.prototype.arcTo=function(t,A,e,r,n){throw new Error("arcTo not implemented.")},a.prototype.rect=function(t,A,e,r){if(isNaN(t)||isNaN(A)||isNaN(e)||isNaN(r))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,A),this.lineTo(t+e,A),this.lineTo(t+e,A+r),this.lineTo(t,A+r),this.lineTo(t,A),this.lineTo(t+e,A),this.lineTo(t,A)},a.prototype.fillRect=function(t,A,e,r){if(isNaN(t)||isNaN(A)||isNaN(e)||isNaN(r))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!u.call(this)){var n={};"butt"!==this.lineCap&&(n.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(n.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,A,e,r),this.fill(),n.hasOwnProperty("lineCap")&&(this.lineCap=n.lineCap),n.hasOwnProperty("lineJoin")&&(this.lineJoin=n.lineJoin)}},a.prototype.strokeRect=function(t,A,e,r){if(isNaN(t)||isNaN(A)||isNaN(e)||isNaN(r))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");l.call(this)||(this.beginPath(),this.rect(t,A,e,r),this.stroke())},a.prototype.clearRect=function(t,A,e,r){if(isNaN(t)||isNaN(A)||isNaN(e)||isNaN(r))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,A,e,r))},a.prototype.save=function(t){t="boolean"!=typeof t||t;for(var A=this.pdf.internal.getCurrentPageInfo().pageNumber,e=0;e"},w=function(t){var A,e,r,n,i,o=String,s="length",a="charCodeAt",c="slice",u="replace";for(t[c](-2),t=t[c](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),r=[],n=0,i=(t+=A="uuuuu"[c](t[s]%5||5))[s];n>24,255&e>>16,255&e>>8,255&e);return function(t){for(var e=A[s];0"},Q=function(t){var A=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===A.test(t))return"";for(var e="",r=0;r>8&255,e>>16&255,e>>24&255]),t.length+2),String.fromCharCode.apply(null,n)},B.processDataByFilters=function(t,A){var e=0,r=t||"",n=[];for("string"==typeof(A=A||[])&&(A=[A]),e=0;e>"),this.internal.out("endobj"),L=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+H+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==b&&void 0!==L&&this.internal.out("/Names <>")}),this},(x=dt.API).events.push(["postPutResources",function(){var t=this,A=/^(\d+) 0 obj$/;if(0> endobj")}var l=t.internal.newObject();for(t.internal.write("<< /Names [ "),r=0;r>","endobj"),t.internal.newObject(),t.internal.write("<< /Dests "+l+" 0 R"),t.internal.write(">>","endobj")}}]),x.events.push(["putCatalog",function(){0> \r\nendobj\r\n"},t.outline.count_r=function(t,A){for(var e=0;e>>24&255,h[l++]=s>>>16&255,h[l++]=s>>>8&255,h[l++]=255&s,S.arrayBufferToBinaryString(h)},T=function(t,A){var e=Math.LOG2E*Math.log(32768)-8<<4|8,r=e<<8;return r|=Math.min(3,(A-1&255)>>1)<<6,r|=0,[e,255&(r+=31-r%31)]},R=function(t,A){for(var e,r=1,n=0,i=t.length,o=0;0>>0},O=function(t,A,e,r){for(var n,i,o,s=t.length/A,a=new Uint8Array(t.length+s),c=j(),u=0;u>>1)&255;return i},k=function(t,A,e){var r,n,i,o,s=[],a=0,c=t.length;for(s[0]=4;a>>d&255,d+=i.bits;g[m]=C>>>d&255}if(16===i.bits){p=(N=new Uint32Array(i.decodePixels().buffer)).length,B=new Uint8Array(p*(32/i.pixelBitlength)*i.colors),g=new Uint8Array(p*(32/i.pixelBitlength));for(var C,y=1>>0&255,y&&(B[Q++]=C>>>16&255,C=N[m++],B[Q++]=C>>>0&255),g[v++]=C>>>16&255;f=8}r!==S.image_compression.NONE&&I()?(t=_(B,i.width*i.colors,i.colors,r),u=_(g,i.width,1,r)):(t=B,u=g,h=null)}if(3===i.colorType&&(l=this.color_spaces.INDEXED,c=i.palette,i.transparency.indexed)){var F=i.transparency.indexed,U=0;for(m=0,p=F.length;mr&&(n.push(t.slice(a,i)),s=0,a=i),s+=A[i],i++;return a!==i&&n.push(t.slice(a,i)),n},tt=function(t,A,e){e||(e={});var r,n,i,o,s,a,c=[],u=[c],l=e.textIndent||0,h=0,f=0,d=t.split(" "),p=W.apply(this,[" ",e])[0];if(a=-1===e.lineIndent?d[0].length+2:e.lineIndent||0){var B=Array(a).join(" "),g=[];d.map(function(t){1<(t=t.split(/\s*\n/)).length?g=g.concat(t.map(function(t,A){return(A&&t.length?"\n":"")+t})):g.push(t[0])}),d=g,a=Z.apply(this,[B,e])}for(i=0,o=d.length;i>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},at=dt.API,lt=ut=ct="",at.addMetadata=function(t,A){return ut=A||"http://jspdf.default.namespaceuri/",ct=t,this.internal.events.subscribe("postPutResources",function(){if(ct){var t='',A=unescape(encodeURIComponent('')),e=unescape(encodeURIComponent(t)),r=unescape(encodeURIComponent(ct)),n=unescape(encodeURIComponent("")),i=unescape(encodeURIComponent("")),o=e.length+r.length+n.length+A.length+i.length;lt=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(A+e+r+n+i),this.internal.write("endstream"),this.internal.write("endobj")}else lt=""}),this.internal.events.subscribe("putCatalog",function(){lt&&this.internal.write("/Metadata "+lt+" 0 R")}),this},function(t){var A=t.API,e=A.pdfEscape16=function(t,A){for(var e,r=A.metadata.Unicode.widths,n=["","0","00","000","0000"],i=[""],o=0,s=t.length;o<"+n+">");return r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};A.events.push(["putFont",function(A){!function(A,e,n,i){if(A.metadata instanceof t.API.TTFFont&&"Identity-H"===A.encoding){for(var o=A.metadata.Unicode.widths,s=A.metadata.subset.encode(A.metadata.glyIdsUsed,1),a="",c=0;c>"),e("endobj");var f=n();e("<<"),e("/Type /Font"),e("/BaseFont /"+A.fontName),e("/FontDescriptor "+h+" 0 R"),e("/W "+t.API.PDFObject.convert(o)),e("/CIDToGIDMap /Identity"),e("/DW 1000"),e("/Subtype /CIDFontType2"),e("/CIDSystemInfo"),e("<<"),e("/Supplement 0"),e("/Registry (Adobe)"),e("/Ordering ("+A.encoding+")"),e(">>"),e(">>"),e("endobj"),A.objectNumber=n(),e("<<"),e("/Type /Font"),e("/Subtype /Type0"),e("/ToUnicode "+l+" 0 R"),e("/BaseFont /"+A.fontName),e("/Encoding /"+A.encoding),e("/DescendantFonts ["+f+" 0 R]"),e(">>"),e("endobj"),A.isAlreadyPutted=!0}}(A.font,A.out,A.newObject,A.putStream)}]),A.events.push(["putFont",function(A){!function(A,e,n,i){if(A.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===A.encoding){A.metadata.Unicode.widths;for(var o=A.metadata.rawData,s="",a=0;a>"),e("endobj"),A.objectNumber=n(),a=0;a>"),e("endobj"),A.isAlreadyPutted=!0}}(A.font,A.out,A.newObject,A.putStream)}]);var n=function(t){var A,r,n=t.text||"",i=t.x,o=t.y,s=t.options||{},a=t.mutex||{},c=a.pdfEscape,u=a.activeFontKey,l=a.fonts,h=(a.activeFontSize,""),f=0,d="",p=l[r=u].encoding;if("Identity-H"!==l[r].encoding)return{text:n,x:i,y:o,options:s,mutex:a};for(d=n,r=u,"[object Array]"===Object.prototype.toString.call(n)&&(d=n[0]),f=0;fa-c.top-c.bottom&&r.pagesplit){var d=function(t,A,e,n,i){var o=document.createElement("canvas");o.height=i,o.width=n;var s=o.getContext("2d");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||"#ffffff",s.fillRect(0,0,n,i),s.drawImage(t,A,e,n,i,0,0,n,i),o},p=function(){for(var r,i,u=0,p=0,B={},g=!1;;){var w;if(p=0,B.top=0!==u?c.top:e,B.left=0!==u?c.left:A,g=(s-c.left-c.right)*o=t.width)break;this.addPage()}else m=[w=d(t,0,u,r,i),B.left,B.top,w.width/o,w.height/o,h,null,f],this.addImage.apply(this,m);if((u+=i)>=t.height)break;this.addPage()}n(l,u,null,m)}.bind(this);if("CANVAS"===t.nodeName){var B=new Image;B.onload=p,B.src=t.toDataURL("image/png"),t=B}else p()}else{var g=Math.random().toString(35),w=[t,A,e,l,u,h,g,f];this.addImage.apply(this,w),n(l,u,g,w)}}.bind(this),"undefined"!=typeof html2canvas&&!r.rstz)return html2canvas(t,r);if("undefined"==typeof rasterizeHTML)return null;var c="drawDocument";return"string"==typeof t&&(c=/^http/.test(t)?"drawURL":"drawHTML"),r.width=r.width||s*o,rasterizeHTML[c](t,void 0,r).then(function(t){r.onrendered(t.image)},function(t){n(null,t)})},function(t){var A,e,r,i,o,s,a,c,u,l,h,f,d,p,B,g,w,m,Q,C;A=function(){return function(A){return t.prototype=A,new t};function t(){}}(),l=function(t){var A,e,r,n,i,o,s;for(e=0,r=t.length,A=void 0,o=n=!1;!n&&e!==r;)(A=t[e]=t[e].trimLeft())&&(n=!0),e++;for(e=r-1;r&&!o&&-1!==e;)(A=t[e]=t[e].trimRight())&&(o=!0),e--;for(i=/\s+$/g,s=!0,e=0;e!==r;)"\u2028"!=t[e]&&(A=t[e].replace(/\s+/g," "),s&&(A=A.trimLeft()),A&&(s=i.test(A)),t[e]=A),e++;return t},f=function(t){var A,e,n;for(A=void 0,e=(n=t.split(",")).shift();!A&&e;)A=r[e.trim().toLowerCase()],e=n.shift();return A},d=function(t){var A;return-1<(t="auto"===t?"0px":t).indexOf("em")&&!isNaN(Number(t.replace("em","")))&&(t=18.719*Number(t.replace("em",""))+"px"),-1r.pdf.margins_doc.top&&(r.pdf.addPage(),r.y=r.pdf.margins_doc.top,r.executeWatchFunctions(o));var L=u(o),H=r.x,x=12/r.pdf.internal.scaleFactor,S=(L["margin-left"]+L["padding-left"])*x,I=(L["margin-right"]+L["padding-right"])*x,_=(L["margin-top"]+L["padding-top"])*x,T=(L["margin-bottom"]+L["padding-bottom"])*x;void 0!==L.float&&"right"===L.float?H+=r.settings.width-o.width-I:H+=S,r.pdf.addImage(E,H,r.y+_,o.width,o.height),E=void 0,"right"===L.float||"left"===L.float?(r.watchFunctions.push(function(t,A,e,n){return r.y>=A?(r.x+=t,r.settings.width+=e,!0):!!(n&&1===n.nodeType&&!y[n.nodeName]&&r.x+n.width>r.pdf.margins_doc.left+r.pdf.margins_doc.width)&&(r.x+=t,r.y=A,r.settings.width+=e,!0)}.bind(this,"left"===L.float?-o.width-S-I:0,r.y+o.height+_+T,o.width)),r.watchFunctions.push(function(t,A,e){return!(r.y]*?>/gi,""),u="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(c=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",c.innerHTML='

G;osS)UJZA0vA?ZfQlu&(#SMHmuKx_pHbgi(ITdM_?1?h5;{fCNE)P7OTpk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Hv^^#0%t>Gp*{ zf<*B@IAM{nZh~-1VxT1xqTnZF^=*yNP$eg4=dRX}9~G_IIZTvENJEk@VqtY8&&a}p z2FM!NDh%M$Y9r3C;K@~5T8eacha2R|(Kru3Ap<_Db@|yy5!<@kr>($o_XeXocc_w* zl6?Q1g^zy?*j?znAjL(0p?lHyhHNs}l8Ic>4tCLTaT*2&^gX@3ILm6v21^Ej^NGPD zswYTq2br9rni?hu1eAzSDD)v{0_iZ_fqlPsMm5kiq31{StqlCN0nyV!X}(mqi~JuJ C95G`6 diff --git a/web-app/build/android-icon-192x192.png b/web-app/build/android-icon-192x192.png deleted file mode 100644 index abda28f16293c198f3c6e1953fa5384e6557f533..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6124 zcmXw7cRW@9|38;|xkkD&L%E47WJP9WW)qTJ$zCDZ>l!zEWW>k3Mph_=YtOD7X(`di z$QIdq_kG{b@A3QNIM=!FbI$9&Ua$9aykhkA)X&gz&_WP&MpHx85S&Tm14#w`8jiV8 zgAR0*aWSM3%GdR>$Zv4-6!^5zE&P~kgu<=$Rk&0Pa7*YJCP?I4usVk z91z6juc@kJA- zqj%p0`d{`4ND#h@%%s-9MZf79Y%=g!x__lNGGXSm)NEW^#RZ4R$e@SEgYx!%+I@DI zrw?(@-OBcCJ8C&<`+QW6k4D0$UX=P#PdcJ`jEsyFH8p8|d&!lSm&04l&tAWNUH|S~ z%7E6392_9P7jNG(&{K7O{Oj%GLlv(^8H&cIr?Xv2)mq=$qEt{&_~KM6W=Vp;e_^Ap z&1XVGLluh)Hh1B6(TqDgJNhOj$b*9e^2y)dU*E_GE|V48B)WwSo;^N|8Dl8P{XGZBL9#UWvuf)3TE@R*K_lKtN-%+-=$7J8cv8o!( zUNEI*rbWP<(0F%mbqS%7u>P?D#ojY(Xoki+4LrCh&;FbLi;6hX~}8- z@K43m2hn%oacrWS481RD&Yq20$i*?RikKl!j`kKVB+RWFzYumi+{6~T~4^JrW+xES<#Kc}oYK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$CIIRaI5Vx*ClJD=RDMK>!d6 zg-~B#FG1OCHiSZ(J?Rl4J7D&Q4|!0Nmf-!)P?hHj2~J(?4z$Ssg|u2NdV71Zw6p}T*NZ?PfOtF(K@jlz`ihg26U@)ggJs#Yt@QV< zH7f`J;_)~pCMHl+R8+9b28Lm#X%vKz>(xu~>{e9uK+QZhCxtB#z^V=Xp}A)uh+!sivle n8XFs_t*wn%mL;`Xom1U^DjGqHQMzNk00000NkvXXu0mjf?3>z! diff --git a/web-app/build/android-icon-48x48.png b/web-app/build/android-icon-48x48.png deleted file mode 100644 index a7101777c437f55f7651ba49620181a02535ef31..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1495 zcmV;|1t|K7P)6_-N1dFUz^6~2U~O#;0)YVR?d?G<7K2100cy1x^m;v*OeV0|Y|z-)2v(~V zluBjp1u+kbMx*%b*)#0y>_oL%jQ}9Jm6w-ePfriJ-ENG3>`ub3zP~-(Xv#C@n92gkDXf&GN0I5_8pFDYj8jYqP z;F;~hg$uZ}v?RzxA&R?+8HNFe!vXK#zt8HesHlMU_I9w@Y+yE<;oP}%Kv5L@{{0)G z(I^B00r>p+GkCpTI668K>`SRs!sO&63=9mA4Pr)qdwUyOTU!N3OQX@??c2A}kE{W9cX!chweogcT3U(^A3nrzI4la9Pc%*A zwQJV|LrhFeNDII)47Rki@OIeV-j2aw@KoTLdiClR>h*eJJ&K}metuqjfZpC-UidqA z?qDL3$SeF`t*xzLZEY>FZe?X9Yqog8P= zj~L+K-~de~6A|9!aupo@uL6Mp8Vm*m0K9qgCT?wQaXiETgM))a_=^`W;>pQL!NLF4 z+}s>aPfzpy&I$1A*DuuRbi~#1%a<<&h0R5Z%yr@E)29%N#W?GQ)9D1O)k~_0sKvKmD;Pd%7hUVsG(CKut0ZCOlKs+9YpFe+c3@t4!vI0p}I>6@UCZtj+ zj=^HF$OQDF5Dk@;m9oL)qI7`6!$YD$qtVC)lZ!Yj@&8Tf0A*!mL_@ZB)?zC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5Q)SBdTugB00ohdI!9^owjHkb8dTNP zd>A8292yz%Ad%F6=74E|eIARk^-N zX0zGN(GU0ow-<;C$qgUfbyC(GrVn?n5zL zD2uEEfsGPCL)R-E{Cl=%8SoSKg8)Nh0Mw?Yre+08o+mwsjEqF1>lyPatEE# zq^62UVFIZCNHY4N91~Yp>0I4#DS#ITPFEIxpPh}**7WZHn(>d@LVeUcegT202JaEo z6DN$9FYYyp9y*AUmv;lM$?yt%jJo%;KUQ?h*YyZsF*49EIA`pOIli$BzZwUI^{X~7z61WNl zm6iNGJw5qVRRYMPM+<6eVWFX+PdtG0M7(*U+n22=D0a#bL?94^goR}tCkD|3s+P94 zc7Ad3L6WxQ?0P6?_pc7%QdANAfR)iNu%eoyAex$*0YO1g{|uISas1Y^8fV@S_}XH diff --git a/web-app/build/apple-icon-180x180.png b/web-app/build/apple-icon-180x180.png deleted file mode 100644 index eabb63230d5aaabf911ff2eecbff7f2b10a3eda9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5592 zcmXX~cOca7A3r;rqwL5?F3!%#JZDpfQ-qX}QRWeuh0Dpz$R5X+%=n5zHX)QFd+(Vo zGW$LE`~Chn=QHkk-p}*A-tX7z^^QQ@(Wa;2q=7&n^tw7oWAI%?{9K|0f0e&eN`WtG zcO7#K1VZ9Z{E*CEz}Ue}4lhkJFB7*XUOtaK?IAusK5!@3rx@GE?)GpuPlxm^B~A$B zvb`=+9qpU3nfby1eV?tluest9T?q=^tZrv&sqS9H1yADNs;)-J!aDNDkrN%CnDbn$ z3KQcy?v<(|HOtJBYm)9!Ad&f7XlAsX$vxT|8@jTW)D&f9bw1yumk-TS_NR=F zj&`{y!(u7eIXGVZ`>$k5dU|MCnV7u1{L6+0W#U&}o`BcJF#Y7zRLl5yT0fmP3%u$b zD;rx|(#`v`!(|rY^M{)gJHN)H)jPH)Yo%+xdS`S>(31qnYgbHis8w)U+~5ay1b zz*km6V|Z>;MnpuopBy-$U`eI={4tjBZ~_69B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F0&;~@Cd2$;!sB!G7K}x;Zs=NpUqPeRJ=dJ4udP^3dZ3H-o z6j;ocdD^k-2VyBQ?%v*51LFr^=WlQyQ z5wTa5`2+>YpY*1XXoNEiMQ#^j@H1)}8f3sPG8h{h&jJn#2l=e7Z3X&n((JdMu>(!Z zdHqhtB>*PSAY)*AV0cwEhz=xGTxu${xw&~HQ+!U2?dSGn!36WkkO+P6CYD@@3dl?V` diff --git a/web-app/build/asset-manifest.json b/web-app/build/asset-manifest.json deleted file mode 100644 index ec67e1d4b3..0000000000 --- a/web-app/build/asset-manifest.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "files": { - "main.css": "./static/css/main.849b542e.css", - "main.js": "./static/js/main.1266bae7.js", - "static/js/4186.1b3f78a1.chunk.js": "./static/js/4186.1b3f78a1.chunk.js", - "static/js/5354.36064e92.chunk.js": "./static/js/5354.36064e92.chunk.js", - "static/js/5412.7b253da5.chunk.js": "./static/js/5412.7b253da5.chunk.js", - "static/js/6644.a53d4ec8.chunk.js": "./static/js/6644.a53d4ec8.chunk.js", - "static/js/2813.f128a9fb.chunk.js": "./static/js/2813.f128a9fb.chunk.js", - "static/js/2928.999f6aa5.chunk.js": "./static/js/2928.999f6aa5.chunk.js", - "static/js/6777.aa21fae5.chunk.js": "./static/js/6777.aa21fae5.chunk.js", - "static/js/7445.6ddb0188.chunk.js": "./static/js/7445.6ddb0188.chunk.js", - "static/js/4121.4051bbf5.chunk.js": "./static/js/4121.4051bbf5.chunk.js", - "static/js/6215.3e9b6962.chunk.js": "./static/js/6215.3e9b6962.chunk.js", - "static/js/2643.e00d71a1.chunk.js": "./static/js/2643.e00d71a1.chunk.js", - "static/js/5028.88444243.chunk.js": "./static/js/5028.88444243.chunk.js", - "static/js/4169.96b3dd33.chunk.js": "./static/js/4169.96b3dd33.chunk.js", - "static/js/9185.cc2a0952.chunk.js": "./static/js/9185.cc2a0952.chunk.js", - "static/js/68.5a8e7ba6.chunk.js": "./static/js/68.5a8e7ba6.chunk.js", - "static/js/7401.cd4f5830.chunk.js": "./static/js/7401.cd4f5830.chunk.js", - "static/js/8308.b17edc51.chunk.js": "./static/js/8308.b17edc51.chunk.js", - "static/js/4860.8173be96.chunk.js": "./static/js/4860.8173be96.chunk.js", - "static/js/2684.c186c305.chunk.js": "./static/js/2684.c186c305.chunk.js", - "static/js/4857.17d79bcb.chunk.js": "./static/js/4857.17d79bcb.chunk.js", - "static/js/3126.ab390859.chunk.js": "./static/js/3126.ab390859.chunk.js", - "static/js/9010.3d0cf884.chunk.js": "./static/js/9010.3d0cf884.chunk.js", - "static/js/2258.40327c01.chunk.js": "./static/js/2258.40327c01.chunk.js", - "static/js/669.7276830a.chunk.js": "./static/js/669.7276830a.chunk.js", - "static/js/7478.a490512a.chunk.js": "./static/js/7478.a490512a.chunk.js", - "static/js/4274.247cb27e.chunk.js": "./static/js/4274.247cb27e.chunk.js", - "static/js/7726.cd9216d1.chunk.js": "./static/js/7726.cd9216d1.chunk.js", - "static/js/583.f19c0589.chunk.js": "./static/js/583.f19c0589.chunk.js", - "static/js/2587.52daa1fb.chunk.js": "./static/js/2587.52daa1fb.chunk.js", - "static/js/6681.da659a1c.chunk.js": "./static/js/6681.da659a1c.chunk.js", - "static/js/9117.3c176205.chunk.js": "./static/js/9117.3c176205.chunk.js", - "static/js/756.0c323599.chunk.js": "./static/js/756.0c323599.chunk.js", - "static/js/1715.27bf60ec.chunk.js": "./static/js/1715.27bf60ec.chunk.js", - "static/js/9287.2ebcab7b.chunk.js": "./static/js/9287.2ebcab7b.chunk.js", - "static/js/6481.f7633420.chunk.js": "./static/js/6481.f7633420.chunk.js", - "static/js/8796.a27f6ee3.chunk.js": "./static/js/8796.a27f6ee3.chunk.js", - "static/js/4388.f2cdce6f.chunk.js": "./static/js/4388.f2cdce6f.chunk.js", - "static/js/8682.65338008.chunk.js": "./static/js/8682.65338008.chunk.js", - "static/js/1634.60fdc0b6.chunk.js": "./static/js/1634.60fdc0b6.chunk.js", - "static/js/5169.f67830ab.chunk.js": "./static/js/5169.f67830ab.chunk.js", - "static/js/4517.ecaf7d95.chunk.js": "./static/js/4517.ecaf7d95.chunk.js", - "static/js/7852.bfb1c5b8.chunk.js": "./static/js/7852.bfb1c5b8.chunk.js", - "static/js/9459.730903fb.chunk.js": "./static/js/9459.730903fb.chunk.js", - "static/js/3541.34ae70ef.chunk.js": "./static/js/3541.34ae70ef.chunk.js", - "static/js/593.fb5ea6de.chunk.js": "./static/js/593.fb5ea6de.chunk.js", - "static/js/3477.3cc8bd40.chunk.js": "./static/js/3477.3cc8bd40.chunk.js", - "static/js/1366.9849e99a.chunk.js": "./static/js/1366.9849e99a.chunk.js", - "static/js/9506.f54e4e5b.chunk.js": "./static/js/9506.f54e4e5b.chunk.js", - "static/js/1004.94a825c6.chunk.js": "./static/js/1004.94a825c6.chunk.js", - "static/js/6242.24c7dc20.chunk.js": "./static/js/6242.24c7dc20.chunk.js", - "static/js/5238.1b851f9f.chunk.js": "./static/js/5238.1b851f9f.chunk.js", - "static/js/7958.d5f7989a.chunk.js": "./static/js/7958.d5f7989a.chunk.js", - "static/js/5465.15dfdf24.chunk.js": "./static/js/5465.15dfdf24.chunk.js", - "static/js/6582.fb2dceaa.chunk.js": "./static/js/6582.fb2dceaa.chunk.js", - "static/js/2896.27ff0208.chunk.js": "./static/js/2896.27ff0208.chunk.js", - "static/js/7356.3b77119f.chunk.js": "./static/js/7356.3b77119f.chunk.js", - "static/js/9559.cf39aa7d.chunk.js": "./static/js/9559.cf39aa7d.chunk.js", - "static/js/4758.894e4bf0.chunk.js": "./static/js/4758.894e4bf0.chunk.js", - "static/js/66.6c94b445.chunk.js": "./static/js/66.6c94b445.chunk.js", - "static/js/3697.ae39b184.chunk.js": "./static/js/3697.ae39b184.chunk.js", - "static/js/2797.c53d9c9c.chunk.js": "./static/js/2797.c53d9c9c.chunk.js", - "static/js/4402.d8bb81a3.chunk.js": "./static/js/4402.d8bb81a3.chunk.js", - "static/js/7102.28d59501.chunk.js": "./static/js/7102.28d59501.chunk.js", - "static/js/5692.8621ba1a.chunk.js": "./static/js/5692.8621ba1a.chunk.js", - "static/js/7945.948a1b2f.chunk.js": "./static/js/7945.948a1b2f.chunk.js", - "static/js/9033.9a564e55.chunk.js": "./static/js/9033.9a564e55.chunk.js", - "static/js/3576.89f6718c.chunk.js": "./static/js/3576.89f6718c.chunk.js", - "static/js/8231.bd61de62.chunk.js": "./static/js/8231.bd61de62.chunk.js", - "static/js/4043.e97d09a3.chunk.js": "./static/js/4043.e97d09a3.chunk.js", - "static/js/4945.b4f6f750.chunk.js": "./static/js/4945.b4f6f750.chunk.js", - "static/js/4803.2a486f1b.chunk.js": "./static/js/4803.2a486f1b.chunk.js", - "static/js/5938.d0dc8bf3.chunk.js": "./static/js/5938.d0dc8bf3.chunk.js", - "static/js/4540.7d7510b7.chunk.js": "./static/js/4540.7d7510b7.chunk.js", - "static/js/3214.ed7fb3fd.chunk.js": "./static/js/3214.ed7fb3fd.chunk.js", - "static/js/8350.64629895.chunk.js": "./static/js/8350.64629895.chunk.js", - "static/js/1988.2b6fa00d.chunk.js": "./static/js/1988.2b6fa00d.chunk.js", - "static/js/8814.7ba6f8b7.chunk.js": "./static/js/8814.7ba6f8b7.chunk.js", - "static/js/2499.a423e5db.chunk.js": "./static/js/2499.a423e5db.chunk.js", - "static/js/8399.dbae1106.chunk.js": "./static/js/8399.dbae1106.chunk.js", - "static/js/1869.0f80c90a.chunk.js": "./static/js/1869.0f80c90a.chunk.js", - "static/js/5503.a9d9da00.chunk.js": "./static/js/5503.a9d9da00.chunk.js", - "static/js/116.d72fac0b.chunk.js": "./static/js/116.d72fac0b.chunk.js", - "static/js/4599.93da78de.chunk.js": "./static/js/4599.93da78de.chunk.js", - "static/js/9636.04da1350.chunk.js": "./static/js/9636.04da1350.chunk.js", - "static/js/8894.9c332859.chunk.js": "./static/js/8894.9c332859.chunk.js", - "static/js/8530.2dee5b9d.chunk.js": "./static/js/8530.2dee5b9d.chunk.js", - "static/js/4964.f7712fa8.chunk.js": "./static/js/4964.f7712fa8.chunk.js", - "static/js/7389.2d39bf47.chunk.js": "./static/js/7389.2d39bf47.chunk.js", - "static/js/7470.4b28f453.chunk.js": "./static/js/7470.4b28f453.chunk.js", - "static/js/2979.1c1ffc3c.chunk.js": "./static/js/2979.1c1ffc3c.chunk.js", - "static/media/Inter-BoldItalic.woff": "./static/media/Inter-BoldItalic.b376885042f6c961a541.woff", - "static/media/Inter-LightItalic.woff": "./static/media/Inter-LightItalic.ef9f65d91d2b0ba9b2e4.woff", - "static/media/Inter-BlackItalic.woff": "./static/media/Inter-BlackItalic.ca1e738e4f349f27514d.woff", - "static/media/Inter-Italic.woff": "./static/media/Inter-Italic.890025e726861dba417f.woff", - "static/media/Inter-Bold.woff": "./static/media/Inter-Bold.93c1301bd9f486c573b3.woff", - "static/media/Inter-Light.woff": "./static/media/Inter-Light.994e34451cc19ede31d3.woff", - "static/media/Inter-Black.woff": "./static/media/Inter-Black.c6938660eec019fefd68.woff", - "static/media/Inter-Thin.woff": "./static/media/Inter-Thin.29b9c616a95a912abf73.woff", - "static/media/Inter-Regular.woff": "./static/media/Inter-Regular.8c206db99195777c6769.woff", - "static/media/Inter-BoldItalic.woff2": "./static/media/Inter-BoldItalic.2d26c56a606662486796.woff2", - "static/media/Inter-LightItalic.woff2": "./static/media/Inter-LightItalic.f86952265d7b0f02c921.woff2", - "static/media/Inter-BlackItalic.woff2": "./static/media/Inter-BlackItalic.cb2a7335650c690077fe.woff2", - "static/media/Inter-Italic.woff2": "./static/media/Inter-Italic.cb10ffd7684cd9836a05.woff2", - "static/media/Inter-Bold.woff2": "./static/media/Inter-Bold.ec64ea577b0349e055ad.woff2", - "static/media/Inter-Light.woff2": "./static/media/Inter-Light.2d5198822ab091ce4305.woff2", - "static/media/Inter-Black.woff2": "./static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2", - "static/media/Inter-Thin.woff2": "./static/media/Inter-Thin.fff2a096db014f6239d4.woff2", - "static/media/Inter-Regular.woff2": "./static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2", - "static/media/background.jpg": "./static/media/background.435dd27a31c18d712ec4.jpg", - "index.html": "./index.html" - }, - "entrypoints": [ - "static/css/main.849b542e.css", - "static/js/main.1266bae7.js" - ] -} \ No newline at end of file diff --git a/web-app/build/aws-logo.svg b/web-app/build/aws-logo.svg deleted file mode 100644 index 4715937ff0..0000000000 --- a/web-app/build/aws-logo.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - diff --git a/web-app/build/azure-logo.svg b/web-app/build/azure-logo.svg deleted file mode 100644 index 52c32ac3bb..0000000000 --- a/web-app/build/azure-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/azure.png b/web-app/build/azure.png deleted file mode 100644 index b9ecbae6725edaa1b81e824e65ba74c03a4a21d3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8888 zcmeHtS5Omb&^7^Sp-UG9kpoDR-b;|GAXS7&fKa4K2Px7*??pxFMLJ4=(2*KJK&1-O z3B5z;BoGq#IJf`IfBAh^=iuy0ItO&(GTJpxv73pRTBhqPa3k!xm36nvsn;jd&CTc#h4@*CW0dH(On z3ReQcC89$r(}f(rqKdxwuj52IBEC*aG7B05!#?rvwy+s=WAW za#qdA{MJ|hz?o=_@L_nKp0;%F6+75}u4NTl81_!pFMK_EG@BP_Qt@)U+_XM@;XA|7 zvnyVq?tx1yq8M*hyB%iY6st2`g*2P%EW^q@DshB&^n1m^upMH)TT>L6D$^SG@VK(n zplB^A8Da;24{9tjibbj;sbYdoYX0i1?BL))Pj|J-wRRIRK*ueQtUXV|u4bIeP z*lYtSGyy1vIIdo8KkQDr63cR58serR$~>tS+@FaKqqCa30&v3b+Gj#gCqu82f{yLK ze&P4Tl9_sXK8})dUK{1@g4I)Lr{=TneBH3jR{YrJiIEGP4?r#xN*Z#A+TA-~jN-ji z6cfMHY>8=#Tx_O)=jl@&%*oIk8S(t^!*l6MJ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21vZ5ctjup*y_ z!B8vc*?XD&n&s|q&*jd0_@CrTjeQ&67fmxk7u!6_4oHSj*+f{({;eE@naNfLJ<{JgG=tjddl20!tA}yg3LzJY|tKEnL zCO5EPzcv7+`uL&|8n`; zH&JY_!QcH$@>^TS|E|6JUy%Q0^8ZtlIq~!(L`1|s|K0-pSD*hi(f`#rTDk_bm@4j- Us1+RET%-^^)zsIhR \ No newline at end of file diff --git a/web-app/build/elasticsearch.png b/web-app/build/elasticsearch.png deleted file mode 100644 index 92f3fcc53cb369dc9f05e3fbda5303a2123054dc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8003 zcmd6M2T)V(x-N={h=5WoAc|BabOTU~ih7U_#MuLeq|Ar;``Tik-^ibvh(V;6JwJ2Xz6NXx;tG*72PxzZ(+i1Co?Pp->ViSqX%ntE9A& zl9Hs9jHHZ=__2hzf3Pc8<@GzRe@OcyO<@1&#=n&IHw*TGNt(d?5dnVA$LrxD z@HhE5cmKVi--5^9fQ?A7=fk5TO z#6i&N5Q+@<3-Ppu*pJ{uLjnA*UoQrEo_|UPD`2T3bU&PDAOAoV>iI zhP)C`=??I3uAa9)65{O)``fnrvF*ROO8+evr0EBPAQ66M2!!X~Rq((KfkgPbA$<5` zq$OndZW=(G-MxP!w|=kEpFwNE{M-X!(7S#JFTQ`I8RY&iT=@6G|C0~>-=ze)~elX|@%+=`{2AWcvpvd>;g|7K4pbV+7QtxD$wc>* z;RcqDE|P)n)J3|J%yehO==jR%&Rfylc06&6K74=jFZ6i&PxN^DFZ55+G5ROz82yv< zpQ`>>q<_o)|7q#pBK;2K|0k#4IMk$xupEZ@nI|N~&@+kr6jb)t{dmw4WnsC6oc@Gg zT&@c@N}HD=3eFa^3d5a39cU2rTwq^=^Iw`+L3)7WO$f7%jn zx75kv33gnlP}(b(dxQSjX^+n~cC{)5-b(PFF2?V7q$Ur2q>D6<@3^Cnj1K+OD3}zT zzY@Y&=SKi2G*(Dvar2dnvO`}Bbb;S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((ksmp0=SDUc>Rxe*mHn B#d81v diff --git a/web-app/build/favicon-16x16.png b/web-app/build/favicon-16x16.png deleted file mode 100644 index fac143bb752d6e3f88bc2d578d7d644f2dadc42d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 405 zcmV;G0c!q%V;%bh173o*iI58ry%4d?6{Ip&X%a9�wC+{8T{% z0}|M^Qo(i7%r4)4!s;HFX5MqoJAaXx+K7lHyu&h{;R=871$&v<8<8_}6zF0PcSu~| z7(Z}bxgOR>nud4*zl*ewSBS>@EH=9k_#)X&2~PK|a8^O<=&Z3S?MCwMb; z3AKgQs^AEnN35~iUSr^(Om<8@q(%J2hxREy#ji5?hS$w%s>S9hZ;cr=NFOmM(m$Nw zCvGa&$NRBEY9k_E;%yD}d5O>P6}y>vG35RSDUd4D9yYYl00000NkvXXu0mjfrM9V_ diff --git a/web-app/build/favicon-32x32.png b/web-app/build/favicon-32x32.png deleted file mode 100644 index 3d2711fcade658b0d5a4b2fc658c6a40980a301b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 713 zcmV;)0yh1LP)8FWQhbW?9;ba!ELWdL_~cP?peYja~^aAhuUa%Y?FJQ@H10#->x zK~z|Uz1L5OPf-*H@Xwt;nvs7CnK284#Sja|f-)x3l$C6hg=8TcWi{3)DX}3DVj(M= zNwbsW-$MD5Ny>tSA{q;S#*oZ#E#7bPyx;r%8U4Idr`|jFo^!tUo_p^(C&U;{he8N5 zu@URhg9Vt4aeT&eJi(0^4RkT}&<3+fHA9Xs;;|Exq zXFpU6K?q?7E?`d1@FzUPDBhzT9q7f9ocWVD5Mw-5R|qhOUzwHs#1(8tOBLN79Ip_r zBQ-;S{W*%au%g~GQ?j!VLpiqgRs?{4Ok@_THeq3;>$(EHnA+zc|hT za;#);2%Wh*fZZAAchK4(0L|D^@fxB9uTsu`p|=svt8r86LJXig^*CfNPntJw*VhmW(3${&zCU zrp#R#0FTkuz;wK+7Jw#ZgXY5ojN>j@Fls6+&W%)pQ8*_A*nuF8KIzu*zx z`qP+nVl@`$%%8wujPdke(mJ+rzU1J1&sj~qJc4yKuVD=!-8hGj({OwrJ5}i^s)its vLI`c>EAcW(=A4IbrLerfQ%QUNx|Y4)L8EYozi5f800000NkvXXu0mjf3dKA@ diff --git a/web-app/build/favicon-96x96.png b/web-app/build/favicon-96x96.png deleted file mode 100644 index a151c1846839d7261a460fe349d3b282a03d2339..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2151 zcmV-t2$=VYP)-Y5F%lDvqDD;{P1Ls9rm3cB)Gykk zAxav*_=pB=)U?L;7;<%e~R<7Cdgd+oE&J$L4uf3iPJ zGI#C&TK}^jXP>>-7FA_1LPUlGdjq=x6M!+mXkeGdzib7z0iOfwfepYq?J$R>!}tsc z5!nMc2AB)XYLw}~2&bw41FL`!fH#2Gf!9=Zb273{bff?xG7?w_oPY&>zXGeW>wyP=yHxe%!fR92QVTE&xENRoXor;*z-7Rg zqWmwd1&GM*4d*TcepCvHaBKu_2L6(KyeQ#`p8zbu2E?+TaBukx_#H4RSv=Yp_%7^e z-_QYp%v;s~Ck`3`fFpo+Iv{YV%U!@O9V-AZ9JmVjx&wk$R9OqmkBw1bgRqF~1N;>@ zvXBZ4y;uM~0eXPV*w``x7~3f0fXTqr0(pE5T&k*fcz;-k03tFEcnp}7&}-DE&;|DIY#y4{!?sF-Ijp=vQQCHI`9i@T_q3k<-ln) zy2dgJFa>*0$t%Q-Z4&@E2OAJ$$*uv;C@bh0KJAAs(B%=~%EAQzPA7hvxgEHc0{Zua zLM#T>35Wl4GA@H-Z103k*6yT*uKi30$CKmu0k4*(*NIeSdT6SQa{*DB0 ziS+mJA_TZMlFV(u@UjD%!|z`cH`!Q}OaN?(7!&*(C~=09P=qTSK5qdoCu3R~Q~6}< zmERluKb0N0#3KAAz~|+_%%*lCDqa>5{5yuilRrQ#mSp(58GA2k>9e=O1rhz<6F^tl z!750AE}*-gzmEV@LTv;u#)-%<;2+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v<}UM5ONbr{{mO+KTv;t z2;()Kx<-Bjmk+;C-^_fgnJ7$pDLo1B(4lW0u@)^p^c+LDS>dx|MtVvy$(og5%oF@C*x-Fo>jMvO-AJDzac$SX{ z&Wzd2uNu#R6PwQMuqFN@l#kWlC2+kVDbdP2-)8>hhBS=rM&CQ)_jz9%<0#E?#QtN9 z4tw@V&p76MH}fxewiTngmmKjgiqT=uK7Htj|02(}VpL~a`wqqEYyh7Qqtm?Rv;6J= zwqjISvBdvLjLrt|$@cr!`vGjlsM7YlyE#T@1NdaS{LKlFSHA;=iiC42Mk%}z~7W# z5c&i}pnr`eeys(MM&Ms)7qrfq>zqc(pgltnzpT!yD_GBLPfr~%CuJQfo<>sXg(>w9m?S9 zTU2+PKKDX9qz9vVFH+=JE6Vm_`|5TCp0jx?$NQiaG0TSL-Q(cv8&6b?TFyj+u5r!n zP~&hA-Os@ch*h-j^}{+i45J+j{pO_adGCkO>?L$>xyWDLi#!WEpppGs=U8i@?xpU4 zsW6^I``cXT1I?3ppfyZ;<22|mzZ-N{M^@lL6n?5|e! zNEAtrgijZew48|Q4?)AO(bU1gp&Noc6%NP1dS@ZVut_P>As0`Res#Q*>R diff --git a/web-app/build/gcs-logo.svg b/web-app/build/gcs-logo.svg deleted file mode 100644 index 81b7d24547..0000000000 --- a/web-app/build/gcs-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/gcs.png b/web-app/build/gcs.png deleted file mode 100644 index 2322a143b57d63db0a6042ef4f2a5a364b091f68..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7804 zcmeI1_d6S2^v6?8OSML6Y0VCsbXc|NN7M|pV((FE)d)pHQB)N*TO(A|PKaG26jimG zL})_jup(Bi)c)rCM|^+yK2LwRzufaY_nzn6bKdvf^GbSXtjosA#|i)d*!1?$4)#2Tm=y<8l4c@XhEb0mW#pFFezYF4My~F~e7H4~~syAw#esMMe z^xqDC!p~I->S8k&X+GQuPdnHh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q1<{N6c1Hn#E%OsWqXYs z846bEJfJB{MaH*M%J#Cj({>3o(d5le&B(IcZ2_9TWVn+AN@kZ}n(%D6;L6>dC+#bS zOWs{CZRH|867ix5!0H==e2LcT8r^x%LM-{tT>Y~gKTCSFe6VPco8}$r{>XmOC+w!0 z!fk`G^6O2xLk8Ragn{2K<$M)k&_*)9A$FmoB=k`y{XTAdrg>)dPX!lB42g^W(Z-=0 zru2ajK8D?%zLSnHy-Fly?n00}qBv~pmEXLiJ=cZKw9%NV>T2q`w@6gT?9nj|kw*N` zIb&m6nFdo{OWsrR?c*JFSQf6B{9BWu{+q)xe;;iJ^<8vLF+>R^IzwDNzLlQ-=qb5K0hwN%G)|nE<|A`?EVCjuK5l;4pn*WFK;L* z$Q?sAztDLYSDXLBEK~YdTg@TOY^Ndstpy~1tCFI3BGX;-lyBGy>`!(|ShMKa!Y61fPjd@y@% zSeq}-nIe}v#6tWNirs|2Z3^Y^yIuwAK4Wqw=0U8bh%0dAVcCKRg*`*5=;fU)g645N zH@$1O3&J9uz0%w?!@m>91tHIoap&YOqvbV0`Z@Up0F}1vanAFM#+!6b{^wB)u$}@~ zXmC3+F(k!0DwIVkkIp_+>%A> zQyd_6{#42h2CKNj;2T%g8X08bDZ{Mx-W15h$-+Pnti1>*gI{nkvE(qzzhZC?7Y3kk z`ACogUi)z$(7pNm!9@m=xWMr8LYOV19jV4J3w@JdI>qvW0XyP<8dq~ZfBw(Of06u` ilm80m|5SovPM84(xA$BrqGAlH4A9px2G{)O9Q!})qokAo diff --git a/web-app/build/images/ob_bucket_clear.svg b/web-app/build/images/ob_bucket_clear.svg deleted file mode 100644 index 630261d0a1..0000000000 --- a/web-app/build/images/ob_bucket_clear.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/web-app/build/images/ob_bucket_filled.svg b/web-app/build/images/ob_bucket_filled.svg deleted file mode 100644 index afd4910a2e..0000000000 --- a/web-app/build/images/ob_bucket_filled.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/web-app/build/images/ob_file_clear.svg b/web-app/build/images/ob_file_clear.svg deleted file mode 100644 index 992b9a141a..0000000000 --- a/web-app/build/images/ob_file_clear.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - diff --git a/web-app/build/images/ob_file_filled.svg b/web-app/build/images/ob_file_filled.svg deleted file mode 100644 index bcdf1e54c0..0000000000 --- a/web-app/build/images/ob_file_filled.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - diff --git a/web-app/build/images/ob_folder_clear.svg b/web-app/build/images/ob_folder_clear.svg deleted file mode 100644 index 0c67aa0765..0000000000 --- a/web-app/build/images/ob_folder_clear.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - diff --git a/web-app/build/images/ob_folder_filled.svg b/web-app/build/images/ob_folder_filled.svg deleted file mode 100644 index 1c23c4551e..0000000000 --- a/web-app/build/images/ob_folder_filled.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - diff --git a/web-app/build/images/object-browser-folder-icn.svg b/web-app/build/images/object-browser-folder-icn.svg deleted file mode 100644 index fb4a28b952..0000000000 --- a/web-app/build/images/object-browser-folder-icn.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/web-app/build/images/object-browser-icn.svg b/web-app/build/images/object-browser-icn.svg deleted file mode 100644 index 111e0bbd15..0000000000 --- a/web-app/build/images/object-browser-icn.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/web-app/build/images/search-icn.svg b/web-app/build/images/search-icn.svg deleted file mode 100644 index b75ed005b9..0000000000 --- a/web-app/build/images/search-icn.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web-app/build/images/trash-icn.svg b/web-app/build/images/trash-icn.svg deleted file mode 100644 index 349d5d4aea..0000000000 --- a/web-app/build/images/trash-icn.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/web-app/build/index.html b/web-app/build/index.html deleted file mode 100644 index fea9df1d02..0000000000 --- a/web-app/build/index.html +++ /dev/null @@ -1 +0,0 @@ -Console