From 6eb9c54b3711c531bbe3e203ddd90e1e36bd744b Mon Sep 17 00:00:00 2001 From: gabek Date: Tue, 16 Aug 2022 02:47:50 +0000 Subject: [PATCH] Bundle embedded web app --- static/web/404.html | 12 +++++ static/web/404/index.html | 13 +++++- .../TFpAvV3zqrb5ci8c-rLvT/_buildManifest.js | 1 + .../_ssgManifest.js | 0 .../static/chunks/1017-c26780a26480b2de.js | 1 + .../static/chunks/1080-1a127ea7f5a8eb3d.js | 1 - .../static/chunks/1082-b00b8f63f0314247.js | 1 + .../static/chunks/1142-ff0807f5dbadb132.js | 1 + .../static/chunks/1213-222f826f28b9c729.js | 1 - .../static/chunks/1598-ffd88763d04c8753.js | 1 - .../static/chunks/1758-3a8e1364ffda64ee.js | 1 - .../static/chunks/1829-271cba4b38fde9a4.js | 1 + .../static/chunks/1829-95952d6b244c7989.js | 1 - .../static/chunks/2001-5f2f22a1a6f54f40.js | 1 + .../static/chunks/2139-c72b3a851c3b6fc9.js | 1 + .../static/chunks/2429-bed6478ce3518dc3.js | 1 - .../static/chunks/2429-cd1a27121f8cb4b6.js | 1 + .../static/chunks/3016-22415cbfddc0e38b.js | 1 + .../static/chunks/3016-4f8191e21aac2f28.js | 1 - .../static/chunks/3079-b927be19d77a268e.js | 1 + .../static/chunks/3286-6a58a49757a74053.js | 1 + .../static/chunks/3471-5307c93ff9e09c03.js | 1 - .../static/chunks/355-501bf54a6213cc0c.js | 1 + .../static/chunks/3660-8ac106c3c9d23701.js | 1 - .../static/chunks/3698-ab9819fb276ecdca.js | 1 - .../chunks/36bcf0ca-110fd889741d5f41.js | 1 - .../static/chunks/3808-976f0efc85a7b400.js | 1 - .../static/chunks/384-9cef8f24921b00dc.js | 1 + .../chunks/3fff1979-612c6162f1b345ff.js | 1 + .../static/chunks/4578-831921ce261f0555.js | 1 - .../static/chunks/4713-0a995d2f60177479.js | 1 - .../static/chunks/4763-8dc128557021d75d.js | 1 - .../static/chunks/4763-b88542f3b2d350b7.js | 1 + .../static/chunks/4935-053b4824ae67bc45.js | 1 + .../static/chunks/5046-048bb1ea8f22db65.js | 1 - .../static/chunks/5046-d432b07dbd9a0a74.js | 1 + .../static/chunks/5315-8b4116e0e1118ee9.js | 1 + .../static/chunks/5473-185a5241676edf4a.js | 1 + .../static/chunks/5473-8245209200d9ae6a.js | 1 - .../static/chunks/5938-b8bf626b6df6d168.js | 1 + .../static/chunks/5938-e5330874590115f8.js | 1 - .../static/chunks/6132-0f911799dd6dd847.js | 1 - .../static/chunks/6441-fec512f655f643f5.js | 1 - .../static/chunks/7464-bbe0a7b2b04a78ae.js | 1 + .../static/chunks/7565-1f1e940fab986d84.js | 1 + .../static/chunks/7610.95543cd3023fceae.js | 1 + .../static/chunks/7610.d72c9e9827c8fd4d.js | 1 - .../static/chunks/7751-caefc9c45cf82ac8.js | 1 - .../static/chunks/7910-7248e2d1496cf795.js | 1 + .../static/chunks/7910-82406f9d3ddb7107.js | 1 - .../static/chunks/7961-a0c15d45b4b858bb.js | 1 - .../static/chunks/7961-c8ab0146e31ca9c6.js | 1 + .../static/chunks/8091-5880357d1811013a.js | 1 + .../static/chunks/8147-c5d041f17c7deaaf.js | 1 - .../static/chunks/8837-48650c9ffc50aee6.js | 1 - .../static/chunks/9001-0de9b937fdbe661d.js | 1 + .../static/chunks/9566-aee7491143c0b1a3.js | 1 - .../static/chunks/9655-6347f487aa1205af.js | 1 - .../chunks/d3048c20-8eaf58bdb6ce3d73.js | 1 + .../chunks/d3048c20-8fa66cfdbd66e4fe.js | 1 - .../chunks/d6e1aeb5-1e3969b413cccadf.js | 1 + .../chunks/d6e1aeb5-b92b46c3ab133282.js | 1 - .../static/chunks/main-43d3d12d262e745e.js | 1 + .../static/chunks/main-95aa2df24180ff28.js | 1 - .../chunks/pages/_app-67f85ec7875ccdc4.js | 1 - .../chunks/pages/_app-89dbb51c7b00d858.js | 1 + .../chunks/pages/_app-e57b2a440c783b12.js | 1 - .../chunks/pages/_error-d39607a4676a4aa5.js | 1 - .../chunks/pages/_error-f2496e8b9fdedb89.js | 1 + .../chunks/pages/admin-a0cd5bdfc9b68a44.js | 1 - .../chunks/pages/admin-ddc16abe2a2d997e.js | 1 + .../admin/access-tokens-c94603da8d108658.js | 1 - .../admin/access-tokens-ef4cfda69ac8b2ee.js | 1 + .../pages/admin/actions-54ddd48fe24a81bd.js | 1 - .../pages/admin/actions-7c5a6b0030e5ec6a.js | 1 + .../admin/chat/messages-24eece774405b011.js | 1 - .../admin/chat/messages-af084d68aaf69be4.js | 1 + .../admin/chat/users-13d2beaee3ef9574.js | 1 - .../admin/chat/users-f8d438b5aecb5292.js | 1 + .../admin/config-chat-7c259e4c08eba285.js | 1 - .../admin/config-chat-d027691622271c60.js | 1 + .../config-federation-810a092405586c2c.js | 1 - .../config-federation-a75cf82c23e440d0.js | 1 + .../admin/config-notify-48561d4d85f054db.js | 1 + .../admin/config-notify-8d761de3184dbb6e.js | 1 - .../config-public-details-0f361a0367350382.js | 1 - .../config-public-details-31654d489de58274.js | 1 + .../config-server-details-4afad11c8d70da4a.js | 1 - .../config-server-details-cfddd10d6e1a3881.js | 1 + ...> config-social-items-9d7af265ea826f51.js} | 2 +- .../admin/config-storage-5b012c0b86cb053f.js | 1 + .../admin/config-storage-6b85d95b166b9368.js | 1 - .../admin/config-video-9e7427da1bf9e1a6.js | 1 + .../admin/config-video-ed3be0cc0782c0fd.js | 1 - .../federation/actions-0bc449504391f4c2.js | 1 - .../federation/actions-d475626c90492b9e.js | 1 + .../federation/followers-0d3616cfe89a9572.js | 1 - .../federation/followers-0f7f41f2b119c84d.js | 1 + .../admin/hardware-info-5cdcf0fd4adbc2fe.js | 1 - .../admin/hardware-info-e9038d50e44de278.js | 1 + ...ada2581372.js => help-46a096bbce5abafb.js} | 2 +- .../pages/admin/logs-55d44b7f56d109e1.js | 1 + .../pages/admin/logs-e87b7e02244a26b1.js | 1 - .../admin/stream-health-2c95e7cbb460391e.js | 1 + .../admin/stream-health-fbb48d8024a1a591.js | 1 - .../pages/admin/upgrade-27c19ef345f1a067.js | 1 + .../pages/admin/upgrade-afd3525d0630de50.js | 1 - .../admin/viewer-info-dd75479a4f6858b9.js | 1 + .../admin/viewer-info-e09a24eef77c762e.js | 1 - .../pages/admin/webhooks-20b7901946a2a414.js | 1 - .../pages/admin/webhooks-9d91ad0a0ec2bb50.js | 1 + ...bf4658.js => readonly-f54fb5897d32adcf.js} | 2 +- ...5acde.js => readwrite-eba1c9e46b587c63.js} | 2 +- .../pages/embed/video-7bc6ce2f7f099935.js | 1 + .../pages/embed/video-d3036826ff291c4e.js | 1 - .../chunks/pages/index-8b6e4a6eca5c5c55.js | 1 + .../chunks/pages/index-f0ef6783862a1265.js | 1 - .../chunks/polyfills-5cd94c89d3acac5f.js | 1 - .../chunks/polyfills-c67a75d1b6f99dc8.js | 1 + .../static/chunks/webpack-4fc08a26fb5ee721.js | 1 + .../static/chunks/webpack-621419216d39691d.js | 1 - ...3f9ad06a56dc3.css => 1f5ee95fffd43a71.css} | 2 +- .../web/_next/static/css/4c06ee5b22e75406.css | 1 + .../web/_next/static/css/6c194f7ca5d8ef6e.css | 1 - .../web/_next/static/css/8048f473def6f541.css | 2 - .../web/_next/static/css/aaed09949e79ccfe.css | 2 + .../web/_next/static/css/c049ccd133a8685c.css | 1 - .../web/_next/static/css/e58ff9b2f27873fe.css | 1 - .../web/_next/static/css/e70d97a4c102bec4.css | 1 + .../web/_next/static/css/f58d98f52dc8743c.css | 1 + .../jtIXjBUjrATfh0Er1orzc/_buildManifest.js | 1 - .../_middlewareManifest.js | 1 - .../_next/static/media/airplay.5f1a7ef4.png | Bin 0 -> 160 bytes ...xt-variable-wghtOnly-normal.0dadfc54.woff2 | Bin 0 -> 49072 bytes ...ic-variable-wghtOnly-normal.fff15727.woff2 | Bin 0 -> 24744 bytes ...xt-variable-wghtOnly-normal.a97d9cb2.woff2 | Bin 0 -> 4492 bytes ...ek-variable-wghtOnly-normal.90755a91.woff2 | Bin 0 -> 20872 bytes ...ew-variable-wghtOnly-normal.74fb4c9e.woff2 | Bin 0 -> 16328 bytes ...xt-variable-wghtOnly-normal.6888923f.woff2 | Bin 0 -> 31448 bytes ...in-variable-wghtOnly-normal.154dd445.woff2 | Bin 0 -> 44800 bytes ...se-variable-wghtOnly-normal.9cafbbcd.woff2 | Bin 0 -> 14072 bytes .../poppins-all-400-normal.268c923b.woff | Bin 0 -> 66572 bytes .../poppins-all-600-normal.0e22e091.woff | Bin 0 -> 66232 bytes ...ppins-devanagari-400-normal.87c72f23.woff2 | Bin 0 -> 39564 bytes ...ppins-devanagari-600-normal.3828f203.woff2 | Bin 0 -> 39324 bytes .../poppins-latin-400-normal.916d3686.woff2 | Bin 0 -> 7884 bytes .../poppins-latin-600-normal.d8692086.woff2 | Bin 0 -> 8000 bytes ...oppins-latin-ext-400-normal.591327bf.woff2 | Bin 0 -> 5544 bytes ...oppins-latin-ext-600-normal.10939fee.woff2 | Bin 0 -> 5512 bytes static/web/admin/access-tokens/index.html | 2 +- static/web/admin/actions/index.html | 2 +- static/web/admin/chat/messages/index.html | 2 +- static/web/admin/chat/users/index.html | 2 +- static/web/admin/config-chat/index.html | 2 +- static/web/admin/config-federation/index.html | 2 +- static/web/admin/config-notify/index.html | 2 +- .../admin/config-public-details/index.html | 2 +- .../admin/config-server-details/index.html | 2 +- .../web/admin/config-social-items/index.html | 2 +- static/web/admin/config-storage/index.html | 2 +- static/web/admin/config-video/index.html | 2 +- .../web/admin/federation/actions/index.html | 2 +- .../web/admin/federation/followers/index.html | 2 +- static/web/admin/hardware-info/index.html | 20 +-------- static/web/admin/help/index.html | 2 +- static/web/admin/index.html | 2 +- static/web/admin/logs/index.html | 2 +- static/web/admin/stream-health/index.html | 2 +- static/web/admin/upgrade/index.html | 2 +- static/web/admin/viewer-info/index.html | 2 +- static/web/admin/webhooks/index.html | 2 +- static/web/embed/chat/readonly/index.html | 2 +- static/web/embed/chat/readwrite/index.html | 2 +- static/web/embed/video/index.html | 2 +- static/web/favicon.ico | Bin 0 -> 1150 bytes .../web/img/favicon/android-icon-144x144.png | Bin 0 -> 10301 bytes .../web/img/favicon/android-icon-192x192.png | Bin 0 -> 14025 bytes static/web/img/favicon/android-icon-36x36.png | Bin 0 -> 1732 bytes static/web/img/favicon/android-icon-48x48.png | Bin 0 -> 2507 bytes static/web/img/favicon/android-icon-72x72.png | Bin 0 -> 4056 bytes static/web/img/favicon/android-icon-96x96.png | Bin 0 -> 5912 bytes static/web/img/favicon/apple-icon-114x114.png | Bin 0 -> 7351 bytes static/web/img/favicon/apple-icon-120x120.png | Bin 0 -> 7894 bytes static/web/img/favicon/apple-icon-144x144.png | Bin 0 -> 10301 bytes static/web/img/favicon/apple-icon-152x152.png | Bin 0 -> 10939 bytes static/web/img/favicon/apple-icon-180x180.png | Bin 0 -> 13788 bytes static/web/img/favicon/apple-icon-57x57.png | Bin 0 -> 3051 bytes static/web/img/favicon/apple-icon-60x60.png | Bin 0 -> 3261 bytes static/web/img/favicon/apple-icon-72x72.png | Bin 0 -> 4056 bytes static/web/img/favicon/apple-icon-76x76.png | Bin 0 -> 4361 bytes .../img/favicon/apple-icon-precomposed.png | Bin 0 -> 13981 bytes static/web/img/favicon/apple-icon.png | Bin 0 -> 13981 bytes static/web/img/favicon/browserconfig.xml | 2 + static/web/img/favicon/favicon-16x16.png | Bin 0 -> 661 bytes static/web/img/favicon/favicon-32x32.png | Bin 0 -> 1506 bytes static/web/img/favicon/favicon-96x96.png | Bin 0 -> 5912 bytes static/web/img/favicon/ms-icon-144x144.png | Bin 0 -> 10301 bytes static/web/img/favicon/ms-icon-150x150.png | Bin 0 -> 10724 bytes static/web/img/favicon/ms-icon-310x310.png | Bin 0 -> 29851 bytes static/web/img/favicon/ms-icon-70x70.png | Bin 0 -> 3883 bytes static/web/index.html | 2 +- static/web/manifest.json | 42 ++++++++++++++++++ 202 files changed, 160 insertions(+), 115 deletions(-) create mode 100644 static/web/404.html create mode 100644 static/web/_next/static/TFpAvV3zqrb5ci8c-rLvT/_buildManifest.js rename static/web/_next/static/{jtIXjBUjrATfh0Er1orzc => TFpAvV3zqrb5ci8c-rLvT}/_ssgManifest.js (100%) create mode 100644 static/web/_next/static/chunks/1017-c26780a26480b2de.js delete mode 100644 static/web/_next/static/chunks/1080-1a127ea7f5a8eb3d.js create mode 100644 static/web/_next/static/chunks/1082-b00b8f63f0314247.js create mode 100644 static/web/_next/static/chunks/1142-ff0807f5dbadb132.js delete mode 100644 static/web/_next/static/chunks/1213-222f826f28b9c729.js delete mode 100644 static/web/_next/static/chunks/1598-ffd88763d04c8753.js delete mode 100644 static/web/_next/static/chunks/1758-3a8e1364ffda64ee.js create mode 100644 static/web/_next/static/chunks/1829-271cba4b38fde9a4.js delete mode 100644 static/web/_next/static/chunks/1829-95952d6b244c7989.js create mode 100644 static/web/_next/static/chunks/2001-5f2f22a1a6f54f40.js create mode 100644 static/web/_next/static/chunks/2139-c72b3a851c3b6fc9.js delete mode 100644 static/web/_next/static/chunks/2429-bed6478ce3518dc3.js create mode 100644 static/web/_next/static/chunks/2429-cd1a27121f8cb4b6.js create mode 100644 static/web/_next/static/chunks/3016-22415cbfddc0e38b.js delete mode 100644 static/web/_next/static/chunks/3016-4f8191e21aac2f28.js create mode 100644 static/web/_next/static/chunks/3079-b927be19d77a268e.js create mode 100644 static/web/_next/static/chunks/3286-6a58a49757a74053.js delete mode 100644 static/web/_next/static/chunks/3471-5307c93ff9e09c03.js create mode 100644 static/web/_next/static/chunks/355-501bf54a6213cc0c.js delete mode 100644 static/web/_next/static/chunks/3660-8ac106c3c9d23701.js delete mode 100644 static/web/_next/static/chunks/3698-ab9819fb276ecdca.js delete mode 100644 static/web/_next/static/chunks/36bcf0ca-110fd889741d5f41.js delete mode 100644 static/web/_next/static/chunks/3808-976f0efc85a7b400.js create mode 100644 static/web/_next/static/chunks/384-9cef8f24921b00dc.js create mode 100644 static/web/_next/static/chunks/3fff1979-612c6162f1b345ff.js delete mode 100644 static/web/_next/static/chunks/4578-831921ce261f0555.js delete mode 100644 static/web/_next/static/chunks/4713-0a995d2f60177479.js delete mode 100644 static/web/_next/static/chunks/4763-8dc128557021d75d.js create mode 100644 static/web/_next/static/chunks/4763-b88542f3b2d350b7.js create mode 100644 static/web/_next/static/chunks/4935-053b4824ae67bc45.js delete mode 100644 static/web/_next/static/chunks/5046-048bb1ea8f22db65.js create mode 100644 static/web/_next/static/chunks/5046-d432b07dbd9a0a74.js create mode 100644 static/web/_next/static/chunks/5315-8b4116e0e1118ee9.js create mode 100644 static/web/_next/static/chunks/5473-185a5241676edf4a.js delete mode 100644 static/web/_next/static/chunks/5473-8245209200d9ae6a.js create mode 100644 static/web/_next/static/chunks/5938-b8bf626b6df6d168.js delete mode 100644 static/web/_next/static/chunks/5938-e5330874590115f8.js delete mode 100644 static/web/_next/static/chunks/6132-0f911799dd6dd847.js delete mode 100644 static/web/_next/static/chunks/6441-fec512f655f643f5.js create mode 100644 static/web/_next/static/chunks/7464-bbe0a7b2b04a78ae.js create mode 100644 static/web/_next/static/chunks/7565-1f1e940fab986d84.js create mode 100644 static/web/_next/static/chunks/7610.95543cd3023fceae.js delete mode 100644 static/web/_next/static/chunks/7610.d72c9e9827c8fd4d.js delete mode 100644 static/web/_next/static/chunks/7751-caefc9c45cf82ac8.js create mode 100644 static/web/_next/static/chunks/7910-7248e2d1496cf795.js delete mode 100644 static/web/_next/static/chunks/7910-82406f9d3ddb7107.js delete mode 100644 static/web/_next/static/chunks/7961-a0c15d45b4b858bb.js create mode 100644 static/web/_next/static/chunks/7961-c8ab0146e31ca9c6.js create mode 100644 static/web/_next/static/chunks/8091-5880357d1811013a.js delete mode 100644 static/web/_next/static/chunks/8147-c5d041f17c7deaaf.js delete mode 100644 static/web/_next/static/chunks/8837-48650c9ffc50aee6.js create mode 100644 static/web/_next/static/chunks/9001-0de9b937fdbe661d.js delete mode 100644 static/web/_next/static/chunks/9566-aee7491143c0b1a3.js delete mode 100644 static/web/_next/static/chunks/9655-6347f487aa1205af.js create mode 100644 static/web/_next/static/chunks/d3048c20-8eaf58bdb6ce3d73.js delete mode 100644 static/web/_next/static/chunks/d3048c20-8fa66cfdbd66e4fe.js create mode 100644 static/web/_next/static/chunks/d6e1aeb5-1e3969b413cccadf.js delete mode 100644 static/web/_next/static/chunks/d6e1aeb5-b92b46c3ab133282.js create mode 100644 static/web/_next/static/chunks/main-43d3d12d262e745e.js delete mode 100644 static/web/_next/static/chunks/main-95aa2df24180ff28.js delete mode 100644 static/web/_next/static/chunks/pages/_app-67f85ec7875ccdc4.js create mode 100644 static/web/_next/static/chunks/pages/_app-89dbb51c7b00d858.js delete mode 100644 static/web/_next/static/chunks/pages/_app-e57b2a440c783b12.js delete mode 100644 static/web/_next/static/chunks/pages/_error-d39607a4676a4aa5.js create mode 100644 static/web/_next/static/chunks/pages/_error-f2496e8b9fdedb89.js delete mode 100644 static/web/_next/static/chunks/pages/admin-a0cd5bdfc9b68a44.js create mode 100644 static/web/_next/static/chunks/pages/admin-ddc16abe2a2d997e.js delete mode 100644 static/web/_next/static/chunks/pages/admin/access-tokens-c94603da8d108658.js create mode 100644 static/web/_next/static/chunks/pages/admin/access-tokens-ef4cfda69ac8b2ee.js delete mode 100644 static/web/_next/static/chunks/pages/admin/actions-54ddd48fe24a81bd.js create mode 100644 static/web/_next/static/chunks/pages/admin/actions-7c5a6b0030e5ec6a.js delete mode 100644 static/web/_next/static/chunks/pages/admin/chat/messages-24eece774405b011.js create mode 100644 static/web/_next/static/chunks/pages/admin/chat/messages-af084d68aaf69be4.js delete mode 100644 static/web/_next/static/chunks/pages/admin/chat/users-13d2beaee3ef9574.js create mode 100644 static/web/_next/static/chunks/pages/admin/chat/users-f8d438b5aecb5292.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config-chat-7c259e4c08eba285.js create mode 100644 static/web/_next/static/chunks/pages/admin/config-chat-d027691622271c60.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config-federation-810a092405586c2c.js create mode 100644 static/web/_next/static/chunks/pages/admin/config-federation-a75cf82c23e440d0.js create mode 100644 static/web/_next/static/chunks/pages/admin/config-notify-48561d4d85f054db.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config-notify-8d761de3184dbb6e.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config-public-details-0f361a0367350382.js create mode 100644 static/web/_next/static/chunks/pages/admin/config-public-details-31654d489de58274.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config-server-details-4afad11c8d70da4a.js create mode 100644 static/web/_next/static/chunks/pages/admin/config-server-details-cfddd10d6e1a3881.js rename static/web/_next/static/chunks/pages/admin/{config-social-items-55ec57d618bbe163.js => config-social-items-9d7af265ea826f51.js} (58%) create mode 100644 static/web/_next/static/chunks/pages/admin/config-storage-5b012c0b86cb053f.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config-storage-6b85d95b166b9368.js create mode 100644 static/web/_next/static/chunks/pages/admin/config-video-9e7427da1bf9e1a6.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config-video-ed3be0cc0782c0fd.js delete mode 100644 static/web/_next/static/chunks/pages/admin/federation/actions-0bc449504391f4c2.js create mode 100644 static/web/_next/static/chunks/pages/admin/federation/actions-d475626c90492b9e.js delete mode 100644 static/web/_next/static/chunks/pages/admin/federation/followers-0d3616cfe89a9572.js create mode 100644 static/web/_next/static/chunks/pages/admin/federation/followers-0f7f41f2b119c84d.js delete mode 100644 static/web/_next/static/chunks/pages/admin/hardware-info-5cdcf0fd4adbc2fe.js create mode 100644 static/web/_next/static/chunks/pages/admin/hardware-info-e9038d50e44de278.js rename static/web/_next/static/chunks/pages/admin/{help-274092ada2581372.js => help-46a096bbce5abafb.js} (92%) create mode 100644 static/web/_next/static/chunks/pages/admin/logs-55d44b7f56d109e1.js delete mode 100644 static/web/_next/static/chunks/pages/admin/logs-e87b7e02244a26b1.js create mode 100644 static/web/_next/static/chunks/pages/admin/stream-health-2c95e7cbb460391e.js delete mode 100644 static/web/_next/static/chunks/pages/admin/stream-health-fbb48d8024a1a591.js create mode 100644 static/web/_next/static/chunks/pages/admin/upgrade-27c19ef345f1a067.js delete mode 100644 static/web/_next/static/chunks/pages/admin/upgrade-afd3525d0630de50.js create mode 100644 static/web/_next/static/chunks/pages/admin/viewer-info-dd75479a4f6858b9.js delete mode 100644 static/web/_next/static/chunks/pages/admin/viewer-info-e09a24eef77c762e.js delete mode 100644 static/web/_next/static/chunks/pages/admin/webhooks-20b7901946a2a414.js create mode 100644 static/web/_next/static/chunks/pages/admin/webhooks-9d91ad0a0ec2bb50.js rename static/web/_next/static/chunks/pages/embed/chat/{readonly-c9e330a5eabf4658.js => readonly-f54fb5897d32adcf.js} (53%) rename static/web/_next/static/chunks/pages/embed/chat/{readwrite-e50c81f93aa5acde.js => readwrite-eba1c9e46b587c63.js} (50%) create mode 100644 static/web/_next/static/chunks/pages/embed/video-7bc6ce2f7f099935.js delete mode 100644 static/web/_next/static/chunks/pages/embed/video-d3036826ff291c4e.js create mode 100644 static/web/_next/static/chunks/pages/index-8b6e4a6eca5c5c55.js delete mode 100644 static/web/_next/static/chunks/pages/index-f0ef6783862a1265.js delete mode 100644 static/web/_next/static/chunks/polyfills-5cd94c89d3acac5f.js create mode 100644 static/web/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js create mode 100644 static/web/_next/static/chunks/webpack-4fc08a26fb5ee721.js delete mode 100644 static/web/_next/static/chunks/webpack-621419216d39691d.js rename static/web/_next/static/css/{e773f9ad06a56dc3.css => 1f5ee95fffd43a71.css} (74%) create mode 100644 static/web/_next/static/css/4c06ee5b22e75406.css delete mode 100644 static/web/_next/static/css/6c194f7ca5d8ef6e.css delete mode 100644 static/web/_next/static/css/8048f473def6f541.css create mode 100644 static/web/_next/static/css/aaed09949e79ccfe.css delete mode 100644 static/web/_next/static/css/c049ccd133a8685c.css delete mode 100644 static/web/_next/static/css/e58ff9b2f27873fe.css create mode 100644 static/web/_next/static/css/e70d97a4c102bec4.css create mode 100644 static/web/_next/static/css/f58d98f52dc8743c.css delete mode 100644 static/web/_next/static/jtIXjBUjrATfh0Er1orzc/_buildManifest.js delete mode 100644 static/web/_next/static/jtIXjBUjrATfh0Er1orzc/_middlewareManifest.js create mode 100644 static/web/_next/static/media/airplay.5f1a7ef4.png create mode 100644 static/web/_next/static/media/open-sans-cyrillic-ext-variable-wghtOnly-normal.0dadfc54.woff2 create mode 100644 static/web/_next/static/media/open-sans-cyrillic-variable-wghtOnly-normal.fff15727.woff2 create mode 100644 static/web/_next/static/media/open-sans-greek-ext-variable-wghtOnly-normal.a97d9cb2.woff2 create mode 100644 static/web/_next/static/media/open-sans-greek-variable-wghtOnly-normal.90755a91.woff2 create mode 100644 static/web/_next/static/media/open-sans-hebrew-variable-wghtOnly-normal.74fb4c9e.woff2 create mode 100644 static/web/_next/static/media/open-sans-latin-ext-variable-wghtOnly-normal.6888923f.woff2 create mode 100644 static/web/_next/static/media/open-sans-latin-variable-wghtOnly-normal.154dd445.woff2 create mode 100644 static/web/_next/static/media/open-sans-vietnamese-variable-wghtOnly-normal.9cafbbcd.woff2 create mode 100644 static/web/_next/static/media/poppins-all-400-normal.268c923b.woff create mode 100644 static/web/_next/static/media/poppins-all-600-normal.0e22e091.woff create mode 100644 static/web/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2 create mode 100644 static/web/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2 create mode 100644 static/web/_next/static/media/poppins-latin-400-normal.916d3686.woff2 create mode 100644 static/web/_next/static/media/poppins-latin-600-normal.d8692086.woff2 create mode 100644 static/web/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2 create mode 100644 static/web/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2 create mode 100644 static/web/favicon.ico create mode 100644 static/web/img/favicon/android-icon-144x144.png create mode 100644 static/web/img/favicon/android-icon-192x192.png create mode 100644 static/web/img/favicon/android-icon-36x36.png create mode 100644 static/web/img/favicon/android-icon-48x48.png create mode 100644 static/web/img/favicon/android-icon-72x72.png create mode 100644 static/web/img/favicon/android-icon-96x96.png create mode 100644 static/web/img/favicon/apple-icon-114x114.png create mode 100644 static/web/img/favicon/apple-icon-120x120.png create mode 100644 static/web/img/favicon/apple-icon-144x144.png create mode 100644 static/web/img/favicon/apple-icon-152x152.png create mode 100644 static/web/img/favicon/apple-icon-180x180.png create mode 100644 static/web/img/favicon/apple-icon-57x57.png create mode 100644 static/web/img/favicon/apple-icon-60x60.png create mode 100644 static/web/img/favicon/apple-icon-72x72.png create mode 100644 static/web/img/favicon/apple-icon-76x76.png create mode 100644 static/web/img/favicon/apple-icon-precomposed.png create mode 100644 static/web/img/favicon/apple-icon.png create mode 100644 static/web/img/favicon/browserconfig.xml create mode 100644 static/web/img/favicon/favicon-16x16.png create mode 100644 static/web/img/favicon/favicon-32x32.png create mode 100644 static/web/img/favicon/favicon-96x96.png create mode 100644 static/web/img/favicon/ms-icon-144x144.png create mode 100644 static/web/img/favicon/ms-icon-150x150.png create mode 100644 static/web/img/favicon/ms-icon-310x310.png create mode 100644 static/web/img/favicon/ms-icon-70x70.png create mode 100644 static/web/manifest.json diff --git a/static/web/404.html b/static/web/404.html new file mode 100644 index 000000000..e55203c22 --- /dev/null +++ b/static/web/404.html @@ -0,0 +1,12 @@ +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/404/index.html b/static/web/404/index.html index 9267bc647..e55203c22 100644 --- a/static/web/404/index.html +++ b/static/web/404/index.html @@ -1 +1,12 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/_next/static/TFpAvV3zqrb5ci8c-rLvT/_buildManifest.js b/static/web/_next/static/TFpAvV3zqrb5ci8c-rLvT/_buildManifest.js new file mode 100644 index 000000000..9f827b3d9 --- /dev/null +++ b/static/web/_next/static/TFpAvV3zqrb5ci8c-rLvT/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(a,s,c,e,i,t,n,d,f,o,h,m,b,u,r,g,k,j,p,l){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[h,"static/chunks/d3048c20-8eaf58bdb6ce3d73.js",a,e,i,m,b,u,"static/chunks/3079-b927be19d77a268e.js",r,"static/css/4c06ee5b22e75406.css","static/chunks/pages/index-8b6e4a6eca5c5c55.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,n,g,"static/chunks/3016-22415cbfddc0e38b.js","static/chunks/pages/admin-ddc16abe2a2d997e.js"],"/admin/access-tokens":[a,s,c,"static/chunks/pages/admin/access-tokens-ef4cfda69ac8b2ee.js"],"/admin/actions":[a,s,"static/chunks/pages/admin/actions-7c5a6b0030e5ec6a.js"],"/admin/chat/messages":[k,a,s,c,i,j,"static/chunks/pages/admin/chat/messages-af084d68aaf69be4.js"],"/admin/chat/users":[k,a,s,c,e,i,j,"static/chunks/pages/admin/chat/users-f8d438b5aecb5292.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-d027691622271c60.js"],"/admin/config-federation":["static/chunks/1829-271cba4b38fde9a4.js","static/chunks/pages/admin/config-federation-a75cf82c23e440d0.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-48561d4d85f054db.js"],"/admin/config-public-details":[a,s,d,"static/css/1f5ee95fffd43a71.css","static/chunks/1142-ff0807f5dbadb132.js",p,"static/chunks/pages/admin/config-public-details-31654d489de58274.js"],"/admin/config-server-details":[l,"static/chunks/pages/admin/config-server-details-cfddd10d6e1a3881.js"],"/admin/config-social-items":[a,s,p,"static/chunks/pages/admin/config-social-items-9d7af265ea826f51.js"],"/admin/config-storage":["static/chunks/5473-185a5241676edf4a.js","static/chunks/pages/admin/config-storage-5b012c0b86cb053f.js"],"/admin/config-video":[a,s,l,"static/chunks/7565-1f1e940fab986d84.js","static/chunks/pages/admin/config-video-9e7427da1bf9e1a6.js"],"/admin/federation/actions":[a,s,c,"static/chunks/pages/admin/federation/actions-d475626c90492b9e.js"],"/admin/federation/followers":[a,s,c,e,"static/chunks/pages/admin/federation/followers-0f7f41f2b119c84d.js"],"/admin/hardware-info":[f,c,e,t,n,o,d,"static/chunks/pages/admin/hardware-info-e9038d50e44de278.js"],"/admin/help":[e,t,u,"static/chunks/5046-d432b07dbd9a0a74.js","static/chunks/pages/admin/help-46a096bbce5abafb.js"],"/admin/logs":[a,s,c,g,"static/chunks/pages/admin/logs-55d44b7f56d109e1.js"],"/admin/stream-health":[f,c,e,t,n,o,"static/chunks/pages/admin/stream-health-2c95e7cbb460391e.js"],"/admin/upgrade":[a,s,"static/chunks/9001-0de9b937fdbe661d.js","static/chunks/pages/admin/upgrade-27c19ef345f1a067.js"],"/admin/viewer-info":[f,a,s,c,e,i,t,n,o,d,"static/chunks/pages/admin/viewer-info-dd75479a4f6858b9.js"],"/admin/webhooks":[a,s,"static/chunks/pages/admin/webhooks-9d91ad0a0ec2bb50.js"],"/embed/chat/readonly":["static/chunks/pages/embed/chat/readonly-f54fb5897d32adcf.js"],"/embed/chat/readwrite":["static/chunks/pages/embed/chat/readwrite-eba1c9e46b587c63.js"],"/embed/video":[h,i,m,b,r,"static/css/f58d98f52dc8743c.css","static/chunks/pages/embed/video-7bc6ce2f7f099935.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/384-9cef8f24921b00dc.js","static/chunks/355-501bf54a6213cc0c.js","static/chunks/8091-5880357d1811013a.js","static/chunks/7961-c8ab0146e31ca9c6.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/5315-8b4116e0e1118ee9.js","static/chunks/4763-b88542f3b2d350b7.js","static/chunks/7910-7248e2d1496cf795.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-1e3969b413cccadf.js","static/css/e70d97a4c102bec4.css","static/chunks/2001-5f2f22a1a6f54f40.js","static/chunks/1082-b00b8f63f0314247.js","static/chunks/4935-053b4824ae67bc45.js","static/chunks/2429-cd1a27121f8cb4b6.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/7464-bbe0a7b2b04a78ae.js","static/chunks/1017-c26780a26480b2de.js","static/chunks/3286-6a58a49757a74053.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/jtIXjBUjrATfh0Er1orzc/_ssgManifest.js b/static/web/_next/static/TFpAvV3zqrb5ci8c-rLvT/_ssgManifest.js similarity index 100% rename from static/web/_next/static/jtIXjBUjrATfh0Er1orzc/_ssgManifest.js rename to static/web/_next/static/TFpAvV3zqrb5ci8c-rLvT/_ssgManifest.js diff --git a/static/web/_next/static/chunks/1017-c26780a26480b2de.js b/static/web/_next/static/chunks/1017-c26780a26480b2de.js new file mode 100644 index 000000000..673adaf66 --- /dev/null +++ b/static/web/_next/static/chunks/1017-c26780a26480b2de.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1017],{91017:function(e,n,a){a.d(n,{Z:function(){return O}});var t=a(47568),s=a(14924),l=a(26042),i=a(69396),c=a(29815),o=a(34051),r=a.n(o),u=a(85893),d=a(67294),p=a(84485),f=a(71577),m=a(69677),h=a(10355),x=a(85402),v=a(48689),j=a(38939),N=a(58827),k=a(25964);function Z(e){var n=e.iconList,a=e.selectedOption,t=e.onSelected,s=""===a?null:a;return(0,u.jsxs)("div",{className:"social-dropdown-container",children:[(0,u.jsx)("p",{className:"description",children:"If you are looking for a platform name not on this list, please select Other and type in your own name. A logo will not be provided."}),(0,u.jsxs)("div",{className:"formfield-container",children:[(0,u.jsx)("div",{className:"label-side",children:(0,u.jsx)("span",{className:"formfield-label",children:"Social Platform"})}),(0,u.jsx)("div",{className:"input-side",children:(0,u.jsxs)(j.Z,{style:{width:240},className:"social-dropdown",placeholder:"Social platform...",defaultValue:s,value:s,onSelect:function(e){t&&t(e)},children:[n.map((function(e){var n=e.platform,a=e.icon,t=e.key,s="".concat(N.WB).concat(a.slice(1));return(0,u.jsxs)(j.Z.Option,{className:"social-option",value:t,children:[(0,u.jsx)("span",{className:"option-icon",children:(0,u.jsx)("img",{src:s,alt:"",className:"option-icon"})}),(0,u.jsx)("span",{className:"option-label",children:n})]},"platform-".concat(t))})),(0,u.jsx)(j.Z.Option,{className:"social-option",value:k.z_,children:"Other..."},"platform-".concat(k.z_))]})})]})]})}var S=a(35159),b=a(19411),y=a(13468),g=a(83192),w=a(78464),C=p.Z.Title;function O(){var e=(0,d.useState)([]),n=e[0],a=e[1],o=(0,d.useState)([]),p=o[0],j=o[1],O=(0,d.useState)(!1),z=O[0],_=O[1],E=(0,d.useState)(!1),I=E[0],T=E[1],H=(0,d.useState)(!1),L=H[0],P=H[1],A=(0,d.useState)(-1),B=A[0],U=A[1],D=(0,d.useState)(k.wC),V=D[0],W=D[1],F=(0,d.useState)(null),K=F[0],Q=F[1],R=(0,d.useContext)(S.aC)||{},Y=R.serverConfig,$=R.setFieldInConfigState,q=Y.instanceDetails,G=q.socialHandles,J=null,M=function(){var e=(0,t.Z)(r().mark((function e(){var n,t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,N.rQ)(N.$i,{auth:!1});case 3:n=e.sent,t=Object.keys(n).map((function(e){return(0,l.Z)({key:e},n[e])})),a(t),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),X=function(e){return n.find((function(n){return n.key===e}))||!1},ee=""!==V.platform&&!n.find((function(e){return e.key===V.platform}));(0,d.useEffect)((function(){M()}),[]),(0,d.useEffect)((function(){q.socialHandles&&j(G)}),[q]);var ne=function(){Q(null),J=null,clearTimeout(J)},ae=function(){_(!1),U(-1),T(!1),P(!1),W((0,l.Z)({},k.wC))},te=function(){ae()},se=function(e,n){W((0,i.Z)((0,l.Z)({},V),(0,s.Z)({},e,n)))},le=function(){var e=(0,t.Z)(r().mark((function e(n){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,k.Si)({apiPath:k.c9,data:{value:n},onSuccess:function(){$({fieldName:"socialHandles",value:n,path:"instanceDetails"}),P(!1),te(),Q((0,g.kg)(g.zv)),J=setTimeout(ne,k.sI)},onError:function(e){Q((0,g.kg)(g.Un,"There was an error: ".concat(e))),P(!1),J=setTimeout(ne,k.sI)}});case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),ie=[{title:"Social Link",dataIndex:"",key:"combo",render:function(e,n){var a=n.platform,t=n.url,s=X(a);if(!s)return(0,u.jsx)("div",{className:"social-handle-cell",children:(0,u.jsxs)("p",{className:"option-label",children:[(0,u.jsx)("strong",{children:a}),(0,u.jsx)("span",{className:"handle-url",title:t,children:t})]})});var l=s.icon,i=s.platform,c="".concat(N.WB).concat(l.slice(1));return(0,u.jsxs)("div",{className:"social-handle-cell",children:[(0,u.jsx)("span",{className:"option-icon",children:(0,u.jsx)("img",{src:c,alt:"",className:"option-icon"})}),(0,u.jsxs)("p",{className:"option-label",children:[(0,u.jsx)("strong",{children:i}),(0,u.jsx)("span",{className:"handle-url",title:t,children:t})]})]})}},{title:"",dataIndex:"",key:"edit",render:function(e,n,a){return(0,u.jsxs)("div",{className:"actions",children:[(0,u.jsx)(f.Z,{size:"small",onClick:function(){var e=p[a];U(a),W((0,l.Z)({},e)),_(!0),X(e.platform)||T(!0)},children:"Edit"}),(0,u.jsx)(f.Z,{className:"delete-button",icon:(0,u.jsx)(v.Z,{}),size:"small",onClick:function(){return function(e){var n=(0,c.Z)(p);n.splice(e,1),le(n)}(a)}})]})}}],ce={disabled:!(0,b.Z)(V.url)},oe=(0,u.jsxs)("div",{className:"other-field-container formfield-container",children:[(0,u.jsx)("div",{className:"label-side"}),(0,u.jsx)("div",{className:"input-side",children:(0,u.jsx)(m.Z,{placeholder:"Other platform name",defaultValue:V.platform,onChange:function(e){var n=e.target.value;se("platform",n)}})})]});return(0,u.jsxs)("div",{className:"social-links-edit-container",children:[(0,u.jsx)(C,{level:3,className:"section-title",children:"Your Social Handles"}),(0,u.jsx)("p",{className:"description",children:"Add all your social media handles and links to your other profiles here."}),(0,u.jsx)(w.Z,{status:K}),(0,u.jsx)(h.Z,{className:"social-handles-table",pagination:!1,size:"small",rowKey:function(e){return"".concat(e.platform,"-").concat(e.url)},columns:ie,dataSource:p}),(0,u.jsx)(x.Z,{title:"Edit Social Handle",visible:z,onOk:function(){P(!0);var e=p.length?(0,c.Z)(p):[];-1===B?e.push(V):e.splice(B,1,V),le(e)},onCancel:te,confirmLoading:L,okButtonProps:ce,children:(0,u.jsxs)("div",{className:"social-handle-modal-content",children:[(0,u.jsx)(Z,{iconList:n,selectedOption:ee?k.z_:V.platform,onSelected:function(e){e===k.z_?(T(!0),se("platform","")):(T(!1),se("platform",e))}}),I&&oe,(0,u.jsx)("br",{}),(0,u.jsx)(y.ZP,{fieldName:"social-url",label:"URL",placeholder:{mastodon:"https://mastodon.social/@username",twitter:"https://twitter.com/username"}[V.platform]||"Url to page",value:V.url,onChange:function(e){var n=e.value;se("url",n)},useTrim:!0,type:"url",pattern:b.a}),(0,u.jsx)(w.Z,{status:K})]})}),(0,u.jsx)("br",{}),(0,u.jsx)(f.Z,{type:"primary",onClick:function(){ae(),_(!0)},children:"Add a new social link"})]})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1080-1a127ea7f5a8eb3d.js b/static/web/_next/static/chunks/1080-1a127ea7f5a8eb3d.js deleted file mode 100644 index 585f9fa0b..000000000 --- a/static/web/_next/static/chunks/1080-1a127ea7f5a8eb3d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1080],{31877:function(t,e,n){"use strict";var r=n(53328);r.kL.register(...r.zX),e.Z=r.kL},3940:function(t,e,n){"use strict";n.d(e,{$:function(){return a},A:function(){return _e},B:function(){return tt},C:function(){return be},D:function(){return v},E:function(){return on},F:function(){return qe},G:function(){return cn},H:function(){return N},I:function(){return o},J:function(){return sn},K:function(){return Ze},L:function(){return Y},M:function(){return Q},N:function(){return g},O:function(){return x},P:function(){return j},Q:function(){return ve},R:function(){return K},S:function(){return Kt},T:function(){return L},U:function(){return at},V:function(){return te},W:function(){return oe},X:function(){return ce},Y:function(){return ie},Z:function(){return me},_:function(){return Te},a:function(){return xe},a0:function(){return s},a1:function(){return Xt},a2:function(){return C},a3:function(){return S},a4:function(){return $t},a5:function(){return P},a6:function(){return Ee},a7:function(){return Se},a8:function(){return Pe},a9:function(){return k},aA:function(){return yn},aB:function(){return u},aC:function(){return et},aD:function(){return Z},aE:function(){return V},aF:function(){return J},aG:function(){return $},aH:function(){return G},aI:function(){return Gt},aJ:function(){return Ce},aK:function(){return Me},aa:function(){return l},ab:function(){return i},ac:function(){return an},ad:function(){return ee},ae:function(){return R},af:function(){return w},ag:function(){return D},ah:function(){return st},ai:function(){return de},aj:function(){return Je},ak:function(){return wn},al:function(){return vn},am:function(){return ln},an:function(){return fn},ao:function(){return un},ap:function(){return ae},aq:function(){return se},ar:function(){return ne},as:function(){return le},at:function(){return ge},au:function(){return ye},av:function(){return xn},aw:function(){return rt},ax:function(){return dn},ay:function(){return gn},az:function(){return c},b:function(){return h},c:function(){return Vt},d:function(){return qt},e:function(){return ft},f:function(){return T},g:function(){return d},h:function(){return we},i:function(){return p},j:function(){return E},k:function(){return f},l:function(){return Ae},m:function(){return b},n:function(){return m},o:function(){return pn},p:function(){return ot},q:function(){return X},r:function(){return r},s:function(){return U},t:function(){return q},u:function(){return Oe},v:function(){return y},w:function(){return it},x:function(){return ze},y:function(){return nn},z:function(){return re}});const r="undefined"===typeof window?function(t){return t()}:window.requestAnimationFrame;function o(t,e,n){const o=n||(t=>Array.prototype.slice.call(t));let i=!1,a=[];return function(...n){a=o(n),i||(i=!0,r.call(window,(()=>{i=!1,t.apply(e,a)})))}}function i(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const a=t=>"start"===t?"left":"end"===t?"right":"center",s=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,c=(t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e;function u(){}const l=function(){let t=0;return function(){return t++}}();function f(t){return null===t||"undefined"===typeof t}function h(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)}function p(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const d=t=>("number"===typeof t||t instanceof Number)&&isFinite(+t);function g(t,e){return d(t)?t:e}function y(t,e){return"undefined"===typeof t?e:t}const b=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,m=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function x(t,e,n){if(t&&"function"===typeof t.call)return t.apply(n,e)}function v(t,e,n,r){let o,i,a;if(h(t))if(i=t.length,r)for(o=i-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;on;)t=t[e.substr(n,r-n)],n=r+1,r=O(e,n);return t}function S(t){return t.charAt(0).toUpperCase()+t.slice(1)}const E=t=>"undefined"!==typeof t,P=t=>"function"===typeof t,R=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function D(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const j=Math.PI,L=2*j,F=L+j,I=Number.POSITIVE_INFINITY,B=j/180,N=j/2,H=j/4,W=2*j/3,Y=Math.log10,U=Math.sign;function V(t){const e=Math.round(t);t=$(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Y(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function Q(t){const e=[],n=Math.sqrt(t);let r;for(r=1;rt-e)).pop(),e}function X(t){return!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e,n){return Math.abs(t-e)=t}function Z(t,e,n){let r,o,i;for(r=0,o=t.length;rc&&u=Math.min(e,n)-r&&t<=Math.max(e,n)+r}const ct=t=>0===t||1===t,ut=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*L/n),lt=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*L/n)+1,ft={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*N),easeOutSine:t=>Math.sin(t*N),easeInOutSine:t=>-.5*(Math.cos(j*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>ct(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>ct(t)?t:ut(t,.075,.3),easeOutElastic:t=>ct(t)?t:lt(t,.075,.3),easeInOutElastic(t){const e=.1125;return ct(t)?t:t<.5?.5*ut(2*t,e,.45):.5+.5*lt(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-ft.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*ft.easeInBounce(2*t):.5*ft.easeOutBounce(2*t-1)+.5},ht={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},pt="0123456789ABCDEF",dt=t=>pt[15&t],gt=t=>pt[(240&t)>>4]+pt[15&t],yt=t=>(240&t)>>4===(15&t);function bt(t){var e=function(t){return yt(t.r)&&yt(t.g)&&yt(t.b)&&yt(t.a)}(t)?dt:gt;return t?"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):""):t}function mt(t){return t+.5|0}const xt=(t,e,n)=>Math.max(Math.min(t,n),e);function vt(t){return xt(mt(2.55*t),0,255)}function wt(t){return xt(mt(255*t),0,255)}function Mt(t){return xt(mt(t/2.55)/100,0,1)}function zt(t){return xt(mt(100*t),0,100)}const _t=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Ct=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function kt(t,e,n){const r=e*Math.min(n,1-n),o=(e,o=(e+t/30)%12)=>n-r*Math.max(Math.min(o-3,9-o,1),-1);return[o(0),o(8),o(4)]}function At(t,e,n){const r=(r,o=(r+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function Ot(t,e,n){const r=kt(t,1,.5);let o;for(e+n>1&&(o=1/(e+n),e*=o,n*=o),o=0;o<3;o++)r[o]*=1-e-n,r[o]+=e;return r}function Tt(t){const e=t.r/255,n=t.g/255,r=t.b/255,o=Math.max(e,n,r),i=Math.min(e,n,r),a=(o+i)/2;let s,c,u;return o!==i&&(u=o-i,c=a>.5?u/(2-o-i):u/(o+i),s=o===e?(n-r)/u+(n>16&255,i>>8&255,255&i]}return t}(),Lt.transparent=[0,0,0,0]);const e=Lt[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}function It(t,e,n){if(t){let r=Tt(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=Et(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Bt(t,e){return t?Object.assign(e||{},t):t}function Nt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=wt(t[3]))):(e=Bt(t,{r:0,g:0,b:0,a:1})).a=wt(e.a),e}function Ht(t){return"r"===t.charAt(0)?function(t){const e=_t.exec(t);let n,r,o,i=255;if(e){if(e[7]!==n){const t=+e[7];i=255&(e[8]?vt(t):255*t)}return n=+e[1],r=+e[3],o=+e[5],n=255&(e[2]?vt(n):n),r=255&(e[4]?vt(r):r),o=255&(e[6]?vt(o):o),{r:n,g:r,b:o,a:i}}}(t):Rt(t)}class Wt{constructor(t){if(t instanceof Wt)return t;const e=typeof t;let n;"object"===e?n=Nt(t):"string"===e&&(n=function(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*ht[t[1]],g:255&17*ht[t[2]],b:255&17*ht[t[3]],a:5===n?17*ht[t[4]]:255}:7!==n&&9!==n||(e={r:ht[t[1]]<<4|ht[t[2]],g:ht[t[3]]<<4|ht[t[4]],b:ht[t[5]]<<4|ht[t[6]],a:9===n?ht[t[7]]<<4|ht[t[8]]:255})),e}(t)||Ft(t)||Ht(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=Bt(this._rgb);return t&&(t.a=Mt(t.a)),t}set rgb(t){this._rgb=Nt(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Mt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):this._rgb;var t}hexString(){return this._valid?bt(this._rgb):this._rgb}hslString(){return this._valid?function(t){if(!t)return;const e=Tt(t),n=e[0],r=zt(e[1]),o=zt(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${o}%, ${Mt(t.a)})`:`hsl(${n}, ${r}%, ${o}%)`}(this._rgb):this._rgb}mix(t,e){const n=this;if(t){const r=n.rgb,o=t.rgb;let i;const a=e===i?.5:e,s=2*a-1,c=r.a-o.a,u=((s*c===-1?s:(s+c)/(1+s*c))+1)/2;i=1-u,r.r=255&u*r.r+i*o.r+.5,r.g=255&u*r.g+i*o.g+.5,r.b=255&u*r.b+i*o.b+.5,r.a=a*r.a+(1-a)*o.a,n.rgb=r}return n}clone(){return new Wt(this.rgb)}alpha(t){return this._rgb.a=wt(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=mt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return It(this._rgb,2,t),this}darken(t){return It(this._rgb,2,-t),this}saturate(t){return It(this._rgb,1,t),this}desaturate(t){return It(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=Tt(t);n[0]=Pt(n[0]+e),n=Et(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}function Yt(t){return new Wt(t)}const Ut=t=>t instanceof CanvasGradient||t instanceof CanvasPattern;function Vt(t){return Ut(t)?t:Yt(t)}function Qt(t){return Ut(t)?t:Yt(t).saturate(.5).darken(.1).hexString()}const Xt=Object.create(null),$t=Object.create(null);function Jt(t,e){if(!e)return t;const n=e.split(".");for(let r=0,o=n.length;rt.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Qt(e.backgroundColor),this.hoverBorderColor=(t,e)=>Qt(e.borderColor),this.hoverColor=(t,e)=>Qt(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return Zt(this,t,e)}get(t){return Jt(this,t)}describe(t,e){return Zt($t,t,e)}override(t,e){return Zt(Xt,t,e)}route(t,e,n,r){const o=Jt(this,t),i=Jt(this,n),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=i[r];return p(t)?Object.assign({},e,t):y(t,e)},set(t){this[a]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Kt(t,e,n,r,o){let i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function Gt(t,e,n,r){let o=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(o=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let a=0;const s=n.length;let c,u,l,f,p;for(c=0;cn.length){for(c=0;c0&&t.stroke()}}function re(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&""!==i.strokeColor;let c,u;for(t.save(),t.font=o.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);f(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,i),c=0;cy(t[n],t[e[n]]):e=>t[e]:()=>t;for(const a of o)n[a]=+i(a)||0;return n}function ge(t){return de(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ye(t){return de(t,["topLeft","topRight","bottomLeft","bottomRight"])}function be(t){const e=ge(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function me(t,e){t=t||{},e=e||qt.font;let n=y(t.size,e.size);"string"===typeof n&&(n=parseInt(n,10));let r=y(t.style,e.style);r&&!(""+r).match(he)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const o={family:y(t.family,e.family),lineHeight:pe(y(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:y(t.weight,e.weight),string:""};return o.string=function(t){return!t||f(t.size)||f(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(o),o}function xe(t,e,n,r){let o,i,a,s=!0;for(o=0,i=t.length;on&&0===t?0:t+e;return{min:a(r,-Math.abs(i)),max:a(o,i)}}function we(t,e){return Object.assign(Object.create(t),e)}function Me(t,e,n){n=n||(n=>t[n]1;)r=i+o>>1,n(r)?i=r:o=r;return{lo:i,hi:o}}const ze=(t,e,n)=>Me(t,n,(r=>t[r][e]Me(t,n,(r=>t[r][e]>=n));function Ce(t,e,n){let r=0,o=t.length;for(;rr&&t[o-1]>n;)o--;return r>0||o{const n="_onData"+S(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const o=r.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"===typeof t[n]&&t[n](...e)})),o}})})))}function Oe(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(e);-1!==o&&r.splice(o,1),r.length>0||(ke.forEach((e=>{delete t[e]})),delete t._chartjs)}function Te(t){const e=new Set;let n,r;for(n=0,r=t.length;nt[0])){E(r)||(r=He("_fallback",t));const i={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:r,_getTarget:o,override:o=>Se([o,...t],e,n,r)};return new Proxy(i,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>je(n,r,(()=>function(t,e,n,r){let o;for(const i of e)if(o=He(Re(i,t),n),E(o))return De(t,o)?Be(n,r,t,o):o}(r,e,t,n))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>We(t).includes(e),ownKeys:t=>We(t),set(t,e,n){const r=t._storage||(t._storage=o());return t[e]=r[e]=n,delete t._keys,!0}})}function Ee(t,e,n,r){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Pe(t,r),setContext:e=>Ee(t,e,n,r),override:o=>Ee(t.override(o),e,n,r)};return new Proxy(o,{deleteProperty:(e,n)=>(delete e[n],delete t[n],!0),get:(t,e,n)=>je(t,e,(()=>function(t,e,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:a}=t;let s=r[e];P(s)&&a.isScriptable(e)&&(s=function(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_stack:s}=n;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t),e=e(i,a||r),s.delete(t),De(t,e)&&(e=Be(o._scopes,o,t,e));return e}(e,s,t,n));h(s)&&s.length&&(s=function(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_descriptors:s}=n;if(E(i.index)&&r(t))e=e[i.index%e.length];else if(p(e[0])){const n=e,r=o._scopes.filter((t=>t!==n));e=[];for(const c of n){const n=Be(r,o,t,c);e.push(Ee(n,i,a&&a[t],s))}}return e}(e,s,t,a.isIndexable));De(e,s)&&(s=Ee(s,o,i&&i[e],a));return s}(t,e,n))),getOwnPropertyDescriptor:(e,n)=>e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,n)=>Reflect.has(t,n),ownKeys:()=>Reflect.ownKeys(t),set:(e,n,r)=>(t[n]=r,delete e[n],!0)})}function Pe(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:P(n)?n:()=>n,isIndexable:P(r)?r:()=>r}}const Re=(t,e)=>t?t+S(e):e,De=(t,e)=>p(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function je(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function Le(t,e,n){return P(t)?t(e,n):t}const Fe=(t,e)=>!0===t?e:"string"===typeof t?T(e,t):void 0;function Ie(t,e,n,r,o){for(const i of e){const e=Fe(n,i);if(e){t.add(e);const i=Le(e._fallback,n,o);if(E(i)&&i!==n&&i!==r)return i}else if(!1===e&&E(r)&&n!==r)return null}return!1}function Be(t,e,n,r){const o=e._rootScopes,i=Le(e._fallback,n,r),a=[...t,...o],s=new Set;s.add(r);let c=Ne(s,a,n,i||n,r);return null!==c&&((!E(i)||i===n||(c=Ne(s,a,i,c,r),null!==c))&&Se(Array.from(s),[""],o,i,(()=>function(t,e,n){const r=t._getTarget();e in r||(r[e]={});const o=r[e];if(h(o)&&p(n))return n;return o}(e,n,r))))}function Ne(t,e,n,r,o){for(;n;)n=Ie(t,e,n,r,o);return n}function He(t,e){for(const n of e){if(!n)continue;const e=n[t];if(E(e))return e}}function We(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}const Ye=Number.EPSILON||1e-14,Ue=(t,e)=>e"x"===t?"y":"x";function Qe(t,e,n,r){const o=t.skip?e:t,i=e,a=n.skip?e:n,s=et(i,o),c=et(a,i);let u=s/(s+c),l=c/(s+c);u=isNaN(u)?0:u,l=isNaN(l)?0:l;const f=r*u,h=r*l;return{previous:{x:i.x-f*(a.x-o.x),y:i.y-f*(a.y-o.y)},next:{x:i.x+h*(a.x-o.x),y:i.y+h*(a.y-o.y)}}}function Xe(t,e="x"){const n=Ve(e),r=t.length,o=Array(r).fill(0),i=Array(r);let a,s,c,u=Ue(t,0);for(a=0;a!t.skip))),"monotone"===e.cubicInterpolationMode)Xe(t,o);else{let n=r?t[t.length-1]:t[0];for(i=0,a=t.length;iwindow.getComputedStyle(t,null);const tn=["top","right","bottom","left"];function en(t,e,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=tn[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function nn(t,e){const{canvas:n,currentDevicePixelRatio:r}=e,o=Ge(n),i="border-box"===o.boxSizing,a=en(o,"padding"),s=en(o,"border","width"),{x:c,y:u,box:l}=function(t,e){const n=t.native||t,r=n.touches,o=r&&r.length?r[0]:n,{offsetX:i,offsetY:a}=o;let s,c,u=!1;if(((t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot))(i,a,n.target))s=i,c=a;else{const t=e.getBoundingClientRect();s=o.clientX-t.left,c=o.clientY-t.top,u=!0}return{x:s,y:c,box:u}}(t,n),f=a.left+(l&&s.left),h=a.top+(l&&s.top);let{width:p,height:d}=e;return i&&(p-=a.width+s.width,d-=a.height+s.height),{x:Math.round((c-f)/p*n.width/r),y:Math.round((u-h)/d*n.height/r)}}const rn=t=>Math.round(10*t)/10;function on(t,e,n,r){const o=Ge(t),i=en(o,"margin"),a=Ke(o.maxWidth,t,"clientWidth")||I,s=Ke(o.maxHeight,t,"clientHeight")||I,c=function(t,e,n){let r,o;if(void 0===e||void 0===n){const i=qe(t);if(i){const t=i.getBoundingClientRect(),a=Ge(i),s=en(a,"border","width"),c=en(a,"padding");e=t.width-c.width-s.width,n=t.height-c.height-s.height,r=Ke(a.maxWidth,i,"clientWidth"),o=Ke(a.maxHeight,i,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||I,maxHeight:o||I}}(t,e,n);let{width:u,height:l}=c;if("content-box"===o.boxSizing){const t=en(o,"border","width"),e=en(o,"padding");u-=e.width+t.width,l-=e.height+t.height}return u=Math.max(0,u-i.width),l=Math.max(0,r?Math.floor(u/r):l-i.height),u=rn(Math.min(u,a,c.maxWidth)),l=rn(Math.min(l,s,c.maxHeight)),u&&!l&&(l=rn(u/2)),{width:u,height:l}}function an(t,e,n){const r=e||1,o=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=o/r,t.width=i/r;const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||a.height!==o||a.width!==i)&&(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0)}const sn=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}return t}();function cn(t,e){const n=function(t,e){return Ge(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function un(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function ln(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function fn(t,e,n,r){const o={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=un(t,o,n),s=un(o,i,n),c=un(i,e,n),u=un(a,s,n),l=un(s,c,n);return un(u,l,n)}const hn=new Map;function pn(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let r=hn.get(n);return r||(r=new Intl.NumberFormat(t,e),hn.set(n,r)),r}(e,n).format(t)}function dn(t,e,n){return t?function(t,e){return{x:n=>t+t+e-n,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,n):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function gn(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function yn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function bn(t){return"angle"===t?{between:ot,compare:nt,normalize:rt}:{between:st,compare:(t,e)=>t-e,normalize:t=>t}}function mn({start:t,end:e,count:n,loop:r,style:o}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:o}}function xn(t,e,n){if(!n)return[t];const{property:r,start:o,end:i}=n,a=e.length,{compare:s,between:c,normalize:u}=bn(r),{start:l,end:f,loop:h,style:p}=function(t,e,n){const{property:r,start:o,end:i}=n,{between:a,normalize:s}=bn(r),c=e.length;let u,l,{start:f,end:h,loop:p}=t;if(p){for(f+=c,h+=c,u=0,l=c;um||c(o,b,g)&&0!==s(o,b),w=()=>!m||0===s(i,g)||c(i,b,g);for(let M=l,z=l;M<=f;++M)y=e[M%a],y.skip||(g=u(y[r]),g!==b&&(m=c(g,o,i),null===x&&v()&&(x=0===s(g,o)?M:z),null!==x&&w()&&(d.push(mn({start:x,end:M,loop:h,count:a,style:p})),x=null),z=M,b=g));return null!==x&&d.push(mn({start:x,end:f,loop:h,count:a,style:p})),d}function vn(t,e){const n=[],r=t.segments;for(let o=0;oo&&t[i%e].skip;)i--;return i%=e,{start:o,end:i}}(n,o,i,r);if(!0===r)return Mn(t,[{start:a,end:s,loop:i}],n,e);return Mn(t,function(t,e,n,r){const o=t.length,i=[];let a,s=e,c=t[e];for(a=e+1;a<=n;++a){const n=t[a%o];n.skip||n.stop?c.skip||(r=!1,i.push({start:e%o,end:(a-1)%o,loop:r}),e=s=n.stop?a:null):(s=a,c.skip&&(e=a)),c=n}return null!==s&&i.push({start:e%o,end:s%o,loop:r}),i}(n,a,s=6}function M(t){return"number"===typeof t}var z=["bytes","KB","MB","GB","TB","PB","EB"];function _(t,e,n,r){t=t||"",n.prefix&&(e<0&&(e*=-1,t+="-"),t+=n.prefix);var o=n.suffix||"",i=n.precision,a=n.round;if(n.byteScale){var c,u=r?n.byteScale:e;u>=0x1000000000000000?(e/=0x1000000000000000,c=6):u>=0x4000000000000?(e/=0x4000000000000,c=5):u>=1099511627776?(e/=1099511627776,c=4):u>=1073741824?(e/=1073741824,c=3):u>=1048576?(e/=1048576,c=2):u>=1024?(e/=1024,c=1):c=0,void 0===i&&void 0===a&&(e>=1023.5&&c=1e3?4:3),o=" "+z[c]}if(void 0!==i&&void 0!==a)throw Error("Use either round or precision, not both");if(!r&&(void 0!==i&&(e=e.toPrecision(i),n.zeros||(e=parseFloat(e))),void 0!==a))if(a<0){var l=Math.pow(10,-1*a);e=parseInt((1*e/l).toFixed(0))*l}else e=e.toFixed(a),n.zeros||(e=parseFloat(e));if(n.thousands||n.decimal){var f=(e=s(e)).split(".");e=f[0],n.thousands&&(e=e.replace(/\B(?=(\d{3})+(?!\d))/g,n.thousands)),f.length>1&&(e+=(n.decimal||".")+f[1])}return t+e+o}function C(t,e,n){return n in e?e[n]:n in t.options?t.options[n]:null}function k(t){var e,n,r;for(e=0;e25?r=25:r<10&&(r=10),n.scales.x.ticks.callback||(n.scales.x.ticks.callback=function(t){return(t=s(this.getLabelForValue(t))).length>r?t.substring(0,r-2)+"...":t})},W=function(e,n,r){var o={prefix:e.options.prefix,suffix:e.options.suffix,thousands:e.options.thousands,decimal:e.options.decimal,precision:e.options.precision,round:e.options.round,zeros:e.options.zeros};if(e.options.bytes){var i=e.data;"pie"===r&&(i=[{data:i}]);for(var a=0,s=0;sa&&(a=c.data[u][1]);for(var l=1;a>=1024;)l*=1024,a/=1024;o.byteScale=l}if("pie"!==r){var f=n.scales.y;"bar"===r&&(f=n.scales.x),o.byteScale&&(f.ticks.stepSize||(f.ticks.stepSize=o.byteScale/2),f.ticks.maxTicksLimit||(f.ticks.maxTicksLimit=4)),f.ticks.callback||(f.ticks.callback=function(t){return _("",t,o,!0)})}if(!n.plugins.tooltip.callbacks.label)if("scatter"===r)n.plugins.tooltip.callbacks.label=function(t){var e=t.dataset.label||"";return e&&(e+=": "),e+"("+t.label+", "+t.formattedValue+")"};else if("bubble"===r)n.plugins.tooltip.callbacks.label=function(t){var e=t.dataset.label||"";e&&(e+=": ");var n=t.raw;return e+"("+n.x+", "+n.y+", "+n.v+")"};else if("pie"===r)n.plugins.tooltip.callbacks.label=function(e){var n=e.label,r=": ";return t(n)?(n=n.slice())[0]+=r:n+=r,_(n,e.parsed,o)};else{var h="bar"===r?"x":"y";n.plugins.tooltip.callbacks.label=function(t){if(null!==t.parsed[h]){var e=t.dataset.label||"";return e&&(e+=": "),_(e,t.parsed[h],o)}}}},Y=f(o(A,O),S,E,P,R,L,F,I),U=function(e,n,r){var i,a=[],s=[],l=e.options.colors||T,f=!0,h=!0,p=!0,w=!0,M=!0,z=!0,_=e.data,k=0;if("bubble"===r)for(var A=0;A<_.length;A++)for(var O=_[A],S=0;Sk&&(k=O.data[S][2]);var E,P,R,D,j,L,F,I=[],H=[];if("bar"===r||"column"===r||"number"!==e.xtype&&"bubble"!==e.xtype){var W,Y,U=[];for(E=0;E<_.length;E++)for(R=_[E],P=0;P0){var et=(N(G)?u(G):s[0]).getTime(),nt=(N(tt)?u(tt):s[0]).getTime();for(E=1;Ent&&(nt=rt)}var ot,it=(nt-et)/864e5;if(!n.scales.x.time.unit&&(w||it>3650?(n.scales.x.time.unit="year",ot=365):p||it>300?(n.scales.x.time.unit="month",ot=30):f||it>10?(n.scales.x.time.unit="day",ot=1):M||it>.5?(n.scales.x.time.displayFormats={hour:"MMM d, h a"},n.scales.x.time.unit="hour",ot=1/24):z&&(n.scales.x.time.displayFormats={minute:"h:mm a"},n.scales.x.time.unit="minute",ot=1/24/60),ot&&it>0)){var at=e.element.offsetWidth;if(at>0){var st=Math.ceil(it/ot/(at/100));h&&1===ot&&(st=7*Math.ceil(st/7)),n.scales.x.time.stepSize=st}}n.scales.x.time.tooltipFormat||(f?n.scales.x.time.tooltipFormat="PP":M?n.scales.x.time.tooltipFormat="MMM d, h a":z&&(n.scales.x.time.tooltipFormat="h:mm a"))}return{labels:s,datasets:a}},V=function(t){this.name="chartjs",this.library=t};V.prototype.renderLineChart=function(t,e){var n={};!t.options.max&&k(t.data)&&(n.max=1);var r=Y(t,o(n,t.options));W(t,r,e);var i=U(t,r,e||"line");"number"===t.xtype?(r.scales.x.type=r.scales.x.type||"linear",r.scales.x.position=r.scales.x.position||"bottom"):r.scales.x.type="string"===t.xtype?"category":"time",this.drawChart(t,"line",i,r)},V.prototype.renderPieChart=function(t){var e=o({},A);t.options.donut&&(e.cutout="50%"),"legend"in t.options&&S(e,t.options.legend),t.options.title&&E(e,t.options.title),e=o(e,t.options.library||{}),W(t,e,"pie");for(var n=[],r=[],i=0;i\u25cf '+_(this.series.name+": ",this.y,r)+"
"})},q=function(t){this.name="highcharts",this.library=t};q.prototype.renderLineChart=function(t,e){var n={};"areaspline"===(e=e||"spline")&&(n={plotOptions:{areaspline:{stacking:"normal"},area:{stacking:"normal"},series:{marker:{enabled:!1}}}}),!1===t.options.curve&&("areaspline"===e?e="area":"spline"===e&&(e="line"));var r,o,i,a=J(t,t.options,n);"number"===t.xtype?a.xAxis.type=a.xAxis.type||"linear":a.xAxis.type="string"===t.xtype?"category":"datetime",a.chart.type||(a.chart.type=e),Z(t,a,e);var s=t.data;for(o=0;o0)return!1;return!0}function mt(t){var e=t.element,n=document.createElement("a"),r=t.options.download;!0===r?r={}:"string"===typeof r&&(r={filename:r}),n.download=r.filename||"chart.png",n.style.position="absolute",n.style.top="20px",n.style.right="20px",n.style.zIndex=1e3,n.style.lineHeight="20px",n.target="_blank";var o=document.createElement("img");o.alt="Download",o.style.border="none",o.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAABCFBMVEUAAADMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMywEsqxAAAAV3RSTlMAAQIDBggJCgsMDQ4PERQaHB0eISIjJCouLzE0OTo/QUJHSUpLTU5PUllhYmltcHh5foWLjI+SlaCio6atr7S1t7m6vsHHyM7R2tze5Obo7fHz9ff5+/1hlxK2AAAA30lEQVQYGUXBhVYCQQBA0TdYWAt2d3d3YWAHyur7/z9xgD16Lw0DW+XKx+1GgX+FRzM3HWQWrHl5N/oapW5RPe0PkBu+UYeICvozTWZVK23Ao04B79oJrOsJDOoxkZoQPWgX29pHpCZEk7rEvQYiNSFq1UMqvlCjJkRBS1R8hb00Vb/TajtBL7nTHE1X1vyMQF732dQhyF2o6SAwrzP06iUQzvwsArlnzcOdrgBhJyHa1QOgO9U1GsKuvjUTjavliZYQ8nNPapG6sap/3nrIdJ6bOWzmX/fy0XVpfzZP3S8OJT3g9EEiJwAAAABJRU5ErkJggg==",n.appendChild(o),e.style.position="relative",t.__downloadAttached=!0,t.__enterEvent=xt(e,"mouseover",(function(o){var i=o.relatedTarget;i&&(i===this||wt(this,i))||!t.options.download||(n.href=t.toImage(r),e.appendChild(n))})),t.__leaveEvent=xt(e,"mouseout",(function(t){var e=t.relatedTarget;e&&(e===this||wt(this,e))||n.parentNode&&n.parentNode.removeChild(n)}))}function xt(t,e,n){if(t.addEventListener)return t.addEventListener(e,n,!1),n;var r=function(){return n.call(t,window.event)};return t.attachEvent("on"+e,r),r}function vt(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)}function wt(t,e){if(t===e)return!1;for(;e&&e!==t;)e=e.parentNode;return e===t}lt.prototype.renderLineChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={};!1===t.options.curve&&(n.curveType="none"),!1===t.options.points&&(n.pointSize=0);var r=ct(t,t.options,n),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"LineChart",o,r)}))},lt.prototype.renderPieChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={chartArea:{top:"10%",height:"80%"},legend:{}};t.options.colors&&(n.colors=t.options.colors),t.options.donut&&(n.pieHole=.5),"legend"in t.options&&et(n,t.options.legend),t.options.title&&nt(n,t.options.title);var r=o(o(tt,n),t.options.library||{}),i=new e.library.visualization.DataTable;i.addColumn("string",""),i.addColumn("number","Value"),i.addRows(t.data),e.drawChart(t,"PieChart",i,r)}))},lt.prototype.renderColumnChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n=ct(t,t.options),r=e.createDataTable(t.data,t.xtype);e.drawChart(t,"ColumnChart",r,n)}))},lt.prototype.renderBarChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={hAxis:{gridlines:{color:"#ccc"}}},r=f(tt,et,nt,rt,ot,it,at,st)(t,t.options,n),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"BarChart",o,r)}))},lt.prototype.renderAreaChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={isStacked:!0,pointSize:0,areaOpacity:.5},r=ct(t,t.options,n),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"AreaChart",o,r)}))},lt.prototype.renderGeoChart=function(t){var e=this;this.waitForLoaded(t,"geochart",(function(){var n={legend:"none",colorAxis:{colors:t.options.colors||["#f6c7b6","#ce502d"]}},r=o(o(tt,n),t.options.library||{}),i=new e.library.visualization.DataTable;i.addColumn("string",""),i.addColumn("number",t.options.label||"Value"),i.addRows(t.data),e.drawChart(t,"GeoChart",i,r)}))},lt.prototype.renderScatterChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n,r,o,i,a={},s=ct(t,t.options,a),c=t.data,u=[];for(n=0;n0?new Error("No charting library found for "+t):new Error("No charting libraries found - be sure to include one before your charts")}var Ht=function(t,e,n){var r;if("string"===typeof t&&(r=t,!(t=document.getElementById(t))))throw new Error("No element with id "+r);this.element=t,this.options=o(qt.options,n||{}),this.dataSource=e,qt.charts[t.id]=this,jt(this,e,!0),this.options.refresh&&this.startRefresh()};Ht.prototype.getElement=function(){return this.element},Ht.prototype.getDataSource=function(){return this.dataSource},Ht.prototype.getData=function(){return this.data},Ht.prototype.getOptions=function(){return this.options},Ht.prototype.getChartObject=function(){return this.chart},Ht.prototype.getAdapter=function(){return this.adapter},Ht.prototype.updateData=function(t,e){this.dataSource=t,e&&this.__updateOptions(e),jt(this,t,!0)},Ht.prototype.setOptions=function(t){this.__updateOptions(t),this.redraw()},Ht.prototype.redraw=function(){jt(this,this.rawData)},Ht.prototype.refreshData=function(){if("string"===typeof this.dataSource){var t=-1===this.dataSource.indexOf("?")?"?":"&";jt(this,this.dataSource+t+"_="+(new Date).getTime())}else"function"===typeof this.dataSource&&jt(this,this.dataSource)},Ht.prototype.startRefresh=function(){var t=this,e=this.options.refresh;if(e&&"string"!==typeof this.dataSource&&"function"!==typeof this.dataSource)throw new Error("Data source must be a URL or callback for refresh");if(!this.intervalId){if(!e)throw new Error("No refresh interval");this.intervalId=setInterval((function(){t.refreshData()}),1e3*e)}},Ht.prototype.stopRefresh=function(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)},Ht.prototype.toImage=function(t){if("chartjs"===this.adapter){if(t&&t.background&&"transparent"!==t.background){var e=this.chart.canvas,n=this.chart.ctx,r=document.createElement("canvas"),o=r.getContext("2d");return r.width=n.canvas.width,r.height=n.canvas.height,o.fillStyle=t.background,o.fillRect(0,0,r.width,r.height),o.drawImage(e,0,0),r.toDataURL("image/png")}return this.chart.toBase64Image()}throw new Error("Feature only available for Chart.js")},Ht.prototype.destroy=function(){this.destroyed=!0,this.stopRefresh(),this.__adapterObject&&this.__adapterObject.destroy(this),this.__enterEvent&&vt(this.element,"mouseover",this.__enterEvent),this.__leaveEvent&&vt(this.element,"mouseout",this.__leaveEvent)},Ht.prototype.__updateOptions=function(t){var e=t.refresh&&t.refresh!==this.options.refresh;this.options=o(qt.options,t),e&&(this.stopRefresh(),this.startRefresh())},Ht.prototype.__render=function(){this.data=this.__processData(),Bt(this.__chartName(),this)},Ht.prototype.__config=function(){return St};var Wt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this)},e.prototype.__chartName=function(){return"LineChart"},e}(Ht),Yt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return yt(this)},e.prototype.__chartName=function(){return"PieChart"},e}(Ht),Ut=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,null,!0)},e.prototype.__chartName=function(){return"ColumnChart"},e}(Ht),Vt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,null,!0)},e.prototype.__chartName=function(){return"BarChart"},e}(Ht),Qt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this)},e.prototype.__chartName=function(){return"AreaChart"},e}(Ht),Xt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return yt(this)},e.prototype.__chartName=function(){return"GeoChart"},e}(Ht),$t=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,"number")},e.prototype.__chartName=function(){return"ScatterChart"},e}(Ht),Jt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,"bubble")},e.prototype.__chartName=function(){return"BubbleChart"},e}(Ht),Zt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){var t,e=this.rawData;for(t=0;t0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else t[n]=r;return t}),{})}t.svgBaseProps={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"};var p="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";t.iconStyles=p;t.useInsertStyles=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=(0,u.useContext)(f.default),n=t.csp;(0,u.useEffect)((function(){(0,s.updateCSS)(e,"@ant-design-icons",{prepend:!0,csp:n})}),[])}},131:function(e,t,n){"use strict";n.r(t),n.d(t,{TinyColor:function(){return r.C},bounds:function(){return g},convertDecimalToHex:function(){return u.Wl},convertHexToDecimal:function(){return u.T6},default:function(){return b},fromRatio:function(){return f},hslToRgb:function(){return u.ve},hsvToRgb:function(){return u.WE},inputToRGB:function(){return p.uA},isReadable:function(){return i},isValidCSSUnit:function(){return p.ky},legacyRandom:function(){return d},mostReadable:function(){return l},names:function(){return o.R},numberInputToObject:function(){return u.Yt},parseIntFromHex:function(){return u.VD},random:function(){return v},readability:function(){return a},rgbToHex:function(){return u.vq},rgbToHsl:function(){return u.lC},rgbToHsv:function(){return u.py},rgbToRgb:function(){return u.rW},rgbaToArgbHex:function(){return u.GC},rgbaToHex:function(){return u.s},stringInputToObject:function(){return p.uz},tinycolor:function(){return r.H},toMsFilter:function(){return c}});var r=n(10274),o=n(48701);function a(e,t){var n=new r.C(e),o=new r.C(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)}function i(e,t,n){var r,o;void 0===n&&(n={level:"AA",size:"small"});var i=a(e,t);switch((null!==(r=n.level)&&void 0!==r?r:"AA")+(null!==(o=n.size)&&void 0!==o?o:"small")){case"AAsmall":case"AAAlarge":return i>=4.5;case"AAlarge":return i>=3;case"AAAsmall":return i>=7;default:return!1}}function l(e,t,n){void 0===n&&(n={includeFallbackColors:!1,level:"AA",size:"small"});for(var o=null,u=0,c=n.includeFallbackColors,s=n.level,f=n.size,d=0,p=t;du&&(u=m,o=new r.C(v))}return i(e,o,{level:s,size:f})||!c?o:(n.includeFallbackColors=!1,l(e,["#fff","#000"],n))}var u=n(86500);function c(e,t){var n=new r.C(e),o="#"+(0,u.GC)(n.r,n.g,n.b,n.a),a=o,i=n.gradientType?"GradientType = 1, ":"";if(t){var l=new r.C(t);a="#"+(0,u.GC)(l.r,l.g,l.b,l.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(i,"startColorstr=").concat(o,",endColorstr=").concat(a,")")}var s=n(90279);function f(e,t){var n={r:(0,s.JX)(e.r),g:(0,s.JX)(e.g),b:(0,s.JX)(e.b)};return void 0!==e.a&&(n.a=Number(e.a)),new r.C(n,t)}function d(){return new r.C({r:Math.random(),g:Math.random(),b:Math.random()})}var p=n(1350);function v(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,n=[];for(e.count=void 0;t>n.length;)e.count=null,e.seed&&(e.seed+=1),n.push(v(e));return e.count=t,n}var o=function(e,t){var n=h(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"===typeof e){var n=g.find((function(t){return t.name===e}));if(n){var o=y(n);if(o.hueRange)return o.hueRange}var a=new r.C(e);if(a.isValid){var i=a.toHsv().h;return[i,i]}}return[0,360]}(e),t);n<0&&(n=360+n);return n}(e.hue,e.seed),a=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return h([0,100],t.seed);var n=m(e).saturationRange,r=n[0],o=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=o-10;break;case"light":o=55}return h([r,o],t.seed)}(o,e),i=function(e,t,n){var r=function(e,t){for(var n=m(e).lowerBounds,r=0;r=o&&t<=i){var u=(l-a)/(i-o);return u*t+(a-u*o)}}return 0}(e,t),o=100;switch(n.luminosity){case"dark":o=r+20;break;case"light":r=(o+r)/2;break;case"random":r=0,o=100}return h([r,o],n.seed)}(o,a,e),l={h:o,s:a,v:i};return void 0!==e.alpha&&(l.a=e.alpha),new r.C(l)}function m(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=g;t=r.hueRange[0]&&e<=r.hueRange[1])return r}throw Error("Color not found")}function h(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0,o=(t=(9301*t+49297)%233280)/233280;return Math.floor(r+o*(n-r))}function y(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],o=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,o]}}var g=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],b=r.H},13594:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.noop=a,Object.defineProperty(t,"resetWarned",{enumerable:!0,get:function(){return o.resetWarned}});var o=r(n(45520));function a(){}var i=a;t.default=i},1028:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(25633)).default;t.default=o},93319:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DisabledContextProvider=void 0;var o=r(n(67294)),a=o.createContext(!1);t.DisabledContextProvider=function(e){var t=e.children,n=e.disabled,r=o.useContext(a);return o.createElement(a.Provider,{value:n||r},t)};var i=a;t.default=i},3236:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SizeContextProvider=void 0;var o=r(n(67294)),a=o.createContext(void 0);t.SizeContextProvider=function(e){var t=e.children,n=e.size;return o.createElement(a.Consumer,null,(function(e){return o.createElement(a.Provider,{value:n||e},t)}))};var i=a;t.default=i},7177:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigContext=t.ConfigConsumer=void 0,t.withConfigConsumer=function(e){return function(t){var n=t.constructor;n&&n.displayName||t.name;return function(n){return i.createElement(u,null,(function(r){var o=e.prefixCls,l=(0,r.getPrefixCls)(o,n.prefixCls);return i.createElement(t,(0,a.default)({},r,n,{prefixCls:l}))}))}}};var a=o(n(10434)),i=r(n(67294)),l=i.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")}});t.ConfigContext=l;var u=l.Consumer;t.ConfigConsumer=u},56301:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getStyle=c,t.registerTheme=function(e,t){var n=c(e,t);(0,i.default)()&&(0,l.updateCSS)(n,"".concat(u,"-dynamic-theme"))};var o=n(92138),a=n(131),i=r(n(19158)),l=n(93399),u=(r(n(13594)),"-ant-".concat(Date.now(),"-").concat(Math.random()));function c(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null===t||void 0===t?void 0:t(n))||n).toRgbString()},i=function(e,t){var i=new a.TinyColor(e),l=(0,o.generate)(i.toRgbString());n["".concat(t,"-color")]=r(i),n["".concat(t,"-color-disabled")]=l[1],n["".concat(t,"-color-hover")]=l[4],n["".concat(t,"-color-active")]=l[7],n["".concat(t,"-color-outline")]=i.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=l[1],n["".concat(t,"-color-deprecated-border")]=l[3]};if(t.primaryColor){i(t.primaryColor,"primary");var l=new a.TinyColor(t.primaryColor),u=(0,o.generate)(l.toRgbString());u.forEach((function(e,t){n["primary-".concat(t+1)]=e})),n["primary-color-deprecated-l-35"]=r(l,(function(e){return e.lighten(35)})),n["primary-color-deprecated-l-20"]=r(l,(function(e){return e.lighten(20)})),n["primary-color-deprecated-t-20"]=r(l,(function(e){return e.tint(20)})),n["primary-color-deprecated-t-50"]=r(l,(function(e){return e.tint(50)})),n["primary-color-deprecated-f-12"]=r(l,(function(e){return e.setAlpha(.12*e.getAlpha())}));var c=new a.TinyColor(u[0]);n["primary-color-active-deprecated-f-30"]=r(c,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(c,(function(e){return e.darken(2)}))}t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info");var s=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));return"\n :root {\n ".concat(s.join("\n"),"\n }\n ").trim()}},31929:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConfigConsumer",{enumerable:!0,get:function(){return m.ConfigConsumer}}),Object.defineProperty(t,"ConfigContext",{enumerable:!0,get:function(){return m.ConfigContext}}),t.globalConfig=t.defaultPrefixCls=t.defaultIconPrefixCls=t.default=t.configConsumerProps=void 0;var a=o(n(10434)),i=o(n(98399)),l=n(71990),u=o(n(67265)),c=r(n(67294)),s=r(n(53594)),f=o(n(73625)),d=o(n(56350)),p=o(n(11187)),v=o(n(16318)),m=n(7177),h=n(56301),y=n(93319),g=r(n(3236));t.configConsumerProps=["getTargetContainer","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","autoInsertSpaceInButton","locale","pageHeader"];var b=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];t.defaultPrefixCls="ant";var x,C,_="anticon";function w(){return x||"ant"}function P(){return C||_}t.defaultIconPrefixCls=_;t.globalConfig=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(w(),"-").concat(e):w())},getIconPrefixCls:P,getRootPrefixCls:function(e,t){return e||(x||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):w()))}}};var M=function(e){var t,n,r=e.children,o=e.csp,f=e.autoInsertSpaceInButton,p=e.form,v=e.locale,h=e.componentSize,x=e.direction,C=e.space,_=e.virtual,w=e.dropdownMatchSelectWidth,P=e.legacyLocale,M=e.parentContext,O=e.iconPrefixCls,j=e.componentDisabled,k=c.useCallback((function(t,n){var r=e.prefixCls;if(n)return n;var o=r||M.getPrefixCls("");return t?"".concat(o,"-").concat(t):o}),[M.getPrefixCls,e.prefixCls]),E=(0,a.default)((0,a.default)({},M),{csp:o,autoInsertSpaceInButton:f,locale:v||P,direction:x,space:C,virtual:_,dropdownMatchSelectWidth:w,getPrefixCls:k});b.forEach((function(t){var n=e[t];n&&(E[t]=n)}));var T=(0,u.default)((function(){return E}),E,(function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((function(n){return e[n]!==t[n]}))})),S=c.useMemo((function(){return{prefixCls:O,csp:o}}),[O,o]),N=r,L={};return v&&(L=(null===(t=v.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=d.default.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),p&&p.validateMessages&&(L=(0,a.default)((0,a.default)({},L),p.validateMessages)),Object.keys(L).length>0&&(N=c.createElement(l.FormProvider,{validateMessages:L},r)),v&&(N=c.createElement(s.default,{locale:v,_ANT_MARK__:s.ANT_MARK},N)),(O||o)&&(N=c.createElement(i.default.Provider,{value:S},N)),h&&(N=c.createElement(g.SizeContextProvider,{size:h},N)),void 0!==j&&(N=c.createElement(y.DisabledContextProvider,{disabled:j},N)),c.createElement(m.ConfigContext.Provider,{value:T},N)},O=function(e){return c.useEffect((function(){e.direction&&(p.default.config({rtl:"rtl"===e.direction}),v.default.config({rtl:"rtl"===e.direction}))}),[e.direction]),c.createElement(f.default,null,(function(t,n,r){return c.createElement(m.ConfigConsumer,null,(function(t){return c.createElement(M,(0,a.default)({parentContext:t,legacyLocale:r},e))}))}))};O.ConfigContext=m.ConfigContext,O.SizeContext=g.default,O.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(x=t),void 0!==n&&(C=n),r&&(0,h.registerTheme)(w(),r)};var j=O;t.default=j},25633:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),a=r(n(27590)),i=r(n(52040)),l={lang:(0,o.default)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},a.default),timePickerLocale:(0,o.default)({},i.default)};t.default=l},73625:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.useLocaleReceiver=function(e,t){var n=s.useContext(f.default);return[s.useMemo((function(){var r=t||d.default[e||"global"],o=e&&n?n[e]:{};return(0,a.default)((0,a.default)({},"function"===typeof r?r():r),o||{})}),[e,t,n])]};var a=o(n(10434)),i=o(n(56690)),l=o(n(89728)),u=o(n(61655)),c=o(n(26389)),s=r(n(67294)),f=o(n(89354)),d=o(n(95209)),p=function(e){(0,u.default)(n,e);var t=(0,c.default)(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,l.default)(n,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,n=e.defaultLocale||d.default[null!==t&&void 0!==t?t:"global"],r=this.context,o=t&&r?r[t]:{};return(0,a.default)((0,a.default)({},n instanceof Function?n():n),o||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?d.default.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),n}(s.Component);t.default=p,p.defaultProps={componentName:"global"},p.contextType=f.default},89354:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(67294).createContext)(void 0);t.default=r},95209:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(56350)).default;t.default=o},53594:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ANT_MARK=void 0;var a=o(n(10434)),i=o(n(56690)),l=o(n(89728)),u=o(n(61655)),c=o(n(26389)),s=o(n(30845)),f=r(n(67294)),d=(o(n(13594)),n(10625)),p=o(n(89354));t.ANT_MARK="internalMark";var v=function(e){(0,u.default)(n,e);var t=(0,c.default)(n);function n(e){var r;return(0,i.default)(this,n),(r=t.call(this,e)).getMemoizedContextValue=(0,s.default)((function(e){return(0,a.default)((0,a.default)({},e),{exist:!0})})),(0,d.changeConfirmLocale)(e.locale&&e.locale.Modal),r}return(0,l.default)(n,[{key:"componentDidMount",value:function(){(0,d.changeConfirmLocale)(this.props.locale&&this.props.locale.Modal)}},{key:"componentDidUpdate",value:function(e){var t=this.props.locale;e.locale!==t&&(0,d.changeConfirmLocale)(t&&t.Modal)}},{key:"componentWillUnmount",value:function(){(0,d.changeConfirmLocale)()}},{key:"render",value:function(){var e=this.props,t=e.locale,n=e.children,r=this.getMemoizedContextValue(t);return f.createElement(p.default.Provider,{value:r},n)}}]),n}(f.Component);t.default=v,v.defaultProps={locale:{}}},56350:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(62273)),a=r(n(1028)),i=r(n(25633)),l=r(n(52040)),u="${label} is not a valid ${type}",c={locale:"en",Pagination:o.default,DatePicker:i.default,TimePicker:l.default,Calendar:a.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:u,method:u,array:u,object:u,number:u,date:u,boolean:u,integer:u,float:u,regexp:u,email:u,url:u,hex:u},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};t.default=c},64333:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var n,r,o=null,f={add:function(e,t){null===o||void 0===o||o.component.add(e,t)}},d=(0,l.default)(f),p=(0,i.default)(d,2),v=p[0],m=p[1];var h=u.useRef({});return h.current.open=function(i){var l=i.prefixCls,u=n("message",l),s=n(),f=i.key||(0,c.getKeyThenIncreaseKey)(),d=new Promise((function(n){var l=function(){return"function"===typeof i.onClose&&i.onClose(),n(!0)};e((0,a.default)((0,a.default)({},i),{prefixCls:u,rootPrefixCls:s,getPopupContainer:r}),(function(e){var n=e.prefixCls,r=e.instance;o=r,v(t((0,a.default)((0,a.default)({},i),{key:f,onClose:l}),n))}))})),p=function(){o&&o.removeNotice(f)};return p.then=function(e,t){return d.then(e,t)},p.promise=d,p},c.typeList.forEach((function(e){return(0,c.attachTypeApi)(h.current,e)})),[h.current,u.createElement(s.ConfigConsumer,{key:"holder"},(function(e){return n=e.getPrefixCls,r=e.getPopupContainer,m}))]}};var a=o(n(10434)),i=o(n(27424)),l=o(n(45484)),u=r(n(67294)),c=n(11187),s=n(31929)},11187:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.attachTypeApi=L,t.getInstance=t.default=void 0,t.getKeyThenIncreaseKey=j,t.typeList=void 0;var a,i,l,u,c=o(n(10434)),s=o(n(38416)),f=o(n(37431)),d=o(n(42547)),p=o(n(42461)),v=o(n(94354)),m=o(n(628)),h=o(n(94184)),y=o(n(91127)),g=r(n(67294)),b=r(n(31929)),x=o(n(64333)),C=3,_=1,w="",P="move-up",M=!1,O=!1;function j(){return _++}function k(e,t){var n=e.prefixCls,r=e.getPopupContainer,o=(0,b.globalConfig)(),c=o.getPrefixCls,s=o.getRootPrefixCls,f=o.getIconPrefixCls,d=c("message",n||w),p=s(e.rootPrefixCls,d),v=f();if(a)t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:v,instance:a});else{var m={prefixCls:d,transitionName:M?P:"".concat(p,"-").concat(P),style:{top:i},getContainer:l||r,maxCount:u};y.default.newInstance(m,(function(e){a?t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:v,instance:a}):(a=e,t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:v,instance:e}))}))}}var E={info:v.default,success:f.default,error:d.default,warning:p.default,loading:m.default},T=Object.keys(E);function S(e,t,n){var r,o=void 0!==e.duration?e.duration:C,a=E[e.type],i=(0,h.default)("".concat(t,"-custom-content"),(r={},(0,s.default)(r,"".concat(t,"-").concat(e.type),e.type),(0,s.default)(r,"".concat(t,"-rtl"),!0===O),r));return{key:e.key,duration:o,style:e.style||{},className:e.className,content:g.createElement(b.default,{iconPrefixCls:n},g.createElement("div",{className:i},e.icon||a&&g.createElement(a,null),g.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}t.typeList=T;var N={open:function(e){var t=e.key||j(),n=new Promise((function(n){var r=function(){return"function"===typeof e.onClose&&e.onClose(),n(!0)};k(e,(function(n){var o=n.prefixCls,a=n.iconPrefixCls;n.instance.notice(S((0,c.default)((0,c.default)({},e),{key:t,onClose:r}),o,a))}))})),r=function(){a&&a.removeNotice(t)};return r.then=function(e,t){return n.then(e,t)},r.promise=n,r},config:function(e){void 0!==e.top&&(i=e.top,a=null),void 0!==e.duration&&(C=e.duration),void 0!==e.prefixCls&&(w=e.prefixCls),void 0!==e.getContainer&&(l=e.getContainer,a=null),void 0!==e.transitionName&&(P=e.transitionName,a=null,M=!0),void 0!==e.maxCount&&(u=e.maxCount,a=null),void 0!==e.rtl&&(O=e.rtl)},destroy:function(e){if(a)if(e){(0,a.removeNotice)(e)}else{var t=a.destroy;t(),a=null}}};function L(e,t){e[t]=function(n,r,o){return function(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}(n)?e.open((0,c.default)((0,c.default)({},n),{type:t})):("function"===typeof r&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}}T.forEach((function(e){return L(N,e)})),N.warn=N.warning,N.useMessage=(0,x.default)(k,S);t.getInstance=function(){return null};var R=N;t.default=R},10625:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.changeConfirmLocale=function(e){i=e?(0,o.default)((0,o.default)({},i),e):(0,o.default)({},a.default.Modal)},t.getConfirmLocale=function(){return i};var o=r(n(10434)),a=r(n(56350)),i=(0,o.default)({},a.default.Modal)},23298:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var n,r=null,o={add:function(e,t){null===r||void 0===r||r.component.add(e,t)}},s=(0,l.default)(o),f=(0,i.default)(s,2),d=f[0],p=f[1];var v=u.useRef({});return v.current.open=function(o){var i=o.prefixCls,l=n("notification",i);e((0,a.default)((0,a.default)({},o),{prefixCls:l}),(function(e){var n=e.prefixCls,a=e.instance;r=a,d(t(o,n))}))},["success","info","warning","error"].forEach((function(e){v.current[e]=function(t){return v.current.open((0,a.default)((0,a.default)({},t),{type:e}))}})),[v.current,u.createElement(c.ConfigConsumer,{key:"holder"},(function(e){return n=e.getPrefixCls,p}))]}};var a=o(n(10434)),i=o(n(27424)),l=o(n(45484)),u=r(n(67294)),c=n(31929)},16318:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getInstance=t.default=void 0;var a,i,l,u=o(n(17061)),c=o(n(10434)),s=o(n(38416)),f=o(n(67996)),d=o(n(74337)),p=o(n(40753)),v=o(n(67039)),m=o(n(93201)),h=o(n(94184)),y=o(n(91127)),g=r(n(67294)),b=r(n(31929)),x=o(n(23298)),C=function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(t){a(t)}}function l(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))},_={},w=4.5,P=24,M=24,O="",j="topRight",k=!1;function E(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}function T(e,t){var n=e.placement,r=void 0===n?j:n,o=e.top,i=e.bottom,u=e.getContainer,c=void 0===u?a:u,f=e.prefixCls,d=(0,b.globalConfig)(),p=d.getPrefixCls,v=d.getIconPrefixCls,m=p("notification",f||O),g=v(),x="".concat(m,"-").concat(r),C=_[x];if(C)Promise.resolve(C).then((function(e){t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:g,instance:e})}));else{var w=(0,h.default)("".concat(m,"-").concat(r),(0,s.default)({},"".concat(m,"-rtl"),!0===k));_[x]=new Promise((function(e){y.default.newInstance({prefixCls:m,className:w,style:E(r,o,i),getContainer:c,maxCount:l},(function(n){e(n),t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:g,instance:n})}))}))}}var S={success:f.default,info:m.default,error:d.default,warning:v.default};function N(e,t,n){var r=e.duration,o=e.icon,a=e.type,l=e.description,u=e.message,c=e.btn,f=e.onClose,d=e.onClick,v=e.key,m=e.style,y=e.className,x=e.closeIcon,C=void 0===x?i:x,_=void 0===r?w:r,P=null;o?P=g.createElement("span",{className:"".concat(t,"-icon")},e.icon):a&&(P=g.createElement(S[a]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(a)}));var M=g.createElement("span",{className:"".concat(t,"-close-x")},C||g.createElement(p.default,{className:"".concat(t,"-close-icon")})),O=!l&&P?g.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:g.createElement(b.default,{iconPrefixCls:n},g.createElement("div",{className:P?"".concat(t,"-with-icon"):"",role:"alert"},P,g.createElement("div",{className:"".concat(t,"-message")},O,u),g.createElement("div",{className:"".concat(t,"-description")},l),c?g.createElement("span",{className:"".concat(t,"-btn")},c):null)),duration:_,closable:!0,closeIcon:M,onClose:f,onClick:d,key:v,style:m||{},className:(0,h.default)(y,(0,s.default)({},"".concat(t,"-").concat(a),!!a))}}var L={open:function(e){T(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(N(e,n,r))}))},close:function(e){Object.keys(_).forEach((function(t){return Promise.resolve(_[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,u=e.getContainer,c=e.closeIcon,s=e.prefixCls;void 0!==s&&(O=s),void 0!==t&&(w=t),void 0!==n?j=n:e.rtl&&(j="topLeft"),void 0!==r&&(M=r),void 0!==o&&(P=o),void 0!==u&&(a=u),void 0!==c&&(i=c),void 0!==e.rtl&&(k=e.rtl),void 0!==e.maxCount&&(l=e.maxCount)},destroy:function(){Object.keys(_).forEach((function(e){Promise.resolve(_[e]).then((function(e){e.destroy()})),delete _[e]}))}};["success","info","warning","error"].forEach((function(e){L[e]=function(t){return L.open((0,c.default)((0,c.default)({},t),{type:e}))}})),L.warn=L.warning,L.useNotification=(0,x.default)(T,N);t.getInstance=function(e){return C(void 0,void 0,void 0,(0,u.default)().mark((function e(){return(0,u.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)})))};var R=L;t.default=R},52040:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};t.default=n},32502:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(10434)),i=o(n(38416)),l=o(n(56690)),u=o(n(89728)),c=o(n(61655)),s=o(n(26389)),f=r(n(67294)),d=o(n(73935)),p=o(n(94184)),v=function(e){(0,c.default)(n,e);var t=(0,s.default)(n);function n(){var e;(0,l.default)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},r=s(e,n);null===r||void 0===r||null===(t=r.parentNode)||void 0===t||t.removeChild(r)},t.updateCSS=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=l(n);if(!c.has(r)){var o=u("",n),a=o.parentNode;c.set(r,a),a.removeChild(o)}var f=s(t,n);if(f){var d,p,v;if((null===(d=n.csp)||void 0===d?void 0:d.nonce)&&f.nonce!==(null===(p=n.csp)||void 0===p?void 0:p.nonce))f.nonce=null===(v=n.csp)||void 0===v?void 0:v.nonce;return f.innerHTML!==e&&(f.innerHTML=e),f}var m=u(e,n);return m.setAttribute(i(n),t),m};var o=r(n(19158)),a="rc-util-key";function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):a}function l(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var r,a=document.createElement("style");(null===(t=n.csp)||void 0===t?void 0:t.nonce)&&(a.nonce=null===(r=n.csp)||void 0===r?void 0:r.nonce);a.innerHTML=e;var i=l(n),u=i.firstChild;return n.prepend&&i.prepend?i.prepend(a):n.prepend&&u?i.insertBefore(a,u):i.appendChild(a),a}var c=new Map;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=l(t);return Array.from(c.get(n).children).find((function(n){return"STYLE"===n.tagName&&n.getAttribute(i(t))===e}))}},67265:function(e,t,n){"use strict";var r=n(75263);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=o.useRef({});"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t);return r.current.value};var o=r(n(67294))},18475:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)({},e);Array.isArray(t)&&t.forEach((function(e){delete n[e]}));return n};var o=r(n(42122))},45520:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=a,t.default=void 0,t.note=o,t.noteOnce=function(e,t){a(o,e,t)},t.resetWarned=function(){n={}},t.warning=r,t.warningOnce=i;var n={};function r(e,t){0}function o(e,t){0}function a(e,t,r){t||n[r]||(e(!1,r),n[r]=!0)}function i(e,t){a(r,e,t)}var l=i;t.default=l},73897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},e.exports.__esModule=!0,e.exports.default=e.exports},7071:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},94993:function(e,t,n){var r=n(18698).default,o=n(66115);e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},17061:function(e,t,n){var r=n(18698).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,a=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(E){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),i=new O(r||[]);return a._invoke=function(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return k()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=w(i,n);if(l){if(l===p)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,i),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}t.wrap=f;var p={};function v(){}function m(){}function h(){}var y={};s(y,l,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(j([])));b&&b!==n&&a.call(b,l)&&(y=b);var x=h.prototype=v.prototype=Object.create(y);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function n(o,i,l,u){var c=d(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,l,u)}),(function(e){n("throw",e,l,u)})):t.resolve(f).then((function(e){s.value=e,l(s)}),(function(e){return n("throw",e,l,u)}))}u(c.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=d(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function j(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;M(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},27424:function(e,t,n){var r=n(85372),o=n(68872),a=n(86116),i=n(12218);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,n){var r=n(63405),o=n(79498),a=n(86116),i=n(42281);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},86116:function(e,t,n){var r=n(73897);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1142-ff0807f5dbadb132.js b/static/web/_next/static/chunks/1142-ff0807f5dbadb132.js new file mode 100644 index 000000000..c0555ed7e --- /dev/null +++ b/static/web/_next/static/chunks/1142-ff0807f5dbadb132.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1142],{48689:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},s=r(42135),a=function(e,t){return o.createElement(s.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};a.displayName="DeleteOutlined";var c=o.forwardRef(a)},88484:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},s=r(42135),a=function(e,t){return o.createElement(s.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};a.displayName="UploadOutlined";var c=o.forwardRef(a)},94594:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(87462),o=r(4942),i=r(50888),s=r(94184),a=r.n(s),c=r(97685),l=r(91),u=r(67294),p=r(21770),h=r(15105),f=u.forwardRef((function(e,t){var r,n=e.prefixCls,i=void 0===n?"rc-switch":n,s=e.className,f=e.checked,d=e.defaultChecked,m=e.disabled,g=e.loadingIcon,_=e.checkedChildren,v=e.unCheckedChildren,b=e.onClick,k=e.onChange,y=e.onKeyDown,C=(0,l.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),x=(0,p.Z)(!1,{value:f,defaultValue:d}),w=(0,c.Z)(x,2),E=w[0],A=w[1];function D(e,t){var r=E;return m||(A(r=e),null===k||void 0===k||k(r,t)),r}var q=a()(i,s,(r={},(0,o.Z)(r,"".concat(i,"-checked"),E),(0,o.Z)(r,"".concat(i,"-disabled"),m),r));return u.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":E,disabled:m,className:q,ref:t,onKeyDown:function(e){e.which===h.Z.LEFT?D(!1,e):e.which===h.Z.RIGHT&&D(!0,e),null===y||void 0===y||y(e)},onClick:function(e){var t=D(!E,e);null===b||void 0===b||b(t,e)}}),g,u.createElement("span",{className:"".concat(i,"-inner")},E?_:v))}));f.displayName="Switch";var d=f,m=r(53124),g=r(98866),_=r(97647),v=r(68349),b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var n=e.data[t];Array.isArray(n)?n.forEach((function(e){r.append("".concat(t,"[]"),e)})):r.append(t,n)})),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(function(e,t){var r="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),n=new Error(r);return n.status=t.status,n.method=e.method,n.url=e.action,n}(e,t),b(t)):e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var n=e.headers||{};return null!==n["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(n).forEach((function(e){null!==n[e]&&t.setRequestHeader(e,n[e])})),t.send(r),{abort:function(){t.abort()}}}var y=+new Date,C=0;function x(){return"rc-upload-".concat(y,"-").concat(++C)}var w=r(80334),E=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var r=n.toLowerCase(),s=t.toLowerCase(),a=[s];return".jpg"!==s&&".jpeg"!==s||(a=[".jpg",".jpeg"]),a.some((function(e){return r.endsWith(e)}))}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,w.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};var A=function(e,t,r){var n=function e(n,o){n.path=o||"",n.isFile?n.file((function(e){r(e)&&(n.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=n.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):n.isDirectory&&function(e,t){var r=e.createReader(),n=[];!function e(){r.readEntries((function(r){var o=Array.prototype.slice.apply(r);n=n.concat(o),o.length?e():t(n)}))}()}(n,(function(t){t.forEach((function(t){e(t,"".concat(o).concat(n.name,"/"))}))}))};e.forEach((function(e){n(e.webkitGetAsEntry())}))},D=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],q=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;(0,h.Z)(this,r);for(var n=arguments.length,o=new Array(n),i=0;ii?l=-((a=i*(ie/e))-s)/2:c=-((s=e*(ie/i))-a)/2,n.drawImage(o,c,l,s,a);var u=r.toDataURL();document.body.removeChild(r),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){var i=new FileReader;i.addEventListener("load",(function(){i.result&&(o.src=i.result)})),i.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)}else t("")}))},isImageUrl:function(e){if(e.type&&!e.thumbUrl)return oe(e.type);var t=e.thumbUrl||e.url||"",r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(r))||!/^data:/.test(t)&&!r}};var _e=ge,ve=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},be="__LIST_IGNORE_".concat(Date.now(),"__"),ke=function(e,t){var r,u=e.fileList,h=e.defaultFileList,f=e.onRemove,d=e.showUploadList,m=e.listType,g=e.onPreview,_=e.onDownload,v=e.onChange,b=e.onDrop,k=e.previewFile,y=e.disabled,C=e.locale,x=e.iconRender,w=e.isImageUrl,E=e.progress,A=e.prefixCls,D=e.className,q=e.type,F=e.children,S=e.style,L=e.itemRender,N=e.maxCount,O=o.useContext(R.Z),P=y||O,j=(0,z.Z)(h||[],{value:u,postState:function(e){return null!==e&&void 0!==e?e:[]}}),B=(0,l.Z)(j,2),U=B[0],V=B[1],H=o.useState("drop"),$=(0,l.Z)(H,2),G=$[0],J=$[1],W=o.useRef();o.useMemo((function(){var e=Date.now();(u||[]).forEach((function(t,r){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(r,"__"))}))}),[u]);var K=function(e,t,r){var n=(0,c.Z)(t);1===N?n=n.slice(-1):N&&(n=n.slice(0,N)),V(n);var o={file:e,fileList:n};r&&(o.event=r),null===v||void 0===v||v(o)},Y=function(e){var t=e.filter((function(e){return!e.file[be]}));if(t.length){var r=t.map((function(e){return te(e.file)})),n=(0,c.Z)(U);r.forEach((function(e){n=re(e,n)})),r.forEach((function(e,r){var o=e;if(t[r].parsedFile)e.status="uploading";else{var i,s=e.originFileObj;try{i=new File([s],s.name,{type:s.type})}catch(a){(i=new Blob([s],{type:s.type})).name=s.name,i.lastModifiedDate=new Date,i.lastModified=(new Date).getTime()}i.uid=e.uid,o=i}K(o,n)}))}},X=function(e,t,r){try{"string"===typeof e&&(e=JSON.parse(e))}catch(i){}if(ne(t,U)){var n=te(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;var o=re(n,U);K(n,o)}},Q=function(e,t){if(ne(t,U)){var r=te(t);r.status="uploading",r.percent=e.percent;var n=re(r,U);K(r,n,e)}},ee=function(e,t,r){if(ne(r,U)){var n=te(r);n.error=e,n.response=t,n.status="error";var o=re(n,U);K(n,o)}},oe=function(e){var t;Promise.resolve("function"===typeof f?f(e):f).then((function(r){var o;if(!1!==r){var i=function(e,t){var r=void 0!==e.uid?"uid":"name",n=t.filter((function(t){return t[r]!==e[r]}));return n.length===t.length?null:n}(e,U);i&&(t=(0,n.Z)((0,n.Z)({},e),{status:"removed"}),null===U||void 0===U||U.forEach((function(e){var r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")})),null===(o=W.current)||void 0===o||o.abort(t),K(t,i))}}))},ie=function(e){J(e.type),"drop"===e.type&&(null===b||void 0===b||b(e))};o.useImperativeHandle(t,(function(){return{onBatchStart:Y,onSuccess:X,onProgress:Q,onError:ee,fileList:U,upload:W.current}}));var se=o.useContext(I.E_),ae=se.getPrefixCls,ce=se.direction,le=ae("upload",A),ue=(0,n.Z)((0,n.Z)({onBatchStart:Y,onError:ee,onProgress:Q,onSuccess:X},e),{prefixCls:le,disabled:P,beforeUpload:function(t,r){return ve(void 0,void 0,void 0,(0,s.Z)().mark((function n(){var o,i,c,l;return(0,s.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=e.beforeUpload,i=e.transformFile,c=t,!o){n.next=13;break}return n.next=5,o(t,r);case 5:if(!1!==(l=n.sent)){n.next=8;break}return n.abrupt("return",!1);case 8:if(delete t[be],l!==be){n.next=12;break}return Object.defineProperty(t,be,{value:!0,configurable:!0}),n.abrupt("return",!1);case 12:"object"===(0,a.Z)(l)&&l&&(c=l);case 13:if(!i){n.next=17;break}return n.next=16,i(c);case 16:c=n.sent;case 17:return n.abrupt("return",c);case 18:case"end":return n.stop()}}),n)})))},onChange:void 0});delete ue.className,delete ue.style,F&&!P||delete ue.id;var pe=function(e,t){return d?o.createElement(T.Z,{componentName:"Upload",defaultLocale:M.Z.Upload},(function(r){var i="boolean"===typeof d?{}:d,s=i.showRemoveIcon,a=i.showPreviewIcon,c=i.showDownloadIcon,l=i.removeIcon,u=i.previewIcon,p=i.downloadIcon;return o.createElement(_e,{prefixCls:le,listType:m,items:U,previewFile:k,onPreview:g,onDownload:_,onRemove:oe,showRemoveIcon:!P&&s,showPreviewIcon:a,showDownloadIcon:c,removeIcon:l,previewIcon:u,downloadIcon:p,iconRender:x,locale:(0,n.Z)((0,n.Z)({},r),C),isImageUrl:w,progress:E,appendAction:e,appendActionVisible:t,itemRender:L})})):e};if("drag"===q){var he,fe=p()(le,(he={},(0,i.Z)(he,"".concat(le,"-drag"),!0),(0,i.Z)(he,"".concat(le,"-drag-uploading"),U.some((function(e){return"uploading"===e.status}))),(0,i.Z)(he,"".concat(le,"-drag-hover"),"dragover"===G),(0,i.Z)(he,"".concat(le,"-disabled"),P),(0,i.Z)(he,"".concat(le,"-rtl"),"rtl"===ce),he),D);return o.createElement("span",null,o.createElement("div",{className:fe,onDrop:ie,onDragOver:ie,onDragLeave:ie,style:S},o.createElement(Z,(0,n.Z)({},ue,{ref:W,className:"".concat(le,"-btn")}),o.createElement("div",{className:"".concat(le,"-drag-container")},F))),pe())}var de,me=p()(le,(r={},(0,i.Z)(r,"".concat(le,"-select"),!0),(0,i.Z)(r,"".concat(le,"-select-").concat(m),!0),(0,i.Z)(r,"".concat(le,"-disabled"),P),(0,i.Z)(r,"".concat(le,"-rtl"),"rtl"===ce),r)),ge=(de=F?void 0:{display:"none"},o.createElement("div",{className:me,style:de},o.createElement(Z,(0,n.Z)({},ue,{ref:W}))));return"picture-card"===m?o.createElement("span",{className:p()("".concat(le,"-picture-card-wrapper"),D)},pe(ge,!!F)):o.createElement("span",{className:D},ge,pe())},ye=o.forwardRef(ke);ye.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var Ce=ye,xe=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function u(e){var t=e.re=r(36066)(e.__opts__),n=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),"i");var c=[];function l(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===o(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?i(r.validate)?n.validate=r.validate:l(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?n.normalize=r.normalize:r.normalize?l(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?l(t,r):c.push(t)}})),c.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(s).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function h(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function f(e,t){if(!(this instanceof f))return new f(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=n({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},u(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},f.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},f.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,s,a,c;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c=0&&null!==(n=e.match(this.re.email_fuzzy))&&(i=n.index+n[1].length,s=n.index+n[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=s)),this.__index__>=0},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},f.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(h(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(h(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},f.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,h(this,0)):null},f.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},36066:function(e,t,r){"use strict";e.exports=function(e){var t={};e=e||{},t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},9980:function(e,t,r){"use strict";e.exports=r(17024)},26233:function(e,t,r){"use strict";e.exports=r(95485)},40813:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},51947:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",n=new RegExp("^(?:"+t+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),o=new RegExp("^(?:"+t+"|"+r+")");e.exports.n=n,e.exports.q=o},67022:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function o(e,t){return n.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=r(26233);var p=/[&<>"]/,h=/[&<>"]/g,f={"&":"&","<":"<",">":">",'"':"""};function d(e){return f[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=r(73189);t.lib={},t.lib.mdurl=r(48765),t.lib.ucmicro=r(84205),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(a,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,(function(e,t,r){return t||function(e,t){var r=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&i(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(r):e}(e,r)}))},t.isValidEntityCode=i,t.fromCodePoint=s,t.escapeHtml=function(e){return p.test(e)?e.replace(h,d):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}},51685:function(e,t,r){"use strict";t.parseLinkLabel=r(33595),t.parseLinkDestination=r(12548),t.parseLinkTitle=r(88040)},12548:function(e,t,r){"use strict";var n=r(67022).unescapeAll;e.exports=function(e,t,r){var o,i,s=t,a={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t32)return a;if(41===o){if(0===i)break;i--}t++}return s===t||0!==i||(a.str=n(e.slice(s,t)),a.lines=0,a.pos=t,a.ok=!0),a}},33595:function(e){"use strict";e.exports=function(e,t,r){var n,o,i,s,a=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos=r)return c;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return c;for(t++,40===i&&(i=41);t=0))try{t.hostname=p.toASCII(t.hostname)}catch(r){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(r){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function b(e,t){if(!(this instanceof b))return new b(e,t);t||n.isString(e)||(t=e||{},e="default"),this.inline=new c,this.block=new a,this.core=new s,this.renderer=new i,this.linkify=new l,this.validateLink=m,this.normalizeLink=_,this.normalizeLinkText=v,this.utils=n,this.helpers=n.assign({},o),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return n.assign(this.options,e),this},b.prototype.configure=function(e){var t,r=this;if(n.isString(e)&&!(e=h[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},b.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},82471:function(e,t,r){"use strict";var n=r(79580),o=[["table",r(91785),["paragraph","reference"]],["code",r(38768)],["fence",r(13542),["paragraph","reference","blockquote","list"]],["blockquote",r(45258),["paragraph","reference","blockquote","list"]],["hr",r(35634),["paragraph","reference","blockquote","list"]],["list",r(18532),["paragraph","reference","blockquote"]],["reference",r(43804)],["html_block",r(76329),["paragraph","reference","blockquote"]],["heading",r(61630),["paragraph","reference","blockquote"]],["lheading",r(56850)],["paragraph",r(96864)]];function i(){this.ruler=new n;for(var e=0;e=r))&&!(e.sCount[s]=c){e.line=r;break}for(n=0;n=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},s.prototype.parse=function(e,t,r,n){var o,i,s,a=new this.State(e,t,r,n);for(this.tokenize(a),s=(i=this.ruler2.getRules("")).length,o=0;o"+i(e[t].content)+""},s.code_block=function(e,t,r,n,o){var s=e[t];return""+i(e[t].content)+"\n"},s.fence=function(e,t,r,n,s){var a,c,l,u,p,h=e[t],f=h.info?o(h.info).trim():"",d="",m="";return f&&(d=(l=f.split(/(\s+)/g))[0],m=l.slice(2).join("")),0===(a=r.highlight&&r.highlight(h.content,d,m)||i(h.content)).indexOf(""+a+"\n"):"
"+a+"
\n"},s.image=function(e,t,r,n,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,r,n),o.renderToken(e,t,r)},s.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},s.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},s.text=function(e,t){return i(e[t].content)},s.html_block=function(e,t){return e[t].content},s.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">")},a.prototype.renderInline=function(e,t,r){for(var n,o="",i=this.rules,s=0,a=e.length;s=4)return!1;if(62!==e.src.charCodeAt(A++))return!1;if(o)return!0;for(c=f=e.sCount[t]+1,32===e.src.charCodeAt(A)?(A++,c++,f++,i=!1,k=!0):9===e.src.charCodeAt(A)?(k=!0,(e.bsCount[t]+f)%4===3?(A++,c++,f++,i=!1):i=!0):k=!1,d=[e.bMarks[t]],e.bMarks[t]=A;A=D,v=[e.sCount[t]],e.sCount[t]=f-c,b=[e.tShift[t]],e.tShift[t]=A-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",h=t+1;h=(D=e.eMarks[h])));h++)if(62!==e.src.charCodeAt(A++)||w){if(u)break;for(y=!1,a=0,l=C.length;a=D,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(k?1:0),v.push(e.sCount[h]),e.sCount[h]=f-c,b.push(e.tShift[h]),e.tShift[h]=A-e.bMarks[h]}for(g=e.blkIndent,e.blkIndent=0,(x=e.push("blockquote_open","blockquote",1)).markup=">",x.map=p=[t,0],e.md.block.tokenize(e,t,h),(x=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=_,p[1]=e.line,a=0;a=4))break;o=++n}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}},13542:function(e){"use strict";e.exports=function(e,t,r,n){var o,i,s,a,c,l,u,p=!1,h=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>f)return!1;if(126!==(o=e.src.charCodeAt(h))&&96!==o)return!1;if(c=h,(i=(h=e.skipChars(h,o))-c)<3)return!1;if(u=e.src.slice(c,h),s=e.src.slice(h,f),96===o&&s.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((h=c=e.bMarks[a]+e.tShift[a])<(f=e.eMarks[a])&&e.sCount[a]=4)&&!((h=e.skipChars(h,o))-c=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(s=1,i=e.src.charCodeAt(++l);35===i&&l6||ll&&n(e.src.charCodeAt(a-1))&&(u=a),e.line=t+1,(c=e.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(l,u).trim(),c.map=[t,e.line],c.children=[],(c=e.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),!0)}},35634:function(e,t,r){"use strict";var n=r(67022).isSpace;e.exports=function(e,t,r,o){var i,s,a,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(s=1;l|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,n){var o,s,a,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),o=0;o=4)return!1;for(h=e.parentType,e.parentType="paragraph";f3)){if(e.sCount[f]>=e.blkIndent&&(c=e.bMarks[f]+e.tShift[f])<(l=e.eMarks[f])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=l)){u=61===p?1:2;break}if(!(e.sCount[f]<0)){for(o=!1,i=0,s=d.length;i=s)return-1;if((r=e.src.charCodeAt(i++))<48||r>57)return-1;for(;;){if(i>=s)return-1;if(!((r=e.src.charCodeAt(i++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-o>=10)return-1}return i=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(I=!0),(q=i(e,t))>=0){if(h=!0,S=e.bMarks[t]+e.tShift[t],v=Number(e.src.slice(S,q-1)),I&&1!==v)return!1}else{if(!((q=o(e,t))>=0))return!1;h=!1}if(I&&e.skipSpaces(q)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(q-1),n)return!0;for(g=e.tokens.length,h?(z=e.push("ordered_list_open","ol",1),1!==v&&(z.attrs=[["start",v]])):z=e.push("bullet_list_open","ul",1),z.map=m=[t,0],z.markup=String.fromCharCode(_),k=t,F=!1,Z=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";k=b?1:y-p)>4&&(u=1),l=p+u,(z=e.push("list_item_open","li",1)).markup=String.fromCharCode(_),z.map=f=[t,0],h&&(z.info=e.src.slice(S,q-1)),A=e.tight,E=e.tShift[t],w=e.sCount[t],C=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[t]=a-e.bMarks[t],e.sCount[t]=y,a>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!F||(R=!1),F=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[t]=E,e.sCount[t]=w,e.tight=A,(z=e.push("list_item_close","li",-1)).markup=String.fromCharCode(_),k=t=e.line,f[1]=k,a=e.bMarks[t],k>=r)break;if(e.sCount[k]=4)break;for(L=!1,c=0,d=Z.length;c3)&&!(e.sCount[c]<0)){for(n=!1,o=0,i=l.length;o=4)return!1;if(91!==e.src.charCodeAt(x))return!1;for(;++x3)&&!(e.sCount[E]<0)){for(b=!1,p=0,h=k.length;p0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,r,n){var i,s,a,c,l,u,p,h=e;if(e>=t)return"";for(u=new Array(t-e),i=0;hr?new Array(s-r+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},i.prototype.Token=n,e.exports=i},91785:function(e,t,r){"use strict";var n=r(67022).isSpace;function o(e,t){var r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function i(e){var t,r=[],n=0,o=e.length,i=!1,s=0,a="";for(t=e.charCodeAt(n);nr)return!1;if(h=t+1,e.sCount[h]=4)return!1;if((l=e.bMarks[h]+e.tShift[h])>=e.eMarks[h])return!1;if(124!==(x=e.src.charCodeAt(l++))&&45!==x&&58!==x)return!1;if(l>=e.eMarks[h])return!1;if(124!==(w=e.src.charCodeAt(l++))&&45!==w&&58!==w&&!n(w))return!1;if(45===x&&n(w))return!1;for(;l=4)return!1;if((f=i(c)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),0===(d=f.length)||d!==g.length)return!1;if(s)return!0;for(k=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),(m=e.push("table_open","table",1)).map=v=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u=4)break;for((f=i(c)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),h===t+2&&((m=e.push("tbody_open","tbody",1)).map=b=[t+2,0]),(m=e.push("tr_open","tr",1)).map=[h,h+1],u=0;u/i.test(e)}e.exports=function(e){var t,r,i,s,a,c,l,u,p,h,f,d,m,g,_,v,b,k,y=e.tokens;if(e.md.options.linkify)for(r=0,i=y.length;r=0;t--)if("link_close"!==(c=s[t]).type){if("html_inline"===c.type&&(k=c.content,/^\s]/i.test(k)&&m>0&&m--,o(c.content)&&m++),!(m>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(p=c.content,b=e.md.linkify.match(p),l=[],d=c.level,f=0,b.length>0&&0===b[0].index&&t>0&&"text_special"===s[t-1].type&&(b=b.slice(1)),u=0;uf&&((a=new e.Token("text","",0)).content=p.slice(f,h),a.level=d,l.push(a)),(a=new e.Token("link_open","a",1)).attrs=[["href",_]],a.level=d++,a.markup="linkify",a.info="auto",l.push(a),(a=new e.Token("text","",0)).content=v,a.level=d,l.push(a),(a=new e.Token("link_close","a",-1)).level=--d,a.markup="linkify",a.info="auto",l.push(a),f=b[u].lastIndex);f=0;t--)"text"!==(r=e[t]).type||o||(r.content=r.content.replace(n,i)),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}function a(e){var r,n,o=0;for(r=e.length-1;r>=0;r--)"text"!==(n=e[r]).type||o||t.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}e.exports=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)"inline"===e.tokens[n].type&&(r.test(e.tokens[n].content)&&s(e.tokens[n].children),t.test(e.tokens[n].content)&&a(e.tokens[n].children))}},58450:function(e,t,r){"use strict";var n=r(67022).isWhiteSpace,o=r(67022).isPunctChar,i=r(67022).isMdAsciiPunct,s=/['"]/,a=/['"]/g;function c(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function l(e,t){var r,s,l,u,p,h,f,d,m,g,_,v,b,k,y,C,x,w,E,A,D;for(E=[],r=0;r=0&&!(E[x].level<=f);x--);if(E.length=x+1,"text"===s.type){p=0,h=(l=s.content).length;e:for(;p=0)m=l.charCodeAt(u.index-1);else for(x=r-1;x>=0&&("softbreak"!==e[x].type&&"hardbreak"!==e[x].type);x--)if(e[x].content){m=e[x].content.charCodeAt(e[x].content.length-1);break}if(g=32,p=48&&m<=57&&(C=y=!1),y&&C&&(y=_,C=v),y||C){if(C)for(x=E.length-1;x>=0&&(d=E[x],!(E[x].level=0;t--)"inline"===e.tokens[t].type&&s.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}},16480:function(e,t,r){"use strict";var n=r(75872);function o(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=n,e.exports=o},46633:function(e){"use strict";e.exports=function(e){var t,r,n,o,i,s,a=e.tokens;for(t=0,r=a.length;t\x00-\x20]*)$/;e.exports=function(e,n){var o,i,s,a,c,l,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(c=e.pos,l=e.posMax;;){if(++u>=l)return!1;if(60===(a=e.src.charCodeAt(u)))return!1;if(62===a)break}return o=e.src.slice(c+1,u),r.test(o)?(i=e.md.normalizeLink(o),!!e.md.validateLink(i)&&(n||((s=e.push("link_open","a",1)).attrs=[["href",i]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(o),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=o.length+2,!0)):!!t.test(o)&&(i=e.md.normalizeLink("mailto:"+o),!!e.md.validateLink(i)&&(n||((s=e.push("link_open","a",1)).attrs=[["href",i]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(o),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=o.length+2,!0))}},79755:function(e){"use strict";e.exports=function(e,t){var r,n,o,i,s,a,c,l,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(r=u,u++,n=e.posMax;us;n-=d[n]+1)if((i=t[n]).marker===o.marker&&i.open&&i.end<0&&(c=!1,(i.close||o.open)&&(i.length+o.length)%3===0&&(i.length%3===0&&o.length%3===0||(c=!0)),!c)){l=n>0&&!t[n-1].open?d[n-1]+1:0,d[r]=r-n+l,d[n]=l,o.open=!1,i.end=r,i.close=!1,a=-1,f=-2;break}-1!==a&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}e.exports=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(t(0,e.delimiters),r=0;r=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(o=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===o.token+1,s=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?s+s:s,i.content="",(i=e.tokens[o.token]).type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?s+s:s,i.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}e.exports.w=function(e,t){var r,n,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(n=e.scanDelims(e.pos,42===i),r=0;r=h)return!1;if(35===e.src.charCodeAt(p+1)){if(l=e.src.slice(p).match(a))return t||(r="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),(u=e.push("text_special","",0)).content=i(r)?s(r):s(65533),u.markup=l[0],u.info="entity"),e.pos+=l[0].length,!0}else if((l=e.src.slice(p).match(c))&&o(n,l[1]))return t||((u=e.push("text_special","",0)).content=n[l[1]],u.markup=l[0],u.info="entity"),e.pos+=l[0].length,!0;return!1}},1917:function(e,t,r){"use strict";for(var n=r(67022).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){o[e.charCodeAt(0)]=1})),e.exports=function(e,t){var r,i,s,a,c,l=e.pos,u=e.posMax;if(92!==e.src.charCodeAt(l))return!1;if(++l>=u)return!1;if(10===(r=e.src.charCodeAt(l))){for(t||e.push("hardbreak","br",0),l++;l=55296&&r<=56319&&l+1=56320&&i<=57343&&(a+=e.src[l+1],l++),s="\\"+a,t||(c=e.push("text_special","",0),r<256&&0!==o[r]?c.content=a:c.content=s,c.markup=s,c.info="escape"),e.pos=l+1,!0}},69969:function(e){"use strict";e.exports=function(e){var t,r,n=0,o=e.tokens,i=e.tokens.length;for(t=r=0;t0&&n++,"text"===o[t].type&&t+1=i)&&(!(33!==(r=e.src.charCodeAt(c+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(o=e.src.slice(c).match(n))&&(t||((s=e.push("html_inline","",0)).content=e.src.slice(c,c+o[0].length),a=s.content,/^\s]/i.test(a)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(s.content)&&e.linkLevel--),e.pos+=o[0].length,!0))))}},83006:function(e,t,r){"use strict";var n=r(67022).normalizeReference,o=r(67022).isSpace;e.exports=function(e,t){var r,i,s,a,c,l,u,p,h,f,d,m,g,_="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=c+1)=b)return!1;for(g=u,(h=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(_=e.md.normalizeLink(h.str),e.md.validateLink(_)?u=h.pos:_=""),g=u;u=b||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if("undefined"===typeof e.env.references)return!1;if(u=0?a=e.src.slice(g,u++):u=c+1):u=c+1,a||(a=e.src.slice(l,c)),!(p=e.env.references[n(a)]))return e.pos=v,!1;_=p.href,f=p.title}return t||(s=e.src.slice(l,c),e.md.inline.parse(s,e.md,e.env,m=[]),(d=e.push("image","img",0)).attrs=r=[["src",_],["alt",""]],d.children=m,d.content=s,f&&r.push(["title",f])),e.pos=u,e.posMax=b,!0}},81727:function(e,t,r){"use strict";var n=r(67022).normalizeReference,o=r(67022).isSpace;e.exports=function(e,t){var r,i,s,a,c,l,u,p,h="",f="",d=e.pos,m=e.posMax,g=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(a=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=a+1)=m)return!1;if(g=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok){for(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?l=u.pos:h="",g=l;l=m||41!==e.src.charCodeAt(l))&&(_=!0),l++}if(_){if("undefined"===typeof e.env.references)return!1;if(l=0?s=e.src.slice(g,l++):l=a+1):l=a+1,s||(s=e.src.slice(c,a)),!(p=e.env.references[n(s)]))return e.pos=d,!1;h=p.href,f=p.title}return t||(e.pos=c,e.posMax=a,e.push("link_open","a",1).attrs=r=[["href",h]],f&&r.push(["title",f]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0}},12906:function(e){"use strict";var t=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;e.exports=function(e,r){var n,o,i,s,a,c,l;return!!e.md.options.linkify&&(!(e.linkLevel>0)&&(!((n=e.pos)+3>e.posMax)&&(58===e.src.charCodeAt(n)&&(47===e.src.charCodeAt(n+1)&&(47===e.src.charCodeAt(n+2)&&(!!(o=e.pending.match(t))&&(i=o[1],!!(s=e.md.linkify.matchAtStart(e.src.slice(n-i.length)))&&(a=(a=s.url).replace(/\*+$/,""),c=e.md.normalizeLink(a),!!e.md.validateLink(c)&&(r||(e.pending=e.pending.slice(0,-i.length),(l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="linkify",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(a),(l=e.push("link_close","a",-1)).markup="linkify",l.info="auto"),e.pos+=a.length-i.length,!0)))))))))}},43905:function(e,t,r){"use strict";var n=r(67022).isSpace;e.exports=function(e,t){var r,o,i,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;if(r=e.pending.length-1,o=e.posMax,!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){for(i=r-1;i>=1&&32===e.pending.charCodeAt(i-1);)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(s++;s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},a.prototype.scanDelims=function(e,t){var r,n,a,c,l,u,p,h,f,d=e,m=!0,g=!0,_=this.posMax,v=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;d<_&&this.src.charCodeAt(d)===v;)d++;return a=d-e,n=d<_?this.src.charCodeAt(d):32,p=s(r)||i(String.fromCharCode(r)),f=s(n)||i(String.fromCharCode(n)),u=o(r),(h=o(n))?m=!1:f&&(u||p||(m=!1)),u?g=!1:p&&(h||f||(g=!1)),t?(c=m,l=g):(c=m&&(!g||p),l=g&&(!m||f)),{can_open:c,can_close:l,length:a}},a.prototype.Token=n,e.exports=a},44814:function(e){"use strict";function t(e,t){var r,n,o,i,s,a=[],c=t.length;for(r=0;r=0&&(r=this.attrs[t][1]),r},t.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=t},83122:function(e){"use strict";var t={};function r(e,n){var o;return"string"!==typeof n&&(n=r.defaultChars),o=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),o.push(n);for(r=0;r=55296&&c<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(c),t+=6):240===(248&n)&&t+91114111?l+="\ufffd\ufffd\ufffd\ufffd":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):l+="\ufffd";return l}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="",e.exports=r},70729:function(e){"use strict";var t={};function r(e,n,o){var i,s,a,c,l,u="";for("string"!==typeof n&&(o=n,n=r.defaultChars),"undefined"===typeof o&&(o=!0),l=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1=56320&&c<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",e.exports=r},2201:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},48765:function(e,t,r){"use strict";e.exports.encode=r(70729),e.exports.decode=r(83122),e.exports.format=r(2201),e.exports.parse=r(9553)},9553:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var r=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(i),a=["%","/","?",";","#"].concat(s),c=["/","?","#"],l=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var n,i,s,f,d,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=o.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var _=r.exec(m);if(_&&(s=(_=_[0]).toLowerCase(),this.protocol=_,m=m.substr(_.length)),(t||_||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(d="//"===m.substr(0,2))||_&&p[_]||(m=m.substr(2),this.slashes=!0)),!p[_]&&(d||_&&!h[_])){var v,b,k=-1;for(n=0;n127?E+="x":E+=w[A];if(!E.match(l)){var q=x.slice(0,n),F=x.slice(n+1),S=w.match(u);S&&(q.push(S[1]),F.unshift(S[2])),F.length&&(m=F.join(".")+m),this.hostname=q.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var L=m.indexOf("#");-1!==L&&(this.hash=m.substr(L),m=m.slice(0,L));var Z=m.indexOf("?");return-1!==Z&&(this.search=m.substr(Z),m=m.slice(0,Z)),m&&(this.pathname=m),h[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=n.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,r){if(e&&e instanceof t)return e;var n=new t;return n.parse(e,r),n}},90638:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(96856).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=s.default,i={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};n(e,Promise)?i.loader=function(){return e}:"function"===typeof e?i.loader=e:"object"===typeof e&&(i=o({},i,e));if((i=o({},i,t)).suspense)throw new Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");i.loadableGenerated&&delete(i=o({},i,i.loadableGenerated)).loadableGenerated;if("boolean"===typeof i.ssr&&!i.suspense){if(!i.ssr)return delete i.ssr,a(r,i);delete i.ssr}return r(i)},t.noSSR=a;var o=r(6495).Z,i=r(92648).Z,s=(i(r(67294)),i(r(14302)));function a(e,t){return delete t.webpack,delete t.modules,e(t)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16319:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var n=(0,r(92648).Z)(r(67294)).default.createContext(null);t.LoadableContext=n},14302:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(79658).Z,o=r(7222).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(6495).Z,s=(0,r(92648).Z)(r(67294)),a=r(16319),c=r(61688).useSyncExternalStore,l=[],u=[],p=!1;function h(e){var t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then((function(e){return r.loading=!1,r.loaded=e,e})).catch((function(e){throw r.loading=!1,r.error=e,e})),r}var f=function(){function e(t,r){n(this,e),this._loadFn=t,this._opts=r,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return o(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,r=this._opts;t.loading&&("number"===typeof r.delay&&(0===r.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),r.delay)),"number"===typeof r.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),r.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=i({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function d(e){return function(e,t){var r=function(){if(!l){var t=new f(e,o);l={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return l.promise()},n=function(){r();var e=s.default.useContext(a.LoadableContext);e&&Array.isArray(o.modules)&&o.modules.forEach((function(t){e(t)}))},o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);o.suspense&&(o.lazy=s.default.lazy(o.loader));var l=null;if(!p){var h=o.webpack?o.webpack():o.modules;h&&u.push((function(e){var t=!0,n=!1,o=void 0;try{for(var i,s=h[Symbol.iterator]();!(t=(i=s.next()).done);t=!0){var a=i.value;if(-1!==e.indexOf(a))return r()}}catch(c){n=!0,o=c}finally{try{t||null==s.return||s.return()}finally{if(n)throw o}}}))}var d=o.suspense?function(e,t){return n(),s.default.createElement(o.lazy,i({},e,{ref:t}))}:function(e,t){n();var r=c(l.subscribe,l.getCurrentValue,l.getCurrentValue);return s.default.useImperativeHandle(t,(function(){return{retry:l.retry}}),[]),s.default.useMemo((function(){return r.loading||r.error?s.default.createElement(o.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:l.retry}):r.loaded?s.default.createElement((t=r.loaded)&&t.__esModule?t.default:t,e):null;var t}),[e,r])};return d.preload=function(){return r()},d.displayName="LoadableComponent",s.default.forwardRef(d)}(h,e)}function m(e,t){for(var r=[];e.length;){var n=e.pop();r.push(n(t))}return Promise.all(r).then((function(){if(e.length)return m(e,t)}))}d.preloadAll=function(){return new Promise((function(e,t){m(l).then(e,t)}))},d.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var r=function(){return p=!0,t()};m(u,e).then(r,r)}))},window.__NEXT_PRELOADREADY=d.preloadReady;var g=d;t.default=g},69596:function(){},5152:function(e,t,r){e.exports=r(90638)},3689:function(e,t,r){"use strict";r.r(t),r.d(t,{decode:function(){return _},encode:function(){return v},toASCII:function(){return k},toUnicode:function(){return b},ucs2decode:function(){return f},ucs2encode:function(){return d}});const n=2147483647,o=36,i=/^xn--/,s=/[^\0-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(c[e])}function h(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const o=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(a,".")).split("."),t).join(".");return n+o}function f(e){const t=[];let r=0;const n=e.length;for(;r=55296&&o<=56319&&rString.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,r){let n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;n+=o)e=l(e/35);return l(n+36*e/(e+38))},_=function(e){const t=[],r=e.length;let i=0,s=128,a=72,c=e.lastIndexOf("-");c<0&&(c=0);for(let n=0;n=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let h=c>0?c+1:0;h=r&&p("invalid-input");const c=(u=e.charCodeAt(h++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:o;(c>=o||c>l((n-i)/t))&&p("overflow"),i+=c*t;const f=s<=a?1:s>=a+26?26:s-a;if(cl(n/d)&&p("overflow"),t*=d}const f=t.length+1;a=g(i-c,f,0==c),l(i/f)>n-s&&p("overflow"),s+=l(i/f),i%=f,t.splice(i++,0,s)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let r=(e=f(e)).length,i=128,s=0,a=72;for(const n of e)n<128&&t.push(u(n));let c=t.length,h=c;for(c&&t.push("-");h=i&&tl((n-s)/f)&&p("overflow"),s+=(r-i)*f,i=r;for(const d of e)if(dn&&p("overflow"),d==i){let e=s;for(let r=o;;r+=o){const n=r<=a?1:r>=a+26?26:r-a;if(e","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1213-222f826f28b9c729.js b/static/web/_next/static/chunks/1213-222f826f28b9c729.js deleted file mode 100644 index a7fa162b2..000000000 --- a/static/web/_next/static/chunks/1213-222f826f28b9c729.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1213],{32808:function(e,n,t){t.d(n,{Z:function(){return N}});var r=t(4942),o=t(87462),a=t(67294),l=t(94184),i=t.n(l),c=t(50132),d=t(65223),s=t(74902),u=t(97685),f=t(10366),p=t(59844),v=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&(l=M().map((function(e){return a.createElement(k,{prefixCls:L,key:e.value.toString(),disabled:"disabled"in e?e.disabled:C.disabled,value:e.value,checked:-1!==S.indexOf(e.value),onChange:e.onChange,className:"".concat(T,"-item"),style:e.style},e.label)})));var A={toggleOption:function(e){var n=S.indexOf(e.value),t=(0,s.Z)(S);-1===n?t.push(e.value):t.splice(n,1),"value"in C||K(t);var r=M();null===x||void 0===x||x(t.filter((function(e){return-1!==D.indexOf(e)})).sort((function(e,n){return r.findIndex((function(n){return n.value===e}))-r.findIndex((function(e){return e.value===n}))})))},value:S,disabled:C.disabled,name:C.name,registerValue:function(e){R((function(n){return[].concat((0,s.Z)(n),[e])}))},cancelValue:function(e){R((function(n){return n.filter((function(n){return n!==e}))}))}},H=i()(T,(0,r.Z)({},"".concat(T,"-rtl"),"rtl"===N),y);return a.createElement("div",(0,o.Z)({className:H,style:g},I,{ref:n}),a.createElement(m.Provider,{value:A},l))},y=a.forwardRef(h),g=a.memo(y),x=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=t}(c,h||1,o,a);return i.createElement(_,(0,l.Z)({},e,{colSpan:m,rowSpan:h,hovering:y,ref:n,onHover:r}))}));F.displayName="WrappedCell";var j=F,B=i.createContext(null);function V(e,n,t,r,o){var a,l,i=t[e]||{},c=t[n]||{};"left"===i.fixed?a=r.left[e]:"right"===c.fixed&&(l=r.right[n]);var d=!1,s=!1,u=!1,f=!1,p=t[n+1],v=t[e-1];if("rtl"===o){if(void 0!==a)f=!(v&&"left"===v.fixed);else if(void 0!==l){u=!(p&&"right"===p.fixed)}}else if(void 0!==a){d=!(p&&"left"===p.fixed)}else if(void 0!==l){s=!(v&&"right"===v.fixed)}return{fixLeft:a,fixRight:l,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}function W(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,a=e.rowComponent,c=e.cellComponent,d=e.onHeaderRow,s=e.index,u=i.useContext(B),f=u.prefixCls,p=u.direction;d&&(n=d(t.map((function(e){return e.column})),s));var v=D(t.map((function(e){return e.column})));return i.createElement(a,n,t.map((function(e,n){var t,a=e.column,d=V(e.colStart,e.colEnd,o,r,p);return a&&a.onHeaderCell&&(t=e.column.onHeaderCell(a)),i.createElement(j,(0,l.Z)({},e,{ellipsis:a.ellipsis,align:a.align,component:c,prefixCls:f,key:v[n]},d,{additionalProps:t,rowType:"header"}))})))}W.displayName="HeaderRow";var U=W;var G=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=i.useContext(B),l=a.prefixCls,c=a.getComponent,d=i.useMemo((function(){return function(e){var n=[];!function e(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n[o]=n[o]||[];var a=r;return t.filter(Boolean).map((function(t){var r={key:t.key,className:t.className||"",children:t.title,column:t,colStart:a},l=1,i=t.children;return i&&i.length>0&&(l=e(i,a,o+1).reduce((function(e,n){return e+n}),0),r.hasSubColumns=!0),"colSpan"in t&&(l=t.colSpan),"rowSpan"in t&&(r.rowSpan=t.rowSpan),r.colSpan=l,r.colEnd=r.colStart+l-1,n[o].push(r),a+=l,l}))}(e,0);for(var t=n.length,r=function(e){n[e].forEach((function(n){"rowSpan"in n||n.hasSubColumns||(n.rowSpan=t-e)}))},o=0;o1?o-1:0),l=1;l0?[].concat((0,f.Z)(e),(0,f.Z)(ve(o).map((function(e){return(0,u.Z)({fixed:r},e)})))):[].concat((0,f.Z)(e),[(0,u.Z)((0,u.Z)({},n),{},{fixed:r})])}),[])}var me=function(e,n){var t=e.prefixCls,r=e.columns,a=e.children,l=e.expandable,c=e.expandedKeys,d=e.getRowKey,s=e.onTriggerExpand,f=e.expandIcon,p=e.rowExpandable,v=e.expandIconColumnIndex,m=e.direction,h=e.expandRowByClick,y=e.columnWidth,g=e.fixed,x=i.useMemo((function(){return r||pe(a)}),[r,a]),C=i.useMemo((function(){if(l){var e,n=x.slice();if(!n.includes(se)){var r=v||0;r>=0&&n.splice(r,0,se)}0;var a=n.indexOf(se);n=n.filter((function(e,n){return e!==se||n===a}));var u,m=x[a];u="left"!==g&&!g||v?"right"!==g&&!g||v!==x.length?m?m.fixed:null:"right":"left";var C=(e={},(0,o.Z)(e,de,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,o.Z)(e,"title",""),(0,o.Z)(e,"fixed",u),(0,o.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,o.Z)(e,"width",y),(0,o.Z)(e,"render",(function(e,n,r){var o=d(n,r),a=c.has(o),l=!p||p(n),u=f({prefixCls:t,expanded:a,expandable:l,record:n,onExpand:s});return h?i.createElement("span",{onClick:function(e){return e.stopPropagation()}},u):u})),e);return n.map((function(e){return e===se?C:e}))}return x.filter((function(e){return e!==se}))}),[l,x,d,c,f,m]),E=i.useMemo((function(){var e=C;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e}),[n,C,m]),k=i.useMemo((function(){return"rtl"===m?function(e){return e.map((function(e){var n=e.fixed,t=(0,S.Z)(e,fe),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,u.Z)({fixed:r},t)}))}(ve(E)):ve(E)}),[E,m]);return[E,k]};function he(e){var n=(0,i.useRef)(e),t=(0,i.useState)({}),r=(0,a.Z)(t,2)[1],o=(0,i.useRef)(null),l=(0,i.useRef)([]);return(0,i.useEffect)((function(){return function(){o.current=null}}),[]),[n.current,function(e){l.current.push(e);var t=Promise.resolve();o.current=t,t.then((function(){if(o.current===t){var e=l.current,a=n.current;l.current=[],e.forEach((function(e){n.current=e(n.current)})),o.current=null,a!==n.current&&r({})}}))}]}var ye=function(e,n,t){return(0,i.useMemo)((function(){for(var r=[],o=[],a=0,l=0,i=0;i=0;a-=1){var c=n[a],d=t&&t[a],s=d&&d[de];if(c||s||o){var u=s||{},f=(u.columnType,(0,S.Z)(u,ge));r.unshift(i.createElement("col",(0,l.Z)({key:a,style:{width:c}},f))),o=!0}}return i.createElement("colgroup",null,r)};var Ce=function(e){var n=e.className,t=e.children;return i.createElement("div",{className:n},t)},Ee=i.createContext({});var ke=["children"];function Ze(e){return e.children}Ze.Row=function(e){var n=e.children,t=(0,S.Z)(e,ke);return i.createElement("tr",t,n)},Ze.Cell=function(e){var n=e.className,t=e.index,r=e.children,o=e.colSpan,a=void 0===o?1:o,c=e.rowSpan,d=e.align,s=i.useContext(B),u=s.prefixCls,f=s.direction,p=i.useContext(Ee),v=p.scrollColumnIndex,m=p.stickyOffsets,h=t+a-1+1===v?a+1:a,y=V(t,t+h-1,p.flattenColumns,m,f);return i.createElement(j,(0,l.Z)({className:n,index:t,component:"td",prefixCls:u,record:null,dataIndex:null,align:d,colSpan:h,rowSpan:c,render:function(){return r}},y))};var Ne=Ze;var be=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=i.useContext(B).prefixCls,a=r.length-1,l=r[a],c=i.useMemo((function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null===l||void 0===l?void 0:l.scrollbar)?a:null}}),[l,r,a,t]);return i.createElement(Ee.Provider,{value:c},i.createElement("tfoot",{className:"".concat(o,"-summary")},n))},we=Ne;function Se(e){var n,t=e.prefixCls,r=e.record,a=e.onExpand,l=e.expanded,c=e.expandable,s="".concat(t,"-row-expand-icon");if(!c)return i.createElement("span",{className:d()(s,"".concat(t,"-row-spaced"))});return i.createElement("span",{className:d()(s,(n={},(0,o.Z)(n,"".concat(t,"-row-expanded"),l),(0,o.Z)(n,"".concat(t,"-row-collapsed"),!l),n)),onClick:function(e){a(r,e),e.stopPropagation()}})}var Ke=t(64019);function Oe(e){var n=e.getBoundingClientRect(),t=document.documentElement;return{left:n.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||document.body.clientLeft||0),top:n.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||document.body.clientTop||0)}}var Pe=function(e,n){var t,r,l=e.scrollBodyRef,c=e.onScroll,s=e.offsetScroll,f=e.container,p=i.useContext(B).prefixCls,v=(null===(t=l.current)||void 0===t?void 0:t.scrollWidth)||0,m=(null===(r=l.current)||void 0===r?void 0:r.clientWidth)||0,h=v&&m*(m/v),y=i.useRef(),g=he({scrollLeft:0,isHiddenScrollBar:!1}),x=(0,a.Z)(g,2),C=x[0],E=x[1],k=i.useRef({delta:0,x:0}),N=i.useState(!1),b=(0,a.Z)(N,2),w=b[0],S=b[1],K=function(){S(!1)},O=function(e){var n,t=(e||(null===(n=window)||void 0===n?void 0:n.event)).buttons;if(w&&0!==t){var r=k.current.x+e.pageX-k.current.x-k.current.delta;r<=0&&(r=0),r+h>=m&&(r=m-h),c({scrollLeft:r/m*(v+2)}),k.current.x=e.pageX}else w&&S(!1)},P=function(){if(l.current){var e=Oe(l.current).top,n=e+l.current.offsetHeight,t=f===window?document.documentElement.scrollTop+window.innerHeight:Oe(f).top+f.clientHeight;n-Z()<=t||e>=t-s?E((function(e){return(0,u.Z)((0,u.Z)({},e),{},{isHiddenScrollBar:!0})})):E((function(e){return(0,u.Z)((0,u.Z)({},e),{},{isHiddenScrollBar:!1})}))}},D=function(e){E((function(n){return(0,u.Z)((0,u.Z)({},n),{},{scrollLeft:e/v*m||0})}))};return i.useImperativeHandle(n,(function(){return{setScrollLeft:D}})),i.useEffect((function(){var e=(0,Ke.Z)(document.body,"mouseup",K,!1),n=(0,Ke.Z)(document.body,"mousemove",O,!1);return P(),function(){e.remove(),n.remove()}}),[h,w]),i.useEffect((function(){var e=(0,Ke.Z)(f,"scroll",P,!1),n=(0,Ke.Z)(window,"resize",P,!1);return function(){e.remove(),n.remove()}}),[f]),i.useEffect((function(){C.isHiddenScrollBar||E((function(e){var n=l.current;return n?(0,u.Z)((0,u.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e}))}),[C.isHiddenScrollBar]),v<=m||!h||C.isHiddenScrollBar?null:i.createElement("div",{style:{height:Z(),width:m,bottom:s},className:"".concat(p,"-sticky-scroll")},i.createElement("div",{onMouseDown:function(e){e.persist(),k.current.delta=e.pageX-C.scrollLeft,k.current.x=0,S(!0),e.preventDefault()},ref:y,className:d()("".concat(p,"-sticky-scroll-bar"),(0,o.Z)({},"".concat(p,"-sticky-scroll-bar-active"),w)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(C.scrollLeft,"px, 0, 0)")}}))},De=i.forwardRef(Pe),Re=(0,m.Z)()?window:null;var Me=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var Le=i.forwardRef((function(e,n){var t=e.className,r=e.noData,a=e.columns,l=e.flattenColumns,c=e.colWidths,s=e.columCount,p=e.stickyOffsets,v=e.direction,m=e.fixHeader,h=e.stickyTopOffset,y=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,C=e.maxContentScroll,E=e.children,k=(0,S.Z)(e,Me),Z=i.useContext(B),N=Z.prefixCls,b=Z.scrollbarSize,w=Z.isSticky,O=w&&!m?0:b,P=i.useRef(null),D=i.useCallback((function(e){(0,K.mH)(n,e),(0,K.mH)(P,e)}),[]);i.useEffect((function(){var e;function n(e){var n=e.currentTarget,t=e.deltaX;t&&(x({currentTarget:n,scrollLeft:n.scrollLeft+t}),e.preventDefault())}return null===(e=P.current)||void 0===e||e.addEventListener("wheel",n),function(){var e;null===(e=P.current)||void 0===e||e.removeEventListener("wheel",n)}}),[]);var R=i.useMemo((function(){return l.every((function(e){return e.width>=0}))}),[l]),M=l[l.length-1],L={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(N,"-cell-scrollbar")}}},T=(0,i.useMemo)((function(){return O?[].concat((0,f.Z)(a),[L]):a}),[O,a]),I=(0,i.useMemo)((function(){return O?[].concat((0,f.Z)(l),[L]):l}),[O,l]),A=(0,i.useMemo)((function(){var e=p.right,n=p.left;return(0,u.Z)((0,u.Z)({},p),{},{left:"rtl"===v?[].concat((0,f.Z)(n.map((function(e){return e+O}))),[0]):n,right:"rtl"===v?e:[].concat((0,f.Z)(e.map((function(e){return e+O}))),[0]),isSticky:w})}),[O,p,w]),H=function(e,n){return(0,i.useMemo)((function(){for(var t=[],r=0;r0)):(an(a>0),sn(a0?d:e}),h=Math.ceil((d||e)/m.pageSize);m.current>h&&(m.current=h||1);var y=function(e,n){v({current:null!==e&&void 0!==e?e:1,pageSize:n||m.pageSize})};return!1===n?[{},function(){}]:[(0,l.Z)((0,l.Z)({},m),{onChange:function(e,r){var o;n&&(null===(o=n.onChange)||void 0===o||o.call(n,e,r)),y(e,r),t(e,r||(null===m||void 0===m?void 0:m.pageSize))}}),y]}var Ge=t(84506),Xe=t(80882),qe=t(98423),Ye=t(15671),$e=t(43144),Qe=t(97326),Je=t(60136),en=t(33643),nn=i.createContext(null),tn=function(e){for(var n=e.prefixCls,t=e.level,r=e.isStart,a=e.isEnd,l="".concat(n,"-indent-unit"),c=[],s=0;s=0&&t.splice(r,1),t}function fn(e,n){var t=(e||[]).slice();return-1===t.indexOf(n)&&t.push(n),t}function pn(e){return e.split("-")}function vn(e,n){return"".concat(e,"-").concat(n)}function mn(e,n){var t=[];return function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n.forEach((function(n){var r=n.key,o=n.children;t.push(r),e(o)}))}(n[e].children),t}function hn(e){if(e.parent){var n=pn(e.pos);return Number(n[n.length-1])===e.parent.children.length-1}return!1}function yn(e,n,t,r,o,a,l,i,c,d){var s,u=e.clientX,f=e.clientY,p=e.target.getBoundingClientRect(),v=p.top,m=p.height,h=(("rtl"===d?-1:1)*(((null===o||void 0===o?void 0:o.x)||0)-u)-12)/r,y=i[t.props.eventKey];if(f-1.5?a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1:a({dragNode:w,dropNode:S,dropPosition:0})?Z=0:a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1:a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1,{dropPosition:Z,dropLevelOffset:N,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:k,dropContainerKey:0===Z?null:(null===(s=y.parent)||void 0===s?void 0:s.key)||null,dropAllowed:K}}function gn(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function xn(e){if(!e)return null;var n;if(Array.isArray(e))n={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,r.Z)(e))return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;n={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return n}function Cn(e,n){var t=new Set;function r(e){if(!t.has(e)){var o=n[e];if(o){t.add(e);var a=o.parent;o.node.disabled||a&&r(a.key)}}}return(e||[]).forEach((function(e){r(e)})),(0,f.Z)(t)}var En=["children"];function kn(e,n){return null!==e&&void 0!==e?e:n}function Zn(e){var n=e||{},t=n.title||"title";return{title:t,_title:n._title||[t],key:n.key||"key",children:n.children||"children"}}function Nn(e){return function e(n){return(0,ie.Z)(n).map((function(n){if(!function(e){return e&&e.type&&e.type.isTreeNode}(n))return(0,E.ZP)(!n,"Tree/TreeNode can only accept TreeNode as children."),null;var t=n.key,r=n.props,o=r.children,a=(0,S.Z)(r,En),l=(0,u.Z)({key:t},a),i=e(o);return i.length&&(l.children=i),l})).filter((function(e){return e}))}(e)}function bn(e,n,t){var r=Zn(t),o=r._title,a=r.key,l=r.children,i=new Set(!0===n?[]:n),c=[];return function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t.map((function(d,s){for(var p,v=vn(r?r.pos:"0",s),m=kn(d[a],v),h=0;h1&&void 0!==arguments[1]?arguments[1]:{},t=n.initWrapper,r=n.processEntity,o=n.onProcessFinished,a=n.externalGetKey,l=n.childrenPropName,i=n.fieldNames,c=arguments.length>2?arguments[2]:void 0,d=a||c,s={},u={},f={posEntities:s,keyEntities:u};return t&&(f=t(f)||f),wn(e,(function(e){var n=e.node,t=e.index,o=e.pos,a=e.key,l=e.parentPos,i=e.level,c={node:n,nodes:e.nodes,index:t,key:a,pos:o,level:i},d=kn(a,o);s[o]=c,u[d]=c,c.parent=s[l],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),r&&r(c,f)}),{externalGetKey:d,childrenPropName:l,fieldNames:i}),o&&o(f),f}function Kn(e,n){var t=n.expandedKeys,r=n.selectedKeys,o=n.loadedKeys,a=n.loadingKeys,l=n.checkedKeys,i=n.halfCheckedKeys,c=n.dragOverNodeKey,d=n.dropPosition,s=n.keyEntities[e];return{eventKey:e,expanded:-1!==t.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==l.indexOf(e),halfChecked:-1!==i.indexOf(e),pos:String(s?s.pos:""),dragOver:c===e&&0===d,dragOverGapTop:c===e&&-1===d,dragOverGapBottom:c===e&&1===d}}function On(e){var n=e.data,t=e.expanded,r=e.selected,o=e.checked,a=e.loaded,l=e.loading,i=e.halfChecked,c=e.dragOver,d=e.dragOverGapTop,s=e.dragOverGapBottom,f=e.pos,p=e.active,v=e.eventKey,m=(0,u.Z)((0,u.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:l,halfChecked:i,dragOver:c,dragOverGapTop:d,dragOverGapBottom:s,pos:f,active:p,key:v});return"props"in m||Object.defineProperty(m,"props",{get:function(){return(0,E.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}function Pn(e,n){var t=new Set;return e.forEach((function(e){n.has(e)||t.add(e)})),t}function Dn(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!(!t&&!r)||!1===o}function Rn(e,n,t,r){var o,a=[];o=r||Dn;var l,i=new Set(e.filter((function(e){var n=!!t[e];return n||a.push(e),n}))),c=new Map,d=0;return Object.keys(t).forEach((function(e){var n=t[e],r=n.level,o=c.get(r);o||(o=new Set,c.set(r,o)),o.add(n),d=Math.max(d,r)})),(0,E.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),l=!0===n?function(e,n,t,r){for(var o=new Set(e),a=new Set,l=0;l<=t;l+=1)(n.get(l)||new Set).forEach((function(e){var n=e.key,t=e.node,a=e.children,l=void 0===a?[]:a;o.has(n)&&!r(t)&&l.filter((function(e){return!r(e.node)})).forEach((function(e){o.add(e.key)}))}));for(var i=new Set,c=t;c>=0;c-=1)(n.get(c)||new Set).forEach((function(e){var n=e.parent,t=e.node;if(!r(t)&&e.parent&&!i.has(e.parent.key))if(r(e.parent.node))i.add(n.key);else{var l=!0,c=!1;(n.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var n=e.key,t=o.has(n);l&&!t&&(l=!1),c||!t&&!a.has(n)||(c=!0)})),l&&o.add(n.key),c&&a.add(n.key),i.add(n.key)}}));return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(Pn(a,o))}}(i,c,d,o):function(e,n,t,r,o){for(var a=new Set(e),l=new Set(n),i=0;i<=r;i+=1)(t.get(i)||new Set).forEach((function(e){var n=e.key,t=e.node,r=e.children,i=void 0===r?[]:r;a.has(n)||l.has(n)||o(t)||i.filter((function(e){return!o(e.node)})).forEach((function(e){a.delete(e.key)}))}));l=new Set;for(var c=new Set,d=r;d>=0;d-=1)(t.get(d)||new Set).forEach((function(e){var n=e.parent,t=e.node;if(!o(t)&&e.parent&&!c.has(e.parent.key))if(o(e.parent.node))c.add(n.key);else{var r=!0,i=!1;(n.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var n=e.key,t=a.has(n);r&&!t&&(r=!1),i||!t&&!l.has(n)||(i=!0)})),r||a.delete(n.key),i&&l.add(n.key),c.add(n.key)}}));return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(Pn(l,a))}}(i,n.halfCheckedKeys,c,d,o),l}var Mn=t(5663),Ln=t(32808),Tn=t(38504),In=t(66516),An=t(50132),Hn=t(17799),zn=t(65223),_n=i.createContext(null),Fn=_n.Provider,jn=_n,Bn=i.createContext(null),Vn=Bn.Provider,Wn=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&(w=v.map((function(e){return"string"===typeof e||"number"===typeof e?i.createElement(Xn,{key:e.toString(),prefixCls:N,disabled:y,value:e,checked:p===e},e):i.createElement(Xn,{key:"radio-group-value-options-".concat(e.value),prefixCls:N,disabled:e.disabled||y,value:e.value,checked:p===e.value,style:e.style},e.label)})));var S=x||s,K=d()(b,"".concat(b,"-").concat(h),(t={},(0,o.Z)(t,"".concat(b,"-").concat(S),S),(0,o.Z)(t,"".concat(b,"-rtl"),"rtl"===c),t),f);return i.createElement("div",(0,l.Z)({},(0,Yn.Z)(e),{className:K,style:C,onMouseEnter:k,onMouseLeave:Z,id:E,ref:n}),w)}())})),Qn=i.memo($n),Jn=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=e.length,r=n.length;if(1!==Math.abs(t-r))return{add:!1,key:null};function o(e,n){var t=new Map;e.forEach((function(e){t.set(e,!0)}));var r=n.filter((function(e){return!t.has(e)}));return 1===r.length?r[0]:null}return t ").concat(n);return n}(Z)),i.createElement("div",null,i.createElement("input",{style:Xt,disabled:!1===k||v,tabIndex:!1!==k?b:null,onKeyDown:w,onFocus:K,onBlur:O,value:"",onChange:qt,"aria-label":"for screen reader"})),i.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},i.createElement("div",{className:"".concat(t,"-indent")},i.createElement("div",{ref:T,className:"".concat(t,"-indent-unit")}))),i.createElement(Ft.Z,(0,l.Z)({},M,{data:re,itemKey:nr,height:x,fullHeight:!1,virtual:E,itemHeight:C,prefixCls:"".concat(t,"-list"),ref:L,onVisibleChange:function(e,n){var t=new Set(e);n.filter((function(e){return!t.has(e)})).some((function(e){return nr(e)===Yt}))&&te()}}),(function(e){var n=e.pos,t=(0,l.Z)({},e.data),r=e.title,o=e.key,a=e.isStart,c=e.isEnd,d=kn(o,n);delete t.key,delete t.children;var s=Kn(d,oe);return i.createElement(Wt,(0,l.Z)({},t,s,{title:r,active:!!Z&&o===Z.key,pos:n,data:e.data,isStart:a,isEnd:c,motion:g,motionNodes:o===Yt?Y:null,motionType:ee,onMotionStart:D,onMotionEnd:te,treeNodeRequiredProps:oe,onMouseMove:function(){P(null)}}))})))},rr=i.forwardRef(tr);rr.displayName="NodeList";var or=rr;var ar=function(e){(0,Je.Z)(t,e);var n=(0,en.Z)(t);function t(){var e;(0,Ye.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2],a=e.state,l=a.dragChildrenKeys,i=a.dropPosition,c=a.dropTargetKey,d=a.dropTargetPos,s=a.dropAllowed;if(s){var f=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,u.Z)((0,u.Z)({},Kn(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.data.key)===c,data:e.state.keyEntities[c].node}),v=-1!==l.indexOf(c);(0,E.ZP)(!v,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var m=pn(d),h={event:n,node:On(p),dragNode:e.dragNode?On(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(l),dropToGap:0!==i,dropPosition:i+Number(m[m.length-1])};o||null===f||void 0===f||f(h),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.onNodeClick=function(n,t){var r=e.props.onClick;null===r||void 0===r||r(n,t)},e.onNodeDoubleClick=function(n,t){var r=e.props.onDoubleClick;null===r||void 0===r||r(n,t)},e.onNodeSelect=function(n,t){var r=e.state.selectedKeys,o=e.state,a=o.keyEntities,l=o.fieldNames,i=e.props,c=i.onSelect,d=i.multiple,s=t.selected,u=t[l.key],f=!s,p=(r=f?d?fn(r,u):[u]:un(r,u)).map((function(e){var n=a[e];return n?n.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),null===c||void 0===c||c(r,{event:"select",selected:f,node:t,selectedNodes:p,nativeEvent:n.nativeEvent})},e.onNodeCheck=function(n,t,r){var o,a=e.state,l=a.keyEntities,i=a.checkedKeys,c=a.halfCheckedKeys,d=e.props,s=d.checkStrictly,u=d.onCheck,p=t.key,v={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(s){var m=r?fn(i,p):un(i,p);o={checked:m,halfChecked:un(c,p)},v.checkedNodes=m.map((function(e){return l[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:m})}else{var h=Rn([].concat((0,f.Z)(i),[p]),!0,l),y=h.checkedKeys,g=h.halfCheckedKeys;if(!r){var x=new Set(y);x.delete(p);var C=Rn(Array.from(x),{checked:!1,halfCheckedKeys:g},l);y=C.checkedKeys,g=C.halfCheckedKeys}o=y,v.checkedNodes=[],v.checkedNodesPositions=[],v.halfCheckedKeys=g,y.forEach((function(e){var n=l[e];if(n){var t=n.node,r=n.pos;v.checkedNodes.push(t),v.checkedNodesPositions.push({node:t,pos:r})}})),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:g})}null===u||void 0===u||u(o,v)},e.onNodeLoad=function(n){var t=n.key,r=new Promise((function(r,o){e.setState((function(a){var l=a.loadedKeys,i=void 0===l?[]:l,c=a.loadingKeys,d=void 0===c?[]:c,s=e.props,u=s.loadData,f=s.onLoad;return u&&-1===i.indexOf(t)&&-1===d.indexOf(t)?(u(n).then((function(){var o=fn(e.state.loadedKeys,t);null===f||void 0===f||f(o,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:o}),e.setState((function(e){return{loadingKeys:un(e.loadingKeys,t)}})),r()})).catch((function(n){if(e.setState((function(e){return{loadingKeys:un(e.loadingKeys,t)}})),e.loadingRetryTimes[t]=(e.loadingRetryTimes[t]||0)+1,e.loadingRetryTimes[t]>=10){var a=e.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:fn(a,t)}),r()}o(n)})),{loadingKeys:fn(d,t)}):null}))}));return r.catch((function(){})),r},e.onNodeMouseEnter=function(n,t){var r=e.props.onMouseEnter;null===r||void 0===r||r({event:n,node:t})},e.onNodeMouseLeave=function(n,t){var r=e.props.onMouseLeave;null===r||void 0===r||r({event:n,node:t})},e.onNodeContextMenu=function(n,t){var r=e.props.onRightClick;r&&(n.preventDefault(),r({event:n,node:t}))},e.onFocus=function(){var n=e.props.onFocus;e.setState({focused:!0});for(var t=arguments.length,r=new Array(t),o=0;o1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,a=!0,l={};Object.keys(n).forEach((function(t){t in e.props?a=!1:(o=!0,l[t]=n[t])})),!o||t&&!a||e.setState((0,u.Z)((0,u.Z)({},l),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,$e.Z)(t,[{key:"componentDidMount",value:function(){this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,n,t=this.state,a=t.focused,c=t.flattenNodes,s=t.keyEntities,u=t.draggingNodeKey,f=t.activeKey,p=t.dropLevelOffset,m=t.dropContainerKey,h=t.dropTargetKey,y=t.dropPosition,g=t.dragOverNodeKey,x=t.indent,C=this.props,E=C.prefixCls,k=C.className,Z=C.style,N=C.showLine,b=C.focusable,w=C.tabIndex,S=void 0===w?0:w,K=C.selectable,O=C.showIcon,P=C.icon,D=C.switcherIcon,R=C.draggable,M=C.checkable,L=C.checkStrictly,T=C.disabled,I=C.motion,A=C.loadData,H=C.filterTreeNode,z=C.height,_=C.itemHeight,F=C.virtual,j=C.titleRender,B=C.dropIndicatorRender,V=C.onContextMenu,W=C.onScroll,U=C.direction,G=C.rootClassName,X=C.rootStyle,q=(0,v.Z)(this.props,{aria:!0,data:!0});return R&&(n="object"===(0,r.Z)(R)?R:"function"===typeof R?{nodeDraggable:R}:{}),i.createElement(nn.Provider,{value:{prefixCls:E,selectable:K,showIcon:O,icon:P,switcherIcon:D,draggable:n,draggingNodeKey:u,checkable:M,checkStrictly:L,disabled:T,keyEntities:s,dropLevelOffset:p,dropContainerKey:m,dropTargetKey:h,dropPosition:y,dragOverNodeKey:g,indent:x,direction:U,dropIndicatorRender:B,loadData:A,filterTreeNode:H,titleRender:j,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},i.createElement("div",{role:"tree",className:d()(E,k,G,(e={},(0,o.Z)(e,"".concat(E,"-show-line"),N),(0,o.Z)(e,"".concat(E,"-focused"),a),(0,o.Z)(e,"".concat(E,"-active-focused"),null!==f),e)),style:X},i.createElement(or,(0,l.Z)({ref:this.listRef,prefixCls:E,style:Z,data:c,disabled:T,selectable:K,checkable:!!M,motion:I,dragging:null!==u,height:z,itemHeight:_,virtual:F,focusable:b,focused:a,tabIndex:S,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:V,onScroll:W},this.getTreeNodeRequiredProps(),q))))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t,r=n.prevProps,a={prevProps:e};function l(n){return!r&&n in e||r&&r[n]!==e[n]}var i=n.fieldNames;if(l("fieldNames")&&(i=Zn(e.fieldNames),a.fieldNames=i),l("treeData")?t=e.treeData:l("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=Nn(e.children)),t){a.treeData=t;var c=Sn(t,{fieldNames:i});a.keyEntities=(0,u.Z)((0,o.Z)({},Yt,Qt),c.keyEntities)}var d,s=a.keyEntities||n.keyEntities;if(l("expandedKeys")||r&&l("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?Cn(e.expandedKeys,s):e.expandedKeys;else if(!r&&e.defaultExpandAll){var f=(0,u.Z)({},s);delete f[Yt],a.expandedKeys=Object.keys(f).map((function(e){return f[e].key}))}else!r&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?Cn(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var p=bn(t||n.treeData,a.expandedKeys||n.expandedKeys,i);a.flattenNodes=p}if((e.selectable&&(l("selectedKeys")?a.selectedKeys=gn(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=gn(e.defaultSelectedKeys,e))),e.checkable)&&(l("checkedKeys")?d=xn(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?d=xn(e.defaultCheckedKeys)||{}:t&&(d=xn(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),d)){var v=d,m=v.checkedKeys,h=void 0===m?[]:m,y=v.halfCheckedKeys,g=void 0===y?[]:y;if(!e.checkStrictly){var x=Rn(h,!0,s);h=x.checkedKeys,g=x.halfCheckedKeys}a.checkedKeys=h,a.halfCheckedKeys=g}return l("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(i.Component);ar.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var n=e.dropPosition,t=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(n){case-1:o.top=0,o.left=-t*r;break;case 1:o.bottom=0,o.left=-t*r;break;case 0:o.bottom=0,o.left=r}return i.createElement("div",{style:o})},allowDrop:function(){return!0}},ar.TreeNode=sn;var lr=ar,ir=t(23279),cr=t.n(ir),dr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},sr=function(e,n){return i.createElement(pt.Z,(0,u.Z)((0,u.Z)({},e),{},{ref:n,icon:dr}))};sr.displayName="FileOutlined";var ur=i.forwardRef(sr),fr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},pr=function(e,n){return i.createElement(pt.Z,(0,u.Z)((0,u.Z)({},e),{},{ref:n,icon:fr}))};pr.displayName="FolderOpenOutlined";var vr=i.forwardRef(pr),mr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},hr=function(e,n){return i.createElement(pt.Z,(0,u.Z)((0,u.Z)({},e),{},{ref:n,icon:mr}))};hr.displayName="FolderOutlined";var yr,gr=i.forwardRef(hr);function xr(e,n){e.forEach((function(e){var t=e.key,r=e.children;!1!==n(t,e)&&xr(r||[],n)}))}function Cr(e){var n=e.treeData,t=e.expandedKeys,r=e.startKey,o=e.endKey,a=[],l=yr.None;if(r&&r===o)return[r];if(!r||!o)return[];return xr(n,(function(e){if(l===yr.End)return!1;if(function(e){return e===r||e===o}(e)){if(a.push(e),l===yr.None)l=yr.Start;else if(l===yr.Start)return l=yr.End,!1}else l===yr.Start&&a.push(e);return-1!==t.indexOf(e)})),a}function Er(e,n){var t=(0,f.Z)(n),r=[];return xr(e,(function(e,n){var o=t.indexOf(e);return-1!==o&&(r.push(n),t.splice(o,1)),!!t.length})),r}!function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"}(yr||(yr={}));var kr=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},n=e.confirm,t=e.closeDropdown;n&&Q([]),t&&P(!1),q(""),I(Z?(N||[]).map((function(e){return String(e)})):[])},ne=d()((0,o.Z)({},"".concat(c,"-menu-without-submenu"),!(l.filters||[]).some((function(e){return e.children})))),te=function(e){if(e.target.checked){var n=no(null===l||void 0===l?void 0:l.filters).map((function(e){return String(e)}));I(n)}else I([])},re=function e(n){return(n.filters||[]).map((function(n,t){var r=String(n.value),o={title:n.text,key:void 0!==n.value?r:t};return n.children&&(o.children=e({filters:n.children})),o}))};if("function"===typeof l.filterDropdown)$=l.filterDropdown({prefixCls:"".concat(c,"-custom"),setSelectedKeys:function(e){return A({selectedKeys:e})},selectedKeys:T(),confirm:function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0}).closeDropdown&&P(!1),Q(T())},clearFilters:ee,filters:l.filters,visible:D});else if(l.filterDropdown)$=l.filterDropdown;else{var oe=T()||[];$=i.createElement(i.Fragment,null,0===(l.filters||[]).length?i.createElement(Vr.Z,{image:Vr.Z.PRESENTED_IMAGE_SIMPLE,description:g.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===p?i.createElement(i.Fragment,null,i.createElement(Xr,{filterSearch:m,value:X,onChange:Y,tablePrefixCls:t,locale:g}),i.createElement("div",{className:"".concat(t,"-filter-dropdown-tree")},u?i.createElement(Ln.Z,{checked:oe.length===no(l.filters).length,indeterminate:oe.length>0&&oe.length1&&void 0!==arguments[1]?arguments[1]:{},t=n.getContainer,r=void 0===t?function(){return window}:t,o=n.callback,a=n.duration,l=void 0===a?450:a,i=r(),c=uo(i,!0),d=Date.now(),s=function n(){var t=Date.now()-d,r=fo(t>l?l:t,c,e,l);so(i)?i.scrollTo(window.pageXOffset,r):i instanceof HTMLDocument||"HTMLDocument"===i.constructor.name?i.documentElement.scrollTop=r:i.scrollTop=r,t2&&void 0!==arguments[2]&&arguments[2],r=(0,l.Z)((0,l.Z)({},ce),e);t&&(ce.resetPagination(),r.pagination.current&&(r.pagination.current=1),y&&y.onChange&&y.onChange(1,r.pagination.pageSize)),R&&!1!==R.scrollToFirstRowOnChange&&oe.body.current&&po(0,{getContainer:function(){return oe.body.current}}),null===N||void 0===N||N(r.pagination,r.filters,r.sorter,{currentDataSource:ro(Ot(Y,r.sorterStates,te),r.filterStates),action:n})},se=Pt({prefixCls:Q,mergedColumns:_,onSorterChange:function(e,n){de({sorter:e,sorterStates:n},"sort",!1)},sortDirections:M||["ascend","descend"],tableLocale:q,showSorterTooltip:I}),ue=(0,a.Z)(se,4),fe=ue[0],ve=ue[1],me=ue[2],he=ue[3],ye=i.useMemo((function(){return Ot(Y,ve,te)}),[Y,ve]);ce.sorter=he(),ce.sorterStates=ve;var ge=oo({prefixCls:Q,locale:q,dropdownPrefixCls:J,mergedColumns:_,onFilterChange:function(e,n){de({filters:e,filterStates:n},"filter",!0)},getPopupContainer:b}),xe=(0,a.Z)(ge,3),Ce=xe[0],Ee=xe[1],ke=xe[2],Ze=ro(ye,Ee);ce.filters=ke(),ce.filterStates=Ee;var Ne=lo(i.useMemo((function(){return(0,l.Z)({},me)}),[me])),be=(0,a.Z)(Ne,1)[0],we=Ue(Ze.length,y,(function(e,n){de({pagination:(0,l.Z)((0,l.Z)({},ce.pagination),{current:e,pageSize:n})},"paginate")})),Se=(0,a.Z)(we,2),Ke=Se[0],Oe=Se[1];ce.pagination=!1===y?{}:function(e,n){var t={current:n.current,pageSize:n.pageSize},o=e&&"object"===(0,r.Z)(e)?e:{};return Object.keys(o).forEach((function(e){var r=n[e];"function"!==typeof r&&(t[e]=r)})),t}(y,Ke),ce.resetPagination=Oe;var Pe=i.useMemo((function(){if(!1===y||!Ke.pageSize)return Ze;var e=Ke.current,n=void 0===e?1:e,t=Ke.total,r=Ke.pageSize,o=void 0===r?10:r;return Ze.lengtho?Ze.slice((n-1)*o,n*o):Ze:Ze.slice((n-1)*o,n*o)}),[!!y,Ze,Ke&&Ke.current,Ke&&Ke.pageSize,Ke&&Ke.total]),De=st(g,{prefixCls:Q,data:Ze,pageData:Pe,getRowKey:ae,getRecordByKey:ie,expandType:re,childrenColumnName:te,locale:q,getPopupContainer:b}),Re=(0,a.Z)(De,2),Me=Re[0],Le=Re[1];ee.__PARENT_RENDER_ICON__=ee.expandIcon,ee.expandIcon=ee.expandIcon||S||io(q),"nest"===re&&void 0===ee.expandIconColumnIndex?ee.expandIconColumnIndex=g?1:0:ee.expandIconColumnIndex>0&&g&&(ee.expandIconColumnIndex-=1),"number"!==typeof ee.indentSize&&(ee.indentSize="number"===typeof D?D:15);var Te,Ie,Ae,ze=i.useCallback((function(e){return be(Me(Ce(fe(e))))}),[fe,Ce,Me]);if(!1!==y&&(null===Ke||void 0===Ke?void 0:Ke.total)){var _e;_e=Ke.size?Ke.size:"small"===X||"middle"===X?"small":void 0;var We=function(e){return i.createElement(Be.Z,(0,l.Z)({},Ke,{className:d()("".concat(Q,"-pagination ").concat(Q,"-pagination-").concat(e),Ke.className),size:_e}))},Ge="rtl"===G?"left":"right",Xe=Ke.position;if(null!==Xe&&Array.isArray(Xe)){var qe=Xe.find((function(e){return-1!==e.indexOf("top")})),Ye=Xe.find((function(e){return-1!==e.indexOf("bottom")})),$e=Xe.every((function(e){return"none"==="".concat(e)}));qe||Ye||$e||(Ie=We(Ge)),qe&&(Te=We(qe.toLowerCase().replace("top",""))),Ye&&(Ie=We(Ye.toLowerCase().replace("bottom","")))}else Ie=We(Ge)}"boolean"===typeof w?Ae={spinning:w}:"object"===(0,r.Z)(w)&&(Ae=(0,l.Z)({spinning:!0},w));var Qe=d()("".concat(Q,"-wrapper"),(0,o.Z)({},"".concat(Q,"-wrapper-rtl"),"rtl"===G),u);return i.createElement("div",{ref:n,className:Qe,style:f},i.createElement(je.Z,(0,l.Z)({spinning:!1},Ae),Te,i.createElement(Fe,(0,l.Z)({},F,{columns:_,direction:G,expandable:ee,prefixCls:Q,className:d()((t={},(0,o.Z)(t,"".concat(Q,"-middle"),"middle"===X),(0,o.Z)(t,"".concat(Q,"-small"),"small"===X),(0,o.Z)(t,"".concat(Q,"-bordered"),v),(0,o.Z)(t,"".concat(Q,"-empty"),0===Y.length),t)),data:Pe,rowKey:ae,rowClassName:function(e,n,t){var r;return r="function"===typeof C?d()(C(e,n,t)):d()(C),d()((0,o.Z)({},"".concat(Q,"-row-selected"),Le.has(ae(e,n))),r)},emptyText:L&&L.emptyText||U("Table"),internalHooks:He,internalRefs:oe,transformColumns:ze})),Ie))}var Co=i.forwardRef(xo);Co.defaultProps={rowKey:"key"},Co.SELECTION_COLUMN=ot,Co.EXPAND_COLUMN=Fe.EXPAND_COLUMN,Co.SELECTION_ALL=at,Co.SELECTION_INVERT=lt,Co.SELECTION_NONE=it,Co.Column=mo,Co.ColumnGroup=ho,Co.Summary=we;var Eo=Co},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(91),l=t(1413),i=t(15671),c=t(43144),d=t(60136),s=t(33643),u=t(67294),f=t(94184),p=t.n(f),v=function(e){(0,d.Z)(t,e);var n=(0,s.Z)(t);function t(e){var r;(0,i.Z)(this,t),(r=n.call(this,e)).handleChange=function(e){var n=r.props,t=n.disabled,o=n.onChange;t||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:(0,l.Z)((0,l.Z)({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in e?e.checked:e.defaultChecked;return r.state={checked:o},r}return(0,c.Z)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,l=n.className,i=n.style,c=n.name,d=n.id,s=n.type,f=n.disabled,v=n.readOnly,m=n.tabIndex,h=n.onClick,y=n.onFocus,g=n.onBlur,x=n.onKeyDown,C=n.onKeyPress,E=n.onKeyUp,k=n.autoFocus,Z=n.value,N=n.required,b=(0,a.Z)(n,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),w=Object.keys(b).reduce((function(e,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(e[n]=b[n]),e}),{}),S=this.state.checked,K=p()(t,l,(e={},(0,o.Z)(e,"".concat(t,"-checked"),S),(0,o.Z)(e,"".concat(t,"-disabled"),f),e));return u.createElement("span",{className:K,style:i},u.createElement("input",(0,r.Z)({name:c,id:d,type:s,required:N,readOnly:v,disabled:f,tabIndex:m,className:"".concat(t,"-input"),checked:!!S,onClick:h,onFocus:y,onBlur:g,onKeyUp:E,onKeyDown:x,onKeyPress:C,onChange:this.handleChange,autoFocus:k,ref:this.saveInput,value:Z},w)),u.createElement("span",{className:"".concat(t,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(e,n){return"checked"in e?(0,l.Z)((0,l.Z)({},n),{},{checked:e.checked}):null}}]),t}(u.Component);v.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},n.Z=v}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1598-ffd88763d04c8753.js b/static/web/_next/static/chunks/1598-ffd88763d04c8753.js deleted file mode 100644 index 7e7106387..000000000 --- a/static/web/_next/static/chunks/1598-ffd88763d04c8753.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1598],{48689:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},c=n(42922),u=function(e,t){return a.createElement(c.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};u.displayName="DeleteOutlined";var l=a.forwardRef(u)},6226:function(e,t,n){n.d(t,{Z:function(){return m}});var r=n(4942),a=n(87462),o=n(71002),c=n(67294),u=n(94184),l=n.n(u),i=n(99134),s=n(59844),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0){var k=E[0]/2;T.paddingLeft=k,T.paddingRight=k}if(E&&E[1]>0&&!g){var A=E[1]/2;T.paddingTop=A,T.paddingBottom=A}return O&&(T.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(O),!1!==h||T.minWidth||(T.minWidth=0)),c.createElement("div",(0,a.Z)({role:"cell"},I,{style:(0,a.Z)((0,a.Z)({},T),R),className:P,ref:t}),S)}));v.displayName="Col";var m=v},99134:function(e,t,n){var r=(0,n(67294).createContext)({});t.Z=r},25968:function(e,t,n){n.d(t,{Z:function(){return h}});var r=n(87462),a=n(4942),o=n(71002),c=n(97685),u=n(67294),l=n(94184),i=n.n(l),s=n(59844),f=n(99134),d=n(93355),v=n(24308),m=n(98082),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0?k[0]/-2:void 0,L=null!=k[1]&&k[1]>0?k[1]/-2:void 0;if(F&&(U.marginLeft=F,U.marginRight=F),w){var H=(0,c.Z)(k,2);U.rowGap=H[1]}else L&&(U.marginTop=L,U.marginBottom=L);var D=(0,c.Z)(k,2),K=D[0],j=D[1],B=u.useMemo((function(){return{gutter:[K,j],wrap:Z,supportFlexGap:w}}),[K,j,Z,w]);return u.createElement(f.Z.Provider,{value:B},u.createElement("div",(0,r.Z)({role:"row"},x,{className:A,style:(0,r.Z)((0,r.Z)({},U),g),ref:t}),b))})));E.displayName="Row";var h=E},23028:function(e,t,n){n.d(t,{Z:function(){return j}});var r=n(71002),a=n(4942),o=n(87462),c=n(97685),u=n(67294),l=n(74902),i=n(94184),s=n.n(i),f=n(96774),d=n.n(f);function v(e,t){var n=t||{},r=n.defaultValue,a=n.value,o=n.onChange,l=n.postState,i=function(e){var t=u.useRef(!1),n=u.useState(e),r=(0,c.Z)(n,2),a=r[0],o=r[1];return u.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||o(e)}]}((function(){return void 0!==a?a:void 0!==r?"function"===typeof r?r():r:"function"===typeof e?e():e})),s=(0,c.Z)(i,2),f=s[0],d=s[1],v=void 0!==a?a:f;l&&(v=l(v));var m=u.useRef(o);m.current=o;var p=u.useCallback((function(e,t){d(e,t),v!==e&&m.current&&m.current(e,v)}),[v,m]),E=u.useRef(a);return u.useEffect((function(){void 0===a&&a!==E.current&&d(a),E.current=a}),[a]),[v,p]}var m=n(91),p=n(1413),E={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=E.F1&&t<=E.F12)return!1;switch(t){case E.ALT:case E.CAPS_LOCK:case E.CONTEXT_MENU:case E.CTRL:case E.DOWN:case E.END:case E.ESC:case E.HOME:case E.INSERT:case E.LEFT:case E.MAC_FF_META:case E.META:case E.NUMLOCK:case E.NUM_CENTER:case E.PAGE_DOWN:case E.PAGE_UP:case E.PAUSE:case E.PRINT_SCREEN:case E.RIGHT:case E.SHIFT:case E.UP:case E.WIN_KEY:case E.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=E.ZERO&&e<=E.NINE)return!0;if(e>=E.NUM_ZERO&&e<=E.NUM_MULTIPLY)return!0;if(e>=E.A&&e<=E.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case E.SPACE:case E.QUESTION_MARK:case E.NUM_PLUS:case E.NUM_MINUS:case E.NUM_PERIOD:case E.NUM_DIVISION:case E.SEMICOLON:case E.DASH:case E.EQUALS:case E.COMMA:case E.PERIOD:case E.SLASH:case E.APOSTROPHE:case E.SINGLE_QUOTE:case E.OPEN_SQUARE_BRACKET:case E.BACKSLASH:case E.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},h=E,g=u.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0});function b(e,t,n){return(e-t)/(n-t)}function C(e,t,n,r){var a=b(t,n,r),o={};switch(e){case"rtl":o.right="".concat(100*a,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*a,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*a,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*a,"%"),o.transform="translateX(-50%)"}return o}function y(e,t){return Array.isArray(e)?e[t]:e}var Z=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"];var x=u.forwardRef((function(e,t){var n,r,c=e.prefixCls,l=e.value,i=e.valueIndex,f=e.onStartMove,d=e.style,v=e.render,E=e.dragging,b=e.onOffsetChange,x=(0,m.Z)(e,Z),N=u.useContext(g),M=N.min,S=N.max,O=N.direction,R=N.disabled,I=N.range,_=N.tabIndex,w=N.ariaLabelForHandle,P=N.ariaLabelledByForHandle,T=N.ariaValueTextFormatterForHandle,k="".concat(c,"-handle"),A=function(e){R||f(e,i)},U=C(O,l,M,S),F=u.createElement("div",(0,o.Z)({ref:t,className:s()(k,(n={},(0,a.Z)(n,"".concat(k,"-").concat(i+1),I),(0,a.Z)(n,"".concat(k,"-dragging"),E),n)),style:(0,p.Z)((0,p.Z)({},U),d),onMouseDown:A,onTouchStart:A,onKeyDown:function(e){if(!R){var t=null;switch(e.which||e.keyCode){case h.LEFT:t="ltr"===O||"btt"===O?-1:1;break;case h.RIGHT:t="ltr"===O||"btt"===O?1:-1;break;case h.UP:t="ttb"!==O?1:-1;break;case h.DOWN:t="ttb"!==O?-1:1;break;case h.HOME:t="min";break;case h.END:t="max";break;case h.PAGE_UP:t=2;break;case h.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),b(t,i))}},tabIndex:R?null:y(_,i),role:"slider","aria-valuemin":M,"aria-valuemax":S,"aria-valuenow":l,"aria-disabled":R,"aria-label":y(w,i),"aria-labelledby":y(P,i),"aria-valuetext":null===(r=y(T,i))||void 0===r?void 0:r(l)},x));return v&&(F=v(F,{index:i,prefixCls:c,value:l,dragging:E})),F})),N=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"];var M=u.forwardRef((function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,c=e.onOffsetChange,l=e.values,i=e.handleRender,s=e.draggingIndex,f=(0,m.Z)(e,N),d=u.useRef({});return u.useImperativeHandle(t,(function(){return{focus:function(e){var t;null===(t=d.current[e])||void 0===t||t.focus()}}})),u.createElement(u.Fragment,null,l.map((function(e,t){return u.createElement(x,(0,o.Z)({ref:function(e){e?d.current[t]=e:delete d.current[t]},dragging:s===t,prefixCls:n,style:y(r,t),key:t,value:e,valueIndex:t,onStartMove:a,onOffsetChange:c,render:i},f))})))}));function S(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function O(e){var t=e.prefixCls,n=e.style,r=e.start,a=e.end,o=e.index,c=e.onStartMove,l=u.useContext(g),i=l.direction,f=l.min,d=l.max,v=l.disabled,m=l.range,E="".concat(t,"-track"),h=b(r,f,d),C=b(a,f,d),y=function(e){!v&&c&&c(e,-1)},Z={};switch(i){case"rtl":Z.right="".concat(100*h,"%"),Z.width="".concat(100*C-100*h,"%");break;case"btt":Z.bottom="".concat(100*h,"%"),Z.height="".concat(100*C-100*h,"%");break;case"ttb":Z.top="".concat(100*h,"%"),Z.height="".concat(100*C-100*h,"%");break;default:Z.left="".concat(100*h,"%"),Z.width="".concat(100*C-100*h,"%")}return u.createElement("div",{className:s()(E,m&&"".concat(E,"-").concat(o+1)),style:(0,p.Z)((0,p.Z)({},Z),n),onMouseDown:y,onTouchStart:y})}function R(e){var t=e.prefixCls,n=e.style,r=e.values,a=e.startPoint,o=e.onStartMove,c=u.useContext(g),l=c.included,i=c.range,s=c.min,f=u.useMemo((function(){if(!i){if(0===r.length)return[];var e=null!==a&&void 0!==a?a:s,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],o=0;o=0&&j}),[j,ve]),pe=u.useMemo((function(){return Object.keys(ee||{}).map((function(e){var t=ee[e],n={value:Number(e)};return t&&"object"===(0,r.Z)(t)&&!u.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n})).filter((function(e){var t=e.label;return t||"number"===typeof t})).sort((function(e,t){return e.value-t.value}))}),[ee]),Ee=function(e,t,n,r,a,o){var c=u.useCallback((function(n){var r=isFinite(n)?n:e;return r=Math.min(t,n),Math.max(e,r)}),[e,t]),i=u.useCallback((function(r){if(null!==n){var a=e+Math.round((c(r)-e)/n)*n,o=function(e){return(String(e).split(".")[1]||"").length},u=Math.max(o(n),o(t),o(e)),l=Number(a.toFixed(u));return e<=l&&l<=t?l:null}return null}),[n,e,t,c]),s=u.useCallback((function(a){var o=c(a),u=r.map((function(e){return e.value}));null!==n&&u.push(i(a)),u.push(e,t);var l=u[0],s=t-e;return u.forEach((function(e){var t=Math.abs(o-e);t<=s&&(l=e,s=t)})),l}),[e,t,r,n,c,i]),f=function a(o,c,u){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"===typeof c){var f,d=o[u],v=d+c,m=[];r.forEach((function(e){m.push(e.value)})),m.push(e,t),m.push(i(d));var p=c>0?1:-1;"unit"===s?m.push(i(d+p*n)):m.push(i(v)),m=m.filter((function(e){return null!==e})).filter((function(e){return c<0?e<=d:e>=d})),"unit"===s&&(m=m.filter((function(e){return e!==d})));var E="unit"===s?d:v;f=m[0];var h=Math.abs(f-E);if(m.forEach((function(e){var t=Math.abs(e-E);t1){var g=(0,l.Z)(o);return g[u]=f,a(g,c-p,u,s)}return f}return"min"===c?e:"max"===c?t:void 0},d=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=f(e,t,n,r);return{value:o,changed:o!==a}},v=function(e){return null===o&&0===e||"number"===typeof o&&e3&&void 0!==arguments[3]?arguments[3]:"unit",c=e.map(s),u=c[n],l=f(c,t,n,r);if(c[n]=l,!1===a){var i=o||0;n>0&&c[n-1]!==u&&(c[n]=Math.max(c[n],c[n-1]+i)),n0;h-=1)for(var g=!0;v(c[h]-c[h-1])&&g;){var b=d(c,-1,h-1);c[h-1]=b.value,g=b.changed}for(var C=c.length-1;C>0;C-=1)for(var y=!0;v(c[C]-c[C-1])&&y;){var Z=d(c,-1,C-1);c[C-1]=Z.value,y=Z.changed}for(var x=0;x=0?A+1:2;for(n=n.slice(0,r);n.length=0&&le.current.focus(e)}Pe(null)}),[we]);var Te=u.useMemo((function(){return(!B||null!==ve)&&B}),[B,ve]),ke=function(e,t,n,r,a,o,i,s,f){var d=u.useState(null),v=(0,c.Z)(d,2),m=v[0],p=v[1],E=u.useState(-1),h=(0,c.Z)(E,2),g=h[0],b=h[1],C=u.useState(n),y=(0,c.Z)(C,2),Z=y[0],x=y[1],N=u.useState(n),M=(0,c.Z)(N,2),O=M[0],R=M[1],I=u.useRef(null),_=u.useRef(null);u.useEffect((function(){-1===g&&x(n)}),[n,g]),u.useEffect((function(){return function(){document.removeEventListener("mousemove",I.current),document.removeEventListener("mouseup",_.current),document.removeEventListener("touchmove",I.current),document.removeEventListener("touchend",_.current)}}),[]);var w=function(e,t){Z.some((function(t,n){return t!==e[n]}))&&(void 0!==t&&p(t),x(e),i(e))},P=function(e,t){if(-1===e){var n=O[0],c=O[O.length-1],u=r-n,i=a-c,s=t*(a-r);s=Math.max(s,u),s=Math.min(s,i);var d=o(n+s);s=d-n;var v=O.map((function(e){return e+s}));w(v)}else{var m=(a-r)*t,p=(0,l.Z)(Z);p[e]=O[e];var E=f(p,m,e,"dist");w(E.values,E.value)}},T=u.useRef(P);T.current=P;var k=u.useMemo((function(){var e=(0,l.Z)(n).sort((function(e,t){return e-t})),t=(0,l.Z)(Z).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?Z:n}),[n,Z]);return[g,m,k,function(r,a){r.stopPropagation();var o=n[a];b(a),p(o),R(n);var c=S(r),u=c.pageX,l=c.pageY,i=function(n){n.preventDefault();var r,o=S(n),c=o.pageX,i=o.pageY,s=c-u,f=i-l,d=e.current.getBoundingClientRect(),v=d.width,m=d.height;switch(t){case"btt":r=-f/m;break;case"ttb":r=f/m;break;case"rtl":r=-s/v;break;default:r=s/v}T.current(a,r)},f=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",i),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",i),I.current=null,_.current=null,b(-1),s()};document.addEventListener("mouseup",f),document.addEventListener("mousemove",i),document.addEventListener("touchend",f),document.addEventListener("touchmove",i),I.current=i,_.current=f}]}(ie,se,Ne,fe,de,ge,Oe,(function(){null===L||void 0===L||L(Se(Me.current))}),be),Ae=(0,c.Z)(ke,4),Ue=Ae[0],Fe=Ae[1],Le=Ae[2],He=Ae[3],De=function(e,t){He(e,t),null===F||void 0===F||F(Se(Me.current))},Ke=-1!==Ue;u.useEffect((function(){if(!Ke){var e=Ne.lastIndexOf(Fe);le.current.focus(e)}}),[Ke]);var je=u.useMemo((function(){return(0,l.Z)(Le).sort((function(e,t){return e-t}))}),[Le]),Be=u.useMemo((function(){return k?[je[0],je[je.length-1]]:[fe,je[0]]}),[je,k,fe]),Ge=(0,c.Z)(Be,2),We=Ge[0],Ve=Ge[1];u.useImperativeHandle(t,(function(){return{focus:function(){le.current.focus(0)},blur:function(){var e=document.activeElement;ie.current.contains(e)&&(null===e||void 0===e||e.blur())}}})),u.useEffect((function(){h&&le.current.focus(0)}),[]);var Ye=u.useMemo((function(){return{min:fe,max:de,direction:se,disabled:E,step:ve,included:Y,includedStart:We,includedEnd:Ve,range:k,tabIndex:ae,ariaLabelForHandle:oe,ariaLabelledByForHandle:ce,ariaValueTextFormatterForHandle:ue}}),[fe,de,se,E,ve,Y,We,Ve,k,ae,oe,ce,ue]);return u.createElement(g.Provider,{value:Ye},u.createElement("div",{ref:ie,className:s()(i,f,(n={},(0,a.Z)(n,"".concat(i,"-disabled"),E),(0,a.Z)(n,"".concat(i,"-vertical"),W),(0,a.Z)(n,"".concat(i,"-horizontal"),!W),(0,a.Z)(n,"".concat(i,"-with-marks"),pe.length),n)),style:m,onMouseDown:function(e){e.preventDefault();var t,n=ie.current.getBoundingClientRect(),r=n.width,a=n.height,o=n.left,c=n.top,u=n.bottom,l=n.right,i=e.clientX,s=e.clientY;switch(se){case"btt":t=(u-s)/a;break;case"ttb":t=(s-c)/a;break;case"rtl":t=(l-i)/r;break;default:t=(i-o)/r}Re(ge(fe+t*(de-fe)))}},u.createElement("div",{className:"".concat(i,"-rail"),style:J}),u.createElement(R,{prefixCls:i,style:X,values:je,startPoint:Q,onStartMove:Te?De:null}),u.createElement(P,{prefixCls:i,marks:pe,dots:te,style:$,activeStyle:q}),u.createElement(M,{ref:le,prefixCls:i,style:z,values:Le,draggingIndex:Ue,onStartMove:De,onOffsetChange:function(e,t){if(!E){var n=be(Ne,e,t);null===F||void 0===F||F(Se(Ne)),Oe(n.values),null===L||void 0===L||L(Se(n.values)),Pe(n.value)}},onFocus:b,onBlur:C,handleRender:ne}),u.createElement(_,{prefixCls:i,marks:pe,onClick:Re})))}));var k=T,A=n(17799),U=n(96523),F=n(94199),L=u.forwardRef((function(e,t){var n=e.visible,r=(0,u.useRef)(null),a=(0,u.useRef)(null);function c(){U.Z.cancel(a.current),a.current=null}return u.useEffect((function(){return n?a.current=(0,U.Z)((function(){var e;null===(e=r.current)||void 0===e||e.forcePopupAlign(),a.current=null})):c(),c}),[n,e.title]),u.createElement(F.Z,(0,o.Z)({ref:(0,A.sQ)(r,t)},e))})),H=n(59844),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1=56320&&a<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[i]);return c}t.defaultChars=";/?:@&=+$,-_.!~*'()#",t.componentChars="-_.!~*'()",e.exports=t},71471:function(e,n){"use strict";var t=60103,r=60106,o=60107,i=60108,l=60114,u=60109,a=60110,s=60112,c=60113,f=60120,p=60115,d=60116,h=60121,m=60122,g=60117,y=60129,k=60131;if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;t=x("react.element"),r=x("react.portal"),o=x("react.fragment"),i=x("react.strict_mode"),l=x("react.profiler"),u=x("react.provider"),a=x("react.context"),s=x("react.forward_ref"),c=x("react.suspense"),f=x("react.suspense_list"),p=x("react.memo"),d=x("react.lazy"),h=x("react.block"),m=x("react.server.block"),g=x("react.fundamental"),y=x("react.debug_trace_mode"),k=x("react.legacy_hidden")}function v(e){if("object"===typeof e&&null!==e){var n=e.$$typeof;switch(n){case t:switch(e=e.type){case o:case l:case i:case c:case f:return e;default:switch(e=e&&e.$$typeof){case a:case s:case d:case p:case u:return e;default:return n}}case r:return n}}}var b=u,w=t,S=s,C=o,E=d,A=p,F=r,P=l,T=i,O=c;n.ContextConsumer=a,n.ContextProvider=b,n.Element=w,n.ForwardRef=S,n.Fragment=C,n.Lazy=E,n.Memo=A,n.Portal=F,n.Profiler=P,n.StrictMode=T,n.Suspense=O,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return v(e)===a},n.isContextProvider=function(e){return v(e)===u},n.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===t},n.isForwardRef=function(e){return v(e)===s},n.isFragment=function(e){return v(e)===o},n.isLazy=function(e){return v(e)===d},n.isMemo=function(e){return v(e)===p},n.isPortal=function(e){return v(e)===r},n.isProfiler=function(e){return v(e)===l},n.isStrictMode=function(e){return v(e)===i},n.isSuspense=function(e){return v(e)===c},n.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===l||e===y||e===i||e===c||e===f||e===k||"object"===typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===a||e.$$typeof===s||e.$$typeof===g||e.$$typeof===h||e[0]===m)},n.typeOf=v},82143:function(e,n,t){"use strict";e.exports=t(71471)},57848:function(e,n,t){var r=t(18139);e.exports=function(e,n){var t,o=null;if(!e||"string"!==typeof e)return o;for(var i,l,u=r(e),a="function"===typeof n,s=0,c=u.length;se.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1);return o<0?"":e.slice(r,o)}if(n===e)return"";let l=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(o=i):(u=-1,o=l));r===o?o=l:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(d(e),0===e.length)return".";let n,t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){d(e);let n,t=e.length,r=-1,o=0,i=-1,l=0;for(;t--;){const u=e.charCodeAt(t);if(47!==u)r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==l&&(l=1):i>-1&&(l=-1);else if(n){o=t+1;break}}if(i<0||r<0||0===l||1===l&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let n,t=-1;for(;++t2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),l=a,u=0;continue}}else if(o.length>0){o="",i=0,l=a,u=0;continue}n&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(l+1,a):o=e.slice(l+1,a),i=a-l-1;l=a,u=0}else 46===t&&u>-1?u++:u=-1}return o}(e,!n);0!==t.length||n||(t=".");t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/");return n?"/"+t:t}(n)},sep:"/"};function d(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function g(e){if("string"===typeof e)e=new URL(e);else if(!m(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const n=e.pathname;let t=-1;for(;++tn.length;let u;r&&n.push(o);try{u=e.apply(this,n)}catch(i){const n=i;if(r&&t)throw n;return o(n)}r||(u instanceof Promise?u.then(l,o):u instanceof Error?o(u):l(u))}function o(e,...r){t||(t=!0,n(e,...r))}function l(e){o(null,e)}}(u,o)(...l):r(null,...l)}}(null,...n)},use:function(t){if("function"!==typeof t)throw new TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}const A=function e(){const n=E(),t=[];let r,o={},i=-1;return u.data=function(e,n){if("string"===typeof e)return 2===arguments.length?(I("data",r),o[e]=n,u):F.call(o,e)&&o[e]||null;if(e)return I("data",r),o=e,u;return o},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(r)return u;for(;++i{if(!e&&n&&t){const o=u.stringify(n,t);void 0===o||null===o||("string"===typeof(r=o)||l(r)?t.value=o:t.result=o),i(e,t)}else i(e);var r}))}t(null,n)},u.processSync=function(e){let n;u.freeze(),T("processSync",u.Parser),O("processSync",u.Compiler);const t=z(e);return u.process(t,r),L("processSync","process",n),t;function r(e){n=!0,w(e)}},u;function u(){const n=e();let r=-1;for(;++ro?0:o+n:n>o?o:n,t=t>0?t:0,r.length<1e4)i=Array.from(r),i.unshift(n,t),[].splice.apply(e,i);else for(t&&[].splice.apply(e,[n,t]);l0?(B(e,e.length,0,n),e):n}const j={}.hasOwnProperty;function N(e,n){let t;for(t in n){const r=(j.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t];let i;for(i in o){j.call(r,i)||(r[i]=[]);const e=o[i];H(r[i],Array.isArray(e)?e:e?[e]:[])}}}function H(e,n){let t=-1;const r=[];for(;++ti))return;const t=n.events.length;let o,u,a=t;for(;a--;)if("exit"===n.events[a][0]&&"chunkFlow"===n.events[a][1].type){if(o){u=n.events[a][1].end;break}o=!0}for(y(l),e=t;er;){const r=t[o];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function k(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}},oe={tokenize:function(e,n,t){return ne(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ie={tokenize:function(e,n,t){return ne(e,(function(e){return null===e||X(e)?n(e):t(e)}),"linePrefix")},partial:!0};function le(e){const n={};let t,r,o,i,l,u,a,s=-1;for(;++s=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}},partial:!0};const ce={tokenize:function(e){const n=this,t=e.attempt(ie,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}),e.attempt(this.parser.constructs.flowInitial,r,ne(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ae,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}};const fe={resolveAll:me()},pe=he("string"),de=he("text");function he(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],o=n.attempt(r,i,l);return i;function i(e){return a(e)?o(e):l(e)}function l(e){if(null!==e)return n.enter("data"),n.consume(e),u;n.consume(e)}function u(e){return a(e)?(n.exit("data"),o(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;const n=r[e];let o=-1;if(n)for(;++o-1&&(l[0]=l[0].slice(r)),i>0&&l.push(e[o].slice(0,i)));return l}(l,e)}function h(){return Object.assign({},r)}function m(){let e;for(;r._indexs?t(o):(e.consume(o),h):41===o?c--?(e.consume(o),h):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):null===o||K(o)?c?t(o):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):Y(o)?t(o):(e.consume(o),92===o?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function Ee(e,n,t,r,o,i){const l=this;let u,a=0;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),e.enter(i),s};function s(f){return null===f||91===f||93===f&&!u||94===f&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),n):X(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(n){return null===n||91===n||93===n||X(n)||a++>999?(e.exit("chunkString"),s(n)):(e.consume(n),u=u||!Z(n),92===n?f:c)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,c):c(n)}}function Ae(e,n,t,r,o,i){let l;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),l=40===n?41:n,u};function u(t){return t===l?(e.enter(o),e.consume(t),e.exit(o),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===l?(e.exit(i),u(l)):null===n?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ne(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(n))}function s(n){return n===l||null===n||X(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?c:s)}function c(n){return n===l||92===n?(e.consume(n),s):s(n)}}function Fe(e,n){let t;return function r(o){if(X(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t=!0,r;if(Z(o))return ne(e,r,t?"linePrefix":"lineSuffix")(o);return n(o)}}function Pe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Te={name:"definition",tokenize:function(e,n,t){const r=this;let o;return function(n){return e.enter("definition"),Ee.call(r,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function i(n){return o=Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),Fe(e,Ce(e,e.attempt(Oe,ne(e,l,"whitespace"),ne(e,l,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(n)}function l(i){return null===i||X(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),n(i)):t(i)}}},Oe={tokenize:function(e,n,t){return function(n){return K(n)?Fe(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?Ae(e,ne(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function o(e){return null===e||X(e)?n(e):t(e)}},partial:!0};const Ie={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),ne(e,o,"linePrefix",5)(n)};function o(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?i(e):t(e)}function i(n){return null===n?u(n):X(n)?e.attempt(De,i,u)(n):(e.enter("codeFlowValue"),l(n))}function l(n){return null===n||X(n)?(e.exit("codeFlowValue"),i(n)):(e.consume(n),l)}function u(t){return e.exit("codeIndented"),n(t)}}},De={tokenize:function(e,n,t){const r=this;return o;function o(n){return r.parser.lazy[r.now().line]?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o):ne(e,i,"linePrefix",5)(n)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):X(e)?o(e):t(e)}},partial:!0};const Le={name:"headingAtx",tokenize:function(e,n,t){const r=this;let o=0;return function(n){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(n)};function i(u){return 35===u&&o++<6?(e.consume(u),i):null===u||K(u)?(e.exit("atxHeadingSequence"),r.interrupt?n(u):l(u)):t(u)}function l(t){return 35===t?(e.enter("atxHeadingSequence"),u(t)):null===t||X(t)?(e.exit("atxHeading"),n(t)):Z(t)?ne(e,l,"whitespace")(t):(e.enter("atxHeadingText"),a(t))}function u(n){return 35===n?(e.consume(n),u):(e.exit("atxHeadingSequence"),l(n))}function a(n){return null===n||35===n||K(n)?(e.exit("atxHeadingText"),l(n)):(e.consume(n),a)}},resolve:function(e,n){let t,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},B(e,i,o-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]]));return e}};const ze={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let o,i,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){i="paragraph"===r.events[l][1].type;break}return function(n){if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=n,u(n);return t(n)};function u(n){return n===o?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),ne(e,a,"lineSuffix")(n))}function a(r){return null===r||X(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const l={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,n]),e.splice(o+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[o][1].end)):e[t][1]=l;return e.push(["exit",l,n]),e}};const Me=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Re=["pre","script","style","textarea"],Be={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let o,i,l,u,a;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(u){return 33===u?(e.consume(u),c):47===u?(e.consume(u),d):63===u?(e.consume(u),o=3,r.interrupt?n:z):U(u)?(e.consume(u),l=String.fromCharCode(u),i=!0,h):t(u)}function c(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,l="CDATA[",u=0,p):U(i)?(e.consume(i),o=4,r.interrupt?n:z):t(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?n:z):t(o)}function p(o){return o===l.charCodeAt(u++)?(e.consume(o),u===l.length?r.interrupt?n:A:p):t(o)}function d(n){return U(n)?(e.consume(n),l=String.fromCharCode(n),h):t(n)}function h(u){return null===u||47===u||62===u||K(u)?47!==u&&i&&Re.includes(l.toLowerCase())?(o=1,r.interrupt?n(u):A(u)):Me.includes(l.toLowerCase())?(o=6,47===u?(e.consume(u),m):r.interrupt?n(u):A(u)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(u):i?y(u):g(u)):45===u||$(u)?(e.consume(u),l+=String.fromCharCode(u),h):t(u)}function m(o){return 62===o?(e.consume(o),r.interrupt?n:A):t(o)}function g(n){return Z(n)?(e.consume(n),g):C(n)}function y(n){return 47===n?(e.consume(n),C):58===n||95===n||U(n)?(e.consume(n),k):Z(n)?(e.consume(n),y):C(n)}function k(n){return 45===n||46===n||58===n||95===n||$(n)?(e.consume(n),k):x(n)}function x(n){return 61===n?(e.consume(n),v):Z(n)?(e.consume(n),x):y(n)}function v(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),a=n,b):Z(n)?(e.consume(n),v):(a=null,w(n))}function b(n){return null===n||X(n)?t(n):n===a?(e.consume(n),S):(e.consume(n),b)}function w(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||K(n)?x(n):(e.consume(n),w)}function S(e){return 47===e||62===e||Z(e)?y(e):t(e)}function C(n){return 62===n?(e.consume(n),E):t(n)}function E(n){return Z(n)?(e.consume(n),E):null===n||X(n)?A(n):t(n)}function A(n){return 45===n&&2===o?(e.consume(n),O):60===n&&1===o?(e.consume(n),I):62===n&&4===o?(e.consume(n),M):63===n&&3===o?(e.consume(n),z):93===n&&5===o?(e.consume(n),L):!X(n)||6!==o&&7!==o?null===n||X(n)?F(n):(e.consume(n),A):e.check(_e,M,F)(n)}function F(n){return e.exit("htmlFlowData"),P(n)}function P(n){return null===n?R(n):X(n)?e.attempt({tokenize:T,partial:!0},P,R)(n):(e.enter("htmlFlowData"),A(n))}function T(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}}function O(n){return 45===n?(e.consume(n),z):A(n)}function I(n){return 47===n?(e.consume(n),l="",D):A(n)}function D(n){return 62===n&&Re.includes(l.toLowerCase())?(e.consume(n),M):U(n)&&l.length<8?(e.consume(n),l+=String.fromCharCode(n),D):A(n)}function L(n){return 93===n?(e.consume(n),z):A(n)}function z(n){return 62===n?(e.consume(n),M):45===n&&2===o?(e.consume(n),z):A(n)}function M(n){return null===n||X(n)?(e.exit("htmlFlowData"),R(n)):(e.consume(n),M)}function R(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2));return e},concrete:!0},_e={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(ie,n,t)}},partial:!0};const je={name:"codeFenced",tokenize:function(e,n,t){const r=this,o={tokenize:function(e,n,t){let r=0;return ne(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),i(n)}function i(n){return n===a?(e.consume(n),r++,i):r1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[t][1].end),p=Object.assign({},e[c][1].start);Je(f,-u),Je(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},l={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},o={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},l.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=_(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=_(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),a=_(a,ye(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),a=_(a,[["exit",o,n],["enter",l,n],["exit",l,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,a=_(a,[["enter",e[c][1],n],["exit",e[c][1],n]])):s=0,B(e,t-1,c-t+3,a),c=t+a.length-s-2;break}c=-1;for(;++c13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||65535===(65535&t)||65534===(65535&t)||t>1114111?"\ufffd":String.fromCharCode(t)}const yn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function kn(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return gn(t.slice(n?2:1),n?16:10)}return He(t)||e}const xn={}.hasOwnProperty,vn=function(e,n,t){return"string"!==typeof n&&(t=n,n=void 0),function(e={}){const n=bn({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ie),autolinkProtocol:T,autolinkEmail:T,atxHeading:s(ne),blockQuote:s(X),characterEscape:T,characterReference:T,codeFenced:s(Z),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:s(Z,c),codeText:s(J,c),codeTextData:T,data:T,codeFlowValue:T,definition:s(G),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:s(ee),hardBreakEscape:s(te),hardBreakTrailing:s(te),htmlFlow:s(re,c),htmlFlowData:T,htmlText:s(re,c),htmlTextData:T,image:s(oe),label:c,link:s(ie),listItem:s(ue),listItemValue:g,listOrdered:s(le,m),listUnordered:s(le),paragraph:s(ae),reference:q,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:s(ne),strong:s(se),thematicBreak:s(fe)},exit:{atxHeading:p(),atxHeadingSequence:E,autolink:p(),autolinkEmail:K,autolinkProtocol:Y,blockQuote:p(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:Q,codeFenced:p(v),codeFencedFence:x,codeFencedFenceInfo:y,codeFencedFenceMeta:k,codeFlowValue:O,codeIndented:p(b),codeText:p(R),codeTextData:O,data:O,definition:p(),definitionDestinationString:C,definitionLabelString:w,definitionTitleString:S,emphasis:p(),hardBreakEscape:p(D),hardBreakTrailing:p(D),htmlFlow:p(L),htmlFlowData:O,htmlText:p(z),htmlTextData:O,image:p(_),label:N,labelText:j,lineEnding:I,link:p(B),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:$,resourceDestinationString:H,resourceTitleString:U,resource:V,setextHeading:p(P),setextHeadingLineSequence:F,setextHeadingText:A,strong:p(),thematicBreak:p()}},e.mdastExtensions||[]),t={};return r;function r(e){let t={type:"root",children:[]};const r=[],u=[],s={stack:[t],tokenStack:r,config:n,enter:f,exit:d,buffer:c,resume:h,setData:i,getData:l};let p=-1;for(;++p0){const e=r[r.length-1];(e[1]||Sn).call(s,void 0,e[0])}for(t.position={start:a(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:a(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p{const t=this.data("settings");return vn(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})},En=function(e,n,t){var r={type:String(e)};return void 0!==t&&null!==t||"string"!==typeof n&&!Array.isArray(n)?Object.assign(r,n):t=n,Array.isArray(t)?r.children=t:void 0!==t&&null!==t&&(r.value=String(t)),r};const An=function(e){if(void 0===e||null===e)return Pn;if("string"===typeof e)return function(e){return Fn(n);function n(n){return n&&n.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t":"")+")"}));return f;function f(){let s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c-1?t.offset:null}}}const zn={}.hasOwnProperty;function Mn(e){return String(e||"").toUpperCase()}const Rn={}.hasOwnProperty;function Bn(e,n){const t=n.data||{};return"value"in n&&!(Rn.call(t,"hName")||Rn.call(t,"hProperties")||Rn.call(t,"hChildren"))?e.augment(n,En("text",n.value)):e(n,"div",Nn(e,n))}function _n(e,n,t){const r=n&&n.type;let o;if(!r)throw new Error("Expected node, got `"+n+"`");return o=Rn.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?jn:e.unknownHandler,("function"===typeof o?o:Bn)(e,n,t)}function jn(e,n){return"children"in n?{...n,children:Nn(e,n)}:n}function Nn(e,n){const t=[];if("children"in n){const r=n.children;let o=-1;for(;++o":"gt"};function Un(e,n){const t=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+Hn[e]+";"}))}(function(e){const n=[];let t=-1,r=0,o=0;for(;++t55295&&i<57344){const n=e.charCodeAt(t+1);i<56320&&n>56319&&n<57344?(l=String.fromCharCode(i,n),o=1):l="\ufffd"}else l=String.fromCharCode(i);l&&(n.push(e.slice(r,t),encodeURIComponent(l)),r=t+o+1,l=""),o&&(t+=o,o=0)}return n.join("")+e.slice(r)}(e||""));if(!n)return t;const r=t.indexOf(":"),o=t.indexOf("?"),i=t.indexOf("#"),l=t.indexOf("/");return r<0||l>-1&&r>l||o>-1&&r>o||i>-1&&r>i||n.test(t.slice(0,r))?t:""}function Vn(e,n){const t=[];let r=-1;for(n&&t.push(En("text","\n"));++r0&&t.push(En("text","\n")),t}function qn(e,n){const t=String(n.identifier),r=Un(t.toLowerCase()),o=e.footnoteOrder.indexOf(t);let i;-1===o?(e.footnoteOrder.push(t),e.footnoteCounts[t]=1,i=e.footnoteOrder.length):(e.footnoteCounts[t]++,i=o+1);const l=e.footnoteCounts[t];return e(n,"sup",[e(n.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[En("text",String(i))])])}var $n=t(70729);function Wn(e,n){const t=n.referenceType;let r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return En("text","!["+n.alt+r);const o=Nn(e,n),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(En("text","["));const l=o[o.length-1];return l&&"text"===l.type?l.value+=r:o.push(En("text",r)),o}function Qn(e){const n=e.spread;return void 0===n||null===n?e.children.length>1:n}function Yn(e,n,t){let r=0,o=e.length;if(n){let n=e.codePointAt(r);for(;9===n||32===n;)r++,n=e.codePointAt(r)}if(t){let n=e.codePointAt(o-1);for(;9===n||32===n;)o--,n=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Kn={blockquote:function(e,n){return e(n,"blockquote",Vn(Nn(e,n),!0))},break:function(e,n){return[e(n,"br"),En("text","\n")]},code:function(e,n){const t=n.value?n.value+"\n":"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);const i=e(n,"code",o,[En("text",t)]);return n.meta&&(i.data={meta:n.meta}),e(n.position,"pre",[i])},delete:function(e,n){return e(n,"del",Nn(e,n))},emphasis:function(e,n){return e(n,"em",Nn(e,n))},footnoteReference:qn,footnote:function(e,n){const t=e.footnoteById;let r=1;for(;r in t;)r++;const o=String(r);return t[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:n.children}],position:n.position},qn(e,{type:"footnoteReference",identifier:o,position:n.position})},heading:function(e,n){return e(n,"h"+n.depth,Nn(e,n))},html:function(e,n){return e.dangerous?e.augment(n,En("raw",n.value)):null},imageReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Wn(e,n);const r={src:$n(t.url||""),alt:n.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"img",r)},image:function(e,n){const t={src:$n(n.url),alt:n.alt};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"img",t)},inlineCode:function(e,n){return e(n,"code",[En("text",n.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Wn(e,n);const r={href:$n(t.url||"")};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"a",r,Nn(e,n))},link:function(e,n){const t={href:$n(n.url)};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"a",t,Nn(e,n))},listItem:function(e,n,t){const r=Nn(e,n),o=t?function(e){let n=e.spread;const t=e.children;let r=-1;for(;!n&&++r0&&t.children.unshift(En("text"," ")),t.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let u=-1;for(;++u0,!0),r[0]),o=r.index+r[0].length,r=t.exec(n);return i.push(Yn(n.slice(o),o>0,!1)),i.join("")}(String(n.value))))},thematicBreak:function(e,n){return e(n,"hr")},toml:Xn,yaml:Xn,definition:Xn,footnoteDefinition:Xn};function Xn(){return null}const Zn={}.hasOwnProperty;function Jn(e,n){const t=n||{},r=t.allowDangerousHtml||!1,o={};return l.dangerous=r,l.clobberPrefix=void 0===t.clobberPrefix||null===t.clobberPrefix?"user-content-":t.clobberPrefix,l.footnoteLabel=t.footnoteLabel||"Footnotes",l.footnoteBackLabel=t.footnoteBackLabel||"Back to content",l.definition=function(e){const n=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return On(e,"definition",(e=>{const t=Mn(e.identifier);t&&!zn.call(n,t)&&(n[t]=e)})),function(e){const t=Mn(e);return t&&zn.call(n,t)?n[t]:null}}(e),l.footnoteById=o,l.footnoteOrder=[],l.footnoteCounts={},l.augment=i,l.handlers={...Kn,...t.handlers},l.unknownHandler=t.unknownHandler,l.passThrough=t.passThrough,On(e,"footnoteDefinition",(e=>{const n=String(e.identifier).toUpperCase();Zn.call(o,n)||(o[n]=e)})),l;function i(e,n){if(e&&"data"in e&&e.data){const t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){const r="type"in e?e:{position:e};(t=r)&&t.position&&t.position.start&&t.position.start.line&&t.position.start.column&&t.position.end&&t.position.end.line&&t.position.end.column&&(n.position={start:In(r),end:Dn(r)})}var t;return n}function l(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}function Gn(e,n){const t=Jn(e,n),r=_n(t,e,null),o=function(e){let n=-1;const t=[];for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};u>1&&n.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(n)}const s=o[o.length-1];if(s&&"element"===s.type&&"p"===s.tagName){const e=s.children[s.children.length-1];e&&"text"===e.type?e.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...a)}else o.push(...a);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:Vn(o,!0)};r.position&&(c.position=r.position),t.push(c)}return 0===t.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[En("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:Vn(t,!0)},{type:"text",value:"\n"}]}}(t);return o&&r.children.push(En("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}var et=function(e,n){return e&&"run"in e?function(e,n){return(t,r,o)=>{e.run(Gn(t,n),r,(e=>{o(e)}))}}(e,n):function(e){return n=>Gn(n,e)}(e||n)};var nt=t(45697);class tt{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function rt(e,n){const t={},r={};let o=-1;for(;++o"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),bt=xt({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function wt(e,n){return n in e?e[n]:n}function St(e,n){return wt(e,n.toLowerCase())}const Ct=xt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:St,properties:{xmlns:null,xmlnsXLink:null}}),Et=xt({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:at,ariaAutoComplete:null,ariaBusy:at,ariaChecked:at,ariaColCount:ct,ariaColIndex:ct,ariaColSpan:ct,ariaControls:ft,ariaCurrent:null,ariaDescribedBy:ft,ariaDetails:null,ariaDisabled:at,ariaDropEffect:ft,ariaErrorMessage:null,ariaExpanded:at,ariaFlowTo:ft,ariaGrabbed:at,ariaHasPopup:null,ariaHidden:at,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ft,ariaLevel:ct,ariaLive:null,ariaModal:at,ariaMultiLine:at,ariaMultiSelectable:at,ariaOrientation:null,ariaOwns:ft,ariaPlaceholder:null,ariaPosInSet:ct,ariaPressed:at,ariaReadOnly:at,ariaRelevant:null,ariaRequired:at,ariaRoleDescription:ft,ariaRowCount:ct,ariaRowIndex:ct,ariaRowSpan:ct,ariaSelected:at,ariaSetSize:ct,ariaSort:null,ariaValueMax:ct,ariaValueMin:ct,ariaValueNow:ct,ariaValueText:null,role:null}}),At=xt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:St,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pt,acceptCharset:ft,accessKey:ft,action:null,allow:null,allowFullScreen:ut,allowPaymentRequest:ut,allowUserMedia:ut,alt:null,as:null,async:ut,autoCapitalize:null,autoComplete:ft,autoFocus:ut,autoPlay:ut,capture:ut,charSet:null,checked:ut,cite:null,className:ft,cols:ct,colSpan:null,content:null,contentEditable:at,controls:ut,controlsList:ft,coords:ct|pt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ut,defer:ut,dir:null,dirName:null,disabled:ut,download:st,draggable:at,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ut,formTarget:null,headers:ft,height:ct,hidden:ut,high:ct,href:null,hrefLang:null,htmlFor:ft,httpEquiv:ft,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:ut,itemId:null,itemProp:ft,itemRef:ft,itemScope:ut,itemType:ft,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ut,low:ct,manifest:null,max:null,maxLength:ct,media:null,method:null,min:null,minLength:ct,multiple:ut,muted:ut,name:null,nonce:null,noModule:ut,noValidate:ut,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ut,optimum:ct,pattern:null,ping:ft,placeholder:null,playsInline:ut,poster:null,preload:null,readOnly:ut,referrerPolicy:null,rel:ft,required:ut,reversed:ut,rows:ct,rowSpan:ct,sandbox:ft,scope:null,scoped:ut,seamless:ut,selected:ut,shape:null,size:ct,sizes:null,slot:null,span:ct,spellCheck:at,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ct,step:null,style:null,tabIndex:ct,target:null,title:null,translate:null,type:null,typeMustMatch:ut,useMap:null,value:at,width:ct,wrap:null,align:null,aLink:null,archive:ft,axis:null,background:null,bgColor:null,border:ct,borderColor:null,bottomMargin:ct,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ut,declare:ut,event:null,face:null,frame:null,frameBorder:null,hSpace:ct,leftMargin:ct,link:null,longDesc:null,lowSrc:null,marginHeight:ct,marginWidth:ct,noResize:ut,noHref:ut,noShade:ut,noWrap:ut,object:null,profile:null,prompt:null,rev:null,rightMargin:ct,rules:null,scheme:null,scrolling:at,standby:null,summary:null,text:null,topMargin:ct,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ct,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ut,disableRemotePlayback:ut,prefix:null,property:null,results:ct,security:null,unselectable:null}}),Ft=xt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:wt,properties:{about:dt,accentHeight:ct,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ct,amplitude:ct,arabicForm:null,ascent:ct,attributeName:null,attributeType:null,azimuth:ct,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ct,by:null,calcMode:null,capHeight:ct,className:ft,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ct,diffuseConstant:ct,direction:null,display:null,dur:null,divisor:ct,dominantBaseline:null,download:ut,dx:null,dy:null,edgeMode:null,editable:null,elevation:ct,enableBackground:null,end:null,event:null,exponent:ct,externalResourcesRequired:null,fill:null,fillOpacity:ct,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pt,g2:pt,glyphName:pt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ct,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ct,horizOriginX:ct,horizOriginY:ct,id:null,ideographic:ct,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ct,k:ct,k1:ct,k2:ct,k3:ct,k4:ct,kernelMatrix:dt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ct,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ct,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ct,overlineThickness:ct,paintOrder:null,panose1:null,path:null,pathLength:ct,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ft,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ct,pointsAtY:ct,pointsAtZ:ct,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:dt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:dt,rev:dt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:dt,requiredFeatures:dt,requiredFonts:dt,requiredFormats:dt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ct,specularExponent:ct,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ct,strikethroughThickness:ct,string:null,stroke:null,strokeDashArray:dt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ct,strokeOpacity:ct,strokeWidth:null,style:null,surfaceScale:ct,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:dt,tabIndex:ct,tableValues:null,target:null,targetX:ct,targetY:ct,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:dt,to:null,transform:null,u1:null,u2:null,underlinePosition:ct,underlineThickness:ct,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ct,values:null,vAlphabetic:ct,vMathematical:ct,vectorEffect:null,vHanging:ct,vIdeographic:ct,version:null,vertAdvY:ct,vertOriginX:ct,vertOriginY:ct,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ct,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Pt=rt([bt,vt,Ct,Et,At],"html"),Tt=rt([bt,vt,Ct,Et,Ft],"svg");function Ot(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return n=>{On(n,"element",((n,t,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(n.tagName)),!i&&e.allowElement&&"number"===typeof t&&(i=!e.allowElement(n,t,o)),i&&"number"===typeof t)return e.unwrapDisallowed&&n.children?o.children.splice(t,1,...n.children):o.children.splice(t,1),t}))}}const It=["http","https","mailto","tel"];var Dt=t(82143);function Lt(e){var n=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}const zt=/^data[-\w.:]+$/i,Mt=/-[a-z]/g,Rt=/[A-Z]/g;function Bt(e){return"-"+e.toLowerCase()}function _t(e){return e.charAt(1).toUpperCase()}const jt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Nt=t(57848);const Ht={}.hasOwnProperty,Ut=new Set(["table","thead","tbody","tfoot","tr"]);function Vt(e,n){const t=[];let r,o=-1;for(;++oString(e))).join("")),!h&&o.rawSourcePos&&(a.sourcePosition=n.position),!h&&o.includeElementIndex&&(a.index=$t(r,n),a.siblingCount=$t(r)),h||(a.node=n),f.length>0?i.createElement(d,a,f):i.createElement(d,a)}function $t(e,n){let t=-1,r=0;for(;++t4&&"data"===t.slice(0,4)&&zt.test(n)){if("-"===n.charAt(4)){const e=n.slice(5).replace(Mt,_t);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=n.slice(4);if(!Mt.test(e)){let t=e.replace(Rt,Bt);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}o=gt}return new o(r,n)}(r.schema,n);let i=t;null!==i&&void 0!==i&&i===i&&(Array.isArray(i)&&(i=o.commaSeparated?function(e,n){var t=n||{};return""===e[e.length-1]&&(e=e.concat("")),e.join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===o.property&&"string"===typeof i&&(i=function(e){const n={};try{Nt(e,t)}catch{}return n;function t(e,t){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,Qt)]=t}}(i)),o.space&&o.property?e[Ht.call(jt,o.property)?jt[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function Qt(e,n){return n.toUpperCase()}const Yt={}.hasOwnProperty,Kt={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Xt(e){for(const i in Kt)if(Yt.call(Kt,i)&&Yt.call(e,i)){const e=Kt[i];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${i}\` (see for more info)`),delete Kt[i]}const n=A().use(Cn).use(e.remarkPlugins||[]).use(et,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Ot,e),t=new k;"string"===typeof e.children?t.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=n.runSync(n.parse(t),t);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},Vt({options:e,schema:Pt,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}Xt.defaultProps={transformLinkUri:function(e){const n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;const r=n.indexOf(":");if(-1===r)return n;let o=-1;for(;++oo?n:(o=n.indexOf("#"),-1!==o&&r>o?n:"javascript:void(0)")}},Xt.propTypes={children:nt.string,className:nt.string,allowElement:nt.func,allowedElements:nt.arrayOf(nt.string),disallowedElements:nt.arrayOf(nt.string),unwrapDisallowed:nt.bool,remarkPlugins:nt.arrayOf(nt.oneOfType([nt.object,nt.func,nt.arrayOf(nt.oneOfType([nt.object,nt.func]))])),rehypePlugins:nt.arrayOf(nt.oneOfType([nt.object,nt.func,nt.arrayOf(nt.oneOfType([nt.object,nt.func]))])),sourcePos:nt.bool,rawSourcePos:nt.bool,skipHtml:nt.bool,includeElementIndex:nt.bool,transformLinkUri:nt.oneOfType([nt.func,nt.bool]),linkTarget:nt.oneOfType([nt.func,nt.string]),transformImageUri:nt.func,components:nt.object}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1829-271cba4b38fde9a4.js b/static/web/_next/static/chunks/1829-271cba4b38fde9a4.js new file mode 100644 index 000000000..3fac3e7b4 --- /dev/null +++ b/static/web/_next/static/chunks/1829-271cba4b38fde9a4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1829],{24308:function(e,t,n){n.d(t,{c4:function(){return o}});var c=n(4942),r=n(87462),o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},l=new Map,i=-1,s={},u={matchHandlers:{},dispatch:function(e){return s=e,l.forEach((function(e){return e(s)})),l.size>=1},subscribe:function(e){return l.size||this.register(),i+=1,l.set(i,e),e(s),i},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],c=e.matchHandlers[n];null===c||void 0===c||c.mql.removeListener(null===c||void 0===c?void 0:c.listener)})),l.clear()},register:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},s),(0,c.Z)({},t,o)))},l=window.matchMedia(n);l.addListener(o),e.matchHandlers[n]={mql:l,listener:o},o(l)}))}};t.ZP=u},6226:function(e,t,n){n.d(t,{Z:function(){return p}});var c=n(4942),r=n(87462),o=n(71002),a=n(94184),l=n.n(a),i=n(67294),s=n(53124),u=n(99134),f=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r0){var A=h[0]/2;R.paddingLeft=A,R.paddingRight=A}if(h&&h[1]>0&&!y){var T=h[1]/2;R.paddingTop=T,R.paddingBottom=T}return j&&(R.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(j),!1!==b||R.minWidth||(R.minWidth=0)),i.createElement("div",(0,r.Z)({},P,{style:(0,r.Z)((0,r.Z)({},R),N),className:_,ref:t}),k)}))},99134:function(e,t,n){var c=(0,n(67294).createContext)({});t.Z=c},25968:function(e,t,n){n.d(t,{Z:function(){return h}});var c=n(87462),r=n(4942),o=n(71002),a=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),m=n(99134),v=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r0?A[0]/-2:void 0,L=null!=A[1]&&A[1]>0?A[1]/-2:void 0;if(H&&(z.marginLeft=H,z.marginRight=H),I){var F=(0,a.Z)(A,2);z.rowGap=F[1]}else L&&(z.marginTop=L,z.marginBottom=L);var G=(0,a.Z)(A,2),D=G[0],K=G[1],M=s.useMemo((function(){return{gutter:[D,K],wrap:C,supportFlexGap:I}}),[D,K,C,I]);return s.createElement(m.Z.Provider,{value:M},s.createElement("div",(0,c.Z)({},w,{className:T,style:(0,c.Z)((0,c.Z)({},z),y),ref:t}),Z))}))},94594:function(e,t,n){n.d(t,{Z:function(){return g}});var c=n(87462),r=n(4942),o=n(50888),a=n(94184),l=n.n(a),i=n(97685),s=n(91),u=n(67294),f=n(21770),d=n(15105),p=u.forwardRef((function(e,t){var n,c=e.prefixCls,o=void 0===c?"rc-switch":c,a=e.className,p=e.checked,m=e.defaultChecked,v=e.disabled,h=e.loadingIcon,b=e.checkedChildren,y=e.unCheckedChildren,Z=e.onClick,x=e.onChange,g=e.onKeyDown,C=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),w=(0,f.Z)(!1,{value:p,defaultValue:m}),O=(0,i.Z)(w,2),E=O[0],k=O[1];function j(e,t){var n=E;return v||(k(n=e),null===x||void 0===x||x(n,t)),n}var N=l()(o,a,(n={},(0,r.Z)(n,"".concat(o,"-checked"),E),(0,r.Z)(n,"".concat(o,"-disabled"),v),n));return u.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":E,disabled:v,className:N,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?j(!1,e):e.which===d.Z.RIGHT&&j(!0,e),null===g||void 0===g||g(e)},onClick:function(e){var t=j(!E,e);null===Z||void 0===Z||Z(t,e)}}),h,u.createElement("span",{className:"".concat(o,"-inner")},E?b:y))}));p.displayName="Switch";var m=p,v=n(53124),h=n(98866),b=n(97647),y=n(68349),Z=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r=1},subscribe:function(e){return l.size||this.register(),i+=1,l.set(i,e),e(s),i},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],c=e.matchHandlers[n];null===c||void 0===c||c.mql.removeListener(null===c||void 0===c?void 0:c.listener)})),l.clear()},register:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},s),(0,c.Z)({},t,o)))},l=window.matchMedia(n);l.addListener(o),e.matchHandlers[n]={mql:l,listener:o},o(l)}))}};t.ZP=u},6226:function(e,t,n){n.d(t,{Z:function(){return m}});var c=n(4942),r=n(87462),o=n(71002),a=n(67294),l=n(94184),i=n.n(l),s=n(99134),u=n(59844),f=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r0){var T=h[0]/2;_.paddingLeft=T,_.paddingRight=T}if(h&&h[1]>0&&!y){var A=h[1]/2;_.paddingTop=A,_.paddingBottom=A}return j&&(_.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(j),!1!==b||_.minWidth||(_.minWidth=0)),a.createElement("div",(0,r.Z)({role:"cell"},P,{style:(0,r.Z)((0,r.Z)({},_),N),className:R,ref:t}),k)}));p.displayName="Col";var m=p},99134:function(e,t,n){var c=(0,n(67294).createContext)({});t.Z=c},25968:function(e,t,n){n.d(t,{Z:function(){return b}});var c=n(87462),r=n(4942),o=n(71002),a=n(97685),l=n(67294),i=n(94184),s=n.n(i),u=n(59844),f=n(99134),d=n(93355),p=n(24308),m=n(98082),v=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r0?T[0]/-2:void 0,L=null!=T[1]&&T[1]>0?T[1]/-2:void 0;if(H&&(z.marginLeft=H,z.marginRight=H),I){var F=(0,a.Z)(T,2);z.rowGap=F[1]}else L&&(z.marginTop=L,z.marginBottom=L);var G=(0,a.Z)(T,2),D=G[0],K=G[1],M=l.useMemo((function(){return{gutter:[D,K],wrap:C,supportFlexGap:I}}),[D,K,C,I]);return l.createElement(f.Z.Provider,{value:M},l.createElement("div",(0,c.Z)({role:"row"},w,{className:A,style:(0,c.Z)((0,c.Z)({},z),y),ref:t}),Z))})));h.displayName="Row";var b=h},94594:function(e,t,n){n.d(t,{Z:function(){return x}});var c=n(87462),r=n(4942),o=n(67294),a=n(97685),l=n(91),i=n(94184),s=n.n(i),u=n(21770),f=n(15105),d=o.forwardRef((function(e,t){var n,c=e.prefixCls,i=void 0===c?"rc-switch":c,d=e.className,p=e.checked,m=e.defaultChecked,v=e.disabled,h=e.loadingIcon,b=e.checkedChildren,y=e.unCheckedChildren,Z=e.onClick,x=e.onChange,g=e.onKeyDown,C=(0,l.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),w=(0,u.Z)(!1,{value:p,defaultValue:m}),O=(0,a.Z)(w,2),E=O[0],k=O[1];function j(e,t){var n=E;return v||(k(n=e),null===x||void 0===x||x(n,t)),n}var N=s()(i,d,(n={},(0,r.Z)(n,"".concat(i,"-checked"),E),(0,r.Z)(n,"".concat(i,"-disabled"),v),n));return o.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":E,disabled:v,className:N,ref:t,onKeyDown:function(e){e.which===f.Z.LEFT?j(!1,e):e.which===f.Z.RIGHT&&j(!0,e),null===g||void 0===g||g(e)},onClick:function(e){var t=j(!E,e);null===Z||void 0===Z||Z(t,e)}}),h,o.createElement("span",{className:"".concat(i,"-inner")},E?b:y))}));d.displayName="Switch";var p=d,m=n(50888),v=n(68349),h=n(59844),b=n(97647),y=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);rh&&(l-=h,l-=h,l-=o(2))}return Number(l)}),c=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!==typeof t&&"number"!==typeof t||"number"===typeof t&&t!==t)&&(t=0),t=o(t);for(var i,a=(i=t,Math.ceil(function(t){return t.toString(2).length}(i)/8)),u=new Uint8Array(new ArrayBuffer(a)),c=0;c=e.length&&c.call(e,(function(e,r){return e===(u[r]?u[r]&t[o+r]:t[o+r])}))}},92260:function(t,e,r){"use strict";r.d(e,{Hi:function(){return p},Jg:function(){return f},KL:function(){return l},_5:function(){return h},kS:function(){return c},lA:function(){return m},p7:function(){return d},ws:function(){return u},xz:function(){return g}});var n=r(58908),i=r.n(n),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},o=["video","audio","text"],s=["Video","Audio","Text"],u=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,(function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)})):t},c=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach((function(t){var e;t=t.trim(),o.forEach((function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var o=t.substring(0,i[1].length),s=t.replace(o,"");r.push({type:o,details:s,mediaType:n})}})),e||r.push({type:t,details:"",mediaType:"unknown"})})),r},f=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var i=r[n];if(i.default&&i.playlists)return c(i.playlists[0].attributes.CODECS)}return null},l=function(t){return void 0===t&&(t=""),a.audio.test(t.trim().toLowerCase())},h=function(t){if(t&&"string"===typeof t){var e,r=t.toLowerCase().split(",").map((function(t){return u(t.trim())})),n="video";1===r.length&&l(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),a.text.test(e.trim().toLowerCase()))&&(n="application");var i="mp4";return r.every((function(t){return a.mp4.test(t)}))?i="mp4":r.every((function(t){return a.webm.test(t)}))?i="webm":r.every((function(t){return a.ogg.test(t)}))&&(i="ogg"),n+"/"+i+';codecs="'+t+'"'}},d=function(t){return void 0===t&&(t=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(h(t))||!1},p=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every((function(t){t=t.trim();for(var e=0;er;){var a=t[r],o=0,s=0,u=t[++s];for(s++;128&u;)o=(127&u)<<7,u=t[s],s++;o+=127&u;for(var c=0;c>>0,c=e.subarray(s+4,s+8);if(0===u)break;var f=s+u;if(f>e.length){if(n)break;f=e.length}var l=e.subarray(s+8,f);(0,i.G3)(c,r[0])&&(1===r.length?o.push(l):o.push.apply(o,t(l,r.slice(1),n))),s=f}return o},u={EBML:(0,i.Ki)([26,69,223,163]),DocType:(0,i.Ki)([66,130]),Segment:(0,i.Ki)([24,83,128,103]),SegmentInfo:(0,i.Ki)([21,73,169,102]),Tracks:(0,i.Ki)([22,84,174,107]),Track:(0,i.Ki)([174]),TrackNumber:(0,i.Ki)([215]),DefaultDuration:(0,i.Ki)([35,227,131]),TrackEntry:(0,i.Ki)([174]),TrackType:(0,i.Ki)([131]),FlagDefault:(0,i.Ki)([136]),CodecID:(0,i.Ki)([134]),CodecPrivate:(0,i.Ki)([99,162]),VideoTrack:(0,i.Ki)([224]),AudioTrack:(0,i.Ki)([225]),Cluster:(0,i.Ki)([31,67,182,117]),Timestamp:(0,i.Ki)([231]),TimestampScale:(0,i.Ki)([42,215,177]),BlockGroup:(0,i.Ki)([160]),BlockDuration:(0,i.Ki)([155]),Block:(0,i.Ki)([161]),SimpleBlock:(0,i.Ki)([163])},c=[128,64,32,16,8,4,2,1],f=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var a=function(t){for(var e=1,r=0;r=r.length)return r.length;var a=f(r,n,!1);if((0,i.G3)(e.bytes,a.bytes))return n;var o=f(r,n+a.length);return t(e,r,n+o.length+o.value+a.length)},d=function t(e,r){r=function(t){return Array.isArray(t)?t.map((function(t){return l(t)})):[l(t)]}(r),e=(0,i.Ki)(e);var n=[];if(!r.length)return n;for(var a=0;ae.length?e.length:u+s.value,d=e.subarray(u,c);(0,i.G3)(r[0],o.bytes)&&(1===r.length?n.push(d):n=n.concat(t(d,r.slice(1)))),a+=o.length+s.length+d.length}return n},p=r(68925),m=(0,i.Ki)([0,0,0,1]),g=(0,i.Ki)([0,0,1]),v=(0,i.Ki)([0,0,3]),y=function(t){for(var e=[],r=1;r>1&63),-1!==r.indexOf(c)&&(a=o+u),o+=u+("h264"===e?1:2)}else o++}return t.subarray(0,0)},w={webm:(0,i.Ki)([119,101,98,109]),matroska:(0,i.Ki)([109,97,116,114,111,115,107,97]),flac:(0,i.Ki)([102,76,97,67]),ogg:(0,i.Ki)([79,103,103,83]),ac3:(0,i.Ki)([11,119]),riff:(0,i.Ki)([82,73,70,70]),avi:(0,i.Ki)([65,86,73]),wav:(0,i.Ki)([87,65,86,69]),"3gp":(0,i.Ki)([102,116,121,112,51,103]),mp4:(0,i.Ki)([102,116,121,112]),fmp4:(0,i.Ki)([115,116,121,112]),mov:(0,i.Ki)([102,116,121,112,113,116]),moov:(0,i.Ki)([109,111,111,118]),moof:(0,i.Ki)([109,111,111,102])},E={aac:function(t){var e=(0,p.c)(t);return(0,i.G3)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,p.c)(t);return(0,i.G3)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=d(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,w.webm)},mkv:function(t){var e=d(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,w.matroska)},mp4:function(t){return!E["3gp"](t)&&!E.mov(t)&&(!(!(0,i.G3)(t,w.mp4,{offset:4})&&!(0,i.G3)(t,w.fmp4,{offset:4}))||(!(!(0,i.G3)(t,w.moof,{offset:4})&&!(0,i.G3)(t,w.moov,{offset:4}))||void 0))},mov:function(t){return(0,i.G3)(t,w.mov,{offset:4})},"3gp":function(t){return(0,i.G3)(t,w["3gp"],{offset:4})},ac3:function(t){var e=(0,p.c)(t);return(0,i.G3)(t,w.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+1880}},36722:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(58908),i=r.n(n),a=r(48764).lW;function o(t){for(var e,r=(e=t,i().atob?i().atob(e):a.from(e,"base64").toString("binary")),n=new Uint8Array(r.length),o=0;o>4?i+20:i+10}(e,r),t(e,r))}},8485:function(t,e,r){"use strict";r.d(e,{t:function(){return a}});var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,i=/^application\/dash\+xml/i,a=function(t){return n.test(t)?"hls":i.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},80779:function(t,e,r){"use strict";var n=r(49945),i=r.n(n),a=r(58908),o=r.n(a),s="http://example.com";e.Z=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=o().location&&o().location.href||"");var r="function"===typeof o().URL,n=/^\/\//.test(t),a=!o().location&&!/\/\//i.test(t);if(r?t=new(o().URL)(t,o().location||s):/\/\//i.test(t)||(t=i().buildAbsoluteURL(o().location&&o().location.href||"",t)),r){var u=new URL(e,t);return a?u.href.slice(s.length):n?u.href.slice(u.protocol.length):u.href}return i().buildAbsoluteURL(t,e)}},13490:function(t,e,r){"use strict";var n=r(58908);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r)t(r);else if(i.statusCode>=400&&i.statusCode<=599){var o=a;if(e)if(n.TextDecoder){var s=function(t){void 0===t&&(t="");return t.toLowerCase().split(";").reduce((function(t,e){var r=e.split("="),n=r[0],i=r[1];return"charset"===n.trim()?i.trim():t}),"utf-8")}(i.headers&&i.headers["content-type"]);try{o=new TextDecoder(s).decode(a)}catch(u){}}else o=String.fromCharCode.apply(null,new Uint8Array(a));t({cause:o})}else t(null,a)}}},9603:function(t,e,r){"use strict";var n=r(58908),i=r(10434),a=r(27376);s.httpHandler=r(13490);function o(t,e,r){var n=t;return a(e)?(r=e,"string"===typeof t&&(n={uri:t})):n=i({},e,{uri:t}),n.callback=r,n}function s(t,e,r){return u(e=o(t,e,r))}function u(t){if("undefined"===typeof t.callback)throw new Error("callback argument missing");var e=!1,r=function(r,n,i){e||(e=!0,t.callback(r,n,i))};function n(){var t=void 0;if(t=c.response?c.response:c.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(r){}return null}(c),g)try{t=JSON.parse(t)}catch(e){}return t}function i(t){return clearTimeout(f),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,r(t,v)}function a(){if(!u){var e;clearTimeout(f),e=t.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var i=v,a=null;return 0!==e?(i={body:n(),statusCode:e,method:h,headers:{},url:l,rawRequest:c},c.getAllResponseHeaders&&(i.headers=function(t){var e={};return t?(t.trim().split("\n").forEach((function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();"undefined"===typeof e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]})),e):e}(c.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),r(a,i,i.body)}}var o,u,c=t.xhr||null;c||(c=t.cors||t.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var f,l=c.url=t.uri||t.url,h=c.method=t.method||"GET",d=t.body||t.data,p=c.headers=t.headers||{},m=!!t.sync,g=!1,v={body:void 0,headers:{},statusCode:0,method:h,url:l,rawRequest:c};if("json"in t&&!1!==t.json&&(g=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==h&&"HEAD"!==h&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),d=JSON.stringify(!0===t.json?d:t.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(a,0)},c.onload=a,c.onerror=i,c.onprogress=function(){},c.onabort=function(){u=!0},c.ontimeout=i,c.open(h,l,!m,t.username,t.password),m||(c.withCredentials=!!t.withCredentials),!m&&t.timeout>0&&(f=setTimeout((function(){if(!u){u=!0,c.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",i(t)}}),t.timeout)),c.setRequestHeader)for(o in p)p.hasOwnProperty(o)&&c.setRequestHeader(o,p[o]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(c.responseType=t.responseType),"beforeSend"in t&&"function"===typeof t.beforeSend&&t.beforeSend(c),c.send(d||null),c}t.exports=s,t.exports.default=s,s.XMLHttpRequest=n.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r=e+r||e?new java.lang.String(t,e,r)+"":t}function g(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}l.prototype.parseFromString=function(t,e){var r=this.options,n=new f,i=r.domBuilder||new h,o=r.errorHandler,s=r.locator,c=r.xmlns||{},l=/\/x?html?$/.test(e),d=l?a.HTML_ENTITIES:a.XML_ENTITIES;return s&&i.setDocumentLocator(s),n.errorHandler=function(t,e,r){if(!t){if(e instanceof h)return e;t=e}var n={},i=t instanceof Function;function a(e){var a=t[e];!a&&i&&(a=2==t.length?function(r){t(e,r)}:t),n[e]=a&&function(t){a("[xmldom "+e+"]\t"+t+p(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(o,i,s),n.domBuilder=r.domBuilder||i,l&&(c[""]=u.HTML),c.xml=c.xml||u.XML,t&&"string"===typeof t?n.parse(t,c,d):n.errorHandler.error("invalid doc source"),i.doc},h.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,a=i.createElementNS(t,r||e),o=n.length;g(this,a),this.currentElement=a,this.locator&&d(this.locator,a);for(var s=0;s=0))throw I(N,new Error(t.tagName+"@"+r));for(var i=e.length-1;n"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function k(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(k(t,e))return!0}while(t=t.nextSibling)}function X(){}function F(t,e,r,i){t&&t._inc++,r.namespaceURI===n.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function Y(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,a=0;i;)n[a++]=i,i=i.nextSibling;n.length=a}}}function G(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,Y(t.ownerDocument,t),e}function H(t,e,r){var n=e.parentNode;if(n&&n.removeChild(e),e.nodeType===w){var i=e.firstChild;if(null==i)return e;var a=e.lastChild}else i=a=e;var o=r?r.previousSibling:t.lastChild;i.previousSibling=o,a.nextSibling=r,o?o.nextSibling=i:t.firstChild=i,null==r?t.lastChild=a:r.previousSibling=a;do{i.parentNode=t}while(i!==a&&(i=i.nextSibling));return Y(t.ownerDocument||t,t),e.nodeType==w&&(e.firstChild=e.lastChild=null),e}function Z(){this._nsMap={}}function V(){}function q(){}function j(){}function z(){}function K(){}function W(){}function $(){}function J(){}function Q(){}function tt(){}function et(){}function rt(){}function nt(t,e){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,a=n.namespaceURI;if(a&&null==i&&null==(i=n.lookupPrefix(a)))var o=[{namespace:a,prefix:null}];return ot(this,r,t,e,o),r.join("")}function it(t,e,r){var i=t.prefix||"",a=t.namespaceURI;if(!a)return!1;if("xml"===i&&a===n.XML||a===n.XMLNS)return!1;for(var o=r.length;o--;){var s=r[o];if(s.prefix===i)return s.namespace!==a}return!0}function at(t,e,r){t.push(" ",e,'="',r.replace(/[<&"]/g,B),'"')}function ot(t,e,r,i,a){if(a||(a=[]),i){if(!(t=i(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case f:var o=t.attributes,s=o.length,u=t.firstChild,c=t.tagName,m=c;if(!(r=n.isHTML(t.namespaceURI)||r)&&!t.prefix&&t.namespaceURI){for(var E,T=0;T=0;S--){if(""===(A=a[S]).prefix&&A.namespace===t.namespaceURI){E=A.namespace;break}}if(E!==t.namespaceURI)for(S=a.length-1;S>=0;S--){var A;if((A=a[S]).namespace===t.namespaceURI){A.prefix&&(m=A.prefix+":"+c);break}}}e.push("<",m);for(var N=0;N"),r&&/^script$/i.test(c))for(;u;)u.data?e.push(u.data):ot(u,e,r,i,a.slice()),u=u.nextSibling;else for(;u;)ot(u,e,r,i,a.slice()),u=u.nextSibling;e.push("")}else e.push("/>");return;case y:case w:for(u=t.firstChild;u;)ot(u,e,r,i,a.slice()),u=u.nextSibling;return;case l:return at(e,t.name,t.value);case h:return e.push(t.data.replace(/[<&]/g,B).replace(/]]>/g,"]]>"));case d:return e.push("");case v:return e.push("\x3c!--",t.data,"--\x3e");case b:var x=t.publicId,O=t.systemId;if(e.push("");else if(O&&"."!=O)e.push(" SYSTEM ",O,">");else{var C=t.internalSubset;C&&e.push(" [",C,"]"),e.push(">")}return;case g:return e.push("");case p:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function st(t,e,r){var n;switch(e.nodeType){case f:(n=e.cloneNode(!1)).ownerDocument=t;case w:break;case l:r=!0}if(n||(n=e.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var i=e.firstChild;i;)n.appendChild(st(t,i,r)),i=i.nextSibling;return n}function ut(t,e,r){var n=new e.constructor;for(var i in e){var a=e[i];"object"!=typeof a&&a!=n[i]&&(n[i]=a)}switch(e.childNodes&&(n.childNodes=new D),n.ownerDocument=t,n.nodeType){case f:var o=e.attributes,s=n.attributes=new C,u=o.length;s._ownerElement=n;for(var c=0;c0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r)for(var n in r)if(r[n]==t)return n;e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&t in r)return r[t];e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},s(c,_),s(c,_.prototype),X.prototype={nodeName:"#document",nodeType:y,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==w){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return null==this.documentElement&&t.nodeType==f&&(this.documentElement=t),H(this,t,e),t.ownerDocument=this,t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),G(this,t)},importNode:function(t,e){return st(this,t,e)},getElementById:function(t){var e=null;return k(this.documentElement,(function(r){if(r.nodeType==f&&r.getAttribute("id")==t)return e=r,!0})),e},getElementsByClassName:function(t){var e=o(t);return new x(this,(function(r){var n=[];return e.length>0&&k(r.documentElement,(function(i){if(i!==r&&i.nodeType===f){var a=i.getAttribute("class");if(a){var s=t===a;if(!s){var u=o(a);s=e.every((c=u,function(t){return c&&-1!==c.indexOf(t)}))}s&&n.push(i)}}var c})),n}))},createElement:function(t){var e=new Z;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new D,(e.attributes=new C)._ownerElement=e,e},createDocumentFragment:function(){var t=new tt;return t.ownerDocument=this,t.childNodes=new D,t},createTextNode:function(t){var e=new j;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new z;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new K;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new et;return r.ownerDocument=this,r.tagName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new V;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new Q;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new Z,n=e.split(":"),i=r.attributes=new C;return r.childNodes=new D,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new V,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},u(X,_),Z.prototype={nodeType:f,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===w?this.insertBefore(t,null):function(t,e){var r=e.parentNode;if(r){var n=t.lastChild;r.removeChild(e),n=t.lastChild}return n=t.lastChild,e.parentNode=t,e.previousSibling=n,e.nextSibling=null,n?n.nextSibling=e:t.firstChild=e,t.lastChild=e,Y(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new x(this,(function(e){var r=[];return k(e,(function(n){n===e||n.nodeType!=f||"*"!==t&&n.tagName!=t||r.push(n)})),r}))},getElementsByTagNameNS:function(t,e){return new x(this,(function(r){var n=[];return k(r,(function(i){i===r||i.nodeType!==f||"*"!==t&&i.namespaceURI!==t||"*"!==e&&i.localName!=e||n.push(i)})),n}))}},X.prototype.getElementsByTagName=Z.prototype.getElementsByTagName,X.prototype.getElementsByTagNameNS=Z.prototype.getElementsByTagNameNS,u(Z,_),V.prototype.nodeType=l,u(V,_),q.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(S[A])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){r=this.data.substring(0,t)+r+this.data.substring(t+e),this.nodeValue=this.data=r,this.length=r.length}},u(q,_),j.prototype={nodeName:"#text",nodeType:h,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},u(j,q),z.prototype={nodeName:"#comment",nodeType:v},u(z,q),K.prototype={nodeName:"#cdata-section",nodeType:d},u(K,q),W.prototype.nodeType=b,u(W,_),$.prototype.nodeType=E,u($,_),J.prototype.nodeType=m,u(J,_),Q.prototype.nodeType=p,u(Q,_),tt.prototype.nodeName="#document-fragment",tt.prototype.nodeType=w,u(tt,_),et.prototype.nodeType=g,u(et,_),rt.prototype.serializeToString=function(t,e,r){return nt.call(t,e,r)},_.prototype.toString=nt;try{if(Object.defineProperty){function ft(t){switch(t.nodeType){case f:case w:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(ft(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}Object.defineProperty(x.prototype,"length",{get:function(){return O(this),this.$$length}}),Object.defineProperty(_.prototype,"textContent",{get:function(){return ft(this)},set:function(t){switch(this.nodeType){case f:case w:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),ct=function(t,e,r){t["$$"+e]=r}}}catch(lt){}e.DocumentType=W,e.DOMException=I,e.DOMImplementation=L,e.Element=Z,e.Node=_,e.NodeList=D,e.XMLSerializer=rt},31045:function(t,e,r){var n=r(72167).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",times:"\xd7",divide:"\xf7",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",euro:"\u20ac",trade:"\u2122",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}),e.entityMap=e.HTML_ENTITIES},3969:function(t,e,r){var n=r(41146);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(86129).DOMParser},76925:function(t,e,r){var n=r(72167).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function c(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function f(t,e,r,i,a,o){function s(t,e,n){r.attributeNames.hasOwnProperty(t)&&o.fatalError("Attribute "+t+" redefined"),r.addValue(t,e,n)}for(var u,c=++e,f=0;;){var l=t.charAt(c);switch(l){case"=":if(1===f)u=t.slice(e,c),f=3;else{if(2!==f)throw new Error("attribute equal must after attrName");f=3}break;case"'":case'"':if(3===f||1===f){if(1===f&&(o.warning('attribute value must after "="'),u=t.slice(e,c)),e=c+1,!((c=t.indexOf(l,e))>0))throw new Error("attribute value no end '"+l+"' match");s(u,h=t.slice(e,c).replace(/&#?\w+;/g,a),e-1),f=5}else{if(4!=f)throw new Error('attribute value must after "="');s(u,h=t.slice(e,c).replace(/&#?\w+;/g,a),e),o.warning('attribute "'+u+'" missed start quot('+l+")!!"),e=c+1,f=5}break;case"/":switch(f){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:f=7,r.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==f&&r.setTagName(t.slice(e,c)),c;case">":switch(f){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=t.slice(e,c)).slice(-1)&&(r.closed=!0,h=h.slice(0,-1));case 2:2===f&&(h=u),4==f?(o.warning('attribute "'+h+'" missed quot(")!'),s(u,h.replace(/&#?\w+;/g,a),e)):(n.isHTML(i[""])&&h.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),s(h,h,e));break;case 3:throw new Error("attribute value missed!!")}return c;case"\x80":l=" ";default:if(l<=" ")switch(f){case 0:r.setTagName(t.slice(e,c)),f=6;break;case 1:u=t.slice(e,c),f=2;break;case 4:var h=t.slice(e,c).replace(/&#?\w+;/g,a);o.warning('attribute "'+h+'" missed quot(")!!'),s(u,h,e);case 5:f=6}else switch(f){case 2:r.tagName;n.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,e),e=c,f=1;break;case 5:o.warning('attribute space is required"'+u+'"!!');case 6:f=1,e=c;break;case 3:f=4,e=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function l(t,e,r){for(var i=t.tagName,a=null,o=t.length;o--;){var s=t[o],u=s.qName,c=s.value;if((d=u.indexOf(":"))>0)var f=s.prefix=u.slice(0,d),l=u.slice(d+1),h="xmlns"===f&&l;else l=u,f=null,h="xmlns"===u&&"";s.localName=l,!1!==h&&(null==a&&(a={},p(r,r={})),r[h]=a[h]=c,s.uri=n.XMLNS,e.startPrefixMapping(h,c))}for(o=t.length;o--;){(f=(s=t[o]).prefix)&&("xml"===f&&(s.uri=n.XML),"xmlns"!==f&&(s.uri=r[f||""]))}var d;(d=i.indexOf(":"))>0?(f=t.prefix=i.slice(0,d),l=t.localName=i.slice(d+1)):(f=null,l=t.localName=i);var m=t.uri=r[f||""];if(e.startElement(m,l,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=a,!0;if(e.endElement(m,l,i),a)for(f in a)e.endPrefixMapping(f)}function h(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var a=t.indexOf("",e),o=t.substring(e+1,a);if(/[&<]/.test(o))return/^script$/i.test(r)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,n),i.characters(o,0,o.length),a)}return e+1}function d(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf(""))e?(r.comment(t,e+4,i-e-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var a=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=e,i.exec(t);for(;r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],u=!1,c=!1;o>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],c=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(c=a[3][0]));var f=a[o-1];return r.startDTD(s,u,c),r.endDTD(),f.index+f[0].length}return-1}function g(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function v(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),p(e,e={}),function(t,e,r,i,a){function o(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}function u(t){var e=t.slice(1,-1);return e in r?r[e]:"#"===e.charAt(0)?o(parseInt(e.substr(1).replace("x","0x"))):(a.error("entity not found:"+t),t)}function p(e){if(e>N){var r=t.substring(N,e).replace(/&#?\w+;/g,u);T&&y(N),i.characters(r,0,e-N),N=e}}function y(e,r){for(;e>=w&&(r=E.exec(t));)b=r.index,w=b+r[0].length,T.lineNumber++;T.columnNumber=e-b+1}var b=0,w=0,E=/.*(?:\r\n?|\n)|.*$/g,T=i.locator,S=[{currentNSMap:e}],A={},N=0;for(;;){try{var R=t.indexOf("<",N);if(R<0){if(!t.substr(N).match(/^\s*$/)){var I=i.doc,D=I.createTextNode(t.substr(N));I.appendChild(D),i.currentElement=D}return}switch(R>N&&p(R),t.charAt(R+1)){case"/":var x=t.indexOf(">",R+3),O=t.substring(R+2,x).replace(/[ \t\n\r]+$/g,""),C=S.pop();x<0?(O=t.substring(R+2).replace(/[\s<].*/,""),a.error("end tag name: "+O+" is not complete:"+C.tagName),x=R+1+O.length):O.match(/\sN?N=x:p(Math.max(R,N)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},v.prototype={setTagName:function(t){if(!o.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!o.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=u,e.ParseError=s},27049:function(t,e,r){"use strict";var n=r(87462),i=r(4942),a=r(94184),o=r.n(a),s=r(67294),u=r(53124),c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i0?"-".concat(m):m,A=!!y,N="left"===m&&null!=g,R="right"===m&&null!=g,I=o()(T,"".concat(T,"-").concat(d),(e={},(0,i.Z)(e,"".concat(T,"-with-text"),A),(0,i.Z)(e,"".concat(T,"-with-text").concat(S),A),(0,i.Z)(e,"".concat(T,"-dashed"),!!b),(0,i.Z)(e,"".concat(T,"-plain"),!!w),(0,i.Z)(e,"".concat(T,"-rtl"),"rtl"===f),(0,i.Z)(e,"".concat(T,"-no-default-orientation-margin-left"),N),(0,i.Z)(e,"".concat(T,"-no-default-orientation-margin-right"),R),e),v),D=(0,n.Z)((0,n.Z)({},N&&{marginLeft:g}),R&&{marginRight:g});return s.createElement("div",(0,n.Z)({className:I},E,{role:"separator"}),y&&s.createElement("span",{className:"".concat(T,"-inner-text"),style:D},y))}},79742:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,a=u(t),o=a[0],s=a[1],c=new i(function(t,e,r){return 3*(e+r)/4-r}(0,o,s)),f=0,l=s>0?o-4:o;for(r=0;r>16&255,c[f++]=e>>8&255,c[f++]=255&e;2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[f++]=255&e);1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[f++]=e>>8&255,c[f++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,a=[],o=16383,s=0,u=n-i;su?u:s+o));1===i?(e=t[n-1],a.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],a.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return a.join("")};for(var r=[],n=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t,e,n){for(var i,a,o=[],s=e;s>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(t,e,r){"use strict";var n=r(79742),i=r(80645),a=r(87300);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(t).length;default:if(n)return Y(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return O(this,e,r);case"utf8":case"utf-8":return R(this,e,r);case"ascii":return D(this,e,r);case"latin1":case"binary":return x(this,e,r);case"base64":return N(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:y(t,e,r,n,i);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):y(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,r,n,i){var a,o=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,u/=2,r/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var f=-1;for(a=r;as&&(r=s-u),a=r;a>=0;a--){for(var l=!0,h=0;hi&&(n=i):n=i;var a=e.length;if(a%2!==0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o>8,i=r%256,a.push(i),a.push(n);return a}(e,t.length-r),t,r,n)}function N(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function R(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128===(192&(a=t[i+1]))&&(u=(31&c)<<6|63&a)>127&&(f=u);break;case 3:a=t[i+1],o=t[i+2],128===(192&a)&&128===(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return function(t){var e=t.length;if(e<=I)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},u.prototype.compare=function(t,e,r,n,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(e>>>=0),s=Math.min(a,o),c=this.slice(n,i),f=t.slice(e,r),l=0;li)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return w(this,t,e,r);case"ascii":return E(this,t,e,r);case"latin1":case"binary":return T(this,t,e,r);case"base64":return S(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function D(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;in)&&(r=n);for(var i="",a=e;ar)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,r,n,i,a){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function U(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,a=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function L(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,a=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function _(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function B(t,e,r,n,a){return a||_(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function k(t,e,r,n,a){return a||_(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t],i=1,a=0;++a=(i*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},u.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||P(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+i]=t/a&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):U(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):U(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):L(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);P(this,t,e,r,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);P(this,t,e,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):U(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):U(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):L(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,r){return B(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return B(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return k(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return k(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(a=e;a55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function G(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(X,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function H(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}},87300:function(t){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},86559:function(t,e,r){"use strict";r.d(e,{Z:function(){return g}});var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(t,e,r){var i,a=n[t];return i="string"===typeof a?a:1===e?a.one:a.other.replace("{{count}}",e.toString()),null!==r&&void 0!==r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function a(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,n=t.formats[r]||t.formats[t.defaultWidth];return n}}var o={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},u=function(t,e,r,n){return s[t]};function c(t){return function(e,r){var n;if("formatting"===(null!==r&&void 0!==r&&r.context?String(r.context):"standalone")&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,a=null!==r&&void 0!==r&&r.width?String(r.width):i;n=t.formattingValues[a]||t.formattingValues[i]}else{var o=t.defaultWidth,s=null!==r&&void 0!==r&&r.width?String(r.width):t.defaultWidth;n=t.values[s]||t.values[o]}return n[t.argumentCallback?t.argumentCallback(e):e]}}var f={ordinalNumber:function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function l(t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,i=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],a=e.match(i);if(!a)return null;var o,s=a[0],u=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(u)?d(u,(function(t){return t.test(s)})):h(u,(function(t){return t.test(s)}));o=t.valueCallback?t.valueCallback(c):c,o=r.valueCallback?r.valueCallback(o):o;var f=e.slice(s.length);return{value:o,rest:f}}}function h(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function d(t,e){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(p.matchPattern);if(!r)return null;var n=r[0],i=t.match(p.parsePattern);if(!i)return null;var a=p.valueCallback?p.valueCallback(i[0]):i[0];a=e.valueCallback?e.valueCallback(a):a;var o=t.slice(n.length);return{value:a,rest:o}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},g={code:"en-US",formatDistance:i,formatLong:o,formatRelative:u,localize:f,match:m,options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(t,e,r){"use strict";r.d(e,{j:function(){return i}});var n={};function i(){return n}},24262:function(t,e,r){"use strict";function n(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}r.d(e,{Z:function(){return n}})},83946:function(t,e,r){"use strict";function n(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}r.d(e,{Z:function(){return n}})},77349:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(83946),i=r(19013),a=r(13882);function o(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),o=(0,n.Z)(e);return isNaN(o)?new Date(NaN):o?(r.setDate(r.getDate()+o),r):r}},11640:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(83946),i=r(19013),a=r(13882);function o(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),o=(0,n.Z)(e);if(isNaN(o))return new Date(NaN);if(!o)return r;var s=r.getDate(),u=new Date(r.getTime());u.setMonth(r.getMonth()+o+1,0);var c=u.getDate();return s>=c?u:(r.setFullYear(u.getFullYear(),u.getMonth(),s),r)}},75401:function(t,e,r){"use strict";r.d(e,{Z:function(){return u}});var n=r(24262),i=r(19013),a=r(13882);function o(t){(0,a.Z)(1,arguments);var e=(0,i.Z)(t);return e.setHours(0,0,0,0),e}var s=864e5;function u(t,e){(0,a.Z)(2,arguments);var r=o(t),i=o(e),u=r.getTime()-(0,n.Z)(r),c=i.getTime()-(0,n.Z)(i);return Math.round((u-c)/s)}},68730:function(t,e,r){"use strict";r.d(e,{Z:function(){return T}});var n=r(77349),i=r(11640),a=r(19013),o=r(13882),s=r(83946);function u(t,e){if((0,o.Z)(2,arguments),!e||"object"!==typeof e)return new Date(NaN);var r=e.years?(0,s.Z)(e.years):0,u=e.months?(0,s.Z)(e.months):0,c=e.weeks?(0,s.Z)(e.weeks):0,f=e.days?(0,s.Z)(e.days):0,l=e.hours?(0,s.Z)(e.hours):0,h=e.minutes?(0,s.Z)(e.minutes):0,d=e.seconds?(0,s.Z)(e.seconds):0,p=(0,a.Z)(t),m=u||r?(0,i.Z)(p,u+12*r):p,g=f||c?(0,n.Z)(m,f+7*c):m,v=h+60*l,y=d+60*v,b=1e3*y,w=new Date(g.getTime()+b);return w}var c=r(75401);function f(t,e){var r=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return r<0?-1:r>0?1:r}function l(t,e){(0,o.Z)(2,arguments);var r=(0,a.Z)(t),n=(0,a.Z)(e),i=f(r,n),s=Math.abs((0,c.Z)(r,n));r.setDate(r.getDate()-i*s);var u=Number(f(r,n)===-i),l=i*(s-u);return 0===l?0:l}Math.pow(10,8);var h=36e5,d=r(59910),p=r(93645);function m(t,e,r){(0,o.Z)(2,arguments);var n=(0,d.Z)(t,e)/h;return(0,p.u)(null===r||void 0===r?void 0:r.roundingMethod)(n)}function g(t,e,r){(0,o.Z)(2,arguments);var n=(0,d.Z)(t,e)/6e4;return(0,p.u)(null===r||void 0===r?void 0:r.roundingMethod)(n)}var v=r(82161),y=r(11699);function b(t,e){(0,o.Z)(2,arguments);var r=(0,a.Z)(t),n=(0,a.Z)(e);return r.getFullYear()-n.getFullYear()}var w=r(49474);function E(t,e){(0,o.Z)(2,arguments);var r=(0,a.Z)(t),n=(0,a.Z)(e),i=(0,w.Z)(r,n),s=Math.abs(b(r,n));r.setFullYear(1584),n.setFullYear(1584);var u=(0,w.Z)(r,n)===-i,c=i*(s-Number(u));return 0===c?0:c}function T(t){(0,o.Z)(1,arguments);var e=(0,a.Z)(t.start),r=(0,a.Z)(t.end);if(isNaN(e.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(r.getTime()))throw new RangeError("End Date is invalid");if(e>r)throw new RangeError("The start of an interval cannot be after its end");var n={years:E(r,e)},i=u(e,{years:n.years});n.months=(0,v.Z)(r,i);var s=u(i,{months:n.months});n.days=l(r,s);var c=u(s,{days:n.days});n.hours=m(r,c);var f=u(c,{hours:n.hours});n.minutes=g(r,f);var h=u(f,{minutes:n.minutes});return n.seconds=(0,y.Z)(r,h),n}},89144:function(t,e,r){var n,i="undefined"!==typeof r.g?r.g:"undefined"!==typeof window?window:{},a=r(25893);"undefined"!==typeof document?n=document:(n=i["__GLOBAL_DOCUMENT_CACHE@4"])||(n=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),t.exports=n},58908:function(t,e,r){var n;n="undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:{},t.exports=n},80645:function(t,e){e.read=function(t,e,r,n,i){var a,o,s=8*i-n-1,u=(1<>1,f=-7,l=r?i-1:0,h=r?-1:1,d=t[e+l];for(l+=h,a=d&(1<<-f)-1,d>>=-f,f+=s;f>0;a=256*a+t[e+l],l+=h,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+t[e+l],l+=h,f-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),a-=c}return(d?-1:1)*o*Math.pow(2,a-n)},e.write=function(t,e,r,n,i,a){var o,s,u,c=8*a-i-1,f=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,p=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+l>=1?h/u:h*Math.pow(2,1-l))*u>=2&&(o++,u/=2),o+l>=f?(s=0,o=f):o+l>=1?(s=(e*u-1)*Math.pow(2,i),o+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(o=o<0;t[r+d]=255&o,d+=p,o/=256,c-=8);t[r+d-p]|=128*m}},27376:function(t){t.exports=function(t){if(!t)return!1;var r=e.call(t);return"[object Function]"===r||"function"===typeof t&&"[object RegExp]"!==r||"undefined"!==typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var e=Object.prototype.toString},27537:function(t,e){function r(t){if(t&&"object"===typeof t){var e=t.which||t.keyCode||t.charCode;e&&(t=e)}if("number"===typeof t)return o[t];var r,a=String(t);return(r=n[a.toLowerCase()])?r:(r=i[a.toLowerCase()])||(1===a.length?a.charCodeAt(0):void 0)}r.isEventKey=function(t,e){if(t&&"object"===typeof t){var r=t.which||t.keyCode||t.charCode;if(null===r||void 0===r)return!1;if("string"===typeof e){var a;if(a=n[e.toLowerCase()])return a===r;if(a=i[e.toLowerCase()])return a===r}else if("number"===typeof e)return e===r;return!1}};var n=(e=t.exports=r).code=e.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=e.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(a=97;a<123;a++)n[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)n[a-48]=a;for(a=1;a<13;a++)n["f"+a]=a+111;for(a=0;a<10;a++)n["numpad "+a]=a+96;var o=e.names=e.title={};for(a in n)o[n[a]]=a;for(var s in i)n[s]=i[s]},9323:function(t,e,r){"use strict";r.d(e,{_b:function(){return m}});var n=r(94578),i=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2===arguments.length)for(var r=e.length,n=0;n-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)},e}(i),c=String.fromCharCode(9),f=function(t){var e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},l=function(t){for(var e,r=t.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),n={},i=r.length;i--;)""!==r[i]&&((e=/([^=]*)=(.*)/.exec(r[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),n[e[0]]=e[1]);return n},h=function(t){function e(){var e;return(e=t.call(this)||this).customParsers=[],e.tagMappers=[],e}(0,n.Z)(e,t);var r=e.prototype;return r.push=function(t){var e,r,n=this;0!==(t=t.trim()).length&&("#"===t[0]?this.tagMappers.reduce((function(e,r){var n=r(t);return n===t?e:e.concat([n])}),[t]).forEach((function(t){for(var i=0;i0&&(f.duration=t.duration),0===t.duration&&(f.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=c},key:function(){if(t.attributes)if("NONE"!==t.attributes.METHOD)if(t.attributes.URI){if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes});if("com.microsoft.playready"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:(0,s.Z)(t.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),n={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},"undefined"!==typeof t.attributes.IV&&(n.iv=t.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else n=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(t.number)?this.manifest.mediaSequence=t.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number})},"discontinuity-sequence":function(){isFinite(t.number)?(this.manifest.discontinuitySequence=t.number,v=t.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number})},"playlist-type":function(){/VOD|EVENT/.test(t.playlistType)?this.manifest.playlistType=t.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist})},map:function(){r={},t.uri&&(r.uri=t.uri),t.byterange&&(r.byterange=t.byterange),n&&(r.key=n)},"stream-inf":function(){this.manifest.playlists=c,this.manifest.mediaGroups=this.manifest.mediaGroups||g,t.attributes?(f.attributes||(f.attributes={}),(0,a.Z)(f.attributes,t.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||g,t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME){var r=this.manifest.mediaGroups[t.attributes.TYPE];r[t.attributes["GROUP-ID"]]=r[t.attributes["GROUP-ID"]]||{},e=r[t.attributes["GROUP-ID"]],(o={default:/yes/i.test(t.attributes.DEFAULT)}).default?o.autoselect=!0:o.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(o.language=t.attributes.LANGUAGE),t.attributes.URI&&(o.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(o.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(o.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(o.forced=/yes/i.test(t.attributes.FORCED)),e[t.attributes.NAME]=o}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){v+=1,f.discontinuity=!0,this.manifest.discontinuityStarts.push(c.length)},"program-date-time":function(){"undefined"===typeof this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),f.dateTimeString=t.dateTimeString,f.dateTimeObject=t.dateTimeObject},targetduration:function(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration}):(this.manifest.targetDuration=t.duration,p.call(this,this.manifest))},start:function(){t.attributes&&!isNaN(t.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){f.cueOut=t.data},"cue-out-cont":function(){f.cueOutCont=t.data},"cue-in":function(){f.cueIn=t.data},skip:function(){this.manifest.skip=d(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part:function(){var e=this;l=!0;var r=this.manifest.segments.length,n=d(t.attributes);f.parts=f.parts||[],f.parts.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=b),b=n.byterange.offset+n.byterange.length);var i=f.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+i+" for segment #"+r,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(t,r){t.hasOwnProperty("lastPart")||e.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+r+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var e=this.manifest.serverControl=d(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),p.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var e=this.manifest.segments.length,r=d(t.attributes),n=r.type&&"PART"===r.type;f.preloadHints=f.preloadHints||[],f.preloadHints.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=n?b:0,n&&(b=r.byterange.offset+r.byterange.length)));var i=f.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+i+" for segment #"+e,t.attributes,["TYPE","URI"]),r.type)for(var a=0;ae.timeline?1:-1}));var e,r},D=function(t){var e,r,n=[];return e=t,r=function(t,e,r,i){n=n.concat(t.playlists||[])},R.forEach((function(t){for(var n in e.mediaGroups[t])for(var i in e.mediaGroups[t][n]){var a=e.mediaGroups[t][n][i];r(a,t,n,i)}})),n},x=function(t){var e=t.playlist,r=t.mediaSequence;e.mediaSequence=r,e.segments.forEach((function(t,r){t.number=e.mediaSequence+r}))},O=function(t){var e=t.oldManifest,r=t.newManifest,n=e.playlists.concat(D(e)),i=r.playlists.concat(D(r));return r.timelineStarts=I([e.timelineStarts,r.timelineStarts]),function(t){var e=t.oldPlaylists,r=t.newPlaylists,n=t.timelineStarts;r.forEach((function(t){t.discontinuitySequence=d(n,(function(e){return e.timeline===t.timeline}));var r=function(t,e){for(var r=0;rr.timeline||r.segments.length&&t.timeline>r.segments[r.segments.length-1].timeline)&&t.discontinuitySequence--);r.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),x({playlist:t,mediaSequence:r.segments[a].number})}}))}({oldPlaylists:n,newPlaylists:i,timelineStarts:r.timelineStarts}),r},C=function(t){return t&&t.uri+"-"+function(t){var e;return e="bigint"===typeof t.offset||"bigint"===typeof t.length?a().BigInt(t.offset)+a().BigInt(t.length)-a().BigInt(1):t.offset+t.length-1,t.offset+"-"+e}(t.byterange)},M=function(t){return f(t.reduce((function(t,e){var r=e.attributes.id+(e.attributes.lang||"");if(t[r]){var n;if(e.segments)e.segments[0]&&(e.segments[0].discontinuity=!0),(n=t[r].segments).push.apply(n,e.segments);e.attributes.contentProtection&&(t[r].attributes.contentProtection=e.attributes.contentProtection)}else t[r]=e,t[r].attributes.timelineStarts=[];return t[r].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t}),{})).map((function(t){var e,r;return t.discontinuityStarts=(e=t.segments||[],r="discontinuity",e.reduce((function(t,e,n){return e[r]&&t.push(n),t}),[])),t}))},P=function(t,e){var r=C(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&N(t,n,t.sidx.resolvedUri),t},U=function(t,e){if(void 0===e&&(e={}),!Object.keys(e).length)return t;for(var r in t)t[r]=P(t[r],e);return t},L=function(t){var e,r=t.attributes,n=t.segments,i=t.sidx,a=t.discontinuityStarts,o={attributes:(e={NAME:r.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:r.width,height:r.height},CODECS:r.codecs,BANDWIDTH:r.bandwidth},e["PROGRAM-ID"]=1,e),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuityStarts:a,timelineStarts:r.timelineStarts,segments:n};return r.contentProtection&&(o.contentProtection=r.contentProtection),i&&(o.sidx=i),o},_=function(t){var e=t.attributes;return"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType},B=function(t){var e=t.attributes;return"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType},k=function(t){var e=t.attributes;return"text/vtt"===e.mimeType||"text"===e.contentType},X=function(t){return t?Object.keys(t).reduce((function(e,r){var n=t[r];return e.concat(n.playlists)}),[]):[]},F=function(t){var e,r=t.dashPlaylists,n=t.locations,i=t.sidxMapping,a=void 0===i?{}:i,o=t.previousManifest;if(!r.length)return{};var s=r[0].attributes,u=s.sourceDuration,c=s.type,f=s.suggestedPresentationDelay,l=s.minimumUpdatePeriod,h=M(r.filter(_)).map(L),p=M(r.filter(B)),m=M(r.filter(k)),g=r.map((function(t){return t.attributes.captionServices})).filter(Boolean),v={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(e={AUDIO:{},VIDEO:{}},e["CLOSED-CAPTIONS"]={},e.SUBTITLES={},e),uri:"",duration:u,playlists:U(h,a)};l>=0&&(v.minimumUpdatePeriod=1e3*l),n&&(v.locations=n),"dynamic"===c&&(v.suggestedPresentationDelay=f);var y,b,w=0===v.playlists.length,E=p.length?function(t,e,r){var n;void 0===e&&(e={}),void 0===r&&(r=!1);var i=t.reduce((function(t,i){var a=i.attributes.role&&i.attributes.role.value||"",o=i.attributes.lang||"",s=i.attributes.label||"main";if(o&&!i.attributes.label){var u=a?" ("+a+")":"";s=""+i.attributes.lang+u}t[s]||(t[s]={language:o,autoselect:!0,default:"main"===a,playlists:[],uri:""});var c=P(function(t,e){var r,n=t.attributes,i=t.segments,a=t.sidx,o=t.mediaSequence,s=t.discontinuitySequence,u=t.discontinuityStarts,c={attributes:(r={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs},r["PROGRAM-ID"]=1,r),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuitySequence:s,discontinuityStarts:u,timelineStarts:n.timelineStarts,mediaSequence:o,segments:i};return n.contentProtection&&(c.contentProtection=n.contentProtection),a&&(c.sidx=a),e&&(c.attributes.AUDIO="audio",c.attributes.SUBTITLES="subs"),c}(i,r),e);return t[s].playlists.push(c),"undefined"===typeof n&&"main"===a&&((n=i).default=!0),t}),{});return n||(i[Object.keys(i)[0]].default=!0),i}(p,a,w):null,T=m.length?function(t,e){return void 0===e&&(e={}),t.reduce((function(t,r){var n=r.attributes.lang||"text";return t[n]||(t[n]={language:n,default:!1,autoselect:!1,playlists:[],uri:""}),t[n].playlists.push(P(function(t){var e,r=t.attributes,n=t.segments,i=t.mediaSequence,a=t.discontinuityStarts,o=t.discontinuitySequence;"undefined"===typeof n&&(n=[{uri:r.baseUrl,timeline:r.periodStart,resolvedUri:r.baseUrl||"",duration:r.sourceDuration,number:0}],r.duration=r.sourceDuration);var s=((e={NAME:r.id,BANDWIDTH:r.bandwidth})["PROGRAM-ID"]=1,e);return r.codecs&&(s.CODECS=r.codecs),{attributes:s,uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,timelineStarts:r.timelineStarts,discontinuityStarts:a,discontinuitySequence:o,mediaSequence:i,segments:n}}(r),e)),t}),{})}(m,a):null,S=h.concat(X(E),X(T)),A=S.map((function(t){return t.timelineStarts}));return v.timelineStarts=I(A),y=S,b=v.timelineStarts,y.forEach((function(t){t.mediaSequence=0,t.discontinuitySequence=d(b,(function(e){return e.timeline===t.timeline})),t.segments&&t.segments.forEach((function(t,e){t.number=e}))})),E&&(v.mediaGroups.AUDIO.audio=E),T&&(v.mediaGroups.SUBTITLES.subs=T),g.length&&(v.mediaGroups["CLOSED-CAPTIONS"].cc=g.reduce((function(t,e){return e?(e.forEach((function(e){var r=e.channel,n=e.language;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])})),t):t}),{})),o?O({oldManifest:o,newManifest:v}):v},Y=function(t,e,r){var n=t.NOW,i=t.clientOffset,a=t.availabilityStartTime,o=t.timescale,s=void 0===o?1:o,u=t.periodStart,c=void 0===u?0:u,f=t.minimumUpdatePeriod,l=(n+i)/1e3+(void 0===f?0:f)-(a+c);return Math.ceil((l*s-e)/r)},G=function(t,e){for(var r=t.type,n=t.minimumUpdatePeriod,i=void 0===n?0:n,a=t.media,o=void 0===a?"":a,s=t.sourceDuration,u=t.timescale,c=void 0===u?1:u,f=t.startNumber,l=void 0===f?1:f,h=t.periodStart,d=[],p=-1,m=0;mp&&(p=b);var w=void 0;if(y<0){var E=m+1;w=E===e.length?"dynamic"===r&&i>0&&o.indexOf("$Number$")>0?Y(t,p,v):(s*c-p)/v:(e[E].t-p)/v}else w=y+1;for(var T=l+d.length+w,S=l+d.length;S=i?a:""+new Array(i-a.length+1).join("0")+a)}}(e))},V=function(t,e){var r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},i=t.initialization,a=void 0===i?{sourceURL:"",range:""}:i,o=w({baseUrl:t.baseUrl,source:Z(a.sourceURL,r),range:a.range}),s=function(t,e){return t.duration||e?t.duration?S(t):G(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}]}(t,e);return s.map((function(e){r.Number=e.number,r.Time=e.time;var i=Z(t.media||"",r),a=t.timescale||1,s=t.presentationTimeOffset||0,u=t.periodStart+(e.time-s)/a;return{uri:i,timeline:e.timeline,duration:e.duration,resolvedUri:(0,n.Z)(t.baseUrl||"",i),map:o,number:e.number,presentationTime:u}}))},q=function(t,e){var r=t.duration,n=t.segmentUrls,i=void 0===n?[]:n,a=t.periodStart;if(!r&&!e||r&&e)throw new Error(y);var o,s=i.map((function(e){return function(t,e){var r=t.baseUrl,n=t.initialization,i=void 0===n?{}:n,a=w({baseUrl:r,source:i.sourceURL,range:i.range}),o=w({baseUrl:r,source:e.media,range:e.mediaRange});return o.map=a,o}(t,e)}));return r&&(o=S(t)),e&&(o=G(t,e)),o.map((function(e,r){if(s[r]){var n=s[r],i=t.timescale||1,o=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=a+(e.time-o)/i,n}})).filter((function(t){return t}))},j=function(t){var e,r,n=t.attributes,i=t.segmentInfo;i.template?(r=V,e=c(n,i.template)):i.base?(r=A,e=c(n,i.base)):i.list&&(r=q,e=c(n,i.list));var a={attributes:n};if(!r)return a;var o=r(e,i.segmentTimeline);if(e.duration){var s=e,u=s.duration,f=s.timescale,l=void 0===f?1:f;e.duration=u/l}else o.length?e.duration=o.reduce((function(t,e){return Math.max(t,Math.ceil(e.duration))}),0):e.duration=0;return a.attributes=e,a.segments=o,i.base&&e.indexRange&&(a.sidx=o[0],a.segments=[]),a},z=function(t,e){return h(t.childNodes).filter((function(t){return t.tagName===e}))},K=function(t){return t.textContent.trim()},W=function(t){var e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;var r=e.slice(1),n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],u=r[5];return 31536e3*parseFloat(n||0)+2592e3*parseFloat(i||0)+86400*parseFloat(a||0)+3600*parseFloat(o||0)+60*parseFloat(s||0)+parseFloat(u||0)},$={mediaPresentationDuration:function(t){return W(t)},availabilityStartTime:function(t){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e=t)&&(e+="Z"),Date.parse(e)/1e3;var e},minimumUpdatePeriod:function(t){return W(t)},suggestedPresentationDelay:function(t){return W(t)},type:function(t){return t},timeShiftBufferDepth:function(t){return W(t)},start:function(t){return W(t)},width:function(t){return parseInt(t,10)},height:function(t){return parseInt(t,10)},bandwidth:function(t){return parseInt(t,10)},startNumber:function(t){return parseInt(t,10)},timescale:function(t){return parseInt(t,10)},presentationTimeOffset:function(t){return parseInt(t,10)},duration:function(t){var e=parseInt(t,10);return isNaN(e)?W(t):e},d:function(t){return parseInt(t,10)},t:function(t){return parseInt(t,10)},r:function(t){return parseInt(t,10)},DEFAULT:function(t){return t}},J=function(t){return t&&t.attributes?h(t.attributes).reduce((function(t,e){var r=$[e.name]||$.DEFAULT;return t[e.name]=r(e.value),t}),{}):{}},Q={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},tt=function(t,e){return e.length?l(t.map((function(t){return e.map((function(e){return(0,n.Z)(t,K(e))}))}))):t},et=function(t){var e=z(t,"SegmentTemplate")[0],r=z(t,"SegmentList")[0],n=r&&z(r,"SegmentURL").map((function(t){return c({tag:"SegmentURL"},J(t))})),i=z(t,"SegmentBase")[0],a=r||e,o=a&&z(a,"SegmentTimeline")[0],s=r||i||e,u=s&&z(s,"Initialization")[0],f=e&&J(e);f&&u?f.initialization=u&&J(u):f&&f.initialization&&(f.initialization={sourceURL:f.initialization});var l={template:f,segmentTimeline:o&&z(o,"S").map((function(t){return J(t)})),list:r&&c(J(r),{segmentUrls:n,initialization:J(u)}),base:i&&c(J(i),{initialization:J(u)})};return Object.keys(l).forEach((function(t){l[t]||delete l[t]})),l},rt=function(t,e,r){return function(n){var i,a=J(n),s=tt(e,z(n,"BaseURL")),u=z(n,"Role")[0],f={role:J(u)},h=c(t,a,f),d=z(n,"Accessibility")[0],p="urn:scte:dash:cc:cea-608:2015"===(i=J(d)).schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(t){var e,r;if(r=t,/^CC\d=/.test(t)){var n=t.split("=");e=n[0],r=n[1]}else/^CC\d$/.test(t)&&(e=t);return{channel:e,language:r}})):"urn:scte:dash:cc:cea-708:2015"===i.schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(t){var e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){var r=t.split("="),n=r[0],i=r[1],a=void 0===i?"":i;e.channel=n,e.language=t,a.split(",").forEach((function(t){var r=t.split(":"),n=r[0],i=r[1];"lang"===n?e.language=i:"er"===n?e.easyReader=Number(i):"war"===n?e.aspectRatio=Number(i):"3D"===n&&(e["3D"]=Number(i))}))}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e})):void 0;p&&(h=c(h,{captionServices:p}));var m=z(n,"Label")[0];if(m&&m.childNodes.length){var g=m.childNodes[0].nodeValue.trim();h=c(h,{label:g})}var v=z(n,"ContentProtection").reduce((function(t,e){var r=J(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());var n=Q[r.schemeIdUri];if(n){t[n]={attributes:r};var i=z(e,"cenc:pssh")[0];if(i){var a=K(i);t[n].pssh=a&&(0,o.Z)(a)}}return t}),{});Object.keys(v).length&&(h=c(h,{contentProtection:v}));var y=et(n),b=z(n,"Representation"),w=c(r,y);return l(b.map(function(t,e,r){return function(n){var i=z(n,"BaseURL"),a=tt(e,i),o=c(t,J(n)),s=et(n);return a.map((function(t){return{segmentInfo:c(r,s),attributes:c(o,{baseUrl:t})}}))}}(h,s,w)))}},nt=function(t,e){return function(r,n){var i=tt(e,z(r.node,"BaseURL")),a=c(t,{periodStart:r.attributes.start});"number"===typeof r.attributes.duration&&(a.periodDuration=r.attributes.duration);var o=z(r.node,"AdaptationSet"),s=et(r.node);return l(o.map(rt(a,i,s)))}},it=function(t){if(""===t)throw new Error(m);var e,r,n=new s.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(i){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw new Error(g);return r},at=function(t,e){void 0===e&&(e={});var r=function(t,e){void 0===e&&(e={});var r=e,n=r.manifestUri,i=void 0===n?"":n,a=r.NOW,o=void 0===a?Date.now():a,s=r.clientOffset,u=void 0===s?0:s,c=z(t,"Period");if(!c.length)throw new Error(p);var f=z(t,"Location"),h=J(t),d=tt([i],z(t,"BaseURL"));h.type=h.type||"static",h.sourceDuration=h.mediaPresentationDuration||0,h.NOW=o,h.clientOffset=u,f.length&&(h.locations=f.map(K));var m=[];return c.forEach((function(t,e){var r=J(t),n=m[e-1];r.start=function(t){var e=t.attributes,r=t.priorPeriodAttributes,n=t.mpdType;return"number"===typeof e.start?e.start:r&&"number"===typeof r.start&&"number"===typeof r.duration?r.start+r.duration:r||"static"!==n?null:0}({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:h.type}),m.push({node:t,attributes:r})})),{locations:h.locations,representationInfo:l(m.map(nt(h,d)))}}(it(t),e),n=r.representationInfo.map(j);return F({dashPlaylists:n,locations:r.locations,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest})},ot=function(t){return function(t){var e=z(t,"UTCTiming")[0];if(!e)return null;var r=J(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw new Error(b)}return r}(it(t))}},84221:function(t,e,r){var n=r(46894).getUint64;t.exports=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},i=12;0===r.version?(r.earliestPresentationTime=e.getUint32(i),r.firstOffset=e.getUint32(i+4),i+=8):(r.earliestPresentationTime=n(t.subarray(i)),r.firstOffset=n(t.subarray(i+8)),i+=16),i+=2;var a=e.getUint16(i);for(i+=2;a>0;i+=12,a--)r.references.push({referenceType:(128&t[i])>>>7,referencedSize:2147483647&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:268435455&e.getUint32(i+8)});return r}},51489:function(t){var e,r,n,i,a,o,s,u=9e4;e=function(t){return t*u},r=function(t,e){return t*e},n=function(t){return t/u},i=function(t,e){return t/e},a=function(t,r){return e(i(t,r))},o=function(t,e){return r(n(t),e)},s=function(t,e,r){return n(r?t:t-e)},t.exports={ONE_SECOND_IN_TS:u,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i,audioTsToVideoTs:a,videoTsToAudioTs:o,metadataTsToSeconds:s}},46894:function(t){var e=Math.pow(2,32);t.exports={getUint64:function(t){var r,n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getBigUint64?(r=n.getBigUint64(0))59?e(r[1],r[2],0,r[4]):e(0,r[1],r[2],r[4]):null}function s(){this.values=i(null)}function u(t,e,r,n){var i=n?t.split(n):[t];for(var a in i)if("string"===typeof i[a]){var o=i[a].split(r);if(2===o.length)e(o[0],o[1])}}function c(t,e,r){var n=t;function i(){var e=o(t);if(null===e)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+n);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function c(){t=t.replace(/^\s+/,"")}if(c(),e.startTime=i(),c(),"--\x3e"!==t.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);t=t.substr(3),c(),e.endTime=i(),c(),function(t,e){var n=new s;u(t,(function(t,e){switch(t){case"region":for(var i=r.length-1;i>=0;i--)if(r[i].id===e){n.set(t,r[i].region);break}break;case"vertical":n.alt(t,e,["rl","lr"]);break;case"line":var a=e.split(","),o=a[0];n.integer(t,o),n.percent(t,o)&&n.set("snapToLines",!1),n.alt(t,o,["auto"]),2===a.length&&n.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=e.split(","),n.percent(t,a[0]),2===a.length&&n.alt("positionAlign",a[1],["start","center","end"]);break;case"size":n.percent(t,e);break;case"align":n.alt(t,e,["start","center","end","left","right"])}}),/:/,/\s/),e.region=n.get("region",null),e.vertical=n.get("vertical","");try{e.line=n.get("line","auto")}catch(i){}e.lineAlign=n.get("lineAlign","start"),e.snapToLines=n.get("snapToLines",!0),e.size=n.get("size",100);try{e.align=n.get("align","center")}catch(i){e.align=n.get("align","middle")}try{e.position=n.get("position","auto")}catch(i){e.position=n.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=n.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(t,e)}a.prototype=i(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,r){for(var n=0;n=0&&e<=100)&&(this.set(t,e),!0)}};var f=n.createElement&&n.createElement("textarea"),l={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},h={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},d={v:"title",lang:"lang"},p={rt:"ruby"};function m(t,e){function r(){if(!e)return null;var t,r=e.match(/^([^<]*)(<[^>]*>?)?/);return t=r[1]?r[1]:r[2],e=e.substr(t.length),t}function n(t,e){return!p[e.localName]||p[e.localName]===t.localName}function i(e,r){var n=l[e];if(!n)return null;var i=t.document.createElement(n),a=d[e];return a&&r&&(i[a]=r.trim()),i}for(var a,s,u=t.document.createElement("div"),c=u,m=[];null!==(a=r());)if("<"!==a[0])c.appendChild(t.document.createTextNode((s=a,f.innerHTML=s,s=f.textContent,f.textContent="",s)));else{if("/"===a[1]){m.length&&m[m.length-1]===a.substr(2).replace(">","")&&(m.pop(),c=c.parentNode);continue}var g,v=o(a.substr(1,a.length-2));if(v){g=t.document.createProcessingInstruction("timestamp",v),c.appendChild(g);continue}var y=a.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(!(g=i(y[1],y[3])))continue;if(!n(c,g))continue;if(y[2]){var b=y[2].split(".");b.forEach((function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(h.hasOwnProperty(r)){var n=e?"background-color":"color",i=h[r];g.style[n]=i}})),g.className=b.join(" ")}m.push(y[1]),c.appendChild(g),c=g}return u}var g=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function v(t){for(var e=0;e=r[0]&&t<=r[1])return!0}return!1}function y(t){var e=[],r="";if(!t||!t.childNodes)return"ltr";function n(t,e){for(var r=e.childNodes.length-1;r>=0;r--)t.push(e.childNodes[r])}function i(t){if(!t||!t.length)return null;var e=t.pop(),r=e.textContent||e.innerText;if(r){var a=r.match(/^.*(\n|\r)/);return a?(t.length=0,a[0]):r}return"ruby"===e.tagName?i(t):e.childNodes?(n(t,e),i(t)):void 0}for(n(e,t);r=i(e);)for(var a=0;a=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,r=e.textTrackList,n=0,i=0;il&&(f=f<0?-1:1,f*=Math.ceil(l/c)*c),o<0&&(f+=""===a.vertical?r.height:r.width,s=s.reverse()),i.move(h,f)}else{var d=i.lineHeight/r.height*100;switch(a.lineAlign){case"center":o-=d/2;break;case"end":o-=d}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(o,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(o,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(o,"%")})}s=["+y","-x","+x","-y"],i=new E(e)}var p=function(t,e){for(var i,a=new E(t),o=1,s=0;su&&(i=new E(t),o=u),t=new E(a)}return i||a}(i,s);e.move(p.toCSSCompatValues(r))}function S(){}b.prototype.applyStyles=function(t,e){for(var r in e=e||this.div,t)t.hasOwnProperty(r)&&(e.style[r]=t[r])},b.prototype.formatStyle=function(t,e){return 0===t?0:t+e},w.prototype=i(b.prototype),w.prototype.constructor=w,E.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},E.prototype.overlaps=function(t){return this.leftt.left&&this.topt.top},E.prototype.overlapsAny=function(t){for(var e=0;e=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},E.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.leftt.right;case"+y":return this.topt.bottom}},E.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},E.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},E.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},S.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!==typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},S.convertCueToDOMTree=function(t,e){return t&&e?m(t,e):null};S.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n=t.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",r.appendChild(n),function(t){for(var e=0;e100)throw new Error("Position must be between 0 and 100.");m=t,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(t){var e=n(t);e?(g=e,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return v},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");v=t,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return y},set:function(t){var e=n(t);if(!e)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");y=e,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=i},13710:function(t){var e={"":!0,up:!0};function r(t){return"number"===typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,n=3,i=0,a=100,o=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return n},set:function(t){if("number"!==typeof t)throw new TypeError("Lines must be set to a number.");n=t}},regionAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!r(t))throw new Error("RegionAnchorX must be between 0 and 100.");a=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!r(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw new Error("ViewportAnchorX must be between 0 and 100.");o=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){var r=function(t){return"string"===typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase()}(t);!1===r?console.warn("Scroll: an invalid or illegal string was specified."):u=r}}})}},10434:function(t){function e(){return t.exports=e=Object.assign?Object.assign.bind():function(t){for(var e=1;e=6}function M(t){return"number"===typeof t}var z=["bytes","KB","MB","GB","TB","PB","EB"];function _(t,e,n,r){t=t||"",n.prefix&&(e<0&&(e*=-1,t+="-"),t+=n.prefix);var o=n.suffix||"",i=n.precision,a=n.round;if(n.byteScale){var c,u=r?n.byteScale:e;u>=0x1000000000000000?(e/=0x1000000000000000,c=6):u>=0x4000000000000?(e/=0x4000000000000,c=5):u>=1099511627776?(e/=1099511627776,c=4):u>=1073741824?(e/=1073741824,c=3):u>=1048576?(e/=1048576,c=2):u>=1024?(e/=1024,c=1):c=0,void 0===i&&void 0===a&&(e>=1023.5&&c=1e3?4:3),o=" "+z[c]}if(void 0!==i&&void 0!==a)throw Error("Use either round or precision, not both");if(!r&&(void 0!==i&&(e=e.toPrecision(i),n.zeros||(e=parseFloat(e))),void 0!==a))if(a<0){var l=Math.pow(10,-1*a);e=parseInt((1*e/l).toFixed(0))*l}else e=e.toFixed(a),n.zeros||(e=parseFloat(e));if(n.thousands||n.decimal){var f=(e=s(e)).split(".");e=f[0],n.thousands&&(e=e.replace(/\B(?=(\d{3})+(?!\d))/g,n.thousands)),f.length>1&&(e+=(n.decimal||".")+f[1])}return t+e+o}function C(t,e,n){return n in e?e[n]:n in t.options?t.options[n]:null}function k(t){var e,n,r;for(e=0;e25?r=25:r<10&&(r=10),n.scales.x.ticks.callback||(n.scales.x.ticks.callback=function(t){return(t=s(this.getLabelForValue(t))).length>r?t.substring(0,r-2)+"...":t})},W=function(e,n,r){var o={prefix:e.options.prefix,suffix:e.options.suffix,thousands:e.options.thousands,decimal:e.options.decimal,precision:e.options.precision,round:e.options.round,zeros:e.options.zeros};if(e.options.bytes){var i=e.data;"pie"===r&&(i=[{data:i}]);for(var a=0,s=0;sa&&(a=c.data[u][1]);for(var l=1;a>=1024;)l*=1024,a/=1024;o.byteScale=l}if("pie"!==r){var f=n.scales.y;"bar"===r&&(f=n.scales.x),o.byteScale&&(f.ticks.stepSize||(f.ticks.stepSize=o.byteScale/2),f.ticks.maxTicksLimit||(f.ticks.maxTicksLimit=4)),f.ticks.callback||(f.ticks.callback=function(t){return _("",t,o,!0)})}if(!n.plugins.tooltip.callbacks.label)if("scatter"===r)n.plugins.tooltip.callbacks.label=function(t){var e=t.dataset.label||"";return e&&(e+=": "),e+"("+t.label+", "+t.formattedValue+")"};else if("bubble"===r)n.plugins.tooltip.callbacks.label=function(t){var e=t.dataset.label||"";e&&(e+=": ");var n=t.raw;return e+"("+n.x+", "+n.y+", "+n.v+")"};else if("pie"===r)n.plugins.tooltip.callbacks.label=function(e){var n=e.label,r=": ";return t(n)?(n=n.slice())[0]+=r:n+=r,_(n,e.parsed,o)};else{var h="bar"===r?"x":"y";n.plugins.tooltip.callbacks.label=function(t){if(null!==t.parsed[h]){var e=t.dataset.label||"";return e&&(e+=": "),_(e,t.parsed[h],o)}}}},Y=f(o(A,O),S,E,P,D,L,F,I),U=function(e,n,r){var i,a=[],s=[],l=e.options.colors||T,f=!0,h=!0,p=!0,w=!0,M=!0,z=!0,_=e.data,k=0;if("bubble"===r)for(var A=0;A<_.length;A++)for(var O=_[A],S=0;Sk&&(k=O.data[S][2]);var E,P,D,R,j,L,F,I=[],H=[];if("bar"===r||"column"===r||"number"!==e.xtype&&"bubble"!==e.xtype){var W,Y,U=[];for(E=0;E<_.length;E++)for(D=_[E],P=0;P0){var et=(N(G)?u(G):s[0]).getTime(),nt=(N(tt)?u(tt):s[0]).getTime();for(E=1;Ent&&(nt=rt)}var ot,it=(nt-et)/864e5;if(!n.scales.x.time.unit&&(w||it>3650?(n.scales.x.time.unit="year",ot=365):p||it>300?(n.scales.x.time.unit="month",ot=30):f||it>10?(n.scales.x.time.unit="day",ot=1):M||it>.5?(n.scales.x.time.displayFormats={hour:"MMM d, h a"},n.scales.x.time.unit="hour",ot=1/24):z&&(n.scales.x.time.displayFormats={minute:"h:mm a"},n.scales.x.time.unit="minute",ot=1/24/60),ot&&it>0)){var at=e.element.offsetWidth;if(at>0){var st=Math.ceil(it/ot/(at/100));h&&1===ot&&(st=7*Math.ceil(st/7)),n.scales.x.time.stepSize=st}}n.scales.x.time.tooltipFormat||(f?n.scales.x.time.tooltipFormat="PP":M?n.scales.x.time.tooltipFormat="MMM d, h a":z&&(n.scales.x.time.tooltipFormat="h:mm a"))}return{labels:s,datasets:a}},V=function(t){this.name="chartjs",this.library=t};V.prototype.renderLineChart=function(t,e){var n={};!t.options.max&&k(t.data)&&(n.max=1);var r=Y(t,o(n,t.options));W(t,r,e);var i=U(t,r,e||"line");"number"===t.xtype?(r.scales.x.type=r.scales.x.type||"linear",r.scales.x.position=r.scales.x.position||"bottom"):r.scales.x.type="string"===t.xtype?"category":"time",this.drawChart(t,"line",i,r)},V.prototype.renderPieChart=function(t){var e=o({},A);t.options.donut&&(e.cutout="50%"),"legend"in t.options&&S(e,t.options.legend),t.options.title&&E(e,t.options.title),e=o(e,t.options.library||{}),W(t,e,"pie");for(var n=[],r=[],i=0;i\u25cf '+_(this.series.name+": ",this.y,o)+"
"})},q=function(t){this.name="highcharts",this.library=t};q.prototype.renderLineChart=function(t,e){var n={};"areaspline"===(e=e||"spline")&&(n={plotOptions:{areaspline:{stacking:"normal"},area:{stacking:"normal"},series:{marker:{enabled:!1}}}}),!1===t.options.curve&&("areaspline"===e?e="area":"spline"===e&&(e="line"));var r,o,i,a=J(t,t.options,n);"number"===t.xtype?a.xAxis.type=a.xAxis.type||"linear":a.xAxis.type="string"===t.xtype?"category":"datetime",a.chart.type||(a.chart.type=e),Z(t,a,e);var s=t.data;for(o=0;o0)return!1;return!0}function mt(t){var e=t.element,n=document.createElement("a"),r=t.options.download;!0===r?r={}:"string"===typeof r&&(r={filename:r}),n.download=r.filename||"chart.png",n.style.position="absolute",n.style.top="20px",n.style.right="20px",n.style.zIndex=1e3,n.style.lineHeight="20px",n.target="_blank";var o=document.createElement("img");o.alt="Download",o.style.border="none",o.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAABCFBMVEUAAADMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMywEsqxAAAAV3RSTlMAAQIDBggJCgsMDQ4PERQaHB0eISIjJCouLzE0OTo/QUJHSUpLTU5PUllhYmltcHh5foWLjI+SlaCio6atr7S1t7m6vsHHyM7R2tze5Obo7fHz9ff5+/1hlxK2AAAA30lEQVQYGUXBhVYCQQBA0TdYWAt2d3d3YWAHyur7/z9xgD16Lw0DW+XKx+1GgX+FRzM3HWQWrHl5N/oapW5RPe0PkBu+UYeICvozTWZVK23Ao04B79oJrOsJDOoxkZoQPWgX29pHpCZEk7rEvQYiNSFq1UMqvlCjJkRBS1R8hb00Vb/TajtBL7nTHE1X1vyMQF732dQhyF2o6SAwrzP06iUQzvwsArlnzcOdrgBhJyHa1QOgO9U1GsKuvjUTjavliZYQ8nNPapG6sap/3nrIdJ6bOWzmX/fy0XVpfzZP3S8OJT3g9EEiJwAAAABJRU5ErkJggg==",n.appendChild(o),e.style.position="relative",t.__downloadAttached=!0,t.__enterEvent=xt(e,"mouseover",(function(o){var i=o.relatedTarget;i&&(i===this||wt(this,i))||!t.options.download||(n.href=t.toImage(r),e.appendChild(n))})),t.__leaveEvent=xt(e,"mouseout",(function(t){var e=t.relatedTarget;e&&(e===this||wt(this,e))||n.parentNode&&n.parentNode.removeChild(n)}))}function xt(t,e,n){if(t.addEventListener)return t.addEventListener(e,n,!1),n;var r=function(){return n.call(t,window.event)};return t.attachEvent("on"+e,r),r}function vt(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)}function wt(t,e){if(t===e)return!1;for(;e&&e!==t;)e=e.parentNode;return e===t}lt.prototype.renderLineChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={};!1===t.options.curve&&(n.curveType="none"),!1===t.options.points&&(n.pointSize=0);var r=ct(t,t.options,n),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"LineChart",o,r)}))},lt.prototype.renderPieChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={chartArea:{top:"10%",height:"80%"},legend:{}};t.options.colors&&(n.colors=t.options.colors),t.options.donut&&(n.pieHole=.5),"legend"in t.options&&et(n,t.options.legend),t.options.title&&nt(n,t.options.title);var r=o(o(tt,n),t.options.library||{}),i=new e.library.visualization.DataTable;i.addColumn("string",""),i.addColumn("number","Value"),i.addRows(t.data),e.drawChart(t,"PieChart",i,r)}))},lt.prototype.renderColumnChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n=ct(t,t.options),r=e.createDataTable(t.data,t.xtype);e.drawChart(t,"ColumnChart",r,n)}))},lt.prototype.renderBarChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={hAxis:{gridlines:{color:"#ccc"}}},r=f(tt,et,nt,rt,ot,it,at,st)(t,t.options,n),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"BarChart",o,r)}))},lt.prototype.renderAreaChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={isStacked:!0,pointSize:0,areaOpacity:.5},r=ct(t,t.options,n),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"AreaChart",o,r)}))},lt.prototype.renderGeoChart=function(t){var e=this;this.waitForLoaded(t,"geochart",(function(){var n={legend:"none",colorAxis:{colors:t.options.colors||["#f6c7b6","#ce502d"]}},r=o(o(tt,n),t.options.library||{}),i=new e.library.visualization.DataTable;i.addColumn("string",""),i.addColumn("number",t.options.label||"Value"),i.addRows(t.data),e.drawChart(t,"GeoChart",i,r)}))},lt.prototype.renderScatterChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n,r,o,i,a={},s=ct(t,t.options,a),c=t.data,u=[];for(n=0;n0?new Error("No charting library found for "+t):new Error("No charting libraries found - be sure to include one before your charts")}var Ht=function(t,e,n){var r;if("string"===typeof t&&(r=t,!(t=document.getElementById(t))))throw new Error("No element with id "+r);this.element=t,this.options=o(qt.options,n||{}),this.dataSource=e,qt.charts[t.id]=this,jt(this,e,!0),this.options.refresh&&this.startRefresh()};Ht.prototype.getElement=function(){return this.element},Ht.prototype.getDataSource=function(){return this.dataSource},Ht.prototype.getData=function(){return this.data},Ht.prototype.getOptions=function(){return this.options},Ht.prototype.getChartObject=function(){return this.chart},Ht.prototype.getAdapter=function(){return this.adapter},Ht.prototype.updateData=function(t,e){this.dataSource=t,e&&this.__updateOptions(e),jt(this,t,!0)},Ht.prototype.setOptions=function(t){this.__updateOptions(t),this.redraw()},Ht.prototype.redraw=function(){jt(this,this.rawData)},Ht.prototype.refreshData=function(){if("string"===typeof this.dataSource){var t=-1===this.dataSource.indexOf("?")?"?":"&";jt(this,this.dataSource+t+"_="+(new Date).getTime())}else"function"===typeof this.dataSource&&jt(this,this.dataSource)},Ht.prototype.startRefresh=function(){var t=this,e=this.options.refresh;if(e&&"string"!==typeof this.dataSource&&"function"!==typeof this.dataSource)throw new Error("Data source must be a URL or callback for refresh");if(!this.intervalId){if(!e)throw new Error("No refresh interval");this.intervalId=setInterval((function(){t.refreshData()}),1e3*e)}},Ht.prototype.stopRefresh=function(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)},Ht.prototype.toImage=function(t){if("chartjs"===this.adapter){if(t&&t.background&&"transparent"!==t.background){var e=this.chart.canvas,n=this.chart.ctx,r=document.createElement("canvas"),o=r.getContext("2d");return r.width=n.canvas.width,r.height=n.canvas.height,o.fillStyle=t.background,o.fillRect(0,0,r.width,r.height),o.drawImage(e,0,0),r.toDataURL("image/png")}return this.chart.toBase64Image()}throw new Error("Feature only available for Chart.js")},Ht.prototype.destroy=function(){this.destroyed=!0,this.stopRefresh(),this.__adapterObject&&this.__adapterObject.destroy(this),this.__enterEvent&&vt(this.element,"mouseover",this.__enterEvent),this.__leaveEvent&&vt(this.element,"mouseout",this.__leaveEvent)},Ht.prototype.__updateOptions=function(t){var e=t.refresh&&t.refresh!==this.options.refresh;this.options=o(qt.options,t),e&&(this.stopRefresh(),this.startRefresh())},Ht.prototype.__render=function(){this.data=this.__processData(),Bt(this.__chartName(),this)},Ht.prototype.__config=function(){return St};var Wt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this)},e.prototype.__chartName=function(){return"LineChart"},e}(Ht),Yt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return yt(this)},e.prototype.__chartName=function(){return"PieChart"},e}(Ht),Ut=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,null,!0)},e.prototype.__chartName=function(){return"ColumnChart"},e}(Ht),Vt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,null,!0)},e.prototype.__chartName=function(){return"BarChart"},e}(Ht),Qt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this)},e.prototype.__chartName=function(){return"AreaChart"},e}(Ht),Xt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return yt(this)},e.prototype.__chartName=function(){return"GeoChart"},e}(Ht),$t=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,"number")},e.prototype.__chartName=function(){return"ScatterChart"},e}(Ht),Jt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,"bubble")},e.prototype.__chartName=function(){return"BubbleChart"},e}(Ht),Zt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){var t,e=this.rawData;for(t=0;t("number"===typeof t||t instanceof Number)&&isFinite(+t);function u(t,e){return c(t)?t:e}function l(t,e){return"undefined"===typeof t?e:t}const f=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,h=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function p(t,e,n){if(t&&"function"===typeof t.call)return t.apply(n,e)}function d(t,e,n,r){let o,i,c;if(a(t))if(i=t.length,r)for(o=i-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;ot,x:t=>t.x,y:t=>t.y};function z(t,e){const n=M[e]||(M[e]=function(t){const e=function(t){const e=t.split("."),n=[];let r="";for(const o of e)r+=o,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}(e));return n(t)}function _(t){return t.charAt(0).toUpperCase()+t.slice(1)}const C=t=>"undefined"!==typeof t,k=t=>"function"===typeof t,A=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function O(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const T=Math.PI,S=2*T,E=S+T,P=Number.POSITIVE_INFINITY,D=T/180,R=T/2,j=T/4,L=2*T/3,F=Math.log10,I=Math.sign;function B(t){const e=Math.round(t);t=W(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(F(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function N(t){const e=[],n=Math.sqrt(t);let r;for(r=1;rt-e)).pop(),e}function H(t){return!isNaN(parseFloat(t))&&isFinite(t)}function W(t,e,n){return Math.abs(t-e)=t}function U(t,e,n){let r,o,i;for(r=0,o=t.length;rc&&u=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function nt(t,e,n){n=n||(n=>t[n]1;)r=i+o>>1,n(r)?i=r:o=r;return{lo:i,hi:o}}const rt=(t,e,n,r)=>nt(t,n,r?r=>t[r][e]<=n:r=>t[r][e]nt(t,n,(r=>t[r][e]>=n));function it(t,e,n){let r=0,o=t.length;for(;rr&&t[o-1]>n;)o--;return r>0||o{const n="_onData"+_(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const o=r.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"===typeof t[n]&&t[n](...e)})),o}})})))}function ct(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(e);-1!==o&&r.splice(o,1),r.length>0||(at.forEach((e=>{delete t[e]})),delete t._chartjs)}function ut(t){const e=new Set;let n,r;for(n=0,r=t.length;nArray.prototype.slice.call(t));let o=!1,i=[];return function(...n){i=r(n),o||(o=!0,lt.call(window,(()=>{o=!1,t.apply(e,i)})))}}function ht(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const pt=t=>"start"===t?"left":"end"===t?"right":"center",dt=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,gt=(t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e;function yt(t,e,n){const r=e.length;let o=0,i=r;if(t._sorted){const{iScale:a,_parsed:s}=t,c=a.axis,{min:u,max:l,minDefined:f,maxDefined:h}=a.getUserBounds();f&&(o=G(Math.min(rt(s,a.axis,u).lo,n?r:rt(e,c,a.getPixelForValue(u)).lo),0,r-1)),i=h?G(Math.max(rt(s,a.axis,l,!0).hi+1,n?0:rt(e,c,a.getPixelForValue(l),!0).hi+1),o,r)-o:r-o}return{start:o,count:i}}function bt(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,o={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=o,!0;const i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,o),i}const mt=t=>0===t||1===t,xt=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*S/n),vt=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*S/n)+1,wt={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*R),easeOutSine:t=>Math.sin(t*R),easeInOutSine:t=>-.5*(Math.cos(T*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>mt(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>mt(t)?t:xt(t,.075,.3),easeOutElastic:t=>mt(t)?t:vt(t,.075,.3),easeInOutElastic(t){const e=.1125;return mt(t)?t:t<.5?.5*xt(2*t,e,.45):.5+.5*vt(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-wt.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*wt.easeInBounce(2*t):.5*wt.easeOutBounce(2*t-1)+.5};function Mt(t){return t+.5|0}const zt=(t,e,n)=>Math.max(Math.min(t,n),e);function _t(t){return zt(Mt(2.55*t),0,255)}function Ct(t){return zt(Mt(255*t),0,255)}function kt(t){return zt(Mt(t/2.55)/100,0,1)}function At(t){return zt(Mt(100*t),0,100)}const Ot={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Tt=[..."0123456789ABCDEF"],St=t=>Tt[15&t],Et=t=>Tt[(240&t)>>4]+Tt[15&t],Pt=t=>(240&t)>>4===(15&t);function Dt(t){var e=(t=>Pt(t.r)&&Pt(t.g)&&Pt(t.b)&&Pt(t.a))(t)?St:Et;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const Rt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function jt(t,e,n){const r=e*Math.min(n,1-n),o=(e,o=(e+t/30)%12)=>n-r*Math.max(Math.min(o-3,9-o,1),-1);return[o(0),o(8),o(4)]}function Lt(t,e,n){const r=(r,o=(r+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function Ft(t,e,n){const r=jt(t,1,.5);let o;for(e+n>1&&(o=1/(e+n),e*=o,n*=o),o=0;o<3;o++)r[o]*=1-e-n,r[o]+=e;return r}function It(t){const e=t.r/255,n=t.g/255,r=t.b/255,o=Math.max(e,n,r),i=Math.min(e,n,r),a=(o+i)/2;let s,c,u;return o!==i&&(u=o-i,c=a>.5?u/(2-o-i):u/(o+i),s=function(t,e,n,r,o){return t===o?(e-n)/r+(e>16&255,i>>8&255,255&i]}return t}(),Vt.transparent=[0,0,0,0]);const e=Vt[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const Xt=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const $t=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Jt=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Zt(t,e,n){if(t){let r=It(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=Nt(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function qt(t,e){return t?Object.assign(e||{},t):t}function Kt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Ct(t[3]))):(e=qt(t,{r:0,g:0,b:0,a:1})).a=Ct(e.a),e}function Gt(t){return"r"===t.charAt(0)?function(t){const e=Xt.exec(t);let n,r,o,i=255;if(e){if(e[7]!==n){const t=+e[7];i=e[8]?_t(t):zt(255*t,0,255)}return n=+e[1],r=+e[3],o=+e[5],n=255&(e[2]?_t(n):zt(n,0,255)),r=255&(e[4]?_t(r):zt(r,0,255)),o=255&(e[6]?_t(o):zt(o,0,255)),{r:n,g:r,b:o,a:i}}}(t):Wt(t)}class te{constructor(t){if(t instanceof te)return t;const e=typeof t;let n;"object"===e?n=Kt(t):"string"===e&&(n=function(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*Ot[t[1]],g:255&17*Ot[t[2]],b:255&17*Ot[t[3]],a:5===n?17*Ot[t[4]]:255}:7!==n&&9!==n||(e={r:Ot[t[1]]<<4|Ot[t[2]],g:Ot[t[3]]<<4|Ot[t[4]],b:Ot[t[5]]<<4|Ot[t[6]],a:9===n?Ot[t[7]]<<4|Ot[t[8]]:255})),e}(t)||Qt(t)||Gt(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=qt(this._rgb);return t&&(t.a=kt(t.a)),t}set rgb(t){this._rgb=Kt(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${kt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?Dt(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=It(t),n=e[0],r=At(e[1]),o=At(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${o}%, ${kt(t.a)})`:`hsl(${n}, ${r}%, ${o}%)`}(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,r=t.rgb;let o;const i=e===o?.5:e,a=2*i-1,s=n.a-r.a,c=((a*s===-1?a:(a+s)/(1+a*s))+1)/2;o=1-c,n.r=255&c*n.r+o*r.r+.5,n.g=255&c*n.g+o*r.g+.5,n.b=255&c*n.b+o*r.b+.5,n.a=i*n.a+(1-i)*r.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){const r=Jt(kt(t.r)),o=Jt(kt(t.g)),i=Jt(kt(t.b));return{r:Ct($t(r+n*(Jt(kt(e.r))-r))),g:Ct($t(o+n*(Jt(kt(e.g))-o))),b:Ct($t(i+n*(Jt(kt(e.b))-i))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new te(this.rgb)}alpha(t){return this._rgb.a=Ct(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=Mt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Zt(this._rgb,2,t),this}darken(t){return Zt(this._rgb,2,-t),this}saturate(t){return Zt(this._rgb,1,t),this}desaturate(t){return Zt(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=It(t);n[0]=Ht(n[0]+e),n=Nt(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}function ee(t){return new te(t)}function ne(t){if(t&&"object"===typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function re(t){return ne(t)?t:ee(t)}function oe(t){return ne(t)?t:ee(t).saturate(.5).darken(.1).hexString()}const ie=Object.create(null),ae=Object.create(null);function se(t,e){if(!e)return t;const n=e.split(".");for(let r=0,o=n.length;rt.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>oe(e.backgroundColor),this.hoverBorderColor=(t,e)=>oe(e.borderColor),this.hoverColor=(t,e)=>oe(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return ce(this,t,e)}get(t){return se(this,t)}describe(t,e){return ce(ae,t,e)}override(t,e){return ce(ie,t,e)}route(t,e,n,r){const o=se(this,t),i=se(this,n),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=i[r];return s(t)?Object.assign({},e,t):l(t,e)},set(t){this[a]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function le(t,e,n,r,o){let i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function fe(t,e,n,r){let o=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(o=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let s=0;const c=n.length;let u,l,f,h,p;for(u=0;un.length){for(u=0;u0&&t.stroke()}}function ye(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&""!==s.strokeColor;let l,f;for(t.save(),t.font=o.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);i(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,s),l=0;ll(t[n],t[e[n]]):e=>t[e]:()=>t;for(const a of o)n[a]=+i(a)||0;return n}function Oe(t){return Ae(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Te(t){return Ae(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Se(t){const e=Oe(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ee(t,e){t=t||{},e=e||ue.font;let n=l(t.size,e.size);"string"===typeof n&&(n=parseInt(n,10));let r=l(t.style,e.style);r&&!(""+r).match(Ce)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const o={family:l(t.family,e.family),lineHeight:ke(l(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:l(t.weight,e.weight),string:""};return o.string=function(t){return!t||i(t.size)||i(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(o),o}function Pe(t,e,n,r){let o,i,s,c=!0;for(o=0,i=t.length;on&&0===t?0:t+e;return{min:a(r,-Math.abs(i)),max:a(o,i)}}function Re(t,e){return Object.assign(Object.create(t),e)}function je(t,e=[""],n=t,r,o=(()=>t[0])){C(r)||(r=Qe("_fallback",t));const i={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:r,_getTarget:o,override:o=>je([o,...t],e,n,r)};return new Proxy(i,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>Ne(n,r,(()=>function(t,e,n,r){let o;for(const i of e)if(o=Qe(Ie(i,t),n),C(o))return Be(t,o)?Ue(n,r,t,o):o}(r,e,t,n))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Xe(t).includes(e),ownKeys:t=>Xe(t),set(t,e,n){const r=t._storage||(t._storage=o());return t[e]=r[e]=n,delete t._keys,!0}})}function Le(t,e,n,r){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Fe(t,r),setContext:e=>Le(t,e,n,r),override:o=>Le(t.override(o),e,n,r)};return new Proxy(o,{deleteProperty:(e,n)=>(delete e[n],delete t[n],!0),get:(t,e,n)=>Ne(t,e,(()=>function(t,e,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:c}=t;let u=r[e];k(u)&&c.isScriptable(e)&&(u=function(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_stack:s}=n;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t),e=e(i,a||r),s.delete(t),Be(t,e)&&(e=Ue(o._scopes,o,t,e));return e}(e,u,t,n));a(u)&&u.length&&(u=function(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_descriptors:c}=n;if(C(i.index)&&r(t))e=e[i.index%e.length];else if(s(e[0])){const n=e,r=o._scopes.filter((t=>t!==n));e=[];for(const s of n){const n=Ue(r,o,t,s);e.push(Le(n,i,a&&a[t],c))}}return e}(e,u,t,c.isIndexable));Be(e,u)&&(u=Le(u,o,i&&i[e],c));return u}(t,e,n))),getOwnPropertyDescriptor:(e,n)=>e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,n)=>Reflect.has(t,n),ownKeys:()=>Reflect.ownKeys(t),set:(e,n,r)=>(t[n]=r,delete e[n],!0)})}function Fe(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:k(n)?n:()=>n,isIndexable:k(r)?r:()=>r}}const Ie=(t,e)=>t?t+_(e):e,Be=(t,e)=>s(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Ne(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function He(t,e,n){return k(t)?t(e,n):t}const We=(t,e)=>!0===t?e:"string"===typeof t?z(e,t):void 0;function Ye(t,e,n,r,o){for(const i of e){const e=We(n,i);if(e){t.add(e);const i=He(e._fallback,n,o);if(C(i)&&i!==n&&i!==r)return i}else if(!1===e&&C(r)&&n!==r)return null}return!1}function Ue(t,e,n,r){const o=e._rootScopes,i=He(e._fallback,n,r),c=[...t,...o],u=new Set;u.add(r);let l=Ve(u,c,n,i||n,r);return null!==l&&((!C(i)||i===n||(l=Ve(u,c,i,l,r),null!==l))&&je(Array.from(u),[""],o,i,(()=>function(t,e,n){const r=t._getTarget();e in r||(r[e]={});const o=r[e];if(a(o)&&s(n))return n;return o}(e,n,r))))}function Ve(t,e,n,r,o){for(;n;)n=Ye(t,e,n,r,o);return n}function Qe(t,e){for(const n of e){if(!n)continue;const e=n[t];if(C(e))return e}}function Xe(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function $e(t,e,n,r){const{iScale:o}=t,{key:i="r"}=this._parsing,a=new Array(r);let s,c,u,l;for(s=0,c=r;se"x"===t?"y":"x";function Ke(t,e,n,r){const o=t.skip?e:t,i=e,a=n.skip?e:n,s=J(i,o),c=J(a,i);let u=s/(s+c),l=c/(s+c);u=isNaN(u)?0:u,l=isNaN(l)?0:l;const f=r*u,h=r*l;return{previous:{x:i.x-f*(a.x-o.x),y:i.y-f*(a.y-o.y)},next:{x:i.x+h*(a.x-o.x),y:i.y+h*(a.y-o.y)}}}function Ge(t,e="x"){const n=qe(e),r=t.length,o=Array(r).fill(0),i=Array(r);let a,s,c,u=Ze(t,0);for(a=0;a!t.skip))),"monotone"===e.cubicInterpolationMode)Ge(t,o);else{let n=r?t[t.length-1]:t[0];for(i=0,a=t.length;iwindow.getComputedStyle(t,null);const sn=["top","right","bottom","left"];function cn(t,e,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=sn[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function un(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,o=an(n),i="border-box"===o.boxSizing,a=cn(o,"padding"),s=cn(o,"border","width"),{x:c,y:u,box:l}=function(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:o,offsetY:i}=r;let a,s,c=!1;if(((t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot))(o,i,t.target))a=o,s=i;else{const t=e.getBoundingClientRect();a=r.clientX-t.left,s=r.clientY-t.top,c=!0}return{x:a,y:s,box:c}}(t,n),f=a.left+(l&&s.left),h=a.top+(l&&s.top);let{width:p,height:d}=e;return i&&(p-=a.width+s.width,d-=a.height+s.height),{x:Math.round((c-f)/p*n.width/r),y:Math.round((u-h)/d*n.height/r)}}const ln=t=>Math.round(10*t)/10;function fn(t,e,n,r){const o=an(t),i=cn(o,"margin"),a=on(o.maxWidth,t,"clientWidth")||P,s=on(o.maxHeight,t,"clientHeight")||P,c=function(t,e,n){let r,o;if(void 0===e||void 0===n){const i=rn(t);if(i){const t=i.getBoundingClientRect(),a=an(i),s=cn(a,"border","width"),c=cn(a,"padding");e=t.width-c.width-s.width,n=t.height-c.height-s.height,r=on(a.maxWidth,i,"clientWidth"),o=on(a.maxHeight,i,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||P,maxHeight:o||P}}(t,e,n);let{width:u,height:l}=c;if("content-box"===o.boxSizing){const t=cn(o,"border","width"),e=cn(o,"padding");u-=e.width+t.width,l-=e.height+t.height}return u=Math.max(0,u-i.width),l=Math.max(0,r?Math.floor(u/r):l-i.height),u=ln(Math.min(u,a,c.maxWidth)),l=ln(Math.min(l,s,c.maxHeight)),u&&!l&&(l=ln(u/2)),{width:u,height:l}}function hn(t,e,n){const r=e||1,o=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=o/r,t.width=i/r;const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||a.height!==o||a.width!==i)&&(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0)}const pn=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}return t}();function dn(t,e){const n=function(t,e){return an(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function gn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function yn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function bn(t,e,n,r){const o={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=gn(t,o,n),s=gn(o,i,n),c=gn(i,e,n),u=gn(a,s,n),l=gn(s,c,n);return gn(u,l,n)}const mn=new Map;function xn(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let r=mn.get(n);return r||(r=new Intl.NumberFormat(t,e),mn.set(n,r)),r}(e,n).format(t)}function vn(t,e,n){return t?function(t,e){return{x:n=>t+t+e-n,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,n):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function wn(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function Mn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function zn(t){return"angle"===t?{between:K,compare:Z,normalize:q}:{between:et,compare:(t,e)=>t-e,normalize:t=>t}}function _n({start:t,end:e,count:n,loop:r,style:o}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:o}}function Cn(t,e,n){if(!n)return[t];const{property:r,start:o,end:i}=n,a=e.length,{compare:s,between:c,normalize:u}=zn(r),{start:l,end:f,loop:h,style:p}=function(t,e,n){const{property:r,start:o,end:i}=n,{between:a,normalize:s}=zn(r),c=e.length;let u,l,{start:f,end:h,loop:p}=t;if(p){for(f+=c,h+=c,u=0,l=c;um||c(o,b,g)&&0!==s(o,b),w=()=>!m||0===s(i,g)||c(i,b,g);for(let M=l,z=l;M<=f;++M)y=e[M%a],y.skip||(g=u(y[r]),g!==b&&(m=c(g,o,i),null===x&&v()&&(x=0===s(g,o)?M:z),null!==x&&w()&&(d.push(_n({start:x,end:M,loop:h,count:a,style:p})),x=null),z=M,b=g));return null!==x&&d.push(_n({start:x,end:f,loop:h,count:a,style:p})),d}function kn(t,e){const n=[],r=t.segments;for(let o=0;oo&&t[i%e].skip;)i--;return i%=e,{start:o,end:i}}(n,o,i,r);if(!0===r)return On(t,[{start:a,end:s,loop:i}],n,e);return On(t,function(t,e,n,r){const o=t.length,i=[];let a,s=e,c=t[e];for(a=e+1;a<=n;++a){const n=t[a%o];n.skip||n.stop?c.skip||(r=!1,i.push({start:e%o,end:(a-1)%o,loop:r}),e=s=n.stop?a:null):(s=a,c.skip&&(e=a)),c=n}return null!==s&&i.push({start:e%o,end:s%o,loop:r}),i}(n,a,so&&a.push(e.substring(o,r.index));var s=t.props.hrefDecorator(r.url),n=t.props.textDecorator(r.text),u=t.props.componentDecorator(s,n,i);a.push(u),o=r.lastIndex})),e.length>o&&a.push(e.substring(o)),1===a.length?a[0]:a}},{key:"parse",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"===typeof e?this.parseString(e):o.isValidElement(e)&&"a"!==e.type&&"button"!==e.type?o.cloneElement(e,{key:r},this.parse(e.props.children)):Array.isArray(e)?e.map((function(e,r){return t.parse(e,r)})):e}},{key:"render",value:function(){return o.createElement(o.Fragment,null,this.parse(this.props.children))}}]),t}(o.Component);p.defaultProps={componentDecorator:i.default,hrefDecorator:s.default,matchDecorator:n.default,textDecorator:u.default},t.default=p},29872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(67294));t.default=function(e,t,r){return a.createElement("a",{href:e,key:r},t)}},77599:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},86704:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(r(12166)),o=i(r(10248));function i(e){return e&&e.__esModule?e:{default:e}}var s=new a.default;s.tlds(o.default),t.default=function(e){return s.match(e)}},1627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},53731:function(e,t,r){"use strict";var a,o=r(36887),i=(a=o)&&a.__esModule?a:{default:a};t.Z=i.default},12166:function(e,t,r){"use strict";function a(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function s(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var n={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var u={"http:":{validate:function(e,t,r){var a=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(a)?a.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var a=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(a)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var a=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a)?a.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(e){var t=e.re=r(73216)(e.__opts__),a=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),a.push(t.src_xn),t.src_tlds=a.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var u=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===o(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?i(r.validate)?a.validate=r.validate:c(t,r):a.validate=function(e){return function(t,r){var a=t.slice(r);return e.test(a)?a.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?a.normalize=r.normalize:r.normalize?c(t,r):a.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?c(t,r):u.push(t)}})),u.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(s).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function _(e,t){var r=e.__index__,a=e.__last_index__,o=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=a+t,this.raw=o,this.text=o,this.url=o}function p(e,t){var r=new _(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||n.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=a({},n,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a({},u,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},l(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,l(this),this},h.prototype.set=function(e){return this.__opts__=a(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,a,o,i,s,n,u;if(this.re.schema_test.test(e))for((n=this.re.schema_search).lastIndex=0;null!==(t=n.exec(e));)if(o=this.testSchemaAt(e,t[2],n.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(a=e.match(this.re.email_fuzzy))&&(i=a.index+a[1].length,s=a.index+a[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=s)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(p(this,t)),t=this.__last_index__);for(var a=t?e.slice(t):e;this.test(a);)r.push(p(this,t)),a=a.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,l(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},73216:function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><\uff5c]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},99413:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},73189:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},35045:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},29369:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},10248:function(e){"use strict";e.exports=JSON.parse('["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","bugatti","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","verm\xf6gensberater","verm\xf6gensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","\u03b5\u03bb","\u03b5\u03c5","\u0431\u0433","\u0431\u0435\u043b","\u0434\u0435\u0442\u0438","\u0435\u044e","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043a\u043e\u043c","\u043c\u043a\u0434","\u043c\u043e\u043d","\u043c\u043e\u0441\u043a\u0432\u0430","\u043e\u043d\u043b\u0430\u0439\u043d","\u043e\u0440\u0433","\u0440\u0443\u0441","\u0440\u0444","\u0441\u0430\u0439\u0442","\u0441\u0440\u0431","\u0443\u043a\u0440","\u049b\u0430\u0437","\u0570\u0561\u0575","\u05d9\u05e9\u05e8\u05d0\u05dc","\u05e7\u05d5\u05dd","\u0627\u0628\u0648\u0638\u0628\u064a","\u0627\u062a\u0635\u0627\u0644\u0627\u062a","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u0644\u0627\u0631\u062f\u0646","\u0627\u0644\u0628\u062d\u0631\u064a\u0646","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u0644\u0645\u063a\u0631\u0628","\u0627\u0645\u0627\u0631\u0627\u062a","\u0627\u06cc\u0631\u0627\u0646","\u0628\u0627\u0631\u062a","\u0628\u0627\u0632\u0627\u0631","\u0628\u064a\u062a\u0643","\u0628\u06be\u0627\u0631\u062a","\u062a\u0648\u0646\u0633","\u0633\u0648\u062f\u0627\u0646","\u0633\u0648\u0631\u064a\u0629","\u0634\u0628\u0643\u0629","\u0639\u0631\u0627\u0642","\u0639\u0631\u0628","\u0639\u0645\u0627\u0646","\u0641\u0644\u0633\u0637\u064a\u0646","\u0642\u0637\u0631","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0643\u0648\u0645","\u0645\u0635\u0631","\u0645\u0644\u064a\u0633\u064a\u0627","\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627","\u0645\u0648\u0642\u0639","\u0647\u0645\u0631\u0627\u0647","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u0680\u0627\u0631\u062a","\u0915\u0949\u092e","\u0928\u0947\u091f","\u092d\u093e\u0930\u0924","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u094b\u0924","\u0938\u0902\u0917\u0920\u0928","\u09ac\u09be\u0982\u09b2\u09be","\u09ad\u09be\u09b0\u09a4","\u09ad\u09be\u09f0\u09a4","\u0a2d\u0a3e\u0a30\u0a24","\u0aad\u0abe\u0ab0\u0aa4","\u0b2d\u0b3e\u0b30\u0b24","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0cad\u0cbe\u0cb0\u0ca4","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u0dbd\u0d82\u0d9a\u0dcf","\u0e04\u0e2d\u0e21","\u0e44\u0e17\u0e22","\u0ea5\u0eb2\u0ea7","\u10d2\u10d4","\u307f\u3093\u306a","\u30a2\u30de\u30be\u30f3","\u30af\u30e9\u30a6\u30c9","\u30b0\u30fc\u30b0\u30eb","\u30b3\u30e0","\u30b9\u30c8\u30a2","\u30bb\u30fc\u30eb","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u30dd\u30a4\u30f3\u30c8","\u4e16\u754c","\u4e2d\u4fe1","\u4e2d\u56fd","\u4e2d\u570b","\u4e2d\u6587\u7f51","\u4e9a\u9a6c\u900a","\u4f01\u4e1a","\u4f5b\u5c71","\u4fe1\u606f","\u5065\u5eb7","\u516b\u5366","\u516c\u53f8","\u516c\u76ca","\u53f0\u6e7e","\u53f0\u7063","\u5546\u57ce","\u5546\u5e97","\u5546\u6807","\u5609\u91cc","\u5609\u91cc\u5927\u9152\u5e97","\u5728\u7ebf","\u5927\u62ff","\u5929\u4e3b\u6559","\u5a31\u4e50","\u5bb6\u96fb","\u5e7f\u4e1c","\u5fae\u535a","\u6148\u5584","\u6211\u7231\u4f60","\u624b\u673a","\u62db\u8058","\u653f\u52a1","\u653f\u5e9c","\u65b0\u52a0\u5761","\u65b0\u95fb","\u65f6\u5c1a","\u66f8\u7c4d","\u673a\u6784","\u6de1\u9a6c\u9521","\u6e38\u620f","\u6fb3\u9580","\u70b9\u770b","\u79fb\u52a8","\u7ec4\u7ec7\u673a\u6784","\u7f51\u5740","\u7f51\u5e97","\u7f51\u7ad9","\u7f51\u7edc","\u8054\u901a","\u8bfa\u57fa\u4e9a","\u8c37\u6b4c","\u8d2d\u7269","\u901a\u8ca9","\u96c6\u56e2","\u96fb\u8a0a\u76c8\u79d1","\u98de\u5229\u6d66","\u98df\u54c1","\u9910\u5385","\u9999\u683c\u91cc\u62c9","\u9999\u6e2f","\ub2f7\ub137","\ub2f7\ucef4","\uc0bc\uc131","\ud55c\uad6d"]')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2429-cd1a27121f8cb4b6.js b/static/web/_next/static/chunks/2429-cd1a27121f8cb4b6.js new file mode 100644 index 000000000..4d0d90460 --- /dev/null +++ b/static/web/_next/static/chunks/2429-cd1a27121f8cb4b6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2429],{20550:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var a=r(4942),o=r(87462),i=r(97685),s=r(97937),n=r(94184),u=r.n(n),c=r(98423),l=r(67294),_=r(53124),p=r(98787),h=r(68349),d=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);oo&&a.push(e.substring(o,r.index));var s=t.props.hrefDecorator(r.url),n=t.props.textDecorator(r.text),u=t.props.componentDecorator(s,n,i);a.push(u),o=r.lastIndex})),e.length>o&&a.push(e.substring(o)),1===a.length?a[0]:a}},{key:"parse",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"===typeof e?this.parseString(e):o.isValidElement(e)&&"a"!==e.type&&"button"!==e.type?o.cloneElement(e,{key:r},this.parse(e.props.children)):Array.isArray(e)?e.map((function(e,r){return t.parse(e,r)})):e}},{key:"render",value:function(){return o.createElement(o.Fragment,null,this.parse(this.props.children))}}]),t}(o.Component);p.defaultProps={componentDecorator:i.default,hrefDecorator:s.default,matchDecorator:n.default,textDecorator:u.default},t.default=p},29872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(67294));t.default=function(e,t,r){return a.createElement("a",{href:e,key:r},t)}},77599:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},86704:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(r(12166)),o=i(r(10248));function i(e){return e&&e.__esModule?e:{default:e}}var s=new a.default;s.tlds(o.default),t.default=function(e){return s.match(e)}},1627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},53731:function(e,t,r){"use strict";var a,o=r(79186),i=(a=o)&&a.__esModule?a:{default:a};t.Z=i.default},12166:function(e,t,r){"use strict";function a(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function s(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var n={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var u={"http:":{validate:function(e,t,r){var a=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(a)?a.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var a=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(a)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var a=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a)?a.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(e){var t=e.re=r(73216)(e.__opts__),a=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),a.push(t.src_xn),t.src_tlds=a.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var u=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===o(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?i(r.validate)?a.validate=r.validate:c(t,r):a.validate=function(e){return function(t,r){var a=t.slice(r);return e.test(a)?a.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?a.normalize=r.normalize:r.normalize?c(t,r):a.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?c(t,r):u.push(t)}})),u.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(s).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function _(e,t){var r=e.__index__,a=e.__last_index__,o=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=a+t,this.raw=o,this.text=o,this.url=o}function p(e,t){var r=new _(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||n.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=a({},n,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a({},u,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},l(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,l(this),this},h.prototype.set=function(e){return this.__opts__=a(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,a,o,i,s,n,u;if(this.re.schema_test.test(e))for((n=this.re.schema_search).lastIndex=0;null!==(t=n.exec(e));)if(o=this.testSchemaAt(e,t[2],n.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(a=e.match(this.re.email_fuzzy))&&(i=a.index+a[1].length,s=a.index+a[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=s)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(p(this,t)),t=this.__last_index__);for(var a=t?e.slice(t):e;this.test(a);)r.push(p(this,t)),a=a.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,l(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},73216:function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><\uff5c]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},99413:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},73189:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},35045:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},29369:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},10248:function(e){"use strict";e.exports=JSON.parse('["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","bugatti","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","verm\xf6gensberater","verm\xf6gensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","\u03b5\u03bb","\u03b5\u03c5","\u0431\u0433","\u0431\u0435\u043b","\u0434\u0435\u0442\u0438","\u0435\u044e","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043a\u043e\u043c","\u043c\u043a\u0434","\u043c\u043e\u043d","\u043c\u043e\u0441\u043a\u0432\u0430","\u043e\u043d\u043b\u0430\u0439\u043d","\u043e\u0440\u0433","\u0440\u0443\u0441","\u0440\u0444","\u0441\u0430\u0439\u0442","\u0441\u0440\u0431","\u0443\u043a\u0440","\u049b\u0430\u0437","\u0570\u0561\u0575","\u05d9\u05e9\u05e8\u05d0\u05dc","\u05e7\u05d5\u05dd","\u0627\u0628\u0648\u0638\u0628\u064a","\u0627\u062a\u0635\u0627\u0644\u0627\u062a","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u0644\u0627\u0631\u062f\u0646","\u0627\u0644\u0628\u062d\u0631\u064a\u0646","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u0644\u0645\u063a\u0631\u0628","\u0627\u0645\u0627\u0631\u0627\u062a","\u0627\u06cc\u0631\u0627\u0646","\u0628\u0627\u0631\u062a","\u0628\u0627\u0632\u0627\u0631","\u0628\u064a\u062a\u0643","\u0628\u06be\u0627\u0631\u062a","\u062a\u0648\u0646\u0633","\u0633\u0648\u062f\u0627\u0646","\u0633\u0648\u0631\u064a\u0629","\u0634\u0628\u0643\u0629","\u0639\u0631\u0627\u0642","\u0639\u0631\u0628","\u0639\u0645\u0627\u0646","\u0641\u0644\u0633\u0637\u064a\u0646","\u0642\u0637\u0631","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0643\u0648\u0645","\u0645\u0635\u0631","\u0645\u0644\u064a\u0633\u064a\u0627","\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627","\u0645\u0648\u0642\u0639","\u0647\u0645\u0631\u0627\u0647","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u0680\u0627\u0631\u062a","\u0915\u0949\u092e","\u0928\u0947\u091f","\u092d\u093e\u0930\u0924","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u094b\u0924","\u0938\u0902\u0917\u0920\u0928","\u09ac\u09be\u0982\u09b2\u09be","\u09ad\u09be\u09b0\u09a4","\u09ad\u09be\u09f0\u09a4","\u0a2d\u0a3e\u0a30\u0a24","\u0aad\u0abe\u0ab0\u0aa4","\u0b2d\u0b3e\u0b30\u0b24","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0cad\u0cbe\u0cb0\u0ca4","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u0dbd\u0d82\u0d9a\u0dcf","\u0e04\u0e2d\u0e21","\u0e44\u0e17\u0e22","\u0ea5\u0eb2\u0ea7","\u10d2\u10d4","\u307f\u3093\u306a","\u30a2\u30de\u30be\u30f3","\u30af\u30e9\u30a6\u30c9","\u30b0\u30fc\u30b0\u30eb","\u30b3\u30e0","\u30b9\u30c8\u30a2","\u30bb\u30fc\u30eb","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u30dd\u30a4\u30f3\u30c8","\u4e16\u754c","\u4e2d\u4fe1","\u4e2d\u56fd","\u4e2d\u570b","\u4e2d\u6587\u7f51","\u4e9a\u9a6c\u900a","\u4f01\u4e1a","\u4f5b\u5c71","\u4fe1\u606f","\u5065\u5eb7","\u516b\u5366","\u516c\u53f8","\u516c\u76ca","\u53f0\u6e7e","\u53f0\u7063","\u5546\u57ce","\u5546\u5e97","\u5546\u6807","\u5609\u91cc","\u5609\u91cc\u5927\u9152\u5e97","\u5728\u7ebf","\u5927\u62ff","\u5929\u4e3b\u6559","\u5a31\u4e50","\u5bb6\u96fb","\u5e7f\u4e1c","\u5fae\u535a","\u6148\u5584","\u6211\u7231\u4f60","\u624b\u673a","\u62db\u8058","\u653f\u52a1","\u653f\u5e9c","\u65b0\u52a0\u5761","\u65b0\u95fb","\u65f6\u5c1a","\u66f8\u7c4d","\u673a\u6784","\u6de1\u9a6c\u9521","\u6e38\u620f","\u6fb3\u9580","\u70b9\u770b","\u79fb\u52a8","\u7ec4\u7ec7\u673a\u6784","\u7f51\u5740","\u7f51\u5e97","\u7f51\u7ad9","\u7f51\u7edc","\u8054\u901a","\u8bfa\u57fa\u4e9a","\u8c37\u6b4c","\u8d2d\u7269","\u901a\u8ca9","\u96c6\u56e2","\u96fb\u8a0a\u76c8\u79d1","\u98de\u5229\u6d66","\u98df\u54c1","\u9910\u5385","\u9999\u683c\u91cc\u62c9","\u9999\u6e2f","\ub2f7\ub137","\ub2f7\ucef4","\uc0bc\uc131","\ud55c\uad6d"]')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3016-22415cbfddc0e38b.js b/static/web/_next/static/chunks/3016-22415cbfddc0e38b.js new file mode 100644 index 000000000..1cd7e1c2f --- /dev/null +++ b/static/web/_next/static/chunks/3016-22415cbfddc0e38b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3016],{66567:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z",fill:e}},{tag:"path",attrs:{d:"M668 345.9V136h-96v211.4l49.5-35.4z",fill:t}},{tag:"path",attrs:{d:"M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z",fill:t}}]}},name:"book",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="BookTwoTone";var i=r.forwardRef(l)},24019:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="ClockCircleOutlined";var i=r.forwardRef(l)},78346:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}},{tag:"path",attrs:{d:"M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z",fill:e}},{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"message",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="MessageTwoTone";var i=r.forwardRef(l)},63179:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z",fill:t}},{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z",fill:e}}]}},name:"play-square",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="PlaySquareTwoTone";var i=r.forwardRef(l)},27482:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"profile",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="ProfileTwoTone";var i=r.forwardRef(l)},54907:function(e,t,n){n.d(t,{Z:function(){return H}});var a=n(87462),r=n(4942),o=n(18073),c=n(94184),l=n.n(c),i=n(74902),s=n(15671),d=n(43144),u=n(60136),v=n(33643),f=n(71002),p=n(67294),m=n(96774),h=n.n(m),Z=n(50344),y=n(62874),g=n(97685),C=p.forwardRef((function(e,t){var n,a=e.prefixCls,o=e.forceRender,c=e.className,i=e.style,s=e.children,d=e.isActive,u=e.role,v=p.useState(d||o),f=(0,g.Z)(v,2),m=f[0],h=f[1];return p.useEffect((function(){(o||d)&&h(!0)}),[o,d]),m?p.createElement("div",{ref:t,className:l()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),d),(0,r.Z)(n,"".concat(a,"-content-inactive"),!d),n),c),style:i,role:u},p.createElement("div",{className:"".concat(a,"-content-box")},s)):null}));C.displayName="PanelContent";var w=C,k=function(e){(0,u.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var a=arguments.length,r=new Array(a),o=0;o-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,o=r.prefixCls,c=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,d=r.collapsible,u=e.key||String(t),v=e.props,f=v.header,m=v.headerClass,h=v.destroyInactivePanel,Z=v.collapsible,y=null!==Z&&void 0!==Z?Z:d,g={key:u,panelKey:u,header:f,headerClass:m,isActive:l?n[0]===u:n.indexOf(u)>-1,prefixCls:o,destroyInactivePanel:null!==h&&void 0!==h?h:i,openMotion:c,accordion:l,children:e.props.children,onItemClick:"disabled"===y?null:a.onClickItem,expandIcon:s,collapsible:y};return"string"===typeof e.type?e:(Object.keys(g).forEach((function(e){"undefined"===typeof g[e]&&delete g[e]})),p.cloneElement(e,g))},a.getItems=function(){var e=a.props.children;return(0,Z.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var r=e.activeKey,o=e.defaultActiveKey;return"activeKey"in e&&(o=r),a.state={activeKey:x(o)},a}return(0,d.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!h()(this.props,e)||!h()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,o=t.style,c=t.accordion,i=l()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return p.createElement("div",{className:i,style:o,role:c?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=x(e.activeKey)),t}}]),n}(p.Component);b.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},b.Panel=z;var N=b,E=(b.Panel,n(98423)),I=n(53124),M=n(33603),P=n(96159),A=function(e){var t,n=p.useContext(I.E_),c=n.getPrefixCls,i=n.direction,s=e.prefixCls,d=e.className,u=void 0===d?"":d,v=e.bordered,f=void 0===v||v,m=e.ghost,h=e.expandIconPosition,y=void 0===h?"start":h,g=c("collapse",s),C=p.useMemo((function(){return"left"===y?"start":"right"===y?"end":y}),[y]),w=l()("".concat(g,"-icon-position-").concat(C),(t={},(0,r.Z)(t,"".concat(g,"-borderless"),!f),(0,r.Z)(t,"".concat(g,"-rtl"),"rtl"===i),(0,r.Z)(t,"".concat(g,"-ghost"),!!m),t),u),k=(0,a.Z)((0,a.Z)({},M.ZP),{motionAppear:!1,leavedClassName:"".concat(g,"-content-hidden")});return p.createElement(N,(0,a.Z)({openMotion:k},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):p.createElement(o.Z,{rotate:t.isActive?90:void 0});return(0,P.Tm)(a,(function(){return{className:l()(a.props.className,"".concat(g,"-arrow"))}}))},prefixCls:g,className:w}),function(){var t=e.children;return(0,Z.Z)(t).map((function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),o=e.props,c=o.disabled,l=o.collapsible,i=(0,a.Z)((0,a.Z)({},(0,E.Z)(e.props,["disabled"])),{key:r,collapsible:null!==l&&void 0!==l?l:c?"disabled":void 0});return(0,P.Tm)(e,i)}return e}))}())};A.Panel=function(e){var t=p.useContext(I.E_).getPrefixCls,n=e.prefixCls,o=e.className,c=void 0===o?"":o,i=e.showArrow,s=void 0===i||i,d=t("collapse",n),u=l()((0,r.Z)({},"".concat(d,"-no-arrow"),!s),c);return p.createElement(N.Panel,(0,a.Z)({},e,{prefixCls:d,className:u}))};var H=A},75401:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(24262),r=n(19013),o=n(13882);function c(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}var l=864e5;function i(e,t){(0,o.Z)(2,arguments);var n=c(e),r=c(t),i=n.getTime()-(0,a.Z)(n),s=r.getTime()-(0,a.Z)(r);return Math.round((i-s)/l)}},19642:function(e,t,n){n.d(t,{Z:function(){return v}});var a=n(84314),r=n(75401),o=n(58091),c=n(86559),l=n(92234),i=n(19013),s=n(24262),d=n(13882),u=n(83946);function v(e,t,n){var v,f,p,m,h,Z,y,g,C,w;(0,d.Z)(2,arguments);var k=(0,i.Z)(e),z=(0,i.Z)(t),x=(0,a.j)(),b=null!==(v=null!==(f=null===n||void 0===n?void 0:n.locale)&&void 0!==f?f:x.locale)&&void 0!==v?v:c.Z,N=(0,u.Z)(null!==(p=null!==(m=null!==(h=null!==(Z=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==Z?Z:null===n||void 0===n||null===(y=n.locale)||void 0===y||null===(g=y.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==h?h:x.weekStartsOn)&&void 0!==m?m:null===(C=x.locale)||void 0===C||null===(w=C.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==p?p:0);if(!b.localize)throw new RangeError("locale must contain localize property");if(!b.formatLong)throw new RangeError("locale must contain formatLong property");if(!b.formatRelative)throw new RangeError("locale must contain formatRelative property");var E,I=(0,r.Z)(k,z);if(isNaN(I))throw new RangeError("Invalid time value");E=I<-6?"other":I<-1?"lastWeek":I<0?"yesterday":I<1?"today":I<2?"tomorrow":I<7?"nextWeek":"other";var M=(0,l.Z)(k,(0,s.Z)(k)),P=(0,l.Z)(z,(0,s.Z)(z)),A=b.formatRelative(E,M,P,{locale:b,weekStartsOn:N});return(0,o.Z)(k,A,{locale:b,weekStartsOn:N})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3016-4f8191e21aac2f28.js b/static/web/_next/static/chunks/3016-4f8191e21aac2f28.js deleted file mode 100644 index 45a185f3d..000000000 --- a/static/web/_next/static/chunks/3016-4f8191e21aac2f28.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3016],{66567:function(e,t,a){a.d(t,{Z:function(){return l}});var n=a(1413),r=a(67294),c={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z",fill:e}},{tag:"path",attrs:{d:"M668 345.9V136h-96v211.4l49.5-35.4z",fill:t}},{tag:"path",attrs:{d:"M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z",fill:t}}]}},name:"book",theme:"twotone"},o=a(42922),i=function(e,t){return r.createElement(o.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:c}))};i.displayName="BookTwoTone";var l=r.forwardRef(i)},24019:function(e,t,a){a.d(t,{Z:function(){return l}});var n=a(1413),r=a(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},o=a(42922),i=function(e,t){return r.createElement(o.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:c}))};i.displayName="ClockCircleOutlined";var l=r.forwardRef(i)},78346:function(e,t,a){a.d(t,{Z:function(){return l}});var n=a(1413),r=a(67294),c={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}},{tag:"path",attrs:{d:"M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z",fill:e}},{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"message",theme:"twotone"},o=a(42922),i=function(e,t){return r.createElement(o.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:c}))};i.displayName="MessageTwoTone";var l=r.forwardRef(i)},63179:function(e,t,a){a.d(t,{Z:function(){return l}});var n=a(1413),r=a(67294),c={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z",fill:t}},{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z",fill:e}}]}},name:"play-square",theme:"twotone"},o=a(42922),i=function(e,t){return r.createElement(o.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:c}))};i.displayName="PlaySquareTwoTone";var l=r.forwardRef(i)},27482:function(e,t,a){a.d(t,{Z:function(){return l}});var n=a(1413),r=a(67294),c={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"profile",theme:"twotone"},o=a(42922),i=function(e,t){return r.createElement(o.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:c}))};i.displayName="ProfileTwoTone";var l=r.forwardRef(i)},54907:function(e,t,a){a.d(t,{Z:function(){return R}});var n=a(87462),r=a(4942),c=a(67294),o=a(74902),i=a(15671),l=a(43144),s=a(60136),d=a(33643),v=a(71002),u=a(94184),f=a.n(u),p=a(96774),h=a.n(p),m=a(50344),Z=a(88320),y=a(97685),g=c.forwardRef((function(e,t){var a,n=e.prefixCls,o=e.forceRender,i=e.className,l=e.style,s=e.children,d=e.isActive,v=e.role,u=c.useState(d||o),p=(0,y.Z)(u,2),h=p[0],m=p[1];return c.useEffect((function(){(o||d)&&m(!0)}),[o,d]),h?c.createElement("div",{ref:t,className:f()("".concat(n,"-content"),(a={},(0,r.Z)(a,"".concat(n,"-content-active"),d),(0,r.Z)(a,"".concat(n,"-content-inactive"),!d),a),i),style:l,role:v},c.createElement("div",{className:"".concat(n,"-content-box")},s)):null}));g.displayName="PanelContent";var C=g,w=function(e){(0,s.Z)(a,e);var t=(0,d.Z)(a);function a(){var e;(0,i.Z)(this,a);for(var n=arguments.length,r=new Array(n),c=0;c-1?t.splice(a,1):t.push(e)}n.setActiveKey(t)},n.getNewChild=function(e,t){if(!e)return null;var a=n.state.activeKey,r=n.props,o=r.prefixCls,i=r.openMotion,l=r.accordion,s=r.destroyInactivePanel,d=r.expandIcon,v=r.collapsible,u=e.key||String(t),f=e.props,p=f.header,h=f.headerClass,m=f.destroyInactivePanel,Z=f.collapsible,y=null!==Z&&void 0!==Z?Z:v,g={key:u,panelKey:u,header:p,headerClass:h,isActive:l?a[0]===u:a.indexOf(u)>-1,prefixCls:o,destroyInactivePanel:null!==m&&void 0!==m?m:s,openMotion:i,accordion:l,children:e.props.children,onItemClick:"disabled"===y?null:n.onClickItem,expandIcon:d,collapsible:y};return"string"===typeof e.type?e:c.cloneElement(e,g)},n.getItems=function(){var e=n.props.children;return(0,m.Z)(e).map(n.getNewChild)},n.setActiveKey=function(e){"activeKey"in n.props||n.setState({activeKey:e}),n.props.onChange(n.props.accordion?e[0]:e)};var r=e.activeKey,l=e.defaultActiveKey;return"activeKey"in e&&(l=r),n.state={activeKey:k(l)},n}return(0,l.Z)(a,[{key:"shouldComponentUpdate",value:function(e,t){return!h()(this.props,e)||!h()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,a=t.prefixCls,n=t.className,o=t.style,i=t.accordion,l=f()((e={},(0,r.Z)(e,a,!0),(0,r.Z)(e,n,!!n),e));return c.createElement("div",{className:l,style:o,role:i?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=k(e.activeKey)),t}}]),a}(c.Component);x.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},x.Panel=z;var b=x,N=(x.Panel,a(18073)),E=a(37419),I=a(10366),M=a(59844),P=function(e){var t=c.useContext(M.E_).getPrefixCls,a=e.prefixCls,o=e.className,i=void 0===o?"":o,l=e.showArrow,s=void 0===l||l,d=t("collapse",a),v=f()((0,r.Z)({},"".concat(d,"-no-arrow"),!s),i);return c.createElement(b.Panel,(0,n.Z)({},e,{prefixCls:d,className:v}))},A=a(33603),H=a(96159),K=function(e){var t,a=c.useContext(M.E_),o=a.getPrefixCls,i=a.direction,l=e.prefixCls,s=e.className,d=void 0===s?"":s,v=e.bordered,u=void 0===v||v,p=e.ghost,h=o("collapse",l),m=function(){var t=e.expandIconPosition;return void 0!==t?t:"rtl"===i?"right":"left"}(),Z=f()((t={},(0,r.Z)(t,"".concat(h,"-borderless"),!u),(0,r.Z)(t,"".concat(h,"-icon-position-").concat(m),!0),(0,r.Z)(t,"".concat(h,"-rtl"),"rtl"===i),(0,r.Z)(t,"".concat(h,"-ghost"),!!p),t),d),y=(0,n.Z)((0,n.Z)({},A.ZP),{motionAppear:!1,leavedClassName:"".concat(h,"-content-hidden")});return c.createElement(b,(0,n.Z)({openMotion:y},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.expandIcon,n=a?a(t):c.createElement(N.Z,{rotate:t.isActive?90:void 0});return c.createElement("div",null,(0,H.Tm)(n,(function(){return{className:f()(n.props.className,"".concat(h,"-arrow"))}})))},prefixCls:h,className:Z}),function(){var t=e.children;return(0,E.Z)(t).map((function(e,t){var a;if(null===(a=e.props)||void 0===a?void 0:a.disabled){var r=e.key||String(t),c=e.props,o=c.disabled,i=c.collapsible,l=(0,n.Z)((0,n.Z)({},(0,I.Z)(e.props,["disabled"])),{key:r,collapsible:null!==i&&void 0!==i?i:o?"disabled":void 0});return(0,H.Tm)(e,l)}return e}))}())};K.Panel=P;var R=K},75401:function(e,t,a){a.d(t,{Z:function(){return l}});var n=a(24262),r=a(19013),c=a(13882);function o(e){(0,c.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}var i=864e5;function l(e,t){(0,c.Z)(2,arguments);var a=o(e),r=o(t),l=a.getTime()-(0,n.Z)(a),s=r.getTime()-(0,n.Z)(r);return Math.round((l-s)/i)}},19642:function(e,t,a){a.d(t,{Z:function(){return d}});var n=a(75401),r=a(98147),c=a(35077),o=a(92234),i=a(19013),l=a(24262),s=a(13882);function d(e,t,a){(0,s.Z)(2,arguments);var d=(0,i.Z)(e),v=(0,i.Z)(t),u=a||{},f=u.locale,p=void 0===f?c.Z:f,h=u.weekStartsOn,m=void 0===h?0:h;if(!p.localize)throw new RangeError("locale must contain localize property");if(!p.formatLong)throw new RangeError("locale must contain formatLong property");if(!p.formatRelative)throw new RangeError("locale must contain formatRelative property");var Z,y=(0,n.Z)(d,v);if(isNaN(y))throw new RangeError("Invalid time value");Z=y<-6?"other":y<-1?"lastWeek":y<0?"yesterday":y<1?"today":y<2?"tomorrow":y<7?"nextWeek":"other";var g=(0,o.Z)(d,(0,l.Z)(d)),C=(0,o.Z)(v,(0,l.Z)(v)),w=p.formatRelative(Z,g,C,{locale:p,weekStartsOn:m});return(0,r.Z)(d,w,{locale:p,weekStartsOn:m})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3079-b927be19d77a268e.js b/static/web/_next/static/chunks/3079-b927be19d77a268e.js new file mode 100644 index 000000000..8af46fe52 --- /dev/null +++ b/static/web/_next/static/chunks/3079-b927be19d77a268e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3079],{25413:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"}},6594:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"}},77307:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"}},54067:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(n=r(45799))&&n.__esModule?n:{default:n};t.default=o,e.exports=o},68229:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(n=r(7500))&&n.__esModule?n:{default:n};t.default=o,e.exports=o},67638:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(n=r(86994))&&n.__esModule?n:{default:n};t.default=o,e.exports=o},71578:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.8-240-277.2V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.8C336.3 170.2 232 286.9 232 428v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48z"}}]},name:"bell",theme:"filled"},a=r(42135),s=function(e,t){return o.createElement(a.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};s.displayName="BellFilled";var c=o.forwardRef(s)},36531:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},a=r(42135),s=function(e,t){return o.createElement(a.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};s.displayName="EditFilled";var c=o.forwardRef(s)},31326:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M396 512a112 112 0 10224 0 112 112 0 10-224 0zm546.2-25.8C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM508 688c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z"}}]},name:"eye",theme:"filled"},a=r(42135),s=function(e,t){return o.createElement(a.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};s.displayName="EyeFilled";var c=o.forwardRef(s)},34447:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},a=r(42135),s=function(e,t){return o.createElement(a.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};s.displayName="HeartFilled";var c=o.forwardRef(s)},27496:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=r(42135),s=function(e,t){return o.createElement(a.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};s.displayName="SendOutlined";var c=o.forwardRef(s)},64942:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z"}}]},name:"small-dash",theme:"outlined"},a=r(42135),s=function(e,t){return o.createElement(a.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};s.displayName="SmallDashOutlined";var c=o.forwardRef(s)},93045:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},a=r(42135),s=function(e,t){return o.createElement(a.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};s.displayName="SmileOutlined";var c=o.forwardRef(s)},66017:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},a=r(42135),s=function(e,t){return o.createElement(a.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};s.displayName="VerticalAlignBottomOutlined";var c=o.forwardRef(s)},45799:function(e,t,r){"use strict";var n=r(75263),o=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(42122)),a=n(r(67294)),s=o(r(25413)),c=o(r(92074)),l=function(e,t){return a.createElement(c.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))};l.displayName="BarsOutlined";var u=a.forwardRef(l);t.default=u},7500:function(e,t,r){"use strict";var n=r(75263),o=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(42122)),a=n(r(67294)),s=o(r(6594)),c=o(r(92074)),l=function(e,t){return a.createElement(c.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))};l.displayName="LeftOutlined";var u=a.forwardRef(l);t.default=u},86994:function(e,t,r){"use strict";var n=r(75263),o=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(42122)),a=n(r(67294)),s=o(r(77307)),c=o(r(92074)),l=function(e,t){return a.createElement(c.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))};l.displayName="RightOutlined";var u=a.forwardRef(l);t.default=u},24093:function(e,t,r){"use strict";r.d(t,{C:function(){return _}});var n=r(87462),o=r(4942),i=r(71002),a=r(97685),s=r(94184),c=r.n(s),l=r(48555),u=r(42550),d=r(67294),h=r(53124),f=r(25378),p=r(24308),m=d.createContext("default"),g=function(e){var t=e.children,r=e.size;return d.createElement(m.Consumer,null,(function(e){return d.createElement(m.Provider,{value:r||e},t)}))},v=m,y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o0){var O=g[0]/2;R.paddingLeft=O,R.paddingRight=O}if(g&&g[1]>0&&!y){var I=g[1]/2;R.paddingTop=I,R.paddingBottom=I}return _&&(R.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(_),!1!==v||R.minWidth||(R.minWidth=0)),c.createElement("div",(0,o.Z)({},L,{style:(0,o.Z)((0,o.Z)({},R),D),className:A,ref:t}),j)}))},99134:function(e,t,r){"use strict";var n=(0,r(67294).createContext)({});t.Z=n},79216:function(e,t,r){"use strict";r.d(t,{Z:function(){return se}});var n=r(87462),o=r(71002),i=r(99611),a=r(1413),s=r(4942),c=r(97685),l=r(91),u=r(67294),d=r(94184),h=r.n(d),f=r(27678),p=r(21770),m=r(95173),g=r(64019),v=r(15105),y=r(80334),b=r(75164);function w(e,t,r,n){var o=t+r,i=(r-n)/2;if(r>n){if(t>0)return(0,s.Z)({},e,i);if(t<0&&on)return(0,s.Z)({},e,t<0?i:-i);return{}}var C=["visible","onVisibleChange","getContainer","current","countRender"],x=u.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}},rootClassName:""}),E=x.Provider,k=function(e){var t=e.previewPrefixCls,r=void 0===t?"rc-image-preview":t,i=e.children,a=e.icons,s=void 0===a?{}:a,d=e.preview,h="object"===(0,o.Z)(d)?d:{},f=h.visible,m=void 0===f?void 0:f,g=h.onVisibleChange,v=void 0===g?void 0:g,y=h.getContainer,b=void 0===y?void 0:y,w=h.current,x=void 0===w?0:w,k=h.countRender,S=void 0===k?void 0:k,j=(0,l.Z)(h,C),_=(0,u.useState)(new Map),D=(0,c.Z)(_,2),L=D[0],T=D[1],P=(0,u.useState)(),R=(0,c.Z)(P,2),O=R[0],I=R[1],B=(0,p.Z)(!!m,{value:m,onChange:v}),q=(0,c.Z)(B,2),M=q[0],F=q[1],z=(0,u.useState)(null),N=(0,c.Z)(z,2),H=N[0],V=N[1],U=void 0!==m,Z=Array.from(L.keys())[x],W=new Map(Array.from(L).filter((function(e){return!!(0,c.Z)(e,2)[1].canPreview})).map((function(e){var t=(0,c.Z)(e,2);return[t[0],t[1].url]})));return u.useEffect((function(){I(Z)}),[Z]),u.useEffect((function(){!M&&U&&I(Z)}),[Z,U,M]),u.createElement(E,{value:{isPreviewGroup:!0,previewUrls:W,setPreviewUrls:T,current:O,setCurrent:I,setShowPreview:F,setMousePosition:V,registerImage:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=function(){T((function(t){var r=new Map(t);return r.delete(e)?r:t}))};return T((function(n){return new Map(n).set(e,{url:t,canPreview:r})})),n}}},i,u.createElement(A,(0,n.Z)({"aria-hidden":!M,visible:M,prefixCls:r,onClose:function(e){e.stopPropagation(),F(!1),V(null)},mousePosition:H,src:W.get(O),icons:s,getContainer:b,countRender:S},j)))},S=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","countRender"],j=u.useState,_=u.useEffect,D=u.useCallback,L=u.useRef,T=u.useContext,P={x:0,y:0},A=function(e){var t,r=e.prefixCls,o=e.src,i=e.alt,d=e.onClose,p=(e.afterClose,e.visible),C=e.icons,E=void 0===C?{}:C,k=e.rootClassName,A=e.countRender,R=(0,l.Z)(e,S),O=E.rotateLeft,I=E.rotateRight,B=E.zoomIn,q=E.zoomOut,M=E.close,F=E.left,z=E.right,N=j(1),H=(0,c.Z)(N,2),V=H[0],U=H[1],Z=j(0),W=(0,c.Z)(Z,2),$=W[0],G=W[1],Y=function(e){var t=u.useRef(null),r=u.useState(e),n=(0,c.Z)(r,2),o=n[0],i=n[1],s=u.useRef([]);return u.useEffect((function(){return function(){return t.current&&b.Z.cancel(t.current)}}),[]),[o,function(e){null===t.current&&(s.current=[],t.current=(0,b.Z)((function(){i((function(e){var r=e;return s.current.forEach((function(e){r=(0,a.Z)((0,a.Z)({},r),e)})),t.current=null,r}))}))),s.current.push(e)}]}(P),K=(0,c.Z)(Y,2),J=K[0],X=K[1],Q=L(),ee=L({originX:0,originY:0,deltaX:0,deltaY:0}),te=j(!1),re=(0,c.Z)(te,2),ne=re[0],oe=re[1],ie=T(x),ae=ie.previewUrls,se=ie.current,ce=ie.isPreviewGroup,le=ie.setCurrent,ue=ae.size,de=Array.from(ae.keys()),he=de.indexOf(se),fe=ce?ae.get(se):o,pe=ce&&ue>1,me=j({wheelDirection:0}),ge=(0,c.Z)(me,2),ve=ge[0],ye=ge[1],be=function(){U((function(e){return e+1})),X(P)},we=function(){V>1&&U((function(e){return e-1})),X(P)},Ce=h()((0,s.Z)({},"".concat(r,"-moving"),ne)),xe="".concat(r,"-operations-operation"),Ee="".concat(r,"-operations-icon"),ke=[{icon:M,onClick:d,type:"close"},{icon:B,onClick:be,type:"zoomIn"},{icon:q,onClick:we,type:"zoomOut",disabled:1===V},{icon:I,onClick:function(){G((function(e){return e+90}))},type:"rotateRight"},{icon:O,onClick:function(){G((function(e){return e-90}))},type:"rotateLeft"}],Se=function(){if(p&&ne){var e=Q.current.offsetWidth*V,t=Q.current.offsetHeight*V,r=Q.current.getBoundingClientRect(),n=r.left,o=r.top,i=$%180!==0;oe(!1);var s=function(e,t,r,n){var o=(0,f.g1)(),i=o.width,s=o.height,c=null;return e<=i&&t<=s?c={x:0,y:0}:(e>i||t>s)&&(c=(0,a.Z)((0,a.Z)({},w("x",r,e,i)),w("y",n,t,s))),c}(i?t:e,i?e:t,n,o);s&&X((0,a.Z)({},s))}},je=function(e){p&&ne&&X({x:e.pageX-ee.current.deltaX,y:e.pageY-ee.current.deltaY})},_e=function(e){if(p){e.preventDefault();var t=e.deltaY;ye({wheelDirection:t})}},De=D((function(e){p&&pe&&(e.preventDefault(),e.keyCode===v.Z.LEFT?he>0&&le(de[he-1]):e.keyCode===v.Z.RIGHT&&he0?we():e<0&&be()}),[ve]),_((function(){var e,t,r=(0,g.Z)(window,"mouseup",Se,!1),n=(0,g.Z)(window,"mousemove",je,!1),o=(0,g.Z)(window,"wheel",_e,{passive:!1}),i=(0,g.Z)(window,"keydown",De,!1);try{window.top!==window.self&&(e=(0,g.Z)(window.top,"mouseup",Se,!1),t=(0,g.Z)(window.top,"mousemove",je,!1))}catch(a){(0,y.Kp)(!1,"[rc-image] ".concat(a))}return function(){r.remove(),n.remove(),o.remove(),i.remove(),e&&e.remove(),t&&t.remove()}}),[p,ne,De]),u.createElement(m.Z,(0,n.Z)({transitionName:"zoom",maskTransitionName:"fade",closable:!1,keyboard:!0,prefixCls:r,onClose:d,afterClose:function(){U(1),G(0),X(P)},visible:p,wrapClassName:Ce,rootClassName:k},R),u.createElement("ul",{className:"".concat(r,"-operations")},pe&&u.createElement("li",{className:"".concat(r,"-operations-progress")},null!==(t=null===A||void 0===A?void 0:A(he+1,ue))&&void 0!==t?t:"".concat(he+1," / ").concat(ue)),ke.map((function(e){var t=e.icon,n=e.onClick,o=e.type,i=e.disabled;return u.createElement("li",{className:h()(xe,(0,s.Z)({},"".concat(r,"-operations-operation-disabled"),!!i)),onClick:n,key:o},u.isValidElement(t)?u.cloneElement(t,{className:Ee}):t)}))),u.createElement("div",{className:"".concat(r,"-img-wrapper"),style:{transform:"translate3d(".concat(J.x,"px, ").concat(J.y,"px, 0)")}},u.createElement("img",{width:e.width,height:e.height,onMouseDown:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),ee.current.deltaX=e.pageX-J.x,ee.current.deltaY=e.pageY-J.y,ee.current.originX=J.x,ee.current.originY=J.y,oe(!0))},onDoubleClick:function(){p&&(1!==V&&U(1),J.x===P.x&&J.y===P.y||X(P))},ref:Q,className:"".concat(r,"-img"),src:fe,alt:i,style:{transform:"scale3d(".concat(V,", ").concat(V,", 1) rotate(").concat($,"deg)")}})),pe&&u.createElement("div",{className:h()("".concat(r,"-switch-left"),(0,s.Z)({},"".concat(r,"-switch-left-disabled"),0===he)),onClick:function(e){e.preventDefault(),e.stopPropagation(),he>0&&le(de[he-1])}},F),pe&&u.createElement("div",{className:h()("".concat(r,"-switch-right"),(0,s.Z)({},"".concat(r,"-switch-right-disabled"),he===ue-1)),onClick:function(e){e.preventDefault(),e.stopPropagation(),he0?O[0]/-2:void 0,M=null!=O[1]&&O[1]>0?O[1]/-2:void 0;if(q&&(B.marginLeft=q,B.marginRight=q),P){var F=(0,a.Z)(O,2);B.rowGap=F[1]}else M&&(B.marginTop=M,B.marginBottom=M);var z=(0,a.Z)(O,2),N=z[0],H=z[1],V=l.useMemo((function(){return{gutter:[N,H],wrap:x,supportFlexGap:P}}),[N,H,x,P]);return l.createElement(p.Z.Provider,{value:V},l.createElement("div",(0,n.Z)({},E,{className:I,style:(0,n.Z)((0,n.Z)({},B),y),ref:t}),b))}))},20550:function(e,t,r){"use strict";r.d(t,{Z:function(){return C}});var n=r(4942),o=r(87462),i=r(97685),a=r(97937),s=r(94184),c=r.n(s),l=r(98423),u=r(67294),d=r(53124),h=r(98787),f=r(68349),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}}();var C=f.forwardRef((function(e,t){var r=e.prefixCls,n=e.className,o=e.trigger,C=e.children,x=e.defaultCollapsed,E=void 0!==x&&x,k=e.theme,S=void 0===k?"dark":k,j=e.style,_=void 0===j?{}:j,D=e.collapsible,L=void 0!==D&&D,T=e.reverseArrow,P=void 0!==T&&T,A=e.width,R=void 0===A?200:A,O=e.collapsedWidth,I=void 0===O?80:O,B=e.zeroWidthTriggerStyle,q=e.breakpoint,M=e.onCollapse,F=e.onBreakpoint,z=v(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),N=(0,f.useContext)(g.LayoutContext).siderHook,H=(0,f.useState)("collapsed"in z?z.collapsed:E),V=(0,s.default)(H,2),U=V[0],Z=V[1],W=(0,f.useState)(!1),$=(0,s.default)(W,2),G=$[0],Y=$[1];(0,f.useEffect)((function(){"collapsed"in z&&Z(z.collapsed)}),[z.collapsed]);var K=function(e,t){"collapsed"in z||Z(e),null===M||void 0===M||M(e,t)},J=(0,f.useRef)();J.current=function(e){Y(e.matches),null===F||void 0===F||F(e.matches),U!==e.matches&&K(e.matches,"responsive")},(0,f.useEffect)((function(){function e(e){return J.current(e)}var t;if("undefined"!==typeof window){var r=window.matchMedia;if(r&&q&&q in y){t=r("(max-width: ".concat(y[q],")"));try{t.addEventListener("change",e)}catch(n){t.addListener(e)}e(t)}}return function(){try{null===t||void 0===t||t.removeEventListener("change",e)}catch(n){null===t||void 0===t||t.removeListener(e)}}}),[q]),(0,f.useEffect)((function(){var e=w("ant-sider-");return N.addSider(e),function(){return N.removeSider(e)}}),[]);var X=function(){K(!U,"clickTrigger")},Q=(0,f.useContext)(p.ConfigContext).getPrefixCls,ee=f.useMemo((function(){return{siderCollapsed:U}}),[U]);return f.createElement(b.Provider,{value:ee},function(){var e,s=Q("layout-sider",r),p=(0,h.default)(z,["collapsed"]),g=U?I:R,v=(0,m.default)(g)?"".concat(g,"px"):String(g),y=0===parseFloat(String(I||0))?f.createElement("span",{onClick:X,className:(0,d.default)("".concat(s,"-zero-width-trigger"),"".concat(s,"-zero-width-trigger-").concat(P?"right":"left")),style:B},o||f.createElement(c.default,null)):null,b={expanded:P?f.createElement(u.default,null):f.createElement(l.default,null),collapsed:P?f.createElement(l.default,null):f.createElement(u.default,null)}[U?"collapsed":"expanded"],w=null!==o?y||f.createElement("div",{className:"".concat(s,"-trigger"),onClick:X,style:{width:v}},o||b):null,x=(0,a.default)((0,a.default)({},_),{flex:"0 0 ".concat(v),maxWidth:v,minWidth:v,width:v}),E=(0,d.default)(s,"".concat(s,"-").concat(S),(e={},(0,i.default)(e,"".concat(s,"-collapsed"),!!U),(0,i.default)(e,"".concat(s,"-has-trigger"),L&&null!==o&&!y),(0,i.default)(e,"".concat(s,"-below"),!!G),(0,i.default)(e,"".concat(s,"-zero-width"),0===parseFloat(v)),e),n);return f.createElement("aside",(0,a.default)({className:E},p,{style:x,ref:t}),f.createElement("div",{className:"".concat(s,"-children")},C),L||G&&y?w:null)}())}));t.ZP=C},62704:function(e,t,r){"use strict";var n=r(75263).default,o=r(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutContext=t.Header=t.Footer=t.Content=void 0;var i=o(r(861)),a=o(r(38416)),s=o(r(27424)),c=o(r(10434)),l=o(r(94184)),u=n(r(67294)),d=r(31929),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o0),(0,a.default)(r,"".concat(v,"-rtl"),"rtl"===n),r),y),k=u.useMemo((function(){return{siderHook:{addSider:function(e){g((function(t){return[].concat((0,i.default)(t),[e])}))},removeSider:function(e){g((function(t){return t.filter((function(t){return t!==e}))}))}}}}),[]);return u.createElement(f.Provider,{value:k},u.createElement(C,(0,c.default)({ref:t,className:E},x),b))})),v=p({suffixCls:"layout",tagName:"section",displayName:"Layout"})(g),y=p({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(m);t.Header=y;var b=p({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(m);t.Footer=b;var w=p({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(m);t.Content=w;var C=v;t.default=C},6907:function(e){"use strict";e.exports=function(e){if(e=String(e||""),n.test(e))return"rtl";if(o.test(e))return"ltr";return"neutral"};var t="\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc",r="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",n=new RegExp("^[^"+r+"]*["+t+"]"),o=new RegExp("^[^"+t+"]*["+r+"]")},86492:function(e,t,r){var n;e=r.nmd(e),function(o){var i=t,a=(e&&e.exports,"object"==typeof r.g&&r.g);a.global!==a&&a.window;var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,u=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,d={"\xad":"shy","\u200c":"zwnj","\u200d":"zwj","\u200e":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200f":"rlm","\u200b":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20db":"tdot","\u20dc":"DotDot","\t":"Tab","\n":"NewLine","\u2008":"puncsp","\u205f":"MediumSpace","\u2009":"thinsp","\u200a":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xa0":"nbsp","\u205f\u200a":"ThickSpace","\u203e":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204f":"bsemi",":":"colon","\u2a74":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xb7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201a":"sbquo","\u2039":"lsaquo","\u203a":"rsaquo",'"':"quot","\u201c":"ldquo","\u201d":"rdquo","\u201e":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230a":"lfloor","\u230b":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298b":"lbrke","\u298c":"rbrke","\u298d":"lbrkslu","\u298e":"rbrksld","\u298f":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27e6":"lobrk","\u27e7":"robrk","\u27e8":"lang","\u27e9":"rang","\u27ea":"Lang","\u27eb":"Rang","\u27ec":"loang","\u27ed":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xb4":"acute","\u02dc":"tilde","^":"Hat","\xaf":"macr","\u02d8":"breve","\u02d9":"dot","\xa8":"die","\u02da":"ring","\u02dd":"dblac","\xb8":"cedil","\u02db":"ogon","\u02c6":"circ","\u02c7":"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","\u2117":"copysr","\u2118":"wp","\u211e":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219a":"nlarr","\u2192":"rarr","\u219b":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21ae":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219d":"rarrw","\u219d\u0338":"nrarrw","\u219e":"Larr","\u219f":"Uarr","\u21a0":"Rarr","\u21a1":"Darr","\u21a2":"larrtl","\u21a3":"rarrtl","\u21a4":"mapstoleft","\u21a5":"mapstoup","\u21a6":"map","\u21a7":"mapstodown","\u21a9":"larrhk","\u21aa":"rarrhk","\u21ab":"larrlp","\u21ac":"rarrlp","\u21ad":"harrw","\u21b0":"lsh","\u21b1":"rsh","\u21b2":"ldsh","\u21b3":"rdsh","\u21b5":"crarr","\u21b6":"cularr","\u21b7":"curarr","\u21ba":"olarr","\u21bb":"orarr","\u21bc":"lharu","\u21bd":"lhard","\u21be":"uharr","\u21bf":"uharl","\u21c0":"rharu","\u21c1":"rhard","\u21c2":"dharr","\u21c3":"dharl","\u21c4":"rlarr","\u21c5":"udarr","\u21c6":"lrarr","\u21c7":"llarr","\u21c8":"uuarr","\u21c9":"rrarr","\u21ca":"ddarr","\u21cb":"lrhar","\u21cc":"rlhar","\u21d0":"lArr","\u21cd":"nlArr","\u21d1":"uArr","\u21d2":"rArr","\u21cf":"nrArr","\u21d3":"dArr","\u21d4":"iff","\u21ce":"nhArr","\u21d5":"vArr","\u21d6":"nwArr","\u21d7":"neArr","\u21d8":"seArr","\u21d9":"swArr","\u21da":"lAarr","\u21db":"rAarr","\u21dd":"zigrarr","\u21e4":"larrb","\u21e5":"rarrb","\u21f5":"duarr","\u21fd":"loarr","\u21fe":"roarr","\u21ff":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220b":"ni","\u220c":"notni","\u03f6":"bepsi","\u220f":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","\u226e":"nlt","<\u20d2":"nvlt","=":"equals","\u2260":"ne","=\u20e5":"bne","\u2a75":"Equal",">":"gt","\u226f":"ngt",">\u20d2":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221a":"Sqrt","\u221d":"prop","\u221e":"infin","\u221f":"angrt","\u2220":"ang","\u2220\u20d2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\ufe00":"caps","\u222a":"cup","\u222a\ufe00":"cups","\u222b":"int","\u222c":"Int","\u222d":"tint","\u2a0c":"qint","\u222e":"oint","\u222f":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223a":"mDDot","\u223b":"homtht","\u223c":"sim","\u2241":"nsim","\u223c\u20d2":"nvsim","\u223d":"bsim","\u223d\u0331":"race","\u223e":"ac","\u223e\u0333":"acE","\u223f":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224a":"ape","\u224b":"apid","\u224b\u0338":"napid","\u224c":"bcong","\u224d":"CupCap","\u226d":"NotCupCap","\u224d\u20d2":"nvap","\u224e":"bump","\u224e\u0338":"nbump","\u224f":"bumpe","\u224f\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225a":"veeeq","\u225c":"trie","\u225f":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20e5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20d2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20d2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\ufe00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\ufe00":"gvnE","\u226a":"ll","\u226a\u0338":"nLtv","\u226a\u20d2":"nLt","\u226b":"gg","\u226b\u0338":"nGtv","\u226b\u20d2":"nGt","\u226c":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227a":"pr","\u2280":"npr","\u227b":"sc","\u2281":"nsc","\u227c":"prcue","\u22e0":"nprcue","\u227d":"sccue","\u22e1":"nsccue","\u227e":"prsim","\u227f":"scsim","\u227f\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20d2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20d2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228a\ufe00":"vsubne","\u228a":"subne","\u228b\ufe00":"vsupne","\u228b":"supne","\u228d":"cupdot","\u228e":"uplus","\u228f":"sqsub","\u228f\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22e2":"nsqsube","\u2292":"sqsupe","\u22e3":"nsqsupe","\u2293":"sqcap","\u2293\ufe00":"sqcaps","\u2294":"sqcup","\u2294\ufe00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229a":"ocir","\u229b":"oast","\u229d":"odash","\u229e":"plusb","\u229f":"minusb","\u22a0":"timesb","\u22a1":"sdotb","\u22a2":"vdash","\u22ac":"nvdash","\u22a3":"dashv","\u22a4":"top","\u22a5":"bot","\u22a7":"models","\u22a8":"vDash","\u22ad":"nvDash","\u22a9":"Vdash","\u22ae":"nVdash","\u22aa":"Vvdash","\u22ab":"VDash","\u22af":"nVDash","\u22b0":"prurel","\u22b2":"vltri","\u22ea":"nltri","\u22b3":"vrtri","\u22eb":"nrtri","\u22b4":"ltrie","\u22ec":"nltrie","\u22b4\u20d2":"nvltrie","\u22b5":"rtrie","\u22ed":"nrtrie","\u22b5\u20d2":"nvrtrie","\u22b6":"origof","\u22b7":"imof","\u22b8":"mumap","\u22b9":"hercon","\u22ba":"intcal","\u22bb":"veebar","\u22bd":"barvee","\u22be":"angrtvb","\u22bf":"lrtri","\u22c0":"Wedge","\u22c1":"Vee","\u22c2":"xcap","\u22c3":"xcup","\u22c4":"diam","\u22c5":"sdot","\u22c6":"Star","\u22c7":"divonx","\u22c8":"bowtie","\u22c9":"ltimes","\u22ca":"rtimes","\u22cb":"lthree","\u22cc":"rthree","\u22cd":"bsime","\u22ce":"cuvee","\u22cf":"cuwed","\u22d0":"Sub","\u22d1":"Sup","\u22d2":"Cap","\u22d3":"Cup","\u22d4":"fork","\u22d5":"epar","\u22d6":"ltdot","\u22d7":"gtdot","\u22d8":"Ll","\u22d8\u0338":"nLl","\u22d9":"Gg","\u22d9\u0338":"nGg","\u22da\ufe00":"lesg","\u22da":"leg","\u22db":"gel","\u22db\ufe00":"gesl","\u22de":"cuepr","\u22df":"cuesc","\u22e6":"lnsim","\u22e7":"gnsim","\u22e8":"prnsim","\u22e9":"scnsim","\u22ee":"vellip","\u22ef":"ctdot","\u22f0":"utdot","\u22f1":"dtdot","\u22f2":"disin","\u22f3":"isinsv","\u22f4":"isins","\u22f5":"isindot","\u22f5\u0338":"notindot","\u22f6":"notinvc","\u22f7":"notinvb","\u22f9":"isinE","\u22f9\u0338":"notinE","\u22fa":"nisd","\u22fb":"xnis","\u22fc":"nis","\u22fd":"notnivc","\u22fe":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230c":"drcrop","\u230d":"dlcrop","\u230e":"urcrop","\u230f":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231c":"ulcorn","\u231d":"urcorn","\u231e":"dlcorn","\u231f":"drcorn","\u2322":"frown","\u2323":"smile","\u232d":"cylcty","\u232e":"profalar","\u2336":"topbot","\u233d":"ovbar","\u233f":"solbar","\u237c":"angzarr","\u23b0":"lmoust","\u23b1":"rmoust","\u23b4":"tbrk","\u23b5":"bbrk","\u23b6":"bbrktbrk","\u23dc":"OverParenthesis","\u23dd":"UnderParenthesis","\u23de":"OverBrace","\u23df":"UnderBrace","\u23e2":"trpezium","\u23e7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250c":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251c":"boxvr","\u2524":"boxvl","\u252c":"boxhd","\u2534":"boxhu","\u253c":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255a":"boxUR","\u255b":"boxuL","\u255c":"boxUl","\u255d":"boxUL","\u255e":"boxvR","\u255f":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256a":"boxvH","\u256b":"boxVh","\u256c":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25a1":"squ","\u25aa":"squf","\u25ab":"EmptyVerySmallSquare","\u25ad":"rect","\u25ae":"marker","\u25b1":"fltns","\u25b3":"xutri","\u25b4":"utrif","\u25b5":"utri","\u25b8":"rtrif","\u25b9":"rtri","\u25bd":"xdtri","\u25be":"dtrif","\u25bf":"dtri","\u25c2":"ltrif","\u25c3":"ltri","\u25ca":"loz","\u25cb":"cir","\u25ec":"tridot","\u25ef":"xcirc","\u25f8":"ultri","\u25f9":"urtri","\u25fa":"lltri","\u25fb":"EmptySmallSquare","\u25fc":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260e":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266a":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27c8":"bsolhsub","\u27c9":"suphsol","\u27f5":"xlarr","\u27f6":"xrarr","\u27f7":"xharr","\u27f8":"xlArr","\u27f9":"xrArr","\u27fa":"xhArr","\u27fc":"xmap","\u27ff":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290c":"lbarr","\u290d":"rbarr","\u290e":"lBarr","\u290f":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291a":"ratail","\u291b":"lAtail","\u291c":"rAtail","\u291d":"larrfs","\u291e":"rarrfs","\u291f":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292a":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293c":"curarrm","\u293d":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294a":"lurdshar","\u294b":"ldrushar","\u294e":"LeftRightVector","\u294f":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295a":"LeftTeeVector","\u295b":"RightTeeVector","\u295c":"RightUpTeeVector","\u295d":"RightDownTeeVector","\u295e":"DownLeftTeeVector","\u295f":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296a":"lharul","\u296b":"llhard","\u296c":"rharul","\u296d":"lrhard","\u296e":"udhar","\u296f":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297b":"suplarr","\u297c":"lfisht","\u297d":"rfisht","\u297e":"ufisht","\u297f":"dfisht","\u299a":"vzigzag","\u299c":"vangrt","\u299d":"angrtvbd","\u29a4":"ange","\u29a5":"range","\u29a6":"dwangle","\u29a7":"uwangle","\u29a8":"angmsdaa","\u29a9":"angmsdab","\u29aa":"angmsdac","\u29ab":"angmsdad","\u29ac":"angmsdae","\u29ad":"angmsdaf","\u29ae":"angmsdag","\u29af":"angmsdah","\u29b0":"bemptyv","\u29b1":"demptyv","\u29b2":"cemptyv","\u29b3":"raemptyv","\u29b4":"laemptyv","\u29b5":"ohbar","\u29b6":"omid","\u29b7":"opar","\u29b9":"operp","\u29bb":"olcross","\u29bc":"odsold","\u29be":"olcir","\u29bf":"ofcir","\u29c0":"olt","\u29c1":"ogt","\u29c2":"cirscir","\u29c3":"cirE","\u29c4":"solb","\u29c5":"bsolb","\u29c9":"boxbox","\u29cd":"trisb","\u29ce":"rtriltri","\u29cf":"LeftTriangleBar","\u29cf\u0338":"NotLeftTriangleBar","\u29d0":"RightTriangleBar","\u29d0\u0338":"NotRightTriangleBar","\u29dc":"iinfin","\u29dd":"infintie","\u29de":"nvinfin","\u29e3":"eparsl","\u29e4":"smeparsl","\u29e5":"eqvparsl","\u29eb":"lozf","\u29f4":"RuleDelayed","\u29f6":"dsol","\u2a00":"xodot","\u2a01":"xoplus","\u2a02":"xotime","\u2a04":"xuplus","\u2a06":"xsqcup","\u2a0d":"fpartint","\u2a10":"cirfnint","\u2a11":"awint","\u2a12":"rppolint","\u2a13":"scpolint","\u2a14":"npolint","\u2a15":"pointint","\u2a16":"quatint","\u2a17":"intlarhk","\u2a22":"pluscir","\u2a23":"plusacir","\u2a24":"simplus","\u2a25":"plusdu","\u2a26":"plussim","\u2a27":"plustwo","\u2a29":"mcomma","\u2a2a":"minusdu","\u2a2d":"loplus","\u2a2e":"roplus","\u2a2f":"Cross","\u2a30":"timesd","\u2a31":"timesbar","\u2a33":"smashp","\u2a34":"lotimes","\u2a35":"rotimes","\u2a36":"otimesas","\u2a37":"Otimes","\u2a38":"odiv","\u2a39":"triplus","\u2a3a":"triminus","\u2a3b":"tritime","\u2a3c":"iprod","\u2a3f":"amalg","\u2a40":"capdot","\u2a42":"ncup","\u2a43":"ncap","\u2a44":"capand","\u2a45":"cupor","\u2a46":"cupcap","\u2a47":"capcup","\u2a48":"cupbrcap","\u2a49":"capbrcup","\u2a4a":"cupcup","\u2a4b":"capcap","\u2a4c":"ccups","\u2a4d":"ccaps","\u2a50":"ccupssm","\u2a53":"And","\u2a54":"Or","\u2a55":"andand","\u2a56":"oror","\u2a57":"orslope","\u2a58":"andslope","\u2a5a":"andv","\u2a5b":"orv","\u2a5c":"andd","\u2a5d":"ord","\u2a5f":"wedbar","\u2a66":"sdote","\u2a6a":"simdot","\u2a6d":"congdot","\u2a6d\u0338":"ncongdot","\u2a6e":"easter","\u2a6f":"apacir","\u2a70":"apE","\u2a70\u0338":"napE","\u2a71":"eplus","\u2a72":"pluse","\u2a73":"Esim","\u2a77":"eDDot","\u2a78":"equivDD","\u2a79":"ltcir","\u2a7a":"gtcir","\u2a7b":"ltquest","\u2a7c":"gtquest","\u2a7d":"les","\u2a7d\u0338":"nles","\u2a7e":"ges","\u2a7e\u0338":"nges","\u2a7f":"lesdot","\u2a80":"gesdot","\u2a81":"lesdoto","\u2a82":"gesdoto","\u2a83":"lesdotor","\u2a84":"gesdotol","\u2a85":"lap","\u2a86":"gap","\u2a87":"lne","\u2a88":"gne","\u2a89":"lnap","\u2a8a":"gnap","\u2a8b":"lEg","\u2a8c":"gEl","\u2a8d":"lsime","\u2a8e":"gsime","\u2a8f":"lsimg","\u2a90":"gsiml","\u2a91":"lgE","\u2a92":"glE","\u2a93":"lesges","\u2a94":"gesles","\u2a95":"els","\u2a96":"egs","\u2a97":"elsdot","\u2a98":"egsdot","\u2a99":"el","\u2a9a":"eg","\u2a9d":"siml","\u2a9e":"simg","\u2a9f":"simlE","\u2aa0":"simgE","\u2aa1":"LessLess","\u2aa1\u0338":"NotNestedLessLess","\u2aa2":"GreaterGreater","\u2aa2\u0338":"NotNestedGreaterGreater","\u2aa4":"glj","\u2aa5":"gla","\u2aa6":"ltcc","\u2aa7":"gtcc","\u2aa8":"lescc","\u2aa9":"gescc","\u2aaa":"smt","\u2aab":"lat","\u2aac":"smte","\u2aac\ufe00":"smtes","\u2aad":"late","\u2aad\ufe00":"lates","\u2aae":"bumpE","\u2aaf":"pre","\u2aaf\u0338":"npre","\u2ab0":"sce","\u2ab0\u0338":"nsce","\u2ab3":"prE","\u2ab4":"scE","\u2ab5":"prnE","\u2ab6":"scnE","\u2ab7":"prap","\u2ab8":"scap","\u2ab9":"prnap","\u2aba":"scnap","\u2abb":"Pr","\u2abc":"Sc","\u2abd":"subdot","\u2abe":"supdot","\u2abf":"subplus","\u2ac0":"supplus","\u2ac1":"submult","\u2ac2":"supmult","\u2ac3":"subedot","\u2ac4":"supedot","\u2ac5":"subE","\u2ac5\u0338":"nsubE","\u2ac6":"supE","\u2ac6\u0338":"nsupE","\u2ac7":"subsim","\u2ac8":"supsim","\u2acb\ufe00":"vsubnE","\u2acb":"subnE","\u2acc\ufe00":"vsupnE","\u2acc":"supnE","\u2acf":"csub","\u2ad0":"csup","\u2ad1":"csube","\u2ad2":"csupe","\u2ad3":"subsup","\u2ad4":"supsub","\u2ad5":"subsub","\u2ad6":"supsup","\u2ad7":"suphsub","\u2ad8":"supdsub","\u2ad9":"forkv","\u2ada":"topfork","\u2adb":"mlcp","\u2ae4":"Dashv","\u2ae6":"Vdashl","\u2ae7":"Barv","\u2ae8":"vBar","\u2ae9":"vBarv","\u2aeb":"Vbar","\u2aec":"Not","\u2aed":"bNot","\u2aee":"rnmid","\u2aef":"cirmid","\u2af0":"midcir","\u2af1":"topcir","\u2af2":"nhpar","\u2af3":"parsim","\u2afd":"parsl","\u2afd\u20e5":"nparsl","\u266d":"flat","\u266e":"natur","\u266f":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","\u20ac":"euro","\xb9":"sup1","\xbd":"half","\u2153":"frac13","\xbc":"frac14","\u2155":"frac15","\u2159":"frac16","\u215b":"frac18","\xb2":"sup2","\u2154":"frac23","\u2156":"frac25","\xb3":"sup3","\xbe":"frac34","\u2157":"frac35","\u215c":"frac38","\u2158":"frac45","\u215a":"frac56","\u215d":"frac58","\u215e":"frac78","\ud835\udcb6":"ascr","\ud835\udd52":"aopf","\ud835\udd1e":"afr","\ud835\udd38":"Aopf","\ud835\udd04":"Afr","\ud835\udc9c":"Ascr","\xaa":"ordf","\xe1":"aacute","\xc1":"Aacute","\xe0":"agrave","\xc0":"Agrave","\u0103":"abreve","\u0102":"Abreve","\xe2":"acirc","\xc2":"Acirc","\xe5":"aring","\xc5":"angst","\xe4":"auml","\xc4":"Auml","\xe3":"atilde","\xc3":"Atilde","\u0105":"aogon","\u0104":"Aogon","\u0101":"amacr","\u0100":"Amacr","\xe6":"aelig","\xc6":"AElig","\ud835\udcb7":"bscr","\ud835\udd53":"bopf","\ud835\udd1f":"bfr","\ud835\udd39":"Bopf","\u212c":"Bscr","\ud835\udd05":"Bfr","\ud835\udd20":"cfr","\ud835\udcb8":"cscr","\ud835\udd54":"copf","\u212d":"Cfr","\ud835\udc9e":"Cscr","\u2102":"Copf","\u0107":"cacute","\u0106":"Cacute","\u0109":"ccirc","\u0108":"Ccirc","\u010d":"ccaron","\u010c":"Ccaron","\u010b":"cdot","\u010a":"Cdot","\xe7":"ccedil","\xc7":"Ccedil","\u2105":"incare","\ud835\udd21":"dfr","\u2146":"dd","\ud835\udd55":"dopf","\ud835\udcb9":"dscr","\ud835\udc9f":"Dscr","\ud835\udd07":"Dfr","\u2145":"DD","\ud835\udd3b":"Dopf","\u010f":"dcaron","\u010e":"Dcaron","\u0111":"dstrok","\u0110":"Dstrok","\xf0":"eth","\xd0":"ETH","\u2147":"ee","\u212f":"escr","\ud835\udd22":"efr","\ud835\udd56":"eopf","\u2130":"Escr","\ud835\udd08":"Efr","\ud835\udd3c":"Eopf","\xe9":"eacute","\xc9":"Eacute","\xe8":"egrave","\xc8":"Egrave","\xea":"ecirc","\xca":"Ecirc","\u011b":"ecaron","\u011a":"Ecaron","\xeb":"euml","\xcb":"Euml","\u0117":"edot","\u0116":"Edot","\u0119":"eogon","\u0118":"Eogon","\u0113":"emacr","\u0112":"Emacr","\ud835\udd23":"ffr","\ud835\udd57":"fopf","\ud835\udcbb":"fscr","\ud835\udd09":"Ffr","\ud835\udd3d":"Fopf","\u2131":"Fscr","\ufb00":"fflig","\ufb03":"ffilig","\ufb04":"ffllig","\ufb01":"filig",fj:"fjlig","\ufb02":"fllig","\u0192":"fnof","\u210a":"gscr","\ud835\udd58":"gopf","\ud835\udd24":"gfr","\ud835\udca2":"Gscr","\ud835\udd3e":"Gopf","\ud835\udd0a":"Gfr","\u01f5":"gacute","\u011f":"gbreve","\u011e":"Gbreve","\u011d":"gcirc","\u011c":"Gcirc","\u0121":"gdot","\u0120":"Gdot","\u0122":"Gcedil","\ud835\udd25":"hfr","\u210e":"planckh","\ud835\udcbd":"hscr","\ud835\udd59":"hopf","\u210b":"Hscr","\u210c":"Hfr","\u210d":"Hopf","\u0125":"hcirc","\u0124":"Hcirc","\u210f":"hbar","\u0127":"hstrok","\u0126":"Hstrok","\ud835\udd5a":"iopf","\ud835\udd26":"ifr","\ud835\udcbe":"iscr","\u2148":"ii","\ud835\udd40":"Iopf","\u2110":"Iscr","\u2111":"Im","\xed":"iacute","\xcd":"Iacute","\xec":"igrave","\xcc":"Igrave","\xee":"icirc","\xce":"Icirc","\xef":"iuml","\xcf":"Iuml","\u0129":"itilde","\u0128":"Itilde","\u0130":"Idot","\u012f":"iogon","\u012e":"Iogon","\u012b":"imacr","\u012a":"Imacr","\u0133":"ijlig","\u0132":"IJlig","\u0131":"imath","\ud835\udcbf":"jscr","\ud835\udd5b":"jopf","\ud835\udd27":"jfr","\ud835\udca5":"Jscr","\ud835\udd0d":"Jfr","\ud835\udd41":"Jopf","\u0135":"jcirc","\u0134":"Jcirc","\u0237":"jmath","\ud835\udd5c":"kopf","\ud835\udcc0":"kscr","\ud835\udd28":"kfr","\ud835\udca6":"Kscr","\ud835\udd42":"Kopf","\ud835\udd0e":"Kfr","\u0137":"kcedil","\u0136":"Kcedil","\ud835\udd29":"lfr","\ud835\udcc1":"lscr","\u2113":"ell","\ud835\udd5d":"lopf","\u2112":"Lscr","\ud835\udd0f":"Lfr","\ud835\udd43":"Lopf","\u013a":"lacute","\u0139":"Lacute","\u013e":"lcaron","\u013d":"Lcaron","\u013c":"lcedil","\u013b":"Lcedil","\u0142":"lstrok","\u0141":"Lstrok","\u0140":"lmidot","\u013f":"Lmidot","\ud835\udd2a":"mfr","\ud835\udd5e":"mopf","\ud835\udcc2":"mscr","\ud835\udd10":"Mfr","\ud835\udd44":"Mopf","\u2133":"Mscr","\ud835\udd2b":"nfr","\ud835\udd5f":"nopf","\ud835\udcc3":"nscr","\u2115":"Nopf","\ud835\udca9":"Nscr","\ud835\udd11":"Nfr","\u0144":"nacute","\u0143":"Nacute","\u0148":"ncaron","\u0147":"Ncaron","\xf1":"ntilde","\xd1":"Ntilde","\u0146":"ncedil","\u0145":"Ncedil","\u2116":"numero","\u014b":"eng","\u014a":"ENG","\ud835\udd60":"oopf","\ud835\udd2c":"ofr","\u2134":"oscr","\ud835\udcaa":"Oscr","\ud835\udd12":"Ofr","\ud835\udd46":"Oopf","\xba":"ordm","\xf3":"oacute","\xd3":"Oacute","\xf2":"ograve","\xd2":"Ograve","\xf4":"ocirc","\xd4":"Ocirc","\xf6":"ouml","\xd6":"Ouml","\u0151":"odblac","\u0150":"Odblac","\xf5":"otilde","\xd5":"Otilde","\xf8":"oslash","\xd8":"Oslash","\u014d":"omacr","\u014c":"Omacr","\u0153":"oelig","\u0152":"OElig","\ud835\udd2d":"pfr","\ud835\udcc5":"pscr","\ud835\udd61":"popf","\u2119":"Popf","\ud835\udd13":"Pfr","\ud835\udcab":"Pscr","\ud835\udd62":"qopf","\ud835\udd2e":"qfr","\ud835\udcc6":"qscr","\ud835\udcac":"Qscr","\ud835\udd14":"Qfr","\u211a":"Qopf","\u0138":"kgreen","\ud835\udd2f":"rfr","\ud835\udd63":"ropf","\ud835\udcc7":"rscr","\u211b":"Rscr","\u211c":"Re","\u211d":"Ropf","\u0155":"racute","\u0154":"Racute","\u0159":"rcaron","\u0158":"Rcaron","\u0157":"rcedil","\u0156":"Rcedil","\ud835\udd64":"sopf","\ud835\udcc8":"sscr","\ud835\udd30":"sfr","\ud835\udd4a":"Sopf","\ud835\udd16":"Sfr","\ud835\udcae":"Sscr","\u24c8":"oS","\u015b":"sacute","\u015a":"Sacute","\u015d":"scirc","\u015c":"Scirc","\u0161":"scaron","\u0160":"Scaron","\u015f":"scedil","\u015e":"Scedil","\xdf":"szlig","\ud835\udd31":"tfr","\ud835\udcc9":"tscr","\ud835\udd65":"topf","\ud835\udcaf":"Tscr","\ud835\udd17":"Tfr","\ud835\udd4b":"Topf","\u0165":"tcaron","\u0164":"Tcaron","\u0163":"tcedil","\u0162":"Tcedil","\u2122":"trade","\u0167":"tstrok","\u0166":"Tstrok","\ud835\udcca":"uscr","\ud835\udd66":"uopf","\ud835\udd32":"ufr","\ud835\udd4c":"Uopf","\ud835\udd18":"Ufr","\ud835\udcb0":"Uscr","\xfa":"uacute","\xda":"Uacute","\xf9":"ugrave","\xd9":"Ugrave","\u016d":"ubreve","\u016c":"Ubreve","\xfb":"ucirc","\xdb":"Ucirc","\u016f":"uring","\u016e":"Uring","\xfc":"uuml","\xdc":"Uuml","\u0171":"udblac","\u0170":"Udblac","\u0169":"utilde","\u0168":"Utilde","\u0173":"uogon","\u0172":"Uogon","\u016b":"umacr","\u016a":"Umacr","\ud835\udd33":"vfr","\ud835\udd67":"vopf","\ud835\udccb":"vscr","\ud835\udd19":"Vfr","\ud835\udd4d":"Vopf","\ud835\udcb1":"Vscr","\ud835\udd68":"wopf","\ud835\udccc":"wscr","\ud835\udd34":"wfr","\ud835\udcb2":"Wscr","\ud835\udd4e":"Wopf","\ud835\udd1a":"Wfr","\u0175":"wcirc","\u0174":"Wcirc","\ud835\udd35":"xfr","\ud835\udccd":"xscr","\ud835\udd69":"xopf","\ud835\udd4f":"Xopf","\ud835\udd1b":"Xfr","\ud835\udcb3":"Xscr","\ud835\udd36":"yfr","\ud835\udcce":"yscr","\ud835\udd6a":"yopf","\ud835\udcb4":"Yscr","\ud835\udd1c":"Yfr","\ud835\udd50":"Yopf","\xfd":"yacute","\xdd":"Yacute","\u0177":"ycirc","\u0176":"Ycirc","\xff":"yuml","\u0178":"Yuml","\ud835\udccf":"zscr","\ud835\udd37":"zfr","\ud835\udd6b":"zopf","\u2128":"Zfr","\u2124":"Zopf","\ud835\udcb5":"Zscr","\u017a":"zacute","\u0179":"Zacute","\u017e":"zcaron","\u017d":"Zcaron","\u017c":"zdot","\u017b":"Zdot","\u01b5":"imped","\xfe":"thorn","\xde":"THORN","\u0149":"napos","\u03b1":"alpha","\u0391":"Alpha","\u03b2":"beta","\u0392":"Beta","\u03b3":"gamma","\u0393":"Gamma","\u03b4":"delta","\u0394":"Delta","\u03b5":"epsi","\u03f5":"epsiv","\u0395":"Epsilon","\u03dd":"gammad","\u03dc":"Gammad","\u03b6":"zeta","\u0396":"Zeta","\u03b7":"eta","\u0397":"Eta","\u03b8":"theta","\u03d1":"thetav","\u0398":"Theta","\u03b9":"iota","\u0399":"Iota","\u03ba":"kappa","\u03f0":"kappav","\u039a":"Kappa","\u03bb":"lambda","\u039b":"Lambda","\u03bc":"mu","\xb5":"micro","\u039c":"Mu","\u03bd":"nu","\u039d":"Nu","\u03be":"xi","\u039e":"Xi","\u03bf":"omicron","\u039f":"Omicron","\u03c0":"pi","\u03d6":"piv","\u03a0":"Pi","\u03c1":"rho","\u03f1":"rhov","\u03a1":"Rho","\u03c3":"sigma","\u03a3":"Sigma","\u03c2":"sigmaf","\u03c4":"tau","\u03a4":"Tau","\u03c5":"upsi","\u03a5":"Upsilon","\u03d2":"Upsi","\u03c6":"phi","\u03d5":"phiv","\u03a6":"Phi","\u03c7":"chi","\u03a7":"Chi","\u03c8":"psi","\u03a8":"Psi","\u03c9":"omega","\u03a9":"ohm","\u0430":"acy","\u0410":"Acy","\u0431":"bcy","\u0411":"Bcy","\u0432":"vcy","\u0412":"Vcy","\u0433":"gcy","\u0413":"Gcy","\u0453":"gjcy","\u0403":"GJcy","\u0434":"dcy","\u0414":"Dcy","\u0452":"djcy","\u0402":"DJcy","\u0435":"iecy","\u0415":"IEcy","\u0451":"iocy","\u0401":"IOcy","\u0454":"jukcy","\u0404":"Jukcy","\u0436":"zhcy","\u0416":"ZHcy","\u0437":"zcy","\u0417":"Zcy","\u0455":"dscy","\u0405":"DScy","\u0438":"icy","\u0418":"Icy","\u0456":"iukcy","\u0406":"Iukcy","\u0457":"yicy","\u0407":"YIcy","\u0439":"jcy","\u0419":"Jcy","\u0458":"jsercy","\u0408":"Jsercy","\u043a":"kcy","\u041a":"Kcy","\u045c":"kjcy","\u040c":"KJcy","\u043b":"lcy","\u041b":"Lcy","\u0459":"ljcy","\u0409":"LJcy","\u043c":"mcy","\u041c":"Mcy","\u043d":"ncy","\u041d":"Ncy","\u045a":"njcy","\u040a":"NJcy","\u043e":"ocy","\u041e":"Ocy","\u043f":"pcy","\u041f":"Pcy","\u0440":"rcy","\u0420":"Rcy","\u0441":"scy","\u0421":"Scy","\u0442":"tcy","\u0422":"Tcy","\u045b":"tshcy","\u040b":"TSHcy","\u0443":"ucy","\u0423":"Ucy","\u045e":"ubrcy","\u040e":"Ubrcy","\u0444":"fcy","\u0424":"Fcy","\u0445":"khcy","\u0425":"KHcy","\u0446":"tscy","\u0426":"TScy","\u0447":"chcy","\u0427":"CHcy","\u045f":"dzcy","\u040f":"DZcy","\u0448":"shcy","\u0428":"SHcy","\u0449":"shchcy","\u0429":"SHCHcy","\u044a":"hardcy","\u042a":"HARDcy","\u044b":"ycy","\u042b":"Ycy","\u044c":"softcy","\u042c":"SOFTcy","\u044d":"ecy","\u042d":"Ecy","\u044e":"yucy","\u042e":"YUcy","\u044f":"yacy","\u042f":"YAcy","\u2135":"aleph","\u2136":"beth","\u2137":"gimel","\u2138":"daleth"},h=/["&'<>`]/g,f={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,v={aacute:"\xe1",Aacute:"\xc1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"\u0430",Acy:"\u0410",aelig:"\xe6",AElig:"\xc6",af:"\u2061",afr:"\ud835\udd1e",Afr:"\ud835\udd04",agrave:"\xe0",Agrave:"\xc0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2a3f",amp:"&",AMP:"&",and:"\u2227",And:"\u2a53",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",Aogon:"\u0104",aopf:"\ud835\udd52",Aopf:"\ud835\udd38",ap:"\u2248",apacir:"\u2a6f",ape:"\u224a",apE:"\u2a70",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",Aring:"\xc5",ascr:"\ud835\udcb6",Ascr:"\ud835\udc9c",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",beta:"\u03b2",Beta:"\u0392",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",Bfr:"\ud835\udd05",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bNot:"\u2aed",bopf:"\ud835\udd53",Bopf:"\ud835\udd39",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpe:"\u224f",bumpE:"\u2aae",bumpeq:"\u224f",Bumpeq:"\u224e",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22d2",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",ccaron:"\u010d",Ccaron:"\u010c",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",Cdot:"\u010a",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",Chi:"\u03a7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29c3",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2a74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",cscr:"\ud835\udcb8",Cscr:"\ud835\udc9e",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",Cup:"\u22d3",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21d3",Darr:"\u21a1",dash:"\u2010",dashv:"\u22a3",Dashv:"\u2ae4",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",Dcaron:"\u010e",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",delta:"\u03b4",Delta:"\u0394",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",Dfr:"\ud835\udd07",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",Dopf:"\ud835\udd3b",dot:"\u02d9",Dot:"\xa8",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21d3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",Dscr:"\ud835\udc9f",dscy:"\u0455",DScy:"\u0405",dsol:"\u29f6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",DZcy:"\u040f",dzigrarr:"\u27ff",eacute:"\xe9",Eacute:"\xc9",easter:"\u2a6e",ecaron:"\u011b",Ecaron:"\u011a",ecir:"\u2256",ecirc:"\xea",Ecirc:"\xca",ecolon:"\u2255",ecy:"\u044d",Ecy:"\u042d",eDDot:"\u2a77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",Efr:"\ud835\udd08",eg:"\u2a9a",egrave:"\xe8",Egrave:"\xc8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ENG:"\u014a",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\ud835\udd56",Eopf:"\ud835\udd3c",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",Epsilon:"\u0395",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2a73",eta:"\u03b7",Eta:"\u0397",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",Ffr:"\ud835\udd09",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",Fopf:"\ud835\udd3d",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",gamma:"\u03b3",Gamma:"\u0393",gammad:"\u03dd",Gammad:"\u03dc",gap:"\u2a86",gbreve:"\u011f",Gbreve:"\u011e",Gcedil:"\u0122",gcirc:"\u011d",Gcirc:"\u011c",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22db",gEl:"\u2a8c",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",Gfr:"\ud835\udd0a",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",Gopf:"\ud835\udd3e",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",gscr:"\u210a",Gscr:"\ud835\udca2",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",Gt:"\u226b",GT:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",HARDcy:"\u042a",harr:"\u2194",hArr:"\u21d4",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",iacute:"\xed",Iacute:"\xcd",ic:"\u2063",icirc:"\xee",Icirc:"\xce",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",igrave:"\xec",Igrave:"\xcc",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012b",Imacr:"\u012a",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",Int:"\u222c",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012f",Iogon:"\u012e",iopf:"\ud835\udd5a",Iopf:"\ud835\udd40",iota:"\u03b9",Iota:"\u0399",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xef",Iuml:"\xcf",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\ud835\udd27",Jfr:"\ud835\udd0d",jmath:"\u0237",jopf:"\ud835\udd5b",Jopf:"\ud835\udd41",jscr:"\ud835\udcbf",Jscr:"\ud835\udca5",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03ba",Kappa:"\u039a",kappav:"\u03f0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043a",Kcy:"\u041a",kfr:"\ud835\udd28",Kfr:"\ud835\udd0e",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045c",KJcy:"\u040c",kopf:"\ud835\udd5c",Kopf:"\ud835\udd42",kscr:"\ud835\udcc0",Kscr:"\ud835\udca6",lAarr:"\u21da",lacute:"\u013a",Lacute:"\u0139",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",Lambda:"\u039b",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",Larr:"\u219e",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",lAtail:"\u291b",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",Lcaron:"\u013d",lcedil:"\u013c",Lcedil:"\u013b",lceil:"\u2308",lcub:"{",lcy:"\u043b",Lcy:"\u041b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",leftarrow:"\u2190",Leftarrow:"\u21d0",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",Leftrightarrow:"\u21d4",LeftRightArrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",leg:"\u22da",lEg:"\u2a8b",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",Lfr:"\ud835\udd0f",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226a",Ll:"\u22d8",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",Lmidot:"\u013f",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",LongLeftArrow:"\u27f5",longleftrightarrow:"\u27f7",Longleftrightarrow:"\u27fa",LongLeftRightArrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",LongRightArrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",Lopf:"\ud835\udd43",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226a",LT:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",Map:"\u2905",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",Mcy:"\u041c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",mfr:"\ud835\udd2a",Mfr:"\ud835\udd10",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",Mopf:"\ud835\udd44",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",mu:"\u03bc",Mu:"\u039c",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",Ncy:"\u041d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",Nfr:"\ud835\udd11",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",ngt:"\u226f",nGt:"\u226b\u20d2",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",NJcy:"\u040a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nlt:"\u226e",nLt:"\u226a\u20d2",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",not:"\xac",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",Nscr:"\ud835\udca9",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2ac5\u0338",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2ac6\u0338",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",Nu:"\u039d",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xf3",Oacute:"\xd3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",Ocirc:"\xd4",ocy:"\u043e",Ocy:"\u041e",odash:"\u229d",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29bf",ofr:"\ud835\udd2c",Ofr:"\ud835\udd12",ogon:"\u02db",ograve:"\xf2",Ograve:"\xd2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",Omacr:"\u014c",omega:"\u03c9",Omega:"\u03a9",omicron:"\u03bf",Omicron:"\u039f",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",Oopf:"\ud835\udd46",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",or:"\u2228",Or:"\u2a54",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",oscr:"\u2134",Oscr:"\ud835\udcaa",oslash:"\xf8",Oslash:"\xd8",osol:"\u2298",otilde:"\xf5",Otilde:"\xd5",otimes:"\u2297",Otimes:"\u2a37",otimesas:"\u2a36",ouml:"\xf6",Ouml:"\xd6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",pcy:"\u043f",Pcy:"\u041f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",Pfr:"\ud835\udd13",phi:"\u03c6",Phi:"\u03a6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",Pi:"\u03a0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",pr:"\u227a",Pr:"\u2abb",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prE:"\u2ab3",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",Pscr:"\ud835\udcab",psi:"\u03c8",Psi:"\u03a8",puncsp:"\u2008",qfr:"\ud835\udd2e",Qfr:"\ud835\udd14",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",qscr:"\ud835\udcc6",Qscr:"\ud835\udcac",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",Rarr:"\u21a0",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",Rarrtl:"\u2916",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",Rho:"\u03a1",rhov:"\u03f1",RightAngleBracket:"\u27e9",rightarrow:"\u2192",Rightarrow:"\u21d2",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",Sacute:"\u015a",sbquo:"\u201a",sc:"\u227b",Sc:"\u2abc",scap:"\u2ab8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",scedil:"\u015f",Scedil:"\u015e",scirc:"\u015d",Scirc:"\u015c",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",Scy:"\u0421",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",Sfr:"\ud835\udd16",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",sigma:"\u03c3",Sigma:"\u03a3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",SOFTcy:"\u042c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",Sopf:"\ud835\udd4a",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",Sscr:"\ud835\udcae",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",Star:"\u22c6",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",sube:"\u2286",subE:"\u2ac5",subedot:"\u2ac3",submult:"\u2ac1",subne:"\u228a",subnE:"\u2acb",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup:"\u2283",Sup:"\u22d1",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supE:"\u2ac6",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supne:"\u228b",supnE:"\u2acc",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",tau:"\u03c4",Tau:"\u03a4",tbrk:"\u23b4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",Tfr:"\ud835\udd17",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03b8",Theta:"\u0398",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",THORN:"\xde",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",Topf:"\ud835\udd4b",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",Tscr:"\ud835\udcaf",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045b",TSHcy:"\u040b",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uacute:"\xfa",Uacute:"\xda",uarr:"\u2191",uArr:"\u21d1",Uarr:"\u219f",Uarrocir:"\u2949",ubrcy:"\u045e",Ubrcy:"\u040e",ubreve:"\u016d",Ubreve:"\u016c",ucirc:"\xfb",Ucirc:"\xdb",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21c5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",Ufr:"\ud835\udd18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",Umacr:"\u016a",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",uogon:"\u0173",Uogon:"\u0172",uopf:"\ud835\udd66",Uopf:"\ud835\udd4c",uparrow:"\u2191",Uparrow:"\u21d1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",Updownarrow:"\u21d5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",upsilon:"\u03c5",Upsilon:"\u03a5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",Uring:"\u016e",urtri:"\u25f9",uscr:"\ud835\udcca",Uscr:"\ud835\udcb0",utdot:"\u22f0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",Uuml:"\xdc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",vee:"\u2228",Vee:"\u22c1",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",vfr:"\ud835\udd33",Vfr:"\ud835\udd19",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",Vopf:"\ud835\udd4d",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",Vscr:"\ud835\udcb1",vsubne:"\u228a\ufe00",vsubnE:"\u2acb\ufe00",vsupne:"\u228b\ufe00",vsupnE:"\u2acc\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",Wfr:"\ud835\udd1a",wopf:"\ud835\udd68",Wopf:"\ud835\udd4e",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",Wscr:"\ud835\udcb2",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",Xfr:"\ud835\udd1b",xharr:"\u27f7",xhArr:"\u27fa",xi:"\u03be",Xi:"\u039e",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",Xopf:"\ud835\udd4f",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",xscr:"\ud835\udccd",Xscr:"\ud835\udcb3",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",Yacute:"\xdd",yacy:"\u044f",YAcy:"\u042f",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044b",Ycy:"\u042b",yen:"\xa5",yfr:"\ud835\udd36",Yfr:"\ud835\udd1c",yicy:"\u0457",YIcy:"\u0407",yopf:"\ud835\udd6a",Yopf:"\ud835\udd50",yscr:"\ud835\udcce",Yscr:"\ud835\udcb4",yucy:"\u044e",YUcy:"\u042e",yuml:"\xff",Yuml:"\u0178",zacute:"\u017a",Zacute:"\u0179",zcaron:"\u017e",Zcaron:"\u017d",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017c",Zdot:"\u017b",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",zeta:"\u03b6",Zeta:"\u0396",zfr:"\ud835\udd37",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",zscr:"\ud835\udccf",Zscr:"\ud835\udcb5",zwj:"\u200d",zwnj:"\u200c"},y={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},b={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],C=String.fromCharCode,x={}.hasOwnProperty,E=function(e,t){return x.call(e,t)},k=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=E(e,r)?e[r]:t[r];return n},S=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&D("character reference outside the permissible Unicode range"),"\ufffd"):E(b,e)?(t&&D("disallowed character reference"),b[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r65535&&(r+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=C(e))},j=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},_=function(e){return"&#"+e+";"},D=function(e){throw Error("Parse error: "+e)},L=function(e,t){(t=k(t,L.options)).strict&&m.test(e)&&D("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,o=t.allowUnsafeSymbols,i=t.decimal?_:j,a=function(e){return i(e.charCodeAt(0))};return r?(e=e.replace(c,(function(e){return n&&E(d,e)?"&"+d[e]+";":a(e)})),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(u,(function(e){return"&"+d[e]+";"})))):n?(o||(e=e.replace(h,(function(e){return"&"+d[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(u,(function(e){return"&"+d[e]+";"}))):o||(e=e.replace(h,a)),e.replace(s,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return i(1024*(t-55296)+r-56320+65536)})).replace(l,a)};L.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var T=function(e,t){var r=(t=k(t,T.options)).strict;return r&&p.test(e)&&D("malformed character reference"),e.replace(g,(function(e,n,o,i,a,s,c,l,u){var d,h,f,p,m,g;return n?v[m=n]:o?(m=o,(g=i)&&t.isAttributeValue?(r&&"="==g&&D("`&` did not start a character reference"),e):(r&&D("named character reference was not terminated by a semicolon"),y[m]+(g||""))):a?(f=a,h=s,r&&!h&&D("character reference was not terminated by a semicolon"),d=parseInt(f,10),S(d,r)):c?(p=c,h=l,r&&!h&&D("character reference was not terminated by a semicolon"),d=parseInt(p,16),S(d,r)):(r&&D("named character reference was not terminated by a semicolon"),e)}))};T.options={isAttributeValue:!1,strict:!1};var P={version:"1.2.0",encode:L,decode:T,escape:function(e){return e.replace(h,(function(e){return f[e]}))},unescape:T};void 0===(n=function(){return P}.call(t,r,t,e))||(e.exports=n)}()},18156:function(e,t){"use strict";for(var r="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),n={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},o={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},i={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)i["f"+a]=111+a;function s(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map((function(e){return c(e,t)})),o=function(e){return n.some((function(t){return l(t,e)}))};return null==r?o:o(r)}function c(e,t){var r=t&&t.byKey,o={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in n)o[n[s]]=!1;var c=!0,l=!1,h=void 0;try{for(var f,p=i[Symbol.iterator]();!(c=(f=p.next()).done);c=!0){var m=f.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var v=d(m),y=n[v];1!==a&&y||(r?o.key=v:o.which=u(m)),y&&(o[y]=!g||null)}}catch(b){l=!0,h=b}finally{try{!c&&p.return&&p.return()}finally{if(l)throw h}}return o}function l(e,t){for(var r in e){var n=e[r],o=void 0;if(null!=n&&((null!=(o="key"===r&&null!=t.key?t.key.toLowerCase():"which"===r?91===n&&93===t.which?91:t.which:t[r])||!1!==n)&&o!==n))return!1}return!0}function u(e){return e=d(e),i[e]||e.toUpperCase().charCodeAt(0)}function d(e){return e=e.toLowerCase(),e=o[e]||e}t.TB=function(e,t){return s(e,{byKey:!0},t)}},23493:function(e,t,r){var n=r(23279),o=r(13218);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}},47822:function(e,t,r){var n=r(34155);!function(){"use strict";var t={583:function(e){e.exports=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0}},590:function(e,t,r){t.__esModule=!0,t.computeId=function(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;i[n]||(i[n]="jsx-"+(0,o.default)(e+"-"+r));return i[n]},t.computeSelector=function(e,t){"undefined"===typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;i[r]||(i[r]=t.replace(/__jsx-style-dynamic-selector/g,e));return i[r]};var n,o=(n=r(583))&&n.__esModule?n:{default:n};var i={}},503:function(e,t){function r(e,t){for(var r=0;r{if(!String.prototype.normalize)return e;if(t){const r=t.split("");return e.normalize("NFD").replace(/.[\u0300-\u036f]+/g,(function(e){return r.indexOf(e.normalize())>-1?e.normalize():e[0]}))}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")};const o=e=>e?e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"):"";t.deepMap=(e,r)=>n.Children.toArray(e).map(((e,o,i)=>{return(0,n.isValidElement)(e)&&(a=e,(0,n.isValidElement)(a)&&Boolean(a.props.children))?r((0,n.cloneElement)(e,Object.assign(Object.assign({},e.props),{children:(0,t.deepMap)(e.props.children,r)}))):r(e,o,i);var a})),t.default=t.deepMap},98456:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o(0,o.jsx)("span",{children:e},`${e}-${r}`);return(0,o.jsx)("span",Object.assign({},m,{ref:t},{children:(t=>s?(0,a.deepMap)(t,(t=>"string"===typeof t?((e,t)=>{const n=[];let o=e;for(;o;){const e=c?(0,a.removeDiacritics)(o,l||""):o;if(!t.test(e))return n.push(g(o)),n;const f=(0,a.getMatchBoundaries)(e,t);if(0===(null===f||void 0===f?void 0:f.first)&&0===(null===f||void 0===f?void 0:f.last))return n;const p=o.slice(0,null===f||void 0===f?void 0:f.first);p&&n.push(g(p));const m=o.slice(null===f||void 0===f?void 0:f.first,null===f||void 0===f?void 0:f.last);m&&n.push((s=m,(0,i.createElement)(u,{key:`${s}-${r}`,className:d,style:h},s))),o=o.slice(null===f||void 0===f?void 0:f.last),r++}var s;return n})(t,(0,a.getSearch)(e)):t)):[t])(f)}),void 0)}))},47049:function(e,t,r){"use strict";t.y=void 0;var n=r(98456);Object.defineProperty(t,"y",{enumerable:!0,get:function(){return n.Highlight}})},9764:function(e,t,r){"use strict";r.d(t,{OO:function(){return Nr}});var n=r(67294);function o(e,t){return function(r){return e(t(r))}}function i(e,t){return t(e)}function a(e,t){return function(r){return e(t,r)}}function s(e,t){return function(){return e(t)}}function c(e,t){return t(e),e}function l(){for(var e=arguments.length,t=new Array(e),r=0;r-1&&e.splice(t,1)};case 0:return void e.slice().forEach((function(e){e(r)}));default:throw new Error("unrecognized action "+t)}}}function C(e){var t=e,r=w();return function(e,n){switch(e){case 1:n(t);break;case 0:t=n;break;case 4:return t}return r(e,n)}}function x(e){return c(w(),(function(t){return y(e,t)}))}function E(e,t){return c(C(t),(function(t){return y(e,t)}))}function k(){for(var e=arguments.length,t=new Array(e),r=0;r1?t-1:0),n=1;n0?e--:t(r)}}}function R(e){var t,r;return function(n){return function(o){t=o,r||(r=setTimeout((function(){r=void 0,n(t)}),e))}}}function O(e){var t,r;return function(n){return function(o){t=o,r&&clearTimeout(r),r=setTimeout((function(){n(t)}),e)}}}function I(){for(var e=arguments.length,t=new Array(e),r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var V=["children"];var U="undefined"!==typeof document?n.useLayoutEffect:n.useEffect;function Z(e,t,r){var o=Object.keys(t.required||{}),i=Object.keys(t.optional||{}),l=Object.keys(t.methods||{}),u=Object.keys(t.events||{}),h=(0,n.createContext)({});function y(e,r){e.propsReady&&m(e.propsReady,!1);for(var n,a=H(o);!(n=a()).done;){var s=n.value;m(e[t.required[s]],r[s])}for(var c,l=H(i);!(c=l()).done;){var u=c.value;if(u in r)m(e[t.optional[u]],r[u])}e.propsReady&&m(e.propsReady,!0)}function b(e){return u.reduce((function(r,n){return r[n]=function(e){var t,r,n=function(){return t&&t()};return function(o,i){switch(o){case 1:if(i){if(r===i)return;return n(),r=i,t=p(e,i)}return n(),f;case 2:return n(),void(r=null);default:throw new Error("unrecognized action "+o)}}}(e[t.events[n]]),r}),{})}var w=(0,n.forwardRef)((function(a,f){var v=a.children,w=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(a,V),C=(0,n.useState)((function(){return c(function(e){var t=new Map;return function e(r){var n=r.id,o=r.constructor,i=r.dependencies,a=r.singleton;if(a&&t.has(n))return t.get(n);var s=o(i.map((function(t){return e(t)})));return a&&t.set(n,s),s}(e)}(e),(function(e){return y(e,w)}))})),x=C[0],E=(0,n.useState)(s(b,x))[0];return U((function(){for(var e,t=H(u);!(e=t()).done;){var r=e.value;r in w&&p(E[r],w[r])}return function(){Object.values(E).map(g)}}),[w,E,x]),U((function(){y(x,w)})),(0,n.useImperativeHandle)(f,d(function(e){return l.reduce((function(r,n){return r[n]=function(r){m(e[t.methods[n]],r)},r}),{})}(x))),(0,n.createElement)(h.Provider,{value:x},r?(0,n.createElement)(r,function(e,t){for(var r={},n={},o=0,i=e.length;o=0||(o[r]=e[r]);return o}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var J,X,Q,ee="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;(Q=X||(X={}))[Q.DEBUG=0]="DEBUG",Q[Q.INFO=1]="INFO",Q[Q.WARN=2]="WARN",Q[Q.ERROR=3]="ERROR";var te=((J={})[X.DEBUG]="debug",J[X.INFO]="log",J[X.WARN]="warn",J[X.ERROR]="error",J),re=F((function(){var e=C(X.ERROR);return{log:C((function(t,r,n){var o;void 0===n&&(n=X.INFO),n>=(null!=(o=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?o:v(e))&&console[te[n]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,r)})),logLevel:e}}),[],{singleton:!0});function ne(e,t){void 0===t&&(t=!0);var r=(0,n.useRef)(null),o=function(e){};if("undefined"!=typeof ResizeObserver){var i=new ResizeObserver((function(t){var r=t[0].target;null!==r.offsetParent&&e(r)}));o=function(e){e&&t?(i.observe(e),r.current=e):(r.current&&i.unobserve(r.current),r.current=null)}}return{ref:r,callbackRef:o}}function oe(e,t){return void 0===t&&(t=!0),ne(e,t).callbackRef}function ie(e,t,r,n,o,i,a){return ne((function(r){for(var s=function(e,t,r,n){var o=e.length;if(0===o)return null;for(var i=[],a=0;at&&(a=a.concat(ve(e.l,t,r))),n>=t&&n<=r&&a.push({k:n,v:o}),n<=r&&(a=a.concat(ve(i,t,r))),a}function ye(e){return he(e)?[]:[].concat(ye(e.l),[{k:e.k,v:e.v}],ye(e.r))}function be(e){return he(e.r)?[e.k,e.v]:be(e.r)}function we(e){return he(e.r)?e.l:Ee(Ce(e,{r:we(e.r)}))}function Ce(e,t){return de(void 0!==t.k?t.k:e.k,void 0!==t.v?t.v:e.v,void 0!==t.lvl?t.lvl:e.lvl,void 0!==t.l?t.l:e.l,void 0!==t.r?t.r:e.r)}function xe(e){return he(e)||e.lvl>e.r.lvl}function Ee(e){var t=e.l,r=e.r,n=e.lvl;if(r.lvl>=n-1&&t.lvl>=n-1)return e;if(n>r.lvl+1){if(xe(t))return _e(Ce(e,{lvl:n-1}));if(he(t)||he(t.r))throw new Error("Unexpected empty nodes");return Ce(t.r,{l:Ce(t,{r:t.r.l}),r:Ce(e,{l:t.r.r,lvl:n-1}),lvl:n})}if(xe(e))return je(Ce(e,{lvl:n-1}));if(he(r)||he(r.l))throw new Error("Unexpected empty nodes");var o=r.l,i=xe(o)?r.lvl-1:r.lvl;return Ce(o,{l:Ce(e,{r:o.l,lvl:n-1}),r:je(Ce(r,{l:o.r,lvl:i})),lvl:o.lvl+1})}function ke(e,t,r){return he(e)?[]:Se(ve(e,me(e,t)[0],r),(function(e){return{index:e.k,value:e.v}}))}function Se(e,t){var r=e.length;if(0===r)return[];for(var n=t(e[0]),o=n.index,i=n.value,a=[],s=1;s0&&(0,t[2])("received item sizes",r,X.DEBUG);var i=e.sizeTree,a=i,s=0;if(n.length>0&&he(i)&&2===r.length){var c=r[0].size,l=r[1].size;a=n.reduce((function(e,t){return ge(ge(e,t,c),t+1,l)}),a)}else{var u=function(e,t){for(var r,n=he(e)?0:1/0,o=K(t);!(r=o()).done;){var i=r.value,a=i.size,s=i.startIndex,c=i.endIndex;if(n=Math.min(n,s),he(e))e=ge(e,0,a);else{var l=ke(e,s-1,c+1);if(!l.some(Pe(i))){for(var u,d=!1,h=!1,f=K(l);!(u=f()).done;){var p=u.value,m=p.start,g=p.end,v=p.value;d?(c>=m||a===v)&&(e=pe(e,m)):(h=v!==a,d=!0),g>c&&c>=m&&v!==a&&(e=ge(e,c+1,v))}h&&(e=ge(e,s,a))}}}return[e,n]}(a,r);a=u[0],s=u[1]}if(a===i)return e;var d=Ie(e.offsetTree,s,a,o),h=d.offsetTree;return{sizeTree:a,offsetTree:h,lastIndex:d.lastIndex,lastOffset:d.lastOffset,lastSize:d.lastSize,groupOffsetTree:n.reduce((function(e,t){return ge(e,t,qe(t,h,o))}),fe()),groupIndices:n}}function qe(e,t,r){if(0===t.length)return 0;var n=Le(t,e,Ae),o=e-n.index,i=n.size*o+(o-1)*r+n.offset;return i>0?i+r:i}function Me(e,t,r){if(function(e){return void 0!==e.groupIndex}(e))return t.groupIndices[e.groupIndex]+1;var n=Fe("LAST"===e.index?r:e.index,t);return Math.max(0,n,Math.min(r,n))}function Fe(e,t){if(!ze(t))return e;for(var r=0;t.groupIndices[r]<=e+r;)r++;return e+r}function ze(e){return!he(e.groupOffsetTree)}var Ne={offsetHeight:"height",offsetWidth:"width"},He=F((function(e){var t=e[0].log,r=e[1].recalcInProgress,n=w(),o=w(),i=E(o,0),a=w(),s=w(),c=C(0),l=C([]),u=C(void 0),d=C(void 0),h=C((function(e,t){return ae(e,Ne[t])})),f=C(void 0),g=C(0),b={offsetTree:[],sizeTree:fe(),groupOffsetTree:fe(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},k=E(S(n,I(l,t,g),P(Be,b),_()),b);y(S(l,D((function(e){return e.length>0})),I(k,g),L((function(e){var t=e[0],r=e[1],n=e[2],o=t.reduce((function(e,t,o){return ge(e,t,qe(t,r.offsetTree,n)||o)}),fe());return $({},r,{groupIndices:t,groupOffsetTree:o})}))),k),y(S(o,I(k),D((function(e){return e[0]0?(m(r,!0),m(a,e)):e<0&&m(s,e)})),p(S(c,I(t)),(function(e){e[0]<0&&(0,e[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:c},X.ERROR)}));var A=x(a);y(S(a,I(k),L((function(e){var t=e[0],r=e[1];if(r.groupIndices.length>0)throw new Error("Virtuoso: prepending items does not work with groups");return ye(r.sizeTree).reduce((function(e,r){var n=r.k,o=r.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:n+t-1,size:e.prevSize}]),prevIndex:n+t,prevSize:o}}),{ranges:[],prevIndex:0,prevSize:r.lastSize}).ranges}))),n);var R=x(S(s,I(k,g),L((function(e){return qe(-e[0],e[1].offsetTree,e[2])}))));return y(S(s,I(k,g),L((function(e){var t=e[0],r=e[1],n=e[2];if(r.groupIndices.length>0)throw new Error("Virtuoso: shifting items does not work with groups");var o=ye(r.sizeTree).reduce((function(e,r){var n=r.v;return ge(e,Math.max(0,r.k+t),n)}),fe());return $({},r,{sizeTree:o},Ie(r.offsetTree,0,o,n))}))),k),{data:f,totalCount:o,sizeRanges:n,groupIndices:l,defaultItemSize:d,fixedItemSize:u,unshiftWith:a,shiftWith:s,shiftWithOffset:R,beforeUnshiftWith:A,firstItemIndex:c,gap:g,sizes:k,listRefresh:T,statefulTotalCount:i,trackItemSizes:j,itemSize:h}}),l(re,Te),{singleton:!0}),Ve="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function Ue(e){var t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&Ve||(t.behavior="auto"),t.offset||(t.offset=0),t}var Ze=F((function(e){var t=e[0],r=t.sizes,n=t.totalCount,o=t.listRefresh,i=t.gap,a=e[1],s=a.scrollingInProgress,c=a.viewportHeight,l=a.scrollTo,u=a.smoothScrollTargetReached,d=a.headerHeight,h=a.footerHeight,f=e[2].log,g=w(),v=C(0),x=null,E=null,k=null;function j(){x&&(x(),x=null),k&&(k(),k=null),E&&(clearTimeout(E),E=null),m(s,!1)}return y(S(g,I(r,c,n,v,d,h,f),I(i),L((function(e){var t=e[0],r=t[0],n=t[1],i=t[2],a=t[3],c=t[4],l=t[5],d=t[6],h=t[7],f=e[1],v=Ue(r),y=v.align,w=v.behavior,C=v.offset,_=a-1,D=Me(v,n,_),L=qe(D,n.offsetTree,f)+l;"end"===y?(L=L-i+me(n.sizeTree,D)[1],D===_&&(L+=d)):"center"===y?L=L-i/2+me(n.sizeTree,D)[1]/2:L-=c,C&&(L+=C);var T=function(e){j(),e?(h("retrying to scroll to",{location:r},X.DEBUG),m(g,r)):h("list did not change, scroll successful",{},X.DEBUG)};if(j(),"smooth"===w){var P=!1;k=p(o,(function(e){P=P||e})),x=b(u,(function(){T(P)}))}else x=b(S(o,(function(e){var t=setTimeout((function(){e(!1)}),150);return function(r){r&&(e(!0),clearTimeout(t))}})),T);return E=setTimeout((function(){j()}),1200),m(s,!0),h("scrolling from index to",{index:D,top:L,behavior:w},X.DEBUG),{top:L,behavior:w}}))),l),{scrollToIndex:g,topListHeight:v}}),l(He,le,re),{singleton:!0}),We="up",$e={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},Ge=F((function(e){var t=e[0],r=t.scrollContainerState,n=t.scrollTop,o=t.viewportHeight,i=t.headerHeight,a=t.footerHeight,s=t.scrollBy,c=C(!1),l=C(!0),u=w(),d=w(),h=C(4),f=C(0),p=E(S(B(S(q(n),A(1),T(!0)),S(q(n),A(1),T(!1),O(100))),_()),!1),m=E(S(B(S(s,T(!0)),S(s,T(!1),O(200))),_()),!1);y(S(M(q(n),q(f)),L((function(e){return e[0]<=e[1]})),_()),l),y(S(l,R(50)),d);var g=x(S(M(r,q(o),q(i),q(a),q(h)),P((function(e,t){var r,n,o=t[0],i=o.scrollTop,a=o.scrollHeight,s=t[1],c={viewportHeight:s,scrollTop:i,scrollHeight:a};return i+s-a>-t[4]?(i>e.state.scrollTop?(r="SCROLLED_DOWN",n=e.state.scrollTop-i):(r="SIZE_DECREASED",n=e.state.scrollTop-i||e.scrollTopDelta),{atBottom:!0,state:c,atBottomBecause:r,scrollTopDelta:n}):{atBottom:!1,notAtBottomBecause:c.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":st+h-m&&(p=We),(a-=l)0){a=e[0].offset;var c=e[e.length-1];s=c.offset+c.size}var l=r-o.lastIndex,u=a,d=o.lastOffset+l*o.lastSize+(l-1)*n-s;return{items:st(e,o,i),topItems:st(t,o,i),topListHeight:t.reduce((function(e,t){return t.size+e}),0),offsetTop:a,offsetBottom:d,top:u,bottom:s,totalCount:r,firstItemIndex:i}}var lt=F((function(e){var t=e[0],r=t.sizes,n=t.totalCount,o=t.data,i=t.firstItemIndex,a=t.gap,s=e[1],l=e[2],u=l.visibleRange,d=l.listBoundary,h=l.topListHeight,f=e[3],p=f.scrolledToInitialItem,m=f.initialTopMostItemIndex,g=e[4].topListHeight,v=e[5],b=e[6].didMount,k=e[7].recalcInProgress,j=C([]),T=w();y(s.topItemsIndexes,j);var P=E(S(M(b,k,q(u,tt),q(n),q(r),q(m),p,q(j),q(i),q(a),o),D((function(e){return e[0]&&!e[1]})),L((function(e){var t=e[2],r=t[0],n=t[1],o=e[3],i=e[5],a=e[6],s=e[7],l=e[8],u=e[9],d=e[10],h=e[4],f=h.sizeTree,p=h.offsetTree;if(0===o||0===r&&0===n)return at;if(he(f))return ct(function(e,t,r){if(ze(t)){var n=Fe(e,t);return[{index:me(t.groupOffsetTree,n)[0],size:0,offset:0},{index:n,size:0,offset:0,data:r&&r[0]}]}return[{index:e,size:0,offset:0,data:r&&r[0]}]}(function(e,t){return"number"==typeof e?e:"LAST"===e.index?t-1:e.index}(i,o),h,d),[],o,u,h,l);var m=[];if(s.length>0)for(var g,v=s[0],y=s[s.length-1],b=0,w=K(ke(f,v,y));!(g=w()).done;)for(var C=g.value,x=C.value,E=Math.max(C.start,v),k=Math.min(C.end,y),S=E;S<=k;S++)m.push({index:S,size:x,offset:b,data:d&&d[S]}),b+=x;if(!a)return ct([],m,o,u,h,l);var j=s.length>0?s[s.length-1]+1:0,_=function(e,t,r,n){return void 0===n&&(n=0),n>0&&(t=Math.max(t,Le(e,n,Ae).offset)),Se((i=r,s=De(o=e,t,a=Re),c=De(o,i,a,s),o.slice(s,c+1)),Oe);var o,i,a,s,c}(p,r,n,j);if(0===_.length)return null;var D=o-1;return ct(c([],(function(e){for(var t,o=K(_);!(t=o()).done;){var i=t.value,a=i.value,s=a.offset,c=i.start,l=a.size;if(a.offset=n);p++)e.push({index:p,size:l,offset:s,data:d&&d[p]}),s+=l+u}})),m,o,u,h,l)})),D((function(e){return null!==e})),_()),at);return y(S(o,D((function(e){return void 0!==e})),L((function(e){return e.length}))),n),y(S(P,L((function(e){return e.topListHeight}))),g),y(g,h),y(S(P,L((function(e){return[e.top,e.bottom]}))),d),y(S(P,L((function(e){return e.items}))),T),$({listState:P,topItemsIndexes:j,endReached:x(S(P,D((function(e){return e.items.length>0})),I(n,o),D((function(e){var t=e[0].items;return t[t.length-1].originalIndex===e[1]-1})),L((function(e){return[e[1]-1,e[2]]})),_(tt),L((function(e){return e[0]})))),startReached:x(S(P,R(200),D((function(e){var t=e.items;return t.length>0&&t[0].originalIndex===e.topItems.length})),L((function(e){return e.items[0].index})),_())),rangeChanged:x(S(P,D((function(e){return e.items.length>0})),L((function(e){for(var t=e.items,r=0,n=t.length-1;"group"===t[r].type&&rr;)n--;return{startIndex:t[r].index,endIndex:t[n].index}})),_(rt))),itemsRendered:T},v)}),l(He,et,it,Ke,Ze,Ge,Ye,Te),{singleton:!0}),ut=F((function(e){var t=e[0],r=t.sizes,n=t.firstItemIndex,o=t.data,i=t.gap,a=e[1].listState,s=e[2].didMount,c=C(0);return y(S(s,I(c),D((function(e){return 0!==e[1]})),I(r,n,i,o),L((function(e){var t=e[0][1],r=e[1],n=e[2],o=e[3],i=e[4],a=void 0===i?[]:i,s=0;if(r.groupIndices.length>0)for(var c,l=K(r.groupIndices);!((c=l()).done||c.value-s>=t);)s++;var u=t+s;return ct(Array.from({length:u}).map((function(e,t){return{index:t,size:0,offset:0,data:a[t]}})),[],u,o,r,n)}))),a),{initialItemCount:c}}),l(He,lt,Ye),{singleton:!0}),dt=F((function(e){var t=e[0].scrollVelocity,r=C(!1),n=w(),o=C(!1);return y(S(t,I(o,r,n),D((function(e){return!!e[1]})),L((function(e){var t=e[0],r=e[1],n=e[2],o=e[3],i=r.enter;if(n){if((0,r.exit)(t,o))return!1}else if(i(t,o))return!0;return n})),_()),r),p(S(M(r,t,n),I(o)),(function(e){var t=e[0],r=e[1];return t[0]&&r&&r.change&&r.change(t[1],t[2])})),{isSeeking:r,scrollSeekConfiguration:o,scrollVelocity:t,scrollSeekRangeChanged:n}}),l(Ge),{singleton:!0}),ht=F((function(e){var t=e[0].topItemsIndexes,r=C(0);return y(S(r,D((function(e){return e>0})),L((function(e){return Array.from({length:e}).map((function(e,t){return t}))}))),t),{topItemCount:r}}),l(lt)),ft=F((function(e){var t=e[0],r=t.footerHeight,n=t.headerHeight,o=t.fixedHeaderHeight,i=e[1].listState,a=w(),s=E(S(M(r,n,o,i),L((function(e){var t=e[3];return e[0]+e[1]+e[2]+t.offsetBottom+t.bottom}))),0);return y(q(s),a),{totalListHeight:s,totalListHeightChanged:a}}),l(le,lt),{singleton:!0});function pt(e){var t,r=!1;return function(){return r||(r=!0,t=e()),t}}var mt=pt((function(){return/iP(ad|hone|od).+Version\/[\d.]+.*Safari/i.test(navigator.userAgent)})),gt=F((function(e){var t=e[0],r=t.scrollBy,n=t.scrollTop,o=t.deviation,i=t.scrollingInProgress,a=e[1],s=a.isScrolling,c=a.isAtBottom,l=a.scrollDirection,u=e[3],d=u.beforeUnshiftWith,h=u.shiftWithOffset,f=u.sizes,g=u.gap,v=e[4].log,b=e[5].recalcInProgress,w=x(S(e[2].listState,I(a.lastJumpDueToItemResize),P((function(e,t){var r=e[1],n=t[0],o=n.items,i=n.totalCount,a=n.bottom+n.offsetBottom,s=0;return e[2]===i&&r.length>0&&o.length>0&&(0===o[0].originalIndex&&0===r[0].originalIndex||0!=(s=a-e[3])&&(s+=t[1])),[s,o,i,a]}),[0,[],0,0]),D((function(e){return 0!==e[0]})),I(n,l,i,c,v),D((function(e){return!e[3]&&0!==e[1]&&e[2]===We})),L((function(e){var t=e[0][0];return(0,e[5])("Upward scrolling compensation",{amount:t},X.DEBUG),t}))));function C(e){e>0?(m(r,{top:-e,behavior:"auto"}),m(o,0)):(m(o,0),m(r,{top:-e,behavior:"auto"}))}return p(S(w,I(o,s)),(function(e){var t=e[0],r=e[1];e[2]&&mt()?m(o,r-t):C(-t)})),p(S(M(E(s,!1),o,b),D((function(e){return!e[0]&&!e[2]&&0!==e[1]})),L((function(e){return e[1]})),R(1)),C),y(S(h,L((function(e){return{top:-e}}))),r),p(S(d,I(f,g),L((function(e){var t=e[0];return t*e[1].lastSize+t*e[2]}))),(function(e){m(o,e),requestAnimationFrame((function(){m(r,{top:e}),requestAnimationFrame((function(){m(o,0),m(b,!1)}))}))})),{deviation:o}}),l(le,Ge,lt,He,re,Te)),vt=F((function(e){var t=e[0].totalListHeight,r=e[1].didMount,n=e[2].scrollTo,o=C(0);return p(S(r,I(o),D((function(e){return 0!==e[1]})),L((function(e){return{top:e[1]}}))),(function(e){b(S(t,D((function(e){return 0!==e}))),(function(){setTimeout((function(){m(n,e)}))}))})),{initialScrollTop:o}}),l(ft,Ye,le),{singleton:!0}),yt=F((function(e){var t=e[0].viewportHeight,r=e[1].totalListHeight,n=C(!1);return{alignToBottom:n,paddingTopAddition:E(S(M(n,t,r),D((function(e){return e[0]})),L((function(e){return Math.max(0,e[1]-e[2])})),_()),0)}}),l(le,ft),{singleton:!0}),bt=F((function(e){var t=e[0],r=t.scrollTo,n=t.scrollContainerState,o=w(),i=w(),a=w(),s=C(!1),c=C(void 0);return y(S(M(o,i),L((function(e){var t=e[0],r=t.viewportHeight,n=t.scrollHeight;return{scrollTop:Math.max(0,t.scrollTop-e[1].offsetTop),scrollHeight:n,viewportHeight:r}}))),n),y(S(r,I(i),L((function(e){var t=e[0];return $({},t,{top:t.top+e[1].offsetTop})}))),a),{useWindowScroll:s,customScrollParent:c,windowScrollContainerState:o,windowViewportRect:i,windowScrollTo:a}}),l(le)),wt=["done","behavior"],Ct=F((function(e){var t=e[0],r=t.sizes,n=t.totalCount,o=t.gap,i=e[1],a=i.scrollTop,s=i.viewportHeight,c=i.headerHeight,l=i.scrollingInProgress,u=e[2].scrollToIndex,d=w();return y(S(d,I(r,s,n,c,a,o),L((function(e){var t=e[0],r=e[1],n=e[2],o=e[3],i=e[4],a=e[5],s=e[6],c=t.done,u=t.behavior,d=G(t,wt),h=null,f=Me(t,r,o-1),p=qe(f,r.offsetTree,s)+i;return pa+n&&(h=$({},d,{behavior:u,align:"end"})),h?c&&b(S(l,A(1),D((function(e){return!1===e}))),c):c&&c(),h})),D((function(e){return null!==e}))),u),{scrollIntoView:d}}),l(He,le,Ze,lt,re),{singleton:!0}),xt=["listState","topItemsIndexes"],Et=F((function(e){return $({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])}),l(it,ut,Ye,dt,ft,vt,yt,bt,Ct)),kt=F((function(e){var t=e[0],r=t.totalCount,n=t.sizeRanges,o=t.fixedItemSize,i=t.defaultItemSize,a=t.trackItemSizes,s=t.itemSize,c=t.data,l=t.firstItemIndex,u=t.groupIndices,d=t.statefulTotalCount,h=t.gap,f=e[1],p=f.initialTopMostItemIndex,m=f.scrolledToInitialItem,g=e[2],v=e[3],b=e[4],w=b.listState,C=b.topItemsIndexes,x=G(b,xt),E=e[5].scrollToIndex,k=e[7].topItemCount,j=e[8].groupCounts,_=e[9],D=e[10];return y(x.rangeChanged,_.scrollSeekRangeChanged),y(S(_.windowViewportRect,L((function(e){return e.visibleHeight}))),g.viewportHeight),$({totalCount:r,data:c,firstItemIndex:l,sizeRanges:n,initialTopMostItemIndex:p,scrolledToInitialItem:m,topItemsIndexes:C,topItemCount:k,groupCounts:j,fixedItemHeight:o,defaultItemHeight:i,gap:h},v,{statefulTotalCount:d,listState:w,scrollToIndex:E,trackItemSizes:a,itemSize:s,groupIndices:u},x,_,g,D)}),l(He,Ke,le,Xe,lt,Ze,gt,ht,et,Et,re)),St=pt((function(){if("undefined"==typeof document)return"sticky";var e=document.createElement("div");return e.style.position="-webkit-sticky","-webkit-sticky"===e.style.position?"-webkit-sticky":"sticky"}));function jt(e,t){var r=(0,n.useRef)(null),o=(0,n.useCallback)((function(n){if(null!==n&&n.offsetParent){var o,i,a=n.getBoundingClientRect(),s=a.width;if(t){var c=t.getBoundingClientRect(),l=a.top-c.top;o=c.height-Math.max(0,l),i=l+t.scrollTop}else o=window.innerHeight-Math.max(0,a.top),i=a.top+window.pageYOffset;r.current={offsetTop:i,visibleHeight:o,visibleWidth:s},e(r.current)}}),[e,t]),i=ne(o),a=i.callbackRef,s=i.ref,c=(0,n.useCallback)((function(){o(s.current)}),[o,s]);return(0,n.useEffect)((function(){if(t){t.addEventListener("scroll",c);var e=new ResizeObserver(c);return e.observe(t),function(){t.removeEventListener("scroll",c),e.unobserve(t)}}return window.addEventListener("scroll",c),window.addEventListener("resize",c),function(){window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}}),[c,t]),a}var _t=["placeholder"],Dt=["style","children"],Lt=["style","children"];function Tt(e){return e}var Pt=F((function(){var e=C((function(e){return"Item "+e})),t=C(null),r=C((function(e){return"Group "+e})),n=C({}),o=C(Tt),i=C("div"),a=C(f),s=function(e,t){return void 0===t&&(t=null),E(S(n,L((function(t){return t[e]})),_()),t)};return{context:t,itemContent:e,groupContent:r,components:n,computeItemKey:o,headerFooterTag:i,scrollerRef:a,FooterComponent:s("Footer"),HeaderComponent:s("Header"),TopItemListComponent:s("TopItemList"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),GroupComponent:s("Group","div"),ScrollerComponent:s("Scroller","div"),EmptyPlaceholder:s("EmptyPlaceholder"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder")}}));function At(e,t){var r=w();return p(r,(function(){return console.warn("react-virtuoso: You are using a deprecated property. "+t,"color: red;","color: inherit;","color: blue;")})),y(r,e),r}var Rt=F((function(e){var t=e[0],r=e[1],n={item:At(r.itemContent,"Rename the %citem%c prop to %citemContent."),group:At(r.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:At(t.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:At(t.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:At(t.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:w(),maxHeightCacheSize:w(),footer:w(),header:w(),HeaderContainer:w(),FooterContainer:w(),ItemContainer:w(),ScrollContainer:w(),GroupContainer:w(),ListContainer:w(),emptyComponent:w(),scrollSeek:w()};function o(e,t,n){y(S(e,I(r.components),L((function(e){var r,o=e[0],i=e[1];return console.warn("react-virtuoso: "+n+" property is deprecated. Pass components."+t+" instead."),$({},i,((r={})[t]=o,r))}))),r.components)}return p(n.adjustForPrependedItems,(function(){console.warn("react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.","color: red;","color: inherit;","color: blue;")})),p(n.maxHeightCacheSize,(function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")})),p(n.HeaderContainer,(function(){console.warn("react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.")})),p(n.FooterContainer,(function(){console.warn("react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.")})),p(n.scrollSeek,(function(e){var n=e.placeholder,o=G(e,_t);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),m(r.components,$({},v(r.components),{ScrollSeekPlaceholder:n})),m(t.scrollSeekConfiguration,o)})),o(n.footer,"Footer","footer"),o(n.header,"Header","header"),o(n.ItemContainer,"Item","ItemContainer"),o(n.ListContainer,"List","ListContainer"),o(n.ScrollContainer,"Scroller","ScrollContainer"),o(n.emptyComponent,"EmptyPlaceholder","emptyComponent"),o(n.GroupContainer,"Group","GroupContainer"),$({},t,r,n)}),l(kt,Pt)),Ot=function(e){return n.createElement("div",{style:{height:e.height}})},It={position:St(),zIndex:1,overflowAnchor:"none"},Bt={overflowAnchor:"none"},qt=n.memo((function(e){var t=e.showTopList,r=void 0!==t&&t,o=Xt("listState"),i=Jt("sizeRanges"),a=Xt("useWindowScroll"),s=Xt("customScrollParent"),c=Jt("windowScrollContainerState"),l=Jt("scrollContainerState"),u=s||a?c:l,d=Xt("itemContent"),h=Xt("context"),p=Xt("groupContent"),m=Xt("trackItemSizes"),g=ie(i,Xt("itemSize"),m,r?f:u,Xt("log"),Jt("gap"),s).callbackRef,v=n.useState(0),y=v[0],b=v[1];Qt("deviation",(function(e){y!==e&&b(e)}));var w=Xt("EmptyPlaceholder"),C=Xt("ScrollSeekPlaceholder")||Ot,x=Xt("ListComponent"),E=Xt("ItemComponent"),k=Xt("GroupComponent"),S=Xt("computeItemKey"),j=Xt("isSeeking"),_=Xt("groupIndices").length>0,D=Xt("paddingTopAddition"),L=r?{}:{boxSizing:"border-box",paddingTop:o.offsetTop+D,paddingBottom:o.offsetBottom,marginTop:y};return!r&&0===o.totalCount&&w?(0,n.createElement)(w,Nt(w,h)):(0,n.createElement)(x,$({},Nt(x,h),{ref:g,style:L,"data-test-id":r?"virtuoso-top-item-list":"virtuoso-item-list"}),(r?o.topItems:o.items).map((function(e){var t=e.originalIndex,r=S(t+o.firstItemIndex,e.data,h);return j?(0,n.createElement)(C,$({},Nt(C,h),{key:r,index:e.index,height:e.size,type:e.type||"item"},"group"===e.type?{}:{groupIndex:e.groupIndex})):"group"===e.type?(0,n.createElement)(k,$({},Nt(k,h),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:It}),p(e.index)):(0,n.createElement)(E,$({},Nt(E,h),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:Bt}),_?d(e.index,e.groupIndex,e.data,h):d(e.index,e.data,h))})))})),Mt={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},Ft={width:"100%",height:"100%",position:"absolute",top:0},zt={width:"100%",position:St(),top:0};function Nt(e,t){if("string"!=typeof e)return{context:t}}var Ht=n.memo((function(){var e=Xt("HeaderComponent"),t=Jt("headerHeight"),r=Xt("headerFooterTag"),o=oe((function(e){return t(ae(e,"height"))})),i=Xt("context");return e?(0,n.createElement)(r,{ref:o},(0,n.createElement)(e,Nt(e,i))):null})),Vt=n.memo((function(){var e=Xt("FooterComponent"),t=Jt("footerHeight"),r=Xt("headerFooterTag"),o=oe((function(e){return t(ae(e,"height"))})),i=Xt("context");return e?(0,n.createElement)(r,{ref:o},(0,n.createElement)(e,Nt(e,i))):null}));function Ut(e){var t=e.usePublisher,r=e.useEmitter,o=e.useEmitterValue;return n.memo((function(e){var i=e.style,a=e.children,s=G(e,Dt),c=t("scrollContainerState"),l=o("ScrollerComponent"),u=t("smoothScrollTargetReached"),d=o("scrollerRef"),h=o("context"),f=ce(c,u,l,d),p=f.scrollerRef,m=f.scrollByCallback;return r("scrollTo",f.scrollToCallback),r("scrollBy",m),(0,n.createElement)(l,$({ref:p,style:$({},Mt,i),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},s,Nt(l,h)),a)}))}function Zt(e){var t=e.usePublisher,r=e.useEmitter,o=e.useEmitterValue;return n.memo((function(e){var i=e.style,a=e.children,s=G(e,Lt),c=t("windowScrollContainerState"),l=o("ScrollerComponent"),u=t("smoothScrollTargetReached"),d=o("totalListHeight"),h=o("deviation"),p=o("customScrollParent"),m=o("context"),g=ce(c,u,l,f,p),v=g.scrollerRef,y=g.scrollByCallback,b=g.scrollToCallback;return ee((function(){return v.current=p||window,function(){v.current=null}}),[v,p]),r("windowScrollTo",b),r("scrollBy",y),(0,n.createElement)(l,$({style:$({position:"relative"},i,0!==d?{height:d+h}:{}),"data-virtuoso-scroller":!0},s,Nt(l,m)),a)}))}var Wt=function(e){var t=e.children,r=oe(o(Jt("viewportHeight"),(function(e){return ae(e,"height")})));return n.createElement("div",{style:Ft,ref:r,"data-viewport-type":"element"},t)},$t=function(e){var t=e.children,r=jt(Jt("windowViewportRect"),Xt("customScrollParent"));return n.createElement("div",{ref:r,style:Ft,"data-viewport-type":"window"},t)},Gt=function(e){var t=e.children,r=Xt("TopItemListComponent"),o=Xt("headerHeight"),i=$({},zt,{marginTop:o+"px"}),a=Xt("context");return(0,n.createElement)(r||"div",{style:i,context:a},t)},Yt=Z(Rt,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering",item:"item",group:"group",topItems:"topItems",itemHeight:"itemHeight",scrollingStateChange:"scrollingStateChange",maxHeightCacheSize:"maxHeightCacheSize",footer:"footer",header:"header",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",GroupContainer:"GroupContainer",emptyComponent:"emptyComponent",HeaderContainer:"HeaderContainer",FooterContainer:"FooterContainer",scrollSeek:"scrollSeek"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",adjustForPrependedItems:"adjustForPrependedItems",autoscrollToBottom:"autoscrollToBottom"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},n.memo((function(e){var t=Xt("useWindowScroll"),r=Xt("topItemsIndexes").length>0,o=Xt("customScrollParent"),i=o||t?$t:Wt;return n.createElement(o||t?tr:er,$({},e),n.createElement(i,null,n.createElement(Ht,null),n.createElement(qt,null),n.createElement(Vt,null)),r&&n.createElement(Gt,null,n.createElement(qt,{showTopList:!0})))}))),Kt=Yt.Component,Jt=Yt.usePublisher,Xt=Yt.useEmitterValue,Qt=Yt.useEmitter,er=Ut({usePublisher:Jt,useEmitterValue:Xt,useEmitter:Qt}),tr=Zt({usePublisher:Jt,useEmitterValue:Xt,useEmitter:Qt}),rr={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},nr={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},or=Math.round,ir=Math.ceil,ar=Math.floor,sr=Math.min,cr=Math.max;function lr(e,t){return Array.from({length:t-e+1}).map((function(t,r){return{index:r+e}}))}function ur(e,t){return e&&e.column===t.column&&e.row===t.row}var dr=F((function(e){var t=e[0],r=t.overscan,n=t.visibleRange,o=t.listBoundary,i=e[1],a=i.scrollTop,s=i.viewportHeight,c=i.scrollBy,l=i.scrollTo,u=i.smoothScrollTargetReached,d=i.scrollContainerState,h=e[2],f=e[3],p=e[4],m=p.propsReady,g=p.didMount,v=e[5],b=v.windowViewportRect,k=v.windowScrollTo,j=v.useWindowScroll,P=v.customScrollParent,A=v.windowScrollContainerState,R=e[6],O=C(0),B=C(0),F=C(rr),z=C({height:0,width:0}),N=C({height:0,width:0}),H=w(),V=w(),U=C(0),Z=C({row:0,column:0});y(S(g,I(B),D((function(e){return 0!==e[1]})),L((function(e){return{items:lr(0,e[1]-1),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}}))),F),y(S(M(q(O),n,q(Z,ur),q(N,(function(e,t){return e&&e.width===t.width&&e.height===t.height}))),I(z),L((function(e){var t=e[0],r=t[0],n=t[1],o=n[0],i=n[1],a=t[2],s=t[3],c=e[1],l=a.row,u=s.height,d=s.width,h=c.width;if(0===r||0===h)return rr;if(0===d)return nr;var f=pr(h,d,a.column),p=f*ar((o+l)/(u+l)),m=f*ir((i+l)/(u+l))-1;m=cr(0,sr(r-1,m));var g=lr(p=sr(m,cr(0,p)),m),v=hr(c,a,s,g),y=v.top,b=v.bottom,w=ir(r/f);return{items:g,offsetTop:y,offsetBottom:w*u+(w-1)*l-b,top:y,bottom:b,itemHeight:u,itemWidth:d}}))),F),y(S(z,L((function(e){return e.height}))),s),y(S(M(z,N,F,Z),L((function(e){var t=hr(e[0],e[3],e[1],e[2].items);return[t.top,t.bottom]})),_(tt)),o);var W=x(S(q(F),D((function(e){return e.items.length>0})),I(O),D((function(e){var t=e[0].items;return t[t.length-1].index===e[1]-1})),L((function(e){return e[1]-1})),_())),G=x(S(q(F),D((function(e){var t=e.items;return t.length>0&&0===t[0].index})),T(0),_())),Y=x(S(q(F),D((function(e){return e.items.length>0})),L((function(e){var t=e.items;return{startIndex:t[0].index,endIndex:t[t.length-1].index}})),_(rt)));y(Y,f.scrollSeekRangeChanged),y(S(H,I(z,N,O,Z),L((function(e){var t=e[1],r=e[2],n=e[3],o=e[4],i=Ue(e[0]),a=i.align,s=i.behavior,c=i.offset,l=i.index;"LAST"===l&&(l=n-1);var u=fr(t,o,r,l=cr(0,l,sr(n-1,l)));return"end"===a?u=or(u-t.height+r.height):"center"===a&&(u=or(u-t.height/2+r.height/2)),c&&(u+=c),{top:u,behavior:s}}))),l);var K=E(S(F,L((function(e){return e.offsetBottom+e.bottom}))),0);return y(S(b,L((function(e){return{width:e.visibleWidth,height:e.visibleHeight}}))),z),$({totalCount:O,viewportDimensions:z,itemDimensions:N,scrollTop:a,scrollHeight:V,overscan:r,scrollBy:c,scrollTo:l,scrollToIndex:H,smoothScrollTargetReached:u,windowViewportRect:b,windowScrollTo:k,useWindowScroll:j,customScrollParent:P,windowScrollContainerState:A,deviation:U,scrollContainerState:d,initialItemCount:B,gap:Z},f,{gridState:F,totalListHeight:K},h,{startReached:G,endReached:W,rangeChanged:Y,propsReady:m},R)}),l(it,le,Ge,dt,Ye,bt,re));function hr(e,t,r,n){var o=r.height;return void 0===o||0===n.length?{top:0,bottom:0}:{top:fr(e,t,r,n[0].index),bottom:fr(e,t,r,n[n.length-1].index)+o}}function fr(e,t,r,n){var o=pr(e.width,r.width,t.column),i=ar(n/o),a=i*r.height+cr(0,i-1)*t.row;return a>0?a+t.row:a}function pr(e,t,r){return cr(1,ar((e+r)/(t+r)))}var mr=["placeholder"],gr=F((function(){var e=C((function(e){return"Item "+e})),t=C({}),r=C(null),n=C("virtuoso-grid-item"),o=C("virtuoso-grid-list"),i=C(Tt),a=C(f),s=function(e,r){return void 0===r&&(r=null),E(S(t,L((function(t){return t[e]})),_()),r)};return{context:r,itemContent:e,components:t,computeItemKey:i,itemClassName:n,listClassName:o,scrollerRef:a,ListComponent:s("List","div"),ItemComponent:s("Item","div"),ScrollerComponent:s("Scroller","div"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder","div")}})),vr=F((function(e){var t=e[0],r=e[1],n={item:At(r.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:w(),ScrollContainer:w(),ListContainer:w(),emptyComponent:w(),scrollSeek:w()};function o(e,t,n){y(S(e,I(r.components),L((function(e){var r,o=e[0],i=e[1];return console.warn("react-virtuoso: "+n+" property is deprecated. Pass components."+t+" instead."),$({},i,((r={})[t]=o,r))}))),r.components)}return p(n.scrollSeek,(function(e){var n=e.placeholder,o=G(e,mr);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),m(r.components,$({},v(r.components),{ScrollSeekPlaceholder:n})),m(t.scrollSeekConfiguration,o)})),o(n.ItemContainer,"Item","ItemContainer"),o(n.ListContainer,"List","ListContainer"),o(n.ScrollContainer,"Scroller","ScrollContainer"),$({},t,r,n)}),l(dr,gr)),yr=n.memo((function(){var e=Er("gridState"),t=Er("listClassName"),r=Er("itemClassName"),o=Er("itemContent"),i=Er("computeItemKey"),a=Er("isSeeking"),s=xr("scrollHeight"),c=Er("ItemComponent"),l=Er("ListComponent"),u=Er("ScrollSeekPlaceholder"),d=Er("context"),h=xr("itemDimensions"),f=xr("gap"),p=Er("log"),m=oe((function(e){s(e.parentElement.parentElement.scrollHeight);var t=e.firstChild;t&&h(t.getBoundingClientRect()),f({row:_r("row-gap",getComputedStyle(e).rowGap,p),column:_r("column-gap",getComputedStyle(e).columnGap,p)})}));return(0,n.createElement)(l,$({ref:m,className:t},Nt(l,d),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map((function(t){var s=i(t.index);return a?(0,n.createElement)(u,$({key:s},Nt(u,d),{index:t.index,height:e.itemHeight,width:e.itemWidth})):(0,n.createElement)(c,$({},Nt(c,d),{className:r,"data-index":t.index,key:s}),o(t.index,d))})))})),br=function(e){var t=e.children,r=xr("viewportDimensions"),o=oe((function(e){r(e.getBoundingClientRect())}));return n.createElement("div",{style:Ft,ref:o},t)},wr=function(e){var t=e.children,r=jt(xr("windowViewportRect"),Er("customScrollParent"));return n.createElement("div",{ref:r,style:Ft},t)},Cr=Z(vr,{optional:{totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",item:"item",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",scrollSeek:"scrollSeek"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},n.memo((function(e){var t=$({},e),r=Er("useWindowScroll"),o=Er("customScrollParent"),i=o||r?wr:br;return n.createElement(o||r?jr:Sr,$({},t),n.createElement(i,null,n.createElement(yr,null)))}))),xr=(Cr.Component,Cr.usePublisher),Er=Cr.useEmitterValue,kr=Cr.useEmitter,Sr=Ut({usePublisher:xr,useEmitterValue:Er,useEmitter:kr}),jr=Zt({usePublisher:xr,useEmitterValue:Er,useEmitter:kr});function _r(e,t,r){return"normal"===t||null!=t&&t.endsWith("px")||r(e+" was not resolved to pixel value correctly",t,X.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}var Dr=F((function(){var e=C((function(e){return n.createElement("td",null,"Item $",e)})),t=C(null),r=C(null),o=C({}),i=C(Tt),a=C(f),s=function(e,t){return void 0===t&&(t=null),E(S(o,L((function(t){return t[e]})),_()),t)};return{context:t,itemContent:e,fixedHeaderContent:r,components:o,computeItemKey:i,scrollerRef:a,TableComponent:s("Table","table"),TableHeadComponent:s("TableHead","thead"),TableBodyComponent:s("TableBody","tbody"),TableRowComponent:s("TableRow","tr"),ScrollerComponent:s("Scroller","div"),EmptyPlaceholder:s("EmptyPlaceholder"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder"),FillerRow:s("FillerRow")}})),Lr=F((function(e){return $({},e[0],e[1])}),l(kt,Dr)),Tr=function(e){return n.createElement("tr",null,n.createElement("td",{style:{height:e.height}}))},Pr=function(e){return n.createElement("tr",null,n.createElement("td",{style:{height:e.height,padding:0,border:0}}))},Ar=n.memo((function(){var e=qr("listState"),t=Br("sizeRanges"),r=qr("useWindowScroll"),o=qr("customScrollParent"),i=Br("windowScrollContainerState"),a=Br("scrollContainerState"),s=o||r?i:a,c=qr("itemContent"),l=qr("trackItemSizes"),u=ie(t,qr("itemSize"),l,s,qr("log"),void 0,o),d=u.callbackRef,h=u.ref,f=n.useState(0),p=f[0],m=f[1];Mr("deviation",(function(e){p!==e&&(h.current.style.marginTop=e+"px",m(e))}));var g=qr("EmptyPlaceholder"),v=qr("ScrollSeekPlaceholder")||Tr,y=qr("FillerRow")||Pr,b=qr("TableBodyComponent"),w=qr("TableRowComponent"),C=qr("computeItemKey"),x=qr("isSeeking"),E=qr("paddingTopAddition"),k=qr("firstItemIndex"),S=qr("statefulTotalCount"),j=qr("context");if(0===S&&g)return(0,n.createElement)(g,Nt(g,j));var _=e.offsetTop+E+p,D=e.offsetBottom,L=_>0?n.createElement(y,{height:_,key:"padding-top"}):null,T=D>0?n.createElement(y,{height:D,key:"padding-bottom"}):null,P=e.items.map((function(e){var t=e.originalIndex,r=C(t+k,e.data,j);return x?(0,n.createElement)(v,$({},Nt(v,j),{key:r,index:e.index,height:e.size,type:e.type||"item"})):(0,n.createElement)(w,$({},Nt(w,j),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:"none"}}),c(e.index,e.data,j))}));return(0,n.createElement)(b,$({ref:d,"data-test-id":"virtuoso-item-list"},Nt(b,j)),[L].concat(P,[T]))})),Rr=function(e){var t=e.children,r=oe(o(Br("viewportHeight"),(function(e){return ae(e,"height")})));return n.createElement("div",{style:Ft,ref:r,"data-viewport-type":"element"},t)},Or=function(e){var t=e.children,r=jt(Br("windowViewportRect"),qr("customScrollParent"));return n.createElement("div",{ref:r,style:Ft,"data-viewport-type":"window"},t)},Ir=Z(Lr,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},n.memo((function(e){var t=qr("useWindowScroll"),r=qr("customScrollParent"),i=Br("fixedHeaderHeight"),a=qr("fixedHeaderContent"),s=qr("context"),c=oe(o(i,(function(e){return ae(e,"height")}))),l=r||t?zr:Fr,u=r||t?Or:Rr,d=qr("TableComponent"),h=qr("TableHeadComponent"),f=a?n.createElement(h,$({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:c},Nt(h,s)),a()):null;return n.createElement(l,$({},e),n.createElement(u,null,n.createElement(d,$({style:{borderSpacing:0}},Nt(d,s)),[f,n.createElement(Ar,{key:"TableBody"})])))}))),Br=(Ir.Component,Ir.usePublisher),qr=Ir.useEmitterValue,Mr=Ir.useEmitter,Fr=Ut({usePublisher:Br,useEmitterValue:qr,useEmitter:Mr}),zr=Zt({usePublisher:Br,useEmitterValue:qr,useEmitter:Mr}),Nr=Kt},91243:function(e,t,r){"use strict";r.d(t,{CX:function(){return yt},F3:function(){return ye},mH:function(){return Tt},BU:function(){return It}});var n=r(6907),o=r.n(n),i=r(23279),a=r.n(i),s=r(23493),c=r.n(s),l=r(67294);function u(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function d(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function h(e,t){if(e.clientHeightt||i>e&&a=t&&s>=r?i-e-n:a>t&&sr?a-t+o:0}function p(e,t){var r=window,n=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,c="function"==typeof a?a:function(e){return e!==a};if(!u(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,d=[],p=e;u(p)&&c(p);){if((p=p.parentElement)===l){d.push(p);break}null!=p&&p===document.body&&h(p)&&!h(document.documentElement)||null!=p&&h(p,s)&&d.push(p)}for(var m=r.visualViewport?r.visualViewport.width:innerWidth,g=r.visualViewport?r.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),w=b.height,C=b.width,x=b.top,E=b.right,k=b.bottom,S=b.left,j="start"===o||"nearest"===o?x:"end"===o?k:x+w/2,_="center"===i?S+C/2:"end"===i?E:S,D=[],L=0;L=0&&S>=0&&k<=g&&E<=m&&x>=O&&k<=B&&S>=q&&E<=I)return D;var M=getComputedStyle(T),F=parseInt(M.borderLeftWidth,10),z=parseInt(M.borderTopWidth,10),N=parseInt(M.borderRightWidth,10),H=parseInt(M.borderBottomWidth,10),V=0,U=0,Z="offsetWidth"in T?T.offsetWidth-T.clientWidth-F-N:0,W="offsetHeight"in T?T.offsetHeight-T.clientHeight-z-H:0;if(l===T)V="start"===o?j:"end"===o?j-g:"nearest"===o?f(y,y+g,g,z,H,y+j,y+j+w,w):j-g/2,U="start"===i?_:"center"===i?_-m/2:"end"===i?_-m:f(v,v+m,m,F,N,v+_,v+_+C,C),V=Math.max(0,V+y),U=Math.max(0,U+v);else{V="start"===o?j-O-z:"end"===o?j-B+H+W:"nearest"===o?f(O,B,A,z,H+W,j,j+w,w):j-(O+A/2)+W/2,U="start"===i?_-q-F:"center"===i?_-(q+R/2)+Z/2:"end"===i?_-I+N+Z:f(q,I,R,F,N+Z,_,_+C,C);var $=T.scrollLeft,G=T.scrollTop;j+=G-(V=Math.max(0,Math.min(G+V,T.scrollHeight-A+W))),_+=$-(U=Math.max(0,Math.min($+U,T.scrollWidth-R+Z)))}D.push({el:T,top:V,left:U})}return D}function m(e){return e===Object(e)&&0!==Object.keys(e).length}var g=function(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(m(t)&&"function"===typeof t.behavior)return t.behavior(r?p(e,t):[]);if(r){var n=function(e){return!1===e?{block:"end",inline:"nearest"}:m(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach((function(e){var n=e.el,o=e.top,i=e.left;n.scroll&&r?n.scroll({top:o,left:i,behavior:t}):(n.scrollTop=o,n.scrollLeft=i)}))}(p(e,n),n.behavior)}},v=r(77493),y=r(18156),b=r(73935);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var x=0;class E{constructor(){this.id="".concat(x++)}}var k=new WeakMap,S=new WeakMap,j=new WeakMap,_=new WeakMap,D=new WeakMap,L=new WeakMap,T=new WeakMap,P=new WeakMap,A=new WeakMap,R=new WeakMap,O=new WeakMap,I=new WeakMap,B=new WeakMap,q=new WeakMap,M=new WeakMap,F=new WeakMap,z=new WeakMap,N=new WeakMap,H=new WeakMap,V=new WeakMap,U=new WeakMap,Z=Symbol("placeholder"),W=Symbol("mark-placeholder"),$=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,G=e=>Y(e)&&1===e.nodeType,Y=e=>{var t=$(e);return!!t&&e instanceof t.Node},K=e=>{var t=e&&e.anchorNode&&$(e.anchorNode);return!!t&&e instanceof t.Selection},J=e=>Y(e)&&3===e.nodeType,X=(e,t,r)=>{for(var n,{childNodes:o}=e,i=o[t],a=t,s=!1,c=!1;(Y(n=i)&&8===n.nodeType||G(i)&&0===i.childNodes.length||G(i)&&"false"===i.getAttribute("contenteditable"))&&(!s||!c);)a>=o.length?(s=!0,a=t-1,r="backward"):a<0?(c=!0,a=t+1,r="forward"):(i=o[a],t=a,a+="forward"===r?1:-1);return[i,t]},Q=(e,t,r)=>{var[n]=X(e,t,r);return n},ee=e=>{var t="";if(J(e)&&e.nodeValue)return e.nodeValue;if(G(e)){for(var r of Array.from(e.childNodes))t+=ee(r);var n=getComputedStyle(e).getPropertyValue("display");"block"!==n&&"list"!==n&&"BR"!==e.tagName||(t+="\n")}return t},te=/data-slate-fragment="(.+?)"/m,re=(e,t,r)=>{var{target:n}=t;if(G(n)&&n.matches('[contentEditable="false"]'))return!1;var{document:o}=ye.getWindow(e);if(o.contains(n))return ye.hasDOMNode(e,n,{editable:!0});var i=r.find((e=>{var{addedNodes:t,removedNodes:r}=e;for(var o of t)if(o===n||o.contains(n))return!0;for(var i of r)if(i===n||i.contains(n))return!0}));return!(!i||i===t)&&re(e,i,r)},ne=parseInt(l.version.split(".")[0],10)>=17,oe="undefined"!==typeof navigator&&"undefined"!==typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,ie="undefined"!==typeof navigator&&/Mac OS X/.test(navigator.userAgent),ae="undefined"!==typeof navigator&&/Android/.test(navigator.userAgent),se="undefined"!==typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),ce="undefined"!==typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),le="undefined"!==typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),ue="undefined"!==typeof navigator&&/Chrome/i.test(navigator.userAgent),de="undefined"!==typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),he="undefined"!==typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),fe="undefined"!==typeof navigator&&/.*QQBrowser/.test(navigator.userAgent),pe="undefined"!==typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),me="undefined"!==typeof navigator&&/.*Wechat/.test(navigator.userAgent),ge=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),ve=!de&&!le&&"undefined"!==typeof globalThis&&globalThis.InputEvent&&"function"===typeof globalThis.InputEvent.prototype.getTargetRanges,ye={isComposing:e=>!!I.get(e),getWindow(e){var t=j.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey(e,t){var r=P.get(t);return r||(r=new E,P.set(t,r)),r},findPath(e,t){for(var r=[],n=t;;){var o=S.get(n);if(null==o){if(v.ML.isEditor(n))return r;break}var i=k.get(n);if(null==i)break;r.unshift(i),n=o}throw new Error("Unable to find the path for Slate node: ".concat(v.o4.stringify(t)))},findDocumentOrShadowRoot(e){var t=ye.toDOMNode(e,e),r=t.getRootNode();return(r instanceof Document||r instanceof ShadowRoot)&&null!=r.getSelection?r:t.ownerDocument},isFocused:e=>!!O.get(e),isReadOnly:e=>!!R.get(e),blur(e){var t=ye.toDOMNode(e,e),r=ye.findDocumentOrShadowRoot(e);O.set(e,!1),r.activeElement===t&&t.blur()},focus(e){var t=ye.toDOMNode(e,e),r=ye.findDocumentOrShadowRoot(e);O.set(e,!0),r.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){ye.toDOMNode(e,e);var{selection:t}=e,r=ye.findDocumentOrShadowRoot(e).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),t&&v.YR.deselect(e)},hasDOMNode(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:o=!1}=n,i=ye.toDOMNode(e,e);try{r=G(t)?t:t.parentElement}catch(a){if(!a.message.includes('Permission denied to access property "nodeType"'))throw a}return!!r&&(r.closest("[data-slate-editor]")===i&&(!(o&&!r.isContentEditable)||("boolean"===typeof r.isContentEditable&&r.closest('[contenteditable="false"]')===i||!!r.getAttribute("data-slate-zero-width"))))},insertData(e,t){e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),setFragmentData(e,t,r){e.setFragmentData(t,r)},toDOMNode(e,t){var r=A.get(e),n=v.ML.isEditor(t)?_.get(e):null===r||void 0===r?void 0:r.get(ye.findKey(e,t));if(!n)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(v.o4.stringify(t)));return n},toDOMPoint(e,t){var r,[n]=v.ML.node(e,t.path),o=ye.toDOMNode(e,n);v.ML.void(e,{at:t})&&(t={path:t.path,offset:0});for(var i=Array.from(o.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),a=0,s=0;s{var[t,r]=e;if(G(t)&&t.childNodes.length){var n=r===t.childNodes.length,o=n?r-1:r;for([t,o]=X(t,o,n?"backward":"forward"),n=o{ae&&!n&&e.hasAttribute("data-slate-zero-width")&&e.textContent.length>0&&"\ufeff"!==e.textContext?e.textContent.startsWith("\ufeff")&&(e.textContent=e.textContent.slice(1)):e.parentNode.removeChild(e)})),l=b.textContent.length,g=c}}else if(p){for(var w=p.querySelectorAll("[data-slate-leaf]"),C=0;C{l-=e.textContent.length}))):l=1}g&&l===g.textContent.length&&ae&&"z"===g.getAttribute("data-slate-zero-width")&&null!==(u=g.textContent)&&void 0!==u&&u.startsWith("\ufeff")&&(s.hasAttribute("data-slate-zero-width")||se&&null!==(d=g.textContent)&&void 0!==d&&d.endsWith("\n\n"))&&l--}if(ae&&!c&&!n){var E=s.hasAttribute("data-slate-node")?s:s.closest("[data-slate-node]");if(E&&ye.hasDOMNode(e,E,{editable:!0})){var k=ye.toSlateNode(e,E),{path:S,offset:j}=v.ML.start(e,ye.findPath(e,k));return E.querySelector("[data-slate-leaf]")||(j=a),{path:S,offset:j}}}if(!c){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var _=ye.toSlateNode(e,c);return{path:ye.findPath(e,_),offset:l}},toSlateRange(e,t,r){var n,o,i,a,s,{exactMatch:c,suppressThrow:l}=r;if((K(t)?t.anchorNode:t.startContainer)&&(K(t)?(n=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,s=ue&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(n=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,s=t.collapsed)),null==n||null==i||null==o||null==a)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));var u=ye.toSlatePoint(e,[n,o],{exactMatch:c,suppressThrow:l});if(!u)return null;var d=s?u:ye.toSlatePoint(e,[i,a],{exactMatch:c,suppressThrow:l});if(!d)return null;var h={anchor:u,focus:d};return v.e6.isExpanded(h)&&v.e6.isForward(h)&&G(i)&&v.ML.void(e,{at:h.focus,mode:"highest"})&&(h=v.ML.unhangRange(e,h,{voids:!0})),h},hasRange(e,t){var{anchor:r,focus:n}=t;return v.ML.hasPath(e,r.path)&&v.ML.hasPath(e,n.path)},androidScheduleFlush(e){var t;null===(t=M.get(e))||void 0===t||t()},androidPendingDiffs:e=>N.get(e)},be=ge?l.useLayoutEffect:l.useEffect,we=["anchor","focus"],Ce=["anchor","focus"],xe=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every((r=>t.hasOwnProperty(r)&&e[r]===t[r])),Ee=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r{var{isLast:t,leaf:r,parent:n,text:o}=e,i=De(),a=ye.findPath(i,o),s=v.y$.parent(a),c=!0===r[W];return i.isVoid(n)?l.createElement(je,{length:v.NB.string(n).length}):""!==r.text||n.children[n.children.length-1]!==o||i.isInline(n)||""!==v.ML.string(i,s)?""===r.text?l.createElement(je,{isMarkPlaceholder:c}):t&&"\n"===r.text.slice(-1)?l.createElement(Se,{isTrailing:!0,text:r.text}):l.createElement(Se,{text:r.text}):l.createElement(je,{isLineBreak:!0,isMarkPlaceholder:c})},Se=e=>{var{text:t,isTrailing:r=!1}=e,n=(0,l.useRef)(null),o=()=>"".concat(null!==t&&void 0!==t?t:"").concat(r?"\n":"");return be((()=>{var e=o();n.current&&n.current.textContent!==e&&(n.current.textContent=e)})),n.current?l.createElement("span",{"data-slate-string":!0,ref:n}):l.createElement("span",{"data-slate-string":!0,ref:n},o())},je=e=>{var{length:t=0,isLineBreak:r=!1,isMarkPlaceholder:n=!1}=e,o={"data-slate-zero-width":r?"n":"z","data-slate-length":t};return n&&(o["data-slate-mark-placeholder"]=!0),l.createElement("span",Object.assign({},o),ae&&r?null:"\ufeff",r?l.createElement("br",null):null)},_e=(0,l.createContext)(null),De=()=>{var e=(0,l.useContext)(_e);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the component's context.");return e},Le=e=>{var{leaf:t,isLast:r,text:n,parent:o,renderPlaceholder:i,renderLeaf:a=(e=>l.createElement(Pe,Object.assign({},e)))}=e,s=(0,l.useRef)(null),c=De();(0,l.useEffect)((()=>{var e=null===s||void 0===s?void 0:s.current,t=document.querySelector('[data-slate-editor="true"]');if(e&&t)return t.style.minHeight="".concat(e.clientHeight,"px"),D.set(c,e),()=>{t.style.minHeight="auto",D.delete(c)}}),[s,t]);var u=l.createElement(ke,{isLast:r,leaf:t,parent:o,text:n});if(t[Z]){var d={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none"},contentEditable:!1,ref:s}};u=l.createElement(l.Fragment,null,i(d),u)}return a({attributes:{"data-slate-leaf":!0},children:u,leaf:t,text:n})},Te=l.memo(Le,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&v.xv.equals(t.leaf,e.leaf)&&t.leaf[Z]===e.leaf[Z])),Pe=e=>{var{attributes:t,children:r}=e;return l.createElement("span",Object.assign({},t),r)},Ae=e=>{for(var{decorations:t,isLast:r,parent:n,renderPlaceholder:o,renderLeaf:i,text:a}=e,s=De(),c=(0,l.useRef)(null),u=v.xv.decorations(a,t),d=ye.findKey(s,a),h=[],f=0;f{var e=A.get(s);c.current?(null===e||void 0===e||e.set(d,c.current),T.set(a,c.current),L.set(c.current,a)):(null===e||void 0===e||e.delete(d),T.delete(a))})),l.createElement("span",{"data-slate-node":"text",ref:c},h)},Re=l.memo(Ae,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text&&Ee(t.decorations,e.decorations))),Oe=e=>{var{decorations:t,element:r,renderElement:n=(e=>l.createElement(Be,Object.assign({},e))),renderPlaceholder:i,renderLeaf:a,selection:s}=e,c=(0,l.useRef)(null),u=De(),d=Ne(),h=u.isInline(r),f=ye.findKey(u,r),p=Fe({decorations:t,node:r,renderElement:n,renderPlaceholder:i,renderLeaf:a,selection:s}),m={"data-slate-node":"element",ref:c};if(h&&(m["data-slate-inline"]=!0),!h&&v.ML.hasInlines(u,r)){var g=v.NB.string(r),y=o()(g);"rtl"===y&&(m.dir=y)}if(v.ML.isVoid(u,r)){m["data-slate-void"]=!0,!d&&h&&(m.contentEditable=!1);var b=h?"span":"div",[[w]]=v.NB.texts(r);p=l.createElement(b,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},l.createElement(Re,{renderPlaceholder:i,decorations:[],isLast:!1,parent:r,text:w})),k.set(w,0),S.set(w,r)}return be((()=>{var e=A.get(u);c.current?(null===e||void 0===e||e.set(f,c.current),T.set(r,c.current),L.set(c.current,r)):(null===e||void 0===e||e.delete(f),T.delete(r))})),n({attributes:m,children:p,element:r})},Ie=l.memo(Oe,((e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&Ee(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&v.e6.equals(e.selection,t.selection)))),Be=e=>{var{attributes:t,children:r,element:n}=e,o=De().isInline(n)?"span":"div";return l.createElement(o,Object.assign({},t,{style:{position:"relative"}}),r)},qe=(0,l.createContext)((()=>[])),Me=(0,l.createContext)(!1),Fe=e=>{for(var{decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:i,selection:a}=e,s=(0,l.useContext)(qe),c=De(),u=ye.findPath(c,r),d=[],h=v.W_.isElement(r)&&!c.isInline(r)&&v.ML.hasInlines(c,r),f=0;f(0,l.useContext)(ze),He=(0,l.createContext)(null),Ve={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},Ue={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},Ze={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},We=e=>{var t=Ve[e],r=Ue[e],n=Ze[e],o=t&&(0,y.TB)(t),i=r&&(0,y.TB)(r),a=n&&(0,y.TB)(n);return e=>!(!o||!o(e))||(!!(ie&&i&&i(e))||!(ie||!a||!a(e)))},$e={isBold:We("bold"),isCompose:We("compose"),isMoveBackward:We("moveBackward"),isMoveForward:We("moveForward"),isDeleteBackward:We("deleteBackward"),isDeleteForward:We("deleteForward"),isDeleteLineBackward:We("deleteLineBackward"),isDeleteLineForward:We("deleteLineForward"),isDeleteWordBackward:We("deleteWordBackward"),isDeleteWordForward:We("deleteWordForward"),isExtendBackward:We("extendBackward"),isExtendForward:We("extendForward"),isExtendLineBackward:We("extendLineBackward"),isExtendLineForward:We("extendLineForward"),isItalic:We("italic"),isMoveLineBackward:We("moveLineBackward"),isMoveLineForward:We("moveLineForward"),isMoveWordBackward:We("moveWordBackward"),isMoveWordForward:We("moveWordForward"),isRedo:We("redo"),isSoftBreak:We("insertSoftBreak"),isSplitBlock:We("splitBlock"),isTransposeCharacter:We("transposeCharacter"),isUndo:We("undo")},Ge={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class Ye extends l.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var e,{node:t}=this.props;if(!t.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");null===(e=this.mutationObserver)||void 0===e||e.observe(t.current,Ge)}componentDidMount(){var{receivedUserInput:e}=this.props,t=this.context;this.manager=((e,t)=>{var r=[],n=()=>{r=[]};return{registerMutations:n=>{if(t.current){var o=n.filter((t=>re(e,t,n)));r.push(...o)}},restoreDOM:function(){r.reverse().forEach((e=>{"characterData"!==e.type?(e.removedNodes.forEach((t=>{e.target.insertBefore(t,e.nextSibling)})),e.addedNodes.forEach((t=>{e.target.removeChild(t)}))):e.target.textContent=e.oldValue})),n()},clear:n}})(t,e),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var e,t,r,n,o=null===(e=this.mutationObserver)||void 0===e?void 0:e.takeRecords();null!==o&&void 0!==o&&o.length&&(null===(n=this.manager)||void 0===n||n.registerMutations(o));return null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(r=this.manager)||void 0===r||r.restoreDOM(),null}componentDidUpdate(){var e;null===(e=this.manager)||void 0===e||e.clear(),this.observe()}componentWillUnmount(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}render(){return this.props.children}}Ye.contextType=_e;var Ke=ae?Ye:e=>{var{children:t}=e;return l.createElement(l.Fragment,null,t)};function Je(e,t){var{path:r,diff:n}=t;if(!v.ML.hasPath(e,r))return!1;var o=v.NB.get(e,r);if(!v.xv.isText(o))return!1;if(n.start!==o.text.length||0===n.text.length)return o.text.slice(n.start,n.start+n.text.length)===n.text;var i=v.y$.next(r);if(!v.ML.hasPath(e,i))return!1;var a=v.NB.get(e,i);return v.xv.isText(a)&&a.text.startsWith(n.text)}function Xe(e,t){var{start:r,end:n,text:o}=t,i=e.slice(r,n),a=function(e,t){for(var r=Math.min(e.length,t.length),n=0;n1?t-1:0),n=1;ne.slice(0,t.start)+t.text+e.slice(t.end)),e)}(e,t,r),a=Math.max(r.start+r.text.length,t.start+t.text.length+(t.start+t.text.length>r.start?r.text.length:0)-o),s=i.slice(n,a);return Xe(e,{start:n,end:Math.max(t.end,r.end-t.text.length+(t.end-t.start)),text:s})}function et(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}function tt(e,t){var{path:r,offset:n}=t;if(!v.ML.hasPath(e,r))return null;var o=v.NB.get(e,r);if(!v.xv.isText(o))return null;var i=v.ML.above(e,{match:t=>v.ML.isBlock(e,t),at:r});if(!i)return null;for(;n>o.text.length;){var a=v.ML.next(e,{at:r,match:v.xv.isText});if(!a||!v.y$.isDescendant(a[1],i[1]))return null;n-=o.text.length,o=a[0],r=a[1]}return{path:r,offset:n}}function rt(e,t){var r=tt(e,t.anchor);if(!r)return null;if(v.e6.isCollapsed(t))return{anchor:r,focus:r};var n=tt(e,t.focus);return n?{anchor:r,focus:n}:null}function nt(e,t,r){var n=N.get(e),o=null===n||void 0===n?void 0:n.find((e=>{var{path:r}=e;return v.y$.equals(r,t.path)}));if(!o||t.offset<=o.diff.start)return v.E9.transform(t,r,{affinity:"backward"});var{diff:i}=o;if(t.offset<=i.start+i.text.length){var a={path:t.path,offset:i.start},s=v.E9.transform(a,r,{affinity:"backward"});return s?{path:s.path,offset:s.offset+t.offset-i.start}:null}var c={path:t.path,offset:t.offset-i.text.length+i.end-i.start},l=v.E9.transform(c,r,{affinity:"backward"});return l?"split_node"===r.type&&v.y$.equals(r.path,t.path)&&c.offset{var e=V.get(t);if(V.delete(t),e){var{selection:r}=t,n=rt(t,e);!n||r&&v.e6.equals(n,r)||v.YR.select(t,n)}},d=()=>{var e;if(a&&(clearTimeout(a),a=null),s&&(clearTimeout(s),s=null),g()||m()){o||(o=!0,setTimeout((()=>o=!1))),m()&&(o="action");var i=t.selection&&v.ML.rangeRef(t,t.selection,{affinity:"forward"});z.set(t,t.marks),H.get(t),N.get(t);for(var c,d=!(null===(e=N.get(t))||void 0===e||!e.length);c=null===(h=N.get(t))||void 0===h?void 0:h[0];){var h,f,p=F.get(t);void 0!==p&&(F.delete(t),t.marks=p),p&&(l=!0);var y=et(c);t.selection&&v.e6.equals(t.selection,y)||v.YR.select(t,y),c.diff.text?v.ML.insertText(t,c.diff.text):v.ML.deleteFragment(t),N.set(t,null===(f=N.get(t))||void 0===f?void 0:f.filter((e=>{var{id:t}=e;return t!==c.id}))),Je(t,c)||(d=!1,H.delete(t),z.delete(t),o="action",V.delete(t),r.cancel(),n.cancel(),null===i||void 0===i||i.unref())}var b=null===i||void 0===i?void 0:i.unref();if(!b||t.selection&&v.e6.equals(b,t.selection)||v.YR.select(t,b),m())(()=>{var e=H.get(t);if(H.delete(t),e){var r=v.E9.isPoint(e.at)?tt(t,e.at):rt(t,e.at);if(r){var n=v.ML.range(t,r);t.selection&&v.e6.equals(t.selection,n)||v.YR.select(t,r),e.run()}}})();else{d&&r(),r.flush(),n.flush(),u();var w=z.get(t);z.delete(t),void 0!==w&&(t.marks=w)}}else u()},h=()=>{var e=D.get(t);e&&(g()?e.style.visibility="hidden":e.style.removeProperty("visibility"))},f=(e,r)=>{var n,o=null!==(n=N.get(t))&&void 0!==n?n:[];N.set(t,o);var i=v.NB.leaf(t,e),a=o.findIndex((t=>v.y$.equals(t.path,e)));if(a<0)return Xe(i.text,r)&&o.push({path:e,diff:r,id:c++}),void h();var s=Qe(i.text,o[a].diff,r);if(!s)return o.splice(a,1),void h();o[a]=at(at({},o[a]),{},{diff:s})},p=(e,o)=>{V.delete(t),r.cancel(),n.cancel(),m()&&d(),H.set(t,{at:e,run:o}),s=setTimeout(d)},m=()=>!!H.get(t)||!!s,g=()=>{var e;return!(null===(e=N.get(t))||void 0===e||!e.length)};return{flush:d,scheduleFlush:()=>{m()||(s=setTimeout(d))},hasPendingDiffs:g,hasPendingAction:m,isFlushing:()=>o,handleUserSelect:e=>{V.set(t,e),a&&(clearTimeout(a),a=null);var r=e&&(!t.selection||!v.y$.equals(t.selection.anchor.path,null===e||void 0===e?void 0:e.anchor.path));r&&(l=!1),!r&&g()||(a=setTimeout(d,200))},handleCompositionEnd:e=>{i&&clearTimeout(i),i=setTimeout((()=>{I.set(t,!1),d()}),25)},handleCompositionStart:e=>{I.set(t,!0),i&&(clearTimeout(i),i=null)},handleDOMBeforeInput:e=>{var r;a&&(clearTimeout(a),a=null);var{inputType:n}=e,o=null,i=e.dataTransfer||e.data||void 0,[s]=e.getTargetRanges();s&&(o=ye.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0}));var c=ye.getWindow(t).getSelection();if(!o&&c&&(s=c,o=ye.toSlateRange(t,c,{exactMatch:!1,suppressThrow:!0})),o=null!==(r=o)&&void 0!==r?r:t.selection){if(v.e6.isExpanded(o)&&n.startsWith("delete")){var[u,d]=v.e6.edges(o);if(v.NB.leaf(t,u.path).text.length===u.offset&&0===d.offset){var h=v.ML.next(t,{at:u.path,match:v.xv.isText});h&&v.y$.equals(h[1],d.path)&&(o={anchor:d,focus:d})}}if(v.e6.isExpanded(o)&&n.startsWith("delete")){if(v.y$.equals(o.anchor.path,o.focus.path)){var[m,g]=v.e6.edges(o);return f(o.anchor.path,{text:"",end:g.offset,start:m.offset})}var y=n.endsWith("Backward")?"backward":"forward";return p(o,(()=>v.ML.deleteFragment(t,{direction:y})))}switch(n){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return p(o,(()=>v.ML.deleteFragment(t)));case"deleteContent":case"deleteContentForward":var{anchor:b}=o;if(v.e6.isCollapsed(o)){var w=v.NB.leaf(t,b.path);if(b.offsetv.ML.deleteForward(t)));case"deleteContentBackward":var C,{anchor:x}=o;return(K(s)?s.isCollapsed:!(null===(C=s)||void 0===C||!C.collapsed))&&v.e6.isCollapsed(o)&&x.offset>0?f(x.path,{text:"",start:x.offset-1,end:x.offset}):p(o,(()=>v.ML.deleteBackward(t)));case"deleteEntireSoftLine":return p(o,(()=>{v.ML.deleteBackward(t,{unit:"line"}),v.ML.deleteForward(t,{unit:"line"})}));case"deleteHardLineBackward":return p(o,(()=>v.ML.deleteBackward(t,{unit:"block"})));case"deleteSoftLineBackward":return p(o,(()=>v.ML.deleteBackward(t,{unit:"line"})));case"deleteHardLineForward":return p(o,(()=>v.ML.deleteForward(t,{unit:"block"})));case"deleteSoftLineForward":return p(o,(()=>v.ML.deleteForward(t,{unit:"line"})));case"deleteWordBackward":return p(o,(()=>v.ML.deleteBackward(t,{unit:"word"})));case"deleteWordForward":return p(o,(()=>v.ML.deleteForward(t,{unit:"word"})));case"insertLineBreak":return p(o,(()=>v.ML.insertSoftBreak(t)));case"insertParagraph":return p(o,(()=>v.ML.insertBreak(t)));case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("DataTransfer"===(null===i||void 0===i?void 0:i.constructor.name))return p(o,(()=>ye.insertData(t,i)));if("string"===typeof i&&i.includes("\n"))return p(v.e6.end(o),(()=>v.ML.insertSoftBreak(t)));var E=null!==i&&void 0!==i?i:"";if(F.get(t)&&(E=E.replace("\ufeff","")),v.y$.equals(o.anchor.path,o.focus.path)){if(E.endsWith(" ")&&l)return l=!1,st(t),p(o,(()=>v.ML.insertText(t,E)));var[k,S]=v.e6.edges(o);return f(k.path,{start:k.offset,end:S.offset,text:E})}return p(o,(()=>v.ML.insertText(t,E)))}}},handleDomMutations:e=>{var r;g()||m()||e.some((r=>re(t,r,e)))&&(null===(r=U.get(t))||void 0===r||r())},handleInput:()=>{!m()&&g()||d()}}}var lt=["node"];function ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var dt={subtree:!0,childList:!0,characterData:!0};function ht(e){var{node:t}=e,r=C(e,lt);if(!ae)return null;var n=De(),o=function(){var e=(0,l.useRef)(!1);return(0,l.useEffect)((()=>(e.current=!0,()=>{e.current=!1})),[]),e.current}(),[i]=(0,l.useState)((()=>ct(function(e){for(var t=1;tnew MutationObserver(t)));be((()=>{n.takeRecords()})),(0,l.useEffect)((()=>{if(!e.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return n.observe(e.current,r),()=>n.disconnect()}),[])}(t,i.handleDomMutations,dt),M.set(n,i.scheduleFlush),o&&i.flush(),i}var ft=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as"],pt=["text"];function mt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gt(e){for(var t=1;tl.createElement(l.Fragment,null,Fe(e)),yt=e=>{var{autoFocus:t,decorate:r=wt,onDOMBeforeInput:n,placeholder:i,readOnly:s=!1,renderElement:u,renderLeaf:h,renderPlaceholder:f=(e=>l.createElement(bt,Object.assign({},e))),scrollSelectionIntoView:p=Ct,style:m={},as:g="div"}=e,y=C(e,ft),b=(()=>{var e=(0,l.useContext)(He);if(!e)throw new Error("The `useSlate` hook must be used inside the component's context.");var{editor:t}=e;return t})(),[w,x]=(0,l.useState)(!1),E=(0,l.useRef)(null),k=(0,l.useRef)([]),{onUserInput:S,receivedUserInput:D}=function(){var e=De(),t=(0,l.useRef)(!1),r=(0,l.useRef)(0),n=(0,l.useCallback)((()=>{if(!t.current){t.current=!0;var n=ye.getWindow(e);n.cancelAnimationFrame(r.current),r.current=n.requestAnimationFrame((()=>{t.current=!1}))}}),[]);return(0,l.useEffect)((()=>()=>cancelAnimationFrame(r.current)),[]),{receivedUserInput:t,onUserInput:n}}(),[,P]=(0,l.useReducer)((e=>e+1),0);U.set(b,P),R.set(b,s);var A=(0,l.useMemo)((()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1})),[]);(0,l.useEffect)((()=>{E.current&&t&&E.current.focus()}),[t]);var q=(0,l.useCallback)(c()((()=>{if((ae||!ye.isComposing(b))&&(!A.isUpdatingSelection||null!==N&&void 0!==N&&N.isFlushing())&&!A.isDraggingInternally){var e=ye.findDocumentOrShadowRoot(b),{activeElement:t}=e,r=ye.toDOMNode(b,b),n=e.getSelection();if(t===r?(A.latestElement=t,O.set(b,!0)):O.delete(b),!n)return v.YR.deselect(b);var{anchorNode:o,focusNode:i}=n,a=Et(b,o)||kt(b,o),s=Et(b,i)||kt(b,i);if(a&&s){var c=ye.toSlateRange(b,n,{exactMatch:!1,suppressThrow:!0});c&&(ye.isComposing(b)||null!==N&&void 0!==N&&N.hasPendingDiffs()||null!==N&&void 0!==N&&N.isFlushing()?null===N||void 0===N||N.handleUserSelect(c):v.YR.select(b,c))}}}),100),[s]),M=(0,l.useMemo)((()=>a()(q,0)),[q]),N=ht({node:E,onDOMSelectionChange:q,scheduleOnDOMSelectionChange:M});be((()=>{var e;E.current&&(e=$(E.current))?(j.set(b,e),_.set(b,E.current),T.set(b,E.current),L.set(E.current,b)):T.delete(b);var{selection:t}=b,r=ye.findDocumentOrShadowRoot(b).getSelection();if(r&&ye.isFocused(b)&&(null===N||void 0===N||!N.hasPendingAction())){var n=e=>{var n="None"!==r.type;if(t||n){var o=_.get(b),i=!1;if(o.contains(r.anchorNode)&&o.contains(r.focusNode)&&(i=!0),n&&i&&t&&!e){var a=ye.toSlateRange(b,r,{exactMatch:!0,suppressThrow:!0});if(a&&v.e6.equals(a,t)){var s;if(!A.hasMarkPlaceholder)return;var{anchorNode:c}=r;if(null!==c&&void 0!==c&&null!==(s=c.parentElement)&&void 0!==s&&s.hasAttribute("data-slate-mark-placeholder"))return}}if(!t||ye.hasRange(b,t)){A.isUpdatingSelection=!0;var l=t&&ye.toDOMRange(b,t);return l?(v.e6.isBackward(t)?r.setBaseAndExtent(l.endContainer,l.endOffset,l.startContainer,l.startOffset):r.setBaseAndExtent(l.startContainer,l.startOffset,l.endContainer,l.endOffset),p(b,l)):r.removeAllRanges(),l}b.selection=ye.toSlateRange(b,r,{exactMatch:!1,suppressThrow:!0})}},o=n(),i="action"===(null===N||void 0===N?void 0:N.isFlushing());if(ae&&i){var a=null,s=requestAnimationFrame((()=>{if(i){var e=e=>{try{ye.toDOMNode(b,b).focus(),n(e)}catch(d){}};e(),a=setTimeout((()=>{e(!0),A.isUpdatingSelection=!1}))}}));return()=>{cancelAnimationFrame(s),a&&clearTimeout(a)}}setTimeout((()=>{o&&se&&ye.toDOMNode(b,b).focus();A.isUpdatingSelection=!1}))}}));var H=(0,l.useCallback)((e=>{if(S(),!s&&Et(b,e.target)&&!jt(e,n)){var t;if(N)return N.handleDOMBeforeInput(e);M.flush(),q.flush();var{selection:r}=b,{inputType:o}=e,i=e.dataTransfer||e.data||void 0,a="insertCompositionText"===o||"deleteCompositionText"===o;if(a&&ye.isComposing(b))return;var c=!1;if("insertText"===o&&r&&v.e6.isCollapsed(r)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==r.anchor.offset){var l,u;c=!0,b.marks&&(c=!1);var{anchor:d}=r,[h,f]=ye.toDOMPoint(b,d),p=null===(l=h.parentElement)||void 0===l?void 0:l.closest("a"),m=ye.getWindow(b);if(c&&p&&ye.hasDOMNode(b,p)){var g,y=null===m||void 0===m?void 0:m.document.createTreeWalker(p,NodeFilter.SHOW_TEXT).lastChild();y===h&&(null===(g=y.textContent)||void 0===g?void 0:g.length)===f&&(c=!1)}if(c&&h.parentElement&&"pre"===(null===m||void 0===m||null===(u=m.getComputedStyle(h.parentElement))||void 0===u?void 0:u.whiteSpace)){var w=v.ML.above(b,{at:d.path,match:e=>v.ML.isBlock(b,e)});w&&v.NB.string(w[0]).includes("\t")&&(c=!1)}}if(!o.startsWith("delete")||o.startsWith("deleteBy")){var[C]=e.getTargetRanges();if(C){var E=ye.toSlateRange(b,C,{exactMatch:!1,suppressThrow:!1});if(!r||!v.e6.equals(r,E)){c=!1;var j=!a&&b.selection&&v.ML.rangeRef(b,b.selection);v.YR.select(b,E),j&&B.set(b,j)}}}if(a)return;if(c||e.preventDefault(),r&&v.e6.isExpanded(r)&&o.startsWith("delete")){var _=o.endsWith("Backward")?"backward":"forward";return void v.ML.deleteFragment(b,{direction:_})}switch(o){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":v.ML.deleteFragment(b);break;case"deleteContent":case"deleteContentForward":v.ML.deleteForward(b);break;case"deleteContentBackward":v.ML.deleteBackward(b);break;case"deleteEntireSoftLine":v.ML.deleteBackward(b,{unit:"line"}),v.ML.deleteForward(b,{unit:"line"});break;case"deleteHardLineBackward":v.ML.deleteBackward(b,{unit:"block"});break;case"deleteSoftLineBackward":v.ML.deleteBackward(b,{unit:"line"});break;case"deleteHardLineForward":v.ML.deleteForward(b,{unit:"block"});break;case"deleteSoftLineForward":v.ML.deleteForward(b,{unit:"line"});break;case"deleteWordBackward":v.ML.deleteBackward(b,{unit:"word"});break;case"deleteWordForward":v.ML.deleteForward(b,{unit:"word"});break;case"insertLineBreak":v.ML.insertSoftBreak(b);break;case"insertParagraph":v.ML.insertBreak(b);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":var{selection:D}=b;D&&v.e6.isExpanded(D)&&v.ML.deleteFragment(b),"insertFromComposition"===o&&ye.isComposing(b)&&(x(!1),I.set(b,!1)),"DataTransfer"===(null===i||void 0===i?void 0:i.constructor.name)?ye.insertData(b,i):"string"===typeof i&&(c?k.current.push((()=>v.ML.insertText(b,i))):v.ML.insertText(b,i))}var L=null===(t=B.get(b))||void 0===t?void 0:t.unref();B.delete(b),!L||b.selection&&v.e6.equals(b.selection,L)||v.YR.select(b,L)}}),[s,n]);be((()=>(E.current&&ve&&E.current.addEventListener("beforeinput",H),()=>{E.current&&ve&&E.current.removeEventListener("beforeinput",H)})),[H]),be((()=>{var e=ye.getWindow(b);return e.document.addEventListener("selectionchange",M),()=>{e.document.removeEventListener("selectionchange",M)}}),[M]);var V=r([b,[]]);if(i&&1===b.children.length&&1===Array.from(v.NB.texts(b)).length&&""===v.NB.string(b)&&!w){var K=v.ML.start(b,[]);V.push({[Z]:!0,placeholder:i,anchor:K,focus:K})}var{marks:J}=b;if(A.hasMarkPlaceholder=!1,b.selection&&v.e6.isCollapsed(b.selection)&&J){var{anchor:X}=b.selection,Q=C(v.NB.leaf(b,X.path),pt);if(!v.xv.equals(Q,J,{loose:!0})){A.hasMarkPlaceholder=!0;var ee=Object.fromEntries(Object.keys(Q).map((e=>[e,null])));V.push(gt(gt(gt({[W]:!0},ee),J),{},{anchor:X,focus:X}))}}return(0,l.useEffect)((()=>{setTimeout((()=>{J?F.set(b,J):F.delete(b)}))})),l.createElement(ze.Provider,{value:s},l.createElement(qe.Provider,{value:r},l.createElement(Ke,{node:E,receivedUserInput:D},l.createElement(g,Object.assign({role:s?void 0:"textbox"},y,{spellCheck:!(!ve&&ge)&&y.spellCheck,autoCorrect:ve||!ge?y.autoCorrect:"false",autoCapitalize:ve||!ge?y.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:E,style:gt({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},m),onBeforeInput:(0,l.useCallback)((e=>{if(!ve&&!s&&!St(e,y.onBeforeInput)&&Et(b,e.target)&&(e.preventDefault(),!ye.isComposing(b))){var t=e.data;v.ML.insertText(b,t)}}),[s]),onInput:(0,l.useCallback)((e=>{if(N)N.handleInput();else{for(var t of k.current)t();k.current=[]}}),[]),onBlur:(0,l.useCallback)((e=>{if(!s&&!A.isUpdatingSelection&&Et(b,e.target)&&!St(e,y.onBlur)){var t=ye.findDocumentOrShadowRoot(b);if(A.latestElement!==t.activeElement){var{relatedTarget:r}=e;if(r!==ye.toDOMNode(b,b)&&(!G(r)||!r.hasAttribute("data-slate-spacer"))){if(null!=r&&Y(r)&&ye.hasDOMNode(b,r)){var n=ye.toSlateNode(b,r);if(v.W_.isElement(n)&&!b.isVoid(n))return}if(ce){var o=t.getSelection();null===o||void 0===o||o.removeAllRanges()}O.delete(b)}}}}),[s,y.onBlur]),onClick:(0,l.useCallback)((e=>{if(xt(b,e.target)&&!St(e,y.onClick)&&Y(e.target)){var t=ye.toSlateNode(b,e.target),r=ye.findPath(b,t);if(!v.ML.hasPath(b,r)||v.NB.get(b,r)!==t)return;if(3===e.detail&&r.length>=1){var n=r;if(!v.ML.isBlock(b,t)){var o,i=v.ML.above(b,{match:e=>v.ML.isBlock(b,e),at:r});n=null!==(o=null===i||void 0===i?void 0:i[1])&&void 0!==o?o:r.slice(0,1)}var a=v.ML.range(b,n);return void v.YR.select(b,a)}if(s)return;var c=v.ML.start(b,r),l=v.ML.end(b,r),u=v.ML.void(b,{at:c}),d=v.ML.void(b,{at:l});if(u&&d&&v.y$.equals(u[1],d[1])){var h=v.ML.range(b,c);v.YR.select(b,h)}}}),[s,y.onClick]),onCompositionEnd:(0,l.useCallback)((e=>{if(Et(b,e.target)){if(ye.isComposing(b)&&(x(!1),I.set(b,!1)),null===N||void 0===N||N.handleCompositionEnd(e),St(e,y.onCompositionEnd)||ae)return;if(!ce&&!he&&!oe&&!fe&&!me&&!pe&&e.data){var t=F.get(b);F.delete(b),void 0!==t&&(z.set(b,b.marks),b.marks=t),v.ML.insertText(b,e.data);var r=z.get(b);z.delete(b),void 0!==r&&(b.marks=r)}}}),[y.onCompositionEnd]),onCompositionUpdate:(0,l.useCallback)((e=>{Et(b,e.target)&&!St(e,y.onCompositionUpdate)&&(ye.isComposing(b)||(x(!0),I.set(b,!0)))}),[y.onCompositionUpdate]),onCompositionStart:(0,l.useCallback)((e=>{if(Et(b,e.target)){if(null===N||void 0===N||N.handleCompositionStart(e),St(e,y.onCompositionStart)||ae)return;x(!0);var{selection:t}=b;if(t){if(v.e6.isExpanded(t))return void v.ML.deleteFragment(b);var r=v.ML.above(b,{match:e=>v.ML.isInline(b,e),mode:"highest"});if(r){var[,n]=r;if(v.ML.isEnd(b,t.anchor,n)){var o=v.ML.after(b,n);v.YR.setSelection(b,{anchor:o,focus:o})}}}}}),[y.onCompositionStart]),onCopy:(0,l.useCallback)((e=>{Et(b,e.target)&&!St(e,y.onCopy)&&(e.preventDefault(),ye.setFragmentData(b,e.clipboardData,"copy"))}),[y.onCopy]),onCut:(0,l.useCallback)((e=>{if(!s&&Et(b,e.target)&&!St(e,y.onCut)){e.preventDefault(),ye.setFragmentData(b,e.clipboardData,"cut");var{selection:t}=b;if(t)if(v.e6.isExpanded(t))v.ML.deleteFragment(b);else{var r=v.NB.parent(b,t.anchor.path);v.ML.isVoid(b,r)&&v.YR.delete(b)}}}),[s,y.onCut]),onDragOver:(0,l.useCallback)((e=>{if(xt(b,e.target)&&!St(e,y.onDragOver)){var t=ye.toSlateNode(b,e.target);v.ML.isVoid(b,t)&&e.preventDefault()}}),[y.onDragOver]),onDragStart:(0,l.useCallback)((e=>{if(!s&&xt(b,e.target)&&!St(e,y.onDragStart)){var t=ye.toSlateNode(b,e.target),r=ye.findPath(b,t);if(v.ML.isVoid(b,t)||v.ML.void(b,{at:r,voids:!0})){var n=v.ML.range(b,r);v.YR.select(b,n)}A.isDraggingInternally=!0,ye.setFragmentData(b,e.dataTransfer,"drag")}}),[s,y.onDragStart]),onDrop:(0,l.useCallback)((e=>{if(!s&&xt(b,e.target)&&!St(e,y.onDrop)){e.preventDefault();var t=b.selection,r=ye.findEventRange(b,e),n=e.dataTransfer;v.YR.select(b,r),A.isDraggingInternally&&(!t||v.e6.equals(t,r)||v.ML.void(b,{at:r,voids:!0})||v.YR.delete(b,{at:t})),ye.insertData(b,n),ye.isFocused(b)||ye.focus(b)}A.isDraggingInternally=!1}),[s,y.onDrop]),onDragEnd:(0,l.useCallback)((e=>{!s&&A.isDraggingInternally&&y.onDragEnd&&xt(b,e.target)&&y.onDragEnd(e),A.isDraggingInternally=!1}),[s,y.onDragEnd]),onFocus:(0,l.useCallback)((e=>{if(!s&&!A.isUpdatingSelection&&Et(b,e.target)&&!St(e,y.onFocus)){var t=ye.toDOMNode(b,b),r=ye.findDocumentOrShadowRoot(b);if(A.latestElement=r.activeElement,se&&e.target!==t)return void t.focus();O.set(b,!0)}}),[s,y.onFocus]),onKeyDown:(0,l.useCallback)((e=>{if(!s&&Et(b,e.target)){var{nativeEvent:t}=e;if(ye.isComposing(b)&&!1===t.isComposing&&(I.set(b,!1),x(!1)),St(e,y.onKeyDown)||ye.isComposing(b))return;var{selection:r}=b,n=b.children[null!==r?r.focus.path[0]:0],i="rtl"===o()(v.NB.string(n));if($e.isRedo(t)){e.preventDefault();var a=b;return void("function"===typeof a.redo&&a.redo())}if($e.isUndo(t)){e.preventDefault();var c=b;return void("function"===typeof c.undo&&c.undo())}if($e.isMoveLineBackward(t))return e.preventDefault(),void v.YR.move(b,{unit:"line",reverse:!0});if($e.isMoveLineForward(t))return e.preventDefault(),void v.YR.move(b,{unit:"line"});if($e.isExtendLineBackward(t))return e.preventDefault(),void v.YR.move(b,{unit:"line",edge:"focus",reverse:!0});if($e.isExtendLineForward(t))return e.preventDefault(),void v.YR.move(b,{unit:"line",edge:"focus"});if($e.isMoveBackward(t))return e.preventDefault(),void(r&&v.e6.isCollapsed(r)?v.YR.move(b,{reverse:!i}):v.YR.collapse(b,{edge:"start"}));if($e.isMoveForward(t))return e.preventDefault(),void(r&&v.e6.isCollapsed(r)?v.YR.move(b,{reverse:i}):v.YR.collapse(b,{edge:"end"}));if($e.isMoveWordBackward(t))return e.preventDefault(),r&&v.e6.isExpanded(r)&&v.YR.collapse(b,{edge:"focus"}),void v.YR.move(b,{unit:"word",reverse:!i});if($e.isMoveWordForward(t))return e.preventDefault(),r&&v.e6.isExpanded(r)&&v.YR.collapse(b,{edge:"focus"}),void v.YR.move(b,{unit:"word",reverse:i});if(ve){if((ue||ce)&&r&&($e.isDeleteBackward(t)||$e.isDeleteForward(t))&&v.e6.isCollapsed(r)){var l=v.NB.parent(b,r.anchor.path);if(v.W_.isElement(l)&&v.ML.isVoid(b,l)&&v.ML.isInline(b,l))return e.preventDefault(),void v.ML.deleteBackward(b,{unit:"block"})}}else{if($e.isBold(t)||$e.isItalic(t)||$e.isTransposeCharacter(t))return void e.preventDefault();if($e.isSoftBreak(t))return e.preventDefault(),void v.ML.insertSoftBreak(b);if($e.isSplitBlock(t))return e.preventDefault(),void v.ML.insertBreak(b);if($e.isDeleteBackward(t))return e.preventDefault(),void(r&&v.e6.isExpanded(r)?v.ML.deleteFragment(b,{direction:"backward"}):v.ML.deleteBackward(b));if($e.isDeleteForward(t))return e.preventDefault(),void(r&&v.e6.isExpanded(r)?v.ML.deleteFragment(b,{direction:"forward"}):v.ML.deleteForward(b));if($e.isDeleteLineBackward(t))return e.preventDefault(),void(r&&v.e6.isExpanded(r)?v.ML.deleteFragment(b,{direction:"backward"}):v.ML.deleteBackward(b,{unit:"line"}));if($e.isDeleteLineForward(t))return e.preventDefault(),void(r&&v.e6.isExpanded(r)?v.ML.deleteFragment(b,{direction:"forward"}):v.ML.deleteForward(b,{unit:"line"}));if($e.isDeleteWordBackward(t))return e.preventDefault(),void(r&&v.e6.isExpanded(r)?v.ML.deleteFragment(b,{direction:"backward"}):v.ML.deleteBackward(b,{unit:"word"}));if($e.isDeleteWordForward(t))return e.preventDefault(),void(r&&v.e6.isExpanded(r)?v.ML.deleteFragment(b,{direction:"forward"}):v.ML.deleteForward(b,{unit:"word"}))}}}),[s,y.onKeyDown]),onPaste:(0,l.useCallback)((e=>{s||!Et(b,e.target)||St(e,y.onPaste)||ve&&!(e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length)(e.nativeEvent)||(e.preventDefault(),ye.insertData(b,e.clipboardData))}),[s,y.onPaste])}),l.createElement(vt,{decorations:V,node:b,renderElement:u,renderPlaceholder:f,renderLeaf:h,selection:b.selection})))))},bt=e=>{var{attributes:t,children:r}=e;return l.createElement("span",Object.assign({},t),r)},wt=()=>[],Ct=(e,t)=>{if(!e.selection||e.selection&&v.e6.isCollapsed(e.selection)){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),g(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},xt=(e,t)=>Y(t)&&ye.hasDOMNode(e,t),Et=(e,t)=>Y(t)&&ye.hasDOMNode(e,t,{editable:!0}),kt=(e,t)=>{if(R.get(e))return!1;var r=xt(e,t)&&ye.toSlateNode(e,t);return v.ML.isVoid(e,r)},St=(e,t)=>{if(!t)return!1;var r=t(e);return null!=r?r:e.isDefaultPrevented()||e.isPropagationStopped()},jt=(e,t)=>{if(!t)return!1;var r=t(e);return null!=r?r:e.defaultPrevented},_t=(0,l.createContext)(!1);var Dt=(0,l.createContext)({});var Lt=["editor","children","onChange","value"],Tt=e=>{var{editor:t,children:r,onChange:n,value:o}=e,i=C(e,Lt),a=(0,l.useRef)(!1),[s,c]=l.useState((()=>{if(!v.NB.isNodeList(o))throw new Error("[Slate] value is invalid! Expected a list of elements"+"but got: ".concat(v.o4.stringify(o)));if(!v.ML.isEditor(t))throw new Error("[Slate] editor is invalid! you passed:"+"".concat(v.o4.stringify(t)));return t.children=o,Object.assign(t,i),{v:0,editor:t}})),{selectorContext:u,onChange:d}=function(e){var t=(0,l.useRef)([]).current,r=(0,l.useRef)({editor:e}).current,n=(0,l.useCallback)((e=>{r.editor=e,t.forEach((t=>t(e)))}),[]);return{selectorContext:(0,l.useMemo)((()=>({getSlate:()=>r.editor,addEventListener:e=>(t.push(e),()=>{t.splice(t.indexOf(e),1)})})),[t,r]),onChange:n}}(t),h=(0,l.useCallback)((()=>{n&&n(t.children),c((e=>({v:e.v+1,editor:t}))),d(t)}),[n]);q.set(t,h),(0,l.useEffect)((()=>()=>{q.set(t,(()=>{})),a.current=!0}),[]);var[f,p]=(0,l.useState)(ye.isFocused(t));return(0,l.useEffect)((()=>{p(ye.isFocused(t))})),be((()=>{var e=()=>p(ye.isFocused(t));return ne?(document.addEventListener("focusin",e),document.addEventListener("focusout",e),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",e)}):(document.addEventListener("focus",e,!0),document.addEventListener("blur",e,!0),()=>{document.removeEventListener("focus",e,!0),document.removeEventListener("blur",e,!0)})}),[]),l.createElement(Dt.Provider,{value:u},l.createElement(He.Provider,{value:s},l.createElement(_e.Provider,{value:t},l.createElement(_t.Provider,{value:f},r))))},Pt=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},At=(e,t,r)=>{var n=ye.toDOMRange(e,t).getBoundingClientRect(),o=ye.toDOMRange(e,r).getBoundingClientRect();return Pt(n,o)&&Pt(o,n)};function Rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ot(e){for(var t=1;t{var t=e,{apply:r,onChange:n,deleteBackward:o,addMark:i,removeMark:a}=t;return A.set(t,new WeakMap),t.addMark=(r,n)=>{var o,a;null===(o=M.get(t))||void 0===o||o(),!F.get(t)&&null!==(a=N.get(t))&&void 0!==a&&a.length&&F.set(t,null),z.delete(e),i(r,n)},t.removeMark=r=>{var n;!F.get(t)&&null!==(n=N.get(t))&&void 0!==n&&n.length&&F.set(t,null),z.delete(e),a(r)},t.deleteBackward=r=>{if("line"!==r)return o(r);if(e.selection&&v.e6.isCollapsed(e.selection)){var n=v.ML.above(e,{match:t=>v.ML.isBlock(e,t),at:e.selection});if(n){var[,i]=n,a=v.ML.range(e,i,e.selection.anchor),s=((e,t)=>{var r=v.ML.range(e,v.e6.end(t)),n=Array.from(v.ML.positions(e,{at:t})),o=0,i=n.length,a=Math.floor(i/2);if(At(e,v.ML.range(e,n[o]),r))return v.ML.range(e,n[o],r);if(n.length<2)return v.ML.range(e,n[n.length-1],r);for(;a!==n.length&&a!==o;)At(e,v.ML.range(e,n[a]),r)?i=a:o=a,a=Math.floor((o+i)/2);return v.ML.range(e,n[i],r)})(t,a);v.e6.isCollapsed(s)||v.YR.delete(e,{at:s})}}},t.apply=n=>{var o=[],i=N.get(e);if(null!==i&&void 0!==i&&i.length){var a=i.map((e=>function(e,t){var{path:r,diff:n,id:o}=e;switch(t.type){case"insert_text":return!v.y$.equals(t.path,r)||t.offset>=n.end?e:t.offset<=n.start?{diff:{start:t.text.length+n.start,end:t.text.length+n.end,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end+t.text.length,text:n.text},id:o,path:r};case"remove_text":return!v.y$.equals(t.path,r)||t.offset>=n.end?e:t.offset+t.text.length<=n.start?{diff:{start:n.start-t.text.length,end:n.end-t.text.length,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end-t.text.length,text:n.text},id:o,path:r};case"split_node":return!v.y$.equals(t.path,r)||t.position>=n.end?{diff:n,id:o,path:v.y$.transform(r,t,{affinity:"backward"})}:t.position>n.start?{diff:{start:n.start,end:Math.min(t.position,n.end),text:n.text},id:o,path:r}:{diff:{start:n.start-t.position,end:n.end-t.position,text:n.text},id:o,path:v.y$.transform(r,t,{affinity:"forward"})};case"merge_node":return v.y$.equals(t.path,r)?{diff:{start:n.start+t.position,end:n.end+t.position,text:n.text},id:o,path:v.y$.transform(r,t)}:{diff:n,id:o,path:v.y$.transform(r,t)}}var i=v.y$.transform(r,t);return i?{diff:n,path:i,id:o}:null}(e,n))).filter(Boolean);N.set(e,a)}var s=V.get(e);s&&V.set(e,ot(e,s,n));var c=H.get(e);if(c){var l=v.E9.isPoint(null===c||void 0===c?void 0:c.at)?nt(e,c.at,n):ot(e,c.at,n);H.set(e,l?Ot(Ot({},c),{},{at:l}):null)}switch(n.type){case"insert_text":case"remove_text":case"set_node":case"split_node":o.push(...Bt(t,n.path));break;case"set_selection":var u;null===(u=B.get(e))||void 0===u||u.unref(),B.delete(e);break;case"insert_node":case"remove_node":o.push(...Bt(t,v.y$.parent(n.path)));break;case"merge_node":var d=v.y$.previous(n.path);o.push(...Bt(t,d));break;case"move_node":var h=v.y$.common(v.y$.parent(n.path),v.y$.parent(n.newPath));o.push(...Bt(t,h))}for(var[f,p]of(r(n),o)){var[m]=v.ML.node(t,f);P.set(m,p)}},t.setFragmentData=e=>{var{selection:r}=t;if(r){var[n,o]=v.e6.edges(r),i=v.ML.void(t,{at:n.path}),a=v.ML.void(t,{at:o.path});if(!v.e6.isCollapsed(r)||i){var s=ye.toDOMRange(t,r),c=s.cloneContents(),l=c.childNodes[0];if(c.childNodes.forEach((e=>{e.textContent&&""!==e.textContent.trim()&&(l=e)})),a){var[u]=a,d=s.cloneRange(),h=ye.toDOMNode(t,u);d.setEndAfter(h),c=d.cloneContents()}if(i&&(l=c.querySelector("[data-slate-spacer]")),Array.from(c.querySelectorAll("[data-slate-zero-width]")).forEach((e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""})),J(l)){var f=l.ownerDocument.createElement("span");f.style.whiteSpace="pre",f.appendChild(l),c.appendChild(f),l=f}var p=t.getFragment(),m=JSON.stringify(p),g=window.btoa(encodeURIComponent(m));l.setAttribute("data-slate-fragment",g),e.setData("application/x-slate-fragment",g);var y=c.ownerDocument.createElement("div");return y.appendChild(c),y.setAttribute("hidden","true"),c.ownerDocument.body.appendChild(y),e.setData("text/html",y.innerHTML),e.setData("text/plain",ee(y)),c.ownerDocument.body.removeChild(y),e}}},t.insertData=e=>{t.insertFragmentData(e)||t.insertTextData(e)},t.insertFragmentData=e=>{var r=e.getData("application/x-slate-fragment")||(e=>{var t=e.getData("text/html"),[,r]=t.match(te)||[];return r})(e);if(r){var n=decodeURIComponent(window.atob(r)),o=JSON.parse(n);return t.insertFragment(o),!0}return!1},t.insertTextData=e=>{var r=e.getData("text/plain");if(r){var n=r.split(/\r\n|\r|\n/),o=!1;for(var i of n)o&&v.YR.splitNodes(t,{always:!0}),t.insertText(i),o=!0;return!0}return!1},t.onChange=()=>{b.unstable_batchedUpdates((()=>{var e=q.get(t);e&&e(),n()}))},t},Bt=(e,t)=>{var r=[];for(var[n,o]of v.ML.levels(e,{at:t})){var i=ye.findKey(e,n);r.push([o,i])}return r}},82670:function(e,t,r){"use strict";function n(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}r.d(t,{Z:function(){return n}})},12902:function(e,t,r){"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:f(e)?3:0}function c(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===s(e)?e.get(t):e[t]}function u(e,t,r){var n=s(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return z&&e instanceof Map}function f(e){return N&&e instanceof Set}function p(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=G(e);delete t[Z];for(var r=$(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&a(e,(function(e,t){return g(t,!0)}),!0)),e}function v(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=Y[e];return t||n(18,e),t}function w(){return M}function C(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function x(e){E(e),e.p.forEach(S),e.p=null}function E(e){e===M&&(M=e.l)}function k(e){return M={p:[],l:M,h:e,m:!0,_:0}}function S(e){var t=e[Z];0===t.i||1===t.i?t.j():t.O=!0}function j(e,t){t._=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.g||b("ES5").S(t,e,o),o?(r[Z].P&&(x(t),n(4)),i(e)&&(e=_(t,e),t.l||L(t,e)),t.u&&b("Patches").M(r[Z].t,e,t.u,t.s)):e=_(t,r,[]),x(t),t.u&&t.v(t.u,t.s),e!==V?e:void 0}function _(e,t,r){if(y(t))return t;var n=t[Z];if(!n)return a(t,(function(o,i){return D(e,n,t,o,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return L(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=m(n.k):n.o;a(3===n.i?new Set(o):o,(function(t,i){return D(e,n,o,t,i,r)})),L(e,o,!1),r&&e.u&&b("Patches").R(n,r,e.u,e.s)}return n.o}function D(e,t,r,n,a,s){if(o(a)){var l=_(e,a,s&&t&&3!==t.i&&!c(t.D,n)?s.concat(n):void 0);if(u(r,n,l),!o(l))return;e.m=!1}if(i(a)&&!y(a)){if(!e.h.F&&e._<1)return;_(e,a),t&&t.A.l||L(e,a)}}function L(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&g(t,r)}function T(e,t){var r=e[Z];return(r?p(r):e)[t]}function P(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function A(e){e.P||(e.P=!0,e.l&&A(e.l))}function R(e){e.o||(e.o=m(e.t))}function O(e,t,r){var n=h(t)?b("MapSet").N(t,r):f(t)?b("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:w(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=n,i=K;r&&(o=[n],i=J);var a=Proxy.revocable(o,i),s=a.revoke,c=a.proxy;return n.k=c,n.j=s,c}(t,r):b("ES5").J(t,r);return(r?r.A:w()).p.push(n),n}function I(e){return o(e)||n(22,e),function e(t){if(!i(t))return t;var r,n=t[Z],o=s(t);if(n){if(!n.P&&(n.i<4||!b("ES5").K(n)))return n.t;n.I=!0,r=B(t,o),n.I=!1}else r=B(t,o);return a(r,(function(t,o){n&&l(n.t,t)===o||u(r,t,e(o))})),3===o?new Set(r):r}(e)}function B(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}r.d(t,{P2:function(){return te},Uy:function(){return ee},_x:function(){return re},mv:function(){return o}});var q,M,F="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),z="undefined"!=typeof Map,N="undefined"!=typeof Set,H="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,V=F?Symbol.for("immer-nothing"):((q={})["immer-nothing"]=!0,q),U=F?Symbol.for("immer-draftable"):"__$immer_draftable",Z=F?Symbol.for("immer-state"):"__$immer_state",W=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),$="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,G=Object.getOwnPropertyDescriptors||function(e){var t={};return $(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},Y={},K={get:function(e,t){if(t===Z)return e;var r=p(e);if(!c(r,t))return function(e,t,r){var n,o=P(t,r);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!i(n)?n:n===T(e.t,t)?(R(e),e.o[t]=O(e.A.h,n,e)):n},has:function(e,t){return t in p(e)},ownKeys:function(e){return Reflect.ownKeys(p(e))},set:function(e,t,r){var n=P(p(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=T(p(e),t),i=null==o?void 0:o[Z];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(d(r,o)&&(void 0!==r||c(e.t,t)))return!0;R(e),A(e)}return e.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==T(e.t,t)||t in e.t?(e.D[t]=!1,R(e),A(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=p(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},J={};a(K,(function(e,t){J[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),J.deleteProperty=function(e,t){return J.set.call(this,e,t,void 0)},J.set=function(e,t,r){return K.set.call(this,e[0],t,r,e[0])};var X=function(){function e(e){var t=this;this.g=H,this.F=!0,this.produce=function(e,r,o){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var i=b("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),Q=new X,ee=Q.produce,te=(Q.produceWithPatches.bind(Q),Q.setAutoFreeze.bind(Q),Q.setUseProxies.bind(Q),Q.applyPatches.bind(Q),Q.createDraft.bind(Q)),re=Q.finishDraft.bind(Q)},57741:function(e,t,r){"use strict";function n(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))}function o(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function i(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}async function a(e,t={}){const{local:r=!1,version:n="latest",cdnUrl:o,...i}=t,a=function(e,t,r){let n=`https://cdn.jsdelivr.net/npm/emojibase-data@${t}/${e}`;return"function"==typeof r?n=r(e,t):"string"==typeof r&&(n=`${r}/${e}`),n}(e,n,o),s=r?localStorage:sessionStorage,c=`emojibase/${n}/${e}`,l=s.getItem(c);if(l)return Promise.resolve(JSON.parse(l));const u=await fetch(a,{credentials:"omit",mode:"cors",redirect:"error",...i});if(!u.ok)throw new Error("Failed to load Emojibase dataset.");const d=await u.json();try{s.setItem(c,JSON.stringify(d))}catch{}return d}r.d(t,{wU:function(){return at}});const s={discord:"joypixels",slack:"iamcal"};async function c(e,t,r){var n;return a(`${e}/shortcodes/${null!==(n=s[t])&&void 0!==n?n:t}.json`,r)}function l(e,t){if(0===t.length)return e;const r=new Set(e.shortcodes);return t.forEach((t=>{const n=t[e.hexcode];Array.isArray(n)?n.forEach((e=>r.add(e))):n&&r.add(n)})),e.shortcodes=[...r],e.skins&&e.skins.forEach((e=>{l(e,t)})),e}async function u(e,t={}){const{compact:r=!1,flat:n=!1,shortcodes:o=[],...i}=t,s=await a(`${e}/${r?"compact":"data"}.json`,i);let u=[];return o.length>0&&(u=await Promise.all(o.map((t=>{let r;if(t.includes("/")){const[e,n]=t.split("/");r=c(e,n,i)}else r=c(e,t,i);return r.catch((()=>({})))})))),n?function(e,t=[]){const r=[];return e.forEach((e=>{if(e.skins){const{skins:n,...o}=e;r.push(l(o,t)),n.forEach((e=>{const n={...e};o.tags&&(n.tags=[...o.tags]),r.push(l(n,t))}))}else r.push(l(e,t))})),r}(s,u):function(e,t){return 0===t.length||e.forEach((e=>{l(e,t)})),e}(s,u)}async function d(e,t){return a(`${e}/messages.json`,t)}function h(e,t){const r=e.target.closest("[data-emoji]");if(r){const e=t.find((e=>e.emoji===r.dataset.emoji));if(e)return e}return null}function f(e){var t;const r=null===(t=window.matchMedia)||void 0===t?void 0:t.call(window,"(prefers-reduced-motion: reduce)");return e.animate&&!(null==r?void 0:r.matches)}function p(e,t){return e.toLowerCase().includes(t.toLowerCase())}function m(e,t,r,n){return f(n)&&e.animate?e.animate(t,r).finished:Promise.resolve()}function g(e){var t;const r=document.createElement("template");return r.innerHTML=e,null===(t=r.content)||void 0===t?void 0:t.firstElementChild}function v(e){return n(this,void 0,void 0,(function*(){try{return(yield fetch(e,{method:"HEAD"})).headers.get("etag")}catch(n){return null}}))}function y(e,t,r){return n(this,void 0,void 0,(function*(){const n=r||t(e);return yield n.open(),n}))}function b(e,t,r,o,i){return n(this,void 0,void 0,(function*(){const a=yield y(e,t,i),s=yield function(e){return n(this,void 0,void 0,(function*(){const t=(new TextEncoder).encode(e),r=yield crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("")}))}(o);return(yield a.isPopulated())&&!(yield function(e,t){return n(this,void 0,void 0,(function*(){const r=yield e.getHash();return t!==r}))}(a,s))||(yield a.populate({groups:r.groups,emojis:o,hash:s})),a}))}function w(e,t,r,o,i){return n(this,void 0,void 0,(function*(){return r&&o?b(e,t,r,o,i):function(e,t,r){return n(this,void 0,void 0,(function*(){const o=yield y(e,t,r),[i,a]=yield function(e){const{emojisUrl:t,messagesUrl:r}=function(e,t){const r=`https://cdn.jsdelivr.net/npm/emojibase-data@latest/${t}`;return{emojisUrl:`${r}/data.json`,messagesUrl:`${r}/messages.json`}}(0,e);try{return Promise.all([v(t),v(r)])}catch(e){return Promise.all([null,null])}}(e);if(yield o.isPopulated())i&&a&&(yield function(e,t,r){return n(this,void 0,void 0,(function*(){let n;try{n=yield e.getEtags()}catch(e){n={}}const{storedEmojisEtag:o,storedMessagesEtag:i}=n;if(r!==i||t!==o){const[n,o]=yield Promise.all([d(e.locale),u(e.locale)]);yield e.populate({groups:n.groups,emojis:o,emojisEtag:t,messagesEtag:r})}}))}(o,i,a));else{const[t,r]=yield Promise.all([d(e),u(e)]);yield o.populate({groups:t.groups,emojis:r,emojisEtag:i,messagesEtag:a})}return o}))}(e,t,i)}))}class C{constructor(){this.handleKeyDown=this.handleKeyDown.bind(this)}activate(e){this.rootElement=e,this.rootElement.addEventListener("keydown",this.handleKeyDown)}deactivate(){var e;null===(e=this.rootElement)||void 0===e||e.removeEventListener("keydown",this.handleKeyDown)}get focusableElements(){return this.rootElement.querySelectorAll('input, [tabindex="0"]')}get lastFocusableElement(){return this.focusableElements[this.focusableElements.length-1]}get firstFocusableElement(){return this.focusableElements[0]}checkFocus(e,t,r){e.target===t&&(r.focus(),e.preventDefault())}handleKeyDown(e){"Tab"===e.key&&this.checkFocus(e,e.shiftKey?this.firstFocusableElement:this.lastFocusableElement,e.shiftKey?this.lastFocusableElement:this.firstFocusableElement)}}class x{constructor({template:e,classes:t,parent:r}){this.isDestroyed=!1,this.appEvents={},this.uiEvents=[],this.uiElements={},this.ui={},this.template=e,this.classes=t,this.parent=r,this.keyBindingHandler=this.keyBindingHandler.bind(this)}initialize(){this.bindAppEvents()}setCustomEmojis(e){this.customEmojis=e}setEvents(e){this.events=e}setPickerId(e){this.pickerId=e}emit(e,...t){this.events.emit(e,...t)}setI18n(e){this.i18n=e}setRenderer(e){this.renderer=e}setEmojiData(e){this.emojiDataPromise=e,e.then((e=>{this.emojiData=e}))}updateEmojiData(e){this.emojiData=e,this.emojiDataPromise=Promise.resolve(e)}setOptions(e){this.options=e}renderSync(e={}){return this.el=this.template.renderSync(Object.assign({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId},e)),this.postRender(),this.el}render(e={}){return n(this,void 0,void 0,(function*(){return yield this.emojiDataPromise,this.el=yield this.template.renderAsync(Object.assign({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId},e)),this.postRender(),this.el}))}postRender(){this.bindUIElements(),this.bindKeyBindings(),this.bindUIEvents(),this.scheduleShowAnimation()}bindAppEvents(){Object.keys(this.appEvents).forEach((e=>{this.events.on(e,this.appEvents[e],this)})),this.events.on("data:ready",this.updateEmojiData,this)}unbindAppEvents(){Object.keys(this.appEvents).forEach((e=>{this.events.off(e,this.appEvents[e])})),this.events.off("data:ready",this.updateEmojiData)}keyBindingHandler(e){const t=this.keyBindings[e.key];t&&t.call(this,e)}bindKeyBindings(){this.keyBindings&&this.el.addEventListener("keydown",this.keyBindingHandler)}unbindKeyBindings(){this.keyBindings&&this.el.removeEventListener("keydown",this.keyBindingHandler)}bindUIElements(){this.ui=Object.keys(this.uiElements).reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:this.el.querySelector(this.uiElements[t])})),{})}bindUIEvents(){this.uiEvents.forEach((e=>{e.handler=e.handler.bind(this),(e.target?this.ui[e.target]:this.el).addEventListener(e.event,e.handler,e.options)}))}unbindUIEvents(){this.uiEvents.forEach((e=>{(e.target?this.ui[e.target]:this.el).removeEventListener(e.event,e.handler)}))}destroy(){this.unbindAppEvents(),this.unbindUIEvents(),this.unbindKeyBindings(),this.el.remove(),this.isDestroyed=!0}scheduleShowAnimation(){if(this.parent){const e=new MutationObserver((t=>{const[r]=t;"childList"===r.type&&r.addedNodes[0]===this.el&&(f(this.options)&&this.animateShow&&this.animateShow(),e.disconnect)}));e.observe(this.parent,{childList:!0})}}static childEvent(e,t,r,n={}){return{target:e,event:t,handler:r,options:n}}static uiEvent(e,t,r={}){return{event:e,handler:t,options:r}}static byClass(e){return`.${e}`}}function E(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var k={icon:"icons_icon__YUQ3S","icon-small":"icons_icon-small__fEcU6","icon-medium":"icons_icon-medium__e5lKJ","icon-large":"icons_icon-large__t5mwg","icon-2x":"icons_icon-2x__on8is","icon-3x":"icons_icon-3x__RBDYg","icon-4x":"icons_icon-4x__UjvXP","icon-5x":"icons_icon-5x__zRG9K","icon-8x":"icons_icon-8x__PsCPS","icon-10x":"icons_icon-10x__WLjku"};E(".icons_icon__YUQ3S {\n width: 1.25em;\n height: 1em;\n fill: currentColor;\n}\n\n.icons_icon-small__fEcU6 {\n font-size: 0.8em;\n}\n\n.icons_icon-medium__e5lKJ {\n font-size: 1em;\n}\n\n.icons_icon-large__t5mwg {\n font-size: 1.25em;\n}\n\n.icons_icon-2x__on8is {\n font-size: 2em;\n}\n\n.icons_icon-3x__RBDYg {\n font-size: 3em;\n}\n\n.icons_icon-4x__UjvXP {\n font-size: 4em;\n}\n\n.icons_icon-5x__zRG9K {\n font-size: 5em;\n}\n\n.icons_icon-8x__PsCPS {\n font-size: 8em;\n}\n\n.icons_icon-10x__WLjku {\n font-size: 10em;\n}");const S={clock:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',flag:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',frown:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',gamepad:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',lightbulb:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',mug:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',plane:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',robot:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',sad:'\n \n\n \n \n \n \n \n \n \x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e\n \n \n \n \n \n',search:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',smiley:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',symbols:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',tree:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',users:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',warning:'\n \n \n \n \n \n \n \x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e\n \n',xmark:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e'},j={recents:"clock","smileys-emotion":"smiley","people-body":"users","animals-nature":"tree","food-drink":"mug",activities:"gamepad","travel-places":"plane",objects:"lightbulb",symbols:"symbols",flags:"flag",custom:"robot"};function _(e,t){if(!(e in S))return console.warn(`Unknown icon: "${e}"`),document.createElement("div");const r=function(e,t){const r=g(t);return r.dataset.icon=e,r.classList.add(k.icon),r}(e,S[e]);return t&&r.classList.add(k[`icon-${t}`]),r}var D,L,T,P,A,R;class O{constructor(e,t={}){D.add(this),L.set(this,void 0),T.set(this,void 0),i(this,L,e,"f"),i(this,T,t.mode||"sync","f")}renderSync(e={}){const t=g(o(this,L,"f").call(this,e));return o(this,D,"m",R).call(this,t,e),o(this,D,"m",A).call(this,t),o(this,D,"m",P).call(this,t,e),t}renderAsync(e={}){return n(this,void 0,void 0,(function*(){const t=g(o(this,L,"f").call(this,e));return o(this,D,"m",R).call(this,t,e),o(this,D,"m",A).call(this,t),yield o(this,D,"m",P).call(this,t,e),t}))}render(e){return"sync"===o(this,T,"f")?this.renderSync(e):this.renderAsync(e)}}L=new WeakMap,T=new WeakMap,D=new WeakSet,P=function(e,t){return n(this,void 0,void 0,(function*(){const r=e.querySelectorAll("[data-view]"),n=[];for(const e of r){const r=t[e.dataset.view];r?"sync"!==e.dataset.render?n.push(r.render().then((t=>(e.replaceWith(t),t)))):e.replaceWith(r.renderSync()):e.remove()}return Promise.all(n)}))},A=function(e){e.querySelectorAll("i[data-icon]").forEach((e=>{const{icon:t,size:r}=e.dataset;e.replaceWith(_(t,r))}))},R=function(e,t){return e.querySelectorAll("[data-placeholder]").forEach((e=>{const r=e.dataset.placeholder;if(r&&t[r]){const n=t[r];e.replaceWith(...[n].flat())}else console.warn(`Missing placeholder element for key "${r}"`)})),e};var I={imagePlaceholder:"common_imagePlaceholder__FRWLu",placeholder:"common_placeholder__qe-fo",shine:"common_shine__tUVG2"};E('@keyframes common_shine__tUVG2 {\n to {\n transform: translateX(100%);\n }\n}\n.common_imagePlaceholder__FRWLu {\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n}\n\n.common_placeholder__qe-fo {\n background: #DDDBDD;\n position: relative;\n}\n.common_placeholder__qe-fo::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n transform: translateX(-100%);\n background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));\n animation: common_shine__tUVG2 2s infinite;\n content: "";\n}');const B=new O((({classes:e})=>`\n
\n`));class q extends x{constructor({classNames:e}={}){super({template:B,classes:I}),this.classNames=e}load(e){const t=document.createElement("img");this.classNames&&(t.className=this.classNames),t.addEventListener("load",(()=>{this.el.replaceWith(t)}),{once:!0}),Promise.resolve(e).then((e=>t.src=e))}renderSync(){return super.renderSync(),this.classNames&&this.classNames.split(" ").forEach((e=>this.el.classList.add(e))),this.el}}var M={customEmoji:"custom_customEmoji__Kspg6"};E(".custom_customEmoji__Kspg6 {\n width: 1em;\n height: 1em;\n}");const F=new O((({emoji:e})=>`${e}`));class z extends class{renderElement(e){return{content:e}}renderImage(e="",t){const r=new q({classNames:e});return r.renderSync(),{content:r,resolver:()=>(r.load(t()),r.el)}}doRender(e,t,r){if(e.custom)return this.renderCustom(e,t,r);const{content:n,resolver:o}=this.render(e,r),i=n instanceof Element?n:n.el;return o&&o(),i}doEmit(e){return e.custom?this.emitCustom(e):this.emit(e)}emitCustom({url:e,label:t,emoji:r,data:n}){return{url:e,label:t,emoji:r,data:n}}renderCustom(e,t,r=""){const n=[M.customEmoji,r].join(" ").trim(),{content:o,resolver:i}=this.renderImage(n,(()=>e.url)),a=o instanceof Element?o:o.el;return i&&i(),a}}{render(e){return this.renderElement(F.renderSync({emoji:e.emoji}))}emit({emoji:e,hexcode:t,label:r}){return{emoji:e,hexcode:t,label:r}}}E(".themes_lightTheme__mMNem {\n color-scheme: light;\n --accent-color: #4f46e5;\n --background-color: #f9fafb;\n --border-color: #cccccc;\n --category-name-background-color: #f9fafb;\n --category-name-button-color: #999999;\n --category-name-text-color: hsl(214, 30%, 50%);\n --category-tab-active-background-color: rgba(255, 255, 255, 0.6);\n --category-tab-active-color: var(--accent-color);\n --category-tab-color: #666;\n --category-tab-highlight-background-color: rgba(0, 0, 0, 0.15);\n --error-color-dark: hsl(0, 100%, 45%);\n --error-color: hsl(0, 100%, 40%);\n --focus-indicator-background-color: hsl(198, 65%, 85%);\n --focus-indicator-color: #333333;\n --hover-background-color: #c7d2fe;\n --placeholder-background-color: #cccccc;\n --preview-background-color: var(--secondary-background-color);\n --scrollbar-background-color: var(--background-color);\n --scrollbar-color: rgba(0, 0, 0, 0.75);\n --search-background-color: #f9fafb;\n --search-focus-background-color: #ffffff;\n --search-icon-color: #999999;\n --search-placeholder-color: #71717a;\n --secondary-background-color: #e2e8f0;\n --secondary-text-color: #666666;\n --tag-background-color: rgba(162, 190, 245, 0.3);\n --text-color: #000000;\n --variant-popup-background-color: #ffffff;\n}\n\n.themes_darkTheme__qgrZP {\n color-scheme: dark;\n --accent-color: #A580F9;\n --background-color: #333333;\n --border-color: #666666;\n --category-name-background-color: #333333;\n --category-name-button-color: #eeeeee;\n --category-name-text-color: #ffffff;\n --category-tab-active-background-color: #000000;\n --category-tab-active-color: var(--accent-color);\n --category-tab-color: #cccccc;\n --category-tab-highlight-background-color: #4A4A4A;\n --error-color-dark: hsl(0, 7%, 3%);\n --error-color: hsl(0, 30%, 60%);\n --focus-indicator-background-color: hsl(0, 0%, 50%);\n --focus-indicator-color: #999999;\n --hover-background-color: hsla(0, 0%, 40%, 0.85);\n --image-placeholder-color: #ffffff;\n --placeholder-background-color: #666666;\n --search-background-color: #71717a;\n --search-focus-background-color: #52525b;\n --search-icon-color: #cccccc;\n --search-placeholder-color: #d4d4d8;\n --secondary-background-color: #000000 ;\n --secondary-text-color: #999999;\n --tag-background-color: rgba(162, 190, 245, 0.3);\n --text-color: #ffffff;\n --variant-popup-background-color: #333333;\n}\n\n.themes_autoTheme__tik-v {\n color-scheme: light;\n --accent-color: #4f46e5;\n --background-color: #f9fafb;\n --border-color: #cccccc;\n --category-name-background-color: #f9fafb;\n --category-name-button-color: #999999;\n --category-name-text-color: hsl(214, 30%, 50%);\n --category-tab-active-background-color: rgba(255, 255, 255, 0.6);\n --category-tab-active-color: var(--accent-color);\n --category-tab-color: #666;\n --category-tab-highlight-background-color: rgba(0, 0, 0, 0.15);\n --error-color-dark: hsl(0, 100%, 45%);\n --error-color: hsl(0, 100%, 40%);\n --focus-indicator-background-color: hsl(198, 65%, 85%);\n --focus-indicator-color: #333333;\n --hover-background-color: #c7d2fe;\n --placeholder-background-color: #cccccc;\n --preview-background-color: var(--secondary-background-color);\n --scrollbar-background-color: var(--background-color);\n --scrollbar-color: rgba(0, 0, 0, 0.75);\n --search-background-color: #f9fafb;\n --search-focus-background-color: #ffffff;\n --search-icon-color: #999999;\n --search-placeholder-color: #71717a;\n --secondary-background-color: #e2e8f0;\n --secondary-text-color: #666666;\n --tag-background-color: rgba(162, 190, 245, 0.3);\n --text-color: #000000;\n --variant-popup-background-color: #ffffff;\n}\n\n@media (prefers-color-scheme: dark) {\n .themes_autoTheme__tik-v {\n color-scheme: dark;\n --accent-color: #A580F9;\n --background-color: #333333;\n --border-color: #666666;\n --category-name-background-color: #333333;\n --category-name-button-color: #eeeeee;\n --category-name-text-color: #ffffff;\n --category-tab-active-background-color: #000000;\n --category-tab-active-color: var(--accent-color);\n --category-tab-color: #cccccc;\n --category-tab-highlight-background-color: #4A4A4A;\n --error-color-dark: hsl(0, 7%, 3%);\n --error-color: hsl(0, 30%, 60%);\n --focus-indicator-background-color: hsl(0, 0%, 50%);\n --focus-indicator-color: #999999;\n --hover-background-color: hsla(0, 0%, 40%, 0.85);\n --image-placeholder-color: #ffffff;\n --placeholder-background-color: #666666;\n --search-background-color: #71717a;\n --search-focus-background-color: #52525b;\n --search-icon-color: #cccccc;\n --search-placeholder-color: #d4d4d8;\n --secondary-background-color: #000000 ;\n --secondary-text-color: #999999;\n --tag-background-color: rgba(162, 190, 245, 0.3);\n --text-color: #ffffff;\n --variant-popup-background-color: #333333;\n }\n}");const{autoTheme:N,lightTheme:H,darkTheme:V}={lightTheme:"themes_lightTheme__mMNem",darkTheme:"themes_darkTheme__qgrZP",autoTheme:"themes_autoTheme__tik-v"};const U=[(e,t)=>("1F91D"===e.hexcode&&t<14&&(e.skins=[]),e),(e,t)=>(e.skins&&(e.skins=e.skins.filter((e=>!e.version||e.version<=t))),e)];function Z(e,t){return e.filter((e=>null!==function(e,t){return U.some((r=>null===r(e,t)))?null:e}(e,t)))}function W(e){var t;return{emoji:e.emoji,label:e.label,tags:e.tags,skins:null===(t=e.skins)||void 0===t?void 0:t.map((e=>W(e))),order:e.order,custom:!1,hexcode:e.hexcode,version:e.version}}function $(e,t,r){var n;return!(r&&!r.some((t=>t.order===e.group)))&&(p(e.label,t)||(null===(n=e.tags)||void 0===n?void 0:n.some((e=>p(e,t)))))}class G{constructor(e="en"){this.locale=e}}function Y(e){return new K(e)}Y.deleteDatabase=e=>new Promise(((t,r)=>{const n=indexedDB.deleteDatabase(`PicMo-${e}`);n.addEventListener("success",t),n.addEventListener("error",r)}));class K extends G{open(){return n(this,void 0,void 0,(function*(){const e=indexedDB.open(`PicMo-${this.locale}`);return new Promise(((t,r)=>{e.addEventListener("success",(e=>{var r;this.db=null===(r=e.target)||void 0===r?void 0:r.result,t()})),e.addEventListener("error",r),e.addEventListener("upgradeneeded",(e=>n(this,void 0,void 0,(function*(){var t;this.db=null===(t=e.target)||void 0===t?void 0:t.result,this.db.createObjectStore("category",{keyPath:"order"});const r=this.db.createObjectStore("emoji",{keyPath:"emoji"});r.createIndex("category","group"),r.createIndex("version","version"),this.db.createObjectStore("meta")}))))}))}))}delete(){return n(this,void 0,void 0,(function*(){this.close();const e=indexedDB.deleteDatabase(`PicMo-${this.locale}`);yield this.waitForRequest(e)}))}close(){this.db.close()}getEmojiCount(){return n(this,void 0,void 0,(function*(){const e=this.db.transaction("emoji","readonly").objectStore("emoji");return(yield this.waitForRequest(e.count())).target.result}))}getEtags(){return n(this,void 0,void 0,(function*(){const e=this.db.transaction("meta","readonly").objectStore("meta"),[t,r]=yield Promise.all([this.waitForRequest(e.get("emojisEtag")),this.waitForRequest(e.get("messagesEtag"))]);return{storedEmojisEtag:t.target.result,storedMessagesEtag:r.target.result}}))}setMeta(e){return n(this,void 0,void 0,(function*(){const t=this.db.transaction("meta","readwrite"),r=t.objectStore("meta");return new Promise((n=>{t.oncomplete=n,Object.keys(e).filter(Boolean).forEach((t=>{r.put(e[t],t)}))}))}))}getHash(){return n(this,void 0,void 0,(function*(){const e=this.db.transaction("meta","readonly").objectStore("meta");return(yield this.waitForRequest(e.get("hash"))).target.result}))}isPopulated(){return n(this,void 0,void 0,(function*(){const e=this.db.transaction("category","readonly").objectStore("category");return(yield this.waitForRequest(e.count())).target.result>0}))}populate({groups:e,emojis:t,emojisEtag:r,messagesEtag:o,hash:i}){return n(this,void 0,void 0,(function*(){yield this.removeAllObjects("category","emoji");const n=[this.addObjects("category",e),this.addObjects("emoji",t),this.setMeta({emojisEtag:r,messagesEtag:o,hash:i})];yield Promise.all(n)}))}getCategories(e){var t;return n(this,void 0,void 0,(function*(){const r=this.db.transaction("category","readonly").objectStore("category");let n=(yield this.waitForRequest(r.getAll())).target.result.filter((e=>"component"!==e.key));if(e.showRecents&&n.unshift({key:"recents",order:-1}),(null===(t=e.custom)||void 0===t?void 0:t.length)&&n.push({key:"custom",order:10}),e.categories){const t=e.categories;n=n.filter((e=>t.includes(e.key))),n.sort(((e,r)=>t.indexOf(e.key)-t.indexOf(r.key)))}else n.sort(((e,t)=>e.order-t.order));return n}))}getEmojis(e,t){return n(this,void 0,void 0,(function*(){const r=this.db.transaction("emoji","readonly").objectStore("emoji").index("category");return Z((yield this.waitForRequest(r.getAll(e.order))).target.result.filter((e=>e.version<=t)).sort(((e,t)=>null!=e.order&&null!=t.order?e.order-t.order:0)).map(W),t)}))}searchEmojis(e,t,r,o){return n(this,void 0,void 0,(function*(){const n=[];return new Promise(((i,a)=>{const s=this.db.transaction("emoji","readonly").objectStore("emoji").openCursor();s.addEventListener("success",(a=>{var s;const c=null===(s=a.target)||void 0===s?void 0:s.result;if(!c)return i([...Z(n,r),...t.filter((t=>$(t,e)))]);const l=c.value;$(l,e,o)&&l.version<=r&&n.push(W(l)),c.continue()})),s.addEventListener("error",(e=>{a(e)}))}))}))}waitForRequest(e){return n(this,void 0,void 0,(function*(){return new Promise(((t,r)=>{e.onsuccess=t,e.onerror=r}))}))}withTransaction(e,t="readwrite",r){return new Promise(((n,o)=>{const i=this.db.transaction(e,t);i.oncomplete=n,i.onerror=o,r(i)}))}removeAllObjects(...e){return n(this,void 0,void 0,(function*(){const t=this.db.transaction(e,"readwrite"),r=e.map((e=>t.objectStore(e)));yield Promise.all(r.map((e=>this.waitForRequest(e.clear()))))}))}addObjects(e,t){return n(this,void 0,void 0,(function*(){return this.withTransaction(e,"readwrite",(r=>{const n=r.objectStore(e);t.forEach((e=>{n.add(e)}))}))}))}}class J extends class{}{constructor(e){super(),this.storage=e}clear(){this.storage.removeItem("PicMo:recents")}getRecents(e){var t;try{return JSON.parse(null!==(t=this.storage.getItem("PicMo:recents"))&&void 0!==t?t:"[]").slice(0,e)}catch(e){return[]}}addOrUpdateRecent(e,t){const r=[e,...this.getRecents(t).filter((t=>t.hexcode!==e.hexcode))].slice(0,t);try{this.storage.setItem("PicMo:recents",JSON.stringify(r))}catch(e){console.warn("storage is not available, recent emojis will not be saved")}}}class X extends J{constructor(){super(localStorage)}}const Q={dataStore:Y,theme:H,animate:!0,showCategoryTabs:!0,showPreview:!0,showRecents:!0,showSearch:!0,showVariants:!0,emojisPerRow:8,visibleRows:6,emojiVersion:"auto",i18n:{"categories.activities":"Activities","categories.animals-nature":"Animals & Nature","categories.custom":"Custom","categories.flags":"Flags","categories.food-drink":"Food & Drink","categories.objects":"Objects","categories.people-body":"People & Body","categories.recents":"Recently Used","categories.smileys-emotion":"Smileys & Emotion","categories.symbols":"Symbols","categories.travel-places":"Travel & Places","error.load":"Failed to load emojis","recents.clear":"Clear recent emojis","recents.none":"You haven't selected any emojis yet.",retry:"Try again","search.clear":"Clear search","search.error":"Failed to search emojis","search.notFound":"No results found",search:"Search emojis..."},locale:"en",maxRecents:50,custom:[]};var ee,te,re,ne;class oe{constructor(){ee.add(this),te.set(this,new Map)}on(e,t,r){o(this,ee,"m",ne).call(this,e,t,r)}once(e,t,r){o(this,ee,"m",ne).call(this,e,t,r,!0)}off(e,t){const r=o(this,ee,"m",re).call(this,e);o(this,te,"f").set(e,r.filter((e=>e.handler!==t)))}emit(e,...t){o(this,ee,"m",re).call(this,e).forEach((r=>{r.handler.apply(r.context,t),r.once&&this.off(e,r.handler)}))}removeAll(){o(this,te,"f").clear()}}te=new WeakMap,ee=new WeakSet,re=function(e){return o(this,te,"f").has(e)||o(this,te,"f").set(e,[]),o(this,te,"f").get(e)},ne=function(e,t,r,n=!1){o(this,ee,"m",re).call(this,e).push({context:r,handler:t,once:n})};class ie extends oe{}class ae extends oe{}var se={emojiCategory:"EmojiCategory_emojiCategory__7G3mq",categoryName:"EmojiCategory_categoryName__zHcOq",noRecents:"EmojiCategory_noRecents__Pk1Ys",recentEmojis:"EmojiCategory_recentEmojis__CybhN"};E(".EmojiCategory_emojiCategory__7G3mq {\n position: relative;\n}\n\n.EmojiCategory_categoryName__zHcOq {\n font-size: 0.9em;\n padding: 0.5rem;\n margin: 0;\n background: var(--category-name-background-color);\n color: var(--category-name-text-color);\n top: 0;\n z-index: 1;\n display: grid;\n gap: 4px;\n grid-template-columns: auto 1fr auto;\n align-items: center;\n line-height: 1;\n box-sizing: border-box;\n height: var(--category-name-height);\n justify-content: flex-start;\n text-transform: uppercase;\n}\n.EmojiCategory_categoryName__zHcOq button {\n background: transparent;\n border: none;\n display: flex;\n align-items: center;\n cursor: pointer;\n color: var(--category-name-button-color);\n}\n.EmojiCategory_categoryName__zHcOq button:hover {\n opacity: 1;\n}\n\n.EmojiCategory_noRecents__Pk1Ys {\n color: var(--secondary-text-color);\n grid-column: 1/span var(--emojis-per-row);\n font-size: 0.9em;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: calc(var(--emoji-size) * var(--emoji-size-multiplier));\n}\n\n.EmojiCategory_recentEmojis__CybhN[data-empty=true] {\n display: none;\n}\n\n.EmojiCategory_recentEmojis__CybhN[data-empty=false] + div {\n display: none;\n}");class ce extends x{constructor({template:e,category:t,showVariants:r,lazyLoader:n}){super({template:e,classes:se}),this.baseUIElements={categoryName:x.byClass(se.categoryName)},this.category=t,this.showVariants=r,this.lazyLoader=n}setActive(e,t,r){this.emojiContainer.setActive(e,t,r)}}var le=new O((({classes:e,emoji:t})=>`\n \n
\n \n`)),ue={emoji:"Emoji_emoji__iKc1G"};E(".Emoji_emoji__iKc1G {\n background: transparent;\n border: none;\n border-radius: 15px;\n cursor: pointer;\n font-family: var(--emoji-font);\n font-size: var(--emoji-size);\n height: 100%;\n justify-content: center;\n margin: 0;\n overflow: hidden;\n padding: 0;\n width: 100%;\n}\n.Emoji_emoji__iKc1G:hover {\n background: var(--hover-background-color);\n}\n.Emoji_emoji__iKc1G:focus {\n border-radius: 0;\n background: var(--focus-indicator-background-color);\n outline: 1px soldi var(--focus-indicator-color);\n}");class de extends x{constructor({emoji:e,lazyLoader:t,category:r}){super({template:le,classes:ue}),this.emoji=e,this.lazyLoader=t,this.category=r}initialize(){this.uiEvents=[x.uiEvent("focus",this.handleFocus)],super.initialize()}handleFocus(){this.category&&this.events.emit("focus:change",this.category)}activateFocus(e){this.el.tabIndex=0,e&&this.el.focus()}deactivateFocus(){this.el.tabIndex=-1}renderSync(){return super.renderSync({emoji:this.emoji,emojiContent:this.renderer.doRender(this.emoji,this.lazyLoader)})}}class he{constructor(e,t,r=0,n=0,o=!1){this.events=new oe,this.keyHandlers={ArrowLeft:this.focusPrevious.bind(this),ArrowRight:this.focusNext.bind(this),ArrowUp:this.focusUp.bind(this),ArrowDown:this.focusDown.bind(this)},this.rowCount=Math.ceil(t/e),this.columnCount=e,this.focusedRow=r,this.focusedColumn=n,this.emojiCount=t,this.wrap=o,this.handleKeyDown=this.handleKeyDown.bind(this)}destroy(){this.events.removeAll()}on(e,t){this.events.on(e,t)}handleKeyDown(e){e.key in this.keyHandlers&&(e.preventDefault(),this.keyHandlers[e.key]())}setCell(e,t,r=!0){const n=this.getIndex();this.focusedRow=e,void 0!==t&&(this.focusedColumn=Math.min(this.columnCount,t)),(this.focusedRow>=this.rowCount||this.getIndex()>=this.emojiCount)&&(this.focusedRow=this.rowCount-1,this.focusedColumn=this.emojiCount%this.columnCount-1),this.events.emit("focus:change",{from:n,to:this.getIndex(),performFocus:r})}setFocusedIndex(e,t=!0){const r=Math.floor(e/this.columnCount),n=e%this.columnCount;this.setCell(r,n,t)}focusNext(){this.focusedColumn0?this.setCell(this.focusedRow,this.focusedColumn-1):this.focusedRow>0?this.setCell(this.focusedRow-1,this.columnCount-1):this.wrap?this.setCell(this.rowCount-1,this.columnCount-1):this.events.emit("focus:underflow",this.columnCount-1)}focusUp(){this.focusedRow>0?this.setCell(this.focusedRow-1,this.focusedColumn):this.events.emit("focus:underflow",this.focusedColumn)}focusDown(){this.focusedRow`\n
\n
\n
\n`)),pe={emojiContainer:"EmojiContainer_emojiContainer__4SPb5"};E(".EmojiContainer_emojiContainer__4SPb5 {\n display: grid;\n justify-content: space-between;\n gap: 1px;\n padding: 0 0.5em;\n grid-template-columns: repeat(var(--emojis-per-row), calc(var(--emoji-size) * var(--emoji-size-multiplier)));\n grid-auto-rows: calc(var(--emoji-size) * var(--emoji-size-multiplier));\n align-items: center;\n justify-items: center;\n}");class me extends x{constructor({emojis:e,showVariants:t,preview:r=!0,lazyLoader:n,category:o,fullHeight:i=!1}){super({template:fe,classes:pe}),this.fullHeight=!1,this.showVariants=t,this.lazyLoader=n,this.preview=r,this.emojis=e,this.category=o,this.fullHeight=i,this.setFocus=this.setFocus.bind(this),this.triggerNextCategory=this.triggerNextCategory.bind(this),this.triggerPreviousCategory=this.triggerPreviousCategory.bind(this)}initialize(){this.grid=new he(this.options.emojisPerRow,this.emojiCount,0,0,!this.category),this.grid.on("focus:change",this.setFocus),this.grid.on("focus:overflow",this.triggerNextCategory),this.grid.on("focus:underflow",this.triggerPreviousCategory),this.uiEvents=[x.uiEvent("click",this.selectEmoji),x.uiEvent("keydown",this.grid.handleKeyDown)],this.preview&&this.uiEvents.push(x.uiEvent("mouseover",this.showPreview),x.uiEvent("mouseout",this.hidePreview),x.uiEvent("focus",this.showPreview,{capture:!0}),x.uiEvent("blur",this.hidePreview,{capture:!0})),super.initialize()}setFocusedView(e,t){if(e)if("string"==typeof e){const t=this.emojis.findIndex((t=>t.emoji===e));this.grid.setFocusedIndex(t,!1),setTimeout((()=>{var e,r,n,o;const i=this.emojiViews[t].el;i.scrollIntoView();const a=null===(e=i.parentElement)||void 0===e?void 0:e.previousElementSibling;(null===(n=null===(r=i.parentElement)||void 0===r?void 0:r.parentElement)||void 0===n?void 0:n.parentElement).scrollTop-=null!==(o=null==a?void 0:a.offsetHeight)&&void 0!==o?o:0}))}else"first"===e.row||0===e.row?this.grid.setCell(0,e.offset,t):"last"===e.row&&this.grid.setCell(this.grid.getRowCount()-1,e.offset,t)}setActive(e,t,r){var n;e?this.setFocusedView(t,r):null===(n=this.emojiViews[this.grid.getIndex()])||void 0===n||n.deactivateFocus()}renderSync(){return this.emojiViews=this.emojis.map((e=>this.viewFactory.create(de,{emoji:e,category:this.category,lazyLoader:this.lazyLoader,renderer:this.renderer}))),this.emojiElements=this.emojiViews.map((e=>e.renderSync())),super.renderSync({emojis:this.emojiElements,i18n:this.i18n})}destroy(){super.destroy(),this.emojiViews.forEach((e=>e.destroy())),this.grid.destroy()}triggerPreviousCategory(e){this.events.emit("category:previous",e)}triggerNextCategory(e){this.category&&this.events.emit("category:next",e)}setFocus({from:e,to:t,performFocus:r}){var n,o;null===(n=this.emojiViews[e])||void 0===n||n.deactivateFocus(),null===(o=this.emojiViews[t])||void 0===o||o.activateFocus(r)}selectEmoji(e){const t=h(e,this.emojis);t&&this.events.emit("emoji:select",{emoji:t,showVariants:this.showVariants})}showPreview(e){const t=e.target.closest("button"),r=null==t?void 0:t.firstElementChild,n=h(e,this.emojis);n&&this.events.emit("preview:show",n,null==r?void 0:r.cloneNode(!0))}hidePreview(e){h(e,this.emojis)&&this.events.emit("preview:hide")}get emojiCount(){return this.emojis.length}}var ge=new O((({classes:e,category:t,pickerId:r,icon:n,i18n:o})=>`\n
\n

\n \n ${o.get(`categories.${t.key}`,t.message||t.key)}\n

\n
\n
\n`));class ve extends ce{constructor({category:e,showVariants:t,lazyLoader:r,emojiVersion:n}){super({category:e,showVariants:t,lazyLoader:r,template:ge}),this.showVariants=t,this.lazyLoader=r,this.emojiVersion=n}initialize(){this.uiElements=Object.assign({},this.baseUIElements),super.initialize()}render(){const e=Object.create(null,{render:{get:()=>super.render}});return n(this,void 0,void 0,(function*(){yield this.emojiDataPromise;const t=yield this.emojiData.getEmojis(this.category,this.emojiVersion);return this.emojiContainer=this.viewFactory.create(me,{emojis:t,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),e.render.call(this,{category:this.category,emojis:this.emojiContainer,emojiCount:t.length,icon:j[this.category.key]})}))}}class ye extends me{constructor({category:e,emojis:t,preview:r=!0,lazyLoader:n}){super({category:e,emojis:t,showVariants:!1,preview:r,lazyLoader:n})}addOrUpdate(e){return n(this,void 0,void 0,(function*(){const t=this.el.querySelector(`[data-emoji="${e.emoji}"]`);t&&(this.el.removeChild(t),this.emojis=this.emojis.filter((t=>t!==e)));const r=this.viewFactory.create(de,{emoji:e});if(this.el.insertBefore(r.renderSync(),this.el.firstChild),this.emojis=[e,...this.emojis.filter((t=>t!==e))],this.emojis.length>this.options.maxRecents){this.emojis=this.emojis.slice(0,this.options.maxRecents);const e=this.el.childElementCount-this.options.maxRecents;for(let t=0;t`\n
\n

\n \n ${i.get(`categories.${r.key}`,r.message||r.key)}\n

\n
\n
\n
\n
\n ${i.get("recents.none")}\n
\n
\n`),{mode:"async"}),we=new O((({classes:e,category:t,pickerId:r,icon:n,i18n:o})=>`\n
\n

\n \n ${o.get(`categories.${t.key}`,t.message||t.key)}\n

\n
\n
\n`));class Ce{constructor(){this.elements=new Map}lazyLoad(e,t){return this.elements.set(e,t),e}observe(e){if(window.IntersectionObserver){const t=new IntersectionObserver((e=>{e.filter((e=>e.intersectionRatio>0)).map((e=>e.target)).forEach((e=>{const r=this.elements.get(e);null==r||r(),t.unobserve(e)}))}),{root:e});this.elements.forEach(((e,r)=>{t.observe(r)}))}else this.elements.forEach((e=>{e()}))}}var xe={emojis:"EmojiArea_emojis__L4mMq"};E(".EmojiArea_emojis__L4mMq {\n height: var(--emoji-area-height);\n overflow-y: auto;\n position: relative;\n scrollbar-color: var(--scrollbar-color) var(--scrollbar-background-color);\n scrollbar-width: 8px;\n}\n.EmojiArea_emojis__L4mMq::-webkit-scrollbar {\n background: var(--scrollbar-background-color);\n width: 1.1em;\n}\n.EmojiArea_emojis__L4mMq::-webkit-scrollbar-thumb {\n background: var(--scrollbar-color);\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n background-clip: padding-box;\n height: 1em;\n border-radius: 1em;\n}");const Ee=new O((({classes:e})=>`\n
\n
\n
\n`),{mode:"async"}),ke={recents:class extends ce{constructor({category:e,lazyLoader:t,provider:r}){super({category:e,showVariants:!1,lazyLoader:t,template:be}),this.provider=r}initialize(){this.uiElements=Object.assign(Object.assign({},this.baseUIElements),{recents:x.byClass(se.recentEmojis)}),this.appEvents={"recent:add":this.addRecent},super.initialize()}addRecent(e){return n(this,void 0,void 0,(function*(){yield this.emojiContainer.addOrUpdate(e),this.ui.recents.dataset.empty="false"}))}render(){const e=Object.create(null,{render:{get:()=>super.render}});var t;return n(this,void 0,void 0,(function*(){const r=null===(t=this.provider)||void 0===t?void 0:t.getRecents(this.options.maxRecents);return this.emojiContainer=this.viewFactory.create(ye,{emojis:r,showVariants:!1,lazyLoader:this.lazyLoader,category:this.category.key}),yield e.render.call(this,{category:this.category,emojis:this.emojiContainer,emojiCount:r.length,icon:j[this.category.key]}),this.el}))}},custom:class extends ce{constructor({category:e,lazyLoader:t}){super({template:we,showVariants:!1,lazyLoader:t,category:e})}initialize(){this.uiElements=Object.assign({},this.baseUIElements),super.initialize()}render(){const e=Object.create(null,{render:{get:()=>super.render}});return n(this,void 0,void 0,(function*(){return this.emojiContainer=this.viewFactory.create(me,{emojis:this.customEmojis,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),e.render.call(this,{category:this.category,emojis:this.emojiContainer,emojiCount:this.customEmojis.length,icon:j[this.category.key]})}))}}};class Se extends x{constructor({categoryTabs:e,categories:t,emojiVersion:r}){super({template:Ee,classes:xe}),this.selectedCategory=0,this.scrollListenerState="active",this.lazyLoader=new Ce,this.categoryTabs=e,this.categories=t,this.emojiVersion=r,this.handleScroll=function(e,t){let r=null;return()=>{r||(r=window.setTimeout((()=>{e(),r=null}),t))}}(this.handleScroll.bind(this),100)}initialize(){this.appEvents={"category:select":this.handleCategorySelect,"category:previous":this.focusPreviousCategory,"category:next":this.focusNextCategory,"focus:change":this.updateFocusedCategory},this.uiElements={emojis:x.byClass(xe.emojis)},this.uiEvents=[x.uiEvent("scroll",this.handleScroll)],super.initialize()}get focusableEmoji(){return this.el.querySelector('[tabindex="0"]')}render(){const e=Object.create(null,{render:{get:()=>super.render}});return n(this,void 0,void 0,(function*(){this.emojiCategories=this.categories.map(this.createCategory,this);const t={};return this.categories.forEach(((e,r)=>{t[`emojis-${e.key}`]=this.emojiCategories[r]})),yield e.render.call(this,{emojis:yield Promise.all(this.emojiCategories.map((e=>e.render())))}),this.lazyLoader.observe(this.el),window.ResizeObserver&&(this.observer=new ResizeObserver((()=>{const e=this.el.scrollHeight-this.scrollHeight;0===this.el.scrollTop-this.scrollTop&&e>0&&(this.el.scrollTop+=e),this.scrollHeight=this.el.scrollHeight,this.scrollTop=this.el.scrollTop})),this.emojiCategories.forEach((e=>{this.observer.observe(e.el)}))),this.el}))}destroy(){super.destroy(),this.emojiCategories.forEach((e=>{var t;null===(t=this.observer)||void 0===t||t.unobserve(e.el),e.destroy()}))}handleCategorySelect(e,t){this.selectCategory(e,t)}createCategory(e){const t=function(e){return ke[e.key]||ve}(e);return this.viewFactory.create(t,{category:e,showVariants:!0,lazyLoader:this.lazyLoader,emojiVersion:this.emojiVersion,provider:this.options.recentsProvider})}determineInitialCategory(){var e;return this.options.initialCategory&&this.categories.find((e=>e.key===this.options.initialCategory))?this.options.initialCategory:null===(e=this.categories.find((e=>"recents"!==e.key)))||void 0===e?void 0:e.key}determineFocusTarget(e){const t=this.emojiCategories.find((t=>t.category.key===e));return this.options.initialEmoji&&(null==t?void 0:t.el.querySelector(`[data-emoji="${this.options.initialEmoji}"]`))?this.options.initialEmoji:"button"}reset(e=!0){this.events.emit("preview:hide");const t=this.determineInitialCategory();t&&(this.selectCategory(t,{focus:this.determineFocusTarget(t),performFocus:e,scroll:"jump"}),this.selectedCategory=this.getCategoryIndex(t))}getCategoryIndex(e){return this.categories.findIndex((t=>t.key===e))}focusPreviousCategory(e){this.selectedCategory>0&&this.focusCategory(this.selectedCategory-1,{row:"last",offset:null!=e?e:this.options.emojisPerRow})}focusNextCategory(e){this.selectedCategory{var n;return e<(null===(n=this.emojiCategories[r+1])||void 0===n?void 0:n.el.offsetTop)})),n={changeFocusable:!1,performFocus:!1,scroll:!1};0===e?this.categoryTabs.setActiveTab(0,n):Math.floor(e)===Math.floor(t)||r<0?this.categoryTabs.setActiveTab(this.categories.length-1,n):this.categoryTabs.setActiveTab(r,n)}}var je=new O((({classList:e,classes:t,icon:r,message:n})=>`\n\n`)),_e={error:"ErrorMessage_error__7I7y1",icon:"ErrorMessage_icon__4---V","appear-grow":"ErrorMessage_appear-grow__oBenJ",title:"ErrorMessage_title__shDDT",appear:"ErrorMessage_appear__kry-R"};E("@keyframes ErrorMessage_appear__kry-R {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 0.8;\n }\n}\n@keyframes ErrorMessage_appear-grow__oBenJ {\n 0% {\n opacity: 0;\n transform: scale(0.8);\n }\n 100% {\n opacity: 0.8;\n transform: scale(1);\n }\n}\n.ErrorMessage_error__7I7y1 {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n color: var(--secondary-text-color);\n}\n.ErrorMessage_error__7I7y1 .ErrorMessage_icon__4---V {\n opacity: 0.8;\n animation: ErrorMessage_appear-grow__oBenJ 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275);\n --color-primary: var(--error-color);\n --color-secondary: var(--error-color-dark);\n}\n.ErrorMessage_error__7I7y1 .ErrorMessage_title__shDDT {\n animation: ErrorMessage_appear__kry-R 250ms;\n animation-delay: 50ms;\n animation-fill-mode: both;\n}\n.ErrorMessage_error__7I7y1 button {\n padding: 8px 16px;\n cursor: pointer;\n background: var(--background-color);\n border: 1px solid var(--text-color);\n border-radius: 5px;\n color: var(--text-color);\n}\n.ErrorMessage_error__7I7y1 button:hover {\n background: var(--text-color);\n color: var(--background-color);\n}");class De extends x{constructor({message:e,icon:t="warning",template:r=je,className:n}){super({template:r,classes:_e}),this.message=e,this.icon=t,this.className=n}renderSync(){const e=[_e.error,this.className].join(" ").trim();return super.renderSync({message:this.message,icon:this.icon,classList:e})}}E(".DataError_dataError__jyJ0H [data-icon] {\n opacity: 0.8;\n}");var Le=new O((({classList:e,classes:t,icon:r,i18n:n,message:o})=>`\n
\n
\n

${o}

\n \n
\n`));class Te extends De{constructor({message:e}){super({message:e,template:Le,className:"DataError_dataError__jyJ0H"})}initialize(){this.uiElements={retryButton:"button"},this.uiEvents=[x.childEvent("retryButton","click",this.onRetry)],super.initialize()}onRetry(){return n(this,void 0,void 0,(function*(){this.emojiData?yield this.emojiData.delete():yield this.options.dataStore.deleteDatabase(this.options.locale),this.events.emit("reinitialize");const e=yield w(this.options.locale,this.options.dataStore,this.options.messages,this.options.emojiData,this.emojiData);this.viewFactory.setEmojiData(e),this.events.emit("data:ready",e)}))}}var Pe={preview:"Preview_preview__HcFH6",previewEmoji:"Preview_previewEmoji__vjUki",previewName:"Preview_previewName__C79nL",tagList:"Preview_tagList__DielP",tag:"Preview_tag__aUSTM"};E('.Preview_preview__HcFH6 {\n border-top: 1px solid var(--border-color);\n display: grid;\n align-items: center;\n gap: 6px;\n grid-template-columns: auto 1fr;\n grid-template-rows: auto 1fr;\n grid-template-areas: "emoji name" "emoji tags";\n height: var(--emoji-preview-height);\n box-sizing: border-box;\n padding: 0.5em;\n position: relative;\n background: var(--preview-background-color);\n}\n\n.Preview_previewEmoji__vjUki {\n grid-area: emoji;\n font-size: var(--emoji-preview-size);\n font-family: var(--emoji-font);\n width: 1.25em;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.Preview_previewName__C79nL {\n grid-area: name;\n color: var(--text-color);\n font-size: 0.8em;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-weight: 500;\n}\n\n.Preview_tagList__DielP {\n grid-area: tags;\n list-style-type: none;\n display: flex;\n flex-direction: row;\n padding: 0;\n margin: 0;\n font-size: 0.75em;\n overflow: hidden;\n}\n\n.Preview_tag__aUSTM {\n border-radius: 3px;\n background: var(--tag-background-color);\n color: var(--text-color);\n padding: 2px 8px;\n margin-right: 0.25em;\n white-space: nowrap;\n}\n.Preview_tag__aUSTM:last-child {\n margin-right: 0;\n}');const Ae=new O((({classes:e,tag:t})=>`\n
  • ${t}
  • \n`)),Re=new O((({classes:e})=>`\n
    \n
    \n
    \n
      \n
      \n`));class Oe extends x{constructor(){super({template:Re,classes:Pe})}initialize(){this.uiElements={emoji:x.byClass(Pe.previewEmoji),name:x.byClass(Pe.previewName),tagList:x.byClass(Pe.tagList)},this.appEvents={"preview:show":this.showPreview,"preview:hide":this.hidePreview},super.initialize()}showPreview(e,t){if(this.ui.emoji.replaceChildren(t),this.ui.name.textContent=e.label,e.tags){this.ui.tagList.style.display="flex";const t=e.tags.map((e=>Ae.renderSync({tag:e,classes:Pe})));this.ui.tagList.replaceChildren(...t)}}hidePreview(){this.ui.emoji.replaceChildren(),this.ui.name.textContent="",this.ui.tagList.replaceChildren()}}var Ie={searchContainer:"Search_searchContainer__aJW7V",searchField:"Search_searchField__tENKn",clearButton:"Search_clearButton__oFTEY",searchAccessory:"Search_searchAccessory__0rdYO",clearSearchButton:"Search_clearSearchButton__AoDtB",notFound:"Search_notFound__rOdr1"};E(".Search_searchContainer__aJW7V {\n display: flex;\n height: var(--search-height);\n box-sizing: border-box;\n padding: 0 8px;\n position: relative;\n}\n\n.Search_searchField__tENKn {\n background: var(--search-background-color);\n border-radius: 3px;\n border: none;\n box-sizing: border-box;\n color: var(--text-color);\n font-size: 0.9em;\n outline: none;\n padding-right: 2em;\n padding: 0.5em 2.25em 0.5em 0.5em;\n width: 100%;\n}\n.Search_searchField__tENKn:focus {\n background: var(--search-focus-background-color);\n}\n.Search_searchField__tENKn::placeholder {\n color: var(--search-placeholder-color);\n}\n\n.Search_clearButton__oFTEY {\n border: 0;\n color: var(--search-icon-color);\n background: transparent;\n cursor: pointer;\n}\n\n.Search_searchAccessory__0rdYO {\n color: var(--search-icon-color);\n height: 100%;\n position: absolute;\n right: 1em;\n top: 0;\n width: 1.25rem;\n display: flex;\n align-items: center;\n}\n.Search_searchAccessory__0rdYO svg {\n fill: var(--search-icon-color);\n}\n\n.Search_clearSearchButton__AoDtB {\n cursor: pointer;\n border: none;\n background: transparent;\n color: var(--search-icon-color);\n font-size: 1em;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n padding: 0;\n}\n\n.Search_notFound__rOdr1 [data-icon] {\n fill: #f3e265;\n}");const Be=new O((({classes:e,i18n:t})=>`\n \n`)),qe=new O((({classes:e,i18n:t})=>`\n
      \n \n \n
      \n`),{mode:"async"});class Me extends x{constructor({categories:e,emojiVersion:t}){super({template:qe,classes:Ie}),this.categories=e.filter((e=>"recents"!==e.key)),this.emojiVersion=t,this.search=function(e,t){let r=null;return(...n)=>{r&&window.clearTimeout(r),r=window.setTimeout((()=>{e(...n),r=null}),t)}}(this.search.bind(this),100)}initialize(){this.uiElements={searchField:x.byClass(Ie.searchField),searchAccessory:x.byClass(Ie.searchAccessory)},this.uiEvents=[x.childEvent("searchField","keydown",this.onKeyDown),x.childEvent("searchField","input",this.onSearchInput)],super.initialize()}render(){const e=Object.create(null,{render:{get:()=>super.render}});return n(this,void 0,void 0,(function*(){return yield e.render.call(this),this.searchIcon=_("search"),this.notFoundMessage=this.viewFactory.create(De,{message:this.i18n.get("search.notFound"),className:Ie.notFound,icon:"sad"}),this.notFoundMessage.renderSync(),this.errorMessage=this.viewFactory.create(De,{message:this.i18n.get("search.error")}),this.errorMessage.renderSync(),this.clearSearchButton=Be.render({classes:Ie,i18n:this.i18n}),this.clearSearchButton.addEventListener("click",(e=>this.onClearSearch(e))),this.searchField=this.ui.searchField,this.showSearchIcon(),this.el}))}showSearchIcon(){this.showSearchAccessory(this.searchIcon)}showClearSearchButton(){this.showSearchAccessory(this.clearSearchButton)}showSearchAccessory(e){this.ui.searchAccessory.replaceChildren(e)}clear(){this.searchField.value="",this.showSearchIcon()}focus(){this.searchField.focus()}onClearSearch(e){var t;e.stopPropagation(),this.searchField.value="",null===(t=this.resultsContainer)||void 0===t||t.destroy(),this.resultsContainer=null,this.showSearchIcon(),this.events.emit("content:show"),this.searchField.focus()}handleResultsKeydown(e){this.resultsContainer&&"Escape"===e.key&&this.onClearSearch(e)}onKeyDown(e){var t;"Escape"===e.key&&this.searchField.value?this.onClearSearch(e):"Enter"!==e.key&&"ArrowDown"!==e.key||!this.resultsContainer||(e.preventDefault(),null===(t=this.resultsContainer.el.querySelector('[tabindex="0"]'))||void 0===t||t.focus())}onSearchInput(e){this.searchField.value?(this.showClearSearchButton(),this.search()):this.onClearSearch(e)}search(){var e;return n(this,void 0,void 0,(function*(){if(this.searchField.value)try{const t=yield this.emojiData.searchEmojis(this.searchField.value,this.customEmojis,this.emojiVersion,this.categories);if(this.events.emit("preview:hide"),t.length){const r=new Ce;this.resultsContainer=this.viewFactory.create(me,{emojis:t,fullHeight:!0,showVariants:!0,lazyLoader:r}),this.resultsContainer.renderSync(),(null===(e=this.resultsContainer)||void 0===e?void 0:e.el)&&(r.observe(this.resultsContainer.el),this.resultsContainer.setActive(!0,{row:0,offset:0},!1),this.resultsContainer.el.addEventListener("keydown",(e=>this.handleResultsKeydown(e))),this.events.emit("content:show",this.resultsContainer))}else this.events.emit("content:show",this.notFoundMessage)}catch(n){this.events.emit("content:show",this.errorMessage)}}))}}var Fe=new O((({classes:e})=>`\n
      \n
      \n
      \n
      \n
      \n`)),ze={variantOverlay:"VariantPopup_variantOverlay__gGwue",variantPopup:"VariantPopup_variantPopup__c2pHF"};E(".VariantPopup_variantOverlay__gGwue {\n background: var(--overlay-background-color);\n border-radius: 5px;\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n z-index: 1;\n}\n\n.VariantPopup_variantPopup__c2pHF {\n background: var(--variant-popup-background-color);\n border-radius: 5px;\n margin: 0.5em;\n padding: 0.5em;\n text-align: center;\n user-select: none;\n display: flex;\n align-items: center;\n justify-content: center;\n}");const Ne={easing:"ease-in-out",duration:250,fill:"both"},He={opacity:[0,1]},Ve={opacity:[0,1],transform:["scale3d(0.8, 0.8, 0.8)","scale3d(1, 1, 1)"]};class Ue extends x{constructor({emoji:e,parent:t}){super({template:Fe,classes:ze,parent:t}),this.focusedEmojiIndex=0,this.focusTrap=new C,this.animateShow=()=>Promise.all([m(this.el,He,Ne,this.options),m(this.ui.popup,Ve,Ne,this.options)]),this.emoji=e}initialize(){this.uiElements={popup:x.byClass(ze.variantPopup)},this.uiEvents=[x.uiEvent("click",this.handleClick),x.uiEvent("keydown",this.handleKeydown)],super.initialize()}animateHide(){const e=Object.assign(Object.assign({},Ne),{direction:"reverse"});return Promise.all([m(this.el,He,e,this.options),m(this.ui.popup,Ve,e,this.options)])}hide(){return n(this,void 0,void 0,(function*(){yield this.animateHide(),this.events.emit("variantPopup:hide")}))}handleKeydown(e){"Escape"===e.key&&(this.hide(),e.stopPropagation())}handleClick(e){this.ui.popup.contains(e.target)||this.hide()}getEmoji(e){return this.renderedEmojis[e]}setFocusedEmoji(e){this.getEmoji(this.focusedEmojiIndex).tabIndex=-1,this.focusedEmojiIndex=e;const t=this.getEmoji(this.focusedEmojiIndex);t.tabIndex=0,t.focus()}destroy(){this.emojiContainer.destroy(),this.focusTrap.deactivate(),super.destroy()}renderSync(){const e=[Object.assign(Object.assign({},this.emoji),{skins:null}),...(this.emoji.skins||[]).map((e=>Object.assign(Object.assign({},e),{label:this.emoji.label,tags:this.emoji.tags})))];return this.emojiContainer=this.viewFactory.create(me,{emojis:e,preview:!1}),super.renderSync({emojis:this.emojiContainer}),e.length`\n
    • \n \n \n
    • \n`)),We={categoryButtons:"CategoryTabs_categoryButtons__dJVp-",categoryButton:"CategoryTabs_categoryButton__AsR9b",categoryTab:"CategoryTabs_categoryTab__fAgQT",categoryTabActive:"CategoryTabs_categoryTabActive__691be"};E(".CategoryTabs_categoryButtons__dJVp- {\n --tab-size-ratio: 1.55;\n --tab-padding: 0.5em;\n --tab-area-width: calc(var(--picker-width) - (var(--tab-padding) * 2));\n --tab-size: calc((var(--tab-area-width) / var(--category-count))) / var(--tab-size-ratio);\n display: grid;\n grid-auto-columns: 1fr;\n grid-auto-flow: column;\n gap: var(--tab-gap);\n justify-content: center;\n margin: 0;\n padding: 0 var(--tab-padding);\n align-items: center;\n height: var(--category-tabs-height);\n box-sizing: border-box;\n position: relative;\n list-style-type: none;\n}\n\n.CategoryTabs_categoryButton__AsR9b {\n border-radius: 5px;\n background: transparent;\n border: 2px solid transparent;\n color: var(--category-tab-color);\n cursor: pointer;\n padding: 2px;\n vertical-align: middle;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 1.2rem;\n font-size: min(var(--tab-size), 1.2rem);\n width: 1.6em;\n height: 1.6em;\n transition: all 100ms;\n}\n.CategoryTabs_categoryButton__AsR9b img {\n width: var(--category-tab-size);\n height: var(--category-tab-size);\n}\n.CategoryTabs_categoryButton__AsR9b:hover {\n background: var(--category-tab-highlight-background-color);\n}\n\n.CategoryTabs_categoryTab__fAgQT {\n display: flex;\n align-items: center;\n justify-content: stretch;\n transition: all 100ms;\n}\n\n.CategoryTabs_categoryTabActive__691be .CategoryTabs_categoryButton__AsR9b {\n color: var(--category-tab-active-color);\n background: linear-gradient(rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.75) 100%), linear-gradient(var(--category-tab-active-color) 0%, var(--category-tab-active-color) 100%);\n border: 2px solid var(--category-tab-active-color);\n}\n.CategoryTabs_categoryTabActive__691be .CategoryTabs_categoryButton__AsR9b:hover {\n background-color: var(--category-tab-active-background-color);\n}");class $e extends x{constructor({category:e,icon:t}){super({template:Ze,classes:We}),this.isActive=!1,this.category=e,this.icon=t}initialize(){this.uiElements={button:x.byClass(We.categoryButton)},this.uiEvents=[x.childEvent("button","click",this.selectCategory),x.childEvent("button","focus",this.selectCategory)],super.initialize()}renderSync(){return super.renderSync({category:this.category,icon:this.icon}),this.ui.button.ariaSelected="false",this.el}setActive(e,t={}){const{changeFocusable:r,performFocus:n,scroll:o}=Object.assign({changeFocusable:!0,performFocus:!0,scroll:!0},t);this.el.classList.toggle(We.categoryTabActive,e),r&&(this.ui.button.tabIndex=e?0:-1,this.ui.button.ariaSelected=e.toString()),e&&n&&(this.ui.button.focus(),o&&this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!1})),this.isActive=e}selectCategory(){this.isActive||this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!0})}}var Ge=new O((({classes:e})=>`\n
        \n
        \n
      \n`));class Ye extends x{constructor({categories:e}){super({template:Ge,classes:We}),this.activeCategoryIndex=0,this.categories=e}initialize(){this.keyBindings={ArrowLeft:this.stepSelectedTab(-1),ArrowRight:this.stepSelectedTab(1)},super.initialize()}renderSync(){return this.tabViews=this.categories.map((e=>this.viewFactory.create($e,{category:e,icon:j[e.key]}))),super.renderSync({tabs:this.tabViews.map((e=>e.renderSync()))}),this.el}get currentCategory(){return this.categories[this.activeCategoryIndex]}get currentTabView(){return this.tabViews[this.activeCategoryIndex]}setActiveTab(e,t={}){if(e===this.activeCategoryIndex)return;const r=this.currentTabView,n=this.tabViews[e];r.setActive(!1,t),n.setActive(!0,t),this.activeCategoryIndex=e}getTargetCategory(e){return e<0?this.categories.length-1:e>=this.categories.length?0:e}stepSelectedTab(e){return()=>{const t=this.activeCategoryIndex+e;this.setActiveTab(this.getTargetCategory(t),{changeFocusable:!0,performFocus:!0})}}}const Ke=[{version:15,emoji:String.fromCodePoint(129768)},{version:14,emoji:String.fromCodePoint(128733)},{version:13,emoji:String.fromCodePoint(129729)},{version:12,emoji:String.fromCodePoint(129449)},{version:11,emoji:String.fromCodePoint(129463)},{version:5,emoji:String.fromCodePoint(129322)},{version:4,emoji:String.fromCodePoint(9877)},{version:3,emoji:String.fromCodePoint(129314)},{version:2,emoji:String.fromCodePoint(128488)},{version:1,emoji:String.fromCodePoint(128512)}];function Je(e,t){return Array.from({length:e},(()=>t)).join("")}var Xe=new O((e=>e.isLoaded?function(e){const{classes:t,theme:r,className:n=""}=e;return`\n
      \n ${function({showHeader:e,classes:t}){return e?`\n
      \n
      \n
      \n
      \n `:""}(e)}\n
      \n
      \n
      \n
      \n
      \n `}(e):function(e){const{emojiCount:t,classes:r,theme:n,className:o}=e;return`\n
      \n ${(({showHeader:t,classes:r})=>t?`\n
      \n ${(({showSearch:e,classes:t})=>e?`\n
      \n
      \n
      \n `:"")(e)}\n ${(({showCategoryTabs:e,classes:t})=>e?`\n
      \n ${Je(10,`
      `)}\n
      \n `:"")(e)}\n
      \n `:"")(e)}\n
      \n
      \n
      \n ${Je(t,`
      `)}\n
      \n
      \n ${(({showPreview:e,classes:t})=>e?`\n
      \n
      \n
      \n
        \n ${Je(3,`
      • `)}\n
      \n
      \n `:"")(e)}\n
      \n `}(e))),Qe={picker:"EmojiPicker_picker__19Vln",skeleton:"EmojiPicker_skeleton__M1a2g",placeholder:"EmojiPicker_placeholder__YDJn-",shine:"EmojiPicker_shine__s-vEs",searchSkeleton:"EmojiPicker_searchSkeleton__gNgdU",searchInput:"EmojiPicker_searchInput__tpaBs",categoryTabsSkeleton:"EmojiPicker_categoryTabsSkeleton__2dISl",categoryTab:"EmojiPicker_categoryTab__mmSVF",contentSkeleton:"EmojiPicker_contentSkeleton__UWfQu",categoryName:"EmojiPicker_categoryName__d2-Ed",emojiGrid:"EmojiPicker_emojiGrid__WnoCI",emoji:"EmojiPicker_emoji__jaN-w",previewSkeleton:"EmojiPicker_previewSkeleton__Bjqkm",previewEmoji:"EmojiPicker_previewEmoji__uOLbA",previewName:"EmojiPicker_previewName__QJ47d",tagList:"EmojiPicker_tagList__tc6nv",tag:"EmojiPicker_tag__gAU6B",overlay:"EmojiPicker_overlay__kDT99",content:"EmojiPicker_content__xT6Kl",fullHeight:"EmojiPicker_fullHeight__7kz2H",pluginContainer:"EmojiPicker_pluginContainer__Gz3yT",header:"EmojiPicker_header__eDZPD"};E('@keyframes EmojiPicker_shine__s-vEs {\n to {\n transform: translateX(100%);\n }\n}\n.EmojiPicker_picker__19Vln {\n --border-radius: 5px;\n --emoji-area-height: calc(\n (var(--row-count) * var(--emoji-size) * var(--emoji-size-multiplier)) + var(--category-name-height)\n );\n --content-height: var(--emoji-area-height);\n --emojis-per-row: 8;\n --row-count: 6;\n --emoji-preview-margin: 4px;\n --emoji-preview-height: calc(var(--emoji-preview-size) + 1em + 1px);\n --emoji-preview-height-full: calc(var(--emoji-preview-height) + var(--emoji-preview-margin));\n --emoji-preview-size: 2.75em;\n --emoji-size: 2rem;\n --emoji-size-multiplier: 1.3;\n --content-margin: 8px;\n --category-tabs-height: calc(1.5em + 4px + 4px + 1px);\n --category-tabs-offset: 8px;\n --category-tab-size: 1.2rem;\n --category-name-height: 2rem;\n --category-name-padding-y: 6px;\n --search-height: 2em;\n --search-margin: 0.5em;\n --search-margin-bottom: 4px;\n --search-height-full: calc(var(--search-height) + var(--search-margin) + var(--search-margin-bottom));\n --overlay-background-color: rgba(0, 0, 0, 0.8);\n --emoji-font: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla",\n "Noto Color Emoji", "EmojiOne Color", "Android Emoji";\n --ui-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;\n --ui-font-size: 16px;\n --picker-width: calc(var(--emojis-per-row) * var(--emoji-size) * var(--emoji-size-multiplier) + 2.75rem);\n background: var(--background-color);\n border-radius: var(--border-radius);\n border: 1px solid var(--border-color);\n font-family: var(--ui-font);\n font-size: var(--ui-font-size);\n overflow: hidden;\n position: relative;\n width: var(--picker-width);\n display: grid;\n gap: 8px;\n}\n.EmojiPicker_picker__19Vln > * {\n font-family: var(--ui-font);\n}\n\n.EmojiPicker_skeleton__M1a2g {\n background: var(--background-color);\n border-radius: var(--border-radius);\n border: 1px solid var(--border-color);\n font-family: var(--ui-font);\n width: var(--picker-width);\n color: var(--secondary-text-color);\n}\n.EmojiPicker_skeleton__M1a2g * {\n box-sizing: border-box;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_placeholder__YDJn- {\n background: var(--placeholder-background-color);\n position: relative;\n overflow: hidden;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_placeholder__YDJn-::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n transform: translateX(-100%);\n background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));\n animation: EmojiPicker_shine__s-vEs 2s infinite;\n content: "";\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_searchSkeleton__gNgdU {\n padding: 0 8px;\n height: var(--search-height);\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_searchSkeleton__gNgdU .EmojiPicker_searchInput__tpaBs {\n width: 100%;\n height: 28px;\n border-radius: 3px;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_categoryTabsSkeleton__2dISl {\n height: var(--category-tabs-height);\n display: flex;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_categoryTabsSkeleton__2dISl .EmojiPicker_categoryTab__mmSVF {\n width: 25px;\n height: 25px;\n padding: 2px;\n border-radius: 5px;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_contentSkeleton__UWfQu {\n height: var(--content-height);\n padding-right: 8px;\n opacity: 0.7;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_contentSkeleton__UWfQu .EmojiPicker_categoryName__d2-Ed {\n width: 50%;\n height: 1rem;\n margin: 0.5rem;\n box-sizing: border-box;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_contentSkeleton__UWfQu .EmojiPicker_emojiGrid__WnoCI {\n display: grid;\n justify-content: space-between;\n gap: 1px;\n padding: 0 0.5em;\n grid-template-columns: repeat(var(--emojis-per-row), calc(var(--emoji-size) * var(--emoji-size-multiplier)));\n grid-auto-rows: calc(var(--emoji-size) * var(--emoji-size-multiplier));\n align-items: center;\n justify-items: center;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_contentSkeleton__UWfQu .EmojiPicker_emojiGrid__WnoCI .EmojiPicker_emoji__jaN-w {\n width: var(--emoji-size);\n height: var(--emoji-size);\n border-radius: 50%;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_previewSkeleton__Bjqkm {\n height: var(--emoji-preview-height);\n border-top: 1px solid var(--border-color);\n display: grid;\n align-items: center;\n padding: 0.5em;\n gap: 6px;\n grid-template-columns: auto 1fr;\n grid-template-rows: auto 1fr;\n grid-template-areas: "emoji name" "emoji tags";\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_previewSkeleton__Bjqkm .EmojiPicker_previewEmoji__uOLbA {\n grid-area: emoji;\n border-radius: 50%;\n width: var(--emoji-preview-size);\n height: var(--emoji-preview-size);\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_previewSkeleton__Bjqkm .EmojiPicker_previewName__QJ47d {\n grid-area: name;\n width: 12em;\n height: 0.8em;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_previewSkeleton__Bjqkm .EmojiPicker_tagList__tc6nv {\n grid-area: tags;\n list-style-type: none;\n display: flex;\n flex-direction: row;\n padding: 0;\n margin: 0;\n}\n.EmojiPicker_skeleton__M1a2g .EmojiPicker_previewSkeleton__Bjqkm .EmojiPicker_tagList__tc6nv .EmojiPicker_tag__gAU6B {\n border-radius: 3px;\n padding: 2px 8px;\n margin-right: 0.25em;\n height: 1em;\n width: 3em;\n}\n\n.EmojiPicker_overlay__kDT99 {\n background: rgba(0, 0, 0, 0.75);\n height: 100%;\n left: 0;\n position: fixed;\n top: 0;\n width: 100%;\n z-index: 1000;\n}\n\n.EmojiPicker_content__xT6Kl {\n position: relative;\n overflow: hidden;\n height: var(--content-height);\n}\n.EmojiPicker_content__xT6Kl.EmojiPicker_fullHeight__7kz2H {\n height: calc(var(--content-height) + var(--category-tabs-height) + var(--category-tabs-offset));\n overflow-y: auto;\n scrollbar-color: var(--scrollbar-color) var(--scrollbar-background-color);\n scrollbar-width: 8px;\n}\n.EmojiPicker_content__xT6Kl.EmojiPicker_fullHeight__7kz2H::-webkit-scrollbar {\n background: var(--scrollbar-background-color);\n width: 1.1em;\n}\n.EmojiPicker_content__xT6Kl.EmojiPicker_fullHeight__7kz2H::-webkit-scrollbar-thumb {\n background: var(--scrollbar-color);\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n background-clip: padding-box;\n height: 1em;\n border-radius: 1em;\n}\n\n.EmojiPicker_pluginContainer__Gz3yT {\n margin: 0.5em;\n display: flex;\n flex-direction: row;\n}\n\n.EmojiPicker_header__eDZPD {\n background-color: var(--secondary-background-color);\n padding-top: 8px;\n padding-bottom: 8px;\n display: grid;\n gap: 8px;\n border-bottom: 1px solid var(--border-color);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .EmojiPicker_placeholder__YDJn- {\n background: var(--placeholder-background-color);\n position: relative;\n overflow: hidden;\n }\n .EmojiPicker_placeholder__YDJn-::after {\n display: none;\n }\n}');const et={emojisPerRow:"--emojis-per-row",visibleRows:"--row-count",emojiSize:"--emoji-size"};class tt extends x{constructor(){super({template:Xe,classes:Qe}),this.pickerReady=!1,this.externalEvents=new ae,this.updaters={styleProperty:e=>t=>this.el.style.setProperty(et[e],t.toString()),theme:e=>{this.el.classList.remove(this.options.theme),this.el.classList.add(e)},className:e=>{this.options.className&&this.el.classList.remove(this.options.className),this.el.classList.add(e)},emojisPerRow:this.updateStyleProperty.bind(this,"emojisPerRow"),emojiSize:this.updateStyleProperty.bind(this,"emojiSize"),visibleRows:this.updateStyleProperty.bind(this,"visibleRows")}}initialize(){this.uiElements={pickerContent:x.byClass(Qe.content),header:x.byClass(Qe.header)},this.uiEvents=[x.uiEvent("keydown",this.handleKeyDown)],this.appEvents={error:this.onError,reinitialize:this.reinitialize,"data:ready":this.onDataReady,"content:show":this.showContent,"variantPopup:hide":this.hideVariantPopup,"emoji:select":this.selectEmoji},super.initialize(),this.options.recentsProvider}destroy(){var e,t;super.destroy(),null===(e=this.search)||void 0===e||e.destroy(),this.emojiArea.destroy(),null===(t=this.categoryTabs)||void 0===t||t.destroy(),this.events.removeAll(),this.externalEvents.removeAll()}clearRecents(){this.options.recentsProvider.clear()}addEventListener(e,t){this.externalEvents.on(e,t)}removeEventListener(e,t){this.externalEvents.off(e,t)}initializePickerView(){this.pickerReady&&(this.showContent(),this.emojiArea.reset(!1))}handleKeyDown(e){const t=e.ctrlKey||e.metaKey;"s"===e.key&&t&&this.search&&(e.preventDefault(),this.search.focus())}buildChildViews(){return this.options.showPreview&&(this.preview=this.viewFactory.create(Oe)),this.options.showSearch&&(this.search=this.viewFactory.create(Me,{categories:this.categories,emojiVersion:this.emojiVersion})),this.options.showCategoryTabs&&(this.categoryTabs=this.viewFactory.create(Ye,{categories:this.categories})),this.currentView=this.emojiArea=this.viewFactory.create(Se,{categoryTabs:this.categoryTabs,categories:this.categories,emojiVersion:this.emojiVersion}),[this.preview,this.search,this.emojiArea,this.categoryTabs]}setStyleProperties(){this.options.showSearch||this.el.style.setProperty("--search-height-full","0px"),this.options.showCategoryTabs||(this.el.style.setProperty("--category-tabs-height","0px"),this.el.style.setProperty("--category-tabs-offset","0px")),this.options.showPreview||this.el.style.setProperty("--emoji-preview-height-full","0px"),Object.keys(et).forEach((e=>{this.options[e]&&this.el.style.setProperty(et[e],this.options[e].toString())}))}updateStyleProperty(e,t){this.el.style.setProperty(et[e],t.toString())}reinitialize(){this.renderSync()}onError(e){const t=this.viewFactory.create(Te,{message:this.i18n.get("error.load")}),r=this.el.offsetHeight||375;throw this.el.style.height=`${r}px`,this.el.replaceChildren(t.renderSync()),e}onDataReady(e){const t=Object.create(null,{render:{get:()=>super.render}});return n(this,void 0,void 0,(function*(){const r=this.el;try{e?this.emojiData=e:yield this.emojiDataPromise,"auto"===this.options.emojiVersion?this.emojiVersion=function(){var e;const t=Ke.find((e=>function(e){const t=document.createElement("canvas").getContext("2d");if(t)return t.textBaseline="top",t.font="32px Arial",t.fillText(e,0,0),0!==t.getImageData(16,16,1,1).data[0]}(e.emoji)));return null!==(e=null==t?void 0:t.version)&&void 0!==e?e:1}()||parseFloat("14.0"):this.emojiVersion=this.options.emojiVersion,this.categories=yield this.emojiData.getCategories(this.options);const[n,o,i,a]=this.buildChildViews();yield t.render.call(this,{isLoaded:!0,search:o,categoryTabs:a,emojiArea:i,preview:n,showHeader:Boolean(this.search||this.categoryTabs),theme:this.options.theme,className:this.options.className}),this.el.style.setProperty("--category-count",this.categories.length.toString()),this.pickerReady=!0,r.replaceWith(this.el),this.setStyleProperties(),this.initializePickerView(),this.setInitialFocus(),this.externalEvents.emit("data:ready")}catch(r){this.events.emit("error",r)}}))}renderSync(){if(super.renderSync({isLoaded:!1,theme:this.options.theme,showSearch:this.options.showSearch,showPreview:this.options.showPreview,showCategoryTabs:this.options.showCategoryTabs,showHeader:this.options.showSearch||this.options.showCategoryTabs,emojiCount:this.options.emojisPerRow*this.options.visibleRows}),!this.options.rootElement)throw new Error("Picker must be given a root element via the rootElement option");return this.options.rootElement.replaceChildren(this.el),this.setStyleProperties(),this.pickerReady&&this.initializePickerView(),this.el}getInitialFocusTarget(){if(void 0!==this.options.autoFocus)switch(this.options.autoFocus){case"emojis":return this.emojiArea.focusableEmoji;case"search":return this.search;default:return null}if(!0===this.options.autoFocusSearch)return console.warn("options.autoFocusSearch is deprecated, please use options.focusTarget instead"),this.search}setInitialFocus(){var e;this.pickerReady&&(null===(e=this.getInitialFocusTarget())||void 0===e||e.focus())}reset(){this.pickerReady&&(this.emojiArea.reset(),this.showContent(this.emojiArea)),this.search&&this.search.clear()}showContent(e=this.emojiArea){var t,r;e!==this.currentView&&(this.currentView!==this.emojiArea&&(null===(t=this.currentView)||void 0===t||t.destroy()),this.ui.pickerContent.classList.toggle(Qe.fullHeight,e!==this.emojiArea),this.ui.pickerContent.replaceChildren(e.el),this.currentView=e,e===this.emojiArea?(this.emojiArea.reset(),this.categoryTabs&&this.ui.header.appendChild(this.categoryTabs.el)):null===(r=this.categoryTabs)||void 0===r||r.el.remove())}hideVariantPopup(){var e;null===(e=this.variantPopup)||void 0===e||e.destroy()}isPickerClick(e){var t,r;const n=e.target,o=this.el.contains(n),i=null===(r=null===(t=this.variantPopup)||void 0===t?void 0:t.el)||void 0===r?void 0:r.contains(n);return o||i}selectEmoji({emoji:e}){var t,r;return n(this,void 0,void 0,(function*(){(null===(t=e.skins)||void 0===t?void 0:t.length)&&this.options.showVariants&&!this.isVariantPopupOpen?this.showVariantPopup(e):(yield null===(r=this.variantPopup)||void 0===r?void 0:r.animateHide(),this.events.emit("variantPopup:hide"),yield this.emitEmoji(e))}))}get isVariantPopupOpen(){return this.variantPopup&&!this.variantPopup.isDestroyed}showVariantPopup(e){return n(this,void 0,void 0,(function*(){const t=document.activeElement;this.events.once("variantPopup:hide",(()=>{null==t||t.focus()})),this.variantPopup=this.viewFactory.create(Ue,{emoji:e,parent:this.el}),this.el.appendChild(this.variantPopup.renderSync()),this.variantPopup.activate()}))}emitEmoji(e){return n(this,void 0,void 0,(function*(){this.externalEvents.emit("emoji:select",yield this.renderer.doEmit(e)),this.options.recentsProvider.addOrUpdateRecent(e,this.options.maxRecents),this.events.emit("recent:add",e)}))}updateOptions(e){Object.keys(e).forEach((t=>{this.updaters[t](e[t])})),Object.assign(this.options,e)}}class rt{constructor({events:e,i18n:t,renderer:r,emojiData:n,options:o,customEmojis:i=[],pickerId:a}){this.events=e,this.i18n=t,this.renderer=r,this.emojiData=n,this.options=o,this.customEmojis=i,this.pickerId=a}setEmojiData(e){this.emojiData=Promise.resolve(e)}create(e,...t){const r=new e(...t);return r.setPickerId(this.pickerId),r.setEvents(this.events),r.setI18n(this.i18n),r.setRenderer(this.renderer),r.setEmojiData(this.emojiData),r.setOptions(this.options),r.setCustomEmojis(this.customEmojis),r.viewFactory=this,r.initialize(),r}}var nt;class ot{constructor(e={}){nt.set(this,void 0),i(this,nt,new Map(Object.entries(e)),"f")}get(e,t=e){return o(this,nt,"f").get(e)||t}}nt=new WeakMap;let it=0;function at(e){const t=function(e={}){return Object.assign(Object.assign(Object.assign({},Q),e),{renderer:e.renderer||new z,recentsProvider:e.recentsProvider||new X})}(e),r=((null==t?void 0:t.custom)||[]).map((e=>Object.assign(Object.assign({},e),{custom:!0,tags:["custom",...e.tags||[]]}))),n=new ie,o=function(e){return w(e.locale,e.dataStore,e.messages,e.emojiData)}(t),i=new ot(t.i18n);o.then((e=>{n.emit("data:ready",e)})).catch((e=>{n.emit("error",e)}));const a=new rt({events:n,i18n:i,customEmojis:r,renderer:t.renderer,options:t,emojiData:o,pickerId:`picmo-${Date.now()}-${it++}`}).create(tt);return a.renderSync(),a}},45628:function(e,t,r){"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}r.d(t,{P:function(){return o}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3286-6a58a49757a74053.js b/static/web/_next/static/chunks/3286-6a58a49757a74053.js new file mode 100644 index 000000000..beeb36522 --- /dev/null +++ b/static/web/_next/static/chunks/3286-6a58a49757a74053.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3286],{54907:function(e,n,t){t.d(n,{Z:function(){return T}});var a=t(87462),r=t(4942),o=t(18073),l=t(94184),c=t.n(l),i=t(74902),s=t(15671),d=t(43144),p=t(60136),u=t(33643),v=t(71002),f=t(67294),m=t(96774),y=t.n(m),C=t(50344),h=t(62874),Z=t(97685),b=f.forwardRef((function(e,n){var t,a=e.prefixCls,o=e.forceRender,l=e.className,i=e.style,s=e.children,d=e.isActive,p=e.role,u=f.useState(d||o),v=(0,Z.Z)(u,2),m=v[0],y=v[1];return f.useEffect((function(){(o||d)&&y(!0)}),[o,d]),m?f.createElement("div",{ref:n,className:c()("".concat(a,"-content"),(t={},(0,r.Z)(t,"".concat(a,"-content-active"),d),(0,r.Z)(t,"".concat(a,"-content-inactive"),!d),t),l),style:i,role:p},f.createElement("div",{className:"".concat(a,"-content-box")},s)):null}));b.displayName="PanelContent";var x=b,E=function(e){(0,p.Z)(t,e);var n=(0,u.Z)(t);function t(){var e;(0,s.Z)(this,t);for(var a=arguments.length,r=new Array(a),o=0;o-1?n.splice(t,1):n.push(e)}a.setActiveKey(n)},a.getNewChild=function(e,n){if(!e)return null;var t=a.state.activeKey,r=a.props,o=r.prefixCls,l=r.openMotion,c=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,d=r.collapsible,p=e.key||String(n),u=e.props,v=u.header,m=u.headerClass,y=u.destroyInactivePanel,C=u.collapsible,h=null!==C&&void 0!==C?C:d,Z={key:p,panelKey:p,header:v,headerClass:m,isActive:c?t[0]===p:t.indexOf(p)>-1,prefixCls:o,destroyInactivePanel:null!==y&&void 0!==y?y:i,openMotion:l,accordion:c,children:e.props.children,onItemClick:"disabled"===h?null:a.onClickItem,expandIcon:s,collapsible:h};return"string"===typeof e.type?e:(Object.keys(Z).forEach((function(e){"undefined"===typeof Z[e]&&delete Z[e]})),f.cloneElement(e,Z))},a.getItems=function(){var e=a.props.children;return(0,C.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var r=e.activeKey,o=e.defaultActiveKey;return"activeKey"in e&&(o=r),a.state={activeKey:N(o)},a}return(0,d.Z)(t,[{key:"shouldComponentUpdate",value:function(e,n){return!y()(this.props,e)||!y()(this.state,n)}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,a=n.className,o=n.style,l=n.accordion,i=c()((e={},(0,r.Z)(e,t,!0),(0,r.Z)(e,a,!!a),e));return f.createElement("div",{className:i,style:o,role:l?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var n={};return"activeKey"in e&&(n.activeKey=N(e.activeKey)),n}}]),t}(f.Component);P.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},P.Panel=k;var g=P,I=(P.Panel,t(98423)),w=t(53124),K=t(33603),A=t(96159),O=function(e){var n,t=f.useContext(w.E_),l=t.getPrefixCls,i=t.direction,s=e.prefixCls,d=e.className,p=void 0===d?"":d,u=e.bordered,v=void 0===u||u,m=e.ghost,y=e.expandIconPosition,h=void 0===y?"start":y,Z=l("collapse",s),b=f.useMemo((function(){return"left"===h?"start":"right"===h?"end":h}),[h]),x=c()("".concat(Z,"-icon-position-").concat(b),(n={},(0,r.Z)(n,"".concat(Z,"-borderless"),!v),(0,r.Z)(n,"".concat(Z,"-rtl"),"rtl"===i),(0,r.Z)(n,"".concat(Z,"-ghost"),!!m),n),p),E=(0,a.Z)((0,a.Z)({},K.ZP),{motionAppear:!1,leavedClassName:"".concat(Z,"-content-hidden")});return f.createElement(g,(0,a.Z)({openMotion:E},e,{expandIcon:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.expandIcon,a=t?t(n):f.createElement(o.Z,{rotate:n.isActive?90:void 0});return(0,A.Tm)(a,(function(){return{className:c()(a.props.className,"".concat(Z,"-arrow"))}}))},prefixCls:Z,className:x}),function(){var n=e.children;return(0,C.Z)(n).map((function(e,n){var t;if(null===(t=e.props)||void 0===t?void 0:t.disabled){var r=e.key||String(n),o=e.props,l=o.disabled,c=o.collapsible,i=(0,a.Z)((0,a.Z)({},(0,I.Z)(e.props,["disabled"])),{key:r,collapsible:null!==c&&void 0!==c?c:l?"disabled":void 0});return(0,A.Tm)(e,i)}return e}))}())};O.Panel=function(e){var n=f.useContext(w.E_).getPrefixCls,t=e.prefixCls,o=e.className,l=void 0===o?"":o,i=e.showArrow,s=void 0===i||i,d=n("collapse",t),p=c()((0,r.Z)({},"".concat(d,"-no-arrow"),!s),l);return f.createElement(g.Panel,(0,a.Z)({},e,{prefixCls:d,className:p}))};var T=O},65360:function(e,n,t){t.d(n,{Z:function(){return N}});var a=t(87462),r=t(97685),o=t(21640),l=t(94184),c=t.n(l),i=t(21770),s=t(15105),d=t(67294),p=t(53124),u=t(55241),v=t(96159),f=t(71577),m=t(6134),y=t(86743),C=t(23715),h=t(6213),Z=t(81643);function b(e){var n=e.prefixCls,t=e.okButtonProps,r=e.cancelButtonProps,o=e.title,l=e.cancelText,c=e.okText,i=e.okType,s=e.icon,u=e.showCancel,v=void 0===u||u,b=e.close,x=e.onConfirm,E=e.onCancel,k=d.useContext(p.E_).getPrefixCls;return d.createElement(C.Z,{componentName:"Popconfirm",defaultLocale:h.Z.Popconfirm},(function(e){return d.createElement("div",{className:"".concat(n,"-inner-content")},d.createElement("div",{className:"".concat(n,"-message")},s,d.createElement("div",{className:"".concat(n,"-message-title")},(0,Z.Z)(o))),d.createElement("div",{className:"".concat(n,"-buttons")},v&&d.createElement(f.Z,(0,a.Z)({onClick:E,size:"small"},r),l||e.cancelText),d.createElement(y.Z,{buttonProps:(0,a.Z)((0,a.Z)({size:"small"},(0,m.n)(i)),t),actionFn:x,close:b,prefixCls:k("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},c||e.okText)))}))}var x=void 0,E=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r1?"".concat(n.days," days ").concat(n.hours," hours"):n.hours>=1?"".concat(n.hours," hours ").concat(n.minutes," minutes"):"".concat(n.minutes," minutes ").concat(n.seconds," seconds")}(new Date(l));d=c?"Live for ".concat(y):"Offline",t=(0,r.jsxs)("span",{children:[(0,r.jsx)(s.Z,{})," ",h]})}else d="Offline",f&&(t="Last live ".concat((0,i.Z)(new Date(f))," ago."));return(0,r.jsxs)("div",{className:u().statusbar,children:[(0,r.jsx)("div",{children:d}),(0,r.jsx)("div",{children:t})]})}l.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},90448:function(e,n,t){"use strict";t.d(n,{Z:function(){return $}});var r=t(34051),i=t.n(r),a=t(85893),o=t(67294),s=t(2804),c=t(49218),u=t(85215),l=t(67483),f=t.n(l);t(27901);var h=function(e){var n=o.useRef(null),t=o.useRef(null),r=e.options,i=e.onReady;return o.useEffect((function(){if(!t.current){var e=n.current,a=t.current=(0,u.Z)(e,r,(function(){return a.log("player is ready"),i&&i(a,u.Z)}));a.autoplay(r.autoplay),a.src(r.sources)}}),[r,n]),o.useEffect((function(){var e=t.current;return function(){e&&(e.dispose(),t.current=null)}}),[t]),(0,a.jsx)("div",{"data-vjs-player":!0,children:(0,a.jsx)("video",{ref:n,className:"video-js vjs-big-play-centered ".concat(f().player," vjs-owncast")})})};var d=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e)}var n=e.prototype;return n.start=function(){this.stop(),this.timer=setInterval((function(){!function(){try{fetch("/api/ping")}catch(e){console.error(e)}}()}),4e3)},n.stop=function(){clearInterval(this.timer)},e}();function y(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);t=40)return;this.trackLatency(i)}catch(a){console.warn(a)}}}},{key:"send",value:function(){var e,n=this;return(e=i().mark((function e(){var t,r,a,o,s,c,u,l,f,h;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==n.segmentDownloadTime.length){e.next=2;break}return e.abrupt("return");case 2:if(!n.player.paused()){e.next=4;break}return e.abrupt("return");case 4:return t=n.errors,n.supportsDetailedMetrics?(o=(a=function(e){return e.reduce((function(e,n){return e+n}),0)/e.length})(n.segmentDownloadTime)/1e3,s=Math.round(1e3*o)/1e3,c=a(n.bandwidthTracking)/1e3,u=Math.round(1e3*c)/1e3,l=a(n.latencyTracking)/1e3,f=Math.round(1e3*l)/1e3,r={bandwidth:u,latency:f,downloadDuration:s,errors:t+n.isBuffering?1:0,qualityVariantChanges:n.qualityVariantChanges}):r={errors:t+n.isBuffering?1:0},n.errors=0,n.qualityVariantChanges=0,n.segmentDownloadTime=[],n.bandwidthTracking=[],n.latencyTracking=[],h={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)},e.prev=13,e.next=16,fetch("/api/metrics/playback",h);case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(13),console.error(e.t0);case 21:case"end":return e.stop()}}),e,null,[[13,18]])})),function(){var n=this,t=arguments;return new Promise((function(r,i){var a=e.apply(n,t);function o(e){S(a,r,i,o,s,"next",e)}function s(e){S(a,r,i,o,s,"throw",e)}o(void 0)}))})()}}],t&&I(n.prototype,t),r&&I(n,r),e}(),O=B;function _(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);t0&&(a=M().map((function(e){return c.createElement(k,{prefixCls:L,key:e.value.toString(),disabled:"disabled"in e?e.disabled:C.disabled,value:e.value,checked:-1!==S.indexOf(e.value),onChange:e.onChange,className:"".concat(T,"-item"),style:e.style},e.label)})));var A={toggleOption:function(e){var n=S.indexOf(e.value),t=(0,u.Z)(S);-1===n?t.push(e.value):t.splice(n,1),"value"in C||K(t);var r=M();null===x||void 0===x||x(t.filter((function(e){return-1!==D.indexOf(e)})).sort((function(e,n){return r.findIndex((function(n){return n.value===e}))-r.findIndex((function(e){return e.value===n}))})))},value:S,disabled:C.disabled,name:C.name,registerValue:function(e){R((function(n){return[].concat((0,u.Z)(n),[e])}))},cancelValue:function(e){R((function(n){return n.filter((function(n){return n!==e}))}))}},H=l()(T,(0,r.Z)({},"".concat(T,"-rtl"),"rtl"===N),y);return c.createElement("div",(0,o.Z)({className:H,style:g},I,{ref:n}),c.createElement(m.Provider,{value:A},a))},y=c.forwardRef(h),g=c.memo(y),x=t(98866),C=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=t}(t,p||1,null===e||void 0===e?void 0:e.startRow,null===e||void 0===e?void 0:e.endRow);return{onHover:null===e||void 0===e?void 0:e.onHover,hovering:n}})),m=v.onHover,y=v.hovering;return u.createElement(z,(0,l.Z)({},e,{colSpan:f,rowSpan:p,hovering:y,ref:n,onHover:m}))}));_.displayName="WrappedCell";var F=_,j=u.createContext(null);function B(e,n,t,r,o){var a,l,i=t[e]||{},c=t[n]||{};"left"===i.fixed?a=r.left[e]:"right"===c.fixed&&(l=r.right[n]);var d=!1,s=!1,u=!1,f=!1,p=t[n+1],v=t[e-1];if("rtl"===o){if(void 0!==a)f=!(v&&"left"===v.fixed);else if(void 0!==l){u=!(p&&"right"===p.fixed)}}else if(void 0!==a){d=!(p&&"left"===p.fixed)}else if(void 0!==l){s=!(v&&"right"===v.fixed)}return{fixLeft:a,fixRight:l,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}function V(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,a=e.rowComponent,i=e.cellComponent,c=e.onHeaderRow,d=e.index,s=u.useContext(j),f=s.prefixCls,p=s.direction;c&&(n=c(t.map((function(e){return e.column})),d));var v=w(t.map((function(e){return e.column})));return u.createElement(a,n,t.map((function(e,n){var t,a=e.column,c=B(e.colStart,e.colEnd,o,r,p);return a&&a.onHeaderCell&&(t=e.column.onHeaderCell(a)),u.createElement(F,(0,l.Z)({},e,{ellipsis:a.ellipsis,align:a.align,component:i,prefixCls:f,key:v[n]},c,{additionalProps:t,rowType:"header"}))})))}V.displayName="HeaderRow";var W=V;var U=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=u.useContext(j),l=a.prefixCls,i=a.getComponent,c=u.useMemo((function(){return function(e){var n=[];!function e(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n[o]=n[o]||[];var a=r;return t.filter(Boolean).map((function(t){var r={key:t.key,className:t.className||"",children:t.title,column:t,colStart:a},l=1,i=t.children;return i&&i.length>0&&(l=e(i,a,o+1).reduce((function(e,n){return e+n}),0),r.hasSubColumns=!0),"colSpan"in t&&(l=t.colSpan),"rowSpan"in t&&(r.rowSpan=t.rowSpan),r.colSpan=l,r.colEnd=r.colStart+l-1,n[o].push(r),a+=l,l}))}(e,0);for(var t=n.length,r=function(e){n[e].forEach((function(n){"rowSpan"in n||n.hasSubColumns||(n.rowSpan=t-e)}))},o=0;o1?t-1:0),a=1;a0?[].concat((0,s.Z)(e),(0,s.Z)(ue(o).map((function(e){return(0,d.Z)({fixed:r},e)})))):[].concat((0,s.Z)(e),[(0,d.Z)((0,d.Z)({},n),{},{fixed:r})])}),[])}var fe=function(e,n){var t=e.prefixCls,r=e.columns,a=e.children,l=e.expandable,i=e.expandedKeys,c=e.getRowKey,s=e.onTriggerExpand,f=e.expandIcon,p=e.rowExpandable,v=e.expandIconColumnIndex,m=e.direction,h=e.expandRowByClick,y=e.columnWidth,g=e.fixed,x=u.useMemo((function(){return r||se(a)}),[r,a]),C=u.useMemo((function(){if(l){var e,n=x.slice();if(!n.includes(ie)){var r=v||0;r>=0&&n.splice(r,0,ie)}0;var a=n.indexOf(ie);n=n.filter((function(e,n){return e!==ie||n===a}));var d,m=x[a];d="left"!==g&&!g||v?"right"!==g&&!g||v!==x.length?m?m.fixed:null:"right":"left";var C=(e={},(0,o.Z)(e,le,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,o.Z)(e,"title",""),(0,o.Z)(e,"fixed",d),(0,o.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,o.Z)(e,"width",y),(0,o.Z)(e,"render",(function(e,n,r){var o=c(n,r),a=i.has(o),l=!p||p(n),d=f({prefixCls:t,expanded:a,expandable:l,record:n,onExpand:s});return h?u.createElement("span",{onClick:function(e){return e.stopPropagation()}},d):d})),e);return n.map((function(e){return e===ie?C:e}))}return x.filter((function(e){return e!==ie}))}),[l,x,c,i,f,m]),E=u.useMemo((function(){var e=C;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e}),[n,C,m]),Z=u.useMemo((function(){return"rtl"===m?function(e){return e.map((function(e){var n=e.fixed,t=(0,k.Z)(e,de),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,d.Z)({fixed:r},t)}))}(ue(E)):ue(E)}),[E,m]);return[E,Z]};function pe(e){var n=(0,u.useRef)(e),t=(0,u.useState)({}),r=(0,a.Z)(t,2)[1],o=(0,u.useRef)(null),l=(0,u.useRef)([]);return(0,u.useEffect)((function(){return function(){o.current=null}}),[]),[n.current,function(e){l.current.push(e);var t=Promise.resolve();o.current=t,t.then((function(){if(o.current===t){var e=l.current,a=n.current;l.current=[],e.forEach((function(e){n.current=e(n.current)})),o.current=null,a!==n.current&&r({})}}))}]}var ve=function(e,n,t){return(0,u.useMemo)((function(){for(var r=[],o=[],a=0,l=0,i=0;i=0;a-=1){var i=n[a],c=t&&t[a],d=c&&c[le];if(i||d||o){var s=d||{},f=(s.columnType,(0,k.Z)(s,me));r.unshift(u.createElement("col",(0,l.Z)({key:a,style:{width:i}},f))),o=!0}}return u.createElement("colgroup",null,r)};var ye=function(e){var n=e.className,t=e.children;return u.createElement("div",{className:n},t)},ge=u.createContext({});var xe=["children"];function Ce(e){return e.children}Ce.Row=function(e){var n=e.children,t=(0,k.Z)(e,xe);return u.createElement("tr",t,n)},Ce.Cell=function(e){var n=e.className,t=e.index,r=e.children,o=e.colSpan,a=void 0===o?1:o,i=e.rowSpan,c=e.align,d=u.useContext(j),s=d.prefixCls,f=d.direction,p=u.useContext(ge),v=p.scrollColumnIndex,m=p.stickyOffsets,h=t+a-1+1===v?a+1:a,y=B(t,t+h-1,p.flattenColumns,m,f);return u.createElement(F,(0,l.Z)({className:n,index:t,component:"td",prefixCls:s,record:null,dataIndex:null,align:c,colSpan:h,rowSpan:i,render:function(){return r}},y))};var Ee=Ce;var ke=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=u.useContext(j).prefixCls,a=r.length-1,l=r[a],i=u.useMemo((function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null===l||void 0===l?void 0:l.scrollbar)?a:null}}),[l,r,a,t]);return u.createElement(ge.Provider,{value:i},u.createElement("tfoot",{className:"".concat(o,"-summary")},n))},Ze=Ee;function Ne(e){var n,t=e.prefixCls,r=e.record,a=e.onExpand,l=e.expanded,i=e.expandable,d="".concat(t,"-row-expand-icon");if(!i)return u.createElement("span",{className:c()(d,"".concat(t,"-row-spaced"))});return u.createElement("span",{className:c()(d,(n={},(0,o.Z)(n,"".concat(t,"-row-expanded"),l),(0,o.Z)(n,"".concat(t,"-row-collapsed"),!l),n)),onClick:function(e){a(r,e),e.stopPropagation()}})}var be=t(64019),we=t(27678),Se=function(e,n){var t,r,l=e.scrollBodyRef,i=e.onScroll,s=e.offsetScroll,f=e.container,p=u.useContext(j).prefixCls,v=(null===(t=l.current)||void 0===t?void 0:t.scrollWidth)||0,m=(null===(r=l.current)||void 0===r?void 0:r.clientWidth)||0,h=v&&m*(m/v),y=u.useRef(),g=pe({scrollLeft:0,isHiddenScrollBar:!1}),C=(0,a.Z)(g,2),E=C[0],k=C[1],Z=u.useRef({delta:0,x:0}),N=u.useState(!1),b=(0,a.Z)(N,2),w=b[0],S=b[1],K=function(){S(!1)},O=function(e){var n,t=(e||(null===(n=window)||void 0===n?void 0:n.event)).buttons;if(w&&0!==t){var r=Z.current.x+e.pageX-Z.current.x-Z.current.delta;r<=0&&(r=0),r+h>=m&&(r=m-h),i({scrollLeft:r/m*(v+2)}),Z.current.x=e.pageX}else w&&S(!1)},P=function(){if(l.current){var e=(0,we.os)(l.current).top,n=e+l.current.offsetHeight,t=f===window?document.documentElement.scrollTop+window.innerHeight:(0,we.os)(f).top+f.clientHeight;n-(0,x.Z)()<=t||e>=t-s?k((function(e){return(0,d.Z)((0,d.Z)({},e),{},{isHiddenScrollBar:!0})})):k((function(e){return(0,d.Z)((0,d.Z)({},e),{},{isHiddenScrollBar:!1})}))}},D=function(e){k((function(n){return(0,d.Z)((0,d.Z)({},n),{},{scrollLeft:e/v*m||0})}))};return u.useImperativeHandle(n,(function(){return{setScrollLeft:D}})),u.useEffect((function(){var e=(0,be.Z)(document.body,"mouseup",K,!1),n=(0,be.Z)(document.body,"mousemove",O,!1);return P(),function(){e.remove(),n.remove()}}),[h,w]),u.useEffect((function(){var e=(0,be.Z)(f,"scroll",P,!1),n=(0,be.Z)(window,"resize",P,!1);return function(){e.remove(),n.remove()}}),[f]),u.useEffect((function(){E.isHiddenScrollBar||k((function(e){var n=l.current;return n?(0,d.Z)((0,d.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e}))}),[E.isHiddenScrollBar]),v<=m||!h||E.isHiddenScrollBar?null:u.createElement("div",{style:{height:(0,x.Z)(),width:m,bottom:s},className:"".concat(p,"-sticky-scroll")},u.createElement("div",{onMouseDown:function(e){e.persist(),Z.current.delta=e.pageX-E.scrollLeft,Z.current.x=0,S(!0),e.preventDefault()},ref:y,className:c()("".concat(p,"-sticky-scroll-bar"),(0,o.Z)({},"".concat(p,"-sticky-scroll-bar-active"),w)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(E.scrollLeft,"px, 0, 0)")}}))},Ke=u.forwardRef(Se),Oe=(0,t(98924).Z)()?window:null;var Pe=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var De=u.forwardRef((function(e,n){var t=e.className,r=e.noData,a=e.columns,l=e.flattenColumns,i=e.colWidths,f=e.columCount,p=e.stickyOffsets,v=e.direction,m=e.fixHeader,h=e.stickyTopOffset,y=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,C=e.maxContentScroll,E=e.children,N=(0,k.Z)(e,Pe),b=u.useContext(j),w=b.prefixCls,S=b.scrollbarSize,K=b.isSticky,O=K&&!m?0:S,P=u.useRef(null),D=u.useCallback((function(e){(0,Z.mH)(n,e),(0,Z.mH)(P,e)}),[]);u.useEffect((function(){var e;function n(e){var n=e.currentTarget,t=e.deltaX;t&&(x({currentTarget:n,scrollLeft:n.scrollLeft+t}),e.preventDefault())}return null===(e=P.current)||void 0===e||e.addEventListener("wheel",n),function(){var e;null===(e=P.current)||void 0===e||e.removeEventListener("wheel",n)}}),[]);var R=u.useMemo((function(){return l.every((function(e){return e.width>=0}))}),[l]),M=l[l.length-1],L={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(w,"-cell-scrollbar")}}},T=(0,u.useMemo)((function(){return O?[].concat((0,s.Z)(a),[L]):a}),[O,a]),I=(0,u.useMemo)((function(){return O?[].concat((0,s.Z)(l),[L]):l}),[O,l]),A=(0,u.useMemo)((function(){var e=p.right,n=p.left;return(0,d.Z)((0,d.Z)({},p),{},{left:"rtl"===v?[].concat((0,s.Z)(n.map((function(e){return e+O}))),[0]):n,right:"rtl"===v?e:[].concat((0,s.Z)(e.map((function(e){return e+O}))),[0]),isSticky:K})}),[O,p,K]),H=function(e,n){return(0,u.useMemo)((function(){for(var t=[],r=0;r0)):(an(a>0),sn(a1&&void 0!==arguments[1]?arguments[1]:{},t=n.getContainer,r=void 0===t?function(){return window}:t,o=n.callback,a=n.duration,l=void 0===a?450:a,i=r(),c=Ye(i,!0),d=Date.now(),s=function n(){var t=Date.now()-d,r=Xe(t>l?l:t,c,e,l);qe(i)?i.scrollTo(window.pageXOffset,r):i instanceof HTMLDocument||"HTMLDocument"===i.constructor.name?i.documentElement.scrollTop=r:i.scrollTop=r,t0&&(M=x.map((function(e){return"string"===typeof e||"number"===typeof e?u.createElement(On,{key:e.toString(),prefixCls:D,disabled:k,value:e,checked:v===e},e):u.createElement(On,{key:"radio-group-value-options-".concat(e.value),prefixCls:D,disabled:e.disabled||k,value:e.value,checked:v===e.value,style:e.style},e.label)})));var L=N||s,T=c()(R,"".concat(R,"-").concat(E),(t={},(0,o.Z)(t,"".concat(R,"-").concat(L),L),(0,o.Z)(t,"".concat(R,"-rtl"),"rtl"===d),t),g);return u.createElement("div",(0,l.Z)({},(0,gn.Z)(e),{className:T,style:b,onMouseEnter:S,onMouseLeave:K,onFocus:O,onBlur:P,id:w,ref:n}),u.createElement(Cn,{value:{onChange:function(n){var t=v,r=n.target.value;"value"in e||m(r);var o=e.onChange;o&&r!==t&&o(n)},value:v,disabled:e.disabled,name:e.name,optionType:e.optionType}},M))})),Dn=u.memo(Pn),Rn=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:null;return t.map((function(u,f){for(var p,v=pt(r?r.pos:"0",f),m=Yn(u[a],v),h=0;h1&&void 0!==arguments[1]?arguments[1]:{},t=n.initWrapper,r=n.processEntity,o=n.onProcessFinished,a=n.externalGetKey,l=n.childrenPropName,i=n.fieldNames,c=arguments.length>2?arguments[2]:void 0,d=a||c,s={},u={},f={posEntities:s,keyEntities:u};return t&&(f=t(f)||f),et(e,(function(e){var n=e.node,t=e.index,o=e.pos,a=e.key,l=e.parentPos,i=e.level,c={node:n,nodes:e.nodes,index:t,key:a,pos:o,level:i},d=Yn(a,o);s[o]=c,u[d]=c,c.parent=s[l],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),r&&r(c,f)}),{externalGetKey:d,childrenPropName:l,fieldNames:i}),o&&o(f),f}function tt(e,n){var t=n.expandedKeys,r=n.selectedKeys,o=n.loadedKeys,a=n.loadingKeys,l=n.checkedKeys,i=n.halfCheckedKeys,c=n.dragOverNodeKey,d=n.dropPosition,s=n.keyEntities[e];return{eventKey:e,expanded:-1!==t.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==l.indexOf(e),halfChecked:-1!==i.indexOf(e),pos:String(s?s.pos:""),dragOver:c===e&&0===d,dragOverGapTop:c===e&&-1===d,dragOverGapBottom:c===e&&1===d}}function rt(e){var n=e.data,t=e.expanded,r=e.selected,o=e.checked,a=e.loaded,l=e.loading,i=e.halfChecked,c=e.dragOver,s=e.dragOverGapTop,u=e.dragOverGapBottom,f=e.pos,p=e.active,v=e.eventKey,m=(0,d.Z)((0,d.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:l,halfChecked:i,dragOver:c,dragOverGapTop:s,dragOverGapBottom:u,pos:f,active:p,key:v});return"props"in m||Object.defineProperty(m,"props",{get:function(){return(0,y.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}var ot=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],at="open",lt="close",it=function(e){(0,Bn.Z)(t,e);var n=(0,Vn.Z)(t);function t(){var e;(0,_n.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a=0&&t.splice(r,1),t}function ut(e,n){var t=(e||[]).slice();return-1===t.indexOf(n)&&t.push(n),t}function ft(e){return e.split("-")}function pt(e,n){return"".concat(e,"-").concat(n)}function vt(e,n){var t=[];return function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n.forEach((function(n){var r=n.key,o=n.children;t.push(r),e(o)}))}(n[e].children),t}function mt(e){if(e.parent){var n=ft(e.pos);return Number(n[n.length-1])===e.parent.children.length-1}return!1}function ht(e,n,t,r,o,a,l,i,c,d){var s,u=e.clientX,f=e.clientY,p=e.target.getBoundingClientRect(),v=p.top,m=p.height,h=(("rtl"===d?-1:1)*(((null===o||void 0===o?void 0:o.x)||0)-u)-12)/r,y=i[t.props.eventKey];if(f-1.5?a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1:a({dragNode:w,dropNode:S,dropPosition:0})?Z=0:a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1:a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1,{dropPosition:Z,dropLevelOffset:N,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:k,dropContainerKey:0===Z?null:(null===(s=y.parent)||void 0===s?void 0:s.key)||null,dropAllowed:K}}function yt(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function gt(e){if(!e)return null;var n;if(Array.isArray(e))n={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,r.Z)(e))return(0,y.ZP)(!1,"`checkedKeys` is not an array or an object"),null;n={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return n}function xt(e,n){var t=new Set;function r(e){if(!t.has(e)){var o=n[e];if(o){t.add(e);var a=o.parent;o.node.disabled||a&&r(a.key)}}}return(e||[]).forEach((function(e){r(e)})),(0,s.Z)(t)}var Ct=t(73453),Et=t(62874),kt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Zt=function(e,n){var t=e.className,r=e.style,o=e.motion,i=e.motionNodes,d=e.motionType,s=e.onMotionStart,f=e.onMotionEnd,p=e.active,v=e.treeNodeRequiredProps,m=(0,k.Z)(e,kt),h=u.useState(!0),y=(0,a.Z)(h,2),g=y[0],x=y[1],C=u.useContext(Un).prefixCls,E=u.useRef(!1),Z=function(){E.current||f(),E.current=!0};return(0,u.useEffect)((function(){i&&"hide"===d&&g&&x(!1)}),[i]),(0,u.useEffect)((function(){return i&&s(),function(){i&&Z()}}),[]),i?u.createElement(Et.Z,(0,l.Z)({ref:n,visible:g},o,{motionAppear:"show"===d,onAppearEnd:Z,onLeaveEnd:Z}),(function(e,n){var t=e.className,r=e.style;return u.createElement("div",{ref:n,className:c()("".concat(C,"-treenode-motion"),t),style:r},i.map((function(e){var n=(0,l.Z)({},e.data),t=e.title,r=e.key,o=e.isStart,a=e.isEnd;delete n.children;var i=tt(r,v);return u.createElement(dt,(0,l.Z)({},n,i,{title:t,active:p,data:e.data,key:r,isStart:o,isEnd:a}))})))})):u.createElement(dt,(0,l.Z)({domRef:n,className:t,style:r},m,{active:p}))};Zt.displayName="MotionTreeNode";var Nt=u.forwardRef(Zt);function bt(e,n,t){var r=e.findIndex((function(e){return e.key===t})),o=e[r+1],a=n.findIndex((function(e){return e.key===t}));if(o){var l=n.findIndex((function(e){return e.key===o.key}));return n.slice(a+1,l)}return n.slice(a+1)}var wt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],St={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Kt=function(){},Ot="RC_TREE_MOTION_".concat(Math.random()),Pt={key:Ot},Dt={key:Ot,level:0,index:0,pos:"0",node:Pt,nodes:[Pt]},Rt={parent:null,children:[],pos:Dt.pos,data:Pt,title:null,key:Ot,isStart:[],isEnd:[]};function Mt(e,n,t,r){return!1!==n&&t?e.slice(0,Math.ceil(t/r)+1):e}function Lt(e){return Yn(e.key,e.pos)}var Tt=u.forwardRef((function(e,n){var t=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),i=e.selectedKeys,c=e.checkedKeys,d=e.loadedKeys,s=e.loadingKeys,f=e.halfCheckedKeys,p=e.keyEntities,v=e.disabled,m=e.dragging,h=e.dragOverNodeKey,y=e.dropPosition,g=e.motion,x=e.height,C=e.itemHeight,E=e.virtual,Z=e.focusable,N=e.activeItem,b=e.focused,w=e.tabIndex,S=e.onKeyDown,K=e.onFocus,O=e.onBlur,P=e.onActiveChange,D=e.onListChangeStart,R=e.onListChangeEnd,M=(0,k.Z)(e,wt),L=u.useRef(null),T=u.useRef(null);u.useImperativeHandle(n,(function(){return{scrollTo:function(e){L.current.scrollTo(e)},getIndentWidth:function(){return T.current.offsetWidth}}}));var I=u.useState(o),A=(0,a.Z)(I,2),H=A[0],z=A[1],_=u.useState(r),F=(0,a.Z)(_,2),j=F[0],B=F[1],V=u.useState(r),W=(0,a.Z)(V,2),U=W[0],G=W[1],X=u.useState([]),q=(0,a.Z)(X,2),Y=q[0],J=q[1],Q=u.useState(null),$=(0,a.Z)(Q,2),ee=$[0],ne=$[1],te=u.useRef(r);function re(){var e=te.current;B(e),G(e),J([]),ne(null),R()}te.current=r,u.useEffect((function(){z(o);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=e.length,r=n.length;if(1!==Math.abs(t-r))return{add:!1,key:null};function o(e,n){var t=new Map;e.forEach((function(e){t.set(e,!0)}));var r=n.filter((function(e){return!t.has(e)}));return 1===r.length?r[0]:null}return t ").concat(n);return n}(N)),u.createElement("div",null,u.createElement("input",{style:St,disabled:!1===Z||v,tabIndex:!1!==Z?w:null,onKeyDown:S,onFocus:K,onBlur:O,value:"",onChange:Kt,"aria-label":"for screen reader"})),u.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},u.createElement("div",{className:"".concat(t,"-indent")},u.createElement("div",{ref:T,className:"".concat(t,"-indent-unit")}))),u.createElement(Ct.Z,(0,l.Z)({},M,{data:oe,itemKey:Lt,height:x,fullHeight:!1,virtual:E,itemHeight:C,prefixCls:"".concat(t,"-list"),ref:L,onVisibleChange:function(e,n){var t=new Set(e);n.filter((function(e){return!t.has(e)})).some((function(e){return Lt(e)===Ot}))&&re()}}),(function(e){var n=e.pos,t=(0,l.Z)({},e.data),r=e.title,o=e.key,a=e.isStart,i=e.isEnd,c=Yn(o,n);delete t.key,delete t.children;var d=tt(c,ae);return u.createElement(Nt,(0,l.Z)({},t,d,{title:r,active:!!N&&o===N.key,pos:n,data:e.data,isStart:a,isEnd:i,motion:g,motionNodes:o===Ot?Y:null,motionType:ee,onMotionStart:D,onMotionEnd:re,treeNodeRequiredProps:ae,onMouseMove:function(){P(null)}}))})))}));Tt.displayName="NodeList";var It=Tt;function At(e,n){var t=new Set;return e.forEach((function(e){n.has(e)||t.add(e)})),t}function Ht(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!(!t&&!r)||!1===o}function zt(e,n,t,r){var o,a=[];o=r||Ht;var l,i=new Set(e.filter((function(e){var n=!!t[e];return n||a.push(e),n}))),c=new Map,d=0;return Object.keys(t).forEach((function(e){var n=t[e],r=n.level,o=c.get(r);o||(o=new Set,c.set(r,o)),o.add(n),d=Math.max(d,r)})),(0,y.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),l=!0===n?function(e,n,t,r){for(var o=new Set(e),a=new Set,l=0;l<=t;l+=1)(n.get(l)||new Set).forEach((function(e){var n=e.key,t=e.node,a=e.children,l=void 0===a?[]:a;o.has(n)&&!r(t)&&l.filter((function(e){return!r(e.node)})).forEach((function(e){o.add(e.key)}))}));for(var i=new Set,c=t;c>=0;c-=1)(n.get(c)||new Set).forEach((function(e){var n=e.parent,t=e.node;if(!r(t)&&e.parent&&!i.has(e.parent.key))if(r(e.parent.node))i.add(n.key);else{var l=!0,c=!1;(n.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var n=e.key,t=o.has(n);l&&!t&&(l=!1),c||!t&&!a.has(n)||(c=!0)})),l&&o.add(n.key),c&&a.add(n.key),i.add(n.key)}}));return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(At(a,o))}}(i,c,d,o):function(e,n,t,r,o){for(var a=new Set(e),l=new Set(n),i=0;i<=r;i+=1)(t.get(i)||new Set).forEach((function(e){var n=e.key,t=e.node,r=e.children,i=void 0===r?[]:r;a.has(n)||l.has(n)||o(t)||i.filter((function(e){return!o(e.node)})).forEach((function(e){a.delete(e.key)}))}));l=new Set;for(var c=new Set,d=r;d>=0;d-=1)(t.get(d)||new Set).forEach((function(e){var n=e.parent,t=e.node;if(!o(t)&&e.parent&&!c.has(e.parent.key))if(o(e.parent.node))c.add(n.key);else{var r=!0,i=!1;(n.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var n=e.key,t=a.has(n);r&&!t&&(r=!1),i||!t&&!l.has(n)||(i=!0)})),r||a.delete(n.key),i&&l.add(n.key),c.add(n.key)}}));return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(At(l,a))}}(i,n.halfCheckedKeys,c,d,o),l}var _t=function(e){(0,Bn.Z)(t,e);var n=(0,Vn.Z)(t);function t(){var e;(0,_n.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2],a=e.state,l=a.dragChildrenKeys,i=a.dropPosition,c=a.dropTargetKey,s=a.dropTargetPos,u=a.dropAllowed;if(u){var f=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,d.Z)((0,d.Z)({},tt(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:e.state.keyEntities[c].node}),v=-1!==l.indexOf(c);(0,y.ZP)(!v,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var m=ft(s),h={event:n,node:rt(p),dragNode:e.dragNode?rt(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(l),dropToGap:0!==i,dropPosition:i+Number(m[m.length-1])};o||null===f||void 0===f||f(h),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(n,t){var r=e.state,o=r.expandedKeys,a=r.flattenNodes,l=t.expanded,i=t.key;if(!(t.isLeaf||n.shiftKey||n.metaKey||n.ctrlKey)){var c=a.filter((function(e){return e.key===i}))[0],s=rt((0,d.Z)((0,d.Z)({},tt(i,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(l?st(o,i):ut(o,i)),e.onNodeExpand(n,s)}},e.onNodeClick=function(n,t){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(n,t),null===o||void 0===o||o(n,t)},e.onNodeDoubleClick=function(n,t){var r=e.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(n,t),null===o||void 0===o||o(n,t)},e.onNodeSelect=function(n,t){var r=e.state.selectedKeys,o=e.state,a=o.keyEntities,l=o.fieldNames,i=e.props,c=i.onSelect,d=i.multiple,s=t.selected,u=t[l.key],f=!s,p=(r=f?d?ut(r,u):[u]:st(r,u)).map((function(e){var n=a[e];return n?n.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),null===c||void 0===c||c(r,{event:"select",selected:f,node:t,selectedNodes:p,nativeEvent:n.nativeEvent})},e.onNodeCheck=function(n,t,r){var o,a=e.state,l=a.keyEntities,i=a.checkedKeys,c=a.halfCheckedKeys,d=e.props,u=d.checkStrictly,f=d.onCheck,p=t.key,v={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(u){var m=r?ut(i,p):st(i,p);o={checked:m,halfChecked:st(c,p)},v.checkedNodes=m.map((function(e){return l[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:m})}else{var h=zt([].concat((0,s.Z)(i),[p]),!0,l),y=h.checkedKeys,g=h.halfCheckedKeys;if(!r){var x=new Set(y);x.delete(p);var C=zt(Array.from(x),{checked:!1,halfCheckedKeys:g},l);y=C.checkedKeys,g=C.halfCheckedKeys}o=y,v.checkedNodes=[],v.checkedNodesPositions=[],v.halfCheckedKeys=g,y.forEach((function(e){var n=l[e];if(n){var t=n.node,r=n.pos;v.checkedNodes.push(t),v.checkedNodesPositions.push({node:t,pos:r})}})),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:g})}null===f||void 0===f||f(o,v)},e.onNodeLoad=function(n){var t=n.key,r=new Promise((function(r,o){e.setState((function(a){var l=a.loadedKeys,i=void 0===l?[]:l,c=a.loadingKeys,d=void 0===c?[]:c,s=e.props,u=s.loadData,f=s.onLoad;return u&&-1===i.indexOf(t)&&-1===d.indexOf(t)?(u(n).then((function(){var o=ut(e.state.loadedKeys,t);null===f||void 0===f||f(o,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:o}),e.setState((function(e){return{loadingKeys:st(e.loadingKeys,t)}})),r()})).catch((function(n){if(e.setState((function(e){return{loadingKeys:st(e.loadingKeys,t)}})),e.loadingRetryTimes[t]=(e.loadingRetryTimes[t]||0)+1,e.loadingRetryTimes[t]>=10){var a=e.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:ut(a,t)}),r()}o(n)})),{loadingKeys:ut(d,t)}):null}))}));return r.catch((function(){})),r},e.onNodeMouseEnter=function(n,t){var r=e.props.onMouseEnter;null===r||void 0===r||r({event:n,node:t})},e.onNodeMouseLeave=function(n,t){var r=e.props.onMouseLeave;null===r||void 0===r||r({event:n,node:t})},e.onNodeContextMenu=function(n,t){var r=e.props.onRightClick;r&&(n.preventDefault(),r({event:n,node:t}))},e.onFocus=function(){var n=e.props.onFocus;e.setState({focused:!0});for(var t=arguments.length,r=new Array(t),o=0;o1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,a=!0,l={};Object.keys(n).forEach((function(t){t in e.props?a=!1:(o=!0,l[t]=n[t])})),!o||t&&!a||e.setState((0,d.Z)((0,d.Z)({},l),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,Fn.Z)(t,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,n,t=this.state,a=t.focused,i=t.flattenNodes,d=t.keyEntities,s=t.draggingNodeKey,f=t.activeKey,v=t.dropLevelOffset,m=t.dropContainerKey,h=t.dropTargetKey,y=t.dropPosition,g=t.dragOverNodeKey,x=t.indent,C=this.props,E=C.prefixCls,k=C.className,Z=C.style,N=C.showLine,b=C.focusable,w=C.tabIndex,S=void 0===w?0:w,K=C.selectable,O=C.showIcon,P=C.icon,D=C.switcherIcon,R=C.draggable,M=C.checkable,L=C.checkStrictly,T=C.disabled,I=C.motion,A=C.loadData,H=C.filterTreeNode,z=C.height,_=C.itemHeight,F=C.virtual,j=C.titleRender,B=C.dropIndicatorRender,V=C.onContextMenu,W=C.onScroll,U=C.direction,G=C.rootClassName,X=C.rootStyle,q=(0,p.Z)(this.props,{aria:!0,data:!0});return R&&(n="object"===(0,r.Z)(R)?R:"function"===typeof R?{nodeDraggable:R}:{}),u.createElement(Un.Provider,{value:{prefixCls:E,selectable:K,showIcon:O,icon:P,switcherIcon:D,draggable:n,draggingNodeKey:s,checkable:M,checkStrictly:L,disabled:T,keyEntities:d,dropLevelOffset:v,dropContainerKey:m,dropTargetKey:h,dropPosition:y,dragOverNodeKey:g,indent:x,direction:U,dropIndicatorRender:B,loadData:A,filterTreeNode:H,titleRender:j,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},u.createElement("div",{role:"tree",className:c()(E,k,G,(e={},(0,o.Z)(e,"".concat(E,"-show-line"),N),(0,o.Z)(e,"".concat(E,"-focused"),a),(0,o.Z)(e,"".concat(E,"-active-focused"),null!==f),e)),style:X},u.createElement(It,(0,l.Z)({ref:this.listRef,prefixCls:E,style:Z,data:i,disabled:T,selectable:K,checkable:!!M,motion:I,dragging:null!==s,height:z,itemHeight:_,virtual:F,focusable:b,focused:a,tabIndex:S,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:V,onScroll:W},this.getTreeNodeRequiredProps(),q))))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t,r=n.prevProps,a={prevProps:e};function l(n){return!r&&n in e||r&&r[n]!==e[n]}var i=n.fieldNames;if(l("fieldNames")&&(i=Jn(e.fieldNames),a.fieldNames=i),l("treeData")?t=e.treeData:l("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=Qn(e.children)),t){a.treeData=t;var c=nt(t,{fieldNames:i});a.keyEntities=(0,d.Z)((0,o.Z)({},Ot,Dt),c.keyEntities)}var s,u=a.keyEntities||n.keyEntities;if(l("expandedKeys")||r&&l("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?xt(e.expandedKeys,u):e.expandedKeys;else if(!r&&e.defaultExpandAll){var f=(0,d.Z)({},u);delete f[Ot],a.expandedKeys=Object.keys(f).map((function(e){return f[e].key}))}else!r&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?xt(e.defaultExpandedKeys,u):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var p=$n(t||n.treeData,a.expandedKeys||n.expandedKeys,i);a.flattenNodes=p}if((e.selectable&&(l("selectedKeys")?a.selectedKeys=yt(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=yt(e.defaultSelectedKeys,e))),e.checkable)&&(l("checkedKeys")?s=gt(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?s=gt(e.defaultCheckedKeys)||{}:t&&(s=gt(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),s)){var v=s,m=v.checkedKeys,h=void 0===m?[]:m,g=v.halfCheckedKeys,x=void 0===g?[]:g;if(!e.checkStrictly){var C=zt(h,!0,u);h=C.checkedKeys,x=C.halfCheckedKeys}a.checkedKeys=h,a.halfCheckedKeys=x}return l("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(u.Component);_t.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var n=e.dropPosition,t=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(n){case-1:o.top=0,o.left=-t*r;break;case 1:o.bottom=0,o.left=-t*r;break;case 0:o.bottom=0,o.left=r}return u.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},_t.TreeNode=dt;var Ft=_t,jt=t(33603),Bt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Vt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:Bt}))};Vt.displayName="FileOutlined";var Wt=u.forwardRef(Vt),Ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Gt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:Ut}))};Gt.displayName="FolderOpenOutlined";var Xt=u.forwardRef(Gt),qt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Yt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:qt}))};Yt.displayName="FolderOutlined";var Jt,Qt=u.forwardRef(Yt);function $t(e,n){e.forEach((function(e){var t=e.key,r=e.children;!1!==n(t,e)&&$t(r||[],n)}))}function er(e){var n=e.treeData,t=e.expandedKeys,r=e.startKey,o=e.endKey,a=[],l=Jt.None;if(r&&r===o)return[r];if(!r||!o)return[];return $t(n,(function(e){if(l===Jt.End)return!1;if(function(e){return e===r||e===o}(e)){if(a.push(e),l===Jt.None)l=Jt.Start;else if(l===Jt.Start)return l=Jt.End,!1}else l===Jt.Start&&a.push(e);return-1!==t.indexOf(e)})),a}function nr(e,n){var t=(0,s.Z)(n),r=[];return $t(e,(function(e,n){var o=t.indexOf(e);return-1!==o&&(r.push(n),t.splice(o,1)),!!t.length})),r}!function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"}(Jt||(Jt={}));var tr=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},n=e.confirm,t=e.closeDropdown;n&&Y([]),t&&P(!1),G(""),I(Z?(N||[]).map((function(e){return String(e)})):[])},$=c()((0,o.Z)({},"".concat(i,"-menu-without-submenu"),!(l.filters||[]).some((function(e){return e.children})))),ee=function(e){if(e.target.checked){var n=Mr(null===l||void 0===l?void 0:l.filters).map((function(e){return String(e)}));I(n)}else I([])},ne=function e(n){return(n.filters||[]).map((function(n,t){var r=String(n.value),o={title:n.text,key:void 0!==n.value?r:t};return n.children&&(o.children=e({filters:n.children})),o}))};if("function"===typeof l.filterDropdown)q=l.filterDropdown({prefixCls:"".concat(i,"-custom"),setSelectedKeys:function(e){return A({selectedKeys:e})},selectedKeys:T(),confirm:function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0}).closeDropdown&&P(!1),Y(T())},clearFilters:Q,filters:l.filters,visible:D});else if(l.filterDropdown)q=l.filterDropdown;else{var te=T()||[];q=u.createElement(u.Fragment,null,0===(l.filters||[]).length?u.createElement(vn.Z,{image:vn.Z.PRESENTED_IMAGE_SIMPLE,description:g.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===p?u.createElement(u.Fragment,null,u.createElement(wr,{filterSearch:m,value:U,onChange:X,tablePrefixCls:t,locale:g}),u.createElement("div",{className:"".concat(t,"-filter-dropdown-tree")},s?u.createElement(fn.Z,{checked:te.length===Mr(l.filters).length,indeterminate:te.length>0&&te.length0?c:e}),h=Math.ceil((c||e)/m.pageSize);m.current>h&&(m.current=h||1);var y=function(e,n){v({current:null!==e&&void 0!==e?e:1,pageSize:n||m.pageSize})};return!1===n?[{},function(){}]:[(0,l.Z)((0,l.Z)({},m),{onChange:function(e,r){var o;n&&(null===(o=n.onChange)||void 0===o||o.call(n,e,r)),y(e,r),t(e,r||(null===m||void 0===m?void 0:m.pageSize))}}),y]}var zr=t(84506),_r=t(80882),Fr={},jr="SELECT_ALL",Br="SELECT_INVERT",Vr="SELECT_NONE",Wr=[];function Ur(e,n){var t=[];return(e||[]).forEach((function(e){t.push(e),e&&"object"===(0,r.Z)(e)&&n in e&&(t=[].concat((0,s.Z)(t),(0,s.Z)(Ur(e[n],n))))})),t}function Gr(e,n){var t=e||{},r=t.preserveSelectedRowKeys,i=t.selectedRowKeys,c=t.defaultSelectedRowKeys,d=t.getCheckboxProps,f=t.onChange,p=t.onSelect,v=t.onSelectAll,m=t.onSelectInvert,h=t.onSelectNone,y=t.onSelectMultiple,g=t.columnWidth,x=t.type,C=t.selections,E=t.fixed,k=t.renderCell,Z=t.hideSelectAll,N=t.checkStrictly,b=void 0===N||N,w=n.prefixCls,S=n.data,K=n.pageData,O=n.getRecordByKey,P=n.getRowKey,D=n.expandType,R=n.childrenColumnName,M=n.locale,L=n.getPopupContainer,T=(0,yn.Z)(i||c||Wr,{value:i}),I=(0,a.Z)(T,2),A=I[0],H=I[1],z=u.useRef(new Map),_=(0,u.useCallback)((function(e){if(r){var n=new Map;e.forEach((function(e){var t=O(e);!t&&z.current.has(e)&&(t=z.current.get(e)),n.set(e,t)})),z.current=n}}),[O,r]);u.useEffect((function(){_(A)}),[A]);var F=(0,u.useMemo)((function(){return b?{keyEntities:null}:nt(S,{externalGetKey:P,childrenPropName:R})}),[S,P,b,R]).keyEntities,j=(0,u.useMemo)((function(){return Ur(K,R)}),[K,R]),B=(0,u.useMemo)((function(){var e=new Map;return j.forEach((function(n,t){var r=P(n,t),o=(d?d(n):null)||{};e.set(r,o)})),e}),[j,P,d]),V=(0,u.useCallback)((function(e){var n;return!!(null===(n=B.get(P(e)))||void 0===n?void 0:n.disabled)}),[B,P]),W=(0,u.useMemo)((function(){if(b)return[A||[],[]];var e=zt(A,!0,F,V);return[e.checkedKeys||[],e.halfCheckedKeys]}),[A,b,F,V]),U=(0,a.Z)(W,2),G=U[0],X=U[1],q=(0,u.useMemo)((function(){var e="radio"===x?G.slice(0,1):G;return new Set(e)}),[G,x]),Y=(0,u.useMemo)((function(){return"radio"===x?new Set:new Set(X)}),[X,x]),J=(0,u.useState)(null),Q=(0,a.Z)(J,2),$=Q[0],ee=Q[1];u.useEffect((function(){e||H(Wr)}),[!!e]);var ne=(0,u.useCallback)((function(e,n){var t,o;_(e),r?(t=e,o=e.map((function(e){return z.current.get(e)}))):(t=[],o=[],e.forEach((function(e){var n=O(e);void 0!==n&&(t.push(e),o.push(n))}))),H(t),null===f||void 0===f||f(t,o,{type:n})}),[H,O,f,r]),te=(0,u.useCallback)((function(e,n,t,r){if(p){var o=t.map((function(e){return O(e)}));p(O(e),n,o,r)}ne(t,"single")}),[p,O,ne]),re=(0,u.useMemo)((function(){return!C||Z?null:(!0===C?[jr,Br,Vr]:C).map((function(e){return e===jr?{key:"all",text:M.selectionAll,onSelect:function(){ne(S.map((function(e,n){return P(e,n)})).filter((function(e){var n=B.get(e);return!(null===n||void 0===n?void 0:n.disabled)||q.has(e)})),"all")}}:e===Br?{key:"invert",text:M.selectInvert,onSelect:function(){var e=new Set(q);K.forEach((function(n,t){var r=P(n,t),o=B.get(r);(null===o||void 0===o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))}));var n=Array.from(e);m&&m(n),ne(n,"invert")}}:e===Vr?{key:"none",text:M.selectNone,onSelect:function(){null===h||void 0===h||h(),ne(Array.from(q).filter((function(e){var n=B.get(e);return null===n||void 0===n?void 0:n.disabled})),"none")}}:e})).map((function(e){return(0,l.Z)((0,l.Z)({},e),{onSelect:function(){for(var n,t,r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2],r=(0,l.Z)((0,l.Z)({},ie),e);t&&(ie.resetPagination(),r.pagination.current&&(r.pagination.current=1),h&&h.onChange&&h.onChange(1,r.pagination.pageSize)),D&&!1!==D.scrollToFirstRowOnChange&&re.body.current&&Je(0,{getContainer:function(){return re.body.current}}),null===Z||void 0===Z||Z(r.pagination,r.filters,r.sorter,{currentDataSource:Tr(io(q,r.sorterStates,ne),r.filterStates),action:n})},de=co({prefixCls:J,mergedColumns:z,onSorterChange:function(e,n){ce({sorter:e,sorterStates:n},"sort",!1)},sortDirections:R||["ascend","descend"],tableLocale:X,showSorterTooltip:T}),ue=(0,a.Z)(de,4),fe=ue[0],pe=ue[1],ve=ue[2],me=ue[3],he=u.useMemo((function(){return io(q,pe,ne)}),[q,pe]);ie.sorter=me(),ie.sorterStates=pe;var ye=Ir({prefixCls:J,locale:X,dropdownPrefixCls:Q,mergedColumns:z,onFilterChange:function(e,n){ce({filters:e,filterStates:n},"filter",!0)},getPopupContainer:N}),ge=(0,a.Z)(ye,3),xe=ge[0],Ce=ge[1],Ee=ge[2],ke=Tr(he,Ce);ie.filters=Ee(),ie.filterStates=Ce;var Ze=uo(u.useMemo((function(){return(0,l.Z)({},ve)}),[ve])),Ne=(0,a.Z)(Ze,1)[0],be=Hr(ke.length,h,(function(e,n){ce({pagination:(0,l.Z)((0,l.Z)({},ie.pagination),{current:e,pageSize:n})},"paginate")})),we=(0,a.Z)(be,2),Se=we[0],Ke=we[1];ie.pagination=!1===h?{}:function(e,n){var t={current:n.current,pageSize:n.pageSize},o=e&&"object"===(0,r.Z)(e)?e:{};return Object.keys(o).forEach((function(e){var r=n[e];"function"!==typeof r&&(t[e]=r)})),t}(h,Se),ie.resetPagination=Ke;var Oe=u.useMemo((function(){if(!1===h||!Se.pageSize)return ke;var e=Se.current,n=void 0===e?1:e,t=Se.total,r=Se.pageSize,o=void 0===r?10:r;return ke.lengtho?ke.slice((n-1)*o,n*o):ke:ke.slice((n-1)*o,n*o)}),[!!h,ke,Se&&Se.current,Se&&Se.pageSize,Se&&Se.total]),Pe=Gr(y,{prefixCls:J,data:ke,pageData:Oe,getRowKey:oe,getRecordByKey:le,expandType:te,childrenColumnName:ne,locale:X,getPopupContainer:N}),De=(0,a.Z)(Pe,2),Re=De[0],Me=De[1];$.__PARENT_RENDER_ICON__=$.expandIcon,$.expandIcon=$.expandIcon||w||en(X),"nest"===te&&void 0===$.expandIconColumnIndex?$.expandIconColumnIndex=y?1:0:$.expandIconColumnIndex>0&&y&&($.expandIconColumnIndex-=1),"number"!==typeof $.indentSize&&($.indentSize="number"===typeof P?P:15);var Le,Ie,Ae,Ge=u.useCallback((function(e){return Ne(Re(xe(fe(e))))}),[fe,xe,Re]);if(!1!==h&&(null===Se||void 0===Se?void 0:Se.total)){var Xe;Xe=Se.size?Se.size:"small"===G||"middle"===G?"small":void 0;var qe=function(e){return u.createElement(We.Z,(0,l.Z)({},Se,{className:c()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),Se.className),size:Xe}))},Ye="rtl"===U?"left":"right",Qe=Se.position;if(null!==Qe&&Array.isArray(Qe)){var $e=Qe.find((function(e){return-1!==e.indexOf("top")})),nn=Qe.find((function(e){return-1!==e.indexOf("bottom")})),tn=Qe.every((function(e){return"none"==="".concat(e)}));$e||nn||tn||(Ie=qe(Ye)),$e&&(Le=qe($e.toLowerCase().replace("top",""))),nn&&(Ie=qe(nn.toLowerCase().replace("bottom","")))}else Ie=qe(Ye)}"boolean"===typeof b?Ae={spinning:b}:"object"===(0,r.Z)(b)&&(Ae=(0,l.Z)({spinning:!0},b));var rn=c()("".concat(J,"-wrapper"),(0,o.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===U),d);return u.createElement("div",{ref:n,className:rn,style:s},u.createElement(Ue.Z,(0,l.Z)({spinning:!1},Ae),Le,u.createElement(He,(0,l.Z)({},_,{columns:z,direction:U,expandable:$,prefixCls:J,className:c()((t={},(0,o.Z)(t,"".concat(J,"-middle"),"middle"===G),(0,o.Z)(t,"".concat(J,"-small"),"small"===G),(0,o.Z)(t,"".concat(J,"-bordered"),p),(0,o.Z)(t,"".concat(J,"-empty"),0===q.length),t)),data:Oe,rowKey:oe,rowClassName:function(e,n,t){var r;return r="function"===typeof x?c()(x(e,n,t)):c()(x),c()((0,o.Z)({},"".concat(J,"-row-selected"),Me.has(oe(e,n))),r)},emptyText:M&&M.emptyText||(W||Fe.Z)("Table"),internalHooks:Te,internalRefs:re,transformColumns:Ge})),Ie))}var vo=u.forwardRef(po);vo.defaultProps={rowKey:"key"},vo.SELECTION_COLUMN=Fr,vo.EXPAND_COLUMN=He.EXPAND_COLUMN,vo.SELECTION_ALL=jr,vo.SELECTION_INVERT=Br,vo.SELECTION_NONE=Vr,vo.Column=Qe,vo.ColumnGroup=$e,vo.Summary=Ze;var mo=vo},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(91),l=t(1413),i=t(15671),c=t(43144),d=t(60136),s=t(33643),u=t(67294),f=t(94184),p=t.n(f),v=function(e){(0,d.Z)(t,e);var n=(0,s.Z)(t);function t(e){var r;(0,i.Z)(this,t),(r=n.call(this,e)).handleChange=function(e){var n=r.props,t=n.disabled,o=n.onChange;t||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:(0,l.Z)((0,l.Z)({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in e?e.checked:e.defaultChecked;return r.state={checked:o},r}return(0,c.Z)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,l=n.className,i=n.style,c=n.name,d=n.id,s=n.type,f=n.disabled,v=n.readOnly,m=n.tabIndex,h=n.onClick,y=n.onFocus,g=n.onBlur,x=n.onKeyDown,C=n.onKeyPress,E=n.onKeyUp,k=n.autoFocus,Z=n.value,N=n.required,b=(0,a.Z)(n,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),w=Object.keys(b).reduce((function(e,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(e[n]=b[n]),e}),{}),S=this.state.checked,K=p()(t,l,(e={},(0,o.Z)(e,"".concat(t,"-checked"),S),(0,o.Z)(e,"".concat(t,"-disabled"),f),e));return u.createElement("span",{className:K,style:i},u.createElement("input",(0,r.Z)({name:c,id:d,type:s,required:N,readOnly:v,disabled:f,tabIndex:m,className:"".concat(t,"-input"),checked:!!S,onClick:h,onFocus:y,onBlur:g,onKeyUp:E,onKeyDown:x,onKeyPress:C,onChange:this.handleChange,autoFocus:k,ref:this.saveInput,value:Z},w)),u.createElement("span",{className:"".concat(t,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(e,n){return"checked"in e?(0,l.Z)((0,l.Z)({},n),{},{checked:e.checked}):null}}]),t}(u.Component);v.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},n.Z=v}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3660-8ac106c3c9d23701.js b/static/web/_next/static/chunks/3660-8ac106c3c9d23701.js deleted file mode 100644 index 2e243e4cf..000000000 --- a/static/web/_next/static/chunks/3660-8ac106c3c9d23701.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3660],{92032:function(t,e,r){"use strict";r.d(e,{Z:function(){return u}});var n=r(1413),i=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.6c-3.7 11.6-5.6 23.9-5.6 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1z"}}]},name:"notification",theme:"filled"},o=r(42922),s=function(t,e){return i.createElement(o.Z,(0,n.Z)((0,n.Z)({},t),{},{ref:e,icon:a}))};s.displayName="NotificationFilled";var u=i.forwardRef(s)},67154:function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;eh&&(l-=h,l-=h,l-=o(2))}return Number(l)}),c=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!==typeof t&&"number"!==typeof t||"number"===typeof t&&t!==t)&&(t=0),t=o(t);for(var i,a=(i=t,Math.ceil(function(t){return t.toString(2).length}(i)/8)),u=new Uint8Array(new ArrayBuffer(a)),c=0;c=e.length&&c.call(e,(function(e,r){return e===(u[r]?u[r]&t[o+r]:t[o+r])}))}},92260:function(t,e,r){"use strict";r.d(e,{Hi:function(){return p},Jg:function(){return f},KL:function(){return l},_5:function(){return h},kS:function(){return c},lA:function(){return m},p7:function(){return d},ws:function(){return u},xz:function(){return g}});var n=r(58908),i=r.n(n),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},o=["video","audio","text"],s=["Video","Audio","Text"],u=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,(function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)})):t},c=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach((function(t){var e;t=t.trim(),o.forEach((function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var o=t.substring(0,i[1].length),s=t.replace(o,"");r.push({type:o,details:s,mediaType:n})}})),e||r.push({type:t,details:"",mediaType:"unknown"})})),r},f=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var i=r[n];if(i.default&&i.playlists)return c(i.playlists[0].attributes.CODECS)}return null},l=function(t){return void 0===t&&(t=""),a.audio.test(t.trim().toLowerCase())},h=function(t){if(t&&"string"===typeof t){var e,r=t.toLowerCase().split(",").map((function(t){return u(t.trim())})),n="video";1===r.length&&l(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),a.text.test(e.trim().toLowerCase()))&&(n="application");var i="mp4";return r.every((function(t){return a.mp4.test(t)}))?i="mp4":r.every((function(t){return a.webm.test(t)}))?i="webm":r.every((function(t){return a.ogg.test(t)}))&&(i="ogg"),n+"/"+i+';codecs="'+t+'"'}},d=function(t){return void 0===t&&(t=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(h(t))||!1},p=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every((function(t){t=t.trim();for(var e=0;er;){var a=t[r],o=0,s=0,u=t[++s];for(s++;128&u;)o=(127&u)<<7,u=t[s],s++;o+=127&u;for(var c=0;c>>0,c=e.subarray(s+4,s+8);if(0===u)break;var f=s+u;if(f>e.length){if(n)break;f=e.length}var l=e.subarray(s+8,f);(0,i.G3)(c,r[0])&&(1===r.length?o.push(l):o.push.apply(o,t(l,r.slice(1),n))),s=f}return o},u={EBML:(0,i.Ki)([26,69,223,163]),DocType:(0,i.Ki)([66,130]),Segment:(0,i.Ki)([24,83,128,103]),SegmentInfo:(0,i.Ki)([21,73,169,102]),Tracks:(0,i.Ki)([22,84,174,107]),Track:(0,i.Ki)([174]),TrackNumber:(0,i.Ki)([215]),DefaultDuration:(0,i.Ki)([35,227,131]),TrackEntry:(0,i.Ki)([174]),TrackType:(0,i.Ki)([131]),FlagDefault:(0,i.Ki)([136]),CodecID:(0,i.Ki)([134]),CodecPrivate:(0,i.Ki)([99,162]),VideoTrack:(0,i.Ki)([224]),AudioTrack:(0,i.Ki)([225]),Cluster:(0,i.Ki)([31,67,182,117]),Timestamp:(0,i.Ki)([231]),TimestampScale:(0,i.Ki)([42,215,177]),BlockGroup:(0,i.Ki)([160]),BlockDuration:(0,i.Ki)([155]),Block:(0,i.Ki)([161]),SimpleBlock:(0,i.Ki)([163])},c=[128,64,32,16,8,4,2,1],f=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var a=function(t){for(var e=1,r=0;r=r.length)return r.length;var a=f(r,n,!1);if((0,i.G3)(e.bytes,a.bytes))return n;var o=f(r,n+a.length);return t(e,r,n+o.length+o.value+a.length)},d=function t(e,r){r=function(t){return Array.isArray(t)?t.map((function(t){return l(t)})):[l(t)]}(r),e=(0,i.Ki)(e);var n=[];if(!r.length)return n;for(var a=0;ae.length?e.length:u+s.value,d=e.subarray(u,c);(0,i.G3)(r[0],o.bytes)&&(1===r.length?n.push(d):n=n.concat(t(d,r.slice(1)))),a+=o.length+s.length+d.length}return n},p=r(68925),m=(0,i.Ki)([0,0,0,1]),g=(0,i.Ki)([0,0,1]),v=(0,i.Ki)([0,0,3]),y=function(t){for(var e=[],r=1;r>1&63),-1!==r.indexOf(c)&&(a=o+u),o+=u+("h264"===e?1:2)}else o++}return t.subarray(0,0)},w={webm:(0,i.Ki)([119,101,98,109]),matroska:(0,i.Ki)([109,97,116,114,111,115,107,97]),flac:(0,i.Ki)([102,76,97,67]),ogg:(0,i.Ki)([79,103,103,83]),ac3:(0,i.Ki)([11,119]),riff:(0,i.Ki)([82,73,70,70]),avi:(0,i.Ki)([65,86,73]),wav:(0,i.Ki)([87,65,86,69]),"3gp":(0,i.Ki)([102,116,121,112,51,103]),mp4:(0,i.Ki)([102,116,121,112]),fmp4:(0,i.Ki)([115,116,121,112]),mov:(0,i.Ki)([102,116,121,112,113,116]),moov:(0,i.Ki)([109,111,111,118]),moof:(0,i.Ki)([109,111,111,102])},E={aac:function(t){var e=(0,p.c)(t);return(0,i.G3)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,p.c)(t);return(0,i.G3)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=d(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,w.webm)},mkv:function(t){var e=d(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,w.matroska)},mp4:function(t){return!E["3gp"](t)&&!E.mov(t)&&(!(!(0,i.G3)(t,w.mp4,{offset:4})&&!(0,i.G3)(t,w.fmp4,{offset:4}))||(!(!(0,i.G3)(t,w.moof,{offset:4})&&!(0,i.G3)(t,w.moov,{offset:4}))||void 0))},mov:function(t){return(0,i.G3)(t,w.mov,{offset:4})},"3gp":function(t){return(0,i.G3)(t,w["3gp"],{offset:4})},ac3:function(t){var e=(0,p.c)(t);return(0,i.G3)(t,w.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+1880}},36722:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(58908),i=r.n(n),a=r(48764).Buffer;function o(t){for(var e,r=(e=t,i().atob?i().atob(e):a.from(e,"base64").toString("binary")),n=new Uint8Array(r.length),o=0;o>4?i+20:i+10}(e,r),t(e,r))}},8485:function(t,e,r){"use strict";r.d(e,{t:function(){return a}});var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,i=/^application\/dash\+xml/i,a=function(t){return n.test(t)?"hls":i.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},80779:function(t,e,r){"use strict";var n=r(49945),i=r.n(n),a=r(58908),o=r.n(a),s="http://example.com";e.Z=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=o().location&&o().location.href||"");var r="function"===typeof o().URL,n=/^\/\//.test(t),a=!o().location&&!/\/\//i.test(t);if(r?t=new(o().URL)(t,o().location||s):/\/\//i.test(t)||(t=i().buildAbsoluteURL(o().location&&o().location.href||"",t)),r){var u=new URL(e,t);return a?u.href.slice(s.length):n?u.href.slice(u.protocol.length):u.href}return i().buildAbsoluteURL(t,e)}},13490:function(t,e,r){"use strict";var n=r(58908);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r)t(r);else if(i.statusCode>=400&&i.statusCode<=599){var o=a;if(e)if(n.TextDecoder){var s=function(t){void 0===t&&(t="");return t.toLowerCase().split(";").reduce((function(t,e){var r=e.split("="),n=r[0],i=r[1];return"charset"===n.trim()?i.trim():t}),"utf-8")}(i.headers&&i.headers["content-type"]);try{o=new TextDecoder(s).decode(a)}catch(u){}}else o=String.fromCharCode.apply(null,new Uint8Array(a));t({cause:o})}else t(null,a)}}},9603:function(t,e,r){"use strict";var n=r(58908),i=r(67154),a=r(27376);s.httpHandler=r(13490);function o(t,e,r){var n=t;return a(e)?(r=e,"string"===typeof t&&(n={uri:t})):n=i({},e,{uri:t}),n.callback=r,n}function s(t,e,r){return u(e=o(t,e,r))}function u(t){if("undefined"===typeof t.callback)throw new Error("callback argument missing");var e=!1,r=function(r,n,i){e||(e=!0,t.callback(r,n,i))};function n(){var t=void 0;if(t=c.response?c.response:c.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(r){}return null}(c),g)try{t=JSON.parse(t)}catch(e){}return t}function i(t){return clearTimeout(f),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,r(t,v)}function a(){if(!u){var e;clearTimeout(f),e=t.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var i=v,a=null;return 0!==e?(i={body:n(),statusCode:e,method:h,headers:{},url:l,rawRequest:c},c.getAllResponseHeaders&&(i.headers=function(t){var e={};return t?(t.trim().split("\n").forEach((function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();"undefined"===typeof e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]})),e):e}(c.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),r(a,i,i.body)}}var o,u,c=t.xhr||null;c||(c=t.cors||t.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var f,l=c.url=t.uri||t.url,h=c.method=t.method||"GET",d=t.body||t.data,p=c.headers=t.headers||{},m=!!t.sync,g=!1,v={body:void 0,headers:{},statusCode:0,method:h,url:l,rawRequest:c};if("json"in t&&!1!==t.json&&(g=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==h&&"HEAD"!==h&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),d=JSON.stringify(!0===t.json?d:t.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(a,0)},c.onload=a,c.onerror=i,c.onprogress=function(){},c.onabort=function(){u=!0},c.ontimeout=i,c.open(h,l,!m,t.username,t.password),m||(c.withCredentials=!!t.withCredentials),!m&&t.timeout>0&&(f=setTimeout((function(){if(!u){u=!0,c.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",i(t)}}),t.timeout)),c.setRequestHeader)for(o in p)p.hasOwnProperty(o)&&c.setRequestHeader(o,p[o]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(c.responseType=t.responseType),"beforeSend"in t&&"function"===typeof t.beforeSend&&t.beforeSend(c),c.send(d||null),c}t.exports=s,t.exports.default=s,s.XMLHttpRequest=n.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r=e+r||e?new java.lang.String(t,e,r)+"":t}function g(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}l.prototype.parseFromString=function(t,e){var r=this.options,n=new f,i=r.domBuilder||new h,o=r.errorHandler,s=r.locator,c=r.xmlns||{},l=/\/x?html?$/.test(e),d=l?a.HTML_ENTITIES:a.XML_ENTITIES;return s&&i.setDocumentLocator(s),n.errorHandler=function(t,e,r){if(!t){if(e instanceof h)return e;t=e}var n={},i=t instanceof Function;function a(e){var a=t[e];!a&&i&&(a=2==t.length?function(r){t(e,r)}:t),n[e]=a&&function(t){a("[xmldom "+e+"]\t"+t+p(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(o,i,s),n.domBuilder=r.domBuilder||i,l&&(c[""]=u.HTML),c.xml=c.xml||u.XML,t&&"string"===typeof t?n.parse(t,c,d):n.errorHandler.error("invalid doc source"),i.doc},h.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,a=i.createElementNS(t,r||e),o=n.length;g(this,a),this.currentElement=a,this.locator&&d(this.locator,a);for(var s=0;s=0))throw I(N,new Error(t.tagName+"@"+r));for(var i=e.length-1;n"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function B(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(B(t,e))return!0}while(t=t.nextSibling)}function X(){}function Y(t,e,r,i){t&&t._inc++,r.namespaceURI===n.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function F(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,a=0;i;)n[a++]=i,i=i.nextSibling;n.length=a}}}function Z(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,F(t.ownerDocument,t),e}function G(t,e,r){var n=e.parentNode;if(n&&n.removeChild(e),e.nodeType===w){var i=e.firstChild;if(null==i)return e;var a=e.lastChild}else i=a=e;var o=r?r.previousSibling:t.lastChild;i.previousSibling=o,a.nextSibling=r,o?o.nextSibling=i:t.firstChild=i,null==r?t.lastChild=a:r.previousSibling=a;do{i.parentNode=t}while(i!==a&&(i=i.nextSibling));return F(t.ownerDocument||t,t),e.nodeType==w&&(e.firstChild=e.lastChild=null),e}function K(){this._nsMap={}}function H(){}function j(){}function V(){}function q(){}function z(){}function W(){}function $(){}function J(){}function Q(){}function tt(){}function et(){}function rt(){}function nt(t,e){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,a=n.namespaceURI;if(a&&null==i&&null==(i=n.lookupPrefix(a)))var o=[{namespace:a,prefix:null}];return ot(this,r,t,e,o),r.join("")}function it(t,e,r){var i=t.prefix||"",a=t.namespaceURI;if(!a)return!1;if("xml"===i&&a===n.XML||a===n.XMLNS)return!1;for(var o=r.length;o--;){var s=r[o];if(s.prefix===i)return s.namespace!==a}return!0}function at(t,e,r){t.push(" ",e,'="',r.replace(/[<&"]/g,k),'"')}function ot(t,e,r,i,a){if(a||(a=[]),i){if(!(t=i(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case f:var o=t.attributes,s=o.length,u=t.firstChild,c=t.tagName,m=c;if(!(r=n.isHTML(t.namespaceURI)||r)&&!t.prefix&&t.namespaceURI){for(var E,T=0;T=0;S--){if(""===(A=a[S]).prefix&&A.namespace===t.namespaceURI){E=A.namespace;break}}if(E!==t.namespaceURI)for(S=a.length-1;S>=0;S--){var A;if((A=a[S]).namespace===t.namespaceURI){A.prefix&&(m=A.prefix+":"+c);break}}}e.push("<",m);for(var N=0;N"),r&&/^script$/i.test(c))for(;u;)u.data?e.push(u.data):ot(u,e,r,i,a.slice()),u=u.nextSibling;else for(;u;)ot(u,e,r,i,a.slice()),u=u.nextSibling;e.push("")}else e.push("/>");return;case y:case w:for(u=t.firstChild;u;)ot(u,e,r,i,a.slice()),u=u.nextSibling;return;case l:return at(e,t.name,t.value);case h:return e.push(t.data.replace(/[<&]/g,k).replace(/]]>/g,"]]>"));case d:return e.push("");case v:return e.push("\x3c!--",t.data,"--\x3e");case b:var D=t.publicId,O=t.systemId;if(e.push("");else if(O&&"."!=O)e.push(" SYSTEM ",O,">");else{var C=t.internalSubset;C&&e.push(" [",C,"]"),e.push(">")}return;case g:return e.push("");case p:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function st(t,e,r){var n;switch(e.nodeType){case f:(n=e.cloneNode(!1)).ownerDocument=t;case w:break;case l:r=!0}if(n||(n=e.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var i=e.firstChild;i;)n.appendChild(st(t,i,r)),i=i.nextSibling;return n}function ut(t,e,r){var n=new e.constructor;for(var i in e){var a=e[i];"object"!=typeof a&&a!=n[i]&&(n[i]=a)}switch(e.childNodes&&(n.childNodes=new x),n.ownerDocument=t,n.nodeType){case f:var o=e.attributes,s=n.attributes=new C,u=o.length;s._ownerElement=n;for(var c=0;c0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r)for(var n in r)if(r[n]==t)return n;e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&t in r)return r[t];e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},s(c,_),s(c,_.prototype),X.prototype={nodeName:"#document",nodeType:y,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==w){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return null==this.documentElement&&t.nodeType==f&&(this.documentElement=t),G(this,t,e),t.ownerDocument=this,t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),Z(this,t)},importNode:function(t,e){return st(this,t,e)},getElementById:function(t){var e=null;return B(this.documentElement,(function(r){if(r.nodeType==f&&r.getAttribute("id")==t)return e=r,!0})),e},getElementsByClassName:function(t){var e=o(t);return new D(this,(function(r){var n=[];return e.length>0&&B(r.documentElement,(function(i){if(i!==r&&i.nodeType===f){var a=i.getAttribute("class");if(a){var s=t===a;if(!s){var u=o(a);s=e.every((c=u,function(t){return c&&-1!==c.indexOf(t)}))}s&&n.push(i)}}var c})),n}))},createElement:function(t){var e=new K;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new x,(e.attributes=new C)._ownerElement=e,e},createDocumentFragment:function(){var t=new tt;return t.ownerDocument=this,t.childNodes=new x,t},createTextNode:function(t){var e=new V;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new q;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new z;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new et;return r.ownerDocument=this,r.tagName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new H;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new Q;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new K,n=e.split(":"),i=r.attributes=new C;return r.childNodes=new x,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new H,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},u(X,_),K.prototype={nodeType:f,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===w?this.insertBefore(t,null):function(t,e){var r=e.parentNode;if(r){var n=t.lastChild;r.removeChild(e),n=t.lastChild}return n=t.lastChild,e.parentNode=t,e.previousSibling=n,e.nextSibling=null,n?n.nextSibling=e:t.firstChild=e,t.lastChild=e,F(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new D(this,(function(e){var r=[];return B(e,(function(n){n===e||n.nodeType!=f||"*"!==t&&n.tagName!=t||r.push(n)})),r}))},getElementsByTagNameNS:function(t,e){return new D(this,(function(r){var n=[];return B(r,(function(i){i===r||i.nodeType!==f||"*"!==t&&i.namespaceURI!==t||"*"!==e&&i.localName!=e||n.push(i)})),n}))}},X.prototype.getElementsByTagName=K.prototype.getElementsByTagName,X.prototype.getElementsByTagNameNS=K.prototype.getElementsByTagNameNS,u(K,_),H.prototype.nodeType=l,u(H,_),j.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(S[A])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){r=this.data.substring(0,t)+r+this.data.substring(t+e),this.nodeValue=this.data=r,this.length=r.length}},u(j,_),V.prototype={nodeName:"#text",nodeType:h,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},u(V,j),q.prototype={nodeName:"#comment",nodeType:v},u(q,j),z.prototype={nodeName:"#cdata-section",nodeType:d},u(z,j),W.prototype.nodeType=b,u(W,_),$.prototype.nodeType=E,u($,_),J.prototype.nodeType=m,u(J,_),Q.prototype.nodeType=p,u(Q,_),tt.prototype.nodeName="#document-fragment",tt.prototype.nodeType=w,u(tt,_),et.prototype.nodeType=g,u(et,_),rt.prototype.serializeToString=function(t,e,r){return nt.call(t,e,r)},_.prototype.toString=nt;try{if(Object.defineProperty){function ft(t){switch(t.nodeType){case f:case w:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(ft(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}Object.defineProperty(D.prototype,"length",{get:function(){return O(this),this.$$length}}),Object.defineProperty(_.prototype,"textContent",{get:function(){return ft(this)},set:function(t){switch(this.nodeType){case f:case w:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),ct=function(t,e,r){t["$$"+e]=r}}}catch(lt){}e.DocumentType=W,e.DOMException=I,e.DOMImplementation=U,e.Element=K,e.Node=_,e.NodeList=x,e.XMLSerializer=rt},31045:function(t,e,r){var n=r(72167).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",times:"\xd7",divide:"\xf7",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",euro:"\u20ac",trade:"\u2122",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}),e.entityMap=e.HTML_ENTITIES},3969:function(t,e,r){var n=r(41146);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(86129).DOMParser},76925:function(t,e,r){var n=r(72167).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function c(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function f(t,e,r,i,a,o){function s(t,e,n){r.attributeNames.hasOwnProperty(t)&&o.fatalError("Attribute "+t+" redefined"),r.addValue(t,e,n)}for(var u,c=++e,f=0;;){var l=t.charAt(c);switch(l){case"=":if(1===f)u=t.slice(e,c),f=3;else{if(2!==f)throw new Error("attribute equal must after attrName");f=3}break;case"'":case'"':if(3===f||1===f){if(1===f&&(o.warning('attribute value must after "="'),u=t.slice(e,c)),e=c+1,!((c=t.indexOf(l,e))>0))throw new Error("attribute value no end '"+l+"' match");s(u,h=t.slice(e,c).replace(/&#?\w+;/g,a),e-1),f=5}else{if(4!=f)throw new Error('attribute value must after "="');s(u,h=t.slice(e,c).replace(/&#?\w+;/g,a),e),o.warning('attribute "'+u+'" missed start quot('+l+")!!"),e=c+1,f=5}break;case"/":switch(f){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:f=7,r.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==f&&r.setTagName(t.slice(e,c)),c;case">":switch(f){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=t.slice(e,c)).slice(-1)&&(r.closed=!0,h=h.slice(0,-1));case 2:2===f&&(h=u),4==f?(o.warning('attribute "'+h+'" missed quot(")!'),s(u,h.replace(/&#?\w+;/g,a),e)):(n.isHTML(i[""])&&h.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),s(h,h,e));break;case 3:throw new Error("attribute value missed!!")}return c;case"\x80":l=" ";default:if(l<=" ")switch(f){case 0:r.setTagName(t.slice(e,c)),f=6;break;case 1:u=t.slice(e,c),f=2;break;case 4:var h=t.slice(e,c).replace(/&#?\w+;/g,a);o.warning('attribute "'+h+'" missed quot(")!!'),s(u,h,e);case 5:f=6}else switch(f){case 2:r.tagName;n.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,e),e=c,f=1;break;case 5:o.warning('attribute space is required"'+u+'"!!');case 6:f=1,e=c;break;case 3:f=4,e=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function l(t,e,r){for(var i=t.tagName,a=null,o=t.length;o--;){var s=t[o],u=s.qName,c=s.value;if((d=u.indexOf(":"))>0)var f=s.prefix=u.slice(0,d),l=u.slice(d+1),h="xmlns"===f&&l;else l=u,f=null,h="xmlns"===u&&"";s.localName=l,!1!==h&&(null==a&&(a={},p(r,r={})),r[h]=a[h]=c,s.uri=n.XMLNS,e.startPrefixMapping(h,c))}for(o=t.length;o--;){(f=(s=t[o]).prefix)&&("xml"===f&&(s.uri=n.XML),"xmlns"!==f&&(s.uri=r[f||""]))}var d;(d=i.indexOf(":"))>0?(f=t.prefix=i.slice(0,d),l=t.localName=i.slice(d+1)):(f=null,l=t.localName=i);var m=t.uri=r[f||""];if(e.startElement(m,l,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=a,!0;if(e.endElement(m,l,i),a)for(f in a)e.endPrefixMapping(f)}function h(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var a=t.indexOf("",e),o=t.substring(e+1,a);if(/[&<]/.test(o))return/^script$/i.test(r)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,n),i.characters(o,0,o.length),a)}return e+1}function d(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf(""))e?(r.comment(t,e+4,i-e-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var a=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=e,i.exec(t);for(;r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],u=!1,c=!1;o>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],c=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(c=a[3][0]));var f=a[o-1];return r.startDTD(s,u,c),r.endDTD(),f.index+f[0].length}return-1}function g(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function v(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),p(e,e={}),function(t,e,r,i,a){function o(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}function u(t){var e=t.slice(1,-1);return e in r?r[e]:"#"===e.charAt(0)?o(parseInt(e.substr(1).replace("x","0x"))):(a.error("entity not found:"+t),t)}function p(e){if(e>N){var r=t.substring(N,e).replace(/&#?\w+;/g,u);T&&y(N),i.characters(r,0,e-N),N=e}}function y(e,r){for(;e>=w&&(r=E.exec(t));)b=r.index,w=b+r[0].length,T.lineNumber++;T.columnNumber=e-b+1}var b=0,w=0,E=/.*(?:\r\n?|\n)|.*$/g,T=i.locator,S=[{currentNSMap:e}],A={},N=0;for(;;){try{var R=t.indexOf("<",N);if(R<0){if(!t.substr(N).match(/^\s*$/)){var I=i.doc,x=I.createTextNode(t.substr(N));I.appendChild(x),i.currentElement=x}return}switch(R>N&&p(R),t.charAt(R+1)){case"/":var D=t.indexOf(">",R+3),O=t.substring(R+2,D).replace(/[ \t\n\r]+$/g,""),C=S.pop();D<0?(O=t.substring(R+2).replace(/[\s<].*/,""),a.error("end tag name: "+O+" is not complete:"+C.tagName),D=R+1+O.length):O.match(/\sN?N=D:p(Math.max(R,N)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},v.prototype={setTagName:function(t){if(!o.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!o.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=u,e.ParseError=s},27049:function(t,e,r){"use strict";var n=r(87462),i=r(4942),a=r(67294),o=r(94184),s=r.n(o),u=r(59844),c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i0?"-".concat(m):m,A=!!y,N="left"===m&&null!=g,R="right"===m&&null!=g,I=s()(T,"".concat(T,"-").concat(d),(e={},(0,i.Z)(e,"".concat(T,"-with-text"),A),(0,i.Z)(e,"".concat(T,"-with-text").concat(S),A),(0,i.Z)(e,"".concat(T,"-dashed"),!!b),(0,i.Z)(e,"".concat(T,"-plain"),!!w),(0,i.Z)(e,"".concat(T,"-rtl"),"rtl"===f),(0,i.Z)(e,"".concat(T,"-no-default-orientation-margin-left"),N),(0,i.Z)(e,"".concat(T,"-no-default-orientation-margin-right"),R),e),v),x=(0,n.Z)((0,n.Z)({},N&&{marginLeft:g}),R&&{marginRight:g});return a.createElement("div",(0,n.Z)({className:I},E,{role:"separator"}),y&&a.createElement("span",{className:"".concat(T,"-inner-text"),style:x},y))}},79742:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,a=u(t),o=a[0],s=a[1],c=new i(function(t,e,r){return 3*(e+r)/4-r}(0,o,s)),f=0,l=s>0?o-4:o;for(r=0;r>16&255,c[f++]=e>>8&255,c[f++]=255&e;2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[f++]=255&e);1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[f++]=e>>8&255,c[f++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,a=[],o=16383,s=0,u=n-i;su?u:s+o));1===i?(e=t[n-1],a.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],a.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return a.join("")};for(var r=[],n=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t,e,n){for(var i,a,o=[],s=e;s>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(t,e,r){"use strict";var n=r(79742),i=r(80645),a=r(87300);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Z(t).length;default:if(n)return F(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return O(this,e,r);case"utf8":case"utf-8":return R(this,e,r);case"ascii":return x(this,e,r);case"latin1":case"binary":return D(this,e,r);case"base64":return N(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:y(t,e,r,n,i);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):y(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,r,n,i){var a,o=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,u/=2,r/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var f=-1;for(a=r;as&&(r=s-u),a=r;a>=0;a--){for(var l=!0,h=0;hi&&(n=i):n=i;var a=e.length;if(a%2!==0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o>8,i=r%256,a.push(i),a.push(n);return a}(e,t.length-r),t,r,n)}function N(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function R(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128===(192&(a=t[i+1]))&&(u=(31&c)<<6|63&a)>127&&(f=u);break;case 3:a=t[i+1],o=t[i+2],128===(192&a)&&128===(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return function(t){var e=t.length;if(e<=I)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},u.prototype.compare=function(t,e,r,n,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(e>>>=0),s=Math.min(a,o),c=this.slice(n,i),f=t.slice(e,r),l=0;li)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return w(this,t,e,r);case"ascii":return E(this,t,e,r);case"latin1":case"binary":return T(this,t,e,r);case"base64":return S(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function x(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;in)&&(r=n);for(var i="",a=e;ar)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,r,n,i,a){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function L(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,a=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function U(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,a=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function _(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function k(t,e,r,n,a){return a||_(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function B(t,e,r,n,a){return a||_(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t],i=1,a=0;++a=(i*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},u.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||P(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+i]=t/a&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):U(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):U(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);P(this,t,e,r,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);P(this,t,e,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):U(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):U(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,r){return k(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return k(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return B(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return B(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(a=e;a55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function Z(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(X,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function G(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}},87300:function(t){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},24262:function(t,e,r){"use strict";function n(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}r.d(e,{Z:function(){return n}})},83946:function(t,e,r){"use strict";function n(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}r.d(e,{Z:function(){return n}})},75401:function(t,e,r){"use strict";r.d(e,{Z:function(){return u}});var n=r(24262),i=r(19013),a=r(13882);function o(t){(0,a.Z)(1,arguments);var e=(0,i.Z)(t);return e.setHours(0,0,0,0),e}var s=864e5;function u(t,e){(0,a.Z)(2,arguments);var r=o(t),i=o(e),u=r.getTime()-(0,n.Z)(r),c=i.getTime()-(0,n.Z)(i);return Math.round((u-c)/s)}},46914:function(t,e,r){"use strict";r.d(e,{Z:function(){return w}});var n=r(49474),i=r(19013),a=r(13882);function o(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),n=(0,i.Z)(e);return r.getFullYear()-n.getFullYear()}function s(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),s=(0,i.Z)(e),u=(0,n.Z)(r,s),c=Math.abs(o(r,s));r.setFullYear(1584),s.setFullYear(1584);var f=(0,n.Z)(r,s)===-u,l=u*(c-Number(f));return 0===l?0:l}var u=r(82161),c=r(75401);function f(t,e){var r=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return r<0?-1:r>0?1:r}function l(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),n=(0,i.Z)(e),o=f(r,n),s=Math.abs((0,c.Z)(r,n));r.setDate(r.getDate()-o*s);var u=Number(f(r,n)===-o),l=o*(s-u);return 0===l?0:l}Math.pow(10,8);var h=36e5,d=r(59910),p=r(93645);function m(t,e,r){(0,a.Z)(2,arguments);var n=(0,d.Z)(t,e)/h;return(0,p.u)(null===r||void 0===r?void 0:r.roundingMethod)(n)}function g(t,e,r){(0,a.Z)(2,arguments);var n=(0,d.Z)(t,e)/6e4;return(0,p.u)(null===r||void 0===r?void 0:r.roundingMethod)(n)}var v=r(11699),y=r(61436),b=r(42569);function w(t){var e=t.start,r=t.end;(0,a.Z)(1,arguments);var o=(0,i.Z)(e),c=(0,i.Z)(r);if(!(0,y.Z)(o))throw new RangeError("Start Date is invalid");if(!(0,y.Z)(c))throw new RangeError("End Date is invalid");var f={years:0,months:0,days:0,hours:0,minutes:0,seconds:0},h=(0,n.Z)(o,c);f.years=Math.abs(s(o,c));var d=(0,b.Z)(o,{years:h*f.years});f.months=Math.abs((0,u.Z)(d,c));var p=(0,b.Z)(d,{months:h*f.months});f.days=Math.abs(l(p,c));var w=(0,b.Z)(p,{days:h*f.days});f.hours=Math.abs(m(w,c));var E=(0,b.Z)(w,{hours:h*f.hours});f.minutes=Math.abs(g(E,c));var T=(0,b.Z)(E,{minutes:h*f.minutes});return f.seconds=Math.abs((0,v.Z)(T,c)),f}},61436:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(13882);function i(t){return(0,n.Z)(1,arguments),t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t)}var a=r(19013);function o(t){if((0,n.Z)(1,arguments),!i(t)&&"number"!==typeof t)return!1;var e=(0,a.Z)(t);return!isNaN(Number(e))}},35077:function(t,e,r){"use strict";r.d(e,{Z:function(){return g}});var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(t,e,r){var i,a=n[t];return i="string"===typeof a?a:1===e?a.one:a.other.replace("{{count}}",e.toString()),null!==r&&void 0!==r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function a(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,n=t.formats[r]||t.formats[t.defaultWidth];return n}}var o={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},u=function(t,e,r,n){return s[t]};function c(t){return function(e,r){var n,i=r||{};if("formatting"===(i.context?String(i.context):"standalone")&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,o=i.width?String(i.width):a;n=t.formattingValues[o]||t.formattingValues[a]}else{var s=t.defaultWidth,u=i.width?String(i.width):t.defaultWidth;n=t.values[u]||t.values[s]}return n[t.argumentCallback?t.argumentCallback(e):e]}}var f={ordinalNumber:function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function l(t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,i=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],a=e.match(i);if(!a)return null;var o,s=a[0],u=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(u)?d(u,(function(t){return t.test(s)})):h(u,(function(t){return t.test(s)}));o=t.valueCallback?t.valueCallback(c):c,o=r.valueCallback?r.valueCallback(o):o;var f=e.slice(s.length);return{value:o,rest:f}}}function h(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function d(t,e){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(p.matchPattern);if(!r)return null;var n=r[0],i=t.match(p.parsePattern);if(!i)return null;var a=p.valueCallback?p.valueCallback(i[0]):i[0];a=e.valueCallback?e.valueCallback(a):a;var o=t.slice(n.length);return{value:a,rest:o}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},g={code:"en-US",formatDistance:i,formatLong:o,formatRelative:u,localize:f,match:m,options:{weekStartsOn:0,firstWeekContainsDate:1}}},42569:function(t,e,r){"use strict";r.d(e,{Z:function(){return f}});var n=r(83946),i=r(19013),a=r(13882);function o(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),o=(0,n.Z)(e);return isNaN(o)?new Date(NaN):o?(r.setDate(r.getDate()+o),r):r}function s(t,e){(0,a.Z)(2,arguments);var r=(0,n.Z)(e);return o(t,-r)}function u(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),o=(0,n.Z)(e);if(isNaN(o))return new Date(NaN);if(!o)return r;var s=r.getDate(),u=new Date(r.getTime());u.setMonth(r.getMonth()+o+1,0);var c=u.getDate();return s>=c?u:(r.setFullYear(u.getFullYear(),u.getMonth(),s),r)}function c(t,e){(0,a.Z)(2,arguments);var r=(0,n.Z)(e);return u(t,-r)}function f(t,e){if((0,a.Z)(2,arguments),!e||"object"!==typeof e)return new Date(NaN);var r=e.years?(0,n.Z)(e.years):0,i=e.months?(0,n.Z)(e.months):0,o=e.weeks?(0,n.Z)(e.weeks):0,u=e.days?(0,n.Z)(e.days):0,f=e.hours?(0,n.Z)(e.hours):0,l=e.minutes?(0,n.Z)(e.minutes):0,h=e.seconds?(0,n.Z)(e.seconds):0,d=c(t,i+12*r),p=s(d,u+7*o),m=l+60*f,g=h+60*m,v=1e3*g,y=new Date(p.getTime()-v);return y}},89144:function(t,e,r){var n,i="undefined"!==typeof r.g?r.g:"undefined"!==typeof window?window:{},a=r(25893);"undefined"!==typeof document?n=document:(n=i["__GLOBAL_DOCUMENT_CACHE@4"])||(n=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),t.exports=n},58908:function(t,e,r){var n;n="undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:{},t.exports=n},80645:function(t,e){e.read=function(t,e,r,n,i){var a,o,s=8*i-n-1,u=(1<>1,f=-7,l=r?i-1:0,h=r?-1:1,d=t[e+l];for(l+=h,a=d&(1<<-f)-1,d>>=-f,f+=s;f>0;a=256*a+t[e+l],l+=h,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+t[e+l],l+=h,f-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),a-=c}return(d?-1:1)*o*Math.pow(2,a-n)},e.write=function(t,e,r,n,i,a){var o,s,u,c=8*a-i-1,f=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,p=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+l>=1?h/u:h*Math.pow(2,1-l))*u>=2&&(o++,u/=2),o+l>=f?(s=0,o=f):o+l>=1?(s=(e*u-1)*Math.pow(2,i),o+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(o=o<0;t[r+d]=255&o,d+=p,o/=256,c-=8);t[r+d-p]|=128*m}},27376:function(t){t.exports=function(t){if(!t)return!1;var r=e.call(t);return"[object Function]"===r||"function"===typeof t&&"[object RegExp]"!==r||"undefined"!==typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var e=Object.prototype.toString},27537:function(t,e){function r(t){if(t&&"object"===typeof t){var e=t.which||t.keyCode||t.charCode;e&&(t=e)}if("number"===typeof t)return o[t];var r,a=String(t);return(r=n[a.toLowerCase()])?r:(r=i[a.toLowerCase()])||(1===a.length?a.charCodeAt(0):void 0)}r.isEventKey=function(t,e){if(t&&"object"===typeof t){var r=t.which||t.keyCode||t.charCode;if(null===r||void 0===r)return!1;if("string"===typeof e){var a;if(a=n[e.toLowerCase()])return a===r;if(a=i[e.toLowerCase()])return a===r}else if("number"===typeof e)return e===r;return!1}};var n=(e=t.exports=r).code=e.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=e.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(a=97;a<123;a++)n[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)n[a-48]=a;for(a=1;a<13;a++)n["f"+a]=a+111;for(a=0;a<10;a++)n["numpad "+a]=a+96;var o=e.names=e.title={};for(a in n)o[n[a]]=a;for(var s in i)n[s]=i[s]},9323:function(t,e,r){"use strict";r.d(e,{_b:function(){return m}});var n=r(94578),i=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2===arguments.length)for(var r=e.length,n=0;n-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)},e}(i),c=String.fromCharCode(9),f=function(t){var e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},l=function(t){for(var e,r=t.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),n={},i=r.length;i--;)""!==r[i]&&((e=/([^=]*)=(.*)/.exec(r[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),n[e[0]]=e[1]);return n},h=function(t){function e(){var e;return(e=t.call(this)||this).customParsers=[],e.tagMappers=[],e}(0,n.Z)(e,t);var r=e.prototype;return r.push=function(t){var e,r,n=this;0!==(t=t.trim()).length&&("#"===t[0]?this.tagMappers.reduce((function(e,r){var n=r(t);return n===t?e:e.concat([n])}),[t]).forEach((function(t){for(var i=0;i0&&(f.duration=t.duration),0===t.duration&&(f.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=c},key:function(){if(t.attributes)if("NONE"!==t.attributes.METHOD)if(t.attributes.URI){if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:(0,s.Z)(t.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),n={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},"undefined"!==typeof t.attributes.IV&&(n.iv=t.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else n=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(t.number)?this.manifest.mediaSequence=t.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number})},"discontinuity-sequence":function(){isFinite(t.number)?(this.manifest.discontinuitySequence=t.number,v=t.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number})},"playlist-type":function(){/VOD|EVENT/.test(t.playlistType)?this.manifest.playlistType=t.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist})},map:function(){r={},t.uri&&(r.uri=t.uri),t.byterange&&(r.byterange=t.byterange),n&&(r.key=n)},"stream-inf":function(){this.manifest.playlists=c,this.manifest.mediaGroups=this.manifest.mediaGroups||g,t.attributes?(f.attributes||(f.attributes={}),(0,a.Z)(f.attributes,t.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||g,t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME){var r=this.manifest.mediaGroups[t.attributes.TYPE];r[t.attributes["GROUP-ID"]]=r[t.attributes["GROUP-ID"]]||{},e=r[t.attributes["GROUP-ID"]],(o={default:/yes/i.test(t.attributes.DEFAULT)}).default?o.autoselect=!0:o.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(o.language=t.attributes.LANGUAGE),t.attributes.URI&&(o.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(o.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(o.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(o.forced=/yes/i.test(t.attributes.FORCED)),e[t.attributes.NAME]=o}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){v+=1,f.discontinuity=!0,this.manifest.discontinuityStarts.push(c.length)},"program-date-time":function(){"undefined"===typeof this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),f.dateTimeString=t.dateTimeString,f.dateTimeObject=t.dateTimeObject},targetduration:function(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration}):(this.manifest.targetDuration=t.duration,p.call(this,this.manifest))},start:function(){t.attributes&&!isNaN(t.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){f.cueOut=t.data},"cue-out-cont":function(){f.cueOutCont=t.data},"cue-in":function(){f.cueIn=t.data},skip:function(){this.manifest.skip=d(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part:function(){var e=this;l=!0;var r=this.manifest.segments.length,n=d(t.attributes);f.parts=f.parts||[],f.parts.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=b),b=n.byterange.offset+n.byterange.length);var i=f.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+i+" for segment #"+r,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(t,r){t.hasOwnProperty("lastPart")||e.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+r+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var e=this.manifest.serverControl=d(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),p.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var e=this.manifest.segments.length,r=d(t.attributes),n=r.type&&"PART"===r.type;f.preloadHints=f.preloadHints||[],f.preloadHints.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=n?b:0,n&&(b=r.byterange.offset+r.byterange.length)));var i=f.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+i+" for segment #"+e,t.attributes,["TYPE","URI"]),r.type)for(var a=0;ae.timeline?1:-1}));var e,r},x=function(t){var e,r,n=[];return e=t,r=function(t,e,r,i){n=n.concat(t.playlists||[])},R.forEach((function(t){for(var n in e.mediaGroups[t])for(var i in e.mediaGroups[t][n]){var a=e.mediaGroups[t][n][i];r(a,t,n,i)}})),n},D=function(t){var e=t.playlist,r=t.mediaSequence;e.mediaSequence=r,e.segments.forEach((function(t,r){t.number=e.mediaSequence+r}))},O=function(t){var e=t.oldManifest,r=t.newManifest,n=e.playlists.concat(x(e)),i=r.playlists.concat(x(r));return r.timelineStarts=I([e.timelineStarts,r.timelineStarts]),function(t){var e=t.oldPlaylists,r=t.newPlaylists,n=t.timelineStarts;r.forEach((function(t){t.discontinuitySequence=d(n,(function(e){return e.timeline===t.timeline}));var r=function(t,e){for(var r=0;rr.timeline||r.segments.length&&t.timeline>r.segments[r.segments.length-1].timeline)&&t.discontinuitySequence--);r.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),D({playlist:t,mediaSequence:r.segments[a].number})}}))}({oldPlaylists:n,newPlaylists:i,timelineStarts:r.timelineStarts}),r},C=function(t){return t&&t.uri+"-"+function(t){var e;return e="bigint"===typeof t.offset||"bigint"===typeof t.length?a().BigInt(t.offset)+a().BigInt(t.length)-a().BigInt(1):t.offset+t.length-1,t.offset+"-"+e}(t.byterange)},M=function(t){return f(t.reduce((function(t,e){var r=e.attributes.id+(e.attributes.lang||"");if(t[r]){var n;if(e.segments)e.segments[0]&&(e.segments[0].discontinuity=!0),(n=t[r].segments).push.apply(n,e.segments);e.attributes.contentProtection&&(t[r].attributes.contentProtection=e.attributes.contentProtection)}else t[r]=e,t[r].attributes.timelineStarts=[];return t[r].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t}),{})).map((function(t){var e,r;return t.discontinuityStarts=(e=t.segments||[],r="discontinuity",e.reduce((function(t,e,n){return e[r]&&t.push(n),t}),[])),t}))},P=function(t,e){var r=C(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&N(t,n,t.sidx.resolvedUri),t},L=function(t,e){if(void 0===e&&(e={}),!Object.keys(e).length)return t;for(var r in t)t[r]=P(t[r],e);return t},U=function(t){var e,r=t.attributes,n=t.segments,i=t.sidx,a=t.discontinuityStarts,o={attributes:(e={NAME:r.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:r.width,height:r.height},CODECS:r.codecs,BANDWIDTH:r.bandwidth},e["PROGRAM-ID"]=1,e),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuityStarts:a,timelineStarts:r.timelineStarts,segments:n};return r.contentProtection&&(o.contentProtection=r.contentProtection),i&&(o.sidx=i),o},_=function(t){var e=t.attributes;return"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType},k=function(t){var e=t.attributes;return"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType},B=function(t){var e=t.attributes;return"text/vtt"===e.mimeType||"text"===e.contentType},X=function(t){return t?Object.keys(t).reduce((function(e,r){var n=t[r];return e.concat(n.playlists)}),[]):[]},Y=function(t){var e,r=t.dashPlaylists,n=t.locations,i=t.sidxMapping,a=void 0===i?{}:i,o=t.previousManifest;if(!r.length)return{};var s=r[0].attributes,u=s.sourceDuration,c=s.type,f=s.suggestedPresentationDelay,l=s.minimumUpdatePeriod,h=M(r.filter(_)).map(U),p=M(r.filter(k)),m=M(r.filter(B)),g=r.map((function(t){return t.attributes.captionServices})).filter(Boolean),v={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(e={AUDIO:{},VIDEO:{}},e["CLOSED-CAPTIONS"]={},e.SUBTITLES={},e),uri:"",duration:u,playlists:L(h,a)};l>=0&&(v.minimumUpdatePeriod=1e3*l),n&&(v.locations=n),"dynamic"===c&&(v.suggestedPresentationDelay=f);var y,b,w=0===v.playlists.length,E=p.length?function(t,e,r){var n;void 0===e&&(e={}),void 0===r&&(r=!1);var i=t.reduce((function(t,i){var a=i.attributes.role&&i.attributes.role.value||"",o=i.attributes.lang||"",s=i.attributes.label||"main";if(o&&!i.attributes.label){var u=a?" ("+a+")":"";s=""+i.attributes.lang+u}t[s]||(t[s]={language:o,autoselect:!0,default:"main"===a,playlists:[],uri:""});var c=P(function(t,e){var r,n=t.attributes,i=t.segments,a=t.sidx,o=t.mediaSequence,s=t.discontinuitySequence,u=t.discontinuityStarts,c={attributes:(r={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs},r["PROGRAM-ID"]=1,r),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuitySequence:s,discontinuityStarts:u,timelineStarts:n.timelineStarts,mediaSequence:o,segments:i};return n.contentProtection&&(c.contentProtection=n.contentProtection),a&&(c.sidx=a),e&&(c.attributes.AUDIO="audio",c.attributes.SUBTITLES="subs"),c}(i,r),e);return t[s].playlists.push(c),"undefined"===typeof n&&"main"===a&&((n=i).default=!0),t}),{});return n||(i[Object.keys(i)[0]].default=!0),i}(p,a,w):null,T=m.length?function(t,e){return void 0===e&&(e={}),t.reduce((function(t,r){var n=r.attributes.lang||"text";return t[n]||(t[n]={language:n,default:!1,autoselect:!1,playlists:[],uri:""}),t[n].playlists.push(P(function(t){var e,r=t.attributes,n=t.segments,i=t.mediaSequence,a=t.discontinuityStarts,o=t.discontinuitySequence;"undefined"===typeof n&&(n=[{uri:r.baseUrl,timeline:r.periodStart,resolvedUri:r.baseUrl||"",duration:r.sourceDuration,number:0}],r.duration=r.sourceDuration);var s=((e={NAME:r.id,BANDWIDTH:r.bandwidth})["PROGRAM-ID"]=1,e);return r.codecs&&(s.CODECS=r.codecs),{attributes:s,uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,timelineStarts:r.timelineStarts,discontinuityStarts:a,discontinuitySequence:o,mediaSequence:i,segments:n}}(r),e)),t}),{})}(m,a):null,S=h.concat(X(E),X(T)),A=S.map((function(t){return t.timelineStarts}));return v.timelineStarts=I(A),y=S,b=v.timelineStarts,y.forEach((function(t){t.mediaSequence=0,t.discontinuitySequence=d(b,(function(e){return e.timeline===t.timeline})),t.segments&&t.segments.forEach((function(t,e){t.number=e}))})),E&&(v.mediaGroups.AUDIO.audio=E),T&&(v.mediaGroups.SUBTITLES.subs=T),g.length&&(v.mediaGroups["CLOSED-CAPTIONS"].cc=g.reduce((function(t,e){return e?(e.forEach((function(e){var r=e.channel,n=e.language;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])})),t):t}),{})),o?O({oldManifest:o,newManifest:v}):v},F=function(t,e,r){var n=t.NOW,i=t.clientOffset,a=t.availabilityStartTime,o=t.timescale,s=void 0===o?1:o,u=t.periodStart,c=void 0===u?0:u,f=t.minimumUpdatePeriod,l=(n+i)/1e3+(void 0===f?0:f)-(a+c);return Math.ceil((l*s-e)/r)},Z=function(t,e){for(var r=t.type,n=t.minimumUpdatePeriod,i=void 0===n?0:n,a=t.media,o=void 0===a?"":a,s=t.sourceDuration,u=t.timescale,c=void 0===u?1:u,f=t.startNumber,l=void 0===f?1:f,h=t.periodStart,d=[],p=-1,m=0;mp&&(p=b);var w=void 0;if(y<0){var E=m+1;w=E===e.length?"dynamic"===r&&i>0&&o.indexOf("$Number$")>0?F(t,p,v):(s*c-p)/v:(e[E].t-p)/v}else w=y+1;for(var T=l+d.length+w,S=l+d.length;S=i?a:""+new Array(i-a.length+1).join("0")+a)}}(e))},H=function(t,e){var r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},i=t.initialization,a=void 0===i?{sourceURL:"",range:""}:i,o=w({baseUrl:t.baseUrl,source:K(a.sourceURL,r),range:a.range}),s=function(t,e){return t.duration||e?t.duration?S(t):Z(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}]}(t,e);return s.map((function(e){r.Number=e.number,r.Time=e.time;var i=K(t.media||"",r),a=t.timescale||1,s=t.presentationTimeOffset||0,u=t.periodStart+(e.time-s)/a;return{uri:i,timeline:e.timeline,duration:e.duration,resolvedUri:(0,n.Z)(t.baseUrl||"",i),map:o,number:e.number,presentationTime:u}}))},j=function(t,e){var r=t.duration,n=t.segmentUrls,i=void 0===n?[]:n,a=t.periodStart;if(!r&&!e||r&&e)throw new Error(y);var o,s=i.map((function(e){return function(t,e){var r=t.baseUrl,n=t.initialization,i=void 0===n?{}:n,a=w({baseUrl:r,source:i.sourceURL,range:i.range}),o=w({baseUrl:r,source:e.media,range:e.mediaRange});return o.map=a,o}(t,e)}));return r&&(o=S(t)),e&&(o=Z(t,e)),o.map((function(e,r){if(s[r]){var n=s[r],i=t.timescale||1,o=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=a+(e.time-o)/i,n}})).filter((function(t){return t}))},V=function(t){var e,r,n=t.attributes,i=t.segmentInfo;i.template?(r=H,e=c(n,i.template)):i.base?(r=A,e=c(n,i.base)):i.list&&(r=j,e=c(n,i.list));var a={attributes:n};if(!r)return a;var o=r(e,i.segmentTimeline);if(e.duration){var s=e,u=s.duration,f=s.timescale,l=void 0===f?1:f;e.duration=u/l}else o.length?e.duration=o.reduce((function(t,e){return Math.max(t,Math.ceil(e.duration))}),0):e.duration=0;return a.attributes=e,a.segments=o,i.base&&e.indexRange&&(a.sidx=o[0],a.segments=[]),a},q=function(t,e){return h(t.childNodes).filter((function(t){return t.tagName===e}))},z=function(t){return t.textContent.trim()},W=function(t){var e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;var r=e.slice(1),n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],u=r[5];return 31536e3*parseFloat(n||0)+2592e3*parseFloat(i||0)+86400*parseFloat(a||0)+3600*parseFloat(o||0)+60*parseFloat(s||0)+parseFloat(u||0)},$={mediaPresentationDuration:function(t){return W(t)},availabilityStartTime:function(t){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e=t)&&(e+="Z"),Date.parse(e)/1e3;var e},minimumUpdatePeriod:function(t){return W(t)},suggestedPresentationDelay:function(t){return W(t)},type:function(t){return t},timeShiftBufferDepth:function(t){return W(t)},start:function(t){return W(t)},width:function(t){return parseInt(t,10)},height:function(t){return parseInt(t,10)},bandwidth:function(t){return parseInt(t,10)},startNumber:function(t){return parseInt(t,10)},timescale:function(t){return parseInt(t,10)},presentationTimeOffset:function(t){return parseInt(t,10)},duration:function(t){var e=parseInt(t,10);return isNaN(e)?W(t):e},d:function(t){return parseInt(t,10)},t:function(t){return parseInt(t,10)},r:function(t){return parseInt(t,10)},DEFAULT:function(t){return t}},J=function(t){return t&&t.attributes?h(t.attributes).reduce((function(t,e){var r=$[e.name]||$.DEFAULT;return t[e.name]=r(e.value),t}),{}):{}},Q={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},tt=function(t,e){return e.length?l(t.map((function(t){return e.map((function(e){return(0,n.Z)(t,z(e))}))}))):t},et=function(t){var e=q(t,"SegmentTemplate")[0],r=q(t,"SegmentList")[0],n=r&&q(r,"SegmentURL").map((function(t){return c({tag:"SegmentURL"},J(t))})),i=q(t,"SegmentBase")[0],a=r||e,o=a&&q(a,"SegmentTimeline")[0],s=r||i||e,u=s&&q(s,"Initialization")[0],f=e&&J(e);f&&u?f.initialization=u&&J(u):f&&f.initialization&&(f.initialization={sourceURL:f.initialization});var l={template:f,segmentTimeline:o&&q(o,"S").map((function(t){return J(t)})),list:r&&c(J(r),{segmentUrls:n,initialization:J(u)}),base:i&&c(J(i),{initialization:J(u)})};return Object.keys(l).forEach((function(t){l[t]||delete l[t]})),l},rt=function(t,e,r){return function(n){var i,a=J(n),s=tt(e,q(n,"BaseURL")),u=q(n,"Role")[0],f={role:J(u)},h=c(t,a,f),d=q(n,"Accessibility")[0],p="urn:scte:dash:cc:cea-608:2015"===(i=J(d)).schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(t){var e,r;if(r=t,/^CC\d=/.test(t)){var n=t.split("=");e=n[0],r=n[1]}else/^CC\d$/.test(t)&&(e=t);return{channel:e,language:r}})):"urn:scte:dash:cc:cea-708:2015"===i.schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(t){var e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){var r=t.split("="),n=r[0],i=r[1],a=void 0===i?"":i;e.channel=n,e.language=t,a.split(",").forEach((function(t){var r=t.split(":"),n=r[0],i=r[1];"lang"===n?e.language=i:"er"===n?e.easyReader=Number(i):"war"===n?e.aspectRatio=Number(i):"3D"===n&&(e["3D"]=Number(i))}))}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e})):void 0;p&&(h=c(h,{captionServices:p}));var m=q(n,"Label")[0];if(m&&m.childNodes.length){var g=m.childNodes[0].nodeValue.trim();h=c(h,{label:g})}var v=q(n,"ContentProtection").reduce((function(t,e){var r=J(e),n=Q[r.schemeIdUri];if(n){t[n]={attributes:r};var i=q(e,"cenc:pssh")[0];if(i){var a=z(i),s=a&&(0,o.Z)(a);t[n].pssh=s}}return t}),{});Object.keys(v).length&&(h=c(h,{contentProtection:v}));var y=et(n),b=q(n,"Representation"),w=c(r,y);return l(b.map(function(t,e,r){return function(n){var i=q(n,"BaseURL"),a=tt(e,i),o=c(t,J(n)),s=et(n);return a.map((function(t){return{segmentInfo:c(r,s),attributes:c(o,{baseUrl:t})}}))}}(h,s,w)))}},nt=function(t,e){return function(r,n){var i=tt(e,q(r.node,"BaseURL")),a=c(t,{periodStart:r.attributes.start});"number"===typeof r.attributes.duration&&(a.periodDuration=r.attributes.duration);var o=q(r.node,"AdaptationSet"),s=et(r.node);return l(o.map(rt(a,i,s)))}},it=function(t){if(""===t)throw new Error(m);var e,r,n=new s.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(i){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw new Error(g);return r},at=function(t,e){void 0===e&&(e={});var r=function(t,e){void 0===e&&(e={});var r=e,n=r.manifestUri,i=void 0===n?"":n,a=r.NOW,o=void 0===a?Date.now():a,s=r.clientOffset,u=void 0===s?0:s,c=q(t,"Period");if(!c.length)throw new Error(p);var f=q(t,"Location"),h=J(t),d=tt([i],q(t,"BaseURL"));h.type=h.type||"static",h.sourceDuration=h.mediaPresentationDuration||0,h.NOW=o,h.clientOffset=u,f.length&&(h.locations=f.map(z));var m=[];return c.forEach((function(t,e){var r=J(t),n=m[e-1];r.start=function(t){var e=t.attributes,r=t.priorPeriodAttributes,n=t.mpdType;return"number"===typeof e.start?e.start:r&&"number"===typeof r.start&&"number"===typeof r.duration?r.start+r.duration:r||"static"!==n?null:0}({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:h.type}),m.push({node:t,attributes:r})})),{locations:h.locations,representationInfo:l(m.map(nt(h,d)))}}(it(t),e),n=r.representationInfo.map(V);return Y({dashPlaylists:n,locations:r.locations,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest})},ot=function(t){return function(t){var e=q(t,"UTCTiming")[0];if(!e)return null;var r=J(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw new Error(b)}return r}(it(t))}},84221:function(t,e,r){var n=r(46894).getUint64;t.exports=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},i=12;0===r.version?(r.earliestPresentationTime=e.getUint32(i),r.firstOffset=e.getUint32(i+4),i+=8):(r.earliestPresentationTime=n(t.subarray(i)),r.firstOffset=n(t.subarray(i+8)),i+=16),i+=2;var a=e.getUint16(i);for(i+=2;a>0;i+=12,a--)r.references.push({referenceType:(128&t[i])>>>7,referencedSize:2147483647&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:268435455&e.getUint32(i+8)});return r}},51489:function(t){var e,r,n,i,a,o,s,u=9e4;e=function(t){return t*u},r=function(t,e){return t*e},n=function(t){return t/u},i=function(t,e){return t/e},a=function(t,r){return e(i(t,r))},o=function(t,e){return r(n(t),e)},s=function(t,e,r){return n(r?t:t-e)},t.exports={ONE_SECOND_IN_TS:u,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i,audioTsToVideoTs:a,videoTsToAudioTs:o,metadataTsToSeconds:s}},46894:function(t){var e=Math.pow(2,32);t.exports={getUint64:function(t){var r,n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getBigUint64?(r=n.getBigUint64(0))0;function i(t,e,r,n){t.addEventListener?t.addEventListener(e,r,n):t.attachEvent&&t.attachEvent("on".concat(e),(function(){r(window.event)}))}function a(t,e){for(var r=e.slice(0,e.length-1),n=0;n=0;)e[r-1]+=",",e.splice(r,1),r=e.lastIndexOf("");return e}for(var s={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21ea":20,",":188,".":190,"/":191,"`":192,"-":n?173:189,"=":n?61:187,";":n?59:186,"'":222,"[":219,"]":221,"\\":220},u={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},c={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},f={16:!1,18:!1,17:!1,91:!1},l={},h=1;h<20;h++)s["f".concat(h)]=111+h;var d=[],p=!1,m="all",g=[],v=function(t){return s[t.toLowerCase()]||u[t.toLowerCase()]||t.toUpperCase().charCodeAt(0)};function y(t){m=t||"all"}function b(){return m||"all"}var w=function(t){var e=t.key,r=t.scope,n=t.method,i=t.splitKey,s=void 0===i?"+":i;o(e).forEach((function(t){var e=t.split(s),i=e.length,o=e[i-1],c="*"===o?"*":v(o);if(l[c]){r||(r=b());var f=i>1?a(u,e):[];l[c]=l[c].filter((function(t){return!((!n||t.method===n)&&t.scope===r&&function(t,e){for(var r=t.length>=e.length?t:e,n=t.length>=e.length?e:t,i=!0,a=0;a0,f)Object.prototype.hasOwnProperty.call(f,a)&&(!f[a]&&e.mods.indexOf(+a)>-1||f[a]&&-1===e.mods.indexOf(+a))&&(i=!1);(0!==e.mods.length||f[16]||f[18]||f[17]||f[91])&&!i&&"*"!==e.shortcut||!1===e.method(t,e)&&(t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation&&t.stopPropagation(),t.cancelBubble&&(t.cancelBubble=!0))}}function T(t,e){var r=l["*"],n=t.keyCode||t.which||t.charCode;if(S.filter.call(this,t)){if(93!==n&&224!==n||(n=91),-1===d.indexOf(n)&&229!==n&&d.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(e){var r=c[e];t[e]&&-1===d.indexOf(r)?d.push(r):!t[e]&&d.indexOf(r)>-1?d.splice(d.indexOf(r),1):"metaKey"===e&&t[e]&&3===d.length&&(t.ctrlKey||t.shiftKey||t.altKey||(d=d.slice(d.indexOf(r))))})),n in f){for(var i in f[n]=!0,u)u[i]===n&&(S[i]=!0);if(!r)return}for(var a in f)Object.prototype.hasOwnProperty.call(f,a)&&(f[a]=t[c[a]]);t.getModifierState&&(!t.altKey||t.ctrlKey)&&t.getModifierState("AltGraph")&&(-1===d.indexOf(17)&&d.push(17),-1===d.indexOf(18)&&d.push(18),f[17]=!0,f[18]=!0);var o=b();if(r)for(var s=0;s1&&(s=a(u,t)),(t="*"===(t=t[t.length-1])?"*":v(t))in l||(l[t]=[]),l[t].push({keyup:y,keydown:b,scope:c,mods:s,shortcut:n[m],method:r,key:n[m],splitKey:w,element:h});"undefined"!==typeof h&&!function(t){return g.indexOf(t)>-1}(h)&&window&&(g.push(h),i(h,"keydown",(function(t){T(t,h)}),E),p||(p=!0,i(window,"focus",(function(){d=[]}),E)),i(h,"keyup",(function(t){T(t,h),function(t){var e=t.keyCode||t.which||t.charCode,r=d.indexOf(e);if(r>=0&&d.splice(r,1),t.key&&"meta"===t.key.toLowerCase()&&d.splice(0,d.length),93!==e&&224!==e||(e=91),e in f)for(var n in f[e]=!1,u)u[n]===e&&(S[n]=!1)}(t)}),E))}var A={setScope:y,getScope:b,deleteScope:function(t,e){var r,n;for(var i in t||(t=b()),l)if(Object.prototype.hasOwnProperty.call(l,i))for(r=l[i],n=0;n1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(l).forEach((function(r){var n=l[r].find((function(r){return r.scope===e&&r.shortcut===t}));n&&n.method&&n.method()}))},unbind:function(t){if(t){if(Array.isArray(t))t.forEach((function(t){t.key&&w(t)}));else if("object"===typeof t)t.key&&w(t);else if("string"===typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n59?e(r[1],r[2],0,r[4]):e(0,r[1],r[2],r[4]):null}function s(){this.values=i(null)}function u(t,e,r,n){var i=n?t.split(n):[t];for(var a in i)if("string"===typeof i[a]){var o=i[a].split(r);if(2===o.length)e(o[0],o[1])}}function c(t,e,r){var n=t;function i(){var e=o(t);if(null===e)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+n);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function c(){t=t.replace(/^\s+/,"")}if(c(),e.startTime=i(),c(),"--\x3e"!==t.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);t=t.substr(3),c(),e.endTime=i(),c(),function(t,e){var n=new s;u(t,(function(t,e){switch(t){case"region":for(var i=r.length-1;i>=0;i--)if(r[i].id===e){n.set(t,r[i].region);break}break;case"vertical":n.alt(t,e,["rl","lr"]);break;case"line":var a=e.split(","),o=a[0];n.integer(t,o),n.percent(t,o)&&n.set("snapToLines",!1),n.alt(t,o,["auto"]),2===a.length&&n.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=e.split(","),n.percent(t,a[0]),2===a.length&&n.alt("positionAlign",a[1],["start","center","end"]);break;case"size":n.percent(t,e);break;case"align":n.alt(t,e,["start","center","end","left","right"])}}),/:/,/\s/),e.region=n.get("region",null),e.vertical=n.get("vertical","");try{e.line=n.get("line","auto")}catch(i){}e.lineAlign=n.get("lineAlign","start"),e.snapToLines=n.get("snapToLines",!0),e.size=n.get("size",100);try{e.align=n.get("align","center")}catch(i){e.align=n.get("align","middle")}try{e.position=n.get("position","auto")}catch(i){e.position=n.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=n.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(t,e)}a.prototype=i(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,r){for(var n=0;n=0&&e<=100)&&(this.set(t,e),!0)}};var f=n.createElement&&n.createElement("textarea"),l={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},h={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},d={v:"title",lang:"lang"},p={rt:"ruby"};function m(t,e){function r(){if(!e)return null;var t,r=e.match(/^([^<]*)(<[^>]*>?)?/);return t=r[1]?r[1]:r[2],e=e.substr(t.length),t}function n(t,e){return!p[e.localName]||p[e.localName]===t.localName}function i(e,r){var n=l[e];if(!n)return null;var i=t.document.createElement(n),a=d[e];return a&&r&&(i[a]=r.trim()),i}for(var a,s,u=t.document.createElement("div"),c=u,m=[];null!==(a=r());)if("<"!==a[0])c.appendChild(t.document.createTextNode((s=a,f.innerHTML=s,s=f.textContent,f.textContent="",s)));else{if("/"===a[1]){m.length&&m[m.length-1]===a.substr(2).replace(">","")&&(m.pop(),c=c.parentNode);continue}var g,v=o(a.substr(1,a.length-2));if(v){g=t.document.createProcessingInstruction("timestamp",v),c.appendChild(g);continue}var y=a.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(!(g=i(y[1],y[3])))continue;if(!n(c,g))continue;if(y[2]){var b=y[2].split(".");b.forEach((function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(h.hasOwnProperty(r)){var n=e?"background-color":"color",i=h[r];g.style[n]=i}})),g.className=b.join(" ")}m.push(y[1]),c.appendChild(g),c=g}return u}var g=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function v(t){for(var e=0;e=r[0]&&t<=r[1])return!0}return!1}function y(t){var e=[],r="";if(!t||!t.childNodes)return"ltr";function n(t,e){for(var r=e.childNodes.length-1;r>=0;r--)t.push(e.childNodes[r])}function i(t){if(!t||!t.length)return null;var e=t.pop(),r=e.textContent||e.innerText;if(r){var a=r.match(/^.*(\n|\r)/);return a?(t.length=0,a[0]):r}return"ruby"===e.tagName?i(t):e.childNodes?(n(t,e),i(t)):void 0}for(n(e,t);r=i(e);)for(var a=0;a=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,r=e.textTrackList,n=0,i=0;il&&(f=f<0?-1:1,f*=Math.ceil(l/c)*c),o<0&&(f+=""===a.vertical?r.height:r.width,s=s.reverse()),i.move(h,f)}else{var d=i.lineHeight/r.height*100;switch(a.lineAlign){case"center":o-=d/2;break;case"end":o-=d}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(o,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(o,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(o,"%")})}s=["+y","-x","+x","-y"],i=new E(e)}var p=function(t,e){for(var i,a=new E(t),o=1,s=0;su&&(i=new E(t),o=u),t=new E(a)}return i||a}(i,s);e.move(p.toCSSCompatValues(r))}function S(){}b.prototype.applyStyles=function(t,e){for(var r in e=e||this.div,t)t.hasOwnProperty(r)&&(e.style[r]=t[r])},b.prototype.formatStyle=function(t,e){return 0===t?0:t+e},w.prototype=i(b.prototype),w.prototype.constructor=w,E.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},E.prototype.overlaps=function(t){return this.leftt.left&&this.topt.top},E.prototype.overlapsAny=function(t){for(var e=0;e=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},E.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.leftt.right;case"+y":return this.topt.bottom}},E.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},E.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},E.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},S.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!==typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},S.convertCueToDOMTree=function(t,e){return t&&e?m(t,e):null};S.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n=t.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",r.appendChild(n),function(t){for(var e=0;e100)throw new Error("Position must be between 0 and 100.");m=t,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(t){var e=n(t);e?(g=e,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return v},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");v=t,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return y},set:function(t){var e=n(t);if(!e)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");y=e,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=i},13710:function(t){var e={"":!0,up:!0};function r(t){return"number"===typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,n=3,i=0,a=100,o=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return n},set:function(t){if("number"!==typeof t)throw new TypeError("Lines must be set to a number.");n=t}},regionAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!r(t))throw new Error("RegionAnchorX must be between 0 and 100.");a=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!r(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw new Error("ViewportAnchorX must be between 0 and 100.");o=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){var r=function(t){return"string"===typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase()}(t);!1===r?console.warn("Scroll: an invalid or illegal string was specified."):u=r}}})}},5647:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var n=r(89611),i=r(78814);function a(t,e,r){return a=(0,i.Z)()?Reflect.construct:function(t,e,r){var i=[null];i.push.apply(i,e);var a=new(Function.bind.apply(t,i));return r&&(0,n.Z)(a,r.prototype),a},a.apply(null,arguments)}},94578:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});var n=r(89611);function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,n.Z)(t,e)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3698-ab9819fb276ecdca.js b/static/web/_next/static/chunks/3698-ab9819fb276ecdca.js deleted file mode 100644 index af31dafed..000000000 --- a/static/web/_next/static/chunks/3698-ab9819fb276ecdca.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3698],{57838:function(e,t,n){n.d(t,{Z:function(){return a}});var o=n(97685),r=n(67294);function a(){var e=r.useReducer((function(e){return e+1}),0);return(0,o.Z)(e,2)[1]}},24308:function(e,t,n){n.d(t,{c4:function(){return a}});var o=n(4942),r=n(87462),a=["xxl","xl","lg","md","sm","xs"],i={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},u=new Map,l=-1,c={},s={matchHandlers:{},dispatch:function(e){return c=e,u.forEach((function(e){return e(c)})),u.size>=1},subscribe:function(e){return u.size||this.register(),l+=1,u.set(l,e),e(c),l},unsubscribe:function(e){u.delete(e),u.size||this.unregister()},unregister:function(){var e=this;Object.keys(i).forEach((function(t){var n=i[t],o=e.matchHandlers[n];null===o||void 0===o||o.mql.removeListener(null===o||void 0===o?void 0:o.listener)})),u.clear()},register:function(){var e=this;Object.keys(i).forEach((function(t){var n=i[t],a=function(n){var a=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},c),(0,o.Z)({},t,a)))},u=window.matchMedia(n);u.addListener(a),e.matchHandlers[n]={mql:u,listener:a},a(u)}))}};t.ZP=s},25378:function(e,t,n){var o=n(67294),r=n(57838),a=n(24308);t.Z=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=(0,o.useRef)({}),n=(0,r.Z)();return(0,o.useEffect)((function(){var o=a.ZP.subscribe((function(o){t.current=o,e&&n()}));return function(){return a.ZP.unsubscribe(o)}}),[]),t.current}},3698:function(e,t,n){n.d(t,{Z:function(){return K}});var o=n(4942),r=n(87462),a=n(67294),i=n(1413),u=n(15671),l=n(43144),c=n(60136),s=n(33643),f=n(94184),p=n.n(f),d=function(e){var t,n="".concat(e.rootPrefixCls,"-item"),r=p()(n,"".concat(n,"-").concat(e.page),(t={},(0,o.Z)(t,"".concat(n,"-active"),e.active),(0,o.Z)(t,"".concat(n,"-disabled"),!e.page),(0,o.Z)(t,e.className,!!e.className),t));return a.createElement("li",{title:e.showTitle?e.page:null,className:r,onClick:function(){e.onClick(e.page)},onKeyPress:function(t){e.onKeyPress(t,e.onClick,e.page)},tabIndex:"0"},e.itemRender(e.page,"page",a.createElement("a",{rel:"nofollow"},e.page)))},v=13,m=38,h=40,g=function(e){(0,c.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;(0,u.Z)(this,n);for(var o=arguments.length,r=new Array(o),a=0;a=0||t.relatedTarget.className.indexOf("".concat(a,"-item"))>=0)||r(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode!==v&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return(0,l.Z)(n,[{key:"getValidValue",value:function(){var e=this.state.goInputText;return!e||isNaN(e)?void 0:Number(e)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){return(isNaN(Number(e))?0:Number(e))-(isNaN(Number(t))?0:Number(t))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,o=t.locale,r=t.rootPrefixCls,i=t.changeSize,u=t.quickGo,l=t.goButton,c=t.selectComponentClass,s=t.buildOptionText,f=t.selectPrefixCls,p=t.disabled,d=this.state.goInputText,v="".concat(r,"-options"),m=c,h=null,g=null,b=null;if(!i&&!u)return null;var y=this.getPageSizeOptions();if(i&&m){var w=y.map((function(t,n){return a.createElement(m.Option,{key:n,value:t.toString()},(s||e.buildOptionText)(t))}));h=a.createElement(m,{disabled:p,prefixCls:f,showSearch:!1,className:"".concat(v,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||y[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":o.page_size,defaultOpen:!1},w)}return u&&(l&&(b="boolean"===typeof l?a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:p,className:"".concat(v,"-quick-jumper-button")},o.jump_to_confirm):a.createElement("span",{onClick:this.go,onKeyUp:this.go},l)),g=a.createElement("div",{className:"".concat(v,"-quick-jumper")},o.jump_to,a.createElement("input",{disabled:p,type:"text",value:d,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":o.page}),o.page,b)),a.createElement("li",{className:"".concat(v)},h,g)}}]),n}(a.Component);g.defaultProps={pageSizeOptions:["10","20","50","100"]};var b=g;function y(){}function w(e){var t=Number(e);return"number"===typeof t&&!isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function E(e,t,n){var o="undefined"===typeof e?t.pageSize:e;return Math.floor((n.total-1)/o)+1}var C=function(e){(0,c.Z)(n,e);var t=(0,s.Z)(n);function n(e){var o;(0,u.Z)(this,n),(o=t.call(this,e)).getJumpPrevPage=function(){return Math.max(1,o.state.current-(o.props.showLessItems?3:5))},o.getJumpNextPage=function(){return Math.min(E(void 0,o.state,o.props),o.state.current+(o.props.showLessItems?3:5))},o.getItemIcon=function(e,t){var n=o.props.prefixCls,r=e||a.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"===typeof e&&(r=a.createElement(e,(0,i.Z)({},o.props))),r},o.savePaginationNode=function(e){o.paginationNode=e},o.isValid=function(e){var t=o.props.total;return w(e)&&e!==o.state.current&&w(t)&&t>0},o.shouldDisplayQuickJumper=function(){var e=o.props,t=e.showQuickJumper;return!(e.total<=o.state.pageSize)&&t},o.handleKeyDown=function(e){e.keyCode!==m&&e.keyCode!==h||e.preventDefault()},o.handleKeyUp=function(e){var t=o.getValidValue(e);t!==o.state.currentInputValue&&o.setState({currentInputValue:t}),e.keyCode===v?o.handleChange(t):e.keyCode===m?o.handleChange(t-1):e.keyCode===h&&o.handleChange(t+1)},o.handleBlur=function(e){var t=o.getValidValue(e);o.handleChange(t)},o.changePageSize=function(e){var t=o.state.current,n=E(e,o.state,o.props);t=t>n?n:t,0===n&&(t=o.state.current),"number"===typeof e&&("pageSize"in o.props||o.setState({pageSize:e}),"current"in o.props||o.setState({current:t,currentInputValue:t})),o.props.onShowSizeChange(t,e),"onChange"in o.props&&o.props.onChange&&o.props.onChange(t,e)},o.handleChange=function(e){var t=o.props.disabled,n=e;if(o.isValid(n)&&!t){var r=E(void 0,o.state,o.props);n>r?n=r:n<1&&(n=1),"current"in o.props||o.setState({current:n,currentInputValue:n});var a=o.state.pageSize;return o.props.onChange(n,a),n}return o.state.current},o.prev=function(){o.hasPrev()&&o.handleChange(o.state.current-1)},o.next=function(){o.hasNext()&&o.handleChange(o.state.current+1)},o.jumpPrev=function(){o.handleChange(o.getJumpPrevPage())},o.jumpNext=function(){o.handleChange(o.getJumpNextPage())},o.hasPrev=function(){return o.state.current>1},o.hasNext=function(){return o.state.current2?n-2:0),r=2;r=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,o=e.totalBoundaryShowSizeChanger;return"undefined"!==typeof t?t:n>o}},{key:"renderPrev",value:function(e){var t=this.props,n=t.prevIcon,o=(0,t.itemRender)(e,"prev",this.getItemIcon(n,"prev page")),r=!this.hasPrev();return(0,a.isValidElement)(o)?(0,a.cloneElement)(o,{disabled:r}):o}},{key:"renderNext",value:function(e){var t=this.props,n=t.nextIcon,o=(0,t.itemRender)(e,"next",this.getItemIcon(n,"next page")),r=!this.hasNext();return(0,a.isValidElement)(o)?(0,a.cloneElement)(o,{disabled:r}):o}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.className,u=t.style,l=t.disabled,c=t.hideOnSinglePage,s=t.total,f=t.locale,v=t.showQuickJumper,m=t.showLessItems,h=t.showTitle,g=t.showTotal,y=t.simple,w=t.itemRender,C=t.showPrevNextJumpers,S=t.jumpPrevIcon,x=t.jumpNextIcon,Z=t.selectComponentClass,I=t.selectPrefixCls,P=t.pageSizeOptions,O=this.state,N=O.current,M=O.pageSize,k=O.currentInputValue;if(!0===c&&s<=M)return null;var R=E(void 0,this.state,this.props),D=[],T=null,j=null,_=null,L=null,V=null,z=v&&v.goButton,A=m?1:2,K=N-1>0?N-1:0,H=N+1=2*A&&3!==N&&(D[0]=(0,a.cloneElement)(D[0],{className:"".concat(n,"-item-after-jump-prev")}),D.unshift(T)),R-N>=2*A&&N!==R-2&&(D[D.length-1]=(0,a.cloneElement)(D[D.length-1],{className:"".concat(n,"-item-before-jump-next")}),D.push(j)),1!==G&&D.unshift(_),q!==R&&D.push(L)}var $=null;g&&($=a.createElement("li",{className:"".concat(n,"-total-text")},g(s,[0===s?0:(N-1)*M+1,N*M>s?s:N*M])));var ee=!this.hasPrev()||!R,te=!this.hasNext()||!R;return a.createElement("ul",(0,r.Z)({className:p()(n,i,(0,o.Z)({},"".concat(n,"-disabled"),l)),style:u,unselectable:"unselectable",ref:this.savePaginationNode},F),$,a.createElement("li",{title:h?f.prev_page:null,onClick:this.prev,tabIndex:ee?null:0,onKeyPress:this.runIfEnterPrev,className:p()("".concat(n,"-prev"),(0,o.Z)({},"".concat(n,"-disabled"),ee)),"aria-disabled":ee},this.renderPrev(K)),D,a.createElement("li",{title:h?f.next_page:null,onClick:this.next,tabIndex:te?null:0,onKeyPress:this.runIfEnterNext,className:p()("".concat(n,"-next"),(0,o.Z)({},"".concat(n,"-disabled"),te)),"aria-disabled":te},this.renderNext(H)),a.createElement(b,{disabled:l,locale:f,rootPrefixCls:n,selectComponentClass:Z,selectPrefixCls:I,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:N,pageSize:M,pageSizeOptions:P,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:z}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var o=t.current,r=E(e.pageSize,t,e);o=o>r?r:o,"current"in e||(n.current=o,n.currentInputValue=o),n.pageSize=e.pageSize}return n}}]),n}(a.Component);C.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:y,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:y,locale:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var S=C,x=n(62906),Z=n(6171),I=n(18073),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},O=n(42922),N=function(e,t){return a.createElement(O.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:P}))};N.displayName="DoubleLeftOutlined";var M=a.forwardRef(N),k={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},R=function(e,t){return a.createElement(O.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:k}))};R.displayName="DoubleRightOutlined";var D=a.forwardRef(R),T=n(38939),j=function(e){return a.createElement(T.Z,(0,r.Z)({},e,{size:"small"}))},_=function(e){return a.createElement(T.Z,(0,r.Z)({},e,{size:"middle"}))};j.Option=T.Z.Option,_.Option=T.Z.Option;var L=n(23715),V=n(59844),z=n(25378),A=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);rS&&(i="".concat(u.slice(0,S),"..."))}var l=function(t){t&&t.stopPropagation(),O(e)};return"function"===typeof I?function(e,t,n,o,r){return a.createElement("span",{onMouseDown:function(e){L(e),P(!c)}},I({label:t,value:e,disabled:n,closable:o,onClose:r}))}(o,i,t,r,l):$(n,i,t,r,l)},renderRest:function(e){var t="function"===typeof Z?Z(e):Z;return $(t,t,!1)},suffix:ee,itemKey:"key",maxCount:C});return a.createElement(a.Fragment,null,te,!u.length&&!Q&&a.createElement("span",{className:"".concat(q,"-placeholder")},d))},z=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,i=e.disabled,u=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,s=e.mode,p=e.open,d=e.values,v=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,y=e.maxLength,w=e.onInputKeyDown,E=e.onInputMouseDown,C=e.onInputChange,S=e.onInputPaste,x=e.onInputCompositionStart,Z=e.onInputCompositionEnd,I=a.useState(!1),P=(0,f.Z)(I,2),O=P[0],M=P[1],k="combobox"===s,R=k||h,D=d[0],j=g||"";k&&b&&!O&&(j=b),a.useEffect((function(){k&&M(!1)}),[k,b]);var _=!("combobox"!==s&&!p&&!h)&&!!j,L=!D||"string"!==typeof D.label&&"number"!==typeof D.label?void 0:D.label.toString();return a.createElement(a.Fragment,null,a.createElement("span",{className:"".concat(n,"-selection-search")},a.createElement(T,{ref:r,prefixCls:n,id:o,open:p,inputElement:t,disabled:i,autoFocus:u,autoComplete:l,editable:R,activeDescendantId:c,value:j,onKeyDown:w,onMouseDown:E,onChange:function(e){M(!0),C(e)},onPaste:S,onCompositionStart:x,onCompositionEnd:Z,tabIndex:m,attrs:(0,N.Z)(e,!0),maxLength:k?y:void 0})),!k&&D&&!_&&a.createElement("span",{className:"".concat(n,"-selection-item"),title:L},D.label),function(){if(D)return null;var e=_?{visibility:"hidden"}:void 0;return a.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:e},v)}())};function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=a.useRef(null),n=a.useRef(null);function o(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return a.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},o]}var K=function(e,t){var n=(0,a.useRef)(null),o=(0,a.useRef)(!1),i=e.prefixCls,u=e.open,l=e.mode,c=e.showSearch,s=e.tokenWithEnter,p=e.onSearch,d=e.onSearchSubmit,v=e.onToggleOpen,m=e.onInputKeyDown,g=e.domRef;a.useImperativeHandle(t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var b=A(0),y=(0,f.Z)(b,2),w=y[0],E=y[1],C=(0,a.useRef)(null),S=function(e){!1!==p(e,!0,o.current)&&v(!0)},x={inputRef:n,onInputKeyDown:function(e){var t,n=e.which;n!==h.Z.UP&&n!==h.Z.DOWN||e.preventDefault(),m&&m(e),n!==h.Z.ENTER||"tags"!==l||o.current||u||null===d||void 0===d||d(e.target.value),t=n,[h.Z.ESC,h.Z.SHIFT,h.Z.BACKSPACE,h.Z.TAB,h.Z.WIN_KEY,h.Z.ALT,h.Z.META,h.Z.WIN_KEY_RIGHT,h.Z.CTRL,h.Z.SEMICOLON,h.Z.EQUALS,h.Z.CAPS_LOCK,h.Z.CONTEXT_MENU,h.Z.F1,h.Z.F2,h.Z.F3,h.Z.F4,h.Z.F5,h.Z.F6,h.Z.F7,h.Z.F8,h.Z.F9,h.Z.F10,h.Z.F11,h.Z.F12].includes(t)||v(!0)},onInputMouseDown:function(){E(!0)},onInputChange:function(e){var t=e.target.value;if(s&&C.current&&/[\r\n]/.test(C.current)){var n=C.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,C.current)}C.current=null,S(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");C.current=t},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&S(e.target.value)}},Z="multiple"===l||"tags"===l?a.createElement(V,(0,r.Z)({},e,x)):a.createElement(z,(0,r.Z)({},e,x));return a.createElement("div",{ref:g,className:"".concat(i,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){n.current.focus()})):n.current.focus())},onMouseDown:function(e){var t=w();e.target===n.current||t||e.preventDefault(),("combobox"===l||c&&t)&&u||(u&&p("",!0,!1),v())}},Z)},H=a.forwardRef(K);H.displayName="Selector";var F=H;var U=a.createContext(null);var W=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],B=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Y(e){return"tags"===e||"multiple"===e}var J=a.forwardRef((function(e,t){var n,i,u=e.id,v=e.prefixCls,E=e.className,C=e.showSearch,S=e.tagRender,x=e.direction,Z=e.omitDomProps,I=e.displayValues,P=e.onDisplayValuesChange,N=e.emptyOptions,M=e.notFoundContent,R=void 0===M?"Not Found":M,D=e.onClear,T=e.mode,j=e.disabled,_=e.loading,L=e.getInputElement,V=e.getRawInputElement,z=e.open,K=e.defaultOpen,H=e.onDropdownVisibleChange,J=e.activeValue,G=e.onActiveValueChange,q=e.activeDescendantId,Q=e.searchValue,X=e.onSearch,$=e.onSearchSplit,ee=e.tokenSeparators,te=e.allowClear,ne=e.showArrow,oe=e.inputIcon,re=e.clearIcon,ae=e.OptionList,ie=e.animation,ue=e.transitionName,le=e.dropdownStyle,ce=e.dropdownClassName,se=e.dropdownMatchSelectWidth,fe=e.dropdownRender,pe=e.dropdownAlign,de=e.placement,ve=e.getPopupContainer,me=e.showAction,he=void 0===me?[]:me,ge=e.onFocus,be=e.onBlur,ye=e.onKeyUp,we=e.onKeyDown,Ee=e.onMouseDown,Ce=(0,p.Z)(e,W),Se=Y(T),xe=(void 0!==C?C:Se)||"combobox"===T,Ze=(0,s.Z)({},Ce);B.forEach((function(e){delete Ze[e]})),null===Z||void 0===Z||Z.forEach((function(e){delete Ze[e]}));var Ie=a.useState(!1),Pe=(0,f.Z)(Ie,2),Oe=Pe[0],Ne=Pe[1];a.useEffect((function(){Ne((0,g.Z)())}),[]);var Me=a.useRef(null),ke=a.useRef(null),Re=a.useRef(null),De=a.useRef(null),Te=a.useRef(null),je=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=a.useState(!1),n=(0,f.Z)(t,2),o=n[0],r=n[1],i=a.useRef(null),u=function(){window.clearTimeout(i.current)};return a.useEffect((function(){return u}),[]),[o,function(t,n){u(),i.current=window.setTimeout((function(){r(t),n&&n()}),e)},u]}(),_e=(0,f.Z)(je,3),Le=_e[0],Ve=_e[1],ze=_e[2];a.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=De.current)||void 0===e?void 0:e.focus,blur:null===(t=De.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=Te.current)||void 0===t?void 0:t.scrollTo(e)}}}));var Ae=a.useMemo((function(){var e;if("combobox"!==T)return Q;var t=null===(e=I[0])||void 0===e?void 0:e.value;return"string"===typeof t||"number"===typeof t?String(t):""}),[Q,T,I]),Ke="combobox"===T&&"function"===typeof L&&L()||null,He="function"===typeof V&&V(),Fe=(0,b.x1)(ke,null===He||void 0===He||null===(n=He.props)||void 0===n?void 0:n.ref),Ue=(0,m.Z)(void 0,{defaultValue:K,value:z}),We=(0,f.Z)(Ue,2),Be=We[0],Ye=We[1],Je=Be,Ge=!R&&N;(j||Ge&&Je&&"combobox"===T)&&(Je=!1);var qe=!Ge&&Je,Qe=a.useCallback((function(e){var t=void 0!==e?e:!Je;Je===t||j||(Ye(t),null===H||void 0===H||H(t))}),[j,Je,Ye,H]),Xe=a.useMemo((function(){return(ee||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ee]),$e=function(e,t,n){var o=!0,r=e;null===G||void 0===G||G(null);var a=n?null:function(e,t){if(!t||!t.length)return null;var n=!1,o=function e(t,o){var r=(0,w.Z)(o),a=r[0],i=r.slice(1);if(!a)return[t];var u=t.split(a);return n=n||u.length>1,u.reduce((function(t,n){return[].concat((0,c.Z)(t),(0,c.Z)(e(n,i)))}),[]).filter((function(e){return e}))}(e,t);return n?o:null}(e,ee);return"combobox"!==T&&a&&(r="",null===$||void 0===$||$(a),Qe(!1),o=!1),X&&Ae!==r&&X(r,{source:t?"typing":"effect"}),o};a.useEffect((function(){Je||Se||"combobox"===T||$e("",!1,!1)}),[Je]),a.useEffect((function(){Be&&j&&Ye(!1),j&&Ve(!1)}),[j]);var et=A(),tt=(0,f.Z)(et,2),nt=tt[0],ot=tt[1],rt=a.useRef(!1),at=[];a.useEffect((function(){return function(){at.forEach((function(e){return clearTimeout(e)})),at.splice(0,at.length)}}),[]);var it,ut=a.useState(null),lt=(0,f.Z)(ut,2),ct=lt[0],st=lt[1],ft=a.useState({}),pt=(0,f.Z)(ft,2)[1];(0,y.Z)((function(){if(qe){var e,t=Math.ceil(null===(e=Me.current)||void 0===e?void 0:e.offsetWidth);ct===t||Number.isNaN(t)||st(t)}}),[qe]),He&&(it=function(e){Qe(e)}),function(e,t,n){var o=a.useRef(null);o.current={open:t,triggerOpen:n},a.useEffect((function(){function t(t){var n=t.target;n.shadowRoot&&t.composed&&(n=t.composedPath()[0]||n),o.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(n)&&e!==n}))&&o.current.triggerOpen(!1)}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}((function(){var e;return[Me.current,null===(e=Re.current)||void 0===e?void 0:e.getPopupElement()]}),qe,Qe);var dt,vt,mt=a.useMemo((function(){return(0,s.Z)((0,s.Z)({},e),{},{notFoundContent:R,open:Je,triggerOpen:qe,id:u,showSearch:xe,multiple:Se,toggleOpen:Qe})}),[e,R,qe,Je,u,xe,Se,Qe]),ht=void 0!==ne?ne:_||!Se&&"combobox"!==T;ht&&(dt=a.createElement(k,{className:l()("".concat(v,"-arrow"),(0,o.Z)({},"".concat(v,"-arrow-loading"),_)),customizeIcon:oe,customizeIconProps:{loading:_,searchValue:Ae,open:Je,focused:Le,showSearch:xe}}));!j&&te&&(I.length||Ae)&&(vt=a.createElement(k,{className:"".concat(v,"-clear"),onMouseDown:function(){null===D||void 0===D||D(),P([],{type:"clear",values:I}),$e("",!1,!1)},customizeIcon:re},"\xd7"));var gt,bt=a.createElement(ae,{ref:Te}),yt=l()(v,E,(i={},(0,o.Z)(i,"".concat(v,"-focused"),Le),(0,o.Z)(i,"".concat(v,"-multiple"),Se),(0,o.Z)(i,"".concat(v,"-single"),!Se),(0,o.Z)(i,"".concat(v,"-allow-clear"),te),(0,o.Z)(i,"".concat(v,"-show-arrow"),ht),(0,o.Z)(i,"".concat(v,"-disabled"),j),(0,o.Z)(i,"".concat(v,"-loading"),_),(0,o.Z)(i,"".concat(v,"-open"),Je),(0,o.Z)(i,"".concat(v,"-customize-input"),Ke),(0,o.Z)(i,"".concat(v,"-show-search"),xe),i)),wt=a.createElement(O,{ref:Re,disabled:j,prefixCls:v,visible:qe,popupElement:bt,containerWidth:ct,animation:ie,transitionName:ue,dropdownStyle:le,dropdownClassName:ce,direction:x,dropdownMatchSelectWidth:se,dropdownRender:fe,dropdownAlign:pe,placement:de,getPopupContainer:ve,empty:N,getTriggerDOMNode:function(){return ke.current},onPopupVisibleChange:it,onPopupMouseEnter:function(){pt({})}},He?a.cloneElement(He,{ref:Fe}):a.createElement(F,(0,r.Z)({},e,{domRef:ke,prefixCls:v,inputElement:Ke,ref:De,id:u,showSearch:xe,mode:T,activeDescendantId:q,tagRender:S,values:I,open:Je,onToggleOpen:Qe,activeValue:J,searchValue:Ae,onSearch:$e,onSearchSubmit:function(e){e&&e.trim()&&X(e,{source:"submit"})},onRemove:function(e){var t=I.filter((function(t){return t!==e}));P(t,{type:"remove",values:[e]})},tokenWithEnter:Xe})));return gt=He?wt:a.createElement("div",(0,r.Z)({className:yt},Ze,{ref:Me,onMouseDown:function(e){var t,n=e.target,o=null===(t=Re.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout((function(){var e,t=at.indexOf(r);-1!==t&&at.splice(t,1),ze(),Oe||o.contains(document.activeElement)||null===(e=De.current)||void 0===e||e.focus()}));at.push(r)}for(var a=arguments.length,i=new Array(a>1?a-1:0),u=1;u=0;i-=1){var u=r[i];if(!u.disabled){r.splice(i,1),a=u;break}}a&&P(r,{type:"remove",values:[a]})}for(var l=arguments.length,s=new Array(l>1?l-1:0),f=1;f1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:1,n=T.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];H(e);var n={source:t?"keyboard":"mouse"},o=T[e];o?C(o.value,e,n):C(null,-1,n)};(0,a.useEffect)((function(){F(!1!==S?V(0):-1)}),[T.length,m]);var W=a.useCallback((function(e){return I.has(e)&&"combobox"!==v}),[v,(0,c.Z)(I).toString()]);(0,a.useEffect)((function(){var e,t=setTimeout((function(){if(!d&&s&&1===I.size){var e=Array.from(I)[0],t=T.findIndex((function(t){return t.data.value===e}));-1!==t&&(F(t),L(t))}}));s&&(null===(e=j.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[s,m]);var B=function(e){void 0!==e&&x(e,{selected:!I.has(e)}),d||g(!1)};if(a.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case h.Z.N:case h.Z.P:case h.Z.UP:case h.Z.DOWN:var o=0;if(t===h.Z.UP?o=-1:t===h.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===h.Z.N?o=1:t===h.Z.P&&(o=-1)),0!==o){var r=V(K+o,o);L(r),F(r,!0)}break;case h.Z.ENTER:var a=T[K];a&&!a.data.disabled?B(a.value):B(void 0),s&&e.preventDefault();break;case h.Z.ESC:g(!1),s&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){L(e)}}})),0===T.length)return a.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(D,"-empty"),onMouseDown:_},b);var Y=Object.keys(P).map((function(e){return P[e]})),J=function(e){return e.label},G=function(e){var t=T[e];if(!t)return null;var n=t.data||{},o=n.value,i=t.group,l=(0,N.Z)(n,!0),c=J(t);return t?a.createElement("div",(0,r.Z)({"aria-label":"string"!==typeof c||i?null:c},l,{key:e,role:i?"presentation":"option",id:"".concat(u,"_list_").concat(e),"aria-selected":W(o)}),o):null};return a.createElement(a.Fragment,null,a.createElement("div",{role:"listbox",id:"".concat(u,"_list"),style:{height:0,width:0,overflow:"hidden"}},G(K-1),G(K),G(K+1)),a.createElement(X.Z,{itemKey:"key",ref:j,data:T,height:M,itemHeight:R,fullHeight:!1,onMouseDown:_,onScroll:y,virtual:O},(function(e,t){var n,i=e.group,u=e.groupOption,c=e.data,s=e.label,f=e.value,d=c.key;if(i){var v,m=null!==(v=c.title)&&void 0!==v?v:te(s)&&s;return a.createElement("div",{className:l()(D,"".concat(D,"-group")),title:m},void 0!==s?s:d)}var h=c.disabled,g=c.title,b=(c.children,c.style),y=c.className,w=(0,p.Z)(c,ee),E=(0,q.Z)(w,Y),C=W(f),S="".concat(D,"-option"),x=l()(D,S,y,(n={},(0,o.Z)(n,"".concat(S,"-grouped"),u),(0,o.Z)(n,"".concat(S,"-active"),K===t&&!h),(0,o.Z)(n,"".concat(S,"-disabled"),h),(0,o.Z)(n,"".concat(S,"-selected"),C),n)),I=J(e),P=!Z||"function"===typeof Z||C,O="number"===typeof I?I:I||f,N=te(O)?O.toString():void 0;return void 0!==g&&(N=g),a.createElement("div",(0,r.Z)({},E,{"aria-selected":C,className:x,title:N,onMouseMove:function(){K===t||h||F(t)},onClick:function(){h||B(f)},style:b}),a.createElement("div",{className:"".concat(S,"-content")},O),a.isValidElement(Z)||C,P&&a.createElement(k,{className:"".concat(D,"-option-state"),customizeIcon:Z,customizeIconProps:{isSelected:C}},C?"\u2713":null))})))},oe=a.forwardRef(ne);oe.displayName="OptionList";var re=oe,ae=function(){return null};ae.isSelectOption=!0;var ie=ae,ue=function(){return null};ue.isSelectOptGroup=!0;var le=ue,ce=n(50344),se=["children","value"],fe=["children"];function pe(e){var t=e.key,n=e.props,o=n.children,r=n.value,a=(0,p.Z)(n,se);return(0,s.Z)({key:t,value:void 0!==r?r:t,children:o},a)}function de(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ce.Z)(e).map((function(e,n){if(!a.isValidElement(e)||!e.type)return null;var o=e.type.isSelectOptGroup,r=e.key,i=e.props,u=i.children,l=(0,p.Z)(i,fe);return t||!o?pe(e):(0,s.Z)((0,s.Z)({key:"__RC_SELECT_GRP__".concat(null===r?n:r,"__"),label:r},l),{},{options:de(u)})})).filter((function(e){return e}))}function ve(e,t,n,o,r){return a.useMemo((function(){var a=e;!e&&(a=de(t));var i=new Map,u=new Map,l=function(e,t,n){n&&"string"===typeof n&&e.set(t[n],t)};return function e(t){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],a=C(n,!1),i=a.label,u=a.value,l=a.options;function c(e,t){e.forEach((function(e){var n=e[i];if(t||!(l in e)){var a=e[u];r.push({key:E(e,r.length),groupOption:t,data:e,label:n,value:a})}else{var s=n;void 0===s&&o&&(s=e.label),r.push({key:E(e,r.length),group:!0,data:e,label:s}),c(e[l],!0)}}))}return c(e,!1),r}(ke,{fieldNames:te,childrenAsData:X})}),[ke,te,X]),De=function(e){var t=fe(e);if(he(t),B&&(t.length!==xe.length||t.some((function(e,t){var n;return(null===(n=xe[t])||void 0===n?void 0:n.value)!==(null===e||void 0===e?void 0:e.value)})))){var n=W?t:t.map((function(e){return e.value})),o=t.map((function(e){return S(Ze(e.value))}));B(Q?n:n[0],Q?o:o[0])}},Te=a.useState(null),je=(0,f.Z)(Te,2),_e=je[0],Le=je[1],Ve=a.useState(0),ze=(0,f.Z)(Ve,2),Ae=ze[0],Ke=ze[1],He=void 0!==_?_:"combobox"!==i,Fe=a.useCallback((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source,r=void 0===o?"keyboard":o;Ke(t),v&&"combobox"===i&&null!==e&&"keyboard"===r&&Le(String(e))}),[v,i]),Ue=function(e,t){var n=function(){var t,n=Ze(e);return[W?{label:null===n||void 0===n?void 0:n[te.label],value:e,key:null!==(t=null===n||void 0===n?void 0:n.key)&&void 0!==t?t:e}:e,S(n)]};if(t&&Z){var o=n(),r=(0,f.Z)(o,2),a=r[0],i=r[1];Z(a,i)}else if(!t&&I){var u=n(),l=(0,f.Z)(u,2),c=l[0],s=l[1];I(c,s)}},We=ye((function(e,t){var n,o=!Q||t.selected;n=o?Q?[].concat((0,c.Z)(xe),[e]):[e]:xe.filter((function(t){return t.value!==e})),De(n),Ue(e,o),"combobox"===i?Le(""):Y&&!x||(ie(""),Le(""))})),Be=a.useMemo((function(){var e=!1!==V&&!1!==O;return(0,s.Z)((0,s.Z)({},ue),{},{flattenOptions:Re,onActiveValue:Fe,defaultActiveFirstOption:He,onSelect:We,menuItemSelectedIcon:L,rawValues:Pe,fieldNames:te,virtual:e,listHeight:A,listItemHeight:H,childrenAsData:X})}),[ue,Re,Fe,He,We,L,Pe,te,V,O,A,H,X]);return a.createElement($.Provider,{value:Be},a.createElement(G,(0,r.Z)({},J,{id:q,prefixCls:l,ref:t,omitDomProps:Ce,mode:i,displayValues:Ie,onDisplayValuesChange:function(e,t){De(e),"remove"!==t.type&&"clear"!==t.type||t.values.forEach((function(e){Ue(e.value,!1)}))},searchValue:ae,onSearch:function(e,t){if(ie(e),Le(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===i&&De(e),null===y||void 0===y||y(e));else{var n=(e||"").trim();if(n){var o=Array.from(new Set([].concat((0,c.Z)(Pe),[n])));De(o),Ue(n,!0),ie("")}}},onSearchSplit:function(e){var t=e;"tags"!==i&&(t=e.map((function(e){var t=ce.get(e);return null===t||void 0===t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat((0,c.Z)(Pe),(0,c.Z)(t))));De(n),n.forEach((function(e){Ue(e,!0)}))},dropdownMatchSelectWidth:O,OptionList:re,emptyOptions:!Re.length,activeValue:_e,activeDescendantId:"".concat(q,"_list_").concat(Ae)})))}));var xe=Se;xe.Option=ie,xe.OptGroup=le;var Ze=xe,Ie=n(59844),Pe=n(80882),Oe=n(50888),Ne=n(63606),Me=n(97937),ke=n(4340),Re=n(68795);var De=n(97647),Te=n(65223),je=n(9708),_e=n(33603),Le=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r