From 818dde0512954c42bcd869e3a5d1432bea4dad6d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 6 Dec 2022 01:37:40 +0000 Subject: [PATCH] Bundle embedded web app --- static/web/404.html | 4 ++-- static/web/404/index.html | 4 ++-- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 static/web/_next/static/chunks/1043-0321cc31d7cd63e2.js | 1 - static/web/_next/static/chunks/1043-9c545dc74036761a.js | 1 + .../{1938-540c13593ccef671.js => 1938-c04d908728a12ddb.js} | 2 +- static/web/_next/static/chunks/1943-4052238ea618f5cc.js | 1 + static/web/_next/static/chunks/1943-fa053f32e80a6fa2.js | 1 - static/web/_next/static/chunks/2206-8da9006b177e3283.js | 1 + static/web/_next/static/chunks/2206-e3f24e552029bbca.js | 1 - .../{2852-bdd68deecc4d3e7e.js => 3729-e88e6289f5436bb5.js} | 2 +- .../{8119-9ed703c0791a92b4.js => 8119-57984c2c349ea105.js} | 2 +- static/web/_next/static/chunks/8909-6d59cce6f69e27ae.js | 1 + static/web/_next/static/chunks/8909-a395a0ce823f9797.js | 1 - ...94a0f-ffa3d9fcb172f7b4.js => d2094a0f-60df0b272e9790e9.js} | 2 +- .../{_app-5cf702a17305b813.js => _app-4045b19cf45383fd.js} | 4 ++-- ...donly-67babfd67c1bbe6e.js => readonly-1d789cb2de5c6857.js} | 2 +- ...rite-d74da306cffab21b.js => readwrite-eac13f3b533b2f87.js} | 2 +- .../{index-4a20adf768b9eed5.js => index-f6543e07e85044f8.js} | 2 +- ...ebpack-defe8917144af770.js => webpack-c229832259b7133e.js} | 2 +- 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 +- static/web/admin/config-public-details/index.html | 2 +- static/web/admin/config-server-details/index.html | 2 +- static/web/admin/config-social-items/index.html | 2 +- static/web/admin/config-storage/index.html | 2 +- static/web/admin/config-video/index.html | 2 +- static/web/admin/config/appearance/index.html | 2 +- static/web/admin/config/streamkeys/index.html | 2 +- static/web/admin/federation/actions/index.html | 2 +- static/web/admin/federation/followers/index.html | 2 +- static/web/admin/hardware-info/index.html | 2 +- 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/index.html | 4 ++-- 49 files changed, 48 insertions(+), 48 deletions(-) rename static/web/_next/static/{GUwf3pHmivjSMu8wFKhmZ => Gd2Bnzz_9el1OliOvTjlp}/_buildManifest.js (84%) rename static/web/_next/static/{GUwf3pHmivjSMu8wFKhmZ => Gd2Bnzz_9el1OliOvTjlp}/_ssgManifest.js (100%) delete mode 100644 static/web/_next/static/chunks/1043-0321cc31d7cd63e2.js create mode 100644 static/web/_next/static/chunks/1043-9c545dc74036761a.js rename static/web/_next/static/chunks/{1938-540c13593ccef671.js => 1938-c04d908728a12ddb.js} (83%) create mode 100644 static/web/_next/static/chunks/1943-4052238ea618f5cc.js delete mode 100644 static/web/_next/static/chunks/1943-fa053f32e80a6fa2.js create mode 100644 static/web/_next/static/chunks/2206-8da9006b177e3283.js delete mode 100644 static/web/_next/static/chunks/2206-e3f24e552029bbca.js rename static/web/_next/static/chunks/{2852-bdd68deecc4d3e7e.js => 3729-e88e6289f5436bb5.js} (93%) rename static/web/_next/static/chunks/{8119-9ed703c0791a92b4.js => 8119-57984c2c349ea105.js} (59%) create mode 100644 static/web/_next/static/chunks/8909-6d59cce6f69e27ae.js delete mode 100644 static/web/_next/static/chunks/8909-a395a0ce823f9797.js rename static/web/_next/static/chunks/{d2094a0f-ffa3d9fcb172f7b4.js => d2094a0f-60df0b272e9790e9.js} (99%) rename static/web/_next/static/chunks/pages/{_app-5cf702a17305b813.js => _app-4045b19cf45383fd.js} (78%) rename static/web/_next/static/chunks/pages/embed/chat/{readonly-67babfd67c1bbe6e.js => readonly-1d789cb2de5c6857.js} (98%) rename static/web/_next/static/chunks/pages/embed/chat/{readwrite-d74da306cffab21b.js => readwrite-eac13f3b533b2f87.js} (97%) rename static/web/_next/static/chunks/pages/{index-4a20adf768b9eed5.js => index-f6543e07e85044f8.js} (99%) rename static/web/_next/static/chunks/{webpack-defe8917144af770.js => webpack-c229832259b7133e.js} (67%) diff --git a/static/web/404.html b/static/web/404.html index 5f5105e5f..a9647d72b 100644 --- a/static/web/404.html +++ b/static/web/404.html @@ -1,4 +1,4 @@ -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.

\ No newline at end of file diff --git a/static/web/404/index.html b/static/web/404/index.html index 5f5105e5f..a9647d72b 100644 --- a/static/web/404/index.html +++ b/static/web/404/index.html @@ -1,4 +1,4 @@ -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.

\ No newline at end of file diff --git a/static/web/_next/static/GUwf3pHmivjSMu8wFKhmZ/_buildManifest.js b/static/web/_next/static/Gd2Bnzz_9el1OliOvTjlp/_buildManifest.js similarity index 84% rename from static/web/_next/static/GUwf3pHmivjSMu8wFKhmZ/_buildManifest.js rename to static/web/_next/static/Gd2Bnzz_9el1OliOvTjlp/_buildManifest.js index e525597db..5576d01aa 100644 --- a/static/web/_next/static/GUwf3pHmivjSMu8wFKhmZ/_buildManifest.js +++ b/static/web/_next/static/Gd2Bnzz_9el1OliOvTjlp/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,o,b,m,u,k,g,r,j,p,l,_,w,v,y,I,B,F,A){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[a,s,c,t,n,f,b,m,j,"static/chunks/4466-2e8c1156cd6902a6.js",h,"static/css/901e2e696ed480dd.css","static/chunks/pages/index-4a20adf768b9eed5.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[a,s,c,e,i,t,n,d,o,m,"static/chunks/8676-c38bd41883242e8e.js","static/chunks/pages/admin-f61cf9b387d8362c.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-91177ddb58bd90ee.js"],"/admin/actions":[u,a,s,c,e,p,"static/chunks/pages/admin/actions-0b45668aebec7dde.js"],"/admin/chat/messages":[u,a,s,c,e,i,n,l,"static/chunks/pages/admin/chat/messages-7e88922542839f8a.js"],"/admin/chat/users":[u,a,s,c,e,i,t,n,l,"static/chunks/pages/admin/chat/users-8fc28dfaa9e52d37.js"],"/admin/config/appearance":[_,b,w,v,"static/css/6c8941159bdd16f6.css","static/chunks/pages/admin/config/appearance-be1829febefc4db6.js"],"/admin/config/streamkeys":[a,s,c,e,p,"static/chunks/pages/admin/config/streamkeys-6a3f2badc0712b01.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-fab037451220beb1.js"],"/admin/config-federation":["static/chunks/8572-deca358d1a965d80.js","static/chunks/pages/admin/config-federation-3e7e0a54acf1bd9b.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-b525013f97b7a9a9.js"],"/admin/config-public-details":[_,a,s,c,e,k,w,"static/chunks/1043-0321cc31d7cd63e2.js","static/chunks/pages/admin/config-public-details-085c048afcb776d7.js"],"/admin/config-server-details":[y,"static/chunks/pages/admin/config-server-details-fafadf003f21dada.js"],"/admin/config-social-items":[a,s,c,e,"static/chunks/pages/admin/config-social-items-f022d29681248095.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-7c5510a084d9c01c.js"],"/admin/config-video":[a,s,c,e,y,"static/chunks/6962-f197cc126c73fb7f.js","static/chunks/pages/admin/config-video-5e04088ce814f271.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-d79f77b8b18148ad.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-8c2d451ee44fb398.js"],"/admin/hardware-info":[g,i,t,d,o,r,k,"static/chunks/pages/admin/hardware-info-d1ca2af204c98f51.js"],"/admin/help":[t,d,b,v,"static/chunks/7830-37f6f9f7aaae2bbf.js","static/chunks/pages/admin/help-cf85d400d1ada208.js"],"/admin/logs":[a,s,c,e,i,m,"static/chunks/pages/admin/logs-c494c4dc6f214d8b.js"],"/admin/stream-health":[g,i,t,d,o,r,"static/chunks/2934-4a8cbef0e0cea1a5.js","static/chunks/pages/admin/stream-health-f2cf52294c67fcb8.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-c5012847917b76df.js","static/chunks/pages/admin/upgrade-41783a74d59f851b.js"],"/admin/viewer-info":[g,a,s,c,e,i,t,n,d,o,r,k,"static/chunks/pages/admin/viewer-info-9a828a713dcea351.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-c59eaaf1fe4ac78c.js"],"/embed/chat/readonly":[I,B,f,F,h,A,"static/css/c43a4bf0142c5559.css","static/chunks/pages/embed/chat/readonly-67babfd67c1bbe6e.js"],"/embed/chat/readwrite":[I,B,s,f,F,"static/chunks/911-9156415c36038fd8.js",h,A,"static/css/ad740c02430043c7.css","static/chunks/pages/embed/chat/readwrite-d74da306cffab21b.js"],"/embed/video":["static/chunks/d6e1aeb5-0705bf43bcd6af77.js",n,f,"static/css/7c735c05af084bb2.css","static/chunks/7902-139b487986de3737.js",j,h,"static/chunks/2239-ceff4252276e3d5e.js","static/css/f065863129f648da.css","static/chunks/pages/embed/video-58a5d6ba4b2bb819.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config/appearance","/admin/config/streamkeys","/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/3903-37c1af34070ecbf4.js","static/chunks/8909-a395a0ce823f9797.js","static/chunks/4267-cfe0f573c442773c.js","static/chunks/2206-e3f24e552029bbca.js","static/chunks/8091-5d2e0cdb05cd1ef7.js","static/chunks/575-11393a44fd60b818.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5101-e2c6238798b20535.js","static/chunks/6395-e4a02973025beaca.js","static/chunks/7466-1e76829814bac0c3.js","static/chunks/4763-cd081ceb0032736f.js","static/chunks/1082-51b9f63c6446d49d.js","static/chunks/5360-ddb180f0aeda9ff0.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/7910-44b63d030e4b1767.js","static/chunks/ee8b1517-9cf421a7da630c58.js","static/chunks/236-f876fd1a47451d45.js","static/chunks/8245-b34a27e35386277e.js","static/chunks/8119-9ed703c0791a92b4.js","static/chunks/9550-db4a457e5e1bbbcf.js","static/chunks/4ad82c5e-929b3fa886d2b3d7.js","static/chunks/1943-fa053f32e80a6fa2.js","static/chunks/1938-540c13593ccef671.js","static/chunks/3286-716fef4ced844a4d.js","static/chunks/d3048c20-b61d7fb6003662e6.js","static/chunks/d2094a0f-ffa3d9fcb172f7b4.js","static/chunks/2852-bdd68deecc4d3e7e.js","static/chunks/4977-167fb026492a9609.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,o,b,m,u,k,g,r,j,p,l,_,w,v,y,I,B,F,A){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[a,s,c,t,n,f,b,m,j,"static/chunks/4466-2e8c1156cd6902a6.js",h,"static/css/901e2e696ed480dd.css","static/chunks/pages/index-f6543e07e85044f8.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[a,s,c,e,i,t,n,d,o,m,"static/chunks/8676-c38bd41883242e8e.js","static/chunks/pages/admin-f61cf9b387d8362c.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-91177ddb58bd90ee.js"],"/admin/actions":[u,a,s,c,e,p,"static/chunks/pages/admin/actions-0b45668aebec7dde.js"],"/admin/chat/messages":[u,a,s,c,e,i,n,l,"static/chunks/pages/admin/chat/messages-7e88922542839f8a.js"],"/admin/chat/users":[u,a,s,c,e,i,t,n,l,"static/chunks/pages/admin/chat/users-8fc28dfaa9e52d37.js"],"/admin/config/appearance":[_,b,w,v,"static/css/6c8941159bdd16f6.css","static/chunks/pages/admin/config/appearance-be1829febefc4db6.js"],"/admin/config/streamkeys":[a,s,c,e,p,"static/chunks/pages/admin/config/streamkeys-6a3f2badc0712b01.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-fab037451220beb1.js"],"/admin/config-federation":["static/chunks/8572-deca358d1a965d80.js","static/chunks/pages/admin/config-federation-3e7e0a54acf1bd9b.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-b525013f97b7a9a9.js"],"/admin/config-public-details":[_,a,s,c,e,k,w,"static/chunks/1043-9c545dc74036761a.js","static/chunks/pages/admin/config-public-details-085c048afcb776d7.js"],"/admin/config-server-details":[y,"static/chunks/pages/admin/config-server-details-fafadf003f21dada.js"],"/admin/config-social-items":[a,s,c,e,"static/chunks/pages/admin/config-social-items-f022d29681248095.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-7c5510a084d9c01c.js"],"/admin/config-video":[a,s,c,e,y,"static/chunks/6962-f197cc126c73fb7f.js","static/chunks/pages/admin/config-video-5e04088ce814f271.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-d79f77b8b18148ad.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-8c2d451ee44fb398.js"],"/admin/hardware-info":[g,i,t,d,o,r,k,"static/chunks/pages/admin/hardware-info-d1ca2af204c98f51.js"],"/admin/help":[t,d,b,v,"static/chunks/7830-37f6f9f7aaae2bbf.js","static/chunks/pages/admin/help-cf85d400d1ada208.js"],"/admin/logs":[a,s,c,e,i,m,"static/chunks/pages/admin/logs-c494c4dc6f214d8b.js"],"/admin/stream-health":[g,i,t,d,o,r,"static/chunks/2934-4a8cbef0e0cea1a5.js","static/chunks/pages/admin/stream-health-f2cf52294c67fcb8.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-c5012847917b76df.js","static/chunks/pages/admin/upgrade-41783a74d59f851b.js"],"/admin/viewer-info":[g,a,s,c,e,i,t,n,d,o,r,k,"static/chunks/pages/admin/viewer-info-9a828a713dcea351.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-c59eaaf1fe4ac78c.js"],"/embed/chat/readonly":[I,B,f,F,h,A,"static/css/c43a4bf0142c5559.css","static/chunks/pages/embed/chat/readonly-1d789cb2de5c6857.js"],"/embed/chat/readwrite":[I,B,s,f,F,"static/chunks/911-9156415c36038fd8.js",h,A,"static/css/ad740c02430043c7.css","static/chunks/pages/embed/chat/readwrite-eac13f3b533b2f87.js"],"/embed/video":["static/chunks/d6e1aeb5-0705bf43bcd6af77.js",n,f,"static/css/7c735c05af084bb2.css","static/chunks/7902-139b487986de3737.js",j,h,"static/chunks/2239-ceff4252276e3d5e.js","static/css/f065863129f648da.css","static/chunks/pages/embed/video-58a5d6ba4b2bb819.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config/appearance","/admin/config/streamkeys","/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/3903-37c1af34070ecbf4.js","static/chunks/8909-6d59cce6f69e27ae.js","static/chunks/4267-cfe0f573c442773c.js","static/chunks/2206-8da9006b177e3283.js","static/chunks/8091-5d2e0cdb05cd1ef7.js","static/chunks/575-11393a44fd60b818.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5101-e2c6238798b20535.js","static/chunks/6395-e4a02973025beaca.js","static/chunks/7466-1e76829814bac0c3.js","static/chunks/4763-cd081ceb0032736f.js","static/chunks/1082-51b9f63c6446d49d.js","static/chunks/5360-ddb180f0aeda9ff0.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/7910-44b63d030e4b1767.js","static/chunks/ee8b1517-9cf421a7da630c58.js","static/chunks/236-f876fd1a47451d45.js","static/chunks/8245-b34a27e35386277e.js","static/chunks/8119-57984c2c349ea105.js","static/chunks/9550-db4a457e5e1bbbcf.js","static/chunks/4ad82c5e-929b3fa886d2b3d7.js","static/chunks/1943-4052238ea618f5cc.js","static/chunks/1938-c04d908728a12ddb.js","static/chunks/3286-716fef4ced844a4d.js","static/chunks/d3048c20-b61d7fb6003662e6.js","static/chunks/d2094a0f-60df0b272e9790e9.js","static/chunks/3729-e88e6289f5436bb5.js","static/chunks/4977-167fb026492a9609.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/GUwf3pHmivjSMu8wFKhmZ/_ssgManifest.js b/static/web/_next/static/Gd2Bnzz_9el1OliOvTjlp/_ssgManifest.js similarity index 100% rename from static/web/_next/static/GUwf3pHmivjSMu8wFKhmZ/_ssgManifest.js rename to static/web/_next/static/Gd2Bnzz_9el1OliOvTjlp/_ssgManifest.js diff --git a/static/web/_next/static/chunks/1043-0321cc31d7cd63e2.js b/static/web/_next/static/chunks/1043-0321cc31d7cd63e2.js deleted file mode 100644 index 1818b4e6a..000000000 --- a/static/web/_next/static/chunks/1043-0321cc31d7cd63e2.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1043],{48689:function(e,t,O){"use strict";O.d(t,{Z:function(){return l}});var n=O(1413),a=O(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"},r=O(42135),o=function(e,t){return a.createElement(r.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};o.displayName="DeleteOutlined";var l=a.forwardRef(o)},88484:function(e,t,O){"use strict";O.d(t,{Z:function(){return l}});var n=O(1413),a=O(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"},r=O(42135),o=function(e,t){return a.createElement(r.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};o.displayName="UploadOutlined";var l=a.forwardRef(o)},94594:function(e,t,O){"use strict";O.d(t,{Z:function(){return P}});var n=O(87462),a=O(4942),i=O(50888),r=O(94184),o=O.n(r),l=O(97685),s=O(45987),c=O(67294),d=O(21770),p=O(15105),f=c.forwardRef(function(e,t){var O,n=e.prefixCls,i=void 0===n?"rc-switch":n,r=e.className,f=e.checked,u=e.defaultChecked,Q=e.disabled,h=e.loadingIcon,m=e.checkedChildren,$=e.unCheckedChildren,S=e.onClick,P=e.onChange,g=e.onKeyDown,Z=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),b=(0,d.Z)(!1,{value:f,defaultValue:u}),T=(0,l.Z)(b,2),y=T[0],x=T[1];function v(e,t){var O=y;return Q||(x(O=e),null==P||P(O,t)),O}var X=o()(i,r,(O={},(0,a.Z)(O,"".concat(i,"-checked"),y),(0,a.Z)(O,"".concat(i,"-disabled"),Q),O));return c.createElement("button",Object.assign({},Z,{type:"button",role:"switch","aria-checked":y,disabled:Q,className:X,ref:t,onKeyDown:function(e){e.which===p.Z.LEFT?v(!1,e):e.which===p.Z.RIGHT&&v(!0,e),null==g||g(e)},onClick:function(e){var t=v(!y,e);null==S||S(t,e)}}),h,c.createElement("span",{className:"".concat(i,"-inner")},y?m:$))});f.displayName="Switch";var u=O(53124),Q=O(98866),h=O(97647),m=O(68349),$=function(e,t){var O={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(O[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(O[n[a]]=e[n[a]]);return O},S=c.forwardRef(function(e,t){var O,r=e.prefixCls,l=e.size,s=e.disabled,d=e.loading,p=e.className,S=$(e,["prefixCls","size","disabled","loading","className"]),P=c.useContext(u.E_),g=P.getPrefixCls,Z=P.direction,b=c.useContext(h.Z),T=c.useContext(Q.Z),y=g("switch",r),x=c.createElement("div",{className:"".concat(y,"-handle")},d&&c.createElement(i.Z,{className:"".concat(y,"-loading-icon")})),v=o()((O={},(0,a.Z)(O,"".concat(y,"-small"),"small"===(l||b)),(0,a.Z)(O,"".concat(y,"-loading"),d),(0,a.Z)(O,"".concat(y,"-rtl"),"rtl"===Z),O),void 0===p?"":p);return c.createElement(m.Z,{insertExtraNode:!0},c.createElement(f,(0,n.Z)({},S,{prefixCls:y,className:v,disabled:(null!=s?s:T)||d,ref:t,loadingIcon:x})))});S.__ANT_SWITCH=!0;var P=S},20550:function(e,t,O){"use strict";O.d(t,{Z:function(){return S}});var n=O(4942),a=O(87462),i=O(97685),r=O(97937),o=O(94184),l=O.n(o),s=O(98423),c=O(67294),d=O(53124),p=O(98787),f=O(68349),u=function(e,t){var O={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(O[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(O[n[a]]=e[n[a]]);return O},Q=function(e,t){var O={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(O[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(O[n[a]]=e[n[a]]);return O},h=RegExp("^(".concat(p.Y.join("|"),")(-inverse)?$")),m=RegExp("^(".concat(p.E.join("|"),")$")),$=c.forwardRef(function(e,t){var O,o=e.prefixCls,p=e.className,u=e.style,$=e.children,S=e.icon,P=e.color,g=e.onClose,Z=e.closeIcon,b=e.closable,T=Q(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),y=c.useContext(d.E_),x=y.getPrefixCls,v=y.direction,X=c.useState(!0),k=(0,i.Z)(X,2),w=k[0],_=k[1];c.useEffect(function(){"visible"in T&&_(T.visible)},[T.visible]);var R=function(){return!!P&&(h.test(P)||m.test(P))},q=(0,a.Z)({backgroundColor:P&&!R()?P:void 0},u),U=R(),V=x("tag",o),C=l()(V,(O={},(0,n.Z)(O,"".concat(V,"-").concat(P),U),(0,n.Z)(O,"".concat(V,"-has-color"),P&&!U),(0,n.Z)(O,"".concat(V,"-hidden"),!w),(0,n.Z)(O,"".concat(V,"-rtl"),"rtl"===v),O),p),j=function(e){e.stopPropagation(),null==g||g(e),!e.defaultPrevented&&("visible"in T||_(!1))},W="onClick"in T||$&&"a"===$.type,Y=(0,s.Z)(T,["visible"]),G=S||null,E=G?c.createElement(c.Fragment,null,G,c.createElement("span",null,$)):$,A=c.createElement("span",(0,a.Z)({},Y,{ref:t,className:C,style:q}),E,void 0!==b&&b?Z?c.createElement("span",{className:"".concat(V,"-close-icon"),onClick:j},Z):c.createElement(r.Z,{className:"".concat(V,"-close-icon"),onClick:j}):null);return W?c.createElement(f.Z,null,A):A});$.CheckableTag=function(e){var t,O=e.prefixCls,i=e.className,r=e.checked,o=e.onChange,s=e.onClick,p=u(e,["prefixCls","className","checked","onChange","onClick"]),f=(0,c.useContext(d.E_).getPrefixCls)("tag",O),Q=l()(f,(t={},(0,n.Z)(t,"".concat(f,"-checkable"),!0),(0,n.Z)(t,"".concat(f,"-checkable-checked"),r),t),i);return c.createElement("span",(0,a.Z)({},p,{className:Q,onClick:function(e){null==o||o(!r),null==s||s(e)}}))};var S=$},77916:function(e,t,O){"use strict";O.d(t,{Z:function(){return eZ}});var n=O(87462),a=O(67294),i=O(4942),r=O(74165),o=O(71002),l=O(74902),s=O(97685),c=O(94184),d=O.n(c),p=O(15671),f=O(43144),u=O(60136),Q=O(33643),h=O(45987),m=O(15861),$=O(64217);function S(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(O){return t}}function P(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var O=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var n=e.data[t];if(Array.isArray(n)){n.forEach(function(e){O.append("".concat(t,"[]"),e)});return}O.append(t,n)}),e.file instanceof Blob?O.append(e.filename,e.file,e.file.name):O.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var O;return e.onError(((O=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,O.method=e.method,O.url=e.action,O),S(t))}return e.onSuccess(S(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(O),{abort:function(){t.abort()}}}var g=+new Date,Z=0;function b(){return"rc-upload-".concat(g,"-").concat(++Z)}var T=O(80334),y=function(e,t){if(e&&t){var O=Array.isArray(t)?t:t.split(","),n=e.name||"",a=e.type||"",i=a.replace(/\/.*$/,"");return O.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var O=n.toLowerCase(),r=t.toLowerCase(),o=[r];return(".jpg"===r||".jpeg"===r)&&(o=[".jpg",".jpeg"]),o.some(function(e){return O.endsWith(e)})}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):a===t||!!/^\w+$/.test(t)&&((0,T.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0},x=function(e,t,O){var n=function e(n,a){if(n.path=a||"",n.isFile)n.file(function(e){O(e)&&(n.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=n.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))});else if(n.isDirectory){var i,r,o;i=function(t){t.forEach(function(t){e(t,"".concat(a).concat(n.name,"/"))})},r=n.createReader(),o=[],function e(){r.readEntries(function(t){var O=Array.prototype.slice.apply(t);o=o.concat(O),O.length?e():i(o)})}()}};e.forEach(function(e){n(e.webkitGetAsEntry())})},v=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],X=function(e){(0,u.Z)(O,e);var t=(0,Q.Z)(O);function O(){(0,p.Z)(this,O);for(var e,n,a=arguments.length,i=Array(a),s=0;s0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),O=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(O)||[""])[0]},ea=function(e){return 0===e.indexOf("image/")},ei=function(e){if(e.type&&!e.thumbUrl)return ea(e.type);var t=e.thumbUrl||e.url||"",O=en(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(O))||!/^data:/.test(t)&&!O};function er(e){return new Promise(function(t){if(!e.type||!ea(e.type)){t("");return}var O=document.createElement("canvas");O.width=200,O.height=200,O.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(O);var n=O.getContext("2d"),a=new Image;if(a.onload=function(){var e=a.width,i=a.height,r=200,o=200,l=0,s=0;e>i?s=-((o=i*(200/e))-r)/2:l=-((r=e*(200/i))-o)/2,n.drawImage(a,l,s,r,o);var c=O.toDataURL();document.body.removeChild(O),t(c)},a.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){var i=new FileReader;i.addEventListener("load",function(){i.result&&(a.src=i.result)}),i.readAsDataURL(e)}else a.src=window.URL.createObjectURL(e)})}var eo=O(48689),el={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-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.8zM878 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:"download",theme:"outlined"},es=function(e,t){return a.createElement(Y.Z,(0,j.Z)((0,j.Z)({},e),{},{ref:t,icon:el}))};es.displayName="DownloadOutlined";var ec=a.forwardRef(es),ed=O(99611),ep=O(97910),ef=O(94199),eu=a.forwardRef(function(e,t){var O,r=e.prefixCls,o=e.className,l=e.style,c=e.locale,p=e.listType,f=e.file,u=e.items,Q=e.progress,h=e.iconRender,m=e.actionIconRender,$=e.itemRender,S=e.isImgUrl,P=e.showPreviewIcon,g=e.showRemoveIcon,Z=e.showDownloadIcon,b=e.previewIcon,T=e.removeIcon,y=e.downloadIcon,x=e.onPreview,v=e.onDownload,X=e.onClose,k=f.status,w=a.useState(k),_=(0,s.Z)(w,2),R=_[0],U=_[1];a.useEffect(function(){"removed"!==k&&U(k)},[k]);var V=a.useState(!1),C=(0,s.Z)(V,2),j=C[0],W=C[1],Y=a.useRef(null);a.useEffect(function(){return Y.current=setTimeout(function(){W(!0)},300),function(){Y.current&&clearTimeout(Y.current)}},[]);var G=h(f),E=a.createElement("div",{className:"".concat(r,"-text-icon")},G);if("picture"===p||"picture-card"===p){if("uploading"!==R&&(f.thumbUrl||f.url)){var A,z=(null==S?void 0:S(f))?a.createElement("img",{src:f.thumbUrl||f.url,alt:f.name,className:"".concat(r,"-list-item-image"),crossOrigin:f.crossOrigin}):G,L=d()((A={},(0,i.Z)(A,"".concat(r,"-list-item-thumbnail"),!0),(0,i.Z)(A,"".concat(r,"-list-item-file"),S&&!S(f)),A));E=a.createElement("a",{className:L,onClick:function(e){return x(f,e)},href:f.url||f.thumbUrl,target:"_blank",rel:"noopener noreferrer"},z)}else{var I,B,D,J,N=d()((J={},(0,i.Z)(J,"".concat(r,"-list-item-thumbnail"),!0),(0,i.Z)(J,"".concat(r,"-list-item-file"),"uploading"!==R),J));E=a.createElement("div",{className:N},G)}}var H=d()((I={},(0,i.Z)(I,"".concat(r,"-list-item"),!0),(0,i.Z)(I,"".concat(r,"-list-item-").concat(R),!0),(0,i.Z)(I,"".concat(r,"-list-item-list-type-").concat(p),!0),I)),F="string"==typeof f.linkProps?JSON.parse(f.linkProps):f.linkProps,K=g?m(("function"==typeof T?T(f):T)||a.createElement(eo.Z,null),function(){return X(f)},r,c.removeFile):null,ee=Z&&"done"===R?m(("function"==typeof y?y(f):y)||a.createElement(ec,null),function(){return v(f)},r,c.downloadFile):null,et="picture-card"!==p&&a.createElement("span",{key:"download-delete",className:d()("".concat(r,"-list-item-card-actions"),{picture:"picture"===p})},ee,K),eO=d()("".concat(r,"-list-item-name")),en=f.url?[a.createElement("a",(0,n.Z)({key:"view",target:"_blank",rel:"noopener noreferrer",className:eO,title:f.name},F,{href:f.url,onClick:function(e){return x(f,e)}}),f.name),et]:[a.createElement("span",{key:"view",className:eO,onClick:function(e){return x(f,e)},title:f.name},f.name),et],ea=P?a.createElement("a",{href:f.url||f.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:f.url||f.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(e){return x(f,e)},title:c.previewFile},"function"==typeof b?b(f):b||a.createElement(ed.Z,null)):null,ei="picture-card"===p&&"uploading"!==R&&a.createElement("span",{className:"".concat(r,"-list-item-actions")},ea,"done"===R&&ee,K);O=f.response&&"string"==typeof f.response?f.response:(null===(B=f.error)||void 0===B?void 0:B.statusText)||(null===(D=f.error)||void 0===D?void 0:D.message)||c.uploadError;var er=a.createElement("span",{className:"".concat(r,"-span")},E,en),el=(0,a.useContext(q.E_).getPrefixCls)(),es=a.createElement("div",{className:H},a.createElement("div",{className:"".concat(r,"-list-item-info")},er),ei,j&&a.createElement(M.Z,{motionName:"".concat(el,"-fade"),visible:"uploading"===R,motionDeadline:2e3},function(e){var t=e.className,O="percent"in f?a.createElement(ep.Z,(0,n.Z)({},Q,{type:"line",percent:f.percent})):null;return a.createElement("div",{className:d()("".concat(r,"-list-item-progress"),t)},O)})),eu=d()("".concat(r,"-list-").concat(p,"-container"),o),eQ="error"===R?a.createElement(ef.Z,{title:O,getPopupContainer:function(e){return e.parentNode}},es):es;return a.createElement("div",{className:eu,style:l,ref:t},$?$(eQ,f,u,{download:v.bind(null,f),preview:x.bind(null,f),remove:X.bind(null,f)}):eQ)}),eQ=(0,n.Z)({},F.ZP);delete eQ.onAppearEnd,delete eQ.onEnterEnd,delete eQ.onLeaveEnd;var eh=a.forwardRef(function(e,t){var O,r=e.listType,o=void 0===r?"text":r,c=e.previewFile,p=void 0===c?er:c,f=e.onPreview,u=e.onDownload,Q=e.onRemove,h=e.locale,m=e.iconRender,$=e.isImageUrl,S=void 0===$?ei:$,P=e.prefixCls,g=e.items,Z=void 0===g?[]:g,b=e.showPreviewIcon,T=void 0===b||b,y=e.showRemoveIcon,x=void 0===y||y,v=e.showDownloadIcon,X=void 0!==v&&v,k=e.removeIcon,w=e.previewIcon,_=e.downloadIcon,R=e.progress,U=void 0===R?{strokeWidth:2,showInfo:!1}:R,V=e.appendAction,C=e.appendActionVisible,j=e.itemRender,W=(0,H.Z)(),Y=a.useState(!1),G=(0,s.Z)(Y,2),z=G[0],L=G[1];a.useEffect(function(){("picture"===o||"picture-card"===o)&&(Z||[]).forEach(function(e){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",p&&p(e.originFileObj).then(function(t){e.thumbUrl=t||"",W()}))})},[o,Z,p]),a.useEffect(function(){L(!0)},[]);var B=function(e,t){if(f)return null==t||t.preventDefault(),f(e)},D=function(e){"function"==typeof u?u(e):e.url&&window.open(e.url)},F=function(e){null==Q||Q(e)},ee=function(e){if(m)return m(e,o);var t="uploading"===e.status,O=S&&S(e)?a.createElement(J,null):a.createElement(E,null),n=t?a.createElement(A.Z,null):a.createElement(I,null);return"picture"===o?n=t?a.createElement(A.Z,null):O:"picture-card"===o&&(n=t?h.uploading:O),n},et=function(e,t,O,i){var r={type:"text",size:"small",title:i,onClick:function(O){t(),(0,K.l$)(e)&&e.props.onClick&&e.props.onClick(O)},className:"".concat(O,"-list-item-card-actions-btn")};if((0,K.l$)(e)){var o=(0,K.Tm)(e,(0,n.Z)((0,n.Z)({},e.props),{onClick:function(){}}));return a.createElement(N.Z,(0,n.Z)({},r,{icon:o}))}return a.createElement(N.Z,(0,n.Z)({},r),a.createElement("span",null,e))};a.useImperativeHandle(t,function(){return{handlePreview:B,handleDownload:D}});var eO=a.useContext(q.E_),en=eO.getPrefixCls,ea=eO.direction,eo=en("upload",P),el=d()((O={},(0,i.Z)(O,"".concat(eo,"-list"),!0),(0,i.Z)(O,"".concat(eo,"-list-").concat(o),!0),(0,i.Z)(O,"".concat(eo,"-list-rtl"),"rtl"===ea),O)),es=(0,l.Z)(Z.map(function(e){return{key:e.uid,file:e}})),ec={motionDeadline:2e3,motionName:"".concat(eo,"-").concat("picture-card"===o?"animate-inline":"animate"),keys:es,motionAppear:z};return"picture-card"!==o&&(ec=(0,n.Z)((0,n.Z)({},eQ),ec)),a.createElement("div",{className:el},a.createElement(M.V,(0,n.Z)({},ec,{component:!1}),function(e){var t=e.key,O=e.file,n=e.className,i=e.style;return a.createElement(eu,{key:t,locale:h,prefixCls:eo,className:n,style:i,file:O,items:Z,progress:U,listType:o,isImgUrl:S,showPreviewIcon:T,showRemoveIcon:x,showDownloadIcon:X,removeIcon:k,previewIcon:w,downloadIcon:_,iconRender:ee,actionIconRender:et,itemRender:j,onPreview:B,onDownload:D,onClose:F})}),V&&a.createElement(M.Z,(0,n.Z)({},ec,{visible:void 0===C||C,forceRender:!0}),function(e){var t=e.className,O=e.style;return(0,K.Tm)(V,function(e){return{className:d()(e.className,t),style:(0,n.Z)((0,n.Z)((0,n.Z)({},O),{pointerEvents:t?"none":void 0}),e.style)}})}))}),em="__LIST_IGNORE_".concat(Date.now(),"__"),e$=a.forwardRef(function(e,t){var O=e.fileList,c=e.defaultFileList,p=e.onRemove,f=e.showUploadList,u=void 0===f||f,Q=e.listType,h=void 0===Q?"text":Q,m=e.onPreview,$=e.onDownload,S=e.onChange,P=e.onDrop,g=e.previewFile,Z=e.disabled,b=e.locale,T=e.iconRender,y=e.isImageUrl,x=e.progress,v=e.prefixCls,X=e.className,k=e.type,j=e.children,W=e.style,Y=e.itemRender,G=e.maxCount,E=e.data,A=e.multiple,z=e.action,L=e.accept,I=e.supportServerRender,B=a.useContext(U.Z),D=null!=Z?Z:B,J=(0,_.Z)(c||[],{value:O,postState:function(e){return null!=e?e:[]}}),M=(0,s.Z)(J,2),N=M[0],H=M[1],F=a.useState("drop"),K=(0,s.Z)(F,2),en=K[0],ea=K[1],ei=a.useRef(null);a.useMemo(function(){var e=Date.now();(O||[]).forEach(function(t,O){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(O,"__"))})},[O]);var er=function(e,t,O){var n=(0,l.Z)(t);1===G?n=n.slice(-1):G&&(n=n.slice(0,G)),(0,R.flushSync)(function(){H(n)});var a={file:e,fileList:n};O&&(a.event=O),null==S||S(a)},eo=function(e){var t=e.filter(function(e){return!e.file[em]});if(t.length){var O=t.map(function(e){return ee(e.file)}),n=(0,l.Z)(N);O.forEach(function(e){n=et(e,n)}),O.forEach(function(e,O){var a=e;if(t[O].parsedFile)e.status="uploading";else{var i,r=e.originFileObj;try{i=new File([r],r.name,{type:r.type})}catch(o){(i=new Blob([r],{type:r.type})).name=r.name,i.lastModifiedDate=new Date,i.lastModified=new Date().getTime()}i.uid=e.uid,a=i}er(a,n)})}},el=function(e,t,O){try{"string"==typeof e&&(e=JSON.parse(e))}catch(n){}if(eO(t,N)){var a=ee(t);a.status="done",a.percent=100,a.response=e,a.xhr=O;var i=et(a,N);er(a,i)}},es=function(e,t){if(eO(t,N)){var O=ee(t);O.status="uploading",O.percent=e.percent;var n=et(O,N);er(O,n,e)}},ec=function(e,t,O){if(eO(O,N)){var n=ee(O);n.error=e,n.response=t,n.status="error";var a=et(n,N);er(n,a)}},ed=function(e){var t;Promise.resolve("function"==typeof p?p(e):p).then(function(O){if(!1!==O){var a,i,r,o=(a=void 0!==e.uid?"uid":"name",(i=N.filter(function(t){return t[a]!==e[a]})).length===N.length?null:i);o&&(t=(0,n.Z)((0,n.Z)({},e),{status:"removed"}),null==N||N.forEach(function(e){var O=void 0!==t.uid?"uid":"name";e[O]!==t[O]||Object.isFrozen(e)||(e.status="removed")}),null===(r=ei.current)||void 0===r||r.abort(t),er(t,o))}})},ep=function(e){ea(e.type),"drop"===e.type&&(null==P||P(e))};a.useImperativeHandle(t,function(){return{onBatchStart:eo,onSuccess:el,onProgress:es,onError:ec,fileList:N,upload:ei.current}});var ef=a.useContext(q.E_),eu=ef.getPrefixCls,eQ=ef.direction,e$=eu("upload",v),eS=(0,n.Z)((0,n.Z)({onBatchStart:eo,onError:ec,onProgress:es,onSuccess:el},e),{data:void 0===E?{}:E,multiple:void 0!==A&&A,action:void 0===z?"":z,accept:void 0===L?"":L,supportServerRender:void 0===I||I,prefixCls:e$,disabled:D,beforeUpload:function(t,O){var n,a,i,l;return n=void 0,a=void 0,i=void 0,l=(0,r.Z)().mark(function n(){var a,i,l,s;return(0,r.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(a=e.beforeUpload,i=e.transformFile,l=t,!a){n.next=13;break}return n.next=5,a(t,O);case 5:if(!1!==(s=n.sent)){n.next=8;break}return n.abrupt("return",!1);case 8:if(delete t[em],s!==em){n.next=12;break}return Object.defineProperty(t,em,{value:!0,configurable:!0}),n.abrupt("return",!1);case 12:"object"===(0,o.Z)(s)&&s&&(l=s);case 13:if(!i){n.next=17;break}return n.next=16,i(l);case 16:l=n.sent;case 17:return n.abrupt("return",l);case 18:case"end":return n.stop()}},n)}),new(i||(i=Promise))(function(e,t){function O(e){try{o(l.next(e))}catch(O){t(O)}}function r(e){try{o(l.throw(e))}catch(O){t(O)}}function o(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(O,r)}o((l=l.apply(n,a||[])).next())})},onChange:void 0});delete eS.className,delete eS.style,(!j||D)&&delete eS.id;var eP=function(e,t){return u?a.createElement(V.Z,{componentName:"Upload",defaultLocale:C.Z.Upload},function(O){var i="boolean"==typeof u?{}:u,r=i.showRemoveIcon,o=i.showPreviewIcon,l=i.showDownloadIcon,s=i.removeIcon,c=i.previewIcon,d=i.downloadIcon;return a.createElement(eh,{prefixCls:e$,listType:h,items:N,previewFile:g,onPreview:m,onDownload:$,onRemove:ed,showRemoveIcon:!D&&r,showPreviewIcon:o,showDownloadIcon:l,removeIcon:s,previewIcon:c,downloadIcon:d,iconRender:T,locale:(0,n.Z)((0,n.Z)({},O),b),isImageUrl:y,progress:x,appendAction:e,appendActionVisible:t,itemRender:Y})}):e};if("drag"===(void 0===k?"select":k)){var eg,eZ,eb=d()(e$,(eZ={},(0,i.Z)(eZ,"".concat(e$,"-drag"),!0),(0,i.Z)(eZ,"".concat(e$,"-drag-uploading"),N.some(function(e){return"uploading"===e.status})),(0,i.Z)(eZ,"".concat(e$,"-drag-hover"),"dragover"===en),(0,i.Z)(eZ,"".concat(e$,"-disabled"),D),(0,i.Z)(eZ,"".concat(e$,"-rtl"),"rtl"===eQ),eZ),X);return a.createElement("span",null,a.createElement("div",{className:eb,onDrop:ep,onDragOver:ep,onDragLeave:ep,style:W},a.createElement(w,(0,n.Z)({},eS,{ref:ei,className:"".concat(e$,"-btn")}),a.createElement("div",{className:"".concat(e$,"-drag-container")},j))),eP())}var eT=d()(e$,(eg={},(0,i.Z)(eg,"".concat(e$,"-select"),!0),(0,i.Z)(eg,"".concat(e$,"-select-").concat(h),!0),(0,i.Z)(eg,"".concat(e$,"-disabled"),D),(0,i.Z)(eg,"".concat(e$,"-rtl"),"rtl"===eQ),eg)),ey=a.createElement("div",{className:eT,style:j?void 0:{display:"none"}},a.createElement(w,(0,n.Z)({},eS,{ref:ei})));return"picture-card"===h?a.createElement("span",{className:d()("".concat(e$,"-picture-card-wrapper"),X)},eP(ey,!!j)):a.createElement("span",{className:X},ey,eP())}),eS=function(e,t){var O={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(O[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(O[n[a]]=e[n[a]]);return O},eP=a.forwardRef(function(e,t){var O=e.style,i=e.height,r=eS(e,["style","height"]);return a.createElement(e$,(0,n.Z)({ref:t},r,{type:"drag",style:(0,n.Z)((0,n.Z)({},O),{height:i})}))}),eg=e$;eg.Dragger=eP,eg.LIST_IGNORE=em;var eZ=eg},27561:function(e,t,O){var n=O(67990),a=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(a,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var O=e.length;O--&&t.test(e.charAt(O)););return O}},23279:function(e,t,O){var n=O(13218),a=O(7771),i=O(14841),r=Math.max,o=Math.min;e.exports=function(e,t,O){var l,s,c,d,p,f,u=0,Q=!1,h=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function $(t){var O=l,n=s;return l=s=void 0,u=t,d=e.apply(n,O)}function S(e){var O=e-f,n=e-u;return void 0===f||O>=t||O<0||h&&n>=c}function P(){var e,O,n,i=a();if(S(i))return g(i);p=setTimeout(P,(e=i-f,O=i-u,n=t-e,h?o(n,c-O):n))}function g(e){return(p=void 0,m&&l)?$(e):(l=s=void 0,d)}function Z(){var e,O=a(),n=S(O);if(l=arguments,s=this,f=O,n){if(void 0===p)return u=e=f,p=setTimeout(P,t),Q?$(e):d;if(h)return clearTimeout(p),p=setTimeout(P,t),$(f)}return void 0===p&&(p=setTimeout(P,t)),d}return t=i(t)||0,n(O)&&(Q=!!O.leading,c=(h="maxWait"in O)?r(i(O.maxWait)||0,t):c,m="trailing"in O?!!O.trailing:m),Z.cancel=function(){void 0!==p&&clearTimeout(p),u=0,l=f=s=p=void 0},Z.flush=function(){return void 0===p?d:g(a())},Z}},33448:function(e,t,O){var n=O(44239),a=O(37005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==n(e)}},7771:function(e,t,O){var n=O(55639);e.exports=function(){return n.Date.now()}},14841:function(e,t,O){var n=O(27561),a=O(13218),i=O(33448),r=0/0,o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return r;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var O=l.test(e);return O||s.test(e)?c(e.slice(2),O?2:8):o.test(e)?r:+e}},13804:function(e,t,O){"use strict";O.r(t),O.d(t,{autoCloseTags:function(){return ea},html:function(){return en},htmlCompletionSource:function(){return H},htmlCompletionSourceWith:function(){return F},htmlLanguage:function(){return eO}});var n=O(53105),a=O(35524),i=O(41113);let r={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},o={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},l={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function s(e){return 9==e||10==e||13==e||32==e}let c=null,d=null,p=0;function f(e,t){var O;let n=e.pos+t;if(p==n&&d==e)return c;let a=e.peek(t);for(;s(a);)a=e.peek(++t);let i="";for(;45==(O=a)||46==O||58==O||O>=65&&O<=90||95==O||O>=97&&O<=122||O>=161;)i+=String.fromCharCode(a),a=e.peek(++t);return d=e,p=n,c=i?i.toLowerCase():a==u||a==Q?void 0:null}let u=63,Q=33;function h(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;Om.indexOf(t)>-1?new h(f(n,1)||"",e):e,reduce:(e,t)=>18==t&&e?e.parent:e,reuse(e,t,O,n){let a=t.type.id;return 4==a||35==a?new h(f(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),S=new n.Jq((e,t)=>{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(57);return}e.advance();let O=47==e.next;O&&e.advance();let n=f(e,0);if(void 0===n)return;if(!n)return e.acceptToken(O?12:4);let a=t.context?t.context.name:null;if(O){if(n==a)return e.acceptToken(9);if(a&&o[a])return e.acceptToken(57,-2);if(t.dialectEnabled(0))return e.acceptToken(10);for(let i=t.context;i;i=i.parent)if(i.name==n)return;e.acceptToken(11)}else{if("script"==n)return e.acceptToken(5);if("style"==n)return e.acceptToken(6);if("textarea"==n)return e.acceptToken(7);if(r.hasOwnProperty(n))return e.acceptToken(8);a&&l[a]&&l[a][n]?e.acceptToken(57,-1):e.acceptToken(4)}},{contextual:!0}),P=new n.Jq(e=>{for(let t=0,O=0;;O++){if(e.next<0){O&&e.acceptToken(58);break}if(45==e.next)t++;else if(62==e.next&&t>=2){O>3&&e.acceptToken(58,-2);break}else t=0;e.advance()}});function g(e,t,O){let a=2+e.length;return new n.Jq(n=>{for(let i=0,r=0,o=0;;o++){if(n.next<0){o&&n.acceptToken(t);break}if(0==i&&60==n.next||1==i&&47==n.next||i>=2&&ir?n.acceptToken(t,-r):n.acceptToken(O,-(r-2));break}else if((10==n.next||13==n.next)&&o){n.acceptToken(t,1);break}else i=r=0;n.advance()}})}let Z=g("script",54,1),b=g("style",55,2),T=g("textarea",56,3),y=(0,a.Gv)({"Text RawText":a.pJ.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":a.pJ.angleBracket,TagName:a.pJ.tagName,"MismatchedCloseTag/TagName":[a.pJ.tagName,a.pJ.invalid],AttributeName:a.pJ.attributeName,"AttributeValue UnquotedAttributeValue":a.pJ.attributeValue,Is:a.pJ.definitionOperator,"EntityReference CharacterReference":a.pJ.character,Comment:a.pJ.blockComment,ProcessingInst:a.pJ.processingInstruction,DoctypeDecl:a.pJ.documentMeta}),x=n.WQ.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DTO$tQ!bO'#DVO$yQ!bO'#DWOOOW'#Dk'#DkOOOW'#DY'#DYQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%sQ#tO,59mOOOX'#D^'#D^O%{OXO'#CwO&WOXO,59YOOOY'#D_'#D_O&`OYO'#CzO&kOYO,59YOOO['#D`'#D`O&sO[O'#C}O'OO[O,59YOOOW'#Da'#DaO'WOxO,59YO'_Q!bO'#DQOOOW,59Y,59YOOO`'#Db'#DbO'dO!rO,59oOOOW,59o,59oO'lQ!bO,59qO'qQ!bO,59rOOOW-E7W-E7WO'vQ#tO'#CqOOQO'#DZ'#DZO(UQ#tO1G.uOOOX1G.u1G.uO(^Q#tO1G/POOOY1G/P1G/PO(fQ#tO1G/SOOO[1G/S1G/SO(nQ#tO1G/VOOOW1G/V1G/VOOOW1G/X1G/XO(yQ#tO1G/XOOOX-E7[-E7[O)RQ!bO'#CxOOOW1G.t1G.tOOOY-E7]-E7]O)WQ!bO'#C{OOO[-E7^-E7^O)]Q!bO'#DOOOOW-E7_-E7_O)bQ!bO,59lOOO`-E7`-E7`OOOW1G/Z1G/ZOOOW1G/]1G/]OOOW1G/^1G/^O)gQ&jO,59]OOQO-E7X-E7XOOOX7+$a7+$aOOOY7+$k7+$kOOO[7+$n7+$nOOOW7+$q7+$qOOOW7+$s7+$sO)rQ!bO,59dO)wQ!bO,59gO)|Q!bO,59jOOOW1G/W1G/WO*RO,UO'#CtO*dO7[O'#CtOOQO1G.w1G.wOOOW1G/O1G/OOOOW1G/R1G/ROOOW1G/U1G/UOOOO'#D['#D[O*uO,UO,59`OOQO,59`,59`OOOO'#D]'#D]O+WO7[O,59`OOOO-E7Y-E7YOOQO1G.z1G.zOOOO-E7Z-E7Z",stateData:"+u~O!^OS~OSSOTPOUQOVROWTOY]OZ[O[^O^^O_^O`^Oa^Ox^O{_O!dZO~OdaO~OdbO~OdcO~OddO~OdeO~O!WfOPkP!ZkP~O!XiOQnP!ZnP~O!YlORqP!ZqP~OSSOTPOUQOVROWTOXqOY]OZ[O[^O^^O_^O`^Oa^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OdvO~OdwO~OfyOj|O~OfyOj!OO~OfyOj!QO~OfyOj!SOv!TO~OfyOj!TO~O!WfOPkX!ZkX~OP!WO!Z!XO~O!XiOQnX!ZnX~OQ!ZO!Z!XO~O!YlORqX!ZqX~OR!]O!Z!XO~O!Z!XO~P#dOd!_O~O![sO!e!aO~Oj!bO~Oj!cO~Og!dOfeXjeXveX~OfyOj!fO~OfyOj!gO~OfyOj!hO~OfyOj!iOv!jO~OfyOj!jO~Od!kO~Od!lO~Od!mO~Oj!nO~Oi!qO!`!oO!b!pO~Oj!rO~Oj!sO~Oj!tO~O_!uO`!uOa!uO!`!wO!a!uO~O_!xO`!xOa!xO!b!wO!c!xO~O_!uO`!uOa!uO!`!{O!a!uO~O_!xO`!xOa!xO!b!{O!c!xO~Ov~vj`!dx{_a_~",goto:"%p!`PPPPPPPPPPPPPPPPPP!a!gP!mPP!yPP!|#P#S#Y#]#`#f#i#l#r#xP!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag SelfClosingEndTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:$,nodeProps:[["closedBy",-10,1,2,3,5,6,7,8,9,10,11,"EndTag",4,"EndTag SelfClosingEndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,39,40,41,42,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag",38,"StartTag"]],propSources:[y],skippedNodes:[0],repeatNodeCount:9,tokenData:"#(r!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q!!O!Q![-_![!]!$c!]!^-_!^!_!(k!_!`#'S!`!a#'z!a!c-_!c!}!$c!}#R-_#R#S!$c#S#T3V#T#o!$c#o#s-_#s$f$q$f%W-_%W%o!$c%o%p-_%p&a!$c&a&b-_&b1p!$c1p4U-_4U4d!$c4d4e-_4e$IS!$c$IS$I`-_$I`$Ib!$c$Ib$Kh-_$Kh%#t!$c%#t&/x-_&/x&Et!$c&Et&FV-_&FV;'S!$c;'S;:j!(e;:j;=`4s<%l?&r-_?&r?Ah!$c?Ah?BY$q?BY?Mn!$c?MnO$q!Z$|c^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX^P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT^POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W^P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYiWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`^P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljfS^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_1n!_!a&X!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ecfSiWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0uXfSqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0pS1eP;=`<%l0p[1kP;=`<%l/^!U1wbfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!U3SP;=`<%l1n!V3bcfS^P!a`!cpOq&Xqr3Vrs&}sv3Vvw0pwx(tx!P3V!P!Q&X!Q!^3V!^!_1n!_!a&X!a#s3V#s$f&X$f;'S3V;'S;=`4m<%l?Ah3V?Ah?BY&X?BY?Mn3V?MnO&X!V4pP;=`<%l3V!_4vP;=`<%l-_!Z5SV!`h^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_5rjfSiWa!ROX7dXZ8qZ[7d[^8q^p7dqr:crs8qst@Ttw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^/^!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!Z7ibiWOX7dXZ8qZ[7d[^8q^p7dqr7drs8qst+Ptw7dwx8qx!]7d!]!^9f!^!a8q!a#S7d#S#T8q#T;'S7d;'S;=`:]<%lO7d!R8tVOp8qqs8qt!]8q!]!^9Z!^;'S8q;'S;=`9`<%lO8q!R9`O_!R!R9cP;=`<%l8q!Z9mYiW_!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z:`P;=`<%l7d!_:jjfSiWOX7dXZ8qZ[7d[^8q^p7dqr:crs8qst/^tw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^<[!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!_{let i=e.type.id;if(27==i)return v(e,t,O);if(30==i)return v(e,t,n);if(33==i)return v(e,t,a);if(l&&21==i){let r=e.node,o;if(o=r.firstChild){let s=l[t.read(o.from,o.to)];if(s)for(let c of s){if(c.tagName){if(!tagName){let d=r.parent.getChild(20);tagName=d?t.read(d.from,d.to):" "}if(attrTagName!=tagName)continue}let p=r.lastChild;if(24==p.type.id)return{parser:c.parser,overlay:[{from:p.from+1,to:p.to-1}]};if(25==p.type.id)return{parser:c.parser,overlay:[{from:p.from,to:p.to}]}}}}return null})}var k=O(61426),w=O(58037),_=O(47421),R=O(78120),q=O(59119);let U=["_blank","_self","_top","_parent"],V=["ascii","utf-8","utf-16","latin1","latin1"],C=["get","post","put","delete"],j=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],W=["true","false"],Y={},G={a:{attrs:{href:null,ping:null,type:null,media:null,target:U,hreflang:null}},abbr:Y,address:Y,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Y,aside:Y,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Y,base:{attrs:{href:null,target:U}},bdi:Y,bdo:Y,blockquote:{attrs:{cite:null}},body:Y,br:Y,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:j,formmethod:C,formnovalidate:["novalidate"],formtarget:U,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Y,center:Y,cite:Y,code:Y,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:Y,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Y,div:Y,dl:Y,dt:Y,em:Y,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Y,figure:Y,footer:Y,form:{attrs:{action:null,name:null,"accept-charset":V,autocomplete:["on","off"],enctype:j,method:C,novalidate:["novalidate"],target:U}},h1:Y,h2:Y,h3:Y,h4:Y,h5:Y,h6:Y,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Y,hgroup:Y,hr:Y,html:{attrs:{manifest:null}},i:Y,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:j,formmethod:C,formnovalidate:["novalidate"],formtarget:U,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:Y,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Y,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:Y,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:V,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:Y,noscript:Y,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:Y,param:{attrs:{name:null,value:null}},pre:Y,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Y,rt:Y,ruby:Y,samp:Y,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:V}},section:Y,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Y,source:{attrs:{src:null,type:null,media:null}},span:Y,strong:Y,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Y,summary:Y,sup:Y,table:Y,tbody:Y,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Y,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:Y,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Y,time:{attrs:{datetime:null}},title:Y,tr:Y,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:Y,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:Y},E={accesskey:null,class:null,contenteditable:W,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:W,autocorrect:W,autocapitalize:W,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":W,"aria-autocomplete":["inline","list","both","none"],"aria-busy":W,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":W,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":W,"aria-hidden":W,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":W,"aria-multiselectable":W,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":W,"aria-relevant":null,"aria-required":W,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class A{constructor(e,t){this.tags=Object.assign(Object.assign({},G),e),this.globalAttrs=Object.assign(Object.assign({},E),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function z(e,t,O=e.length){if(!t)return"";let n=t.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,O)):""}function L(e,t=!1){for(let O=e.parent;O;O=O.parent)if("Element"==O.name){if(!t)return O;t=!1}return null}function I(e,t,O){let n=O.tags[z(e,L(t,!0))];return(null==n?void 0:n.children)||O.allTags}function B(e,t){let O=[];for(let n=t;n=L(n);){let a=z(e,n);if(a&&"CloseTag"==n.lastChild.name)break;a&&0>O.indexOf(a)&&("EndTag"==t.name||t.from>=n.firstChild.to)&&O.push(a)}return O}A.default=new A;let D=/^[:\-\.\w\u00b7-\uffff]*$/;function J(e,t,O,n,a){let i=/\s*>/.test(e.sliceDoc(a,a+5))?"":">";return{from:n,to:a,options:I(e.doc,O,t).map(e=>({label:e,type:"type"})).concat(B(e.doc,O).map((e,t)=>({label:"/"+e,apply:"/"+e+i,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function M(e,t,O,n){let a=/\s*>/.test(e.sliceDoc(n,n+5))?"":">";return{from:O,to:n,options:B(e.doc,t).map((e,t)=>({label:e,apply:e+a,type:"type",boost:99-t})),validFor:D}}function N(e,t){let{state:O,pos:n}=t,a=(0,q.qz)(O).resolveInner(n),i=a.resolve(n,-1);for(let r=n,o;a==i&&(o=i.childBefore(r));){let l=o.lastChild;if(!l||!l.type.isError||l.from({label:e,type:"property"})),validFor:D}}return"Is"==i.name||"AttributeValue"==i.name||"UnquotedAttributeValue"==i.name?function(e,t,O,n,a){var i;let r=null===(i=O.parent)||void 0===i?void 0:i.getChild("AttributeName"),o=[],l;if(r){let s=e.sliceDoc(r.from,r.to),c=t.globalAttrs[s];if(!c){let d=L(O),p=d?t.tags[z(e.doc,d)]:null;c=(null==p?void 0:p.attrs)&&p.attrs[s]}if(c){let f=e.sliceDoc(n,a).toLowerCase(),u='"',Q='"';for(let h of(/^['"]/.test(f)?(l='"'==f[0]?/^[^"]*$/:/^[^']*$/,u="",Q=e.sliceDoc(a,a+1)==f[0]?"":f[0],f=f.slice(1),n++):l=/^[^\s<>='"]*$/,c))o.push({label:h,apply:u+h+Q,type:"constant"})}}return{from:n,to:a,options:o,validFor:l}}(O,e,i,"Is"==i.name?n:i.from,n):t.explicit&&("Element"==a.name||"Text"==a.name||"Document"==a.name)?function(e,t,O,n){let a=[],i=0;for(let r of I(e.doc,O,t))a.push({label:"<"+r,type:"type"});for(let o of B(e.doc,O))a.push({label:"",type:"type",boost:99-i++});return{from:n,to:n,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(O,e,i,n):null}function H(e){return N(A.default,e)}function F(e){let{extraTags:t,extraGlobalAttributes:O}=e,n=O||t?new A(t,O):A.default;return e=>N(n,e)}let K=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:w.typescriptLanguage.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:w.jsxLanguage.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:w.tsxLanguage.parser},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:w.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:k.cssLanguage.parser}],ee=[{name:"style",parser:k.cssLanguage.parser.configure({top:"Styles"})}];for(let et of"copy cut paste focus blur change click mousedown mouseup keydown keyup scroll".split(" "))w.javascriptLanguage.parser;let eO=q.qp.define({name:"html",parser:x.configure({props:[q.uj.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function en(e={}){let t="",O;!1===e.matchClosingTags&&(t="noMatch"),!0===e.selfClosingTags&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(O=X((e.nestedLanguages||[]).concat(K),(e.nestedAttributes||[]).concat(ee)));let n=O||t?eO.configure({dialect:t,wrap:O}):eO;return new q.ri(n,[eO.data.of({autocomplete:F(e)}),!1!==e.autoCloseTags?ea:[],(0,w.javascript)().support,(0,k.css)().support])}let ea=_.tk.inputHandler.of((e,t,O,n)=>{if(e.composing||e.state.readOnly||t!=O||">"!=n&&"/"!=n||!eO.isActiveAt(e.state,t,-1))return!1;let{state:a}=e,i=a.changeByRange(t=>{var O,i,r;let{head:o}=t,l=(0,q.qz)(a).resolveInner(o,-1),s;if(("TagName"==l.name||"StartTag"==l.name)&&(l=l.parent),">"==n&&"OpenTag"==l.name){if((null===(i=null===(O=l.parent)||void 0===O?void 0:O.lastChild)||void 0===i?void 0:i.name)!="CloseTag"&&(s=z(a.doc,l.parent,o))){let c=">"===e.state.doc.sliceString(o,o+1),d=`${c?"":">"}`;return{range:R.jT.cursor(o+1),changes:{from:o+(c?1:0),insert:d}}}}else if("/"==n&&"OpenTag"==l.name){let p=l.parent,f=null==p?void 0:p.parent;if(p.from==o-1&&(null===(r=f.lastChild)||void 0===r?void 0:r.name)!="CloseTag"&&(s=z(a.doc,f,o))){let u=">"===e.state.doc.sliceString(o,o+1),Q=`/${s}${u?"":">"}`,h=o+Q.length+(u?1:0);return{range:R.jT.cursor(h),changes:{from:o,insert:Q}}}}return{range:t}});return!i.changes.empty&&(e.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)})},58037:function(e,t,O){"use strict";O.r(t),O.d(t,{autoCloseTags:function(){return A},completionPath:function(){return R},esLint:function(){return z},javascript:function(){return Y},javascriptLanguage:function(){return U},jsxLanguage:function(){return C},localCompletionSource:function(){return w},scopeCompletionSource:function(){return q},snippets:function(){return Z},tsxLanguage:function(){return j},typescriptLanguage:function(){return V}});var n=O(53105),a=O(35524);let i=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],r=new n.IK({start:!1,shift:(e,t)=>5==t||6==t||294==t?e:295==t,strict:!1}),o=new n.Jq((e,t)=>{let{next:O}=e;(125==O||-1==O||t.context)&&t.canShift(292)&&e.acceptToken(292)},{contextual:!0,fallback:!0}),l=new n.Jq((e,t)=>{let{next:O}=e,n;!(i.indexOf(O)>-1)&&(47!=O||47!=(n=e.peek(1))&&42!=n)&&125!=O&&59!=O&&-1!=O&&!t.context&&t.canShift(289)&&e.acceptToken(289)},{contextual:!0}),s=new n.Jq((e,t)=>{let{next:O}=e;if((43==O||45==O)&&(e.advance(),O==e.next)){e.advance();let n=!t.context&&t.canShift(2);e.acceptToken(n?2:3)}},{contextual:!0}),c=new n.Jq(e=>{for(let t=!1,O=0;;O++){let{next:n}=e;if(n<0){O&&e.acceptToken(290);break}if(96==n){O?e.acceptToken(290):e.acceptToken(291,1);break}if(123==n&&t){1==O?e.acceptToken(4,1):e.acceptToken(290,-1);break}if(10==n&&O){e.advance(),e.acceptToken(290);break}else 92==n&&e.advance();t=36==n,e.advance()}}),d=new n.Jq((e,t)=>{if(101==e.next&&t.dialectEnabled(1)){e.advance();for(let O=0;O<6;O++){if(e.next!="xtends".charCodeAt(O))return;e.advance()}e.next>=57&&e.next<=65||e.next>=48&&e.next<=90||95==e.next||e.next>=97&&e.next<=122||e.next>160||e.acceptToken(1)}}),p=(0,a.Gv)({"get set async static":a.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":a.pJ.controlKeyword,"in of await yield void typeof delete instanceof":a.pJ.operatorKeyword,"let var const function class extends":a.pJ.definitionKeyword,"import export from":a.pJ.moduleKeyword,"with debugger as new":a.pJ.keyword,TemplateString:a.pJ.special(a.pJ.string),super:a.pJ.atom,BooleanLiteral:a.pJ.bool,this:a.pJ.self,null:a.pJ.null,Star:a.pJ.modifier,VariableName:a.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":a.pJ.function(a.pJ.variableName),VariableDefinition:a.pJ.definition(a.pJ.variableName),Label:a.pJ.labelName,PropertyName:a.pJ.propertyName,PrivatePropertyName:a.pJ.special(a.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":a.pJ.function(a.pJ.propertyName),"FunctionDeclaration/VariableDefinition":a.pJ.function(a.pJ.definition(a.pJ.variableName)),"ClassDeclaration/VariableDefinition":a.pJ.definition(a.pJ.className),PropertyDefinition:a.pJ.definition(a.pJ.propertyName),PrivatePropertyDefinition:a.pJ.definition(a.pJ.special(a.pJ.propertyName)),UpdateOp:a.pJ.updateOperator,LineComment:a.pJ.lineComment,BlockComment:a.pJ.blockComment,Number:a.pJ.number,String:a.pJ.string,ArithOp:a.pJ.arithmeticOperator,LogicOp:a.pJ.logicOperator,BitOp:a.pJ.bitwiseOperator,CompareOp:a.pJ.compareOperator,RegExp:a.pJ.regexp,Equals:a.pJ.definitionOperator,Arrow:a.pJ.function(a.pJ.punctuation),": Spread":a.pJ.punctuation,"( )":a.pJ.paren,"[ ]":a.pJ.squareBracket,"{ }":a.pJ.brace,"InterpolationStart InterpolationEnd":a.pJ.special(a.pJ.brace),".":a.pJ.derefOperator,", ;":a.pJ.separator,TypeName:a.pJ.typeName,TypeDefinition:a.pJ.definition(a.pJ.typeName),"type enum interface implements namespace module declare":a.pJ.definitionKeyword,"abstract global Privacy readonly override":a.pJ.modifier,"is keyof unique infer":a.pJ.operatorKeyword,JSXAttributeValue:a.pJ.attributeValue,JSXText:a.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":a.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":a.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":a.pJ.attributeName,"JSXBuiltin/JSXIdentifier":a.pJ.standard(a.pJ.tagName)}),f={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:50,true:58,false:58,null:68,void:72,typeof:76,super:92,new:126,await:143,yield:145,delete:146,class:156,extends:158,public:203,private:203,protected:203,readonly:205,instanceof:226,satisfies:229,in:230,const:232,import:264,keyof:319,unique:323,infer:329,is:365,abstract:385,implements:387,type:389,let:392,var:394,interface:401,enum:405,namespace:411,module:413,declare:417,global:421,for:442,of:451,while:454,with:458,do:462,if:466,else:468,switch:472,case:478,try:484,catch:488,finally:492,return:496,throw:500,break:504,continue:508,debugger:512},u={__proto__:null,async:113,get:115,set:117,public:165,private:165,protected:165,static:167,abstract:169,override:171,readonly:177,accessor:179,new:369},Q={__proto__:null,"<":133},h=n.WQ.deserialize({version:14,states:"$;rO`QdOOO$zQdOOO)TQ(C|O'#ChO)[OWO'#DYO+gQdO'#D_O+wQdO'#DjO$zQdO'#DtO-{QdO'#DzOOQO'#E`'#E`O.`Q`O'#E_O.eQ`O'#E_OOQ(C['#Ei'#EiO0gQ(C|O'#I{O3TQ(C|O'#I|O3tQ`O'#FOO3yQ!bO'#FgOOQ(C['#FW'#FWO4UO#tO'#FWO4dQ&jO'#FnO5wQ`O'#FmOOQ(C['#I|'#I|OOQ(CW'#I{'#I{OOQS'#Je'#JeO5|Q`O'#HwO6RQ(ChO'#HxOOQS'#Ip'#IpOOQS'#Hz'#HzQ`QdOOO$zQdO'#DlO6ZQ`O'#GcO6`Q&jO'#CmO6nQ`O'#E^O6yQ`O'#EjO7OQ&jO'#FVO7jQ`O'#GcO7oQ`O'#GgO7zQ`O'#GgO8YQ`O'#GjO8YQ`O'#GkO8YQ`O'#GmO6ZQ`O'#GpO8yQ`O'#GsO:XQ`O'#CdO:iQ`O'#HQO:qQ`O'#HWO:qQ`O'#HYO`QdO'#H[O:qQ`O'#H^O:qQ`O'#HaO:vQ`O'#HgO:{Q(CjO'#HmO$zQdO'#HoO;WQ(CjO'#HqO;cQ(CjO'#HsO6RQ(ChO'#HuO;nQ(C|O'#ChO<[Q,UO'#DdQOQ`OOO=PQaO'#D{O6`Q&jO'#E^O=_Q`O'#E^O=jQpO'#FVO$zQdO'#DZOOOW'#H|'#H|O=rOWO,59tOOQ(C[,59t,59tO=}QdO'#H}O>bQ`O'#I}O@dQtO'#I}O)gQdO'#I}O@kQ`O,59yOARQ`O'#E`OA`Q`O'#JYOAkQ`O'#JXOAkQ`O'#JXOAsQ`O,5:|OAxQ`O'#JWOOQ(C[,5:U,5:UOBPQdO,5:UODQQ(C|O,5:`ODqQ`O,5:fOE[Q(ChO'#JVO7oQ`O'#JUOEcQ`O'#JUOEkQ`O,5:{OEpQ`O'#JUOFOQdO,5:yOHOQ&jO'#EZOI`Q`O,5:yOJuQ&jO'#DnOJ|QdO'#DsOKWQ,UO,5;SOK`Q,UO,5;SO$zQdO,5;SOOQS'#Ev'#EvOOQS'#Ex'#ExO$zQdO,5;UO$zQdO,5;UO$zQdO,5;UO$zQdO,5;UO$zQdO,5;UO$zQdO,5;UO$zQdO,5;UO$zQdO,5;UO$zQdO,5;UO$zQdO,5;UO$zQdO,5;UOOQS'#E|'#E|OKnQdO,5;gOOQ(C[,5;l,5;lOOQ(C[,5;m,5;mOMnQ`O,5;mOOQ(C[,5;n,5;nO$zQdO'#IXOMvQ(ChO,5cOOQS'#Is'#IsOOQS,5>d,5>dOOQS-E;x-E;xO!,tQ(C|O,5:WOOQ(CX'#Cp'#CpO!-hQ&kO,5<}OOQO'#Cf'#CfO!-yQ(ChO'#ItO5wQ`O'#ItO:vQ`O,59XO!.[Q!bO,59XO!.dQ&jO,59XO6`Q&jO,59XO!.oQ`O,5:yO!.wQ`O'#HPO!/VQ`O'#JiO$zQdO,5;oO!/_Q,UO,5;qO!/dQ`O,5=jO!/iQ`O,5=jO!/nQ`O,5=jO6RQ(ChO,5=jO6ZQ`O,5<}O!/|Q`O'#EbO!0sQ,UO'#EcOOQ(CW'#JW'#JWO!0zQ(ChO'#JfO6RQ(ChO,5=RO8YQ`O,5=XOOQP'#Cs'#CsO!1VQ!bO,5=UO!1_Q!cO,5=VO!1jQ`O,5=XO!1oQpO,5=[O:vQ`O'#GuO6ZQ`O'#GwO!1wQ`O'#GwO6`Q&jO'#GzO!1|Q`O'#GzOOQS,5=_,5=_O!2RQ`O'#G{O!2ZQ`O'#CmO!2`Q`O,59OO!2jQ`O,59OO!4lQdO,59OOOQS,59O,59OO!4yQ(ChO,59OO$zQdO,59OO!5UQdO'#HSOOQS'#HT'#HTOOQS'#HU'#HUO`QdO,5=lO!5fQ`O,5=lO$zQdO'#DzO`QdO,5=rO`QdO,5=tO!5kQ`O,5=vO`QdO,5=xO!5pQ`O,5={O!5uQdO,5>ROOQS,5>X,5>XO$zQdO,5>XO6RQ(ChO,5>ZOOQS,5>],5>]O!9vQ`O,5>]OOQS,5>_,5>_O!9vQ`O,5>_OOQS,5>a,5>aO!9{Q!bO'#DWOOQ(CW'#JP'#JPO$zQdO'#JPO!:jQ!bO'#JPO!;XQ!bO'#DeO!;jQ,UO'#DeO!=uQdO'#DeO!=|Q`O'#JOO!>UQ`O,5:OO!>ZQ`O'#EdO!>iQ`O'#JZO!>qQ`O,5:}O!?XQ,UO'#DeO!?cQ,UO'#EOOOQ(C[,5:g,5:gO$zQdO,5:gOHOQ&jO,5:gO!@]QaO,5:gO:vQ`O,5:xO!.[Q!bO,5:xO!.dQ&jO,5:xO6`Q&jO,5:xO!@hQpO,59uOOOW-E;z-E;zOOQ(C[1G/`1G/`O!@mQtO,5>iO)gQdO,5>iOOQO,5>n,5>nO!@wQdO'#H}OOQO-E;{-E;{O!AUQ`O,5?iO!A^QtO,5?iO!AeQ`O,5?sOOQ(C[1G/e1G/eO$zQdO,5?tO!AmQ`O'#ISOOQO-EsOOQ(CW-EYQ`O1G1sOOQS1G3}1G3}OOQ(C[1G/r1G/rOMnQ`O1G/rOOQS1G2i1G2iOHOQ&jO1G2iO$zQdO1G2iOHOQ&jO1G2iO#>_QaO1G2iO#?wQ&jO'#EZOOQ(CW,5?`,5?`O#@RQ(ChO,5?`OOQS1G.s1G.sO:vQ`O1G.sO!.[Q!bO1G.sO!.dQ&jO1G.sO#@dQ`O1G0eO#@iQ`O'#ChO#@tQ`O'#JjO#@|Q`O,5=kO#ARQ`O'#JjO#AWQ`O'#JjO#A`Q`O'#IfO#AnQ`O,5@TO#AvQtO1G1ZOOQ(C[1G1]1G1]O6ZQ`O1G3UO#A}Q`O1G3UO#BSQ`O1G3UO#BXQ`O1G3UOOQS1G3U1G3UO#B^Q&kO1G2iO7oQ`O'#JXO7oQ`O'#EdO$zQdO'#EdO7oQ`O'#I`O#BoQ(ChO,5@QOOQS1G2m1G2mO!1jQ`O1G2sOHOQ&jO1G2pO#BzQ`O1G2pOOQS1G2q1G2qOHOQ&jO1G2qO#CPQaO1G2qO#CXQ,UO'#GoOOQS1G2s1G2sO!'aQ,UO'#IbO!1oQpO1G2vOOQS1G2v1G2vOOQS,5=a,5=aO#CaQ&kO,5=cO6ZQ`O,5=cO#9vQ`O,5=fO5wQ`O,5=fO!.[Q!bO,5=fO!.dQ&jO,5=fO6`Q&jO,5=fO#CrQ`O'#JhO#C}Q`O,5=gOOQS1G.j1G.jO#DSQ(ChO1G.jO#D_Q`O1G.jO#DdQ`O1G.jO6RQ(ChO1G.jO#DlQtO,5@VO#DvQ`O,5@VO#ERQdO,5=nO#EYQ`O,5=nO7oQ`O,5@VOOQS1G3W1G3WO`QdO1G3WOOQS1G3^1G3^OOQS1G3`1G3`O:qQ`O1G3bO#E_QdO1G3dO#IYQdO'#HcOOQS1G3g1G3gO#IgQ`O'#HiO:vQ`O'#HkOOQS1G3m1G3mO#IoQdO1G3mO6RQ(ChO1G3sOOQS1G3u1G3uOOQ(CW'#GO'#GOO6RQ(ChO1G3wO6RQ(ChO1G3yO#MmQ`O,5?kOKnQdO,5;OO7oQ`O,5;OO:vQ`O,5:POKnQdO,5:PO$zQdO'#JPO!.[Q!bO,5:PO#MrQ!LUO,5:POOQO,5;O,5;OO#M|Q,UO'#IOO#NdQ`O,5?jOOQ(C[1G/j1G/jO#NlQ,UO'#ITO#NvQ`O,5?uOOQ(CW1G0i1G0iO!;jQ,UO,5:POOQ(CW'#EU'#EUO$ OQ(DjO'#EVO$ jQ,UO'#EPOOQO'#IR'#IRO$ {Q,UO,5:jOOQ(C[,5:j,5:jO$!uQ,UO'#EPO$#SQ,UO'#EPO$#dQ,UO'#E]O$#gQ,UO'#EVO$$QQ,UO'#EVO$ jQ,UO'#EVO$$qQ`O1G0RO$$vQqO1G0ROOQ(C[1G0R1G0RO$zQdO1G0ROHOQ&jO1G0ROOQ(C[1G0d1G0dO:vQ`O1G0dO!.[Q!bO1G0dO!.dQ&jO1G0dOOOW1G/a1G/aO$$}QpO,5iO$%aQ`O1G5TO$%iQ`O1G5_O$%qQtO1G5`O7oQ`O,5>nO$%{Q(C|O1G5]O$zQdO1G5]O$&]Q(ChO1G5]O$&nQ`O1G5[O7oQ`O,5>pOOQO,5>p,5>pO$&vQ`O,5>pOOQO-Eu,5>uO$3uQ`O,5>uOOQ(C]1G2V1G2VP$3zQ`O'#IZPOQ(C]-Ew,5>wOOQO-Ex,5>xOOQO-E<[-E<[OOQP1G.x1G.xO!/_Q,UO,59oO$zQdO,59oO$8uQ`O1G1zOIeQ&jO1G2RO$8zQ(C|O7+'_OOQ(C[7+'_7+'_OFOQdO7+'_OOQ(C[7+%^7+%^O$9nQqO'#JdO$$qQ`O7+(TO$9xQ`O7+(TO$:QQqO7+(TOOQS7+(T7+(TOHOQ&jO7+(TO$zQdO7+(TOHOQ&jO7+(TO$:[Q(CyO'#ChO$:oQ(CyO,5z,5>zOOQ(CW-E<^-E<^OOQS7+(_7+(_O$|,5>|OOQO-E<`-E<`OOQS7+(b7+(bO$>dQ,UO'#GxOOQS1G2}1G2}OHOQ&jO1G2}O$zQdO1G2}OHOQ&jO1G2}O$>kQaO1G2}O$>yQ&kO1G2}O6RQ(ChO1G3QO#9vQ`O1G3QO5wQ`O1G3QO!.[Q!bO1G3QO!.dQ&jO1G3QO$?[Q`O'#IdO$?gQ`O,5@SO$?oQ,UO,5@SOOQ(CW1G3R1G3ROOQS7+$U7+$UO$?wQ`O7+$UO6RQ(ChO7+$UO$?|Q`O7+$UO$zQdO1G5qO$zQdO1G5rO$@RQdO1G3YO$@YQ`O1G3YO$@_QdO1G3YO$@fQ(ChO1G5qOOQS7+(r7+(rO6RQ(ChO7+(|O`QdO7+)OOOQS'#Jm'#JmOOQS'#Ig'#IgO$@pQdO,5=}OOQS,5=},5=}O$zQdO'#HdO$@}Q`O'#HfOOQS,5>T,5>TO7oQ`O,5>TOOQS,5>V,5>VOOQS7+)X7+)XOOQS7+)_7+)_OOQS7+)c7+)cOOQS7+)e7+)eO$ASQ!bO1G5VO$AhQ!LUO1G0jO$ArQ`O1G0jOOQO1G/k1G/kO$A}Q!LUO1G/kO$BXQ`O,5?kO:vQ`O1G/kOKnQdO'#DeOOQO,5>j,5>jOOQO-E;|-E;|OOQO,5>o,5>oOOQO-EkOOQO-E;}-E;}O$LlQtO,5>lO$zQdO,5>lOOQO-EsOOOO7+'Z7+'ZOOOW1G/S1G/SOOQ(C]1G4a1G4aOIeQ&jO7+(RO%0lQ`O,5>tO6ZQ`O,5>tOOQO-EvO%1yQ`O,5>vOHOQ&jO,5>vOOQO-EOOOQS,5>Q,5>QO%;sQ`O1G3oO7oQ`O7+&UOKnQdO7+&UOOQ(CW1G5V1G5VOOQO7+%V7+%VO%;xQ!LUO1G5`O:vQ`O7+%VOOQO1G0V1G0VO%UQ(C|O<fQ(C}O7+'kO%@wQ(C}O7+'mO%CYQtO1G4WO%CdQ!LUO7+&PO%DYQ!LVO,59mO%F^Q!LVO,5<[O%HeQ!LVO,5<^O%JWQ!LVO,5yOOQO-E<]-E<]O$$qQ`OANAZOOQSANAZANAZOHOQ&jOANAZO%NkQ(CyO7+'yOOQSAN=eAN=eO6ZQ`O1G4kOOQO1G4k1G4kO%N{Q`O1G4kO& QQ`O7++[O& QQ`O7++[O6RQ(ChOANAvO& YQ`OANAvOOQSANAvANAvO& _Q`OANAZO& gQqOANAZOOQSANAbANAbOOQSANAcANAcO& qQ`O,5>{OOQO-E<_-E<_O& |Q!LUO1G5mO#9vQ`O,5=eO5wQ`O,5=eO&$^QtO'#ChO!.[Q!bO,5=eOOQO-E}AN>}OOQOAN>wAN>wO%}O:vQ`OAN>wO$zQdOAN>}O!.[Q!bOAN>wO&6UQ(ChOAN>}O&6aQ(C}OG26sOOQ(CWG26hG26hOOQS!$( {!$( {OOQO<pQ7]O,5jO!Q&nO~O!Q'zX!T'zX!_'zX!e'zX'w'zX~O#O'zX#Z#SX!U'zX~P@pO#O&oO!Q'|X!T'|X~O!T&pO!Q'{X~O!Q&sO~O#O#iO~P@pO!U&tO~P`Ox!}Oy#OO{#PO!d!{O!f!|O'mROQ!haZ!hak!ha!T!ha!c!ha!l!ha#_!ha#`!ha#a!ha#b!ha#c!ha#d!ha#e!ha#f!ha#g!ha#i!ha#k!ha#m!ha#n!ha'w!ha(O!ha(P!ha~O_!ha'`!ha'[!ha!Q!ha!e!hao!ha!V!ha%X!ha!_!ha~PBWO!e&uO~O!_!yO#O&wO'w&vO!T'yX_'yX'`'yX~O!e'yX~PDvO!T&{O!e'xX~O!e&}O~O{$|O!V$}O#Y'OO'e$iO~OQUORUO]dOb!^Oc!]OidOkUOldOmdOrdOtUOvUO{SO!OdO!PdO!VTO!alO!fVO!iUO!jUO!kUO!lUO!mUO!p![O#x!_O#|_O'e!XO'mRO'vZO(TbO~O]#wOi$WOk#xOl#wOm#wOr$XOt$YOv:dO{$PO!V$QO!avO_+nO!U+pO!Y+qO!Z+mO![+mO!t+uO!u+sO!v+tO!w+rO!z+vO!{+vO'v+kO~P!>vOP+{O!V&YO!q+zO~Oo,QO~O!Q&qa!T&qa~P!*}O!S,UO!Q&qX!T&qX~P$zO!T&iO!Q'qa~O!Q'qa~P>jO!T&pO!Q'{a~O{$|O!S,YO!V$}O'e$iO!Q&vX!T&vX~O#O,[O!T'ya!e'ya_'ya'`'ya~O!_!yO~P!BRO!T&{O!e'xa~O{$|O!S,_O!V$}O#X,aO#Y,_O'e$iO!T&xX!e&xX~O_#Ri!T#Ri'`#Ri'[#Ri!Q#Ri!e#Rio#Ri!V#Ri%X#Ri!_#Ri~P!*}OPmO!_)jO!V'ha_'ha!T'ha'`'ha~O#Z.kO~OZ[X!TdX!UdX~O!T.lO!U(^X~O!U.nO~OZ.oO~O].qO'e)rO~O!V$sO'e$iO^'YX!T'YX~O!T)wO^(]a~O!e.tO~P!*}O].vO~OZ.wO~O^.xO~OP.cO!V&YO!q.bO%X.aO'i$VO~O!T*UO_(Ya'`(Ya~O#O/PO~OP/SO!V$QO~O'n'[O!U(ZP~OP/^O!V/YO!q/]O%X/[O'i$VO~OZ/hO!T/fO!U([X~O!U/iO~O^/kO_$eO'`$eO~O]/lO~O]/mO'e)VO~O#g/nO%y/oO~P1TO#O#iO#g/nO%y/oO~O_/pO~P$zO_/rO~O&S/vOQ&QiR&QiX&Qi]&Qi_&Qib&Qic&Qii&Qik&Qil&Qim&Qir&Qit&Qiv&Qi{&Qi!O&Qi!P&Qi!V&Qi!a&Qi!f&Qi!i&Qi!j&Qi!k&Qi!l&Qi!m&Qi!p&Qi#h&Qi#x&Qi#|&Qi%W&Qi%Y&Qi%[&Qi%]&Qi%`&Qi%b&Qi%e&Qi%f&Qi%h&Qi%u&Qi%{&Qi%}&Qi&P&Qi&R&Qi&U&Qi&[&Qi&b&Qi&d&Qi&f&Qi&h&Qi&j&Qi'[&Qi'e&Qi'm&Qi'v&Qi(T&Qi!U&Qi`&Qi&X&Qi~O`/|O!U/zO&X/{O~P`O!VTO!f0OO~O&`+ROQ&ZiR&ZiX&Zi]&Zi_&Zib&Zic&Zii&Zik&Zil&Zim&Zir&Zit&Ziv&Zi{&Zi!O&Zi!P&Zi!V&Zi!a&Zi!f&Zi!i&Zi!j&Zi!k&Zi!l&Zi!m&Zi!p&Zi#h&Zi#x&Zi#|&Zi%W&Zi%Y&Zi%[&Zi%]&Zi%`&Zi%b&Zi%e&Zi%f&Zi%h&Zi%u&Zi%{&Zi%}&Zi&P&Zi&R&Zi&U&Zi&[&Zi&b&Zi&d&Zi&f&Zi&h&Zi&j&Zi'[&Zi'e&Zi'm&Zi'v&Zi(T&Zi!U&Zi&S&Zi`&Zi&X&Zi~O!Q0UO~O!T!Xa!U!Xa~P#-WO!S0]O!Y&XO!Z&QO![&QO!T&rX!U&rX~P!>vO!T+dO!U'ra~O!T&wX!U&wX~P!0bO!T+gO!U'}a~O_$eO!_!yO!f$bO!l0gO#O0eO'`$eO'i$VO'w&vO~O]%|Ol%|O{+`O'n(sO'v+kO~O_+nO!U0jO!Y+qO!Z+mO![+mO!t+uO!u+sO!v+tO!w+rO!z+vO!{+vO'v+kO~P!>vO!Z0kO![0kO'v+kO~P!>vO!Y0lO!Z0kO![0kO'v+kO~P!>vO!VTO!Y0lO!Z0kO![0kO!w0nO!z0oO!{0oO'v+kO~P!>vO!Y0lO!Z0kO![0kO!u0qO!v0qO!w0nO!z0oO!{0oO'v+kO~P!>vO!V&YO~O!V&YO~P!DRO!T#eOo$ca~O!Q&qi!T&qi~P!*}O!T&iO!Q'qi~O!T&pO!Q'{i~O!Q'|i!T'|i~P!*}O!T'yi!e'yi_'yi'`'yi~P!*}O#O0zO!T'yi!e'yi_'yi'`'yi~O!T&{O!e'xi~O{$|O!V$}O#Y0|O'e$iO~O#ZuaQuaZua_uakua!cua!dua!fua!lua#_ua#`ua#aua#bua#cua#dua#eua#fua#gua#iua#kua#mua#nua'`ua'mua'wua!eua!Qua'[ua!Vuaoua%Xua!_ua~P#;dO#Z$daQ$daZ$da_$dak$day$da!c$da!d$da!f$da!l$da#_$da#`$da#a$da#b$da#c$da#d$da#e$da#f$da#g$da#i$da#k$da#m$da#n$da'`$da'm$da'w$da!e$da!Q$da'[$da!V$dao$da%X$da!_$da~P#vO_$eO!_!yO!f$bO!l4fO#O4aO'`$eO'i$VO'w&vO~O!Y4gO!Z4eO![4eO'v+kO~P!>vO!Y4gO!Z4eO![4eO!w4jO!z4kO!{4kO'v+kO~P!>vO_$eO!_!yO!l4fO#O4aO'`$eO'w&vO~O!T'yq!e'yq_'yq'`'yq~P!*}O!T&{O!e'xq~O#Z%PiQ%PiZ%Pi_%Pik%Piy%Pi!c%Pi!d%Pi!f%Pi!l%Pi#_%Pi#`%Pi#a%Pi#b%Pi#c%Pi#d%Pi#e%Pi#f%Pi#g%Pi#i%Pi#k%Pi#m%Pi#n%Pi'`%Pi'm%Pi'w%Pi!e%Pi!Q%Pi'[%Pi!V%Pio%Pi%X%Pi!_%Pi~P$4SO#Z%RiQ%RiZ%Ri_%Rik%Riy%Ri!c%Ri!d%Ri!f%Ri!l%Ri#_%Ri#`%Ri#a%Ri#b%Ri#c%Ri#d%Ri#e%Ri#f%Ri#g%Ri#i%Ri#k%Ri#m%Ri#n%Ri'`%Ri'm%Ri'w%Ri!e%Ri!Q%Ri'[%Ri!V%Rio%Ri%X%Ri!_%Ri~P$4uO#Z$miQ$miZ$mi_$mik$miy$mi!T$mi!c$mi!d$mi!f$mi!l$mi#_$mi#`$mi#a$mi#b$mi#c$mi#d$mi#e$mi#f$mi#g$mi#i$mi#k$mi#m$mi#n$mi'`$mi'm$mi'w$mi!e$mi!Q$mi'[$mi!V$mi#O$mio$mi%X$mi!_$mi~P!DROe&sa!T&sa~P!$SO!T&ta!e&ta~P!*}O!T,mO!e'ui~O#q#Ri!T#Ri!U#Ri~P#-WOQ#aOx!}Oy#OO{#PO!d!{O!f!|O!l#aO'mROZ#^ik#^i!c#^i#`#^i#a#^i#b#^i#c#^i#d#^i#e#^i#f#^i#g#^i#i#^i#k#^i#m#^i#n#^i#q#^i'w#^i(O#^i(P#^i!T#^i!U#^i~O#_#^i~P$M]O#_:SO~P$M]OQ#aOx!}Oy#OO{#PO!d!{O!f!|O!l#aO#_:SO#`:TO#a:TO#b:TO'mROZ#^i!c#^i#c#^i#d#^i#e#^i#f#^i#g#^i#i#^i#k#^i#m#^i#n#^i#q#^i'w#^i(O#^i(P#^i!T#^i!U#^i~Ok#^i~P% hOk:UO~P% hOQ#aOk:UOx!}Oy#OO{#PO!d!{O!f!|O!l#aO#_:SO#`:TO#a:TO#b:TO#c:VO'mRO#i#^i#k#^i#m#^i#n#^i#q#^i'w#^i(O#^i(P#^i!T#^i!U#^i~OZ#^i!c#^i#d#^i#e#^i#f#^i#g#^i~P%#sOZ:bO!c:WO#d:WO#e:WO#f:aO#g:WO~P%#sOQ#aOZ:bOk:UOx!}Oy#OO{#PO!c:WO!d!{O!f!|O!l#aO#_:SO#`:TO#a:TO#b:TO#c:VO#d:WO#e:WO#f:aO#g:WO#i:XO'mRO#k#^i#m#^i#n#^i#q#^i'w#^i(P#^i!T#^i!U#^i~O(O#^i~P%&_O(O#QO~P%&_OQ#aOZ:bOk:UOx!}Oy#OO{#PO!c:WO!d!{O!f!|O!l#aO#_:SO#`:TO#a:TO#b:TO#c:VO#d:WO#e:WO#f:aO#g:WO#i:XO#k:ZO'mRO(O#QO#m#^i#n#^i#q#^i'w#^i!T#^i!U#^i~O(P#^i~P%(jO(P#RO~P%(jOQ#aOZ:bOk:UOx!}Oy#OO{#PO!c:WO!d!{O!f!|O!l#aO#_:SO#`:TO#a:TO#b:TO#c:VO#d:WO#e:WO#f:aO#g:WO#i:XO#k:ZO#m:]O'mRO(O#QO(P#RO~O#n#^i#q#^i'w#^i!T#^i!U#^i~P%*uO_#oy!T#oy'`#oy'[#oy!Q#oy!e#oyo#oy!V#oy%X#oy!_#oy~P!*}OPvO!Y6SO!Z6RO![6RO!u6TO!v6TO!z0oO!{0oO'v+kO~P!>vO!Z6RO![6RO'f$kO'n(sO'v+kO~O!V/YO~O!V/YO%X6VO~O!V/YO%X6VO~P!DROP6[O!V/YO!q6ZO%X6VO~OZ6aO!T'Wa!U'Wa~O!T/fO!U([i~O]6dO~O!e6eO~O!e6fO~O!e6gO~O!e6gO~P$zO_6iO~O!_6lO~O!e6mO~O!T'|i!U'|i~P#-WO_$eO'`$eO~P!*}O_$eO#O6sO'`$eO~O_$eO!_!yO#O6sO'`$eO~O!Z6xO![6xO'v+kO~P!>vO_$eO!_!yO!l6yO#O6sO'`$eO'w&vO~O!f$bO'i$VO~P%=UO!Y6zO!Z6xO![6xO'v+kO~P!>vO!T'yy!e'yy_'yy'`'yy~P!*}O#Z$mqQ$mqZ$mq_$mqk$mqy$mq!T$mq!c$mq!d$mq!f$mq!l$mq#_$mq#`$mq#a$mq#b$mq#c$mq#d$mq#e$mq#f$mq#g$mq#i$mq#k$mq#m$mq#n$mq'`$mq'm$mq'w$mq!e$mq!Q$mq'[$mq!V$mq#O$mqo$mq%X$mq!_$mq~P!DRO#Z$oqQ$oqZ$oq_$oqk$oqy$oq!T$oq!c$oq!d$oq!f$oq!l$oq#_$oq#`$oq#a$oq#b$oq#c$oq#d$oq#e$oq#f$oq#g$oq#i$oq#k$oq#m$oq#n$oq'`$oq'm$oq'w$oq!e$oq!Q$oq'[$oq!V$oq#O$oqo$oq%X$oq!_$oq~P!DRO!T&ti!e&ti~P!*}O#q#Rq!T#Rq!U#Rq~P#-WOx.SOy.SO{.TOPua(Oua(Pua!Uua~OQuaZuakua!cua!dua!fua!lua#_ua#`ua#aua#bua#cua#dua#eua#fua#gua#iua#kua#mua#nua#qua'mua'wua!Tua~P%CqOx(]O{(^OP$da(O$da(P$da!U$da~OQ$daZ$dak$day$da!c$da!d$da!f$da!l$da#_$da#`$da#a$da#b$da#c$da#d$da#e$da#f$da#g$da#i$da#k$da#m$da#n$da#q$da'm$da'w$da!T$da~P%ExOx(]O{(^OP$fa(O$fa(P$fa!U$fa~OQ$faZ$fak$fay$fa!c$fa!d$fa!f$fa!l$fa#_$fa#`$fa#a$fa#b$fa#c$fa#d$fa#e$fa#f$fa#g$fa#i$fa#k$fa#m$fa#n$fa#q$fa'm$fa'w$fa!T$fa~P%HPOQ$taZ$tak$tay$ta!c$ta!d$ta!f$ta!l$ta#_$ta#`$ta#a$ta#b$ta#c$ta#d$ta#e$ta#f$ta#g$ta#i$ta#k$ta#m$ta#n$ta#q$ta'm$ta'w$ta!T$ta!U$ta~P%-mO#q$`q!T$`q!U$`q~P#-WO#q$aq!T$aq!U$aq~P#-WO!U7TO~O#q7UO~P!$SO!_!yO!T&|i!e&|i~O!_!yO'w&vO!T&|i!e&|i~O!T-`O!e(Uq~O!Q'Oi!T'Oi~P!DRO!T-hO!Q(Vq~O!Q7[O~P!DRO!Q7[O~Oe'ky!T'ky~P!$SO!T'Ra!V'Ra~P!DRO!V${q_${q!T${q'`${q~P!DROZ7cO~O!T.lO!U(^q~O]7fO~O!V&YO%X7gO~O!V&YO%X7gO~P!DRO#O7hO!T'Ta!U'Ta~O!T3RO!U(Zi~P#-WOQ[XZ[Xk[Xx[Xy[X{[X!Q[X!T[X!c[X!d[X!f[X!l[X#O[X#ZdX#_[X#`[X#a[X#b[X#c[X#d[X#e[X#f[X#g[X#i[X#k[X#m[X#n[X#s[X'm[X'w[X(O[X(P[X~O!_$yX#g$yX~P&!WO!Z7nO![7nO'f$kO'n(sO'v+kO~O!Y7qO!Z7nO![7nO!z4kO!{4kO'v+kO~P!>vO!V/YO%X7tO~O!V/YO%X7tO~P!DRO]7{O'n7zO~O!T/fO!U([q~O!e7}O~O!e7}O~P$zO!e8PO~O!e8QO~O#O8SO!T#Wy!U#Wy~O!T#Wy!U#Wy~P#-WO_$eO#O8XO'`$eO~O_$eO!_!yO#O8XO'`$eO~O!Z8[O![8[O'v+kO~P!>vO_$eO!_!yO!l8]O#O8XO'`$eO'w&vO~O#q#oy!T#oy!U#oy~P#-WOQ$miZ$mik$miy$mi!c$mi!d$mi!f$mi!l$mi#_$mi#`$mi#a$mi#b$mi#c$mi#d$mi#e$mi#f$mi#g$mi#i$mi#k$mi#m$mi#n$mi#q$mi'm$mi'w$mi!T$mi!U$mi~P%-mOx(]O{(^O(P(bOP%Pi(O%Pi!U%Pi~OQ%PiZ%Pik%Piy%Pi!c%Pi!d%Pi!f%Pi!l%Pi#_%Pi#`%Pi#a%Pi#b%Pi#c%Pi#d%Pi#e%Pi#f%Pi#g%Pi#i%Pi#k%Pi#m%Pi#n%Pi#q%Pi'm%Pi'w%Pi!T%Pi~P&*aOx(]O{(^OP%Ri(O%Ri(P%Ri!U%Ri~OQ%RiZ%Rik%Riy%Ri!c%Ri!d%Ri!f%Ri!l%Ri#_%Ri#`%Ri#a%Ri#b%Ri#c%Ri#d%Ri#e%Ri#f%Ri#g%Ri#i%Ri#k%Ri#m%Ri#n%Ri#q%Ri'm%Ri'w%Ri!T%Ri~P&,hO#q$ay!T$ay!U$ay~P#-WO#q#Ry!T#Ry!U#Ry~P#-WO!_!yO!T&|q!e&|q~O!T-`O!e(Uy~O!Q'Oq!T'Oq~P!DRO!Q8cO~P!DRO!T.lO!U(^y~O!T3RO!U(Zq~O!Z8oO![8oO'f$kO'n(sO'v+kO~O!V/YO%X8rO~O!V/YO%X8rO~P!DRO!e8uO~O_$eO#O8{O'`$eO~O_$eO!_!yO#O8{O'`$eO~OQ$mqZ$mqk$mqy$mq!c$mq!d$mq!f$mq!l$mq#_$mq#`$mq#a$mq#b$mq#c$mq#d$mq#e$mq#f$mq#g$mq#i$mq#k$mq#m$mq#n$mq#q$mq'm$mq'w$mq!T$mq!U$mq~P%-mOQ$oqZ$oqk$oqy$oq!c$oq!d$oq!f$oq!l$oq#_$oq#`$oq#a$oq#b$oq#c$oq#d$oq#e$oq#f$oq#g$oq#i$oq#k$oq#m$oq#n$oq#q$oq'm$oq'w$oq!T$oq!U$oq~P%-mOe%T!Z!T%T!Z#O%T!Z#q%T!Z~P!$SO!T'Tq!U'Tq~P#-WO!T#W!Z!U#W!Z~P#-WO_$eO#O9_O'`$eO~O#Z%T!ZQ%T!ZZ%T!Z_%T!Zk%T!Zy%T!Z!T%T!Z!c%T!Z!d%T!Z!f%T!Z!l%T!Z#_%T!Z#`%T!Z#a%T!Z#b%T!Z#c%T!Z#d%T!Z#e%T!Z#f%T!Z#g%T!Z#i%T!Z#k%T!Z#m%T!Z#n%T!Z'`%T!Z'm%T!Z'w%T!Z!e%T!Z!Q%T!Z'[%T!Z!V%T!Z#O%T!Zo%T!Z%X%T!Z!_%T!Z~P!DROP TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression",maxTerm:339,context:r,nodeProps:[["closedBy",4,"InterpolationEnd",43,"]",53,"}",68,")",136,"JSXSelfCloseEndTag JSXEndTag",152,"JSXEndTag"],["group",-26,8,15,17,60,191,195,198,199,201,204,207,218,220,226,228,230,232,235,241,247,249,251,253,255,257,258,"Statement",-30,12,13,25,28,29,34,44,46,47,49,54,62,70,76,77,94,95,104,106,123,126,128,129,130,131,133,134,154,155,157,"Expression",-23,24,26,30,33,35,37,158,160,162,163,165,166,167,169,170,171,173,174,175,185,187,189,190,"Type",-3,81,87,93,"ClassItem"],["openedBy",31,"InterpolationStart",48,"[",52,"{",67,"(",135,"JSXStartTag",147,"JSXStartTag JSXStartCloseTag"]],propSources:[p],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"#2T~R!bOX%ZXY%uYZ'kZ[%u[]%Z]^'k^p%Zpq%uqr(Rrs)mst7]tu9guvlxyJcyzJyz{Ka{|Lm|}MW}!OLm!O!PMn!P!Q!$v!Q!R!Er!R![!G_![!]!Nc!]!^!N{!^!_# c!_!`#!`!`!a##d!a!b#%s!b!c%Z!c!}9g!}#O#'h#O#P%Z#P#Q#(O#Q#R#(f#R#S9g#S#T#)P#T#o#)g#o#p#,a#p#q#,f#q#r#-S#r#s#-l#s$f%Z$f$g%u$g#BY9g#BY#BZ#.S#BZ$IS9g$IS$I_#.S$I_$I|9g$I|$I}#0q$I}$JO#0q$JO$JT9g$JT$JU#.S$JU$KV9g$KV$KW#.S$KW&FU9g&FU&FV#.S&FV;'S9g;'S;=`Rw!^%Z!_!`YU$[W#m&lO!^%Z!_!`s]$[W]&ZOY>lYZ?lZw>lwx,jx!^>l!^!_@|!_#O>l#O#PE_#P#o>l#o#p@|#p;'S>l;'S;=`J]<%lO>l,^?qX$[WOw?lwx+_x!^?l!^!_@^!_#o?l#o#p@^#p;'S?l;'S;=`@v<%lO?l,U@aTOw@^wx,Xx;'S@^;'S;=`@p<%lO@^,U@sP;=`<%l@^,^@yP;=`<%l?l1aARX]&ZOY@|YZ@^Zw@|wx-tx#O@|#O#PAn#P;'S@|;'S;=`EX<%lO@|1aAqUOw@|wxBTx;'S@|;'S;=`Dg;=`<%lBt<%lO@|1aB[W$V,U]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da<%lOBt&ZByW]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da<%lOBt&ZCfRO;'SBt;'S;=`Co;=`OBt&ZCtX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%lBt<%lOBt&ZDdP;=`<%lBt1aDlX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%l@|<%lOBt1aE[P;=`<%l@|1iEdY$[WOw>lwxFSx!^>l!^!_@|!_#o>l#o#p@|#p;'S>l;'S;=`Ik;=`<%lBt<%lO>l1iF]]$V,U$[W]&ZOYGUYZ%ZZwGUwx4hx!^GU!^!_Bt!_#OGU#O#PHU#P#oGU#o#pBt#p;'SGU;'S;=`Ie<%lOGU&cG]]$[W]&ZOYGUYZ%ZZwGUwx4hx!^GU!^!_Bt!_#OGU#O#PHU#P#oGU#o#pBt#p;'SGU;'S;=`Ie<%lOGU&cHZW$[WO!^GU!^!_Bt!_#oGU#o#pBt#p;'SGU;'S;=`Hs;=`<%lBt<%lOGU&cHxX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%lGU<%lOBt&cIhP;=`<%lGU1iIpX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%l>l<%lOBt1iJ`P;=`<%l>l*qJjT!f*i$[WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z$PKQT!e#w$[WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z)ZKjW'f#e#b&l$[WOz%Zz{LS{!^%Z!_!`q#P#Q!-n#Q#o!;l#o#p!6|#p;'S!;l;'S;=`!?i<%lO!;l7Z!q#P#Q!-n#Q#o!;l#o#p!6|#p;'S!;l;'S;=`!?i<%lO!;l7Z!={[$[WU7ROY!+TYZ%ZZ!^!+T!^!_!)o!_#O!+T#O#P!,O#P#Q!&V#Q#o!+T#o#p!)o#p;'S!+T;'S;=`!,p<%lO!+T7Z!>vZ$[WOY!;lYZ!.wZz!;lz{!f[e]||-1},{term:306,get:e=>u[e]||-1},{term:65,get:e=>Q[e]||-1}],tokenPrec:12866});var m=O(59119),$=O(78120),S=O(47421),P=O(34790),g=O(41113);let Z=[(0,P.Gn)("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,P.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,P.Gn)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,P.Gn)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,P.Gn)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,P.Gn)("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,P.Gn)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,P.Gn)("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,P.Gn)("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),(0,P.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,P.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],b=new g.hr,T=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function y(e){return(t,O)=>{let n=t.node.getChild("VariableDefinition");return n&&O(n,e),!0}}let x=["FunctionDeclaration"],v={FunctionDeclaration:y("function"),ClassDeclaration:y("class"),ClassExpression:()=>!0,EnumDeclaration:y("constant"),TypeAliasDeclaration:y("type"),NamespaceDeclaration:y("namespace"),VariableDefinition(e,t){e.matchContext(x)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},X=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,k=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function w(e){let t=(0,m.qz)(e.state).resolveInner(e.pos,-1);if(k.indexOf(t.name)>-1)return null;let O="VariableName"==t.name||t.to-t.from<20&&X.test(e.state.sliceDoc(t.from,t.to));if(!O&&!e.explicit)return null;let n=[];for(let a=t;a;a=a.parent)T.has(a.name)&&(n=n.concat(function e(t,O){let n=b.get(O);if(n)return n;let a=[],i=!0;function r(e,O){let n=t.sliceString(e.from,e.to);a.push({label:n,type:O})}return O.cursor(g.vj.IncludeAnonymous).iterate(O=>{if(i)i=!1;else if(O.name){let n=v[O.name];if(n&&n(O,r)||T.has(O.name))return!1}else if(O.to-O.from>8192){for(let o of e(t,O.node))a.push(o);return!1}}),b.set(O,a),a}(e.state.doc,a)));return{options:n,from:O?t.from:e.pos,validFor:X}}function _(e,t,O){var n;let a=[];for(;;){let i=t.firstChild,r;if((null==i?void 0:i.name)=="VariableName")return a.push(e(i)),{path:a.reverse(),name:O};if((null==i?void 0:i.name)!="MemberExpression"||(null===(n=r=i.lastChild)||void 0===n?void 0:n.name)!="PropertyName")return null;a.push(e(r)),t=i}}function R(e){let t=t=>e.state.doc.sliceString(t.from,t.to),O=(0,m.qz)(e.state).resolveInner(e.pos,-1);return"PropertyName"==O.name?_(t,O.parent,t(O)):k.indexOf(O.name)>-1?null:"VariableName"==O.name||O.to-O.from<20&&X.test(t(O))?{path:[],name:t(O)}:("."==O.name||"?."==O.name)&&"MemberExpression"==O.parent.name?_(t,O.parent,""):"MemberExpression"==O.name?_(t,O,""):e.explicit?{path:[],name:""}:null}function q(e){let t=new Map;return O=>{let n=R(O);if(!n)return null;let a=e;for(let i of n.path)if(!(a=a[i]))return null;let r=t.get(a);return r||t.set(a,r=function(e,t){let O=[],n=new Set;for(let a=0;;a++){for(let i of(Object.getOwnPropertyNames||Object.keys)(e)){let r;if(!n.has(i)){n.add(i);try{r=e[i]}catch(o){continue}O.push({label:i,type:"function"==typeof r?/^[A-Z]/.test(i)?"class":t?"function":"method":t?"variable":"property",boost:-a})}}let l=Object.getPrototypeOf(e);if(!l)return O;e=l}}(a,!n.path.length)),{from:O.pos-n.name.length,options:r,validFor:X}}}let U=m.qp.define({name:"javascript",parser:h.configure({props:[m.uj.add({IfStatement:(0,m.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,m.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:m.ze,SwitchBody(e){let t=e.textAfter,O=/^\s*\}/.test(t),n=/^\s*(case|default)\b/.test(t);return e.baseIndent+(O?0:n?1:2)*e.unit},Block:(0,m.vw)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,m.tC)({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),m.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":m.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),V=U.configure({dialect:"ts"},"typescript"),C=U.configure({dialect:"jsx"}),j=U.configure({dialect:"jsx ts"},"typescript"),W="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(e=>({label:e,type:"keyword"}));function Y(e={}){let t=e.jsx?e.typescript?j:C:e.typescript?V:U;return new m.ri(t,[U.data.of({autocomplete:(0,P.eC)(k,(0,P.Mb)(Z.concat(W)))}),U.data.of({autocomplete:w}),e.jsx?A:[]])}function G(e,t,O=e.length){if(!t)return"";let n=t.getChild("JSXIdentifier");return n?e.sliceString(n.from,Math.min(n.to,O)):""}let E="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),A=S.tk.inputHandler.of((e,t,O,n)=>{if((E?e.composing:e.compositionStarted)||e.state.readOnly||t!=O||">"!=n&&"/"!=n||!U.isActiveAt(e.state,t,-1))return!1;let{state:a}=e,i=a.changeByRange(e=>{var t,O,i;let{head:r}=e,o=(0,m.qz)(a).resolveInner(r,-1),l;if("JSXStartTag"==o.name&&(o=o.parent),">"==n&&"JSXFragmentTag"==o.name)return{range:$.jT.cursor(r+1),changes:{from:r,insert:"><>"}};if(">"==n&&"JSXIdentifier"==o.name){if((null===(O=null===(t=o.parent)||void 0===t?void 0:t.lastChild)||void 0===O?void 0:O.name)!="JSXEndTag"&&(l=G(a.doc,o.parent,r)))return{range:$.jT.cursor(r+1),changes:{from:r,insert:`>`}}}else if("/"==n&&"JSXFragmentTag"==o.name){let s=o.parent,c=null==s?void 0:s.parent;if(s.from==r-1&&(null===(i=c.lastChild)||void 0===i?void 0:i.name)!="JSXEndTag"&&(l=G(a.doc,null==c?void 0:c.firstChild,r))){let d=`/${l}>`;return{range:$.jT.cursor(r+d.length),changes:{from:r,insert:d}}}}return{range:e}});return!i.changes.empty&&(e.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)});function z(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((e,O)=>{e.meta.docs.recommended&&(t.rules[O]=2)})),O=>{let{state:n}=O,a=[];for(let{from:i,to:r}of U.findRegions(n)){let o=n.doc.lineAt(i),l={line:o.number-1,col:i-o.from,pos:i};for(let s of e.verify(n.sliceDoc(i,r),t))a.push(function(e,t,O){let n=L(e.line,e.column,t,O),a={from:n,to:null!=e.endLine&&1!=e.endColumn?L(e.endLine,e.endColumn,t,O):n,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:i,text:r}=e.fix,o=i[0]+O.pos-n,l=i[1]+O.pos-n;a.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+o,to:t+l,insert:r},scrollIntoView:!0})}}]}return a}(s,n.doc,l))}return a}}function L(e,t,O,n){return O.line(e+n.line).from+t+(1==e?n.col-1:-1)}},48825:function(e,t,O){"use strict";O.r(t),O.d(t,{commonmarkLanguage:function(){return eR},deleteMarkupBackward:function(){return eE},insertNewlineContinueMarkup:function(){return eY},markdown:function(){return eL},markdownKeymap:function(){return eA},markdownLanguage:function(){return eU}});var n,a,i=O(78120),r=O(47421),o=O(59119),l=O(41113),s=O(35524);class c{constructor(e,t,O,n,a,i,r){this.type=e,this.value=t,this.from=O,this.hash=n,this.end=a,this.children=i,this.positions=r,this.hashProp=[[l.md.contextHash,n]]}static create(e,t,O,n,a){return new c(e,t,O,n+(n<<8)+e+(t<<4)|0,a,[],[])}addChild(e,t){e.prop(l.md.contextHash)!=this.hash&&(e=new l.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let O=this.children.length-1;return O>=0&&(t=Math.max(t,this.positions[O]+this.children[O].length+this.from)),new l.mp(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,O)=>new l.mp(l.Jq.none,e,t,O,this.hashProp)})}}(n=a||(a={}))[n.Document=1]="Document",n[n.CodeBlock=2]="CodeBlock",n[n.FencedCode=3]="FencedCode",n[n.Blockquote=4]="Blockquote",n[n.HorizontalRule=5]="HorizontalRule",n[n.BulletList=6]="BulletList",n[n.OrderedList=7]="OrderedList",n[n.ListItem=8]="ListItem",n[n.ATXHeading1=9]="ATXHeading1",n[n.ATXHeading2=10]="ATXHeading2",n[n.ATXHeading3=11]="ATXHeading3",n[n.ATXHeading4=12]="ATXHeading4",n[n.ATXHeading5=13]="ATXHeading5",n[n.ATXHeading6=14]="ATXHeading6",n[n.SetextHeading1=15]="SetextHeading1",n[n.SetextHeading2=16]="SetextHeading2",n[n.HTMLBlock=17]="HTMLBlock",n[n.LinkReference=18]="LinkReference",n[n.Paragraph=19]="Paragraph",n[n.CommentBlock=20]="CommentBlock",n[n.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",n[n.Escape=22]="Escape",n[n.Entity=23]="Entity",n[n.HardBreak=24]="HardBreak",n[n.Emphasis=25]="Emphasis",n[n.StrongEmphasis=26]="StrongEmphasis",n[n.Link=27]="Link",n[n.Image=28]="Image",n[n.InlineCode=29]="InlineCode",n[n.HTMLTag=30]="HTMLTag",n[n.Comment=31]="Comment",n[n.ProcessingInstruction=32]="ProcessingInstruction",n[n.URL=33]="URL",n[n.HeaderMark=34]="HeaderMark",n[n.QuoteMark=35]="QuoteMark",n[n.ListMark=36]="ListMark",n[n.LinkMark=37]="LinkMark",n[n.EmphasisMark=38]="EmphasisMark",n[n.CodeMark=39]="CodeMark",n[n.CodeText=40]="CodeText",n[n.CodeInfo=41]="CodeInfo",n[n.LinkTitle=42]="LinkTitle",n[n.LinkLabel=43]="LinkLabel";class d{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class p{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return h(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,O=0){for(let n=t;n=t.stack[O.depth+1].value+O.baseIndent)return!0;if(O.indent>=O.baseIndent+4)return!1;let n=(e.type==a.OrderedList?b:Z)(O,t,!1);return n>0&&(e.type!=a.BulletList||0>P(O,t,!1))&&O.text.charCodeAt(O.pos+n-1)==e.value}let u={[a.Blockquote]:(e,t,O)=>62==O.next&&(O.markers.push(N(a.QuoteMark,t.lineStart+O.pos,t.lineStart+O.pos+1)),O.moveBase(O.pos+(Q(O.text.charCodeAt(O.pos+1))?2:1)),e.end=t.lineStart+O.text.length,!0),[a.ListItem]:(e,t,O)=>(!(O.indent-1))&&(O.moveBaseColumn(O.baseIndent+e.value),!0),[a.OrderedList]:f,[a.BulletList]:f,[a.Document]:()=>!0};function Q(e){return 32==e||9==e||10==e||13==e}function h(e,t=0){for(;tO&&Q(e.charCodeAt(t-1));)t--;return t}function $(e){if(96!=e.next&&126!=e.next)return -1;let t=e.pos+1;for(;t-1&&e.depth==t.stack.length?-1:n<3?-1:1}function g(e,t){for(let O=e.stack.length-1;O>=0;O--)if(e.stack[O].type==t)return!0;return!1}function Z(e,t,O){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||Q(e.text.charCodeAt(e.pos+1)))&&(!O||g(t,a.BulletList)||e.skipSpace(e.pos+2)=48&&i<=57;){if(++n==e.text.length)return -1;i=e.text.charCodeAt(n)}return n==e.pos||n>e.pos+9||46!=i&&41!=i||ne.pos+1||49!=e.next)?-1:n+1-e.pos}function T(e){if(35!=e.next)return -1;let t=e.pos+1;for(;t6?-1:O}function y(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let t=e.pos+1;for(;t/,X=/\?>/,k=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(n);if(r)return e.append(N(a.Comment,O,O+1+r[0].length));let o=/^\?[^]*?\?>/.exec(n);if(o)return e.append(N(a.ProcessingInstruction,O,O+1+o[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return l?e.append(N(a.HTMLTag,O,O+1+l[0].length)):-1},Emphasis(e,t,O){if(95!=t&&42!=t)return -1;let n=O+1;for(;e.char(n)==t;)n++;let a=e.slice(O-1,O),i=e.slice(n,n+1),r=en.test(a),o=en.test(i),l=/\s|^$/.test(a),s=/\s|^$/.test(i),c=!s&&(!o||l||r),d=!l&&(!r||s||o);return e.append(new et(95==t?H:F,O,n,(c&&(42==t||!d||r)?1:0)|(d&&(42==t||!c||o)?2:0)))},HardBreak(e,t,O){if(92==t&&10==e.char(O+1))return e.append(N(a.HardBreak,O,O+2));if(32==t){let n=O+1;for(;32==e.char(n);)n++;if(10==e.char(n)&&n>=O+2)return e.append(N(a.HardBreak,O,n+1))}return -1},Link:(e,t,O)=>91==t?e.append(new et(K,O,O+1,1)):-1,Image:(e,t,O)=>33==t&&91==e.char(O+1)?e.append(new et(ee,O,O+2,1)):-1,LinkEnd(e,t,O){if(93!=t)return -1;for(let n=e.parts.length-1;n>=0;n--){let i=e.parts[n];if(i instanceof et&&(i.type==K||i.type==ee)){if(!i.side||e.skipSpace(i.to)==O&&!/[(\[]/.test(e.slice(O+1,O+2)))return e.parts[n]=null,-1;let r=e.takeContent(n),o=e.parts[n]=function(e,t,O,n,i){let{text:r}=e,o=e.char(i),l=i;if(t.unshift(N(a.LinkMark,n,n+(O==a.Image?2:1))),t.push(N(a.LinkMark,i-1,i)),40==o){let s=e.skipSpace(i+1),c=er(r,s-e.offset,e.offset),d;c&&(s=e.skipSpace(c.to),(d=eo(r,s-e.offset,e.offset))&&(s=e.skipSpace(d.to))),41==e.char(s)&&(t.push(N(a.LinkMark,i,i+1)),l=s+1,c&&t.push(c),d&&t.push(d),t.push(N(a.LinkMark,s,l)))}else if(91==o){let p=el(r,i-e.offset,e.offset,!1);p&&(t.push(p),l=p.to)}return N(O,n,l,t)}(e,r,i.type==K?a.Link:a.Image,i.from,O+1);if(i.type==K)for(let l=0;lt?N(a.URL,t+O,o+O):o==e.length&&null}}function eo(e,t,O){let n=e.charCodeAt(t);if(39!=n&&34!=n&&40!=n)return!1;let i=40==n?41:n;for(let r=t+1,o=!1;r=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,O,n,a){return this.append(new et(e,t,O,(n?1:0)|(a?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t=e;r--){let o=this.parts[r];if(o instanceof et&&1&o.side&&o.type==O.type&&!(n&&(1&O.side||2&o.side)&&(o.to-o.from+a)%3==0&&((o.to-o.from)%3||a%3))){i=o;break}}if(!i)continue;let l=O.type.resolve,s=[],c=i.from,d=O.to;if(n){let p=Math.min(2,i.to-i.from,a);c=i.to-p,d=O.from+p,l=1==p?"Emphasis":"StrongEmphasis"}i.type.mark&&s.push(this.elt(i.type.mark,c,i.to));for(let f=r+1;f=0;t--){let O=this.parts[t];if(O instanceof et&&O.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return h(this.text,e-this.offset)+this.offset}elt(e,t,O,n){return"string"==typeof e?N(this.parser.getNodeType(e),t,O,n):new M(e,t)}}function ec(e,t){if(!t.length)return e;if(!e.length)return t;let O=e.slice(),n=0;for(let a of t){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let O=this.fragment.to;for(;O>0&&"\n"!=this.input.read(O-1,O);)O--;this.fragmentEnd=O?O-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor()).firstChild();let a=e+this.fragment.offset;for(;n.to<=a;)if(!n.parent())return!1;for(;;){if(n.from>=a)return this.fragment.from<=t;if(!n.childAfter(a))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(l.md.contextHash)==e}takeNodes(e){let t=this.cursor,O=this.fragment.offset,n=this.fragmentEnd-(this.fragment.openEnd?1:0),a=e.absoluteLineStart,i=a,r=e.block.children.length,o=i,l=r;for(;;){if(t.to-O>n){if(t.type.isAnonymous&&t.firstChild())continue;break}if(e.dontInject.add(t.tree),e.addNode(t.tree,t.from-O),t.type.is("Block")&&(0>ed.indexOf(t.type.id)?(i=t.to-O,r=e.block.children.length):(i=o,r=l,o=t.to-O,l=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>r;)e.block.children.pop(),e.block.positions.pop();return i-a}}let ef=(0,s.Gv)({"Blockquote/...":s.pJ.quote,HorizontalRule:s.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":s.pJ.heading1,"ATXHeading2/... SetextHeading2/...":s.pJ.heading2,"ATXHeading3/...":s.pJ.heading3,"ATXHeading4/...":s.pJ.heading4,"ATXHeading5/...":s.pJ.heading5,"ATXHeading6/...":s.pJ.heading6,"Comment CommentBlock":s.pJ.comment,Escape:s.pJ.escape,Entity:s.pJ.character,"Emphasis/...":s.pJ.emphasis,"StrongEmphasis/...":s.pJ.strong,"Link/... Image/...":s.pJ.link,"OrderedList/... BulletList/...":s.pJ.list,"BlockQuote/...":s.pJ.quote,"InlineCode CodeText":s.pJ.monospace,URL:s.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":s.pJ.processingInstruction,"CodeInfo LinkLabel":s.pJ.labelName,LinkTitle:s.pJ.string,Paragraph:s.pJ.content}),eu=new G(new l.Lj(z).extend(ef),Object.keys(q).map(e=>q[e]),Object.keys(q).map(e=>j[e]),Object.keys(q),[(e,t)=>T(t)>=0,(e,t)=>$(t)>=0,(e,t)=>S(t)>=0,(e,t)=>Z(t,e,!0)>=0,(e,t)=>b(t,e,!0)>=0,(e,t)=>P(t,e,!0)>=0,(e,t)=>w(t,e,!0)>=0],u,Object.keys(ei).map(e=>ei[e]),Object.keys(ei),[]),eQ={resolve:"Strikethrough",mark:"StrikethroughMark"},eh={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":s.pJ.strikethrough}},{name:"StrikethroughMark",style:s.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,O){if(126!=t||126!=e.char(O+1)||126==e.char(O+2))return -1;let n=e.slice(O-1,O),a=e.slice(O+2,O+3),i=/\s|^$/.test(n),r=/\s|^$/.test(a),o=en.test(n),l=en.test(a);return e.addDelimiter(eQ,O,O+2,!r&&(!l||i||o),!i&&(!o||r||l))},after:"Emphasis"}]};function em(e,t,O=0,n,a=0){let i=0,r=!0,o=-1,l=-1,s=!1,c=()=>{n.push(e.elt("TableCell",a+o,a+l,e.parser.parseInline(t.slice(o,l),a+o)))};for(let d=O;d-1)&&i++,r=!1,n&&(o>-1&&c(),n.push(e.elt("TableDelimiter",d+a,d+a+1))),o=l=-1),s=!s&&92==p}return o>-1&&(i++,n&&c()),i}function e$(e,t){for(let O=t;Oe$(t.content,0)?new eP:null,endLeaf(e,t,O){if(O.parsers.some(e=>e instanceof eP)||!e$(t.text,t.basePos))return!1;let n=e.scanLine(e.absoluteLineEnd+1).text;return eS.test(n)&&em(e,t.text,t.basePos)==em(e,n,t.basePos)},before:"SetextHeading"}]};class eZ{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}let eb={defineNodes:[{name:"Task",block:!0,style:s.pJ.list},{name:"TaskMarker",style:s.pJ.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\]/.test(t.content)&&"ListItem"==e.parentType().name?new eZ:null,after:"SetextHeading"}]};function eT(e,t,O){return(n,a,i)=>{if(a!=e||n.char(i+1)==e)return -1;let r=[n.elt(O,i,i+1)];for(let o=i+1;o"}}),ew=eu.configure({props:[o.x0.add(e=>{if(!(!e.is("Block")||e.is("Document")))return(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})}),o.uj.add({Document:()=>null}),o.pp.add({Document:ek})]});function e_(e){return new o.SQ(ek,e,[],"markdown")}let eR=e_(ew),eq=ew.configure([[eg,eb,eh],ex,ey,ev]),eU=e_(eq);class eV{constructor(e,t,O,n,a,i,r){this.node=e,this.from=t,this.to=O,this.spaceBefore=n,this.spaceAfter=a,this.type=i,this.item=r}blank(e,t=!0){let O=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;O.length0;n--)O+=" ";return O+(t?this.spaceAfter:"")}marker(e,t){let O="OrderedList"==this.node.name?String(+ej(this.item,e)[2]+t):"";return this.spaceBefore+O+this.type+this.spaceAfter}}function eC(e,t){let O=[];for(let n=e;n&&"Document"!=n.name;n=n.parent)("ListItem"==n.name||"Blockquote"==n.name||"FencedCode"==n.name)&&O.push(n);let a=[];for(let i=O.length-1;i>=0;i--){let r=O[i],o,l=t.lineAt(r.from),s=r.from-l.from;if("FencedCode"==r.name)a.push(new eV(r,s,s,"","","",null));else if("Blockquote"==r.name&&(o=/^[ \t]*>( ?)/.exec(l.text.slice(s))))a.push(new eV(r,s,s+o[0].length,"",o[1],">",null));else if("ListItem"==r.name&&"OrderedList"==r.parent.name&&(o=/^([ \t]*)\d+([.)])([ \t]*)/.exec(l.text.slice(s)))){let c=o[3],d=o[0].length;c.length>=4&&(c=c.slice(0,c.length-4),d-=4),a.push(new eV(r.parent,s,s+d,o[1],c,o[2],r))}else if("ListItem"==r.name&&"BulletList"==r.parent.name&&(o=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(l.text.slice(s)))){let p=o[4],f=o[0].length;p.length>4&&(p=p.slice(0,p.length-4),f-=4);let u=o[2];o[3]&&(u+=o[3].replace(/[xX]/," ")),a.push(new eV(r.parent,s,s+f,o[1],p,u,r))}}return a}function ej(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function eW(e,t,O,n=0){for(let a=-1,i=e;;){if("ListItem"==i.name){let r=ej(i,t),o=+r[2];if(a>=0){if(o!=a+1)return;O.push({from:i.from+r[1].length,to:i.from+r[0].length,insert:String(a+2+n)})}a=o}let l=i.nextSibling;if(!l)break;i=l}}let eY=({state:e,dispatch:t})=>{let O=(0,o.qz)(e),{doc:n}=e,a=null,r=e.changeByRange(t=>{if(!t.empty||!eU.isActiveAt(e,t.from))return a={range:t};let r=t.from,o=n.lineAt(r),l=eC(O.resolveInner(r,-1),n);for(;l.length&&l[l.length-1].from>r-o.from;)l.pop();if(!l.length)return a={range:t};let s=l[l.length-1];if(s.to-s.spaceAfter.length>r-o.from)return a={range:t};let c=r>=s.to-s.spaceAfter.length&&!/\S/.test(o.text.slice(s.to));if(s.item&&c){if(s.node.firstChild.to>=r||o.from>0&&!/[^\s>]/.test(n.lineAt(o.from-1).text)){let d=l.length>1?l[l.length-2]:null,p,f="";d&&d.item?(p=o.from+d.from,f=d.marker(n,1)):p=o.from+(d?d.to:0);let u=[{from:p,to:r,insert:f}];return"OrderedList"==s.node.name&&eW(s.item,n,u,-2),d&&"OrderedList"==d.node.name&&eW(d.item,n,u),{range:i.jT.cursor(p+f.length),changes:u}}{let Q="";for(let h=0,m=l.length-2;h<=m;h++)Q+=l[h].blank(h\s*$/.exec($.text);if(S&&S.index==s.from){let P=e.changes([{from:$.from+S.index,to:$.to},{from:o.from+s.from,to:o.to}]);return{range:t.map(P),changes:P}}}let g=[];"OrderedList"==s.node.name&&eW(s.item,n,g);let Z=s.item&&s.item.from]*/.exec(o.text)[0].length>=s.to)for(let T=0,y=l.length-1;T<=y;T++)b+=T!=y||Z?l[T].blank(To.from&&/\s/.test(o.text.charAt(x-o.from-1));)x--;return b=e.lineBreak+b,g.push({from:x,to:r,insert:b}),{range:i.jT.cursor(x+b.length),changes:g}});return!a&&(t(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0)};function eG(e){return"QuoteMark"==e.name||"ListMark"==e.name}let eE=({state:e,dispatch:t})=>{let O=(0,o.qz)(e),n=null,a=e.changeByRange(t=>{let a=t.from,{doc:r}=e;if(t.empty&&eU.isActiveAt(e,t.from)){let o=r.lineAt(a),l=eC(function(e,t){let O=e.resolveInner(t,-1),n=t;eG(O)&&(n=O.from,O=O.parent);for(let a;a=O.childBefore(n);)if(eG(a))n=a.from;else if("OrderedList"==a.name||"BulletList"==a.name)n=(O=a.lastChild).to;else break;return O}(O,a),r);if(l.length){let s=l[l.length-1],c=s.to-s.spaceAfter.length+(s.spaceAfter?1:0);if(a-o.from>c&&!/\S/.test(o.text.slice(c,a-o.from)))return{range:i.jT.cursor(o.from+c),changes:{from:o.from+c,to:a}};if(a-o.from==c){let d=o.from+s.from;if(s.item&&s.node.from{if(e&&O){let n=null;if(e=/\S*/.exec(e)[0],(n="function"==typeof O?O(e):o.c6.matchLanguageName(O,e,!0))instanceof o.c6)return n.support?n.support.language.parser:o.Be.getSkippingParser(n.load());if(n)return n.parser}return t?t.parser:null}):void 0;return d.push(function(e){let{codeParser:t,htmlParser:O}=e,n=(0,l.FE)((e,n)=>{let i=e.type.id;if(t&&(i==a.CodeBlock||i==a.FencedCode)){let r="";if(i==a.FencedCode){let o=e.node.getChild(a.CodeInfo);o&&(r=n.read(o.from,o.to))}let l=t(r);if(l)return{parser:l,overlay:e=>e.type.id==a.CodeText}}else if(O&&(i==a.HTMLBlock||i==a.HTMLTag))return{parser:O,overlay:function(e,t,O){let n=[];for(let a=e.firstChild,i=t;;a=a.nextSibling){let r=a?a.from:O;if(r>i&&n.push({from:i,to:r}),!a)break;i=a.to}return n}(e.node,e.from,e.to)};return null});return{wrap:n}}({codeParser:u,htmlParser:ez.language.parser})),s&&p.push(i.Wl.high(r.$f.of(eA))),new o.ri(e_(c.configure(d)),p)}},76538:function(e,t,O){"use strict";O.d(t,{M:function(){return r}});var n=O(59119);function a(e){return new n.ri(n.il.define(e))}function i(e){return O.e(1390).then(O.bind(O,21390)).then(t=>t.sql({dialect:t[e]}))}let r=[n.c6.of({name:"C",extensions:["c","h","ino"],load:()=>O.e(2750).then(O.bind(O,12750)).then(e=>e.cpp())}),n.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>O.e(2750).then(O.bind(O,12750)).then(e=>e.cpp())}),n.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>i("Cassandra")}),n.c6.of({name:"CSS",extensions:["css"],load:()=>Promise.resolve().then(O.bind(O,61426)).then(e=>e.css())}),n.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Promise.resolve().then(O.bind(O,13804)).then(e=>e.html())}),n.c6.of({name:"Java",extensions:["java"],load:()=>O.e(4778).then(O.bind(O,44778)).then(e=>e.java())}),n.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Promise.resolve().then(O.bind(O,58037)).then(e=>e.javascript())}),n.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>O.e(4732).then(O.bind(O,44732)).then(e=>e.json())}),n.c6.of({name:"JSX",extensions:["jsx"],load:()=>Promise.resolve().then(O.bind(O,58037)).then(e=>e.javascript({jsx:!0}))}),n.c6.of({name:"MariaDB SQL",load:()=>i("MariaSQL")}),n.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Promise.resolve().then(O.bind(O,48825)).then(e=>e.markdown())}),n.c6.of({name:"MS SQL",load:()=>i("MSSQL")}),n.c6.of({name:"MySQL",load:()=>i("MySQL")}),n.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>O.e(2386).then(O.bind(O,12386)).then(e=>e.php())}),n.c6.of({name:"PLSQL",extensions:["pls"],load:()=>i("PLSQL")}),n.c6.of({name:"PostgreSQL",load:()=>i("PostgreSQL")}),n.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>O.e(8088).then(O.bind(O,28088)).then(e=>e.python())}),n.c6.of({name:"Rust",extensions:["rs"],load:()=>O.e(4920).then(O.bind(O,24920)).then(e=>e.rust())}),n.c6.of({name:"SQL",extensions:["sql"],load:()=>i("StandardSQL")}),n.c6.of({name:"SQLite",load:()=>i("SQLite")}),n.c6.of({name:"TSX",extensions:["tsx"],load:()=>Promise.resolve().then(O.bind(O,58037)).then(e=>e.javascript({jsx:!0,typescript:!0}))}),n.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:()=>Promise.resolve().then(O.bind(O,58037)).then(e=>e.javascript({typescript:!0}))}),n.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>O.e(9972).then(O.bind(O,9972)).then(e=>e.wast())}),n.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>O.e(5122).then(O.bind(O,5122)).then(e=>e.xml())}),n.c6.of({name:"APL",extensions:["dyalog","apl"],load:()=>O.e(870).then(O.bind(O,90870)).then(e=>a(e.apl))}),n.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>O.e(8029).then(O.bind(O,58029)).then(e=>a(e.asciiArmor))}),n.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>O.e(3203).then(O.bind(O,93203)).then(e=>a(e.asn1({})))}),n.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>O.e(5648).then(O.bind(O,15648)).then(e=>a(e.asterisk))}),n.c6.of({name:"Brainfuck",extensions:["b","bf"],load:()=>O.e(2675).then(O.bind(O,9521)).then(e=>a(e.brainfuck))}),n.c6.of({name:"Cobol",extensions:["cob","cpy"],load:()=>O.e(8915).then(O.bind(O,68915)).then(e=>a(e.cobol))}),n.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.csharp))}),n.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>O.e(2406).then(O.bind(O,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"ClojureScript",extensions:["cljs"],load:()=>O.e(2406).then(O.bind(O,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>O.e(2136).then(O.bind(O,62136)).then(e=>a(e.gss))}),n.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>O.e(889).then(O.bind(O,70889)).then(e=>a(e.cmake))}),n.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>O.e(9558).then(O.bind(O,29558)).then(e=>a(e.coffeeScript))}),n.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>O.e(1446).then(O.bind(O,61446)).then(e=>a(e.commonLisp))}),n.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>O.e(673).then(O.bind(O,20673)).then(e=>a(e.cypher))}),n.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>O.e(4323).then(O.bind(O,74323)).then(e=>a(e.cython))}),n.c6.of({name:"Crystal",extensions:["cr"],load:()=>O.e(2602).then(O.bind(O,62602)).then(e=>a(e.crystal))}),n.c6.of({name:"D",extensions:["d"],load:()=>O.e(1660).then(O.bind(O,11660)).then(e=>a(e.d))}),n.c6.of({name:"Dart",extensions:["dart"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.dart))}),n.c6.of({name:"diff",extensions:["diff","patch"],load:()=>O.e(7475).then(O.bind(O,87475)).then(e=>a(e.diff))}),n.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>O.e(4812).then(O.bind(O,34812)).then(e=>a(e.dockerFile))}),n.c6.of({name:"DTD",extensions:["dtd"],load:()=>O.e(6991).then(O.bind(O,76991)).then(e=>a(e.dtd))}),n.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>O.e(4144).then(O.bind(O,24144)).then(e=>a(e.dylan))}),n.c6.of({name:"EBNF",load:()=>O.e(2040).then(O.bind(O,82040)).then(e=>a(e.ebnf))}),n.c6.of({name:"ECL",extensions:["ecl"],load:()=>O.e(7315).then(O.bind(O,37315)).then(e=>a(e.ecl))}),n.c6.of({name:"edn",extensions:["edn"],load:()=>O.e(2406).then(O.bind(O,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"Eiffel",extensions:["e"],load:()=>O.e(7525).then(O.bind(O,87525)).then(e=>a(e.eiffel))}),n.c6.of({name:"Elm",extensions:["elm"],load:()=>O.e(8770).then(O.bind(O,28770)).then(e=>a(e.elm))}),n.c6.of({name:"Erlang",extensions:["erl"],load:()=>O.e(7590).then(O.bind(O,53482)).then(e=>a(e.erlang))}),n.c6.of({name:"Esper",load:()=>O.e(9607).then(O.bind(O,54050)).then(e=>a(e.esper))}),n.c6.of({name:"Factor",extensions:["factor"],load:()=>O.e(7001).then(O.bind(O,87001)).then(e=>a(e.factor))}),n.c6.of({name:"FCL",load:()=>O.e(7663).then(O.bind(O,77663)).then(e=>a(e.fcl))}),n.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>O.e(8393).then(O.bind(O,68393)).then(e=>a(e.forth))}),n.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>O.e(8283).then(O.bind(O,8283)).then(e=>a(e.fortran))}),n.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>O.e(6121).then(O.bind(O,96121)).then(e=>a(e.fSharp))}),n.c6.of({name:"Gas",extensions:["s"],load:()=>O.e(9781).then(O.bind(O,39781)).then(e=>a(e.gas))}),n.c6.of({name:"Gherkin",extensions:["feature"],load:()=>O.e(2542).then(O.bind(O,2542)).then(e=>a(e.gherkin))}),n.c6.of({name:"Go",extensions:["go"],load:()=>O.e(8910).then(O.bind(O,48910)).then(e=>a(e.go))}),n.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>O.e(3883).then(O.bind(O,23883)).then(e=>a(e.groovy))}),n.c6.of({name:"Haskell",extensions:["hs"],load:()=>O.e(5372).then(O.bind(O,95372)).then(e=>a(e.haskell))}),n.c6.of({name:"Haxe",extensions:["hx"],load:()=>O.e(3509).then(O.bind(O,63509)).then(e=>a(e.haxe))}),n.c6.of({name:"HXML",extensions:["hxml"],load:()=>O.e(3509).then(O.bind(O,63509)).then(e=>a(e.hxml))}),n.c6.of({name:"HTTP",load:()=>O.e(7558).then(O.bind(O,36395)).then(e=>a(e.http))}),n.c6.of({name:"IDL",extensions:["pro"],load:()=>O.e(2314).then(O.bind(O,22314)).then(e=>a(e.idl))}),n.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>O.e(9296).then(O.bind(O,59296)).then(e=>a(e.jsonld))}),n.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:()=>O.e(1084).then(O.bind(O,41084)).then(e=>a(e.jinja2))}),n.c6.of({name:"Julia",extensions:["jl"],load:()=>O.e(6092).then(O.bind(O,76092)).then(e=>a(e.julia))}),n.c6.of({name:"Kotlin",extensions:["kt"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.kotlin))}),n.c6.of({name:"LESS",extensions:["less"],load:()=>O.e(2136).then(O.bind(O,62136)).then(e=>a(e.less))}),n.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>O.e(402).then(O.bind(O,60402)).then(e=>a(e.liveScript))}),n.c6.of({name:"Lua",extensions:["lua"],load:()=>O.e(3519).then(O.bind(O,3519)).then(e=>a(e.lua))}),n.c6.of({name:"mIRC",extensions:["mrc"],load:()=>O.e(5134).then(O.bind(O,65134)).then(e=>a(e.mirc))}),n.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>O.e(7213).then(O.bind(O,37213)).then(e=>a(e.mathematica))}),n.c6.of({name:"Modelica",extensions:["mo"],load:()=>O.e(305).then(O.bind(O,40305)).then(e=>a(e.modelica))}),n.c6.of({name:"MUMPS",extensions:["mps"],load:()=>O.e(7988).then(O.bind(O,17988)).then(e=>a(e.mumps))}),n.c6.of({name:"Mbox",extensions:["mbox"],load:()=>O.e(9121).then(O.bind(O,29121)).then(e=>a(e.mbox))}),n.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>O.e(8561).then(O.bind(O,78561)).then(e=>a(e.nginx))}),n.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>O.e(7370).then(O.bind(O,67370)).then(e=>a(e.nsis))}),n.c6.of({name:"NTriples",extensions:["nt","nq"],load:()=>O.e(3314).then(O.bind(O,43314)).then(e=>a(e.ntriples))}),n.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.objectiveC))}),n.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.objectiveCpp))}),n.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>O.e(6121).then(O.bind(O,96121)).then(e=>a(e.oCaml))}),n.c6.of({name:"Octave",extensions:["m"],load:()=>O.e(3283).then(O.bind(O,33283)).then(e=>a(e.octave))}),n.c6.of({name:"Oz",extensions:["oz"],load:()=>O.e(4796).then(O.bind(O,94796)).then(e=>a(e.oz))}),n.c6.of({name:"Pascal",extensions:["p","pas"],load:()=>O.e(4163).then(O.bind(O,44163)).then(e=>a(e.pascal))}),n.c6.of({name:"Perl",extensions:["pl","pm"],load:()=>O.e(4293).then(O.bind(O,94293)).then(e=>a(e.perl))}),n.c6.of({name:"Pig",extensions:["pig"],load:()=>O.e(3482).then(O.bind(O,33482)).then(e=>a(e.pig))}),n.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>O.e(7421).then(O.bind(O,37421)).then(e=>a(e.powerShell))}),n.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>O.e(9071).then(O.bind(O,69071)).then(e=>a(e.properties))}),n.c6.of({name:"ProtoBuf",extensions:["proto"],load:()=>O.e(8142).then(O.bind(O,78142)).then(e=>a(e.protobuf))}),n.c6.of({name:"Puppet",extensions:["pp"],load:()=>O.e(3993).then(O.bind(O,83993)).then(e=>a(e.puppet))}),n.c6.of({name:"Q",extensions:["q"],load:()=>O.e(228).then(O.bind(O,10228)).then(e=>a(e.q))}),n.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>O.e(7365).then(O.bind(O,57365)).then(e=>a(e.r))}),n.c6.of({name:"RPM Changes",load:()=>O.e(8171).then(O.bind(O,48171)).then(e=>a(e.rpmChanges))}),n.c6.of({name:"RPM Spec",extensions:["spec"],load:()=>O.e(8171).then(O.bind(O,48171)).then(e=>a(e.rpmSpec))}),n.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load:()=>O.e(4439).then(O.bind(O,24439)).then(e=>a(e.ruby))}),n.c6.of({name:"SAS",extensions:["sas"],load:()=>O.e(1770).then(O.bind(O,1770)).then(e=>a(e.sas))}),n.c6.of({name:"Sass",extensions:["sass"],load:()=>O.e(9809).then(O.bind(O,49809)).then(e=>a(e.sass))}),n.c6.of({name:"Scala",extensions:["scala"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.scala))}),n.c6.of({name:"Scheme",extensions:["scm","ss"],load:()=>O.e(5879).then(O.bind(O,95879)).then(e=>a(e.scheme))}),n.c6.of({name:"SCSS",extensions:["scss"],load:()=>O.e(2136).then(O.bind(O,62136)).then(e=>a(e.sCSS))}),n.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>O.e(4879).then(O.bind(O,44879)).then(e=>a(e.shell))}),n.c6.of({name:"Sieve",extensions:["siv","sieve"],load:()=>O.e(9713).then(O.bind(O,9713)).then(e=>a(e.sieve))}),n.c6.of({name:"Smalltalk",extensions:["st"],load:()=>O.e(1873).then(O.bind(O,11873)).then(e=>a(e.smalltalk))}),n.c6.of({name:"Solr",load:()=>O.e(7762).then(O.bind(O,17762)).then(e=>a(e.solr))}),n.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>O.e(6121).then(O.bind(O,96121)).then(e=>a(e.sml))}),n.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>O.e(370).then(O.bind(O,70370)).then(e=>a(e.sparql))}),n.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>O.e(7601).then(O.bind(O,97601)).then(e=>a(e.spreadsheet))}),n.c6.of({name:"Squirrel",extensions:["nut"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.squirrel))}),n.c6.of({name:"Stylus",extensions:["styl"],load:()=>O.e(8007).then(O.bind(O,28007)).then(e=>a(e.stylus))}),n.c6.of({name:"Swift",extensions:["swift"],load:()=>O.e(6062).then(O.bind(O,66062)).then(e=>a(e.swift))}),n.c6.of({name:"sTeX",load:()=>O.e(6732).then(O.bind(O,86732)).then(e=>a(e.stex))}),n.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>O.e(6732).then(O.bind(O,86732)).then(e=>a(e.stex))}),n.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>O.e(2119).then(O.bind(O,52119)).then(e=>a(e.verilog))}),n.c6.of({name:"Tcl",extensions:["tcl"],load:()=>O.e(3465).then(O.bind(O,43465)).then(e=>a(e.tcl))}),n.c6.of({name:"Textile",extensions:["textile"],load:()=>O.e(177).then(O.bind(O,90177)).then(e=>a(e.textile))}),n.c6.of({name:"TiddlyWiki",load:()=>O.e(4511).then(O.bind(O,34511)).then(e=>a(e.tiddlyWiki))}),n.c6.of({name:"Tiki wiki",load:()=>O.e(6471).then(O.bind(O,36471)).then(e=>a(e.tiki))}),n.c6.of({name:"TOML",extensions:["toml"],load:()=>O.e(6443).then(O.bind(O,96443)).then(e=>a(e.toml))}),n.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>O.e(1920).then(O.bind(O,71920)).then(e=>a(e.troff))}),n.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>O.e(6665).then(O.bind(O,66665)).then(e=>a(e.ttcn))}),n.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>O.e(9831).then(O.bind(O,29831)).then(e=>a(e.ttcnCfg))}),n.c6.of({name:"Turtle",extensions:["ttl"],load:()=>O.e(5815).then(O.bind(O,15815)).then(e=>a(e.turtle))}),n.c6.of({name:"Web IDL",extensions:["webidl"],load:()=>O.e(6692).then(O.bind(O,26692)).then(e=>a(e.webIDL))}),n.c6.of({name:"VB.NET",extensions:["vb"],load:()=>O.e(4212).then(O.bind(O,44212)).then(e=>a(e.vb))}),n.c6.of({name:"VBScript",extensions:["vbs"],load:()=>O.e(1650).then(O.bind(O,31650)).then(e=>a(e.vbScript))}),n.c6.of({name:"Velocity",extensions:["vtl"],load:()=>O.e(617).then(O.bind(O,90617)).then(e=>a(e.velocity))}),n.c6.of({name:"Verilog",extensions:["v"],load:()=>O.e(2119).then(O.bind(O,52119)).then(e=>a(e.verilog))}),n.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>O.e(5819).then(O.bind(O,5819)).then(e=>a(e.vhdl))}),n.c6.of({name:"XQuery",extensions:["xy","xquery"],load:()=>O.e(5753).then(O.bind(O,35753)).then(e=>a(e.xQuery))}),n.c6.of({name:"Yacas",extensions:["ys"],load:()=>O.e(9232).then(O.bind(O,69232)).then(e=>a(e.yacas))}),n.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>O.e(2877).then(O.bind(O,82877)).then(e=>a(e.yaml))}),n.c6.of({name:"Z80",extensions:["z80"],load:()=>O.e(1053).then(O.bind(O,21053)).then(e=>a(e.z80))}),n.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>O.e(758).then(O.bind(O,30758)).then(e=>a(e.mscgen))}),n.c6.of({name:"X\xf9",extensions:["xu"],load:()=>O.e(758).then(O.bind(O,30758)).then(e=>a(e.xu))}),n.c6.of({name:"MsGenny",extensions:["msgenny"],load:()=>O.e(758).then(O.bind(O,30758)).then(e=>a(e.msgenny))})]}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1043-9c545dc74036761a.js b/static/web/_next/static/chunks/1043-9c545dc74036761a.js new file mode 100644 index 000000000..2628d8fa6 --- /dev/null +++ b/static/web/_next/static/chunks/1043-9c545dc74036761a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1043],{48689:function(e,t,O){"use strict";O.d(t,{Z:function(){return l}});var n=O(1413),a=O(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"},r=O(42135),o=function(e,t){return a.createElement(r.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};o.displayName="DeleteOutlined";var l=a.forwardRef(o)},88484:function(e,t,O){"use strict";O.d(t,{Z:function(){return l}});var n=O(1413),a=O(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"},r=O(42135),o=function(e,t){return a.createElement(r.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};o.displayName="UploadOutlined";var l=a.forwardRef(o)},94594:function(e,t,O){"use strict";O.d(t,{Z:function(){return b}});var n=O(87462),a=O(4942),i=O(50888),r=O(94184),o=O.n(r),l=O(97685),s=O(45987),c=O(67294),p=O(21770),d=O(15105),u=c.forwardRef(function(e,t){var O,n=e.prefixCls,i=void 0===n?"rc-switch":n,r=e.className,u=e.checked,f=e.defaultChecked,Q=e.disabled,h=e.loadingIcon,m=e.checkedChildren,$=e.unCheckedChildren,S=e.onClick,b=e.onChange,g=e.onKeyDown,P=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),T=(0,p.Z)(!1,{value:u,defaultValue:f}),Z=(0,l.Z)(T,2),x=Z[0],X=Z[1];function y(e,t){var O=x;return Q||(X(O=e),null==b||b(O,t)),O}var q=o()(i,r,(O={},(0,a.Z)(O,"".concat(i,"-checked"),x),(0,a.Z)(O,"".concat(i,"-disabled"),Q),O));return c.createElement("button",Object.assign({},P,{type:"button",role:"switch","aria-checked":x,disabled:Q,className:q,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?y(!1,e):e.which===d.Z.RIGHT&&y(!0,e),null==g||g(e)},onClick:function(e){var t=y(!x,e);null==S||S(t,e)}}),h,c.createElement("span",{className:"".concat(i,"-inner")},x?m:$))});u.displayName="Switch";var f=O(53124),Q=O(98866),h=O(97647),m=O(68349),$=function(e,t){var O={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(O[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(O[n[a]]=e[n[a]]);return O},S=c.forwardRef(function(e,t){var O,r=e.prefixCls,l=e.size,s=e.disabled,p=e.loading,d=e.className,S=$(e,["prefixCls","size","disabled","loading","className"]),b=c.useContext(f.E_),g=b.getPrefixCls,P=b.direction,T=c.useContext(h.Z),Z=c.useContext(Q.Z),x=g("switch",r),X=c.createElement("div",{className:"".concat(x,"-handle")},p&&c.createElement(i.Z,{className:"".concat(x,"-loading-icon")})),y=o()((O={},(0,a.Z)(O,"".concat(x,"-small"),"small"===(l||T)),(0,a.Z)(O,"".concat(x,"-loading"),p),(0,a.Z)(O,"".concat(x,"-rtl"),"rtl"===P),O),void 0===d?"":d);return c.createElement(m.Z,{insertExtraNode:!0},c.createElement(u,(0,n.Z)({},S,{prefixCls:x,className:y,disabled:(null!=s?s:Z)||p,ref:t,loadingIcon:X})))});S.__ANT_SWITCH=!0;var b=S},20550:function(e,t,O){"use strict";O.d(t,{Z:function(){return S}});var n=O(4942),a=O(87462),i=O(97685),r=O(97937),o=O(94184),l=O.n(o),s=O(98423),c=O(67294),p=O(53124),d=O(98787),u=O(68349),f=function(e,t){var O={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(O[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(O[n[a]]=e[n[a]]);return O},Q=function(e,t){var O={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(O[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(O[n[a]]=e[n[a]]);return O},h=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),m=RegExp("^(".concat(d.E.join("|"),")$")),$=c.forwardRef(function(e,t){var O,o=e.prefixCls,d=e.className,f=e.style,$=e.children,S=e.icon,b=e.color,g=e.onClose,P=e.closeIcon,T=e.closable,Z=Q(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),x=c.useContext(p.E_),X=x.getPrefixCls,y=x.direction,q=c.useState(!0),v=(0,i.Z)(q,2),k=v[0],_=v[1];c.useEffect(function(){"visible"in Z&&_(Z.visible)},[Z.visible]);var V=function(){return!!b&&(h.test(b)||m.test(b))},U=(0,a.Z)({backgroundColor:b&&!V()?b:void 0},f),w=V(),j=X("tag",o),R=l()(j,(O={},(0,n.Z)(O,"".concat(j,"-").concat(b),w),(0,n.Z)(O,"".concat(j,"-has-color"),b&&!w),(0,n.Z)(O,"".concat(j,"-hidden"),!k),(0,n.Z)(O,"".concat(j,"-rtl"),"rtl"===y),O),d),C=function(e){e.stopPropagation(),null==g||g(e),!e.defaultPrevented&&("visible"in Z||_(!1))},G="onClick"in Z||$&&"a"===$.type,W=(0,s.Z)(Z,["visible"]),Y=S||null,A=Y?c.createElement(c.Fragment,null,Y,c.createElement("span",null,$)):$,E=c.createElement("span",(0,a.Z)({},W,{ref:t,className:R,style:U}),A,void 0!==T&&T?P?c.createElement("span",{className:"".concat(j,"-close-icon"),onClick:C},P):c.createElement(r.Z,{className:"".concat(j,"-close-icon"),onClick:C}):null);return G?c.createElement(u.Z,null,E):E});$.CheckableTag=function(e){var t,O=e.prefixCls,i=e.className,r=e.checked,o=e.onChange,s=e.onClick,d=f(e,["prefixCls","className","checked","onChange","onClick"]),u=(0,c.useContext(p.E_).getPrefixCls)("tag",O),Q=l()(u,(t={},(0,n.Z)(t,"".concat(u,"-checkable"),!0),(0,n.Z)(t,"".concat(u,"-checkable-checked"),r),t),i);return c.createElement("span",(0,a.Z)({},d,{className:Q,onClick:function(e){null==o||o(!r),null==s||s(e)}}))};var S=$},77916:function(e,t,O){"use strict";O.d(t,{Z:function(){return eP}});var n=O(87462),a=O(67294),i=O(4942),r=O(74165),o=O(71002),l=O(74902),s=O(97685),c=O(94184),p=O.n(c),d=O(15671),u=O(43144),f=O(60136),Q=O(33643),h=O(45987),m=O(15861),$=O(64217);function S(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(O){return t}}function b(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var O=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var n=e.data[t];if(Array.isArray(n)){n.forEach(function(e){O.append("".concat(t,"[]"),e)});return}O.append(t,n)}),e.file instanceof Blob?O.append(e.filename,e.file,e.file.name):O.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var O;return e.onError(((O=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,O.method=e.method,O.url=e.action,O),S(t))}return e.onSuccess(S(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(O),{abort:function(){t.abort()}}}var g=+new Date,P=0;function T(){return"rc-upload-".concat(g,"-").concat(++P)}var Z=O(80334),x=function(e,t){if(e&&t){var O=Array.isArray(t)?t:t.split(","),n=e.name||"",a=e.type||"",i=a.replace(/\/.*$/,"");return O.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var O=n.toLowerCase(),r=t.toLowerCase(),o=[r];return(".jpg"===r||".jpeg"===r)&&(o=[".jpg",".jpeg"]),o.some(function(e){return O.endsWith(e)})}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):a===t||!!/^\w+$/.test(t)&&((0,Z.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0},X=function(e,t,O){var n=function e(n,a){if(n.path=a||"",n.isFile)n.file(function(e){O(e)&&(n.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=n.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))});else if(n.isDirectory){var i,r,o;i=function(t){t.forEach(function(t){e(t,"".concat(a).concat(n.name,"/"))})},r=n.createReader(),o=[],function e(){r.readEntries(function(t){var O=Array.prototype.slice.apply(t);o=o.concat(O),O.length?e():i(o)})}()}};e.forEach(function(e){n(e.webkitGetAsEntry())})},y=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],q=function(e){(0,f.Z)(O,e);var t=(0,Q.Z)(O);function O(){(0,d.Z)(this,O);for(var e,n,a=arguments.length,i=Array(a),s=0;s0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),O=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(O)||[""])[0]},ea=function(e){return 0===e.indexOf("image/")},ei=function(e){if(e.type&&!e.thumbUrl)return ea(e.type);var t=e.thumbUrl||e.url||"",O=en(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(O))||!/^data:/.test(t)&&!O};function er(e){return new Promise(function(t){if(!e.type||!ea(e.type)){t("");return}var O=document.createElement("canvas");O.width=200,O.height=200,O.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(O);var n=O.getContext("2d"),a=new Image;if(a.onload=function(){var e=a.width,i=a.height,r=200,o=200,l=0,s=0;e>i?s=-((o=i*(200/e))-r)/2:l=-((r=e*(200/i))-o)/2,n.drawImage(a,l,s,r,o);var c=O.toDataURL();document.body.removeChild(O),t(c)},a.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){var i=new FileReader;i.addEventListener("load",function(){i.result&&(a.src=i.result)}),i.readAsDataURL(e)}else a.src=window.URL.createObjectURL(e)})}var eo=O(48689),el={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-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.8zM878 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:"download",theme:"outlined"},es=function(e,t){return a.createElement(W.Z,(0,C.Z)((0,C.Z)({},e),{},{ref:t,icon:el}))};es.displayName="DownloadOutlined";var ec=a.forwardRef(es),ep=O(99611),ed=O(97910),eu=O(94199),ef=a.forwardRef(function(e,t){var O,r=e.prefixCls,o=e.className,l=e.style,c=e.locale,d=e.listType,u=e.file,f=e.items,Q=e.progress,h=e.iconRender,m=e.actionIconRender,$=e.itemRender,S=e.isImgUrl,b=e.showPreviewIcon,g=e.showRemoveIcon,P=e.showDownloadIcon,T=e.previewIcon,Z=e.removeIcon,x=e.downloadIcon,X=e.onPreview,y=e.onDownload,q=e.onClose,v=u.status,k=a.useState(v),_=(0,s.Z)(k,2),V=_[0],w=_[1];a.useEffect(function(){"removed"!==v&&w(v)},[v]);var j=a.useState(!1),R=(0,s.Z)(j,2),C=R[0],G=R[1],W=a.useRef(null);a.useEffect(function(){return W.current=setTimeout(function(){G(!0)},300),function(){W.current&&clearTimeout(W.current)}},[]);var Y=h(u),A=a.createElement("div",{className:"".concat(r,"-text-icon")},Y);if("picture"===d||"picture-card"===d){if("uploading"!==V&&(u.thumbUrl||u.url)){var E,L=(null==S?void 0:S(u))?a.createElement("img",{src:u.thumbUrl||u.url,alt:u.name,className:"".concat(r,"-list-item-image"),crossOrigin:u.crossOrigin}):Y,z=p()((E={},(0,i.Z)(E,"".concat(r,"-list-item-thumbnail"),!0),(0,i.Z)(E,"".concat(r,"-list-item-file"),S&&!S(u)),E));A=a.createElement("a",{className:z,onClick:function(e){return X(u,e)},href:u.url||u.thumbUrl,target:"_blank",rel:"noopener noreferrer"},L)}else{var I,J,B,M,N=p()((M={},(0,i.Z)(M,"".concat(r,"-list-item-thumbnail"),!0),(0,i.Z)(M,"".concat(r,"-list-item-file"),"uploading"!==V),M));A=a.createElement("div",{className:N},Y)}}var H=p()((I={},(0,i.Z)(I,"".concat(r,"-list-item"),!0),(0,i.Z)(I,"".concat(r,"-list-item-").concat(V),!0),(0,i.Z)(I,"".concat(r,"-list-item-list-type-").concat(d),!0),I)),F="string"==typeof u.linkProps?JSON.parse(u.linkProps):u.linkProps,K=g?m(("function"==typeof Z?Z(u):Z)||a.createElement(eo.Z,null),function(){return q(u)},r,c.removeFile):null,ee=P&&"done"===V?m(("function"==typeof x?x(u):x)||a.createElement(ec,null),function(){return y(u)},r,c.downloadFile):null,et="picture-card"!==d&&a.createElement("span",{key:"download-delete",className:p()("".concat(r,"-list-item-card-actions"),{picture:"picture"===d})},ee,K),eO=p()("".concat(r,"-list-item-name")),en=u.url?[a.createElement("a",(0,n.Z)({key:"view",target:"_blank",rel:"noopener noreferrer",className:eO,title:u.name},F,{href:u.url,onClick:function(e){return X(u,e)}}),u.name),et]:[a.createElement("span",{key:"view",className:eO,onClick:function(e){return X(u,e)},title:u.name},u.name),et],ea=b?a.createElement("a",{href:u.url||u.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:u.url||u.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(e){return X(u,e)},title:c.previewFile},"function"==typeof T?T(u):T||a.createElement(ep.Z,null)):null,ei="picture-card"===d&&"uploading"!==V&&a.createElement("span",{className:"".concat(r,"-list-item-actions")},ea,"done"===V&&ee,K);O=u.response&&"string"==typeof u.response?u.response:(null===(J=u.error)||void 0===J?void 0:J.statusText)||(null===(B=u.error)||void 0===B?void 0:B.message)||c.uploadError;var er=a.createElement("span",{className:"".concat(r,"-span")},A,en),el=(0,a.useContext(U.E_).getPrefixCls)(),es=a.createElement("div",{className:H},a.createElement("div",{className:"".concat(r,"-list-item-info")},er),ei,C&&a.createElement(D.Z,{motionName:"".concat(el,"-fade"),visible:"uploading"===V,motionDeadline:2e3},function(e){var t=e.className,O="percent"in u?a.createElement(ed.Z,(0,n.Z)({},Q,{type:"line",percent:u.percent})):null;return a.createElement("div",{className:p()("".concat(r,"-list-item-progress"),t)},O)})),ef=p()("".concat(r,"-list-").concat(d,"-container"),o),eQ="error"===V?a.createElement(eu.Z,{title:O,getPopupContainer:function(e){return e.parentNode}},es):es;return a.createElement("div",{className:ef,style:l,ref:t},$?$(eQ,u,f,{download:y.bind(null,u),preview:X.bind(null,u),remove:q.bind(null,u)}):eQ)}),eQ=(0,n.Z)({},F.ZP);delete eQ.onAppearEnd,delete eQ.onEnterEnd,delete eQ.onLeaveEnd;var eh=a.forwardRef(function(e,t){var O,r=e.listType,o=void 0===r?"text":r,c=e.previewFile,d=void 0===c?er:c,u=e.onPreview,f=e.onDownload,Q=e.onRemove,h=e.locale,m=e.iconRender,$=e.isImageUrl,S=void 0===$?ei:$,b=e.prefixCls,g=e.items,P=void 0===g?[]:g,T=e.showPreviewIcon,Z=void 0===T||T,x=e.showRemoveIcon,X=void 0===x||x,y=e.showDownloadIcon,q=void 0!==y&&y,v=e.removeIcon,k=e.previewIcon,_=e.downloadIcon,V=e.progress,w=void 0===V?{strokeWidth:2,showInfo:!1}:V,j=e.appendAction,R=e.appendActionVisible,C=e.itemRender,G=(0,H.Z)(),W=a.useState(!1),Y=(0,s.Z)(W,2),L=Y[0],z=Y[1];a.useEffect(function(){("picture"===o||"picture-card"===o)&&(P||[]).forEach(function(e){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",d&&d(e.originFileObj).then(function(t){e.thumbUrl=t||"",G()}))})},[o,P,d]),a.useEffect(function(){z(!0)},[]);var J=function(e,t){if(u)return null==t||t.preventDefault(),u(e)},B=function(e){"function"==typeof f?f(e):e.url&&window.open(e.url)},F=function(e){null==Q||Q(e)},ee=function(e){if(m)return m(e,o);var t="uploading"===e.status,O=S&&S(e)?a.createElement(M,null):a.createElement(A,null),n=t?a.createElement(E.Z,null):a.createElement(I,null);return"picture"===o?n=t?a.createElement(E.Z,null):O:"picture-card"===o&&(n=t?h.uploading:O),n},et=function(e,t,O,i){var r={type:"text",size:"small",title:i,onClick:function(O){t(),(0,K.l$)(e)&&e.props.onClick&&e.props.onClick(O)},className:"".concat(O,"-list-item-card-actions-btn")};if((0,K.l$)(e)){var o=(0,K.Tm)(e,(0,n.Z)((0,n.Z)({},e.props),{onClick:function(){}}));return a.createElement(N.Z,(0,n.Z)({},r,{icon:o}))}return a.createElement(N.Z,(0,n.Z)({},r),a.createElement("span",null,e))};a.useImperativeHandle(t,function(){return{handlePreview:J,handleDownload:B}});var eO=a.useContext(U.E_),en=eO.getPrefixCls,ea=eO.direction,eo=en("upload",b),el=p()((O={},(0,i.Z)(O,"".concat(eo,"-list"),!0),(0,i.Z)(O,"".concat(eo,"-list-").concat(o),!0),(0,i.Z)(O,"".concat(eo,"-list-rtl"),"rtl"===ea),O)),es=(0,l.Z)(P.map(function(e){return{key:e.uid,file:e}})),ec={motionDeadline:2e3,motionName:"".concat(eo,"-").concat("picture-card"===o?"animate-inline":"animate"),keys:es,motionAppear:L};return"picture-card"!==o&&(ec=(0,n.Z)((0,n.Z)({},eQ),ec)),a.createElement("div",{className:el},a.createElement(D.V,(0,n.Z)({},ec,{component:!1}),function(e){var t=e.key,O=e.file,n=e.className,i=e.style;return a.createElement(ef,{key:t,locale:h,prefixCls:eo,className:n,style:i,file:O,items:P,progress:w,listType:o,isImgUrl:S,showPreviewIcon:Z,showRemoveIcon:X,showDownloadIcon:q,removeIcon:v,previewIcon:k,downloadIcon:_,iconRender:ee,actionIconRender:et,itemRender:C,onPreview:J,onDownload:B,onClose:F})}),j&&a.createElement(D.Z,(0,n.Z)({},ec,{visible:void 0===R||R,forceRender:!0}),function(e){var t=e.className,O=e.style;return(0,K.Tm)(j,function(e){return{className:p()(e.className,t),style:(0,n.Z)((0,n.Z)((0,n.Z)({},O),{pointerEvents:t?"none":void 0}),e.style)}})}))}),em="__LIST_IGNORE_".concat(Date.now(),"__"),e$=a.forwardRef(function(e,t){var O=e.fileList,c=e.defaultFileList,d=e.onRemove,u=e.showUploadList,f=void 0===u||u,Q=e.listType,h=void 0===Q?"text":Q,m=e.onPreview,$=e.onDownload,S=e.onChange,b=e.onDrop,g=e.previewFile,P=e.disabled,T=e.locale,Z=e.iconRender,x=e.isImageUrl,X=e.progress,y=e.prefixCls,q=e.className,v=e.type,C=e.children,G=e.style,W=e.itemRender,Y=e.maxCount,A=e.data,E=e.multiple,L=e.action,z=e.accept,I=e.supportServerRender,J=a.useContext(w.Z),B=null!=P?P:J,M=(0,_.Z)(c||[],{value:O,postState:function(e){return null!=e?e:[]}}),D=(0,s.Z)(M,2),N=D[0],H=D[1],F=a.useState("drop"),K=(0,s.Z)(F,2),en=K[0],ea=K[1],ei=a.useRef(null);a.useMemo(function(){var e=Date.now();(O||[]).forEach(function(t,O){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(O,"__"))})},[O]);var er=function(e,t,O){var n=(0,l.Z)(t);1===Y?n=n.slice(-1):Y&&(n=n.slice(0,Y)),(0,V.flushSync)(function(){H(n)});var a={file:e,fileList:n};O&&(a.event=O),null==S||S(a)},eo=function(e){var t=e.filter(function(e){return!e.file[em]});if(t.length){var O=t.map(function(e){return ee(e.file)}),n=(0,l.Z)(N);O.forEach(function(e){n=et(e,n)}),O.forEach(function(e,O){var a=e;if(t[O].parsedFile)e.status="uploading";else{var i,r=e.originFileObj;try{i=new File([r],r.name,{type:r.type})}catch(o){(i=new Blob([r],{type:r.type})).name=r.name,i.lastModifiedDate=new Date,i.lastModified=new Date().getTime()}i.uid=e.uid,a=i}er(a,n)})}},el=function(e,t,O){try{"string"==typeof e&&(e=JSON.parse(e))}catch(n){}if(eO(t,N)){var a=ee(t);a.status="done",a.percent=100,a.response=e,a.xhr=O;var i=et(a,N);er(a,i)}},es=function(e,t){if(eO(t,N)){var O=ee(t);O.status="uploading",O.percent=e.percent;var n=et(O,N);er(O,n,e)}},ec=function(e,t,O){if(eO(O,N)){var n=ee(O);n.error=e,n.response=t,n.status="error";var a=et(n,N);er(n,a)}},ep=function(e){var t;Promise.resolve("function"==typeof d?d(e):d).then(function(O){if(!1!==O){var a,i,r,o=(a=void 0!==e.uid?"uid":"name",(i=N.filter(function(t){return t[a]!==e[a]})).length===N.length?null:i);o&&(t=(0,n.Z)((0,n.Z)({},e),{status:"removed"}),null==N||N.forEach(function(e){var O=void 0!==t.uid?"uid":"name";e[O]!==t[O]||Object.isFrozen(e)||(e.status="removed")}),null===(r=ei.current)||void 0===r||r.abort(t),er(t,o))}})},ed=function(e){ea(e.type),"drop"===e.type&&(null==b||b(e))};a.useImperativeHandle(t,function(){return{onBatchStart:eo,onSuccess:el,onProgress:es,onError:ec,fileList:N,upload:ei.current}});var eu=a.useContext(U.E_),ef=eu.getPrefixCls,eQ=eu.direction,e$=ef("upload",y),eS=(0,n.Z)((0,n.Z)({onBatchStart:eo,onError:ec,onProgress:es,onSuccess:el},e),{data:void 0===A?{}:A,multiple:void 0!==E&&E,action:void 0===L?"":L,accept:void 0===z?"":z,supportServerRender:void 0===I||I,prefixCls:e$,disabled:B,beforeUpload:function(t,O){var n,a,i,l;return n=void 0,a=void 0,i=void 0,l=(0,r.Z)().mark(function n(){var a,i,l,s;return(0,r.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(a=e.beforeUpload,i=e.transformFile,l=t,!a){n.next=13;break}return n.next=5,a(t,O);case 5:if(!1!==(s=n.sent)){n.next=8;break}return n.abrupt("return",!1);case 8:if(delete t[em],s!==em){n.next=12;break}return Object.defineProperty(t,em,{value:!0,configurable:!0}),n.abrupt("return",!1);case 12:"object"===(0,o.Z)(s)&&s&&(l=s);case 13:if(!i){n.next=17;break}return n.next=16,i(l);case 16:l=n.sent;case 17:return n.abrupt("return",l);case 18:case"end":return n.stop()}},n)}),new(i||(i=Promise))(function(e,t){function O(e){try{o(l.next(e))}catch(O){t(O)}}function r(e){try{o(l.throw(e))}catch(O){t(O)}}function o(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(O,r)}o((l=l.apply(n,a||[])).next())})},onChange:void 0});delete eS.className,delete eS.style,(!C||B)&&delete eS.id;var eb=function(e,t){return f?a.createElement(j.Z,{componentName:"Upload",defaultLocale:R.Z.Upload},function(O){var i="boolean"==typeof f?{}:f,r=i.showRemoveIcon,o=i.showPreviewIcon,l=i.showDownloadIcon,s=i.removeIcon,c=i.previewIcon,p=i.downloadIcon;return a.createElement(eh,{prefixCls:e$,listType:h,items:N,previewFile:g,onPreview:m,onDownload:$,onRemove:ep,showRemoveIcon:!B&&r,showPreviewIcon:o,showDownloadIcon:l,removeIcon:s,previewIcon:c,downloadIcon:p,iconRender:Z,locale:(0,n.Z)((0,n.Z)({},O),T),isImageUrl:x,progress:X,appendAction:e,appendActionVisible:t,itemRender:W})}):e};if("drag"===(void 0===v?"select":v)){var eg,eP,eT=p()(e$,(eP={},(0,i.Z)(eP,"".concat(e$,"-drag"),!0),(0,i.Z)(eP,"".concat(e$,"-drag-uploading"),N.some(function(e){return"uploading"===e.status})),(0,i.Z)(eP,"".concat(e$,"-drag-hover"),"dragover"===en),(0,i.Z)(eP,"".concat(e$,"-disabled"),B),(0,i.Z)(eP,"".concat(e$,"-rtl"),"rtl"===eQ),eP),q);return a.createElement("span",null,a.createElement("div",{className:eT,onDrop:ed,onDragOver:ed,onDragLeave:ed,style:G},a.createElement(k,(0,n.Z)({},eS,{ref:ei,className:"".concat(e$,"-btn")}),a.createElement("div",{className:"".concat(e$,"-drag-container")},C))),eb())}var eZ=p()(e$,(eg={},(0,i.Z)(eg,"".concat(e$,"-select"),!0),(0,i.Z)(eg,"".concat(e$,"-select-").concat(h),!0),(0,i.Z)(eg,"".concat(e$,"-disabled"),B),(0,i.Z)(eg,"".concat(e$,"-rtl"),"rtl"===eQ),eg)),ex=a.createElement("div",{className:eZ,style:C?void 0:{display:"none"}},a.createElement(k,(0,n.Z)({},eS,{ref:ei})));return"picture-card"===h?a.createElement("span",{className:p()("".concat(e$,"-picture-card-wrapper"),q)},eb(ex,!!C)):a.createElement("span",{className:q},ex,eb())}),eS=function(e,t){var O={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(O[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(O[n[a]]=e[n[a]]);return O},eb=a.forwardRef(function(e,t){var O=e.style,i=e.height,r=eS(e,["style","height"]);return a.createElement(e$,(0,n.Z)({ref:t},r,{type:"drag",style:(0,n.Z)((0,n.Z)({},O),{height:i})}))}),eg=e$;eg.Dragger=eb,eg.LIST_IGNORE=em;var eP=eg},27561:function(e,t,O){var n=O(67990),a=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(a,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var O=e.length;O--&&t.test(e.charAt(O)););return O}},23279:function(e,t,O){var n=O(13218),a=O(7771),i=O(14841),r=Math.max,o=Math.min;e.exports=function(e,t,O){var l,s,c,p,d,u,f=0,Q=!1,h=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function $(t){var O=l,n=s;return l=s=void 0,f=t,p=e.apply(n,O)}function S(e){var O=e-u,n=e-f;return void 0===u||O>=t||O<0||h&&n>=c}function b(){var e,O,n,i=a();if(S(i))return g(i);d=setTimeout(b,(e=i-u,O=i-f,n=t-e,h?o(n,c-O):n))}function g(e){return(d=void 0,m&&l)?$(e):(l=s=void 0,p)}function P(){var e,O=a(),n=S(O);if(l=arguments,s=this,u=O,n){if(void 0===d)return f=e=u,d=setTimeout(b,t),Q?$(e):p;if(h)return clearTimeout(d),d=setTimeout(b,t),$(u)}return void 0===d&&(d=setTimeout(b,t)),p}return t=i(t)||0,n(O)&&(Q=!!O.leading,c=(h="maxWait"in O)?r(i(O.maxWait)||0,t):c,m="trailing"in O?!!O.trailing:m),P.cancel=function(){void 0!==d&&clearTimeout(d),f=0,l=u=s=d=void 0},P.flush=function(){return void 0===d?p:g(a())},P}},33448:function(e,t,O){var n=O(44239),a=O(37005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==n(e)}},7771:function(e,t,O){var n=O(55639);e.exports=function(){return n.Date.now()}},14841:function(e,t,O){var n=O(27561),a=O(13218),i=O(33448),r=0/0,o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return r;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var O=l.test(e);return O||s.test(e)?c(e.slice(2),O?2:8):o.test(e)?r:+e}},13804:function(e,t,O){"use strict";O.r(t),O.d(t,{autoCloseTags:function(){return en},html:function(){return eO},htmlCompletionSource:function(){return H},htmlCompletionSourceWith:function(){return F},htmlLanguage:function(){return et}});var n=O(53105),a=O(35524),i=O(41113);let r={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},o={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},l={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function s(e){return 9==e||10==e||13==e||32==e}let c=null,p=null,d=0;function u(e,t){var O;let n=e.pos+t;if(d==n&&p==e)return c;let a=e.peek(t);for(;s(a);)a=e.peek(++t);let i="";for(;45==(O=a)||46==O||58==O||O>=65&&O<=90||95==O||O>=97&&O<=122||O>=161;)i+=String.fromCharCode(a),a=e.peek(++t);return p=e,d=n,c=i?i.toLowerCase():a==f||a==Q?void 0:null}let f=63,Q=33;function h(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;Om.indexOf(t)>-1?new h(u(n,1)||"",e):e,reduce:(e,t)=>18==t&&e?e.parent:e,reuse(e,t,O,n){let a=t.type.id;return 4==a||35==a?new h(u(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),S=new n.Jq((e,t)=>{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(57);return}e.advance();let O=47==e.next;O&&e.advance();let n=u(e,0);if(void 0===n)return;if(!n)return e.acceptToken(O?12:4);let a=t.context?t.context.name:null;if(O){if(n==a)return e.acceptToken(9);if(a&&o[a])return e.acceptToken(57,-2);if(t.dialectEnabled(0))return e.acceptToken(10);for(let i=t.context;i;i=i.parent)if(i.name==n)return;e.acceptToken(11)}else{if("script"==n)return e.acceptToken(5);if("style"==n)return e.acceptToken(6);if("textarea"==n)return e.acceptToken(7);if(r.hasOwnProperty(n))return e.acceptToken(8);a&&l[a]&&l[a][n]?e.acceptToken(57,-1):e.acceptToken(4)}},{contextual:!0}),b=new n.Jq(e=>{for(let t=0,O=0;;O++){if(e.next<0){O&&e.acceptToken(58);break}if(45==e.next)t++;else if(62==e.next&&t>=2){O>3&&e.acceptToken(58,-2);break}else t=0;e.advance()}});function g(e,t,O){let a=2+e.length;return new n.Jq(n=>{for(let i=0,r=0,o=0;;o++){if(n.next<0){o&&n.acceptToken(t);break}if(0==i&&60==n.next||1==i&&47==n.next||i>=2&&ir?n.acceptToken(t,-r):n.acceptToken(O,-(r-2));break}else if((10==n.next||13==n.next)&&o){n.acceptToken(t,1);break}else i=r=0;n.advance()}})}let P=g("script",54,1),T=g("style",55,2),Z=g("textarea",56,3),x=(0,a.Gv)({"Text RawText":a.pJ.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":a.pJ.angleBracket,TagName:a.pJ.tagName,"MismatchedCloseTag/TagName":[a.pJ.tagName,a.pJ.invalid],AttributeName:a.pJ.attributeName,"AttributeValue UnquotedAttributeValue":a.pJ.attributeValue,Is:a.pJ.definitionOperator,"EntityReference CharacterReference":a.pJ.character,Comment:a.pJ.blockComment,ProcessingInst:a.pJ.processingInstruction,DoctypeDecl:a.pJ.documentMeta}),X=n.WQ.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DTO$tQ!bO'#DVO$yQ!bO'#DWOOOW'#Dk'#DkOOOW'#DY'#DYQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%sQ#tO,59mOOOX'#D^'#D^O%{OXO'#CwO&WOXO,59YOOOY'#D_'#D_O&`OYO'#CzO&kOYO,59YOOO['#D`'#D`O&sO[O'#C}O'OO[O,59YOOOW'#Da'#DaO'WOxO,59YO'_Q!bO'#DQOOOW,59Y,59YOOO`'#Db'#DbO'dO!rO,59oOOOW,59o,59oO'lQ!bO,59qO'qQ!bO,59rOOOW-E7W-E7WO'vQ#tO'#CqOOQO'#DZ'#DZO(UQ#tO1G.uOOOX1G.u1G.uO(^Q#tO1G/POOOY1G/P1G/PO(fQ#tO1G/SOOO[1G/S1G/SO(nQ#tO1G/VOOOW1G/V1G/VOOOW1G/X1G/XO(yQ#tO1G/XOOOX-E7[-E7[O)RQ!bO'#CxOOOW1G.t1G.tOOOY-E7]-E7]O)WQ!bO'#C{OOO[-E7^-E7^O)]Q!bO'#DOOOOW-E7_-E7_O)bQ!bO,59lOOO`-E7`-E7`OOOW1G/Z1G/ZOOOW1G/]1G/]OOOW1G/^1G/^O)gQ&jO,59]OOQO-E7X-E7XOOOX7+$a7+$aOOOY7+$k7+$kOOO[7+$n7+$nOOOW7+$q7+$qOOOW7+$s7+$sO)rQ!bO,59dO)wQ!bO,59gO)|Q!bO,59jOOOW1G/W1G/WO*RO,UO'#CtO*dO7[O'#CtOOQO1G.w1G.wOOOW1G/O1G/OOOOW1G/R1G/ROOOW1G/U1G/UOOOO'#D['#D[O*uO,UO,59`OOQO,59`,59`OOOO'#D]'#D]O+WO7[O,59`OOOO-E7Y-E7YOOQO1G.z1G.zOOOO-E7Z-E7Z",stateData:"+u~O!^OS~OSSOTPOUQOVROWTOY]OZ[O[^O^^O_^O`^Oa^Ox^O{_O!dZO~OdaO~OdbO~OdcO~OddO~OdeO~O!WfOPkP!ZkP~O!XiOQnP!ZnP~O!YlORqP!ZqP~OSSOTPOUQOVROWTOXqOY]OZ[O[^O^^O_^O`^Oa^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OdvO~OdwO~OfyOj|O~OfyOj!OO~OfyOj!QO~OfyOj!SOv!TO~OfyOj!TO~O!WfOPkX!ZkX~OP!WO!Z!XO~O!XiOQnX!ZnX~OQ!ZO!Z!XO~O!YlORqX!ZqX~OR!]O!Z!XO~O!Z!XO~P#dOd!_O~O![sO!e!aO~Oj!bO~Oj!cO~Og!dOfeXjeXveX~OfyOj!fO~OfyOj!gO~OfyOj!hO~OfyOj!iOv!jO~OfyOj!jO~Od!kO~Od!lO~Od!mO~Oj!nO~Oi!qO!`!oO!b!pO~Oj!rO~Oj!sO~Oj!tO~O_!uO`!uOa!uO!`!wO!a!uO~O_!xO`!xOa!xO!b!wO!c!xO~O_!uO`!uOa!uO!`!{O!a!uO~O_!xO`!xOa!xO!b!{O!c!xO~Ov~vj`!dx{_a_~",goto:"%p!`PPPPPPPPPPPPPPPPPP!a!gP!mPP!yPP!|#P#S#Y#]#`#f#i#l#r#xP!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag SelfClosingEndTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:$,nodeProps:[["closedBy",-10,1,2,3,5,6,7,8,9,10,11,"EndTag",4,"EndTag SelfClosingEndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,39,40,41,42,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag",38,"StartTag"]],propSources:[x],skippedNodes:[0],repeatNodeCount:9,tokenData:"#(r!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q!!O!Q![-_![!]!$c!]!^-_!^!_!(k!_!`#'S!`!a#'z!a!c-_!c!}!$c!}#R-_#R#S!$c#S#T3V#T#o!$c#o#s-_#s$f$q$f%W-_%W%o!$c%o%p-_%p&a!$c&a&b-_&b1p!$c1p4U-_4U4d!$c4d4e-_4e$IS!$c$IS$I`-_$I`$Ib!$c$Ib$Kh-_$Kh%#t!$c%#t&/x-_&/x&Et!$c&Et&FV-_&FV;'S!$c;'S;:j!(e;:j;=`4s<%l?&r-_?&r?Ah!$c?Ah?BY$q?BY?Mn!$c?MnO$q!Z$|c^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX^P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT^POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W^P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYiWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`^P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljfS^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_1n!_!a&X!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ecfSiWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0uXfSqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0pS1eP;=`<%l0p[1kP;=`<%l/^!U1wbfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!U3SP;=`<%l1n!V3bcfS^P!a`!cpOq&Xqr3Vrs&}sv3Vvw0pwx(tx!P3V!P!Q&X!Q!^3V!^!_1n!_!a&X!a#s3V#s$f&X$f;'S3V;'S;=`4m<%l?Ah3V?Ah?BY&X?BY?Mn3V?MnO&X!V4pP;=`<%l3V!_4vP;=`<%l-_!Z5SV!`h^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_5rjfSiWa!ROX7dXZ8qZ[7d[^8q^p7dqr:crs8qst@Ttw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^/^!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!Z7ibiWOX7dXZ8qZ[7d[^8q^p7dqr7drs8qst+Ptw7dwx8qx!]7d!]!^9f!^!a8q!a#S7d#S#T8q#T;'S7d;'S;=`:]<%lO7d!R8tVOp8qqs8qt!]8q!]!^9Z!^;'S8q;'S;=`9`<%lO8q!R9`O_!R!R9cP;=`<%l8q!Z9mYiW_!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z:`P;=`<%l7d!_:jjfSiWOX7dXZ8qZ[7d[^8q^p7dqr:crs8qst/^tw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^<[!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!_{let i=e.type.id;if(27==i)return y(e,t,O);if(30==i)return y(e,t,n);if(33==i)return y(e,t,a);if(l&&21==i){let r=e.node,o;if(o=r.firstChild){let s=l[t.read(o.from,o.to)];if(s)for(let c of s){if(c.tagName){if(!tagName){let p=r.parent.getChild(20);tagName=p?t.read(p.from,p.to):" "}if(attrTagName!=tagName)continue}let d=r.lastChild;if(24==d.type.id)return{parser:c.parser,overlay:[{from:d.from+1,to:d.to-1}]};if(25==d.type.id)return{parser:c.parser,overlay:[{from:d.from,to:d.to}]}}}}return null})}var v=O(61426),k=O(58037),_=O(47421),V=O(78120),U=O(59119);let w=["_blank","_self","_top","_parent"],j=["ascii","utf-8","utf-16","latin1","latin1"],R=["get","post","put","delete"],C=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],G=["true","false"],W={},Y={a:{attrs:{href:null,ping:null,type:null,media:null,target:w,hreflang:null}},abbr:W,address:W,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:W,aside:W,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:W,base:{attrs:{href:null,target:w}},bdi:W,bdo:W,blockquote:{attrs:{cite:null}},body:W,br:W,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:C,formmethod:R,formnovalidate:["novalidate"],formtarget:w,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:W,center:W,cite:W,code:W,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:W,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:W,div:W,dl:W,dt:W,em:W,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:W,figure:W,footer:W,form:{attrs:{action:null,name:null,"accept-charset":j,autocomplete:["on","off"],enctype:C,method:R,novalidate:["novalidate"],target:w}},h1:W,h2:W,h3:W,h4:W,h5:W,h6:W,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:W,hgroup:W,hr:W,html:{attrs:{manifest:null}},i:W,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:C,formmethod:R,formnovalidate:["novalidate"],formtarget:w,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:W,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:W,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:W,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:j,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:W,noscript:W,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:W,param:{attrs:{name:null,value:null}},pre:W,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:W,rt:W,ruby:W,samp:W,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:j}},section:W,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:W,source:{attrs:{src:null,type:null,media:null}},span:W,strong:W,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:W,summary:W,sup:W,table:W,tbody:W,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:W,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:W,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:W,time:{attrs:{datetime:null}},title:W,tr:W,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:W,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:W},A={accesskey:null,class:null,contenteditable:G,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:G,autocorrect:G,autocapitalize:G,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":G,"aria-autocomplete":["inline","list","both","none"],"aria-busy":G,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":G,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":G,"aria-hidden":G,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":G,"aria-multiselectable":G,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":G,"aria-relevant":null,"aria-required":G,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class E{constructor(e,t){this.tags=Object.assign(Object.assign({},Y),e),this.globalAttrs=Object.assign(Object.assign({},A),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function L(e,t,O=e.length){if(!t)return"";let n=t.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,O)):""}function z(e,t=!1){for(let O=e.parent;O;O=O.parent)if("Element"==O.name){if(!t)return O;t=!1}return null}function I(e,t,O){let n=O.tags[L(e,z(t,!0))];return(null==n?void 0:n.children)||O.allTags}function J(e,t){let O=[];for(let n=t;n=z(n);){let a=L(e,n);if(a&&"CloseTag"==n.lastChild.name)break;a&&0>O.indexOf(a)&&("EndTag"==t.name||t.from>=n.firstChild.to)&&O.push(a)}return O}E.default=new E;let B=/^[:\-\.\w\u00b7-\uffff]*$/;function M(e,t,O,n,a){let i=/\s*>/.test(e.sliceDoc(a,a+5))?"":">";return{from:n,to:a,options:I(e.doc,O,t).map(e=>({label:e,type:"type"})).concat(J(e.doc,O).map((e,t)=>({label:"/"+e,apply:"/"+e+i,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function D(e,t,O,n){let a=/\s*>/.test(e.sliceDoc(n,n+5))?"":">";return{from:O,to:n,options:J(e.doc,t).map((e,t)=>({label:e,apply:e+a,type:"type",boost:99-t})),validFor:B}}function N(e,t){let{state:O,pos:n}=t,a=(0,U.qz)(O).resolveInner(n),i=a.resolve(n,-1);for(let r=n,o;a==i&&(o=i.childBefore(r));){let l=o.lastChild;if(!l||!l.type.isError||l.from({label:e,type:"property"})),validFor:B}}return"Is"==i.name||"AttributeValue"==i.name||"UnquotedAttributeValue"==i.name?function(e,t,O,n,a){var i;let r=null===(i=O.parent)||void 0===i?void 0:i.getChild("AttributeName"),o=[],l;if(r){let s=e.sliceDoc(r.from,r.to),c=t.globalAttrs[s];if(!c){let p=z(O),d=p?t.tags[L(e.doc,p)]:null;c=(null==d?void 0:d.attrs)&&d.attrs[s]}if(c){let u=e.sliceDoc(n,a).toLowerCase(),f='"',Q='"';for(let h of(/^['"]/.test(u)?(l='"'==u[0]?/^[^"]*$/:/^[^']*$/,f="",Q=e.sliceDoc(a,a+1)==u[0]?"":u[0],u=u.slice(1),n++):l=/^[^\s<>='"]*$/,c))o.push({label:h,apply:f+h+Q,type:"constant"})}}return{from:n,to:a,options:o,validFor:l}}(O,e,i,"Is"==i.name?n:i.from,n):t.explicit&&("Element"==a.name||"Text"==a.name||"Document"==a.name)?function(e,t,O,n){let a=[],i=0;for(let r of I(e.doc,O,t))a.push({label:"<"+r,type:"type"});for(let o of J(e.doc,O))a.push({label:"",type:"type",boost:99-i++});return{from:n,to:n,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(O,e,i,n):null}function H(e){return N(E.default,e)}function F(e){let{extraTags:t,extraGlobalAttributes:O}=e,n=O||t?new E(t,O):E.default;return e=>N(n,e)}let K=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:k.typescriptLanguage.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:k.jsxLanguage.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:k.tsxLanguage.parser},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:k.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:v.cssLanguage.parser}],ee=[{name:"style",parser:v.cssLanguage.parser.configure({top:"Styles"})}].concat("beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>({name:"on"+e,parser:k.javascriptLanguage.parser}))),et=U.qp.define({name:"html",parser:X.configure({props:[U.uj.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function eO(e={}){let t="",O;!1===e.matchClosingTags&&(t="noMatch"),!0===e.selfClosingTags&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(O=q((e.nestedLanguages||[]).concat(K),(e.nestedAttributes||[]).concat(ee)));let n=O||t?et.configure({dialect:t,wrap:O}):et;return new U.ri(n,[et.data.of({autocomplete:F(e)}),!1!==e.autoCloseTags?en:[],(0,k.javascript)().support,(0,v.css)().support])}let en=_.tk.inputHandler.of((e,t,O,n)=>{if(e.composing||e.state.readOnly||t!=O||">"!=n&&"/"!=n||!et.isActiveAt(e.state,t,-1))return!1;let{state:a}=e,i=a.changeByRange(t=>{var O,i,r;let{head:o}=t,l=(0,U.qz)(a).resolveInner(o,-1),s;if(("TagName"==l.name||"StartTag"==l.name)&&(l=l.parent),">"==n&&"OpenTag"==l.name){if((null===(i=null===(O=l.parent)||void 0===O?void 0:O.lastChild)||void 0===i?void 0:i.name)!="CloseTag"&&(s=L(a.doc,l.parent,o))){let c=">"===e.state.doc.sliceString(o,o+1),p=`${c?"":">"}`;return{range:V.jT.cursor(o+1),changes:{from:o+(c?1:0),insert:p}}}}else if("/"==n&&"OpenTag"==l.name){let d=l.parent,u=null==d?void 0:d.parent;if(d.from==o-1&&(null===(r=u.lastChild)||void 0===r?void 0:r.name)!="CloseTag"&&(s=L(a.doc,u,o))){let f=">"===e.state.doc.sliceString(o,o+1),Q=`/${s}${f?"":">"}`,h=o+Q.length+(f?1:0);return{range:V.jT.cursor(h),changes:{from:o,insert:Q}}}}return{range:t}});return!i.changes.empty&&(e.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)})},58037:function(e,t,O){"use strict";O.r(t),O.d(t,{autoCloseTags:function(){return E},completionPath:function(){return V},esLint:function(){return L},javascript:function(){return W},javascriptLanguage:function(){return w},jsxLanguage:function(){return R},localCompletionSource:function(){return k},scopeCompletionSource:function(){return U},snippets:function(){return P},tsxLanguage:function(){return C},typescriptLanguage:function(){return j}});var n=O(53105),a=O(35524);let i=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],r=new n.IK({start:!1,shift:(e,t)=>5==t||6==t||299==t?e:300==t,strict:!1}),o=new n.Jq((e,t)=>{let{next:O}=e;(125==O||-1==O||t.context)&&t.canShift(297)&&e.acceptToken(297)},{contextual:!0,fallback:!0}),l=new n.Jq((e,t)=>{let{next:O}=e,n;!(i.indexOf(O)>-1)&&(47!=O||47!=(n=e.peek(1))&&42!=n)&&125!=O&&59!=O&&-1!=O&&!t.context&&t.canShift(294)&&e.acceptToken(294)},{contextual:!0}),s=new n.Jq((e,t)=>{let{next:O}=e;if((43==O||45==O)&&(e.advance(),O==e.next)){e.advance();let n=!t.context&&t.canShift(2);e.acceptToken(n?2:3)}},{contextual:!0}),c=new n.Jq(e=>{for(let t=!1,O=0;;O++){let{next:n}=e;if(n<0){O&&e.acceptToken(295);break}if(96==n){O?e.acceptToken(295):e.acceptToken(296,1);break}if(123==n&&t){1==O?e.acceptToken(4,1):e.acceptToken(295,-1);break}if(10==n&&O){e.advance(),e.acceptToken(295);break}else 92==n&&e.advance();t=36==n,e.advance()}}),p=new n.Jq((e,t)=>{if(101==e.next&&t.dialectEnabled(1)){e.advance();for(let O=0;O<6;O++){if(e.next!="xtends".charCodeAt(O))return;e.advance()}e.next>=57&&e.next<=65||e.next>=48&&e.next<=90||95==e.next||e.next>=97&&e.next<=122||e.next>160||e.acceptToken(1)}}),d=(0,a.Gv)({"get set async static":a.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":a.pJ.controlKeyword,"in of await yield void typeof delete instanceof":a.pJ.operatorKeyword,"let var const function class extends":a.pJ.definitionKeyword,"import export from":a.pJ.moduleKeyword,"with debugger as new":a.pJ.keyword,TemplateString:a.pJ.special(a.pJ.string),super:a.pJ.atom,BooleanLiteral:a.pJ.bool,this:a.pJ.self,null:a.pJ.null,Star:a.pJ.modifier,VariableName:a.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":a.pJ.function(a.pJ.variableName),VariableDefinition:a.pJ.definition(a.pJ.variableName),Label:a.pJ.labelName,PropertyName:a.pJ.propertyName,PrivatePropertyName:a.pJ.special(a.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":a.pJ.function(a.pJ.propertyName),"FunctionDeclaration/VariableDefinition":a.pJ.function(a.pJ.definition(a.pJ.variableName)),"ClassDeclaration/VariableDefinition":a.pJ.definition(a.pJ.className),PropertyDefinition:a.pJ.definition(a.pJ.propertyName),PrivatePropertyDefinition:a.pJ.definition(a.pJ.special(a.pJ.propertyName)),UpdateOp:a.pJ.updateOperator,LineComment:a.pJ.lineComment,BlockComment:a.pJ.blockComment,Number:a.pJ.number,String:a.pJ.string,ArithOp:a.pJ.arithmeticOperator,LogicOp:a.pJ.logicOperator,BitOp:a.pJ.bitwiseOperator,CompareOp:a.pJ.compareOperator,RegExp:a.pJ.regexp,Equals:a.pJ.definitionOperator,Arrow:a.pJ.function(a.pJ.punctuation),": Spread":a.pJ.punctuation,"( )":a.pJ.paren,"[ ]":a.pJ.squareBracket,"{ }":a.pJ.brace,"InterpolationStart InterpolationEnd":a.pJ.special(a.pJ.brace),".":a.pJ.derefOperator,", ;":a.pJ.separator,"@":a.pJ.meta,TypeName:a.pJ.typeName,TypeDefinition:a.pJ.definition(a.pJ.typeName),"type enum interface implements namespace module declare":a.pJ.definitionKeyword,"abstract global Privacy readonly override":a.pJ.modifier,"is keyof unique infer":a.pJ.operatorKeyword,JSXAttributeValue:a.pJ.attributeValue,JSXText:a.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":a.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":a.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":a.pJ.attributeName,"JSXBuiltin/JSXIdentifier":a.pJ.standard(a.pJ.tagName)}),u={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:50,true:58,false:58,null:68,void:72,typeof:76,super:92,new:126,await:143,yield:145,delete:146,class:156,extends:158,public:213,private:213,protected:213,readonly:215,instanceof:234,satisfies:237,in:238,const:240,import:272,keyof:327,unique:331,infer:337,is:373,abstract:393,implements:395,type:397,let:400,var:402,interface:409,enum:413,namespace:419,module:421,declare:425,global:429,for:450,of:459,while:462,with:466,do:470,if:474,else:476,switch:480,case:486,try:492,catch:496,finally:500,return:504,throw:508,break:512,continue:516,debugger:520},f={__proto__:null,async:113,get:115,set:117,public:175,private:175,protected:175,static:177,abstract:179,override:181,readonly:187,accessor:189,new:377},Q={__proto__:null,"<":133},h=n.WQ.deserialize({version:14,states:"$CWO`QdOOO$}QdOOO)WQ(C|O'#ChO)_OWO'#DYO+jQdO'#D_O+zQdO'#DjO$}QdO'#DtO.OQdO'#DzOOQ(C['#ET'#ETO.fQ`O'#EQOOQO'#IW'#IWO.nQ`O'#GgOOQO'#Ee'#EeO.yQ`O'#EdO/OQ`O'#EdO1QQ(C|O'#JQO3nQ(C|O'#JRO4_Q`O'#FSO4dQ!bO'#FkOOQ(C['#F['#F[O4oO#tO'#F[O4}Q&jO'#FrO6bQ`O'#FqOOQ(C['#JR'#JROOQ(CW'#JQ'#JQOOQS'#Jk'#JkO6gQ`O'#H{O6lQ(ChO'#H|OOQS'#Iu'#IuOOQS'#IO'#IOQ`QdOOO$}QdO'#DlO6tQ`O'#GgO6yQ&jO'#CmO7XQ`O'#EcO7dQ`O'#EnO7iQ&jO'#FZO8TQ`O'#GgO8YQ`O'#GkO8eQ`O'#GkO8sQ`O'#GnO8sQ`O'#GoO8sQ`O'#GqO6tQ`O'#GtO9dQ`O'#GwO:uQ`O'#CdO;VQ`O'#HUO;_Q`O'#H[O;_Q`O'#H^O`QdO'#H`O;_Q`O'#HbO;_Q`O'#HeO;dQ`O'#HkO;iQ(CjO'#HqO$}QdO'#HsO;tQ(CjO'#HuOWQpO'#FZO$}QdO'#DZOOOW'#IQ'#IQO>`OWO,59tOOQ(C[,59t,59tO>kQdO'#IRO?OQ`O'#JSOAQQtO'#JSO)jQdO'#JSOAXQ`O,59yOAoQ`O'#EeOA|Q`O'#J`OBXQ`O'#J_OBXQ`O'#J_OBaQ`O,5;ROBfQ`O'#J^OOQ(C[,5:U,5:UOBmQdO,5:UODnQ(C|O,5:`OE_Q`O,5:fOEdQ`O'#J[OF^Q(ChO'#J]O8YQ`O'#J[OFeQ`O'#J[OFmQ`O,5;QOFrQ`O'#J[OOQ(C]'#Ch'#ChO$}QdO'#DzOGfQpO,5:lOOQO'#JX'#JXOOQO-EgOOQS'#Ix'#IxOOQS,5>h,5>hOOQS-E;|-E;|O!.xQ(C|O,5:WOOQ(CX'#Cp'#CpO!/lQ&kO,5=ROOQO'#Cf'#CfO!/}Q(ChO'#IyO6bQ`O'#IyO;dQ`O,59XO!0`Q!bO,59XO!0hQ&jO,59XO6yQ&jO,59XO!0sQ`O,5;OO!0{Q`O'#HTO!1ZQ`O'#JoO$}QdO,5;sO!1cQ,UO,5;uO!1hQ`O,5=nO!1mQ`O,5=nO!1rQ`O,5=nO6lQ(ChO,5=nO!2QQ`O'#EgO!2wQ,UO'#EhOOQ(CW'#J^'#J^O!3OQ(ChO'#JlO6lQ(ChO,5=VO8sQ`O,5=]OOQP'#Cs'#CsO!3ZQ!bO,5=YO!3cQ!cO,5=ZO!3nQ`O,5=]O!3sQpO,5=`O;dQ`O'#GyO6tQ`O'#G{O!3{Q`O'#G{O6yQ&jO'#HOO!4QQ`O'#HOOOQS,5=c,5=cO!4VQ`O'#HPO!4_Q`O'#CmO!4dQ`O,59OO!4nQ`O,59OO!6sQdO,59OOOQS,59O,59OO!7QQ(ChO,59OO$}QdO,59OO!7]QdO'#HWOOQS'#HX'#HXOOQS'#HY'#HYO`QdO,5=pO!7mQ`O,5=pO`QdO,5=vO`QdO,5=xO!7rQ`O,5=zO`QdO,5=|O!7wQ`O,5>PO!7|QdO,5>VOOQS,5>],5>]O$}QdO,5>]O6lQ(ChO,5>_OOQS,5>a,5>aO!aOOQS,5>c,5>cO!cOOQS,5>e,5>eO!mO)jQdO,5>mOOQO,5>s,5>sO!CUQdO'#IROOQO-ExOOQ(CW-E<[-E<[O#5]Q(C}O1G0tOOQ(C[1G0t1G0tO#7hQ(C|O1G1YO#8[Q!bO,5;}O#8dQ!bO,5OQ,UO'#GXOOQ(C],5=Q,5=QOKhQ&jO,5?hOKhQ&jO,5?hO#>TQ`O'#IcO#>`Q`O,5?gO#>hQ`O,59^O#?XQ&kO,59mOOQ(C],59m,59mO#?zQ&kO,5<`O#@mQ&kO,5mO$)XQ`O1G5YO$)aQ`O1G5eO$)iQtO1G5fO8YQ`O,5>sO$)sQ`O1G5bO$)sQ`O1G5bO8YQ`O1G5bO$){Q(C|O1G5cO$}QdO1G5cO$*]Q(ChO1G5cO$*nQ`O,5>uO8YQ`O,5>uOOQO,5>u,5>uO$+SQ`O,5>uOOQO-Ez,5>zO$8rQ`O,5>zOOQ(C]1G2Z1G2ZP$8wQ`O'#I`POQ(C]-E<^-E<^O$9hQ&kO1G2gO$:ZQ&kO1G2iO$:eQqO1G2kOOQ(C]1G2S1G2SO$:lQ`O'#I_O$:zQ`O,5@SO$:zQ`O,5@SO$;SQ`O,5@SO$;_Q`O,5@SOOQO1G2U1G2UO$;mQ&kO1G2TOKhQ&jO1G2TO$;}QMhO'#IaO$<_Q`O,5@TOJRQ&jO,5@TO$|,5>|OOQO-E<`-E<`OOQ(C]1G2]1G2]O!)dQ,UO,5},5>}OOQO-EkQqO'#JjO$(iQ`O7+(XO$>uQ`O7+(XO$>}QqO7+(XO$?XQ(CyO'#ChO$?lQ(CyO,5ROOQS,5>R,5>RO$}QdO'#HhO$EoQ`O'#HjOOQS,5>X,5>XO8YQ`O,5>XOOQS,5>Z,5>ZOOQS7+)]7+)]OOQS7+)c7+)cOOQS7+)g7+)gOOQS7+)i7+)iO$EtQ!bO1G5[O$FYQ!LUO1G0oO$FdQ`O1G0oOOQO1G/k1G/kO$FoQ!LUO1G/kO$FyQ`O,5?pO;dQ`O1G/kOMqQdO'#DeOOQO,5>n,5>nOOQO-Et,5>tOOQO-EoOOQO-EpO$}QdO,5>pOOQO-ExOOOO7+'_7+'_OOOW1G/S1G/SOOQ(C]1G4f1G4fOKhQ&jO7+(VO%7}Q`O,5>yO6tQ`O,5>yOOQO-E<]-E<]O%8]Q`O1G5nO%8]Q`O1G5nO%8eQ`O1G5nO%8pQ&kO7+'oO%9QQqO,5>{O%9[Q`O,5>{OJRQ&jO,5>{OOQO-E<_-E<_O%9aQqO1G5oO%9kQ`O1G5oOOQ(CW1G2_1G2_O$VQdO'#JUO%>^Q,UO'#E[O%>tQ(ChO'#E[O$$sQ(DjO'#E[O$%hQ,UO'#G}OOQO'#Ih'#IhO%?YQ,UO,5=hOOQS,5=h,5=hO%?aQ,UO'#E[O%?rQ,UO'#E[O%@YQ,UO'#E[O%@vQ,UO'#G}O%AXQ`O7+(mO%A^Q`O7+(mO%AfQqO7+(mOOQS7+(m7+(mOJRQ&jO7+(mO$}QdO7+(mOJRQ&jO7+(mO%ApQaO7+(mOOQS7+(p7+(pO6lQ(ChO7+(pO#=PQ`O7+(pO6bQ`O7+(pO!0`Q!bO7+(pO%BOQ`O,5?TOOQO-ESOOQS,5>U,5>UO%CYQ`O1G3sO8YQ`O7+&ZOMqQdO7+&ZOOQ(CW1G5[1G5[OOQO7+%V7+%VO%C_Q!LUO1G5fO;dQ`O7+%VO;dQ`O1G0VOOQO1G0b1G0bO$}QdO1G0bO%CiQ(ChO1G0bO%CtQ(ChO1G0bO!0`Q!bO1G0VO$%_Q,UO1G0VO%DSQ,UO1G0VO%DaQ(DjO1G0bO%D{Q,UO1G0VO$%_Q,UO1G0bO%E]Q,UO1G0bO%EvQ(ChO1G0bOOQO1G0V1G0VO%F[Q(C|O1G0bOOQ(C[<VQdO,5iQ!LVO7+'qO&@_Q&kOG26wOOQO<wAN>wO;dQ`OAN>wO$}QdOAN?SO!0`Q!bOAN>wO&ATQ(ChOAN?SO$%_Q,UOAN>wO&A`Q(ChOAN?SOOQS!$(!P!$(!PO$(iQ`O!$(!PO&AnQ(C}OG26wOOQ(CWG26lG26lOOQO<SO!T+rO!U'wX~O!U+tO~O!_+kO#T+jO!T#]X!U#]X~O!T+uO!U(TX~O!U+wO~O]&VOl&VO{+nO'k$vO's)TO~O!Z+xO![+xO~P!AQO_+}O!U,PO!Y,QO!Z+|O![+|O!u;WO!y,UO!z,SO!{,TO!|,RO#P,VO#Q,VO'|+zO~P!AQOP,[O!V&cO!q,ZO~Oo,aO~O!Q&ua!T&ua~P!-RO!S,eO!Q&uX!T&uX~P$}O!T&rO!Q'va~O!Q'va~P?WO!T&yO!Q(Ra~O{%WO!S,iO!V%XO'j$tO!Q&{X!T&{X~O!T'WO!e(Oa~O{%WO!V%XO#_,lO'j$tO~O#T,nO!T(Pa!e(Pa_(Pa'e(Pa~O!_#UO~P!DvO{%WO!S,qO!V%XO!uXO#^,sO#_,qO'j$tO!T&}X!e&}X~Oy,wO!f#XO~OP,{O!V&cO!q,zO%],yO'n$bO~O_#Wi!T#Wi'e#Wi'a#Wi!Q#Wi!e#Wio#Wi!V#Wi%]#Wi!_#Wi~P!-ROP=mOx(mO{(nO(U(pO(V(rO~O#`#Sa!T#Sa!e#Sa#T#Sa!V#Sa_#Sa'e#Sa!Q#Sa~P!G[O!d#WOP'qXx'qX{'qX(U'qX(V'qXQ'qXZ'qXk'qXy'qX!T'qX!c'qX!f'qX!l'qX#c'qX#d'qX#e'qX#f'qX#g'qX#h'qX#i'qX#j'qX#k'qX#m'qX#o'qX#q'qX#r'qX'r'qX'}'qX~O#`'qX_'qX'e'qX!e'qX!Q'qX'a'qX!V'qX#T'qXo'qX%]'qX!_'qX~P!HZO!T-UOe'yX~P!&VOe-WO~O!T-XO!e'zX~P!-RO!e-[O~O!Q-^O~OQ#lOx#YOy#ZO{#[O!d#WO!f#XO!l#lO'rROZ#bi_#bik#bi!T#bi!c#bi#d#bi#e#bi#f#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi'e#bi'}#bi(U#bi(V#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~O#c#bi~P!KrO#c#_O~P!KrOQ#lOx#YOy#ZO{#[O!d#WO!f#XO!l#lO#c#_O#d#`O#e#`O#f#`O'rROZ#bi_#bi!T#bi!c#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi'e#bi'}#bi(U#bi(V#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~Ok#bi~P!NdOk#aO~P!NdOQ#lOk#aOx#YOy#ZO{#[O!d#WO!f#XO!l#lO#c#_O#d#`O#e#`O#f#`O#g#bO'rRO_#bi!T#bi#m#bi#o#bi#q#bi#r#bi'e#bi'}#bi(U#bi(V#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~OZ#bi!c#bi#h#bi#i#bi#j#bi#k#bi~P##UOZ#sO!c#cO#h#cO#i#cO#j#rO#k#cO~P##UOQ#lOZ#sOk#aOx#YOy#ZO{#[O!c#cO!d#WO!f#XO!l#lO#c#_O#d#`O#e#`O#f#`O#g#bO#h#cO#i#cO#j#rO#k#cO#m#dO'rRO_#bi!T#bi#o#bi#q#bi#r#bi'e#bi'}#bi(V#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~O(U#bi~P#&VO(U#]O~P#&VOQ#lOZ#sOk#aOx#YOy#ZO{#[O!c#cO!d#WO!f#XO!l#lO#c#_O#d#`O#e#`O#f#`O#g#bO#h#cO#i#cO#j#rO#k#cO#m#dO#o#fO'rRO(U#]O_#bi!T#bi#q#bi#r#bi'e#bi'}#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~O(V#bi~P#(wO(V#^O~P#(wOQ#lOZ#sOk#aOx#YOy#ZO{#[O!c#cO!d#WO!f#XO!l#lO#c#_O#d#`O#e#`O#f#`O#g#bO#h#cO#i#cO#j#rO#k#cO#m#dO#o#fO#q#hO'rRO(U#]O(V#^O~O_#bi!T#bi#r#bi'e#bi'}#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~P#+iOQ[XZ[Xk[Xx[Xy[X{[X!c[X!d[X!f[X!l[X#T[X#`dX#c[X#d[X#e[X#f[X#g[X#h[X#i[X#j[X#k[X#m[X#o[X#q[X#r[X#w[X'r[X'}[X(U[X(V[X!T[X!U[X~O#u[X~P#.SOQ#lOZ;mOk;aOx#YOy#ZO{#[O!c;cO!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O#g;bO#h;cO#i;cO#j;lO#k;cO#m;dO#o;fO#q;hO#r;iO'rRO'}#jO(U#]O(V#^O~O#u-`O~P#0aOQ'uXZ'uXk'uXx'uXy'uX{'uX!c'uX!d'uX!f'uX!l'uX#c'uX#d'uX#e'uX#f'uX#g'uX#h'uX#i'uX#j'uX#m'uX#o'uX#q'uX#r'uX'r'uX'}'uX(U'uX(V'uX!T'uX~O#T;nO#w;nO#k'uX#u'uX!U'uX~P#2_O_'Qa!T'Qa'e'Qa'a'Qa!e'Qao'Qa!Q'Qa!V'Qa%]'Qa!_'Qa~P!-ROQ#biZ#bi_#bik#biy#bi!T#bi!c#bi!d#bi!f#bi!l#bi#c#bi#d#bi#e#bi#f#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi'e#bi'r#bi'}#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~P!G[O_#vi!T#vi'e#vi'a#vi!Q#vi!e#vio#vi!V#vi%]#vi!_#vi~P!-RO$S-cO$U-cO~O$S-dO$U-dO~O!_(VO#T-eO!V$YX$P$YX$S$YX$U$YX$]$YX~O!S-fO~O!V(YO$P-hO$S(XO$U(XO$]-iO~O!T;jO!U'tX~P#0aO!U-jO~O$]-lO~OS(hO'c(iO'd-oO~O]-rOl-rO!Q-sO~O!TdX!_dX!edX!e$oX'}dX~P!$|O!e-yO~P!G[O!T-zO!_#UO'}'SO!e([X~O!e.PO~O!S(yO'j$tO!e([P~O#`.RO~O!Q$oX!T$oX!_$vX~P!$|O!T.SO!Q(]X~P!G[O!_.UO~O!Q.WO~Ok.[O!_#UO!f$mO'n$bO'}'SO~O'j.^O~O!_)yO~O_$pO!T.bO'e$pO~O!U.dO~P!(wO!Z.eO![.eO'k$vO's)TO~O{.gO's)TO~O#P.hO~O'j%^Oe'VX!T'VX~O!T)dOe'oa~Oe.mO~Ox.nOy.nO{.oOPua(Uua(Vua!Tua#Tua~Oeua#uua~P#>mOx(mO{(nOP$ha(U$ha(V$ha!T$ha#T$ha~Oe$ha#u$ha~P#?cOx(mO{(nOP$ja(U$ja(V$ja!T$ja#T$ja~Oe$ja#u$ja~P#@UO].pO~O#`.qO~Oe$xa!T$xa#T$xa#u$xa~P!&VO#`.tO~OP,{O!V&cO!q,zO%],yO~O]$SOk$TOl$SOm$SOr$dOt$eOv;oO{$[O!V$]O!a=`O!f$XO#_;xO#|$iO$i;rO$k;uO$n$jO'n$bO'r$UO~Oi.{O'j.zO~P#AvO!_)yO!V'ma_'ma!T'ma'e'ma~O#`/RO~OZ[X!TdX!UdX~O!T/SO!U(dX~O!U/UO~OZ/VO~O]/XO'j*RO~O!V%OO'j$tO^'_X!T'_X~O!T*WO^(ca~O!e/[O~P!-RO]/^O~OZ/_O~O^/`O~O!T*dO_(`a'e(`a~O#T/fO~OP/iO!V$]O~O's'lO!U(aP~OP/sO!V/oO!q/rO%]/qO'n$bO~OZ/}O!T/{O!U(bX~O!U0OO~O^0QO_$pO'e$pO~O]0RO~O]0SO'j!|O~O#k0TO%}0UO~P1nO#T#tO#k0TO%}0UO~O_0VO~P$}O_0XO~O&W0]OQ&UiR&UiX&Ui]&Ui_&Uib&Uic&Uii&Uik&Uil&Uim&Uir&Uit&Uiv&Ui{&Ui!O&Ui!P&Ui!V&Ui!a&Ui!f&Ui!i&Ui!j&Ui!k&Ui!l&Ui!m&Ui!p&Ui!u&Ui#l&Ui#|&Ui$Q&Ui%[&Ui%^&Ui%`&Ui%a&Ui%d&Ui%f&Ui%i&Ui%j&Ui%l&Ui%y&Ui&P&Ui&R&Ui&T&Ui&V&Ui&Y&Ui&`&Ui&f&Ui&h&Ui&j&Ui&l&Ui&n&Ui'a&Ui'j&Ui'r&Ui'|&Ui(Z&Ui!U&Ui`&Ui&]&Ui~O`0cO!U0aO&]0bO~P`O!VTO!f0eO~O&d+aOQ&_iR&_iX&_i]&_i_&_ib&_ic&_ii&_ik&_il&_im&_ir&_it&_iv&_i{&_i!O&_i!P&_i!V&_i!a&_i!f&_i!i&_i!j&_i!k&_i!l&_i!m&_i!p&_i!u&_i#l&_i#|&_i$Q&_i%[&_i%^&_i%`&_i%a&_i%d&_i%f&_i%i&_i%j&_i%l&_i%y&_i&P&_i&R&_i&T&_i&V&_i&Y&_i&`&_i&f&_i&h&_i&j&_i&l&_i&n&_i'a&_i'j&_i'r&_i'|&_i(Z&_i!U&_i&W&_i`&_i&]&_i~O!Q0kO~O!T!Xa!U!Xa~P#0aO!S0rO!Y&bO!Z&ZO![&ZO!T&vX!U&vX~P!AQO!T+rO!U'wa~O!T&|X!U&|X~P!2fO!T+uO!U(Ta~O!Y0{O!Z0zO![0zO!u;WO!y1OO!z0}O!{0}O!|0|O#P1PO#Q1PO'|+zO~P!AQO_$pO!_#UO!f$mO!l1UO#T1SO'e$pO'n$bO'}'SO~O]&VOl&VO{+nO's)TO'|+zO~O_+}O!U1XO!Y,QO!Z+|O![+|O!u;WO!y,UO!z,SO!{,TO!|,RO#P,VO#Q,VO'|+zO~P!AQO!Z0zO![0zO'|+zO~P!AQO!Y0{O!Z0zO![0zO'|+zO~P!AQO!VTO!Y0{O!Z0zO![0zO!|0|O#P1PO#Q1PO'|+zO~P!AQO!Y0{O!Z0zO![0zO!z0}O!{0}O!|0|O#P1PO#Q1PO'|+zO~P!AQO!V&cO~O!V&cO~P!G[O!T#pOo$ga~O!Q&ui!T&ui~P!-RO!T&rO!Q'vi~O!T&yO!Q(Ri~O!Q(Si!T(Si~P!-RO!T'WO!e(Oi~O!T(Pi!e(Pi_(Pi'e(Pi~P!-RO#T1eO!T(Pi!e(Pi_(Pi'e(Pi~O{%WO!V%XO!uXO#^1hO#_1gO'j$tO~O{%WO!V%XO#_1gO'j$tO~OP1pO!V&cO!q1oO%]1nO~OP1pO!V&cO!q1oO%]1nO'n$bO~O#`uaQuaZua_uakua!cua!dua!fua!lua#cua#dua#eua#fua#gua#hua#iua#jua#kua#mua#oua#qua#rua'eua'rua'}ua!eua!Qua'aua!Vuaoua%]ua!_ua~P#>mO#`$haQ$haZ$ha_$hak$hay$ha!c$ha!d$ha!f$ha!l$ha#c$ha#d$ha#e$ha#f$ha#g$ha#h$ha#i$ha#j$ha#k$ha#m$ha#o$ha#q$ha#r$ha'e$ha'r$ha'}$ha!e$ha!Q$ha'a$ha!V$hao$ha%]$ha!_$ha~P#?cO#`$jaQ$jaZ$ja_$jak$jay$ja!c$ja!d$ja!f$ja!l$ja#c$ja#d$ja#e$ja#f$ja#g$ja#h$ja#i$ja#j$ja#k$ja#m$ja#o$ja#q$ja#r$ja'e$ja'r$ja'}$ja!e$ja!Q$ja'a$ja!V$jao$ja%]$ja!_$ja~P#@UO#`$xaQ$xaZ$xa_$xak$xay$xa!T$xa!c$xa!d$xa!f$xa!l$xa#c$xa#d$xa#e$xa#f$xa#g$xa#h$xa#i$xa#j$xa#k$xa#m$xa#o$xa#q$xa#r$xa'e$xa'r$xa'}$xa!e$xa!Q$xa'a$xa!V$xa#T$xao$xa%]$xa!_$xa~P!G[O_#Wq!T#Wq'e#Wq'a#Wq!Q#Wq!e#Wqo#Wq!V#Wq%]#Wq!_#Wq~P!-ROe&wX!T&wX~PKhO!T-UOe'ya~O!S1xO!T&xX!e&xX~P$}O!T-XO!e'za~O!T-XO!e'za~P!-RO!Q1{O~O#u!ha!U!ha~PBtO#u!`a!T!`a!U!`a~P#0aO!V2^O$QbO$Z2_O~O!U2cO~Oo2dO~P!G[O_$dq!T$dq'e$dq'a$dq!Q$dq!e$dqo$dq!V$dq%]$dq!_$dq~P!-RO!Q2eO~O]-rOl-rO~Ox(mO{(nO(V(rOP%Ti(U%Ti!T%Ti#T%Ti~Oe%Ti#u%Ti~P$9POx(mO{(nOP%Vi(U%Vi(V%Vi!T%Vi#T%Vi~Oe%Vi#u%Vi~P$9rO'}#jO~P!G[O!S2hO'j$tO!T'RX!e'RX~O!T-zO!e([a~O!T-zO!_#UO!e([a~O!T-zO!_#UO'}'SO!e([a~Oe$qi!T$qi#T$qi#u$qi~P!&VO!S2pO'j)OO!Q'TX!T'TX~P!&tO!T.SO!Q(]a~O!T.SO!Q(]a~P!G[O!_#UO~O!_#UO#k2xO~Ok2{O!_#UO'}'SO~Oe'pi!T'pi~P!&VO#T3OOe'pi!T'pi~P!&VO!e3RO~O_$eq!T$eq'e$eq'a$eq!Q$eq!e$eqo$eq!V$eq%]$eq!_$eq~P!-RO!T3VO!V(^X~P!G[O!V&cO%]1nO~O!V&cO%]1nO~P!G[O!V$oX%Q[X_$oX!T$oX'e$oX~P!$|O%Q3XOPhXxhX{hX!VhX(UhX(VhX_hX!ThX'ehX~O%Q3XO~O]3_O%^3`O'j*RO!T'^X!U'^X~O!T/SO!U(da~OZ3dO~O^3eO~O]3hO~O!Q3iO~O_$pO'e$pO~P!G[O!V$]O~P!G[O!T3nO#T3pO!U(aX~O!U3qO~O]&VOl&VO{3sO!Y4OO!Z3wO![3wO!u;WO!y3}O!z3|O!{3|O#P3{O#Q,VO'k$vO's)TO'|+zO~O!U3zO~P$BTOP4VO!V/oO!q4UO%]4TO~OP4VO!V/oO!q4UO%]4TO'n$bO~O'j!|O!T']X!U']X~O!T/{O!U(ba~O]4aO's4`O~O]4bO~O^4dO~O!e4gO~P$}O_4iO~O_4iO~P$}O#k4kO%}4lO~PExO`0cO!U4pO&]0bO~P`O!_4rO~O!_4tO!T'xi!U'xi!_'xi!f'xi'n'xi~O!T#]i!U#]i~P#0aO#T4uO!T#]i!U#]i~O!T!Xi!U!Xi~P#0aO!Q4vO~O]!tal!ta!Y!ta!Z!ta![!ta!y!ta!z!ta!{!ta!|!ta#P!ta#Q!ta'k!ta's!ta'|!ta~PGQO_$pO!_#UO!f$mO!l5OO#T4|O'e$pO'n$bO'}'SO~O!Z5QO![5QO'|+zO~P!AQO!Y5RO!Z5QO![5QO'|+zO~P!AQO!Y5RO!Z5QO![5QO!|5TO#P5UO#Q5UO'|+zO~P!AQO!Y5RO!Z5QO![5QO!z5VO!{5VO!|5TO#P5UO#Q5UO'|+zO~P!AQO_$pO#T4|O'e$pO~O_$pO!_#UO#T4|O'e$pO~O_$pO!_#UO!l5OO#T4|O'e$pO'}'SO~O!T'WO!e(Oq~O!T(Pq!e(Pq_(Pq'e(Pq~P!-RO{%WO!V%XO#_5aO'j$tO~O!V&cO%]5cO~O!V&cO%]5cO~P!G[OP5hO!V&cO!q5gO%]5cO~O#`%TiQ%TiZ%Ti_%Tik%Tiy%Ti!c%Ti!d%Ti!f%Ti!l%Ti#c%Ti#d%Ti#e%Ti#f%Ti#g%Ti#h%Ti#i%Ti#j%Ti#k%Ti#m%Ti#o%Ti#q%Ti#r%Ti'e%Ti'r%Ti'}%Ti!e%Ti!Q%Ti'a%Ti!V%Tio%Ti%]%Ti!_%Ti~P$9PO#`%ViQ%ViZ%Vi_%Vik%Viy%Vi!c%Vi!d%Vi!f%Vi!l%Vi#c%Vi#d%Vi#e%Vi#f%Vi#g%Vi#h%Vi#i%Vi#j%Vi#k%Vi#m%Vi#o%Vi#q%Vi#r%Vi'e%Vi'r%Vi'}%Vi!e%Vi!Q%Vi'a%Vi!V%Vio%Vi%]%Vi!_%Vi~P$9rO#`$qiQ$qiZ$qi_$qik$qiy$qi!T$qi!c$qi!d$qi!f$qi!l$qi#c$qi#d$qi#e$qi#f$qi#g$qi#h$qi#i$qi#j$qi#k$qi#m$qi#o$qi#q$qi#r$qi'e$qi'r$qi'}$qi!e$qi!Q$qi'a$qi!V$qi#T$qio$qi%]$qi!_$qi~P!G[Oe&wa!T&wa~P!&VO!T&xa!e&xa~P!-RO!T-XO!e'zi~O#u#Wi!T#Wi!U#Wi~P#0aOQ#lOx#YOy#ZO{#[O!d#WO!f#XO!l#lO'rROZ#bik#bi!c#bi#d#bi#e#bi#f#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi#u#bi'}#bi(U#bi(V#bi!T#bi!U#bi~O#c#bi~P%&nO#c;_O~P%&nOQ#lOx#YOy#ZO{#[O!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O'rROZ#bi!c#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi#u#bi'}#bi(U#bi(V#bi!T#bi!U#bi~Ok#bi~P%(yOk;aO~P%(yOQ#lOk;aOx#YOy#ZO{#[O!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O#g;bO'rRO#m#bi#o#bi#q#bi#r#bi#u#bi'}#bi(U#bi(V#bi!T#bi!U#bi~OZ#bi!c#bi#h#bi#i#bi#j#bi#k#bi~P%+UOZ;mO!c;cO#h;cO#i;cO#j;lO#k;cO~P%+UOQ#lOZ;mOk;aOx#YOy#ZO{#[O!c;cO!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O#g;bO#h;cO#i;cO#j;lO#k;cO#m;dO'rRO#o#bi#q#bi#r#bi#u#bi'}#bi(V#bi!T#bi!U#bi~O(U#bi~P%-pO(U#]O~P%-pOQ#lOZ;mOk;aOx#YOy#ZO{#[O!c;cO!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O#g;bO#h;cO#i;cO#j;lO#k;cO#m;dO#o;fO'rRO(U#]O#q#bi#r#bi#u#bi'}#bi!T#bi!U#bi~O(V#bi~P%/{O(V#^O~P%/{OQ#lOZ;mOk;aOx#YOy#ZO{#[O!c;cO!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O#g;bO#h;cO#i;cO#j;lO#k;cO#m;dO#o;fO#q;hO'rRO(U#]O(V#^O~O#r#bi#u#bi'}#bi!T#bi!U#bi~P%2WO_#sy!T#sy'e#sy'a#sy!Q#sy!e#syo#sy!V#sy%]#sy!_#sy~P!-ROP=oOx(mO{(nO(U(pO(V(rO~OQ#biZ#bik#biy#bi!c#bi!d#bi!f#bi!l#bi#c#bi#d#bi#e#bi#f#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi#u#bi'r#bi'}#bi!T#bi!U#bi~P%5OO#u'qX!U'qX~P!HZO#u#vi!T#vi!U#vi~P#0aO!U5tO~O!T'Qa!U'Qa~P#0aO!_#UO'}'SO!T'Ra!e'Ra~O!T-zO!e([i~O!T-zO!_#UO!e([i~Oe$qq!T$qq#T$qq#u$qq~P!&VO!Q'Ta!T'Ta~P!G[O!_5{O~O!T.SO!Q(]i~P!G[O!T.SO!Q(]i~O!Q6PO~O!_#UO#k6UO~Ok6VO!_#UO'}'SO~O!Q6XO~Oe$sq!T$sq#T$sq#u$sq~P!&VO_$ey!T$ey'e$ey'a$ey!Q$ey!e$eyo$ey!V$ey%]$ey!_$ey~P!-RO!T3VO!V(^a~O_#Wy!T#Wy'e#Wy'a#Wy!Q#Wy!e#Wyo#Wy!V#Wy%]#Wy!_#Wy~P!-ROZ6^O~O]6`O'j*RO~O!T/SO!U(di~O]6cO~O^6dO~O!_4tO~O's'lO!T'YX!U'YX~O!T3nO!U(aa~O!f$mO'n$bO_'xX!_'xX!l'xX#T'xX'e'xX'}'xX~O'j6mO~P,RO!u;WO!y6oO!z6nO!{6nO#P1PO#Q1PO~P$%_O_$pO!_#UO!l1UO#T1SO'e$pO'}'SO~O!U6rO~P$BTO]&VOl&VO{6sO's)TO'|+zO~O!Y6wO!Z6vO![6vO#P1PO#Q1PO'|+zO~P!AQO!Y6wO!Z6vO![6vO!z6xO!{6xO#P1PO#Q1PO'|+zO~P!AQO!Z6vO![6vO'k$vO's)TO'|+zO~O!V/oO~O!V/oO%]6zO~O!V/oO%]6zO~P!G[OP7PO!V/oO!q7OO%]6zO~OZ7UO!T']a!U']a~O!T/{O!U(bi~O]7XO~O!e7YO~O!e7ZO~O!e7[O~O!e7[O~P$}O_7^O~O!_7aO~O!e7bO~O!T(Si!U(Si~P#0aO_$pO#T7iO'e$pO~O_$pO!_#UO#T7iO'e$pO~O!Z7mO![7mO'|+zO~P!AQO_$pO!_#UO!f$mO!l7nO#T7iO'e$pO'n$bO'}'SO~O!Y7oO!Z7mO![7mO'|+zO~P!AQO!Y7oO!Z7mO![7mO!|7rO#P7sO#Q7sO'|+zO~P!AQO_$pO!_#UO!l7nO#T7iO'e$pO'}'SO~O_$pO'e$pO~P!-RO!T'WO!e(Oy~O!T(Py!e(Py_(Py'e(Py~P!-RO!V&cO%]7xO~O!V&cO%]7xO~P!G[O#`$qqQ$qqZ$qq_$qqk$qqy$qq!T$qq!c$qq!d$qq!f$qq!l$qq#c$qq#d$qq#e$qq#f$qq#g$qq#h$qq#i$qq#j$qq#k$qq#m$qq#o$qq#q$qq#r$qq'e$qq'r$qq'}$qq!e$qq!Q$qq'a$qq!V$qq#T$qqo$qq%]$qq!_$qq~P!G[O#`$sqQ$sqZ$sq_$sqk$sqy$sq!T$sq!c$sq!d$sq!f$sq!l$sq#c$sq#d$sq#e$sq#f$sq#g$sq#h$sq#i$sq#j$sq#k$sq#m$sq#o$sq#q$sq#r$sq'e$sq'r$sq'}$sq!e$sq!Q$sq'a$sq!V$sq#T$sqo$sq%]$sq!_$sq~P!G[O!T&xi!e&xi~P!-RO#u#Wq!T#Wq!U#Wq~P#0aOx.nOy.nO{.oOPua(Uua(Vua!Uua~OQuaZuakua!cua!dua!fua!lua#cua#dua#eua#fua#gua#hua#iua#jua#kua#mua#oua#qua#rua#uua'rua'}ua!Tua~P%LmOx(mO{(nOP$ha(U$ha(V$ha!U$ha~OQ$haZ$hak$hay$ha!c$ha!d$ha!f$ha!l$ha#c$ha#d$ha#e$ha#f$ha#g$ha#h$ha#i$ha#j$ha#k$ha#m$ha#o$ha#q$ha#r$ha#u$ha'r$ha'}$ha!T$ha~P%NtOx(mO{(nOP$ja(U$ja(V$ja!U$ja~OQ$jaZ$jak$jay$ja!c$ja!d$ja!f$ja!l$ja#c$ja#d$ja#e$ja#f$ja#g$ja#h$ja#i$ja#j$ja#k$ja#m$ja#o$ja#q$ja#r$ja#u$ja'r$ja'}$ja!T$ja~P&!{OQ$xaZ$xak$xay$xa!c$xa!d$xa!f$xa!l$xa#c$xa#d$xa#e$xa#f$xa#g$xa#h$xa#i$xa#j$xa#k$xa#m$xa#o$xa#q$xa#r$xa#u$xa'r$xa'}$xa!T$xa!U$xa~P%5OO#u$dq!T$dq!U$dq~P#0aO#u$eq!T$eq!U$eq~P#0aO!U8RO~O#u8SO~P!&VO!_#UO!T'Ri!e'Ri~O!_#UO'}'SO!T'Ri!e'Ri~O!T-zO!e([q~O!Q'Ti!T'Ti~P!G[O!T.SO!Q(]q~O!Q8YO~P!G[O!Q8YO~Oe'py!T'py~P!&VO!T'Wa!V'Wa~P!G[O!V%Pq_%Pq!T%Pq'e%Pq~P!G[OZ8_O~O!T/SO!U(dq~O]8bO~O#T8cO!T'Ya!U'Ya~O!T3nO!U(ai~P#0aOQ[XZ[Xk[Xx[Xy[X{[X!Q[X!T[X!c[X!d[X!f[X!l[X#T[X#`dX#c[X#d[X#e[X#f[X#g[X#h[X#i[X#j[X#k[X#m[X#o[X#q[X#r[X#w[X'r[X'}[X(U[X(V[X~O!_$}X#k$}X~P&*pO#P5UO#Q5UO~P$%_O!z8gO!{8gO#P5UO#Q5UO~P$%_O!Z8jO![8jO'k$vO's)TO'|+zO~O!Y8mO!Z8jO![8jO#P5UO#Q5UO'|+zO~P!AQO!V/oO%]8pO~O!V/oO%]8pO~P!G[O]8wO's8vO~O!T/{O!U(bq~O!e8yO~O!e8yO~P$}O!e8{O~O!e8|O~O#T9OO!T#]y!U#]y~O!T#]y!U#]y~P#0aO_$pO#T9RO'e$pO~O_$pO!_#UO#T9RO'e$pO~O!Z9WO![9WO'|+zO~P!AQO_$pO!_#UO!l9XO#T9RO'e$pO'}'SO~O!f$mO'n$bO~P&0|O!Y9YO!Z9WO![9WO'|+zO~P!AQO!V&cO%]9^O~O!V&cO%]9^O~P!G[O#u#sy!T#sy!U#sy~P#0aOQ$qiZ$qik$qiy$qi!c$qi!d$qi!f$qi!l$qi#c$qi#d$qi#e$qi#f$qi#g$qi#h$qi#i$qi#j$qi#k$qi#m$qi#o$qi#q$qi#r$qi#u$qi'r$qi'}$qi!T$qi!U$qi~P%5OOx(mO{(nO(V(rOP%Ti(U%Ti!U%Ti~OQ%TiZ%Tik%Tiy%Ti!c%Ti!d%Ti!f%Ti!l%Ti#c%Ti#d%Ti#e%Ti#f%Ti#g%Ti#h%Ti#i%Ti#j%Ti#k%Ti#m%Ti#o%Ti#q%Ti#r%Ti#u%Ti'r%Ti'}%Ti!T%Ti~P&4cOx(mO{(nOP%Vi(U%Vi(V%Vi!U%Vi~OQ%ViZ%Vik%Viy%Vi!c%Vi!d%Vi!f%Vi!l%Vi#c%Vi#d%Vi#e%Vi#f%Vi#g%Vi#h%Vi#i%Vi#j%Vi#k%Vi#m%Vi#o%Vi#q%Vi#r%Vi#u%Vi'r%Vi'}%Vi!T%Vi~P&6jO#u$ey!T$ey!U$ey~P#0aO#u#Wy!T#Wy!U#Wy~P#0aO!_#UO!T'Rq!e'Rq~O!T-zO!e([y~O!Q'Tq!T'Tq~P!G[O!Q9dO~P!G[O!T/SO!U(dy~O!T3nO!U(aq~O#P7sO#Q7sO~P$%_O!Z9nO![9nO'k$vO's)TO'|+zO~O!V/oO%]9qO~O!V/oO%]9qO~P!G[O!e9tO~O_$pO#T9zO'e$pO~O_$pO!_#UO#T9zO'e$pO~O!Z9}O![9}O'|+zO~P!AQO_$pO!_#UO!l:OO#T9zO'e$pO'}'SO~OQ$qqZ$qqk$qqy$qq!c$qq!d$qq!f$qq!l$qq#c$qq#d$qq#e$qq#f$qq#g$qq#h$qq#i$qq#j$qq#k$qq#m$qq#o$qq#q$qq#r$qq#u$qq'r$qq'}$qq!T$qq!U$qq~P%5OOQ$sqZ$sqk$sqy$sq!c$sq!d$sq!f$sq!l$sq#c$sq#d$sq#e$sq#f$sq#g$sq#h$sq#i$sq#j$sq#k$sq#m$sq#o$sq#q$sq#r$sq#u$sq'r$sq'}$sq!T$sq!U$sq~P%5OOe%X!Z!T%X!Z#T%X!Z#u%X!Z~P!&VO!T'Yq!U'Yq~P#0aO!T#]!Z!U#]!Z~P#0aO_$pO#T:aO'e$pO~O_$pO!_#UO#T:aO'e$pO~O#`%X!ZQ%X!ZZ%X!Z_%X!Zk%X!Zy%X!Z!T%X!Z!c%X!Z!d%X!Z!f%X!Z!l%X!Z#c%X!Z#d%X!Z#e%X!Z#f%X!Z#g%X!Z#h%X!Z#i%X!Z#j%X!Z#k%X!Z#m%X!Z#o%X!Z#q%X!Z#r%X!Z'e%X!Z'r%X!Z'}%X!Z!e%X!Z!Q%X!Z'a%X!Z!V%X!Z#T%X!Zo%X!Z%]%X!Z!_%X!Z~P!G[O_$pO#T:oO'e$pO~OP=nOx(mO{(nO(U(pO(V(rO~O]#Sal#Sa!U#Sa!Y#Sa!Z#Sa![#Sa!u#Sa!y#Sa!z#Sa!{#Sa#P#Sa#Q#Sa'k#Sa's#Sa'|#Sa~P&D[OQ%X!ZZ%X!Zk%X!Zy%X!Z!c%X!Z!d%X!Z!f%X!Z!l%X!Z#c%X!Z#d%X!Z#e%X!Z#f%X!Z#g%X!Z#h%X!Z#i%X!Z#j%X!Z#k%X!Z#m%X!Z#o%X!Z#q%X!Z#r%X!Z#u%X!Z'r%X!Z'}%X!Z!T%X!Z!U%X!Z~P%5OO]ualua!Yua!Zua![ua!uua!yua!zua!{ua#Pua#Qua'kua'sua'|ua~P%LmO]$hal$ha!Y$ha!Z$ha![$ha!u$ha!y$ha!z$ha!{$ha#P$ha#Q$ha'k$ha's$ha'|$ha~P%NtO]$jal$ja!Y$ja!Z$ja![$ja!u$ja!y$ja!z$ja!{$ja#P$ja#Q$ja'k$ja's$ja'|$ja~P&!{O]$xal$xa!U$xa!Y$xa!Z$xa![$xa!u$xa!y$xa!z$xa!{$xa#P$xa#Q$xa'k$xa's$xa'|$xa~P&D[O]%Til%Ti!Y%Ti!Z%Ti![%Ti!u%Ti!y%Ti!z%Ti!{%Ti#P%Ti#Q%Ti'k%Ti's%Ti'|%Ti~P&4cO]%Vil%Vi!Y%Vi!Z%Vi![%Vi!u%Vi!y%Vi!z%Vi!{%Vi#P%Vi#Q%Vi'k%Vi's%Vi'|%Vi~P&6jO]$qil$qi!U$qi!Y$qi!Z$qi![$qi!u$qi!y$qi!z$qi!{$qi#P$qi#Q$qi'k$qi's$qi'|$qi~P&D[O]$qql$qq!U$qq!Y$qq!Z$qq![$qq!u$qq!y$qq!z$qq!{$qq#P$qq#Q$qq'k$qq's$qq'|$qq~P&D[O]$sql$sq!U$sq!Y$sq!Z$sq![$sq!u$sq!y$sq!z$sq!{$sq#P$sq#Q$sq'k$sq's$sq'|$sq~P&D[O]%X!Zl%X!Z!U%X!Z!Y%X!Z!Z%X!Z![%X!Z!u%X!Z!y%X!Z!z%X!Z!{%X!Z#P%X!Z#Q%X!Z'k%X!Z's%X!Z'|%X!Z~P&D[Oo'tX~P/WO!QdX!TdX#TdX~P&*pOQ[XZ[Xk[Xx[Xy[X{[X!T[X!TdX!c[X!d[X!f[X!l[X#T[X#TdX#`dX#c[X#d[X#e[X#f[X#g[X#h[X#i[X#j[X#k[X#m[X#o[X#q[X#r[X#w[X'r[X'}[X(U[X(V[X~O!_dX!e[X!edX'}dX~P'$ZOQ;VOR;VO]gOb=ZOc!`OigOk;VOlgOmgOrgOt;VOv;VO{SO!OgO!PgO!VTO!a;YO!fVO!i;VO!j;VO!k;VO!l;VO!m;VO!p!_O#|!bO$QbO'j'|O'rRO'|WO(Z=XO~O]$SOi$cOk$TOl$SOm$SOr$dOt$eOv;pO{$[O!V$]O!a=aO!f$XO#_;yO#|$iO$i;sO$k;vO$n$jO'j'dO'n$bO'r$UO~O!T;jO!U$ga~O]$SOi$cOk$TOl$SOm$SOr$dOt$eOv;qO{$[O!V$]O!a=bO!f$XO#_;zO#|$iO$i;tO$k;wO$n$jO'j'dO'n$bO'r$UO~O#l(TO~P'*^O!U[X!UdX~P'$ZO!_;^O~O#`;]O~O!_#UO#`;]O~O#T;nO~O#k;cO~O#T;{O!T(SX!U(SX~O#T;nO!T(QX!U(QX~O#`;|O~Oe TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression",maxTerm:345,context:r,nodeProps:[["closedBy",4,"InterpolationEnd",43,"]",53,"}",68,")",140,"JSXSelfCloseEndTag JSXEndTag",156,"JSXEndTag"],["group",-26,8,15,17,60,195,199,202,203,205,208,211,222,224,230,232,234,236,239,245,251,253,255,257,259,261,262,"Statement",-30,12,13,25,28,29,34,44,46,47,49,54,62,70,76,77,99,100,109,110,127,130,132,133,134,135,137,138,158,159,161,"Expression",-23,24,26,30,33,35,37,162,164,166,167,169,170,171,173,174,175,177,178,179,189,191,193,194,"Type",-3,81,92,98,"ClassItem"],["openedBy",31,"InterpolationStart",48,"[",52,"{",67,"(",139,"JSXStartTag",151,"JSXStartTag JSXStartCloseTag"]],propSources:[d],skippedNodes:[0,5,6],repeatNodeCount:29,tokenData:"#2k~R!bOX%ZXY%uYZ'kZ[%u[]%Z]^'k^p%Zpq%uqr(Rrs)mst7]tu9guvlxyJcyzJyz{Ka{|Lm|}MW}!OLm!O!PMn!P!Q!$v!Q!R!Er!R![!G_![!]!Nc!]!^!N{!^!_# c!_!`#!`!`!a##d!a!b#%s!b!c#'h!c!}9g!}#O#(O#O#P%Z#P#Q#(f#Q#R#(|#R#S9g#S#T#)g#T#o#)}#o#p#,w#p#q#,|#q#r#-j#r#s#.S#s$f%Z$f$g%u$g#BY9g#BY#BZ#.j#BZ$IS9g$IS$I_#.j$I_$I|9g$I|$I}#1X$I}$JO#1X$JO$JT9g$JT$JU#.j$JU$KV9g$KV$KW#.j$KW&FU9g&FU&FV#.j&FV;'S9g;'S;=`Rw!^%Z!_!`YU$`W#q&lO!^%Z!_!`s]$`W]&ZOY>lYZ?lZw>lwx,jx!^>l!^!_@|!_#O>l#O#PE_#P#o>l#o#p@|#p;'S>l;'S;=`J]<%lO>l,^?qX$`WOw?lwx+_x!^?l!^!_@^!_#o?l#o#p@^#p;'S?l;'S;=`@v<%lO?l,U@aTOw@^wx,Xx;'S@^;'S;=`@p<%lO@^,U@sP;=`<%l@^,^@yP;=`<%l?l1aARX]&ZOY@|YZ@^Zw@|wx-tx#O@|#O#PAn#P;'S@|;'S;=`EX<%lO@|1aAqUOw@|wxBTx;'S@|;'S;=`Dg;=`<%lBt<%lO@|1aB[W$Z,U]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da<%lOBt&ZByW]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da<%lOBt&ZCfRO;'SBt;'S;=`Co;=`OBt&ZCtX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%lBt<%lOBt&ZDdP;=`<%lBt1aDlX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%l@|<%lOBt1aE[P;=`<%l@|1iEdY$`WOw>lwxFSx!^>l!^!_@|!_#o>l#o#p@|#p;'S>l;'S;=`Ik;=`<%lBt<%lO>l1iF]]$Z,U$`W]&ZOYGUYZ%ZZwGUwx4hx!^GU!^!_Bt!_#OGU#O#PHU#P#oGU#o#pBt#p;'SGU;'S;=`Ie<%lOGU&cG]]$`W]&ZOYGUYZ%ZZwGUwx4hx!^GU!^!_Bt!_#OGU#O#PHU#P#oGU#o#pBt#p;'SGU;'S;=`Ie<%lOGU&cHZW$`WO!^GU!^!_Bt!_#oGU#o#pBt#p;'SGU;'S;=`Hs;=`<%lBt<%lOGU&cHxX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%lGU<%lOBt&cIhP;=`<%lGU1iIpX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%l>l<%lOBt1iJ`P;=`<%l>l,TJjT!f+{$`WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z$PKQT!e#w$`WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z)ZKjW$`W'k#e#f&lOz%Zz{LS{!^%Z!_!`q#P#Q!-n#Q#o!;l#o#p!6|#p;'S!;l;'S;=`!?i<%lO!;l7Z!q#P#Q!-n#Q#o!;l#o#p!6|#p;'S!;l;'S;=`!?i<%lO!;l7Z!={[$`WU7ROY!+TYZ%ZZ!^!+T!^!_!)o!_#O!+T#O#P!,O#P#Q!&V#Q#o!+T#o#p!)o#p;'S!+T;'S;=`!,p<%lO!+T7Z!>vZ$`WOY!;lYZ!.wZz!;lz{!u[e]||-1},{term:311,get:e=>f[e]||-1},{term:65,get:e=>Q[e]||-1}],tokenPrec:13429});var m=O(59119),$=O(78120),S=O(47421),b=O(34790),g=O(41113);let P=[(0,b.Gn)("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,b.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,b.Gn)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,b.Gn)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,b.Gn)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,b.Gn)("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,b.Gn)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,b.Gn)("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,b.Gn)("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),(0,b.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,b.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],T=new g.hr,Z=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function x(e){return(t,O)=>{let n=t.node.getChild("VariableDefinition");return n&&O(n,e),!0}}let X=["FunctionDeclaration"],y={FunctionDeclaration:x("function"),ClassDeclaration:x("class"),ClassExpression:()=>!0,EnumDeclaration:x("constant"),TypeAliasDeclaration:x("type"),NamespaceDeclaration:x("namespace"),VariableDefinition(e,t){e.matchContext(X)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},q=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,v=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function k(e){let t=(0,m.qz)(e.state).resolveInner(e.pos,-1);if(v.indexOf(t.name)>-1)return null;let O="VariableName"==t.name||t.to-t.from<20&&q.test(e.state.sliceDoc(t.from,t.to));if(!O&&!e.explicit)return null;let n=[];for(let a=t;a;a=a.parent)Z.has(a.name)&&(n=n.concat(function e(t,O){let n=T.get(O);if(n)return n;let a=[],i=!0;function r(e,O){let n=t.sliceString(e.from,e.to);a.push({label:n,type:O})}return O.cursor(g.vj.IncludeAnonymous).iterate(O=>{if(i)i=!1;else if(O.name){let n=y[O.name];if(n&&n(O,r)||Z.has(O.name))return!1}else if(O.to-O.from>8192){for(let o of e(t,O.node))a.push(o);return!1}}),T.set(O,a),a}(e.state.doc,a)));return{options:n,from:O?t.from:e.pos,validFor:q}}function _(e,t,O){var n;let a=[];for(;;){let i=t.firstChild,r;if((null==i?void 0:i.name)=="VariableName")return a.push(e(i)),{path:a.reverse(),name:O};if((null==i?void 0:i.name)!="MemberExpression"||(null===(n=r=i.lastChild)||void 0===n?void 0:n.name)!="PropertyName")return null;a.push(e(r)),t=i}}function V(e){let t=t=>e.state.doc.sliceString(t.from,t.to),O=(0,m.qz)(e.state).resolveInner(e.pos,-1);return"PropertyName"==O.name?_(t,O.parent,t(O)):v.indexOf(O.name)>-1?null:"VariableName"==O.name||O.to-O.from<20&&q.test(t(O))?{path:[],name:t(O)}:("."==O.name||"?."==O.name)&&"MemberExpression"==O.parent.name?_(t,O.parent,""):"MemberExpression"==O.name?_(t,O,""):e.explicit?{path:[],name:""}:null}function U(e){let t=new Map;return O=>{let n=V(O);if(!n)return null;let a=e;for(let i of n.path)if(!(a=a[i]))return null;let r=t.get(a);return r||t.set(a,r=function(e,t){let O=[],n=new Set;for(let a=0;;a++){for(let i of(Object.getOwnPropertyNames||Object.keys)(e)){let r;if(!n.has(i)){n.add(i);try{r=e[i]}catch(o){continue}O.push({label:i,type:"function"==typeof r?/^[A-Z]/.test(i)?"class":t?"function":"method":t?"variable":"property",boost:-a})}}let l=Object.getPrototypeOf(e);if(!l)return O;e=l}}(a,!n.path.length)),{from:O.pos-n.name.length,options:r,validFor:q}}}let w=m.qp.define({name:"javascript",parser:h.configure({props:[m.uj.add({IfStatement:(0,m.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,m.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:m.ze,SwitchBody(e){let t=e.textAfter,O=/^\s*\}/.test(t),n=/^\s*(case|default)\b/.test(t);return e.baseIndent+(O?0:n?1:2)*e.unit},Block:(0,m.vw)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,m.tC)({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),m.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":m.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),j=w.configure({dialect:"ts"},"typescript"),R=w.configure({dialect:"jsx"}),C=w.configure({dialect:"jsx ts"},"typescript"),G="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(e=>({label:e,type:"keyword"}));function W(e={}){let t=e.jsx?e.typescript?C:R:e.typescript?j:w;return new m.ri(t,[w.data.of({autocomplete:(0,b.eC)(v,(0,b.Mb)(P.concat(G)))}),w.data.of({autocomplete:k}),e.jsx?E:[]])}function Y(e,t,O=e.length){if(!t)return"";let n=t.getChild("JSXIdentifier");return n?e.sliceString(n.from,Math.min(n.to,O)):""}let A="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),E=S.tk.inputHandler.of((e,t,O,n)=>{if((A?e.composing:e.compositionStarted)||e.state.readOnly||t!=O||">"!=n&&"/"!=n||!w.isActiveAt(e.state,t,-1))return!1;let{state:a}=e,i=a.changeByRange(e=>{var t,O,i;let{head:r}=e,o=(0,m.qz)(a).resolveInner(r,-1),l;if("JSXStartTag"==o.name&&(o=o.parent),">"==n&&"JSXFragmentTag"==o.name)return{range:$.jT.cursor(r+1),changes:{from:r,insert:"><>"}};if(">"==n&&"JSXIdentifier"==o.name){if((null===(O=null===(t=o.parent)||void 0===t?void 0:t.lastChild)||void 0===O?void 0:O.name)!="JSXEndTag"&&(l=Y(a.doc,o.parent,r)))return{range:$.jT.cursor(r+1),changes:{from:r,insert:`>`}}}else if("/"==n&&"JSXFragmentTag"==o.name){let s=o.parent,c=null==s?void 0:s.parent;if(s.from==r-1&&(null===(i=c.lastChild)||void 0===i?void 0:i.name)!="JSXEndTag"&&(l=Y(a.doc,null==c?void 0:c.firstChild,r))){let p=`/${l}>`;return{range:$.jT.cursor(r+p.length),changes:{from:r,insert:p}}}}return{range:e}});return!i.changes.empty&&(e.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)});function L(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((e,O)=>{e.meta.docs.recommended&&(t.rules[O]=2)})),O=>{let{state:n}=O,a=[];for(let{from:i,to:r}of w.findRegions(n)){let o=n.doc.lineAt(i),l={line:o.number-1,col:i-o.from,pos:i};for(let s of e.verify(n.sliceDoc(i,r),t))a.push(function(e,t,O){let n=z(e.line,e.column,t,O),a={from:n,to:null!=e.endLine&&1!=e.endColumn?z(e.endLine,e.endColumn,t,O):n,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:i,text:r}=e.fix,o=i[0]+O.pos-n,l=i[1]+O.pos-n;a.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+o,to:t+l,insert:r},scrollIntoView:!0})}}]}return a}(s,n.doc,l))}return a}}function z(e,t,O,n){return O.line(e+n.line).from+t+(1==e?n.col-1:-1)}},48825:function(e,t,O){"use strict";O.r(t),O.d(t,{commonmarkLanguage:function(){return eV},deleteMarkupBackward:function(){return eA},insertNewlineContinueMarkup:function(){return eW},markdown:function(){return ez},markdownKeymap:function(){return eE},markdownLanguage:function(){return ew}});var n,a,i=O(78120),r=O(47421),o=O(59119),l=O(41113),s=O(35524);class c{constructor(e,t,O,n,a,i,r){this.type=e,this.value=t,this.from=O,this.hash=n,this.end=a,this.children=i,this.positions=r,this.hashProp=[[l.md.contextHash,n]]}static create(e,t,O,n,a){return new c(e,t,O,n+(n<<8)+e+(t<<4)|0,a,[],[])}addChild(e,t){e.prop(l.md.contextHash)!=this.hash&&(e=new l.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let O=this.children.length-1;return O>=0&&(t=Math.max(t,this.positions[O]+this.children[O].length+this.from)),new l.mp(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,O)=>new l.mp(l.Jq.none,e,t,O,this.hashProp)})}}(n=a||(a={}))[n.Document=1]="Document",n[n.CodeBlock=2]="CodeBlock",n[n.FencedCode=3]="FencedCode",n[n.Blockquote=4]="Blockquote",n[n.HorizontalRule=5]="HorizontalRule",n[n.BulletList=6]="BulletList",n[n.OrderedList=7]="OrderedList",n[n.ListItem=8]="ListItem",n[n.ATXHeading1=9]="ATXHeading1",n[n.ATXHeading2=10]="ATXHeading2",n[n.ATXHeading3=11]="ATXHeading3",n[n.ATXHeading4=12]="ATXHeading4",n[n.ATXHeading5=13]="ATXHeading5",n[n.ATXHeading6=14]="ATXHeading6",n[n.SetextHeading1=15]="SetextHeading1",n[n.SetextHeading2=16]="SetextHeading2",n[n.HTMLBlock=17]="HTMLBlock",n[n.LinkReference=18]="LinkReference",n[n.Paragraph=19]="Paragraph",n[n.CommentBlock=20]="CommentBlock",n[n.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",n[n.Escape=22]="Escape",n[n.Entity=23]="Entity",n[n.HardBreak=24]="HardBreak",n[n.Emphasis=25]="Emphasis",n[n.StrongEmphasis=26]="StrongEmphasis",n[n.Link=27]="Link",n[n.Image=28]="Image",n[n.InlineCode=29]="InlineCode",n[n.HTMLTag=30]="HTMLTag",n[n.Comment=31]="Comment",n[n.ProcessingInstruction=32]="ProcessingInstruction",n[n.URL=33]="URL",n[n.HeaderMark=34]="HeaderMark",n[n.QuoteMark=35]="QuoteMark",n[n.ListMark=36]="ListMark",n[n.LinkMark=37]="LinkMark",n[n.EmphasisMark=38]="EmphasisMark",n[n.CodeMark=39]="CodeMark",n[n.CodeText=40]="CodeText",n[n.CodeInfo=41]="CodeInfo",n[n.LinkTitle=42]="LinkTitle",n[n.LinkLabel=43]="LinkLabel";class p{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class d{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return h(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,O=0){for(let n=t;n=t.stack[O.depth+1].value+O.baseIndent)return!0;if(O.indent>=O.baseIndent+4)return!1;let n=(e.type==a.OrderedList?T:P)(O,t,!1);return n>0&&(e.type!=a.BulletList||0>b(O,t,!1))&&O.text.charCodeAt(O.pos+n-1)==e.value}let f={[a.Blockquote]:(e,t,O)=>62==O.next&&(O.markers.push(N(a.QuoteMark,t.lineStart+O.pos,t.lineStart+O.pos+1)),O.moveBase(O.pos+(Q(O.text.charCodeAt(O.pos+1))?2:1)),e.end=t.lineStart+O.text.length,!0),[a.ListItem]:(e,t,O)=>(!(O.indent-1))&&(O.moveBaseColumn(O.baseIndent+e.value),!0),[a.OrderedList]:u,[a.BulletList]:u,[a.Document]:()=>!0};function Q(e){return 32==e||9==e||10==e||13==e}function h(e,t=0){for(;tO&&Q(e.charCodeAt(t-1));)t--;return t}function $(e){if(96!=e.next&&126!=e.next)return -1;let t=e.pos+1;for(;t-1&&e.depth==t.stack.length?-1:n<3?-1:1}function g(e,t){for(let O=e.stack.length-1;O>=0;O--)if(e.stack[O].type==t)return!0;return!1}function P(e,t,O){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||Q(e.text.charCodeAt(e.pos+1)))&&(!O||g(t,a.BulletList)||e.skipSpace(e.pos+2)=48&&i<=57;){if(++n==e.text.length)return -1;i=e.text.charCodeAt(n)}return n==e.pos||n>e.pos+9||46!=i&&41!=i||ne.pos+1||49!=e.next)?-1:n+1-e.pos}function Z(e){if(35!=e.next)return -1;let t=e.pos+1;for(;t6?-1:O}function x(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let t=e.pos+1;for(;t/,q=/\?>/,v=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(n);if(r)return e.append(N(a.Comment,O,O+1+r[0].length));let o=/^\?[^]*?\?>/.exec(n);if(o)return e.append(N(a.ProcessingInstruction,O,O+1+o[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return l?e.append(N(a.HTMLTag,O,O+1+l[0].length)):-1},Emphasis(e,t,O){if(95!=t&&42!=t)return -1;let n=O+1;for(;e.char(n)==t;)n++;let a=e.slice(O-1,O),i=e.slice(n,n+1),r=en.test(a),o=en.test(i),l=/\s|^$/.test(a),s=/\s|^$/.test(i),c=!s&&(!o||l||r),p=!l&&(!r||s||o);return e.append(new et(95==t?H:F,O,n,(c&&(42==t||!p||r)?1:0)|(p&&(42==t||!c||o)?2:0)))},HardBreak(e,t,O){if(92==t&&10==e.char(O+1))return e.append(N(a.HardBreak,O,O+2));if(32==t){let n=O+1;for(;32==e.char(n);)n++;if(10==e.char(n)&&n>=O+2)return e.append(N(a.HardBreak,O,n+1))}return -1},Link:(e,t,O)=>91==t?e.append(new et(K,O,O+1,1)):-1,Image:(e,t,O)=>33==t&&91==e.char(O+1)?e.append(new et(ee,O,O+2,1)):-1,LinkEnd(e,t,O){if(93!=t)return -1;for(let n=e.parts.length-1;n>=0;n--){let i=e.parts[n];if(i instanceof et&&(i.type==K||i.type==ee)){if(!i.side||e.skipSpace(i.to)==O&&!/[(\[]/.test(e.slice(O+1,O+2)))return e.parts[n]=null,-1;let r=e.takeContent(n),o=e.parts[n]=function(e,t,O,n,i){let{text:r}=e,o=e.char(i),l=i;if(t.unshift(N(a.LinkMark,n,n+(O==a.Image?2:1))),t.push(N(a.LinkMark,i-1,i)),40==o){let s=e.skipSpace(i+1),c=er(r,s-e.offset,e.offset),p;c&&(s=e.skipSpace(c.to),(p=eo(r,s-e.offset,e.offset))&&(s=e.skipSpace(p.to))),41==e.char(s)&&(t.push(N(a.LinkMark,i,i+1)),l=s+1,c&&t.push(c),p&&t.push(p),t.push(N(a.LinkMark,s,l)))}else if(91==o){let d=el(r,i-e.offset,e.offset,!1);d&&(t.push(d),l=d.to)}return N(O,n,l,t)}(e,r,i.type==K?a.Link:a.Image,i.from,O+1);if(i.type==K)for(let l=0;lt?N(a.URL,t+O,o+O):o==e.length&&null}}function eo(e,t,O){let n=e.charCodeAt(t);if(39!=n&&34!=n&&40!=n)return!1;let i=40==n?41:n;for(let r=t+1,o=!1;r=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,O,n,a){return this.append(new et(e,t,O,(n?1:0)|(a?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t=e;r--){let o=this.parts[r];if(o instanceof et&&1&o.side&&o.type==O.type&&!(n&&(1&O.side||2&o.side)&&(o.to-o.from+a)%3==0&&((o.to-o.from)%3||a%3))){i=o;break}}if(!i)continue;let l=O.type.resolve,s=[],c=i.from,p=O.to;if(n){let d=Math.min(2,i.to-i.from,a);c=i.to-d,p=O.from+d,l=1==d?"Emphasis":"StrongEmphasis"}i.type.mark&&s.push(this.elt(i.type.mark,c,i.to));for(let u=r+1;u=0;t--){let O=this.parts[t];if(O instanceof et&&O.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return h(this.text,e-this.offset)+this.offset}elt(e,t,O,n){return"string"==typeof e?N(this.parser.getNodeType(e),t,O,n):new D(e,t)}}function ec(e,t){if(!t.length)return e;if(!e.length)return t;let O=e.slice(),n=0;for(let a of t){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let O=this.fragment.to;for(;O>0&&"\n"!=this.input.read(O-1,O);)O--;this.fragmentEnd=O?O-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor()).firstChild();let a=e+this.fragment.offset;for(;n.to<=a;)if(!n.parent())return!1;for(;;){if(n.from>=a)return this.fragment.from<=t;if(!n.childAfter(a))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(l.md.contextHash)==e}takeNodes(e){let t=this.cursor,O=this.fragment.offset,n=this.fragmentEnd-(this.fragment.openEnd?1:0),a=e.absoluteLineStart,i=a,r=e.block.children.length,o=i,l=r;for(;;){if(t.to-O>n){if(t.type.isAnonymous&&t.firstChild())continue;break}if(e.dontInject.add(t.tree),e.addNode(t.tree,t.from-O),t.type.is("Block")&&(0>ep.indexOf(t.type.id)?(i=t.to-O,r=e.block.children.length):(i=o,r=l,o=t.to-O,l=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>r;)e.block.children.pop(),e.block.positions.pop();return i-a}}let eu=(0,s.Gv)({"Blockquote/...":s.pJ.quote,HorizontalRule:s.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":s.pJ.heading1,"ATXHeading2/... SetextHeading2/...":s.pJ.heading2,"ATXHeading3/...":s.pJ.heading3,"ATXHeading4/...":s.pJ.heading4,"ATXHeading5/...":s.pJ.heading5,"ATXHeading6/...":s.pJ.heading6,"Comment CommentBlock":s.pJ.comment,Escape:s.pJ.escape,Entity:s.pJ.character,"Emphasis/...":s.pJ.emphasis,"StrongEmphasis/...":s.pJ.strong,"Link/... Image/...":s.pJ.link,"OrderedList/... BulletList/...":s.pJ.list,"BlockQuote/...":s.pJ.quote,"InlineCode CodeText":s.pJ.monospace,URL:s.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":s.pJ.processingInstruction,"CodeInfo LinkLabel":s.pJ.labelName,LinkTitle:s.pJ.string,Paragraph:s.pJ.content}),ef=new Y(new l.Lj(L).extend(eu),Object.keys(U).map(e=>U[e]),Object.keys(U).map(e=>C[e]),Object.keys(U),[(e,t)=>Z(t)>=0,(e,t)=>$(t)>=0,(e,t)=>S(t)>=0,(e,t)=>P(t,e,!0)>=0,(e,t)=>T(t,e,!0)>=0,(e,t)=>b(t,e,!0)>=0,(e,t)=>k(t,e,!0)>=0],f,Object.keys(ei).map(e=>ei[e]),Object.keys(ei),[]),eQ={resolve:"Strikethrough",mark:"StrikethroughMark"},eh={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":s.pJ.strikethrough}},{name:"StrikethroughMark",style:s.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,O){if(126!=t||126!=e.char(O+1)||126==e.char(O+2))return -1;let n=e.slice(O-1,O),a=e.slice(O+2,O+3),i=/\s|^$/.test(n),r=/\s|^$/.test(a),o=en.test(n),l=en.test(a);return e.addDelimiter(eQ,O,O+2,!r&&(!l||i||o),!i&&(!o||r||l))},after:"Emphasis"}]};function em(e,t,O=0,n,a=0){let i=0,r=!0,o=-1,l=-1,s=!1,c=()=>{n.push(e.elt("TableCell",a+o,a+l,e.parser.parseInline(t.slice(o,l),a+o)))};for(let p=O;p-1)&&i++,r=!1,n&&(o>-1&&c(),n.push(e.elt("TableDelimiter",p+a,p+a+1))),o=l=-1),s=!s&&92==d}return o>-1&&(i++,n&&c()),i}function e$(e,t){for(let O=t;Oe$(t.content,0)?new eb:null,endLeaf(e,t,O){if(O.parsers.some(e=>e instanceof eb)||!e$(t.text,t.basePos))return!1;let n=e.scanLine(e.absoluteLineEnd+1).text;return eS.test(n)&&em(e,t.text,t.basePos)==em(e,n,t.basePos)},before:"SetextHeading"}]};class eP{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}let eT={defineNodes:[{name:"Task",block:!0,style:s.pJ.list},{name:"TaskMarker",style:s.pJ.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\]/.test(t.content)&&"ListItem"==e.parentType().name?new eP:null,after:"SetextHeading"}]};function eZ(e,t,O){return(n,a,i)=>{if(a!=e||n.char(i+1)==e)return -1;let r=[n.elt(O,i,i+1)];for(let o=i+1;o"}}),ek=ef.configure({props:[o.x0.add(e=>{if(!(!e.is("Block")||e.is("Document")))return(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})}),o.uj.add({Document:()=>null}),o.pp.add({Document:ev})]});function e_(e){return new o.SQ(ev,e,[],"markdown")}let eV=e_(ek),eU=ek.configure([[eg,eT,eh],eX,ex,ey]),ew=e_(eU);class ej{constructor(e,t,O,n,a,i,r){this.node=e,this.from=t,this.to=O,this.spaceBefore=n,this.spaceAfter=a,this.type=i,this.item=r}blank(e,t=!0){let O=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;O.length0;n--)O+=" ";return O+(t?this.spaceAfter:"")}marker(e,t){let O="OrderedList"==this.node.name?String(+eC(this.item,e)[2]+t):"";return this.spaceBefore+O+this.type+this.spaceAfter}}function eR(e,t){let O=[];for(let n=e;n&&"Document"!=n.name;n=n.parent)("ListItem"==n.name||"Blockquote"==n.name||"FencedCode"==n.name)&&O.push(n);let a=[];for(let i=O.length-1;i>=0;i--){let r=O[i],o,l=t.lineAt(r.from),s=r.from-l.from;if("FencedCode"==r.name)a.push(new ej(r,s,s,"","","",null));else if("Blockquote"==r.name&&(o=/^[ \t]*>( ?)/.exec(l.text.slice(s))))a.push(new ej(r,s,s+o[0].length,"",o[1],">",null));else if("ListItem"==r.name&&"OrderedList"==r.parent.name&&(o=/^([ \t]*)\d+([.)])([ \t]*)/.exec(l.text.slice(s)))){let c=o[3],p=o[0].length;c.length>=4&&(c=c.slice(0,c.length-4),p-=4),a.push(new ej(r.parent,s,s+p,o[1],c,o[2],r))}else if("ListItem"==r.name&&"BulletList"==r.parent.name&&(o=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(l.text.slice(s)))){let d=o[4],u=o[0].length;d.length>4&&(d=d.slice(0,d.length-4),u-=4);let f=o[2];o[3]&&(f+=o[3].replace(/[xX]/," ")),a.push(new ej(r.parent,s,s+u,o[1],d,f,r))}}return a}function eC(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function eG(e,t,O,n=0){for(let a=-1,i=e;;){if("ListItem"==i.name){let r=eC(i,t),o=+r[2];if(a>=0){if(o!=a+1)return;O.push({from:i.from+r[1].length,to:i.from+r[0].length,insert:String(a+2+n)})}a=o}let l=i.nextSibling;if(!l)break;i=l}}let eW=({state:e,dispatch:t})=>{let O=(0,o.qz)(e),{doc:n}=e,a=null,r=e.changeByRange(t=>{if(!t.empty||!ew.isActiveAt(e,t.from))return a={range:t};let r=t.from,o=n.lineAt(r),l=eR(O.resolveInner(r,-1),n);for(;l.length&&l[l.length-1].from>r-o.from;)l.pop();if(!l.length)return a={range:t};let s=l[l.length-1];if(s.to-s.spaceAfter.length>r-o.from)return a={range:t};let c=r>=s.to-s.spaceAfter.length&&!/\S/.test(o.text.slice(s.to));if(s.item&&c){if(s.node.firstChild.to>=r||o.from>0&&!/[^\s>]/.test(n.lineAt(o.from-1).text)){let p=l.length>1?l[l.length-2]:null,d,u="";p&&p.item?(d=o.from+p.from,u=p.marker(n,1)):d=o.from+(p?p.to:0);let f=[{from:d,to:r,insert:u}];return"OrderedList"==s.node.name&&eG(s.item,n,f,-2),p&&"OrderedList"==p.node.name&&eG(p.item,n,f),{range:i.jT.cursor(d+u.length),changes:f}}{let Q="";for(let h=0,m=l.length-2;h<=m;h++)Q+=l[h].blank(h\s*$/.exec($.text);if(S&&S.index==s.from){let b=e.changes([{from:$.from+S.index,to:$.to},{from:o.from+s.from,to:o.to}]);return{range:t.map(b),changes:b}}}let g=[];"OrderedList"==s.node.name&&eG(s.item,n,g);let P=s.item&&s.item.from]*/.exec(o.text)[0].length>=s.to)for(let Z=0,x=l.length-1;Z<=x;Z++)T+=Z!=x||P?l[Z].blank(Zo.from&&/\s/.test(o.text.charAt(X-o.from-1));)X--;return T=e.lineBreak+T,g.push({from:X,to:r,insert:T}),{range:i.jT.cursor(X+T.length),changes:g}});return!a&&(t(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0)};function eY(e){return"QuoteMark"==e.name||"ListMark"==e.name}let eA=({state:e,dispatch:t})=>{let O=(0,o.qz)(e),n=null,a=e.changeByRange(t=>{let a=t.from,{doc:r}=e;if(t.empty&&ew.isActiveAt(e,t.from)){let o=r.lineAt(a),l=eR(function(e,t){let O=e.resolveInner(t,-1),n=t;eY(O)&&(n=O.from,O=O.parent);for(let a;a=O.childBefore(n);)if(eY(a))n=a.from;else if("OrderedList"==a.name||"BulletList"==a.name)n=(O=a.lastChild).to;else break;return O}(O,a),r);if(l.length){let s=l[l.length-1],c=s.to-s.spaceAfter.length+(s.spaceAfter?1:0);if(a-o.from>c&&!/\S/.test(o.text.slice(c,a-o.from)))return{range:i.jT.cursor(o.from+c),changes:{from:o.from+c,to:a}};if(a-o.from==c){let p=o.from+s.from;if(s.item&&s.node.from{if(e&&O){let n=null;if(e=/\S*/.exec(e)[0],(n="function"==typeof O?O(e):o.c6.matchLanguageName(O,e,!0))instanceof o.c6)return n.support?n.support.language.parser:o.Be.getSkippingParser(n.load());if(n)return n.parser}return t?t.parser:null}):void 0;return p.push(function(e){let{codeParser:t,htmlParser:O}=e,n=(0,l.FE)((e,n)=>{let i=e.type.id;if(t&&(i==a.CodeBlock||i==a.FencedCode)){let r="";if(i==a.FencedCode){let o=e.node.getChild(a.CodeInfo);o&&(r=n.read(o.from,o.to))}let l=t(r);if(l)return{parser:l,overlay:e=>e.type.id==a.CodeText}}else if(O&&(i==a.HTMLBlock||i==a.HTMLTag))return{parser:O,overlay:function(e,t,O){let n=[];for(let a=e.firstChild,i=t;;a=a.nextSibling){let r=a?a.from:O;if(r>i&&n.push({from:i,to:r}),!a)break;i=a.to}return n}(e.node,e.from,e.to)};return null});return{wrap:n}}({codeParser:f,htmlParser:eL.language.parser})),s&&d.push(i.Wl.high(r.$f.of(eE))),new o.ri(e_(c.configure(p)),d)}},76538:function(e,t,O){"use strict";O.d(t,{M:function(){return r}});var n=O(59119);function a(e){return new n.ri(n.il.define(e))}function i(e){return O.e(1390).then(O.bind(O,21390)).then(t=>t.sql({dialect:t[e]}))}let r=[n.c6.of({name:"C",extensions:["c","h","ino"],load:()=>O.e(2750).then(O.bind(O,12750)).then(e=>e.cpp())}),n.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>O.e(2750).then(O.bind(O,12750)).then(e=>e.cpp())}),n.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>i("Cassandra")}),n.c6.of({name:"CSS",extensions:["css"],load:()=>Promise.resolve().then(O.bind(O,61426)).then(e=>e.css())}),n.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Promise.resolve().then(O.bind(O,13804)).then(e=>e.html())}),n.c6.of({name:"Java",extensions:["java"],load:()=>O.e(4778).then(O.bind(O,44778)).then(e=>e.java())}),n.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Promise.resolve().then(O.bind(O,58037)).then(e=>e.javascript())}),n.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>O.e(4732).then(O.bind(O,44732)).then(e=>e.json())}),n.c6.of({name:"JSX",extensions:["jsx"],load:()=>Promise.resolve().then(O.bind(O,58037)).then(e=>e.javascript({jsx:!0}))}),n.c6.of({name:"MariaDB SQL",load:()=>i("MariaSQL")}),n.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Promise.resolve().then(O.bind(O,48825)).then(e=>e.markdown())}),n.c6.of({name:"MS SQL",load:()=>i("MSSQL")}),n.c6.of({name:"MySQL",load:()=>i("MySQL")}),n.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>O.e(2386).then(O.bind(O,12386)).then(e=>e.php())}),n.c6.of({name:"PLSQL",extensions:["pls"],load:()=>i("PLSQL")}),n.c6.of({name:"PostgreSQL",load:()=>i("PostgreSQL")}),n.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>O.e(8088).then(O.bind(O,28088)).then(e=>e.python())}),n.c6.of({name:"Rust",extensions:["rs"],load:()=>O.e(4920).then(O.bind(O,24920)).then(e=>e.rust())}),n.c6.of({name:"SQL",extensions:["sql"],load:()=>i("StandardSQL")}),n.c6.of({name:"SQLite",load:()=>i("SQLite")}),n.c6.of({name:"TSX",extensions:["tsx"],load:()=>Promise.resolve().then(O.bind(O,58037)).then(e=>e.javascript({jsx:!0,typescript:!0}))}),n.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:()=>Promise.resolve().then(O.bind(O,58037)).then(e=>e.javascript({typescript:!0}))}),n.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>O.e(9972).then(O.bind(O,9972)).then(e=>e.wast())}),n.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>O.e(5122).then(O.bind(O,5122)).then(e=>e.xml())}),n.c6.of({name:"APL",extensions:["dyalog","apl"],load:()=>O.e(870).then(O.bind(O,90870)).then(e=>a(e.apl))}),n.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>O.e(8029).then(O.bind(O,58029)).then(e=>a(e.asciiArmor))}),n.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>O.e(3203).then(O.bind(O,93203)).then(e=>a(e.asn1({})))}),n.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>O.e(5648).then(O.bind(O,15648)).then(e=>a(e.asterisk))}),n.c6.of({name:"Brainfuck",extensions:["b","bf"],load:()=>O.e(2675).then(O.bind(O,9521)).then(e=>a(e.brainfuck))}),n.c6.of({name:"Cobol",extensions:["cob","cpy"],load:()=>O.e(8915).then(O.bind(O,68915)).then(e=>a(e.cobol))}),n.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.csharp))}),n.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>O.e(2406).then(O.bind(O,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"ClojureScript",extensions:["cljs"],load:()=>O.e(2406).then(O.bind(O,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>O.e(2136).then(O.bind(O,62136)).then(e=>a(e.gss))}),n.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>O.e(889).then(O.bind(O,70889)).then(e=>a(e.cmake))}),n.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>O.e(9558).then(O.bind(O,29558)).then(e=>a(e.coffeeScript))}),n.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>O.e(1446).then(O.bind(O,61446)).then(e=>a(e.commonLisp))}),n.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>O.e(673).then(O.bind(O,20673)).then(e=>a(e.cypher))}),n.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>O.e(4323).then(O.bind(O,74323)).then(e=>a(e.cython))}),n.c6.of({name:"Crystal",extensions:["cr"],load:()=>O.e(2602).then(O.bind(O,62602)).then(e=>a(e.crystal))}),n.c6.of({name:"D",extensions:["d"],load:()=>O.e(1660).then(O.bind(O,11660)).then(e=>a(e.d))}),n.c6.of({name:"Dart",extensions:["dart"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.dart))}),n.c6.of({name:"diff",extensions:["diff","patch"],load:()=>O.e(7475).then(O.bind(O,87475)).then(e=>a(e.diff))}),n.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>O.e(4812).then(O.bind(O,34812)).then(e=>a(e.dockerFile))}),n.c6.of({name:"DTD",extensions:["dtd"],load:()=>O.e(6991).then(O.bind(O,76991)).then(e=>a(e.dtd))}),n.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>O.e(4144).then(O.bind(O,24144)).then(e=>a(e.dylan))}),n.c6.of({name:"EBNF",load:()=>O.e(2040).then(O.bind(O,82040)).then(e=>a(e.ebnf))}),n.c6.of({name:"ECL",extensions:["ecl"],load:()=>O.e(7315).then(O.bind(O,37315)).then(e=>a(e.ecl))}),n.c6.of({name:"edn",extensions:["edn"],load:()=>O.e(2406).then(O.bind(O,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"Eiffel",extensions:["e"],load:()=>O.e(7525).then(O.bind(O,87525)).then(e=>a(e.eiffel))}),n.c6.of({name:"Elm",extensions:["elm"],load:()=>O.e(8770).then(O.bind(O,28770)).then(e=>a(e.elm))}),n.c6.of({name:"Erlang",extensions:["erl"],load:()=>O.e(7590).then(O.bind(O,53482)).then(e=>a(e.erlang))}),n.c6.of({name:"Esper",load:()=>O.e(9607).then(O.bind(O,54050)).then(e=>a(e.esper))}),n.c6.of({name:"Factor",extensions:["factor"],load:()=>O.e(7001).then(O.bind(O,87001)).then(e=>a(e.factor))}),n.c6.of({name:"FCL",load:()=>O.e(7663).then(O.bind(O,77663)).then(e=>a(e.fcl))}),n.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>O.e(8393).then(O.bind(O,68393)).then(e=>a(e.forth))}),n.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>O.e(8283).then(O.bind(O,8283)).then(e=>a(e.fortran))}),n.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>O.e(6121).then(O.bind(O,96121)).then(e=>a(e.fSharp))}),n.c6.of({name:"Gas",extensions:["s"],load:()=>O.e(9781).then(O.bind(O,39781)).then(e=>a(e.gas))}),n.c6.of({name:"Gherkin",extensions:["feature"],load:()=>O.e(2542).then(O.bind(O,2542)).then(e=>a(e.gherkin))}),n.c6.of({name:"Go",extensions:["go"],load:()=>O.e(8910).then(O.bind(O,48910)).then(e=>a(e.go))}),n.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>O.e(3883).then(O.bind(O,23883)).then(e=>a(e.groovy))}),n.c6.of({name:"Haskell",extensions:["hs"],load:()=>O.e(5372).then(O.bind(O,95372)).then(e=>a(e.haskell))}),n.c6.of({name:"Haxe",extensions:["hx"],load:()=>O.e(3509).then(O.bind(O,63509)).then(e=>a(e.haxe))}),n.c6.of({name:"HXML",extensions:["hxml"],load:()=>O.e(3509).then(O.bind(O,63509)).then(e=>a(e.hxml))}),n.c6.of({name:"HTTP",load:()=>O.e(7558).then(O.bind(O,36395)).then(e=>a(e.http))}),n.c6.of({name:"IDL",extensions:["pro"],load:()=>O.e(2314).then(O.bind(O,22314)).then(e=>a(e.idl))}),n.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>O.e(9296).then(O.bind(O,59296)).then(e=>a(e.jsonld))}),n.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:()=>O.e(1084).then(O.bind(O,41084)).then(e=>a(e.jinja2))}),n.c6.of({name:"Julia",extensions:["jl"],load:()=>O.e(6092).then(O.bind(O,76092)).then(e=>a(e.julia))}),n.c6.of({name:"Kotlin",extensions:["kt"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.kotlin))}),n.c6.of({name:"LESS",extensions:["less"],load:()=>O.e(2136).then(O.bind(O,62136)).then(e=>a(e.less))}),n.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>O.e(402).then(O.bind(O,60402)).then(e=>a(e.liveScript))}),n.c6.of({name:"Lua",extensions:["lua"],load:()=>O.e(3519).then(O.bind(O,3519)).then(e=>a(e.lua))}),n.c6.of({name:"mIRC",extensions:["mrc"],load:()=>O.e(5134).then(O.bind(O,65134)).then(e=>a(e.mirc))}),n.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>O.e(7213).then(O.bind(O,37213)).then(e=>a(e.mathematica))}),n.c6.of({name:"Modelica",extensions:["mo"],load:()=>O.e(305).then(O.bind(O,40305)).then(e=>a(e.modelica))}),n.c6.of({name:"MUMPS",extensions:["mps"],load:()=>O.e(7988).then(O.bind(O,17988)).then(e=>a(e.mumps))}),n.c6.of({name:"Mbox",extensions:["mbox"],load:()=>O.e(9121).then(O.bind(O,29121)).then(e=>a(e.mbox))}),n.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>O.e(8561).then(O.bind(O,78561)).then(e=>a(e.nginx))}),n.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>O.e(7370).then(O.bind(O,67370)).then(e=>a(e.nsis))}),n.c6.of({name:"NTriples",extensions:["nt","nq"],load:()=>O.e(3314).then(O.bind(O,43314)).then(e=>a(e.ntriples))}),n.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.objectiveC))}),n.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.objectiveCpp))}),n.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>O.e(6121).then(O.bind(O,96121)).then(e=>a(e.oCaml))}),n.c6.of({name:"Octave",extensions:["m"],load:()=>O.e(3283).then(O.bind(O,33283)).then(e=>a(e.octave))}),n.c6.of({name:"Oz",extensions:["oz"],load:()=>O.e(4796).then(O.bind(O,94796)).then(e=>a(e.oz))}),n.c6.of({name:"Pascal",extensions:["p","pas"],load:()=>O.e(4163).then(O.bind(O,44163)).then(e=>a(e.pascal))}),n.c6.of({name:"Perl",extensions:["pl","pm"],load:()=>O.e(4293).then(O.bind(O,94293)).then(e=>a(e.perl))}),n.c6.of({name:"Pig",extensions:["pig"],load:()=>O.e(3482).then(O.bind(O,33482)).then(e=>a(e.pig))}),n.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>O.e(7421).then(O.bind(O,37421)).then(e=>a(e.powerShell))}),n.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>O.e(9071).then(O.bind(O,69071)).then(e=>a(e.properties))}),n.c6.of({name:"ProtoBuf",extensions:["proto"],load:()=>O.e(8142).then(O.bind(O,78142)).then(e=>a(e.protobuf))}),n.c6.of({name:"Puppet",extensions:["pp"],load:()=>O.e(3993).then(O.bind(O,83993)).then(e=>a(e.puppet))}),n.c6.of({name:"Q",extensions:["q"],load:()=>O.e(228).then(O.bind(O,10228)).then(e=>a(e.q))}),n.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>O.e(7365).then(O.bind(O,57365)).then(e=>a(e.r))}),n.c6.of({name:"RPM Changes",load:()=>O.e(8171).then(O.bind(O,48171)).then(e=>a(e.rpmChanges))}),n.c6.of({name:"RPM Spec",extensions:["spec"],load:()=>O.e(8171).then(O.bind(O,48171)).then(e=>a(e.rpmSpec))}),n.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load:()=>O.e(4439).then(O.bind(O,24439)).then(e=>a(e.ruby))}),n.c6.of({name:"SAS",extensions:["sas"],load:()=>O.e(1770).then(O.bind(O,1770)).then(e=>a(e.sas))}),n.c6.of({name:"Sass",extensions:["sass"],load:()=>O.e(9809).then(O.bind(O,49809)).then(e=>a(e.sass))}),n.c6.of({name:"Scala",extensions:["scala"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.scala))}),n.c6.of({name:"Scheme",extensions:["scm","ss"],load:()=>O.e(5879).then(O.bind(O,95879)).then(e=>a(e.scheme))}),n.c6.of({name:"SCSS",extensions:["scss"],load:()=>O.e(2136).then(O.bind(O,62136)).then(e=>a(e.sCSS))}),n.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>O.e(4879).then(O.bind(O,44879)).then(e=>a(e.shell))}),n.c6.of({name:"Sieve",extensions:["siv","sieve"],load:()=>O.e(9713).then(O.bind(O,9713)).then(e=>a(e.sieve))}),n.c6.of({name:"Smalltalk",extensions:["st"],load:()=>O.e(1873).then(O.bind(O,11873)).then(e=>a(e.smalltalk))}),n.c6.of({name:"Solr",load:()=>O.e(7762).then(O.bind(O,17762)).then(e=>a(e.solr))}),n.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>O.e(6121).then(O.bind(O,96121)).then(e=>a(e.sml))}),n.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>O.e(370).then(O.bind(O,70370)).then(e=>a(e.sparql))}),n.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>O.e(7601).then(O.bind(O,97601)).then(e=>a(e.spreadsheet))}),n.c6.of({name:"Squirrel",extensions:["nut"],load:()=>O.e(7917).then(O.bind(O,63821)).then(e=>a(e.squirrel))}),n.c6.of({name:"Stylus",extensions:["styl"],load:()=>O.e(8007).then(O.bind(O,28007)).then(e=>a(e.stylus))}),n.c6.of({name:"Swift",extensions:["swift"],load:()=>O.e(6062).then(O.bind(O,66062)).then(e=>a(e.swift))}),n.c6.of({name:"sTeX",load:()=>O.e(6732).then(O.bind(O,86732)).then(e=>a(e.stex))}),n.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>O.e(6732).then(O.bind(O,86732)).then(e=>a(e.stex))}),n.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>O.e(2119).then(O.bind(O,52119)).then(e=>a(e.verilog))}),n.c6.of({name:"Tcl",extensions:["tcl"],load:()=>O.e(3465).then(O.bind(O,43465)).then(e=>a(e.tcl))}),n.c6.of({name:"Textile",extensions:["textile"],load:()=>O.e(177).then(O.bind(O,90177)).then(e=>a(e.textile))}),n.c6.of({name:"TiddlyWiki",load:()=>O.e(4511).then(O.bind(O,34511)).then(e=>a(e.tiddlyWiki))}),n.c6.of({name:"Tiki wiki",load:()=>O.e(6471).then(O.bind(O,36471)).then(e=>a(e.tiki))}),n.c6.of({name:"TOML",extensions:["toml"],load:()=>O.e(6443).then(O.bind(O,96443)).then(e=>a(e.toml))}),n.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>O.e(1920).then(O.bind(O,71920)).then(e=>a(e.troff))}),n.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>O.e(6665).then(O.bind(O,66665)).then(e=>a(e.ttcn))}),n.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>O.e(9831).then(O.bind(O,29831)).then(e=>a(e.ttcnCfg))}),n.c6.of({name:"Turtle",extensions:["ttl"],load:()=>O.e(5815).then(O.bind(O,15815)).then(e=>a(e.turtle))}),n.c6.of({name:"Web IDL",extensions:["webidl"],load:()=>O.e(6692).then(O.bind(O,26692)).then(e=>a(e.webIDL))}),n.c6.of({name:"VB.NET",extensions:["vb"],load:()=>O.e(4212).then(O.bind(O,44212)).then(e=>a(e.vb))}),n.c6.of({name:"VBScript",extensions:["vbs"],load:()=>O.e(1650).then(O.bind(O,31650)).then(e=>a(e.vbScript))}),n.c6.of({name:"Velocity",extensions:["vtl"],load:()=>O.e(617).then(O.bind(O,90617)).then(e=>a(e.velocity))}),n.c6.of({name:"Verilog",extensions:["v"],load:()=>O.e(2119).then(O.bind(O,52119)).then(e=>a(e.verilog))}),n.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>O.e(5819).then(O.bind(O,5819)).then(e=>a(e.vhdl))}),n.c6.of({name:"XQuery",extensions:["xy","xquery"],load:()=>O.e(5753).then(O.bind(O,35753)).then(e=>a(e.xQuery))}),n.c6.of({name:"Yacas",extensions:["ys"],load:()=>O.e(9232).then(O.bind(O,69232)).then(e=>a(e.yacas))}),n.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>O.e(2877).then(O.bind(O,82877)).then(e=>a(e.yaml))}),n.c6.of({name:"Z80",extensions:["z80"],load:()=>O.e(1053).then(O.bind(O,21053)).then(e=>a(e.z80))}),n.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>O.e(758).then(O.bind(O,30758)).then(e=>a(e.mscgen))}),n.c6.of({name:"X\xf9",extensions:["xu"],load:()=>O.e(758).then(O.bind(O,30758)).then(e=>a(e.xu))}),n.c6.of({name:"MsGenny",extensions:["msgenny"],load:()=>O.e(758).then(O.bind(O,30758)).then(e=>a(e.msgenny))})]}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1938-540c13593ccef671.js b/static/web/_next/static/chunks/1938-c04d908728a12ddb.js similarity index 83% rename from static/web/_next/static/chunks/1938-540c13593ccef671.js rename to static/web/_next/static/chunks/1938-c04d908728a12ddb.js index 490d07d0e..a907e1646 100644 --- a/static/web/_next/static/chunks/1938-540c13593ccef671.js +++ b/static/web/_next/static/chunks/1938-c04d908728a12ddb.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1938],{25330:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"}},83647:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"}},57583:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 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.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 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-32z"}}]},name:"edit",theme:"outlined"}},29260:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"}},71961:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(79686))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},69427:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(52655))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},10775:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(58452))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},2936:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(73764))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},79686:function(e,t,n){var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42122)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=o?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(r,l,u):r[l]=e[l]}return r.default=e,n&&n.set(e,r),r}(n(67294)),u=r(n(25330)),i=r(n(92074));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var c=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:u.default}))};c.displayName="CheckOutlined";var d=l.forwardRef(c);t.default=d},52655:function(e,t,n){var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42122)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=o?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(r,l,u):r[l]=e[l]}return r.default=e,n&&n.set(e,r),r}(n(67294)),u=r(n(83647)),i=r(n(92074));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var c=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:u.default}))};c.displayName="CopyOutlined";var d=l.forwardRef(c);t.default=d},58452:function(e,t,n){var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42122)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=o?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(r,l,u):r[l]=e[l]}return r.default=e,n&&n.set(e,r),r}(n(67294)),u=r(n(57583)),i=r(n(92074));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var c=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:u.default}))};c.displayName="EditOutlined";var d=l.forwardRef(c);t.default=d},73764:function(e,t,n){var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42122)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=o?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(r,l,u):r[l]=e[l]}return r.default=e,n&&n.set(e,r),r}(n(67294)),u=r(n(29260)),i=r(n(92074));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var c=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:u.default}))};c.displayName="EnterOutlined";var d=l.forwardRef(c);t.default=d},24308:function(e,t,n){n.d(t,{c4:function(){return o}});var r=n(4942),a=n(87462),o=["xxl","xl","lg","md","sm","xs"],l={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,i=-1,f={};t.ZP={matchHandlers:{},dispatch:function(e){return f=e,u.forEach(function(e){return e(f)}),u.size>=1},subscribe:function(e){return u.size||this.register(),i+=1,u.set(i,e),e(f),i},unsubscribe:function(e){u.delete(e),u.size||this.unregister()},unregister:function(){var e=this;Object.keys(l).forEach(function(t){var n=l[t],r=e.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),u.clear()},register:function(){var e=this;Object.keys(l).forEach(function(t){var n=l[t],o=function(n){var o=n.matches;e.dispatch((0,a.Z)((0,a.Z)({},f),(0,r.Z)({},t,o)))},u=window.matchMedia(n);u.addListener(o),e.matchHandlers[n]={mql:u,listener:o},o(u)})}}},45471:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PresetStatusColorTypes=t.PresetColorTypes=void 0;var r=n(66764),a=(0,r.tuple)("success","processing","error","default","warning");t.PresetStatusColorTypes=a;var o=(0,r.tuple)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime");t.PresetColorTypes=o},53683:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionName=t.getTransitionDirection=t.default=void 0;var r=n(66764),a=function(){return{height:0,opacity:0}},o=function(e){return{height:e.scrollHeight,opacity:1}},l=function(e,t){return(null==t?void 0:t.deadline)===!0||"height"===t.propertyName};(0,r.tuple)("bottomLeft","bottomRight","topLeft","topRight"),t.getTransitionDirection=function(e){return void 0!==e&&("topLeft"===e||"topRight"===e)?"slide-down":"slide-up"},t.getTransitionName=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)},t.default={motionName:"ant-motion-collapse",onAppearStart:a,onEnterStart:a,onAppearActive:o,onEnterActive:o,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:a,onAppearEnd:l,onEnterEnd:l,onLeaveEnd:l,motionDeadline:500}},74132:function(e,t,n){var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.arrowWidth,n=void 0===t?4:t,r=e.horizontalArrowShift,l=void 0===r?16:r,u=e.verticalArrowShift,c=void 0===u?8:u,d=e.autoAdjustOverflow,s=e.arrowPointAtCenter,p={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(l+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(c+n)]},topRight:{points:["br","tc"],offset:[l+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(c+n)]},bottomRight:{points:["tr","bc"],offset:[l+n,4]},rightBottom:{points:["bl","cr"],offset:[4,c+n]},bottomLeft:{points:["tl","bc"],offset:[-(l+n),4]},leftBottom:{points:["br","cl"],offset:[-4,c+n]}};return Object.keys(p).forEach(function(e){p[e]=s?(0,a.default)((0,a.default)({},p[e]),{overflow:f(d),targetOffset:i}):(0,a.default)((0,a.default)({},o.placements[e]),{overflow:f(d)}),p[e].ignoreShake=!0}),p},t.getOverflowOptions=f;var a=r(n(10434)),o=n(24375),l={adjustX:1,adjustY:1},u={adjustX:0,adjustY:0},i=[0,0];function f(e){return"boolean"==typeof e?e?l:u:(0,a.default)((0,a.default)({},u),e)}},47419:function(e,t,n){var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElement=function(e,t){return l(e,e,t)},t.isFragment=function(e){return e&&o(e)&&e.type===a.Fragment},t.isValidElement=void 0,t.replaceElement=l;var a=r(n(67294)),o=a.isValidElement;function l(e,t,n){return o(e)?a.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}t.isValidElement=o},71434:function(e,t,n){var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getMergedStatus=void 0,t.getStatusClassNames=function(e,t,n){var r;return(0,o.default)((r={},(0,a.default)(r,"".concat(e,"-status-success"),"success"===t),(0,a.default)(r,"".concat(e,"-status-warning"),"warning"===t),(0,a.default)(r,"".concat(e,"-status-error"),"error"===t),(0,a.default)(r,"".concat(e,"-status-validating"),"validating"===t),(0,a.default)(r,"".concat(e,"-has-feedback"),n),r))};var a=r(n(38416)),o=r(n(94184));(0,n(66764).tuple)("warning","error",""),t.getMergedStatus=function(e,t){return t||e}},38882:function(e,t,n){var r,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.detectFlexGapSupported=t.canUseDocElement=void 0,Object.defineProperty(t,"isStyleSupport",{enumerable:!0,get:function(){return l.isStyleSupport}});var o=a(n(19158)),l=n(3481),u=function(){return(0,o.default)()&&window.document.documentElement};t.canUseDocElement=u,t.detectFlexGapSupported=function(){if(!u())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},60938:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(10434)),l=a(n(27712)),u=r(n(67294)),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},f={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},c=u.forwardRef(function(e,t){var n=e.style,r=e.noStyle,a=e.disabled,c=i(e,["style","noStyle","disabled"]),d={};return r||(d=(0,o.default)({},f)),a&&(d.pointerEvents="none"),d=(0,o.default)((0,o.default)({},d),n),u.createElement("div",(0,o.default)({role:"button",tabIndex:0,ref:t},c,{onKeyDown:function(e){e.keyCode===l.default.ENTER&&e.preventDefault()},onKeyUp:function(t){var n=t.keyCode,r=e.onClick;n===l.default.ENTER&&r&&r()},style:d}))});t.default=c},66764:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.tupleNum=t.tuple=void 0,t.tuple=function(){for(var e=arguments.length,t=Array(e),n=0;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},C=(0,s.forwardRef)(function(e,t){var n,r,a,C,x=e.prefixCls,_=e.bordered,S=void 0===_||_,w=e.status,N=e.size,P=e.disabled,M=e.onBlur,j=e.onFocus,R=e.suffix,I=e.allowClear,A=e.addonAfter,T=e.addonBefore,k=e.className,L=e.onChange,F=h(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),U=s.default.useContext(p.ConfigContext),D=U.getPrefixCls,H=U.direction,z=U.input,W=D("input",x),K=(0,s.useRef)(null),B=(0,g.useCompactItemContext)(W,H),V=B.compactSize,G=B.compactItemClassnames,Z=s.default.useContext(m.default),Q=V||N||Z,Y=s.default.useContext(v.default),X=(0,s.useContext)(y.FormItemInputContext),q=X.status,J=X.hasFeedback,$=X.feedbackIcon,ee=(0,b.getMergedStatus)(q,w),et=(0,O.hasPrefixSuffix)(e)||!!J,en=(0,s.useRef)(et);(0,s.useEffect)(function(){et&&en.current,en.current=et},[et]);var er=(0,E.default)(K,!0),ea=(J||R)&&s.default.createElement(s.default.Fragment,null,R,J&&$);return"object"===(0,u.default)(I)&&(null==I?void 0:I.clearIcon)?C=I:I&&(C={clearIcon:s.default.createElement(i.default,null)}),s.default.createElement(c.default,(0,l.default)({ref:(0,d.composeRef)(t,K),prefixCls:W,autoComplete:null==z?void 0:z.autoComplete},F,{disabled:(null!=P?P:Y)||void 0,onBlur:function(e){er(),null==M||M(e)},onFocus:function(e){er(),null==j||j(e)},suffix:ea,allowClear:C,className:(0,f.default)(k,G),onChange:function(e){er(),null==L||L(e)},addonAfter:A&&s.default.createElement(g.NoCompactStyle,null,s.default.createElement(y.NoFormStyle,{override:!0,status:!0},A)),addonBefore:T&&s.default.createElement(g.NoCompactStyle,null,s.default.createElement(y.NoFormStyle,{override:!0,status:!0},T)),inputClassName:(0,f.default)((n={},(0,o.default)(n,"".concat(W,"-sm"),"small"===Q),(0,o.default)(n,"".concat(W,"-lg"),"large"===Q),(0,o.default)(n,"".concat(W,"-rtl"),"rtl"===H),(0,o.default)(n,"".concat(W,"-borderless"),!S),n),!et&&(0,b.getStatusClassNames)(W,ee)),affixWrapperClassName:(0,f.default)((r={},(0,o.default)(r,"".concat(W,"-affix-wrapper-sm"),"small"===Q),(0,o.default)(r,"".concat(W,"-affix-wrapper-lg"),"large"===Q),(0,o.default)(r,"".concat(W,"-affix-wrapper-rtl"),"rtl"===H),(0,o.default)(r,"".concat(W,"-affix-wrapper-borderless"),!S),r),(0,b.getStatusClassNames)("".concat(W,"-affix-wrapper"),ee,J)),wrapperClassName:(0,f.default)((0,o.default)({},"".concat(W,"-group-rtl"),"rtl"===H)),groupClassName:(0,f.default)((a={},(0,o.default)(a,"".concat(W,"-group-wrapper-sm"),"small"===Q),(0,o.default)(a,"".concat(W,"-group-wrapper-lg"),"large"===Q),(0,o.default)(a,"".concat(W,"-group-wrapper-rtl"),"rtl"===H),a),(0,b.getStatusClassNames)("".concat(W,"-group-wrapper"),ee,J))}))});t.default=C},14104:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(18698)),l=a(n(38416)),u=a(n(10434)),i=a(n(27424)),f=a(n(861)),c=a(n(94184)),d=a(n(57239)),s=a(n(60869)),p=a(n(18475)),v=r(n(67294)),m=n(31929),y=a(n(93319)),g=a(n(3236)),b=n(51130),E=n(71434),O=a(n(67434)),h=n(10815),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function x(e,t){return(0,f.default)(e||"").slice(0,t).join("")}function _(e,t,n,r){var a=n;return e?a=x(n,r):(0,f.default)(t||"").lengthr&&(a=t),a}var S=v.forwardRef(function(e,t){var n=e.prefixCls,r=e.bordered,a=void 0===r||r,S=e.showCount,w=void 0!==S&&S,N=e.maxLength,P=e.className,M=e.style,j=e.size,R=e.disabled,I=e.onCompositionStart,A=e.onCompositionEnd,T=e.onChange,k=e.status,L=C(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),F=v.useContext(m.ConfigContext),U=F.getPrefixCls,D=F.direction,H=v.useContext(g.default),z=v.useContext(y.default),W=null!=R?R:z,K=v.useContext(b.FormItemInputContext),B=K.status,V=K.hasFeedback,G=K.isFormItemInput,Z=K.feedbackIcon,Q=(0,E.getMergedStatus)(B,k),Y=v.useRef(null),X=v.useRef(null),q=v.useState(!1),J=(0,i.default)(q,2),$=J[0],ee=J[1],et=v.useRef(),en=v.useRef(0),er=(0,s.default)(L.defaultValue,{value:L.value}),ea=(0,i.default)(er,2),eo=ea[0],el=ea[1],eu=L.hidden,ei=function(e,t){void 0===L.value&&(el(e),null==t||t())},ef=Number(N)>0,ec=U("input",n);v.useImperativeHandle(t,function(){var e;return{resizableTextArea:null===(e=Y.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,h.triggerFocus)(null===(n=null===(t=Y.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=Y.current)||void 0===e?void 0:e.blur()}}});var ed=v.createElement(d.default,(0,u.default)({},(0,p.default)(L,["allowClear"]),{disabled:W,className:(0,c.default)((ev={},(0,l.default)(ev,"".concat(ec,"-borderless"),!a),(0,l.default)(ev,P,P&&!w),(0,l.default)(ev,"".concat(ec,"-sm"),"small"===H||"small"===j),(0,l.default)(ev,"".concat(ec,"-lg"),"large"===H||"large"===j),ev),(0,E.getStatusClassNames)(ec,Q)),style:w?{resize:null==M?void 0:M.resize}:M,prefixCls:ec,onCompositionStart:function(e){ee(!0),et.current=eo,en.current=e.currentTarget.selectionStart,null==I||I(e)},onChange:function(e){var t=e.target.value;!$&&ef&&(t=_(e.target.selectionStart>=N+1||e.target.selectionStart===t.length||!e.target.selectionStart,eo,t,N)),ei(t),(0,h.resolveOnChange)(e.currentTarget,e,T,t)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;ef&&(n=_(en.current>=N+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,N)),n!==eo&&(ei(n),(0,h.resolveOnChange)(e.currentTarget,e,T,n)),null==A||A(e)},ref:Y})),es=(0,h.fixControlledValue)(eo);!$&&ef&&(null===L.value||void 0===L.value)&&(es=x(es,N));var ep=v.createElement(O.default,(0,u.default)({disabled:W},L,{prefixCls:ec,direction:D,inputType:"text",value:es,element:ed,handleReset:function(e){var t,n,r;ei(""),null===(t=Y.current)||void 0===t||t.focus(),(0,h.resolveOnChange)(null===(r=null===(n=Y.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,T)},ref:X,bordered:a,status:k,style:w?void 0:M}));if(w||V){var ev,em,ey=(0,f.default)(es).length,eg="";return eg="object"===(0,o.default)(w)?w.formatter({value:es,count:ey,maxLength:N}):"".concat(ey).concat(ef?" / ".concat(N):""),v.createElement("div",{hidden:eu,className:(0,c.default)("".concat(ec,"-textarea"),(em={},(0,l.default)(em,"".concat(ec,"-textarea-rtl"),"rtl"===D),(0,l.default)(em,"".concat(ec,"-textarea-show-count"),w),(0,l.default)(em,"".concat(ec,"-textarea-in-form-item"),G),em),(0,E.getStatusClassNames)("".concat(ec,"-textarea"),Q,V),P),style:M,"data-count":eg},ep,V&&v.createElement("span",{className:"".concat(ec,"-textarea-suffix")},Z))}return ep});t.default=S},81722:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.useRef)([]),a=function(){n.current.push(setTimeout(function(){var t,n,r,a;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(a=e.current)||void 0===a||a.input.removeAttribute("value"))}))};return(0,r.useEffect)(function(){return t&&a(),function(){return n.current.forEach(function(e){e&&clearTimeout(e)})}},[]),a};var r=n(67294)},36714:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hasPrefixSuffix=function(e){return!!(e.prefix||e.suffix||e.allowClear)}},46549:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.useCompactItemContext=t.default=t.SpaceCompactItemContext=t.NoCompactStyle=void 0;var o=a(n(10434)),l=a(n(38416)),u=a(n(94184)),i=a(n(45598)),f=r(n(67294)),c=n(31929),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},s=f.createContext(null);t.SpaceCompactItemContext=s,t.useCompactItemContext=function(e,t){var n=f.useContext(s),r=f.useMemo(function(){if(!n)return"";var r,a=n.compactDirection,o=n.isFirstItem,i=n.isLastItem,f="vertical"===a?"-vertical-":"-";return(0,u.default)((r={},(0,l.default)(r,"".concat(e,"-compact").concat(f,"item"),!0),(0,l.default)(r,"".concat(e,"-compact").concat(f,"first-item"),o),(0,l.default)(r,"".concat(e,"-compact").concat(f,"last-item"),i),(0,l.default)(r,"".concat(e,"-compact").concat(f,"item-rtl"),"rtl"===t),r))},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},t.NoCompactStyle=function(e){var t=e.children;return f.createElement(s.Provider,{value:null},t)};var p=function(e){var t=e.children,n=d(e,["children"]);return f.createElement(s.Provider,{value:n},t)};t.default=function(e){var t,n=f.useContext(c.ConfigContext),r=n.getPrefixCls,a=n.direction,v=e.size,m=void 0===v?"middle":v,y=e.direction,g=e.block,b=e.prefixCls,E=e.className,O=e.children,h=d(e,["size","direction","block","prefixCls","className","children"]),C=r("space-compact",b),x=(0,u.default)(C,(t={},(0,l.default)(t,"".concat(C,"-rtl"),"rtl"===a),(0,l.default)(t,"".concat(C,"-block"),g),(0,l.default)(t,"".concat(C,"-vertical"),"vertical"===y),t),E),_=f.useContext(s),S=(0,i.default)(O),w=f.useMemo(function(){return S.map(function(e,t){var n=e&&e.key||"".concat(C,"-item-").concat(t);return f.createElement(p,{key:n,compactSize:m,compactDirection:y,isFirstItem:0===t&&(!_||(null==_?void 0:_.isFirstItem)),isLastItem:t===S.length-1&&(!_||(null==_?void 0:_.isLastItem))},e)})},[m,S,_]);return 0===S.length?null:f.createElement("div",(0,o.default)({className:x},h),w)}},94055:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(38416)),l=a(n(27424)),u=a(n(10434)),i=a(n(94184)),f=a(n(43763)),c=a(n(60869)),d=r(n(67294)),s=n(31929),p=n(45471),v=n(53683),m=a(n(74132)),y=n(47419);a(n(13594));var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},b=function(e,t){var n={},r=(0,u.default)({},e);return t.forEach(function(t){e&&t in e&&(n[t]=e[t],delete r[t])}),{picked:n,omitted:r}},E=RegExp("^(".concat(p.PresetColorTypes.join("|"),")(-inverse)?$")),O=d.forwardRef(function(e,t){var n,r,a,p=d.useContext(s.ConfigContext),O=p.getPopupContainer,h=p.getPrefixCls,C=p.direction,x=(0,c.default)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),_=(0,l.default)(x,2),S=_[0],w=_[1],N=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},P=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||(0,m.default)({arrowPointAtCenter:void 0!==n&&n,autoAdjustOverflow:void 0===r||r})},M=e.getPopupContainer,j=e.placement,R=e.mouseEnterDelay,I=e.mouseLeaveDelay,A=g(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay"]),T=e.prefixCls,k=e.openClassName,L=e.getTooltipContainer,F=e.overlayClassName,U=e.color,D=e.overlayInnerStyle,H=e.children,z=h("tooltip",T),W=h(),K=S;!("open"in e)&&!("visible"in e)&&N()&&(K=!1);var B=function(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){var r=b(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),a=r.picked,o=r.omitted,l=(0,u.default)((0,u.default)({display:"inline-block"},a),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),f=(0,u.default)((0,u.default)({},o),{pointerEvents:"none"}),c=(0,y.cloneElement)(e,{style:f,className:null});return d.createElement("span",{style:l,className:(0,i.default)(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},c)}return e}((0,y.isValidElement)(H)&&!(0,y.isFragment)(H)?H:d.createElement("span",null,H),z),V=B.props,G=V.className&&"string"!=typeof V.className?V.className:(0,i.default)(V.className,(0,o.default)({},k||"".concat(z,"-open"),!0)),Z=(0,i.default)(F,(a={},(0,o.default)(a,"".concat(z,"-rtl"),"rtl"===C),(0,o.default)(a,"".concat(z,"-").concat(U),U&&E.test(U)),a)),Q=D,Y={};return U&&!E.test(U)&&(Q=(0,u.default)((0,u.default)({},D),{background:U}),Y={"--antd-arrow-background-color":U}),d.createElement(f.default,(0,u.default)({},A,{placement:void 0===j?"top":j,mouseEnterDelay:void 0===R?.1:R,mouseLeaveDelay:void 0===I?.1:I,prefixCls:z,overlayClassName:Z,getTooltipContainer:M||L||O,ref:t,builtinPlacements:P(),overlay:(n=e.title,r=e.overlay,0===n?n:r||n||""),visible:K,onVisibleChange:function(t){var n,r;w(!N()&&t),N()||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},onPopupAlign:function(e,t){var n=P(),r=Object.keys(n).find(function(e){var r,a;return n[e].points[0]===(null===(r=t.points)||void 0===r?void 0:r[0])&&n[e].points[1]===(null===(a=t.points)||void 0===a?void 0:a[1])});if(r){var a=e.getBoundingClientRect(),o={top:"50%",left:"50%"};/top|Bottom/.test(r)?o.top="".concat(a.height-t.offset[1],"px"):/Top|bottom/.test(r)&&(o.top="".concat(-t.offset[1],"px")),/left|Right/.test(r)?o.left="".concat(a.width-t.offset[0],"px"):/right|Left/.test(r)&&(o.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(o.left," ").concat(o.top)}},overlayInnerStyle:Q,arrowContent:d.createElement("span",{className:"".concat(z,"-arrow-content"),style:Y}),motion:{motionName:(0,v.getTransitionName)(W,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),K?(0,y.cloneElement)(B,{className:G}):B)});t.default=O},12385:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(10434)),l=a(n(27424)),u=a(n(18698)),i=a(n(45598)),f=a(n(82546)),c=r(n(67294));function d(e){var t=(0,u.default)(e);return"string"===t||"number"===t}function s(e,t){for(var n=0,r=[],a=0;at){var u=t-n;return r.push(String(o).slice(0,u)),r}r.push(o),n=l}return e}t.default=function(e){var t=e.enabledMeasure,n=e.children,r=e.text,a=e.width,u=e.fontSize,p=e.rows,v=e.onEllipsis,m=c.useState([0,0,0]),y=(0,l.default)(m,2),g=(0,l.default)(y[0],3),b=g[0],E=g[1],O=g[2],h=y[1],C=c.useState(0),x=(0,l.default)(C,2),_=x[0],S=x[1],w=c.useState(0),N=(0,l.default)(w,2),P=N[0],M=N[1],j=c.useRef(null),R=c.useRef(null),I=c.useMemo(function(){return(0,i.default)(r)},[r]),A=c.useMemo(function(){var e;return e=0,I.forEach(function(t){d(t)?e+=String(t).length:e+=1}),e},[I]),T=c.useMemo(function(){return t&&3===_?n(s(I,E),Et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function A(e,t,n){return!0===e||void 0===e?t:e||n&&t}function T(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}var k=O.forwardRef(function(e,t){var n,r,a,k=e.prefixCls,L=e.className,F=e.style,U=e.type,D=e.disabled,H=e.children,z=e.ellipsis,W=e.editable,K=e.copyable,B=e.component,V=e.title,G=I(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),Z=O.useContext(h.ConfigContext),Q=Z.getPrefixCls,Y=Z.direction,X=(0,C.useLocaleReceiver)("Text")[0],q=O.useRef(null),J=O.useRef(null),$=Q("typography",k),ee=(0,b.default)(G,["mark","code","delete","underline","strong","keyboard","italic"]),et=(0,N.default)(W),en=(0,i.default)(et,2),er=en[0],ea=en[1],eo=(0,g.default)(!1,{value:ea.editing}),el=(0,i.default)(eo,2),eu=el[0],ei=el[1],ef=ea.triggerType,ec=void 0===ef?["icon"]:ef,ed=function(e){var t;e&&(null===(t=ea.onStart)||void 0===t||t.call(ea)),ei(e)};(0,P.default)(function(){var e;eu||null===(e=J.current)||void 0===e||e.focus()},[eu]);var es=function(e){null==e||e.preventDefault(),ed(!0)},ep=(0,N.default)(K),ev=(0,i.default)(ep,2),em=ev[0],ey=ev[1],eg=O.useState(!1),eb=(0,i.default)(eg,2),eE=eb[0],eO=eb[1],eh=O.useRef(),eC={};ey.format&&(eC.format=ey.format);var ex=function(){window.clearTimeout(eh.current)},e_=function(e){var t;null==e||e.preventDefault(),null==e||e.stopPropagation(),(0,p.default)(ey.text||String(H)||"",eC),eO(!0),ex(),eh.current=window.setTimeout(function(){eO(!1)},3e3),null===(t=ey.onCopy)||void 0===t||t.call(ey,e)};O.useEffect(function(){return ex},[]);var eS=O.useState(!1),ew=(0,i.default)(eS,2),eN=ew[0],eP=ew[1],eM=O.useState(!1),ej=(0,i.default)(eM,2),eR=ej[0],eI=ej[1],eA=O.useState(!1),eT=(0,i.default)(eA,2),ek=eT[0],eL=eT[1],eF=O.useState(!1),eU=(0,i.default)(eF,2),eD=eU[0],eH=eU[1],ez=O.useState(!1),eW=(0,i.default)(ez,2),eK=eW[0],eB=eW[1],eV=O.useState(!0),eG=(0,i.default)(eV,2),eZ=eG[0],eQ=eG[1],eY=(0,N.default)(z,{expandable:!1}),eX=(0,i.default)(eY,2),eq=eX[0],eJ=eX[1],e$=eq&&!ek,e0=eJ.rows,e1=void 0===e0?1:e0,e4=O.useMemo(function(){return!e$||void 0!==eJ.suffix||eJ.onEllipsis||eJ.expandable||er||em},[e$,eJ,er,em]);(0,y.default)(function(){eq&&!e4&&(eP((0,_.isStyleSupport)("webkitLineClamp")),eI((0,_.isStyleSupport)("textOverflow")))},[e4,eq]);var e2=O.useMemo(function(){return!e4&&(1===e1?eR:eN)},[e4,eR,eN]),e6=e$&&(e2?eK:eD),e3=e$&&1===e1&&e2,e8=e$&&e1>1&&e2,e7=function(e){var t;eL(!0),null===(t=eJ.onExpand)||void 0===t||t.call(eJ,e)},e9=O.useState(0),e5=(0,i.default)(e9,2),te=e5[0],tt=e5[1],tn=O.useState(0),tr=(0,i.default)(tn,2),ta=tr[0],to=tr[1],tl=function(e){var t;eH(e),eD!==e&&(null===(t=eJ.onEllipsis)||void 0===t||t.call(eJ,e))};O.useEffect(function(){var e=q.current;if(eq&&e2&&e){var t=e8?e.offsetHeightt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},c=(0,u.tupleNum)(1,2,3,4,5),d=l.forwardRef(function(e,t){var n,r=e.level,a=void 0===r?1:r,u=f(e,["level"]);return n=c.includes(a)?"h".concat(a):"h1",l.createElement(i.default,(0,o.default)({ref:t},u,{component:n}))});t.Z=d},89652:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(10434)),l=a(n(38416)),u=a(n(94184)),i=n(75531),f=r(n(67294)),c=n(31929);a(n(13594));var d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},s=f.forwardRef(function(e,t){var n=e.prefixCls,r=e.component,a=e.className,s=e.setContentRef,p=e.children,v=e.direction,m=d(e,["prefixCls","component","className","setContentRef","children","direction"]),y=f.useContext(c.ConfigContext),g=y.getPrefixCls,b=y.direction,E=t;s&&(E=(0,i.composeRef)(t,s));var O=g("typography",n),h=(0,u.default)(O,(0,l.default)({},"".concat(O,"-rtl"),"rtl"===(null!=v?v:b)),a);return f.createElement(void 0===r?"article":r,(0,o.default)({className:h,ref:E},m),p)});t.default=s},92759:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return u.useMemo(function(){var n=!!e;return[n,(0,l.default)((0,l.default)({},t),n&&"object"===(0,o.default)(e)?e:null)]},[e])};var o=a(n(18698)),l=a(n(10434)),u=r(n(67294))},67312:function(e,t,n){var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294));t.default=function(e,t){var n=a.useRef(!1);a.useEffect(function(){n.current?e():n.current=!0},t)}},24375:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.placements=void 0;var n={adjustX:1,adjustY:1},r=[0,0],a={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:r},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:r},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:r},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:r},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:r},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:r},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:r},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:r},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:r},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:r},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:r},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:r}};t.placements=a,t.default=a},45598:function(e,t,n){var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return a.default.Children.forEach(t,function(t){(null!=t||n.keepEmpty)&&(Array.isArray(t)?r=r.concat(e(t)):(0,o.isFragment)(t)&&t.props?r=r.concat(e(t.props.children,n)):r.push(t))}),r};var a=r(n(67294)),o=n(11805)},3481:function(e,t,n){var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.isStyleSupport=function(e,t){return Array.isArray(e)||void 0===t?o(e):l(e,t)};var a=r(n(19158)),o=function(e){if((0,a.default)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},l=function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}},27712:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={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>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE||e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY||e>=n.A&&e<=n.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.default=n},18545:function(e,t,n){var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=a.useRef();return t.current=e,a.useCallback(function(){for(var e,n=arguments.length,r=Array(n),a=0;a=1},subscribe:function(e){return u.size||this.register(),i+=1,u.set(i,e),e(f),i},unsubscribe:function(e){u.delete(e),u.size||this.unregister()},unregister:function(){var e=this;Object.keys(l).forEach(function(t){var n=l[t],r=e.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),u.clear()},register:function(){var e=this;Object.keys(l).forEach(function(t){var n=l[t],o=function(n){var o=n.matches;e.dispatch((0,a.Z)((0,a.Z)({},f),(0,r.Z)({},t,o)))},u=window.matchMedia(n);u.addListener(o),e.matchHandlers[n]={mql:u,listener:o},o(u)})}}},45471:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PresetStatusColorTypes=t.PresetColorTypes=void 0;var r=n(66764),a=(0,r.tuple)("success","processing","error","default","warning");t.PresetStatusColorTypes=a;var o=(0,r.tuple)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime");t.PresetColorTypes=o},53683:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionName=t.getTransitionDirection=t.default=void 0;var r=n(66764),a=function(){return{height:0,opacity:0}},o=function(e){return{height:e.scrollHeight,opacity:1}},l=function(e,t){return(null==t?void 0:t.deadline)===!0||"height"===t.propertyName};(0,r.tuple)("bottomLeft","bottomRight","topLeft","topRight"),t.getTransitionDirection=function(e){return void 0!==e&&("topLeft"===e||"topRight"===e)?"slide-down":"slide-up"},t.getTransitionName=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)},t.default={motionName:"ant-motion-collapse",onAppearStart:a,onEnterStart:a,onAppearActive:o,onEnterActive:o,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:a,onAppearEnd:l,onEnterEnd:l,onLeaveEnd:l,motionDeadline:500}},74132:function(e,t,n){var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.arrowWidth,n=void 0===t?4:t,r=e.horizontalArrowShift,l=void 0===r?16:r,u=e.verticalArrowShift,c=void 0===u?8:u,d=e.autoAdjustOverflow,s=e.arrowPointAtCenter,p={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(l+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(c+n)]},topRight:{points:["br","tc"],offset:[l+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(c+n)]},bottomRight:{points:["tr","bc"],offset:[l+n,4]},rightBottom:{points:["bl","cr"],offset:[4,c+n]},bottomLeft:{points:["tl","bc"],offset:[-(l+n),4]},leftBottom:{points:["br","cl"],offset:[-4,c+n]}};return Object.keys(p).forEach(function(e){p[e]=s?(0,a.default)((0,a.default)({},p[e]),{overflow:f(d),targetOffset:i}):(0,a.default)((0,a.default)({},o.placements[e]),{overflow:f(d)}),p[e].ignoreShake=!0}),p},t.getOverflowOptions=f;var a=r(n(10434)),o=n(24375),l={adjustX:1,adjustY:1},u={adjustX:0,adjustY:0},i=[0,0];function f(e){return"boolean"==typeof e?e?l:u:(0,a.default)((0,a.default)({},u),e)}},47419:function(e,t,n){var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElement=function(e,t){return l(e,e,t)},t.isFragment=function(e){return e&&o(e)&&e.type===a.Fragment},t.isValidElement=void 0,t.replaceElement=l;var a=r(n(67294)),o=a.isValidElement;function l(e,t,n){return o(e)?a.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}t.isValidElement=o},71434:function(e,t,n){var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getMergedStatus=void 0,t.getStatusClassNames=function(e,t,n){var r;return(0,o.default)((r={},(0,a.default)(r,"".concat(e,"-status-success"),"success"===t),(0,a.default)(r,"".concat(e,"-status-warning"),"warning"===t),(0,a.default)(r,"".concat(e,"-status-error"),"error"===t),(0,a.default)(r,"".concat(e,"-status-validating"),"validating"===t),(0,a.default)(r,"".concat(e,"-has-feedback"),n),r))};var a=r(n(38416)),o=r(n(94184));(0,n(66764).tuple)("warning","error",""),t.getMergedStatus=function(e,t){return t||e}},38882:function(e,t,n){var r,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.detectFlexGapSupported=t.canUseDocElement=void 0,Object.defineProperty(t,"isStyleSupport",{enumerable:!0,get:function(){return l.isStyleSupport}});var o=a(n(19158)),l=n(3481),u=function(){return(0,o.default)()&&window.document.documentElement};t.canUseDocElement=u,t.detectFlexGapSupported=function(){if(!u())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},60938:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(10434)),l=a(n(27712)),u=r(n(67294)),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},f={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},c=u.forwardRef(function(e,t){var n=e.style,r=e.noStyle,a=e.disabled,c=i(e,["style","noStyle","disabled"]),d={};return r||(d=(0,o.default)({},f)),a&&(d.pointerEvents="none"),d=(0,o.default)((0,o.default)({},d),n),u.createElement("div",(0,o.default)({role:"button",tabIndex:0,ref:t},c,{onKeyDown:function(e){e.keyCode===l.default.ENTER&&e.preventDefault()},onKeyUp:function(t){var n=t.keyCode,r=e.onClick;n===l.default.ENTER&&r&&r()},style:d}))});t.default=c},66764:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.tupleNum=t.tuple=void 0,t.tuple=function(){for(var e=arguments.length,t=Array(e),n=0;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},C=(0,s.forwardRef)(function(e,t){var n,r,a,C,x=e.prefixCls,_=e.bordered,S=void 0===_||_,w=e.status,N=e.size,P=e.disabled,M=e.onBlur,j=e.onFocus,I=e.suffix,R=e.allowClear,A=e.addonAfter,T=e.addonBefore,k=e.className,L=e.onChange,F=O(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),U=s.default.useContext(p.ConfigContext),D=U.getPrefixCls,H=U.direction,z=U.input,W=D("input",x),K=(0,s.useRef)(null),B=(0,g.useCompactItemContext)(W,H),V=B.compactSize,G=B.compactItemClassnames,Z=s.default.useContext(m.default),Q=V||N||Z,Y=s.default.useContext(v.default),X=(0,s.useContext)(y.FormItemInputContext),q=X.status,J=X.hasFeedback,$=X.feedbackIcon,ee=(0,b.getMergedStatus)(q,w),et=(0,h.hasPrefixSuffix)(e)||!!J,en=(0,s.useRef)(et);(0,s.useEffect)(function(){et&&en.current,en.current=et},[et]);var er=(0,E.default)(K,!0),ea=(J||I)&&s.default.createElement(s.default.Fragment,null,I,J&&$);return"object"===(0,u.default)(R)&&(null==R?void 0:R.clearIcon)?C=R:R&&(C={clearIcon:s.default.createElement(i.default,null)}),s.default.createElement(c.default,(0,l.default)({ref:(0,d.composeRef)(t,K),prefixCls:W,autoComplete:null==z?void 0:z.autoComplete},F,{disabled:(null!=P?P:Y)||void 0,onBlur:function(e){er(),null==M||M(e)},onFocus:function(e){er(),null==j||j(e)},suffix:ea,allowClear:C,className:(0,f.default)(k,G),onChange:function(e){er(),null==L||L(e)},addonAfter:A&&s.default.createElement(g.NoCompactStyle,null,s.default.createElement(y.NoFormStyle,{override:!0,status:!0},A)),addonBefore:T&&s.default.createElement(g.NoCompactStyle,null,s.default.createElement(y.NoFormStyle,{override:!0,status:!0},T)),inputClassName:(0,f.default)((n={},(0,o.default)(n,"".concat(W,"-sm"),"small"===Q),(0,o.default)(n,"".concat(W,"-lg"),"large"===Q),(0,o.default)(n,"".concat(W,"-rtl"),"rtl"===H),(0,o.default)(n,"".concat(W,"-borderless"),!S),n),!et&&(0,b.getStatusClassNames)(W,ee)),affixWrapperClassName:(0,f.default)((r={},(0,o.default)(r,"".concat(W,"-affix-wrapper-sm"),"small"===Q),(0,o.default)(r,"".concat(W,"-affix-wrapper-lg"),"large"===Q),(0,o.default)(r,"".concat(W,"-affix-wrapper-rtl"),"rtl"===H),(0,o.default)(r,"".concat(W,"-affix-wrapper-borderless"),!S),r),(0,b.getStatusClassNames)("".concat(W,"-affix-wrapper"),ee,J)),wrapperClassName:(0,f.default)((0,o.default)({},"".concat(W,"-group-rtl"),"rtl"===H)),groupClassName:(0,f.default)((a={},(0,o.default)(a,"".concat(W,"-group-wrapper-sm"),"small"===Q),(0,o.default)(a,"".concat(W,"-group-wrapper-lg"),"large"===Q),(0,o.default)(a,"".concat(W,"-group-wrapper-rtl"),"rtl"===H),a),(0,b.getStatusClassNames)("".concat(W,"-group-wrapper"),ee,J))}))});t.default=C},14104:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(18698)),l=a(n(38416)),u=a(n(10434)),i=a(n(27424)),f=a(n(861)),c=a(n(94184)),d=a(n(57239)),s=a(n(60869)),p=a(n(18475)),v=r(n(67294)),m=n(31929),y=a(n(93319)),g=a(n(3236)),b=n(51130),E=n(71434),h=a(n(67434)),O=n(10815),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function x(e,t){return(0,f.default)(e||"").slice(0,t).join("")}function _(e,t,n,r){var a=n;return e?a=x(n,r):(0,f.default)(t||"").lengthr&&(a=t),a}var S=v.forwardRef(function(e,t){var n=e.prefixCls,r=e.bordered,a=void 0===r||r,S=e.showCount,w=void 0!==S&&S,N=e.maxLength,P=e.className,M=e.style,j=e.size,I=e.disabled,R=e.onCompositionStart,A=e.onCompositionEnd,T=e.onChange,k=e.status,L=C(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),F=v.useContext(m.ConfigContext),U=F.getPrefixCls,D=F.direction,H=v.useContext(g.default),z=v.useContext(y.default),W=null!=I?I:z,K=v.useContext(b.FormItemInputContext),B=K.status,V=K.hasFeedback,G=K.isFormItemInput,Z=K.feedbackIcon,Q=(0,E.getMergedStatus)(B,k),Y=v.useRef(null),X=v.useRef(null),q=v.useState(!1),J=(0,i.default)(q,2),$=J[0],ee=J[1],et=v.useRef(),en=v.useRef(0),er=(0,s.default)(L.defaultValue,{value:L.value}),ea=(0,i.default)(er,2),eo=ea[0],el=ea[1],eu=L.hidden,ei=function(e,t){void 0===L.value&&(el(e),null==t||t())},ef=Number(N)>0,ec=U("input",n);v.useImperativeHandle(t,function(){var e;return{resizableTextArea:null===(e=Y.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,O.triggerFocus)(null===(n=null===(t=Y.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=Y.current)||void 0===e?void 0:e.blur()}}});var ed=v.createElement(d.default,(0,u.default)({},(0,p.default)(L,["allowClear"]),{disabled:W,className:(0,c.default)((ev={},(0,l.default)(ev,"".concat(ec,"-borderless"),!a),(0,l.default)(ev,P,P&&!w),(0,l.default)(ev,"".concat(ec,"-sm"),"small"===H||"small"===j),(0,l.default)(ev,"".concat(ec,"-lg"),"large"===H||"large"===j),ev),(0,E.getStatusClassNames)(ec,Q)),style:w?{resize:null==M?void 0:M.resize}:M,prefixCls:ec,onCompositionStart:function(e){ee(!0),et.current=eo,en.current=e.currentTarget.selectionStart,null==R||R(e)},onChange:function(e){var t=e.target.value;!$&&ef&&(t=_(e.target.selectionStart>=N+1||e.target.selectionStart===t.length||!e.target.selectionStart,eo,t,N)),ei(t),(0,O.resolveOnChange)(e.currentTarget,e,T,t)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;ef&&(n=_(en.current>=N+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,N)),n!==eo&&(ei(n),(0,O.resolveOnChange)(e.currentTarget,e,T,n)),null==A||A(e)},ref:Y})),es=(0,O.fixControlledValue)(eo);!$&&ef&&(null===L.value||void 0===L.value)&&(es=x(es,N));var ep=v.createElement(h.default,(0,u.default)({disabled:W},L,{prefixCls:ec,direction:D,inputType:"text",value:es,element:ed,handleReset:function(e){var t,n,r;ei(""),null===(t=Y.current)||void 0===t||t.focus(),(0,O.resolveOnChange)(null===(r=null===(n=Y.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,T)},ref:X,bordered:a,status:k,style:w?void 0:M}));if(w||V){var ev,em,ey=(0,f.default)(es).length,eg="";return eg="object"===(0,o.default)(w)?w.formatter({value:es,count:ey,maxLength:N}):"".concat(ey).concat(ef?" / ".concat(N):""),v.createElement("div",{hidden:eu,className:(0,c.default)("".concat(ec,"-textarea"),(em={},(0,l.default)(em,"".concat(ec,"-textarea-rtl"),"rtl"===D),(0,l.default)(em,"".concat(ec,"-textarea-show-count"),w),(0,l.default)(em,"".concat(ec,"-textarea-in-form-item"),G),em),(0,E.getStatusClassNames)("".concat(ec,"-textarea"),Q,V),P),style:M,"data-count":eg},ep,V&&v.createElement("span",{className:"".concat(ec,"-textarea-suffix")},Z))}return ep});t.default=S},81722:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.useRef)([]),a=function(){n.current.push(setTimeout(function(){var t,n,r,a;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(a=e.current)||void 0===a||a.input.removeAttribute("value"))}))};return(0,r.useEffect)(function(){return t&&a(),function(){return n.current.forEach(function(e){e&&clearTimeout(e)})}},[]),a};var r=n(67294)},36714:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hasPrefixSuffix=function(e){return!!(e.prefix||e.suffix||e.allowClear)}},46549:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.useCompactItemContext=t.default=t.SpaceCompactItemContext=t.NoCompactStyle=void 0;var o=a(n(10434)),l=a(n(38416)),u=a(n(94184)),i=a(n(45598)),f=r(n(67294)),c=n(31929),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},s=f.createContext(null);t.SpaceCompactItemContext=s,t.useCompactItemContext=function(e,t){var n=f.useContext(s),r=f.useMemo(function(){if(!n)return"";var r,a=n.compactDirection,o=n.isFirstItem,i=n.isLastItem,f="vertical"===a?"-vertical-":"-";return(0,u.default)((r={},(0,l.default)(r,"".concat(e,"-compact").concat(f,"item"),!0),(0,l.default)(r,"".concat(e,"-compact").concat(f,"first-item"),o),(0,l.default)(r,"".concat(e,"-compact").concat(f,"last-item"),i),(0,l.default)(r,"".concat(e,"-compact").concat(f,"item-rtl"),"rtl"===t),r))},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},t.NoCompactStyle=function(e){var t=e.children;return f.createElement(s.Provider,{value:null},t)};var p=function(e){var t=e.children,n=d(e,["children"]);return f.createElement(s.Provider,{value:n},t)};t.default=function(e){var t,n=f.useContext(c.ConfigContext),r=n.getPrefixCls,a=n.direction,v=e.size,m=void 0===v?"middle":v,y=e.direction,g=e.block,b=e.prefixCls,E=e.className,h=e.children,O=d(e,["size","direction","block","prefixCls","className","children"]),C=r("space-compact",b),x=(0,u.default)(C,(t={},(0,l.default)(t,"".concat(C,"-rtl"),"rtl"===a),(0,l.default)(t,"".concat(C,"-block"),g),(0,l.default)(t,"".concat(C,"-vertical"),"vertical"===y),t),E),_=f.useContext(s),S=(0,i.default)(h),w=f.useMemo(function(){return S.map(function(e,t){var n=e&&e.key||"".concat(C,"-item-").concat(t);return f.createElement(p,{key:n,compactSize:m,compactDirection:y,isFirstItem:0===t&&(!_||(null==_?void 0:_.isFirstItem)),isLastItem:t===S.length-1&&(!_||(null==_?void 0:_.isLastItem))},e)})},[m,S,_]);return 0===S.length?null:f.createElement("div",(0,o.default)({className:x},O),w)}},94055:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(38416)),l=a(n(27424)),u=a(n(10434)),i=a(n(94184)),f=a(n(43763)),c=a(n(60869)),d=r(n(67294)),s=n(31929),p=n(45471),v=n(53683),m=a(n(74132)),y=n(47419);a(n(13594));var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},b=function(e,t){var n={},r=(0,u.default)({},e);return t.forEach(function(t){e&&t in e&&(n[t]=e[t],delete r[t])}),{picked:n,omitted:r}},E=RegExp("^(".concat(p.PresetColorTypes.join("|"),")(-inverse)?$")),h=d.forwardRef(function(e,t){var n,r,a,p=d.useContext(s.ConfigContext),h=p.getPopupContainer,O=p.getPrefixCls,C=p.direction,x=(0,c.default)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),_=(0,l.default)(x,2),S=_[0],w=_[1],N=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},P=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||(0,m.default)({arrowPointAtCenter:void 0!==n&&n,autoAdjustOverflow:void 0===r||r})},M=e.getPopupContainer,j=e.placement,I=e.mouseEnterDelay,R=e.mouseLeaveDelay,A=g(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay"]),T=e.prefixCls,k=e.openClassName,L=e.getTooltipContainer,F=e.overlayClassName,U=e.color,D=e.overlayInnerStyle,H=e.children,z=O("tooltip",T),W=O(),K=S;!("open"in e)&&!("visible"in e)&&N()&&(K=!1);var B=function(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){var r=b(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),a=r.picked,o=r.omitted,l=(0,u.default)((0,u.default)({display:"inline-block"},a),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),f=(0,u.default)((0,u.default)({},o),{pointerEvents:"none"}),c=(0,y.cloneElement)(e,{style:f,className:null});return d.createElement("span",{style:l,className:(0,i.default)(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},c)}return e}((0,y.isValidElement)(H)&&!(0,y.isFragment)(H)?H:d.createElement("span",null,H),z),V=B.props,G=V.className&&"string"!=typeof V.className?V.className:(0,i.default)(V.className,(0,o.default)({},k||"".concat(z,"-open"),!0)),Z=(0,i.default)(F,(a={},(0,o.default)(a,"".concat(z,"-rtl"),"rtl"===C),(0,o.default)(a,"".concat(z,"-").concat(U),U&&E.test(U)),a)),Q=D,Y={};return U&&!E.test(U)&&(Q=(0,u.default)((0,u.default)({},D),{background:U}),Y={"--antd-arrow-background-color":U}),d.createElement(f.default,(0,u.default)({},A,{placement:void 0===j?"top":j,mouseEnterDelay:void 0===I?.1:I,mouseLeaveDelay:void 0===R?.1:R,prefixCls:z,overlayClassName:Z,getTooltipContainer:M||L||h,ref:t,builtinPlacements:P(),overlay:(n=e.title,r=e.overlay,0===n?n:r||n||""),visible:K,onVisibleChange:function(t){var n,r;w(!N()&&t),N()||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},onPopupAlign:function(e,t){var n=P(),r=Object.keys(n).find(function(e){var r,a;return n[e].points[0]===(null===(r=t.points)||void 0===r?void 0:r[0])&&n[e].points[1]===(null===(a=t.points)||void 0===a?void 0:a[1])});if(r){var a=e.getBoundingClientRect(),o={top:"50%",left:"50%"};/top|Bottom/.test(r)?o.top="".concat(a.height-t.offset[1],"px"):/Top|bottom/.test(r)&&(o.top="".concat(-t.offset[1],"px")),/left|Right/.test(r)?o.left="".concat(a.width-t.offset[0],"px"):/right|Left/.test(r)&&(o.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(o.left," ").concat(o.top)}},overlayInnerStyle:Q,arrowContent:d.createElement("span",{className:"".concat(z,"-arrow-content"),style:Y}),motion:{motionName:(0,v.getTransitionName)(W,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),K?(0,y.cloneElement)(B,{className:G}):B)});t.default=h},12385:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(10434)),l=a(n(27424)),u=a(n(18698)),i=a(n(45598)),f=a(n(82546)),c=r(n(67294));function d(e){var t=(0,u.default)(e);return"string"===t||"number"===t}function s(e,t){for(var n=0,r=[],a=0;at){var u=t-n;return r.push(String(o).slice(0,u)),r}r.push(o),n=l}return e}t.default=function(e){var t=e.enabledMeasure,n=e.children,r=e.text,a=e.width,u=e.fontSize,p=e.rows,v=e.onEllipsis,m=c.useState([0,0,0]),y=(0,l.default)(m,2),g=(0,l.default)(y[0],3),b=g[0],E=g[1],h=g[2],O=y[1],C=c.useState(0),x=(0,l.default)(C,2),_=x[0],S=x[1],w=c.useState(0),N=(0,l.default)(w,2),P=N[0],M=N[1],j=c.useRef(null),I=c.useRef(null),R=c.useMemo(function(){return(0,i.default)(r)},[r]),A=c.useMemo(function(){var e;return e=0,R.forEach(function(t){d(t)?e+=String(t).length:e+=1}),e},[R]),T=c.useMemo(function(){return t&&3===_?n(s(R,E),Et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function A(e,t,n){return!0===e||void 0===e?t:e||n&&t}function T(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}var k=h.forwardRef(function(e,t){var n,r,a,k=e.prefixCls,L=e.className,F=e.style,U=e.type,D=e.disabled,H=e.children,z=e.ellipsis,W=e.editable,K=e.copyable,B=e.component,V=e.title,G=R(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),Z=h.useContext(O.ConfigContext),Q=Z.getPrefixCls,Y=Z.direction,X=(0,C.useLocaleReceiver)("Text")[0],q=h.useRef(null),J=h.useRef(null),$=Q("typography",k),ee=(0,b.default)(G,["mark","code","delete","underline","strong","keyboard","italic"]),et=(0,N.default)(W),en=(0,i.default)(et,2),er=en[0],ea=en[1],eo=(0,g.default)(!1,{value:ea.editing}),el=(0,i.default)(eo,2),eu=el[0],ei=el[1],ef=ea.triggerType,ec=void 0===ef?["icon"]:ef,ed=function(e){var t;e&&(null===(t=ea.onStart)||void 0===t||t.call(ea)),ei(e)};(0,P.default)(function(){var e;eu||null===(e=J.current)||void 0===e||e.focus()},[eu]);var es=function(e){null==e||e.preventDefault(),ed(!0)},ep=(0,N.default)(K),ev=(0,i.default)(ep,2),em=ev[0],ey=ev[1],eg=h.useState(!1),eb=(0,i.default)(eg,2),eE=eb[0],eh=eb[1],eO=h.useRef(),eC={};ey.format&&(eC.format=ey.format);var ex=function(){window.clearTimeout(eO.current)},e_=function(e){var t;null==e||e.preventDefault(),null==e||e.stopPropagation(),(0,p.default)(ey.text||String(H)||"",eC),eh(!0),ex(),eO.current=window.setTimeout(function(){eh(!1)},3e3),null===(t=ey.onCopy)||void 0===t||t.call(ey,e)};h.useEffect(function(){return ex},[]);var eS=h.useState(!1),ew=(0,i.default)(eS,2),eN=ew[0],eP=ew[1],eM=h.useState(!1),ej=(0,i.default)(eM,2),eI=ej[0],eR=ej[1],eA=h.useState(!1),eT=(0,i.default)(eA,2),ek=eT[0],eL=eT[1],eF=h.useState(!1),eU=(0,i.default)(eF,2),eD=eU[0],eH=eU[1],ez=h.useState(!1),eW=(0,i.default)(ez,2),eK=eW[0],eB=eW[1],eV=h.useState(!0),eG=(0,i.default)(eV,2),eZ=eG[0],eQ=eG[1],eY=(0,N.default)(z,{expandable:!1}),eX=(0,i.default)(eY,2),eq=eX[0],eJ=eX[1],e$=eq&&!ek,e0=eJ.rows,e1=void 0===e0?1:e0,e4=h.useMemo(function(){return!e$||void 0!==eJ.suffix||eJ.onEllipsis||eJ.expandable||er||em},[e$,eJ,er,em]);(0,y.default)(function(){eq&&!e4&&(eP((0,_.isStyleSupport)("webkitLineClamp")),eR((0,_.isStyleSupport)("textOverflow")))},[e4,eq]);var e2=h.useMemo(function(){return!e4&&(1===e1?eI:eN)},[e4,eI,eN]),e6=e$&&(e2?eK:eD),e3=e$&&1===e1&&e2,e8=e$&&e1>1&&e2,e7=function(e){var t;eL(!0),null===(t=eJ.onExpand)||void 0===t||t.call(eJ,e)},e9=h.useState(0),e5=(0,i.default)(e9,2),te=e5[0],tt=e5[1],tn=h.useState(0),tr=(0,i.default)(tn,2),ta=tr[0],to=tr[1],tl=function(e){var t;eH(e),eD!==e&&(null===(t=eJ.onEllipsis)||void 0===t||t.call(eJ,e))};h.useEffect(function(){var e=q.current;if(eq&&e2&&e){var t=e8?e.offsetHeightt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},c=(0,u.tupleNum)(1,2,3,4,5),d=l.forwardRef(function(e,t){var n,r=e.level,a=void 0===r?1:r,u=f(e,["level"]);return n=c.includes(a)?"h".concat(a):"h1",l.createElement(i.default,(0,o.default)({ref:t},u,{component:n}))});t.Z=d},89652:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(10434)),l=a(n(38416)),u=a(n(94184)),i=n(75531),f=r(n(67294)),c=n(31929);a(n(13594));var d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},s=f.forwardRef(function(e,t){var n=e.prefixCls,r=e.component,a=e.className,s=e.setContentRef,p=e.children,v=e.direction,m=d(e,["prefixCls","component","className","setContentRef","children","direction"]),y=f.useContext(c.ConfigContext),g=y.getPrefixCls,b=y.direction,E=t;s&&(E=(0,i.composeRef)(t,s));var h=g("typography",n),O=(0,u.default)(h,(0,l.default)({},"".concat(h,"-rtl"),"rtl"===(null!=v?v:b)),a);return f.createElement(void 0===r?"article":r,(0,o.default)({className:O,ref:E},m),p)});t.default=s},92759:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return u.useMemo(function(){var n=!!e;return[n,(0,l.default)((0,l.default)({},t),n&&"object"===(0,o.default)(e)?e:null)]},[e])};var o=a(n(18698)),l=a(n(10434)),u=r(n(67294))},67312:function(e,t,n){var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294));t.default=function(e,t){var n=a.useRef(!1);a.useEffect(function(){n.current?e():n.current=!0},t)}},24375:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.placements=void 0;var n={adjustX:1,adjustY:1},r=[0,0],a={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:r},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:r},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:r},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:r},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:r},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:r},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:r},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:r},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:r},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:r},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:r},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:r}};t.placements=a,t.default=a},45598:function(e,t,n){var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return a.default.Children.forEach(t,function(t){(null!=t||n.keepEmpty)&&(Array.isArray(t)?r=r.concat(e(t)):(0,o.isFragment)(t)&&t.props?r=r.concat(e(t.props.children,n)):r.push(t))}),r};var a=r(n(67294)),o=n(11805)},3481:function(e,t,n){var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.isStyleSupport=function(e,t){return Array.isArray(e)||void 0===t?o(e):l(e,t)};var a=r(n(19158)),o=function(e){if((0,a.default)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},l=function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}},27712:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={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>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE||e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY||e>=n.A&&e<=n.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.default=n},18545:function(e,t,n){var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=a.useRef();return t.current=e,a.useCallback(function(){for(var e,n=arguments.length,r=Array(n),a=0;a{var{theme:t,settings:n,styles:i}=e,o={"&":{backgroundColor:n.background,color:n.foreground},".cm-gutters":{}};n.fontFamily&&(o["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(o[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(o[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(o[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(o[".cm-content"]={caretColor:n.caret},o[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var l={};n.gutterActiveForeground&&(l.color=n.gutterActiveForeground),n.lineHighlight&&(o[".cm-activeLine"]={backgroundColor:n.lineHighlight},l.backgroundColor=n.lineHighlight),o[".cm-activeLineGutter"]=l,n.selection&&(o["&.cm-focused .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={backgroundColor:n.selection}),n.selectionMatch&&(o["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var a=r.tk.theme(o,{dark:"dark"===t}),h=s.Qf.define(i);return[a,(0,s.nF)(h)]})({theme:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",lineHighlight:"#00000012"},styles:[{tag:[i.pJ.meta,i.pJ.comment],color:"#804000"},{tag:[i.pJ.keyword,i.pJ.strong],color:"#0000FF"},{tag:[i.pJ.number],color:"#FF0080"},{tag:[i.pJ.string],color:"#FF0080"},{tag:[i.pJ.variableName],color:"#006600"},{tag:[i.pJ.escape],color:"#33CC33"},{tag:[i.pJ.tagName],color:"#1C02FF"},{tag:[i.pJ.heading],color:"#0C07FF"},{tag:[i.pJ.quote],color:"#000000"},{tag:[i.pJ.list],color:"#B90690"},{tag:[i.pJ.documentMeta],color:"#888888"},{tag:[i.pJ.function(i.pJ.variableName)],color:"#0000A2"},{tag:[i.pJ.definition(i.pJ.typeName),i.pJ.typeName],color:"#6D79DE"}]})},87685:function(e,t,n){n.d(t,{ZP:function(){return nF}});var i=n(87462),r=n(63366),s=n(67294),o=n(78120),l=n(47421),a=n(59119),h=n(41113);let c=e=>{let t=m(e.state);return t.line?f(e):!!t.block&&p(e)};function u(e,t){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=e(t,n);return!!r&&(i(n.update(r)),!0)}}let f=u(function(e,t,n=t.selection.ranges){let i=[],r=-1;for(let{from:s,to:o}of n){let l=i.length,a=1e9;for(let h=s;h<=o;){let c=t.doc.lineAt(h);if(c.from>r&&(s==o||o>c.from)){r=c.from;let u=m(t,h).line;if(!u)continue;let f=/^\s*/.exec(c.text)[0].length,d=f==c.length,p=c.text.slice(f,f+u.length)==u?f:-1;fe.comment<0&&(!e.empty||e.single))){let k=[];for(let{line:y,token:v,indent:b,empty:O,single:x}of i)(x||!O)&&k.push({from:y.from+b,insert:v+" "});let w=t.changes(k);return{changes:w,selection:t.selection.map(w,1)}}if(1!=e&&i.some(e=>e.comment>=0)){let S=[];for(let{line:P,comment:C,token:A}of i)if(C>=0){let Q=P.from+C,T=Q+A.length;" "==P.text[T-P.from]&&T++,S.push({from:Q,to:T})}return{changes:S}}return null},0),d=u(g,0),p=u((e,t)=>g(e,t,function(e){let t=[];for(let n of e.selection.ranges){let i=e.doc.lineAt(n.from),r=n.to<=i.to?i:e.doc.lineAt(n.to),s=t.length-1;s>=0&&t[s].to>i.from?t[s].to=r.to:t.push({from:i.from,to:r.to})}return t}(t)),0);function m(e,t=e.selection.main.head){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}function g(e,t,n=t.selection.ranges){let i=n.map(e=>m(t,e.from).block);if(!i.every(e=>e))return null;let r=n.map((e,n)=>(function(e,{open:t,close:n},i,r){let s,o,l=e.sliceDoc(i-50,i),a=e.sliceDoc(r,r+50),h=/\s*$/.exec(l)[0].length,c=/^\s*/.exec(a)[0].length,u=l.length-h;if(l.slice(u-t.length,u)==t&&a.slice(c,c+n.length)==n)return{open:{pos:i-h,margin:h&&1},close:{pos:r+c,margin:c&&1}};r-i<=100?s=o=e.sliceDoc(i,r):(s=e.sliceDoc(i,i+50),o=e.sliceDoc(r-50,r));let f=/^\s*/.exec(s)[0].length,d=/\s*$/.exec(o)[0].length,p=o.length-d-n.length;return s.slice(f,f+t.length)==t&&o.slice(p,p+n.length)==n?{open:{pos:i+f+t.length,margin:/\s/.test(s.charAt(f+t.length))?1:0},close:{pos:r-d-n.length,margin:/\s/.test(o.charAt(p-1))?1:0}}:null})(t,i[n],e.from,e.to));if(2!=e&&!r.every(e=>e))return{changes:t.changes(n.map((e,t)=>r[t]?[]:[{from:e.from,insert:i[t].open+" "},{from:e.to,insert:" "+i[t].close}]))};if(1!=e&&r.some(e=>e)){let s=[];for(let o=0,l;o(0,o.BO)(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}),O=o.QQ.define({create:()=>$.empty,update(e,t){let n=t.state.facet(b),i=t.annotation(k);if(i){var r;let s;let l=t.docChanged?o.jT.single((r=t.changes,s=0,r.iterChangedRanges((e,t)=>s=t),s)):void 0,a=A.fromTransaction(t,l),h=i.side,c=0==h?e.undone:e.done;return c=a?Q(c,c.length,n.minDepth,a):D(c,t.startState.selection),new $(0==h?i.rest:c,0==h?c:i.rest)}let u=t.annotation(y);if(("full"==u||"before"==u)&&(e=e.isolate()),!1===t.annotation(o.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let f=A.fromTransaction(t),d=t.annotation(o.YW.time),p=t.annotation(o.YW.userEvent);return f?e=e.addChanges(f,d,p,n.newGroupDelay,n.minDepth):t.selection&&(e=e.addSelection(t.startState.selection,d,p,n.newGroupDelay)),("full"==u||"after"==u)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new $(e.done.map(A.fromJSON),e.undone.map(A.fromJSON))});function x(e,t){return function({state:n,dispatch:i}){if(!t&&n.readOnly)return!1;let r=n.field(O,!1);if(!r)return!1;let s=r.pop(e,n,t);return!!s&&(i(s),!0)}}let w=x(0,!1),S=x(1,!1),P=x(0,!0),C=x(1,!0);class A{constructor(e,t,n,i,r){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(e){return new A(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new A(e.changes&&o.as.fromJSON(e.changes),[],e.mapped&&o.n0.fromJSON(e.mapped),e.startSelection&&o.jT.fromJSON(e.startSelection),e.selectionsAfter.map(o.jT.fromJSON))}static fromTransaction(e,t){let n=I;for(let i of e.startState.facet(v)){let r=i(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new A(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,I)}static selection(e){return new A(void 0,I,void 0,void 0,e)}}function Q(e,t,n,i){let r=e.slice(t+1>n+20?t-n-1:0,t);return r.push(i),r}function T(e,t){return e.length?t.length?e.concat(t):e:t}let I=[];function D(e,t){if(!e.length)return[A.selection([t])];{let n=e[e.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return i.length&&i[i.length-1].eq(t)?e:(i.push(t),Q(e,e.length-1,1e9,n.setSelAfter(i)))}}function R(e,t){if(!e.length)return e;let n=e.length,i=I;for(;n;){let r=function(e,t,n){let i=T(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):I,n);if(!e.changes)return A.selection(i);let r=e.changes.map(t),s=t.mapDesc(e.changes,!0),l=e.mapped?e.mapped.composeDesc(s):s;return new A(r,o.Py.mapEffects(e.effects,t),l,e.startSelection.map(s),i)}(e[n-1],t,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=e.slice(0,n);return s[n-1]=r,s}t=r.mapped,n--,i=r.selectionsAfter}return i.length?[A.selection(i)]:I}let M=/^(input\.type|delete)($|\.)/;class ${constructor(e,t,n=0,i){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new $(this.done,this.undone):this}addChanges(e,t,n,i,r){var s,o;let l,a,h=this.done,c=h[h.length-1];return h=c&&c.changes&&!c.changes.empty&&e.changes&&(!n||M.test(n))&&(!c.selectionsAfter.length&&t-this.prevTimel.push(e,t)),o.iterChangedRanges((e,t,n,i)=>{for(let r=0;r=s&&n<=o&&(a=!0)}}),a)||"input.type.compose"==n)?Q(h,h.length-1,r,new A(e.changes.compose(c.changes),T(e.effects,c.effects),c.mapped,c.startSelection,I)):Q(h,h.length,r,e),new $(h,I,t,n)}addSelection(e,t,n,i){var r;let s=this.done.length?this.done[this.done.length-1].selectionsAfter:I;return s.length>0&&t-this.prevTimet.empty!=e.ranges[n].empty).length?this:new $(D(this.done,e),this.undone,t,n)}addMapping(e){return new $(R(this.done,e),R(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=0==e?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1];if(n&&r.selectionsAfter.length){var s;let o,l;return t.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:k.of({side:e,rest:(o=(s=i)[s.length-1],(l=s.slice())[s.length-1]=o.setSelAfter(o.selectionsAfter.slice(0,o.selectionsAfter.length-1)),l)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}if(!r.changes)return null;{let a=1==i.length?I:i.slice(0,i.length-1);return r.mapped&&(a=R(a,r.mapped)),t.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:k.of({side:e,rest:a}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}$.empty=new $(I,I);let N=[{key:"Mod-z",run:w,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:S,preventDefault:!0},{linux:"Ctrl-Shift-z",run:S,preventDefault:!0},{key:"Mod-u",run:P,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:C,preventDefault:!0}];function E(e,t){return o.jT.create(e.ranges.map(t),e.mainIndex)}function z(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function B({state:e,dispatch:t},n){let i=E(e.selection,n);return!i.eq(e.selection)&&(t(z(e,i)),!0)}function W(e,t){return o.jT.cursor(t?e.to:e.from)}function J(e,t){return B(e,n=>n.empty?e.moveByChar(n,t):W(n,t))}function L(e){return e.textDirectionAt(e.state.selection.main.head)==l.Nm.LTR}let j=e=>J(e,!L(e)),F=e=>J(e,L(e));function _(e,t){return B(e,n=>n.empty?e.moveByGroup(n,t):W(n,t))}let U=e=>_(e,!L(e)),X=e=>_(e,L(e));function q(e,t,n){let i,r,s=(0,a.qz)(e).resolveInner(t.head),l=n?h.md.closedBy:h.md.openedBy;for(let c=t.head;;){let u=n?s.childAfter(c):s.childBefore(c);if(!u)break;!function(e,t,n){if(t.type.prop(n))return!0;let i=t.to-t.from;return i&&(i>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,u,l)?c=n?u.to:u.from:s=u}return r=s.type.prop(l)&&(i=n?(0,a.Um)(e,s.from,1):(0,a.Um)(e,s.to,-1))&&i.matched?n?i.end.to:i.end.from:n?s.to:s.from,o.jT.cursor(r,n?-1:1)}let V=e=>B(e,t=>q(e.state,t,!L(e))),G=e=>B(e,t=>q(e.state,t,L(e)));function Z(e,t){return B(e,n=>{if(!n.empty)return W(n,t);let i=e.moveVertically(n,t);return i.head!=n.head?i:e.moveToLineBoundary(n,t)})}let Y=e=>Z(e,!1),K=e=>Z(e,!0);function H(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function ee(e,t){let n,{state:i}=e,r=E(i.selection,n=>n.empty?e.moveVertically(n,t,H(e)):W(n,t));if(r.eq(i.selection))return!1;let s=e.coordsAtPos(i.selection.main.head),o=e.scrollDOM.getBoundingClientRect();return s&&s.top>o.top&&s.bottomee(e,!1),en=e=>ee(e,!0);function ei(e,t,n){let i=e.lineBlockAt(t.head),r=e.moveToLineBoundary(t,n);if(r.head==t.head&&r.head!=(n?i.to:i.from)&&(r=e.moveToLineBoundary(t,n,!1)),!n&&r.head==i.from&&i.length){let s=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&t.head!=i.from+s&&(r=o.jT.cursor(i.from+s))}return r}let er=e=>B(e,t=>ei(e,t,!0)),es=e=>B(e,t=>ei(e,t,!1)),eo=e=>B(e,t=>ei(e,t,!L(e))),el=e=>B(e,t=>ei(e,t,L(e))),ea=e=>B(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from,1)),eh=e=>B(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to,-1)),ec=({state:e,dispatch:t})=>{let n,i;return n=!1,i=E(e.selection,t=>{let i=(0,a.Um)(e,t.head,-1)||(0,a.Um)(e,t.head,1)||t.head>0&&(0,a.Um)(e,t.head-1,1)||t.head{let n=t(e);return o.jT.range(e.anchor,n.head,n.goalColumn)});return!n.eq(e.state.selection)&&(e.dispatch(z(e.state,n)),!0)}function ef(e,t){return eu(e,n=>e.moveByChar(n,t))}let ed=e=>ef(e,!L(e)),ep=e=>ef(e,L(e));function em(e,t){return eu(e,n=>e.moveByGroup(n,t))}let eg=e=>em(e,!L(e)),ek=e=>em(e,L(e)),ey=e=>eu(e,t=>q(e.state,t,!L(e))),ev=e=>eu(e,t=>q(e.state,t,L(e)));function eb(e,t){return eu(e,n=>e.moveVertically(n,t))}let eO=e=>eb(e,!1),ex=e=>eb(e,!0);function ew(e,t){return eu(e,n=>e.moveVertically(n,t,H(e)))}let eS=e=>ew(e,!1),eP=e=>ew(e,!0),eC=e=>eu(e,t=>ei(e,t,!0)),eA=e=>eu(e,t=>ei(e,t,!1)),eQ=e=>eu(e,t=>ei(e,t,!L(e))),eT=e=>eu(e,t=>ei(e,t,L(e))),eI=e=>eu(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from)),eD=e=>eu(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to)),eR=({state:e,dispatch:t})=>(t(z(e,{anchor:0})),!0),eM=({state:e,dispatch:t})=>(t(z(e,{anchor:e.doc.length})),!0),e$=({state:e,dispatch:t})=>(t(z(e,{anchor:e.selection.main.anchor,head:0})),!0),eN=({state:e,dispatch:t})=>(t(z(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),eE=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),ez=({state:e,dispatch:t})=>{let n=eK(e).map(({from:t,to:n})=>o.jT.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:o.jT.create(n),userEvent:"select"})),!0},eB=({state:e,dispatch:t})=>{let n=E(e.selection,t=>{var n;let i=(0,a.qz)(e).resolveInner(t.head,1);for(;!(i.from=t.to||i.to>t.to&&i.from<=t.from||!(null===(n=i.parent)||void 0===n?void 0:n.parent));)i=i.parent;return o.jT.range(i.to,i.from)});return t(z(e,n)),!0},eW=({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=o.jT.create([n.main]):n.main.empty||(i=o.jT.create([o.jT.cursor(n.main.head)])),!!i&&(t(z(e,i)),!0)};function eJ(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:i}=e,r=i.changeByRange(i=>{let{from:r,to:s}=i;if(r==s){let l=t(r);lr&&(n="delete.forward",l=eL(e,l,!0)),r=Math.min(r,l),s=Math.max(s,l)}else r=eL(e,r,!1),s=eL(e,s,!0);return r==s?{range:i}:{changes:{from:r,to:s},range:o.jT.cursor(r)}});return!r.changes.empty&&(e.dispatch(i.update(r,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?l.tk.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function eL(e,t,n){if(e instanceof l.tk)for(let i of e.state.facet(l.tk.atomicRanges).map(t=>t(e)))i.between(t,t,(e,i)=>{et&&(t=n?i:e)});return t}let ej=(e,t)=>eJ(e,n=>{let{state:i}=e,r=i.doc.lineAt(n),s,l;if(!t&&n>r.from&&nej(e,!1),e_=e=>ej(e,!0),eU=(e,t)=>eJ(e,n=>{let i=n,{state:r}=e,s=r.doc.lineAt(i),l=r.charCategorizer(i);for(let a=null;;){if(i==(t?s.to:s.from)){i==n&&s.number!=(t?r.doc.lines:1)&&(i+=t?1:-1);break}let h=(0,o.cp)(s.text,i-s.from,t)+s.from,c=s.text.slice(Math.min(i,h)-s.from,Math.max(i,h)-s.from),u=l(c);if(null!=a&&u!=a)break;(" "!=c||i!=n)&&(a=u),i=h}return i}),eX=e=>eU(e,!1),eq=e=>eU(e,!0),eV=e=>eJ(e,t=>{let n=e.lineBlockAt(t).to;return teJ(e,t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}),eZ=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:o.xv.of(["",""])},range:o.jT.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},eY=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),r=n==i.from?n-1:(0,o.cp)(i.text,n-i.from,!1)+i.from,s=n==i.to?n+1:(0,o.cp)(i.text,n-i.from,!0)+i.from;return{changes:{from:r,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(r,n))},range:o.jT.cursor(s)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function eK(e){let t=[],n=-1;for(let i of e.selection.ranges){let r=e.doc.lineAt(i.from),s=e.doc.lineAt(i.to);if(i.empty||i.to!=s.from||(s=e.doc.lineAt(i.to-1)),n>=r.number){let o=t[t.length-1];o.to=s.to,o.ranges.push(i)}else t.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return t}function eH(e,t,n){if(e.readOnly)return!1;let i=[],r=[];for(let s of eK(e)){if(n?s.to==e.doc.length:0==s.from)continue;let l=e.doc.lineAt(n?s.to+1:s.from-1),a=l.length+1;if(n)for(let h of(i.push({from:s.to,to:l.to},{from:s.from,insert:l.text+e.lineBreak}),s.ranges))r.push(o.jT.range(Math.min(e.doc.length,h.anchor+a),Math.min(e.doc.length,h.head+a)));else for(let c of(i.push({from:l.from,to:s.from},{from:s.to,insert:e.lineBreak+l.text}),s.ranges))r.push(o.jT.range(c.anchor-a,c.head-a))}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:o.jT.create(r,e.selection.mainIndex),userEvent:"move.line"})),!0)}let e0=({state:e,dispatch:t})=>eH(e,t,!1),e1=({state:e,dispatch:t})=>eH(e,t,!0);function e2(e,t,n){if(e.readOnly)return!1;let i=[];for(let r of eK(e))n?i.push({from:r.from,insert:e.doc.slice(r.from,r.to)+e.lineBreak}):i.push({from:r.to,insert:e.lineBreak+e.doc.slice(r.from,r.to)});return t(e.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}let e5=({state:e,dispatch:t})=>e2(e,t,!1),e3=({state:e,dispatch:t})=>e2(e,t,!0),e4=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(eK(t).map(({from:e,to:n})=>(e>0?e--:ne.moveVertically(t,!0)).map(n);return e.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0},e9=e8(!1),e6=e8(!0);function e8(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:r}=n,s=t.doc.lineAt(i),l=!e&&i==r&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,a.qz)(e).resolveInner(t),i=n.childBefore(t),r=n.childAfter(t),s;return i&&r&&i.to<=t&&r.from>=t&&(s=i.type.prop(h.md.closedBy))&&s.indexOf(r.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}(t,i);e&&(i=r=(r<=s.to?s:t.doc.lineAt(r)).to);let c=new a.Gn(t,{simulateBreak:i,simulateDoubleBreak:!!l}),u=(0,a.K0)(c,i);for(null==u&&(u=/^\s*/.exec(t.doc.lineAt(i).text)[0].length);rs.from&&i{let r=[];for(let s=i.from;s<=i.to;){let l=e.doc.lineAt(s);l.number>n&&(i.empty||i.to>l.from)&&(t(l,r,i),n=l.number),s=l.to+1}let a=e.changes(r);return{changes:r,range:o.jT.range(a.mapPos(i.anchor,1),a.mapPos(i.head,1))}})}let te=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),i=new a.Gn(e,{overrideIndentation(e){let t=n[e];return null==t?-1:t}}),r=e7(e,(t,r,s)=>{let o=(0,a.K0)(i,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let l=/^\s*/.exec(t.text)[0],h=(0,a.SS)(e,o);(l!=h||s.from!e.readOnly&&(t(e.update(e7(e,(t,n)=>{n.push({from:t.from,insert:e.facet(a.c)})}),{userEvent:"input.indent"})),!0),tn=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(e7(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let r=(0,o.IS)(i,e.tabSize),s=0,l=(0,a.SS)(e,Math.max(0,r-(0,a.y1)(e)));for(;s({mac:e.key,run:e.run,shift:e.shift}))),tr=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:V,shift:ey},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:G,shift:ev},{key:"Alt-ArrowUp",run:e0},{key:"Shift-Alt-ArrowUp",run:e5},{key:"Alt-ArrowDown",run:e1},{key:"Shift-Alt-ArrowDown",run:e3},{key:"Escape",run:eW},{key:"Mod-Enter",run:e6},{key:"Alt-l",mac:"Ctrl-l",run:ez},{key:"Mod-i",run:eB,preventDefault:!0},{key:"Mod-[",run:tn},{key:"Mod-]",run:tt},{key:"Mod-Alt-\\",run:te},{key:"Shift-Mod-k",run:e4},{key:"Shift-Mod-\\",run:ec},{key:"Mod-/",run:c},{key:"Alt-A",run:d}].concat(ti),ts={key:"Tab",run:tt,shift:tn};function to(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?e.setAttribute(i,r):null!=r&&(e[i]=r)}t++}for(;te.normalize("NFKD"):e=>e;class ta{constructor(e,t,n=0,i=e.length,r,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=r?e=>r(tl(e)):tl,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,o.gm)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,o.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,o.nZ)(e);let i=this.normalize(t);for(let r=0,s=n;;r++){let l=i.charCodeAt(r),a=this.match(l,s);if(a)return this.value=a,this;if(r==i.length-1)break;s==n&&rthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=tm(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||i.to<=t){let r=new td(t,e.sliceString(t,n));return tf.set(e,r),r}if(i.from==t&&i.to==n)return i;let{text:s,from:o}=i;return o>t&&(s=e.sliceString(t,o)+s,o=t),i.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,i=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this.matchPos=tm(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=td.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function tm(e,t){if(t>=e.length)return t;let n=e.lineAt(t),i;for(;t=56320&&i<57344;)t++;return t}function tg(e){let t=to("input",{class:"cm-textfield",name:"line"}),n=to("form",{class:"cm-gotoLine",onkeydown(t){27==t.keyCode?(t.preventDefault(),e.dispatch({effects:tk.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),i())},onsubmit(e){e.preventDefault(),i()}},to("label",e.state.phrase("Go to line"),": ",t)," ",to("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function i(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!n)return;let{state:i}=e,r=i.doc.lineAt(i.selection.main.head),[,s,l,a,h]=n,c=a?+a.slice(1):0,u=l?+l:r.number;if(l&&h){let f=u/100;s&&(f=f*("-"==s?-1:1)+r.number/i.doc.lines),u=Math.round(i.doc.lines*f)}else l&&s&&(u=u*("-"==s?-1:1)+r.number);let d=i.doc.line(Math.max(1,Math.min(i.doc.lines,u)));e.dispatch({effects:tk.of(!1),selection:o.jT.cursor(d.from+Math.max(0,Math.min(c,d.length))),scrollIntoView:!0}),e.focus()}return{dom:n}}"undefined"!=typeof Symbol&&(tu.prototype[Symbol.iterator]=tp.prototype[Symbol.iterator]=function(){return this});let tk=o.Py.define(),ty=o.QQ.define({create:()=>!0,update(e,t){for(let n of t.effects)n.is(tk)&&(e=n.value);return e},provide:e=>l.mH.from(e,e=>e?tg:null)}),tv=e=>{let t=(0,l.Sd)(e,tg);if(!t){let n=[tk.of(!0)];null==e.state.field(ty,!1)&&n.push(o.Py.appendConfig.of([ty,tb])),e.dispatch({effects:n}),t=(0,l.Sd)(e,tg)}return t&&t.dom.querySelector("input").focus(),!0},tb=l.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),tO={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},tx=o.r$.define({combine:e=>(0,o.BO)(e,tO,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),tw=l.p.mark({class:"cm-selectionMatch"}),tS=l.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function tP(e,t,n,i){return(0==n||e(t.sliceDoc(n-1,n))!=o.D0.Word)&&(i==t.doc.length||e(t.sliceDoc(i,i+1))!=o.D0.Word)}let tC=l.lg.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(tx),{state:n}=e,i=n.selection;if(i.ranges.length>1)return l.p.none;let r=i.main,s,a=null;if(r.empty){if(!t.highlightWordAroundCursor)return l.p.none;let h=n.wordAt(r.head);if(!h)return l.p.none;a=n.charCategorizer(r.head),s=n.sliceDoc(h.from,h.to)}else{let c=r.to-r.from;if(c200)return l.p.none;if(t.wholeWords){var u,f,d;if(s=n.sliceDoc(r.from,r.to),!(tP(a=n.charCategorizer(r.head),n,r.from,r.to)&&(u=a,f=r.from,d=r.to,u(n.sliceDoc(f,f+1))==o.D0.Word&&u(n.sliceDoc(d-1,d))==o.D0.Word)))return l.p.none}else if(!(s=n.sliceDoc(r.from,r.to).trim()))return l.p.none}let p=[];for(let m of e.visibleRanges){let g=new ta(n.doc,s,m.from,m.to);for(;!g.next().done;){let{from:k,to:y}=g.value;if((!a||tP(a,n,k,y))&&(r.empty&&k<=r.from&&y>=r.to?p.push(tS.range(k,y)):(k>=r.to||y<=r.from)&&p.push(tw.range(k,y)),p.length>t.maxMatches))return l.p.none}}return l.p.set(p)}},{decorations:e=>e.decorations}),tA=l.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),tQ=({state:e,dispatch:t})=>{let{selection:n}=e,i=o.jT.create(n.ranges.map(t=>e.wordAt(t.head)||o.jT.cursor(t.head)),n.mainIndex);return!i.eq(n)&&(t(e.update({selection:i})),!0)},tT=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return tQ({state:e,dispatch:t});let i=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=i))return!1;let r=function(e,t){let{main:n,ranges:i}=e.selection,r=e.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,l=new ta(e.doc,t,i[i.length-1].to);;)if(l.next(),l.done){if(o)return null;l=new ta(e.doc,t,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(e=>e.from==l.value.from))continue;if(s){let a=e.wordAt(l.value.from);if(!a||a.from!=l.value.from||a.to!=l.value.to)continue}return l.value}}(e,i);return!!r&&(t(e.update({selection:e.selection.addRange(o.jT.range(r.from,r.to),!1),effects:l.tk.scrollIntoView(r.to)})),!0)},tI=o.r$.define({combine:e=>(0,o.BO)(e,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new t3(e)})});class tD{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return RegExp(e,tc),!0}catch(t){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new tB(this):new t$(this)}getCursor(e,t=0,n){let i=e.doc?e:o.yy.create({doc:e});return null==n&&(n=i.doc.length),this.regexp?tN(this,i,t,n):tM(this,i,t,n)}}class tR{constructor(e){this.spec=e}}function tM(e,t,n,i){var r,s;return new ta(t.doc,e.unquoted,n,i,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?(r=t.doc,s=t.charCategorizer(t.selection.main.head),(e,t,n,i)=>((i>e||i+n.length=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tM(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}function tN(e,t,n,i){var r;return new tu(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(r=t.charCategorizer(t.selection.main.head),(e,t,n)=>!n[0].length||(r(tE(n.input,n.index))!=o.D0.Word||r(tz(n.input,n.index))!=o.D0.Word)&&(r(tz(n.input,n.index+n[0].length))!=o.D0.Word||r(tE(n.input,n.index+n[0].length))!=o.D0.Word)):void 0},n,i)}function tE(e,t){return e.slice((0,o.cp)(e,t,!1),t)}function tz(e,t){return e.slice(t,(0,o.cp)(e,t))}class tB extends tR{nextMatch(e,t,n){let i=tN(this.spec,e,n,e.doc.length).next();return i.done&&(i=tN(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let r=Math.max(t,n-1e4*i),s=tN(this.spec,e,r,n),o=null;for(;!s.next().done;)o=s.value;if(o&&(r==t||o.from>r+10))return o;if(r==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>"$"==n?"$":"&"==n?e.match[0]:"0"!=n&&+n=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tN(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}let tW=o.Py.define(),tJ=o.Py.define(),tL=o.QQ.define({create:e=>new tj(t0(e).create(),null),update(e,t){for(let n of t.effects)n.is(tW)?e=new tj(n.value.create(),e.panel):n.is(tJ)&&(e=new tj(e.query,n.value?tH:null));return e},provide:e=>l.mH.from(e,e=>e.panel)});class tj{constructor(e,t){this.query=e,this.panel=t}}let tF=l.p.mark({class:"cm-searchMatch"}),t_=l.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tU=l.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(tL))}update(e){let t=e.state.field(tL);(t!=e.startState.field(tL)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return l.p.none;let{view:n}=this,i=new o.f_;for(let r=0,s=n.visibleRanges,a=s.length;rs[r+1].from-500;)c=s[++r].to;e.highlight(n.state,h,c,(e,t)=>{let r=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);i.add(e,t,r?t_:tF)})}return i.finish()}},{decorations:e=>e.decorations});function tX(e){return t=>{let n=t.state.field(tL,!1);return n&&n.query.spec.valid?e(t,n):t1(t)}}let tq=tX((e,{query:t})=>{let{to:n}=e.state.selection.main,i=t.nextMatch(e.state,n,n);return!!i&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:t6(e,i),userEvent:"select.search"}),!0)}),tV=tX((e,{query:t})=>{let{state:n}=e,{from:i}=n.selection.main,r=t.prevMatch(n,i,i);return!!r&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:t6(e,r),userEvent:"select.search"}),!0)}),tG=tX((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:o.jT.create(n.map(e=>o.jT.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),tZ=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,s=[],l=0;for(let a=new ta(e.doc,e.sliceDoc(i,r));!a.next().done;){if(s.length>1e3)return!1;a.value.from==i&&(l=s.length),s.push(o.jT.range(a.value.from,a.value.to))}return t(e.update({selection:o.jT.create(s,l),userEvent:"select.search.matches"})),!0},tY=tX((e,{query:t})=>{let{state:n}=e,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,i,i);if(!s)return!1;let o=[],a,h,c=[];if(s.from==i&&s.to==r&&(h=n.toText(t.getReplacement(s)),o.push({from:s.from,to:s.to,insert:h}),s=t.nextMatch(n,s.from,s.to),c.push(l.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))),s){let u=0==o.length||o[0].from>=s.to?0:s.to-s.from-h.length;a={anchor:s.from-u,head:s.to-u},c.push(t6(e,s))}return e.dispatch({changes:o,selection:a,scrollIntoView:!!a,effects:c,userEvent:"input.replace"}),!0}),tK=tX((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:i}=e;return{from:n,to:i,insert:t.getReplacement(e)}});if(!n.length)return!1;let i=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:l.tk.announce.of(i),userEvent:"input.replace.all"}),!0});function tH(e){return e.state.facet(tI).createPanel(e)}function t0(e,t){var n,i,r,s;let o=e.selection.main,l=o.empty||o.to>o.from+100?"":e.sliceDoc(o.from,o.to);if(t&&!l)return t;let a=e.facet(tI);return new tD({search:(null!==(n=null==t?void 0:t.literal)&&void 0!==n?n:a.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(i=null==t?void 0:t.caseSensitive)&&void 0!==i?i:a.caseSensitive,literal:null!==(r=null==t?void 0:t.literal)&&void 0!==r?r:a.literal,wholeWord:null!==(s=null==t?void 0:t.wholeWord)&&void 0!==s?s:a.wholeWord})}let t1=e=>{let t=e.state.field(tL,!1);if(t&&t.panel){let n=(0,l.Sd)(e,tH);if(!n)return!1;let i=n.dom.querySelector("[main-field]");if(i&&i!=e.root.activeElement){let r=t0(e.state,t.query.spec);r.valid&&e.dispatch({effects:tW.of(r)}),i.focus(),i.select()}}else e.dispatch({effects:[tJ.of(!0),t?tW.of(t0(e.state,t.query.spec)):o.Py.appendConfig.of(t7)]});return!0},t2=e=>{let t=e.state.field(tL,!1);if(!t||!t.panel)return!1;let n=(0,l.Sd)(e,tH);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:tJ.of(!1)}),!0},t5=[{key:"Mod-f",run:t1,scope:"editor search-panel"},{key:"F3",run:tq,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:tq,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:t2,scope:"editor search-panel"},{key:"Mod-Shift-l",run:tZ},{key:"Alt-g",run:tv},{key:"Mod-d",run:tT,preventDefault:!0}];class t3{constructor(e){this.view=e;let t=this.query=e.state.field(tL).query.spec;function n(e,t,n){return to("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=to("input",{value:t.search,placeholder:t4(e,"Find"),"aria-label":t4(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=to("input",{value:t.replace,placeholder:t4(e,"Replace"),"aria-label":t4(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=to("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=to("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=to("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=to("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>tq(e),[t4(e,"next")]),n("prev",()=>tV(e),[t4(e,"previous")]),n("select",()=>tG(e),[t4(e,"all")]),to("label",null,[this.caseField,t4(e,"match case")]),to("label",null,[this.reField,t4(e,"regexp")]),to("label",null,[this.wordField,t4(e,"by word")]),...e.state.readOnly?[]:[to("br"),this.replaceField,n("replace",()=>tY(e),[t4(e,"replace")]),n("replaceAll",()=>tK(e),[t4(e,"replace all")])],to("button",{name:"close",onclick:()=>t2(e),"aria-label":t4(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new tD({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:tW.of(e)}))}keydown(e){(0,l.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?tV:tq)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),tY(this.view))}update(e){for(let t of e.transactions)for(let n of t.effects)n.is(tW)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(tI).top}}function t4(e,t){return e.state.phrase(t)}let t9=/[\s\.,:;?!]/;function t6(e,{from:t,to:n}){let i=e.state.doc.lineAt(t),r=e.state.doc.lineAt(n).to,s=Math.max(i.from,t-30),o=Math.min(r,n+30),a=e.state.sliceDoc(s,o);if(s!=i.from){for(let h=0;h<30;h++)if(!t9.test(a[h+1])&&t9.test(a[h])){a=a.slice(h);break}}if(o!=r){for(let c=a.length-1;c>a.length-30;c--)if(!t9.test(a[c-1])&&t9.test(a[c])){a=a.slice(0,c);break}}return l.tk.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${i.number}.`)}let t8=l.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),t7=[tL,o.Wl.lowest(tU),t8];var ne=n(34790);class nt{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class nn{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=e,r=n.facet(nk).markerFilter;r&&(i=r(i));let s=l.p.set(i.map(e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from?l.p.widget({widget:new nb(e),diagnostic:e}).range(e.from):l.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity},diagnostic:e}).range(e.from,e.to)),!0);return new nn(s,t,ni(s))}}function ni(e,t=null,n=0){let i=null;return e.between(n,1e9,(e,n,{spec:r})=>{if(!t||r.diagnostic==t)return i=new nt(e,n,r.diagnostic),!1}),i}function nr(e,t){return!!(e.effects.some(e=>e.is(no))||e.changes.touchesRange(t.pos))}function ns(e,t){return e.field(nh,!1)?t:t.concat(o.Py.appendConfig.of([nh,l.tk.decorations.compute([nh],e=>{let{selected:t,panel:n}=e.field(nh);return t&&n&&t.from!=t.to?l.p.set([nc.range(t.from,t.to)]):l.p.none}),(0,l.bF)(nu,{hideOn:nr}),nS]))}let no=o.Py.define(),nl=o.Py.define(),na=o.Py.define(),nh=o.QQ.define({create:()=>new nn(l.p.none,null,null),update(e,t){if(t.docChanged){let n=e.diagnostics.map(t.changes),i=null;if(e.selected){let r=t.changes.mapPos(e.selected.from,1);i=ni(n,e.selected.diagnostic,r)||ni(n,null,r)}e=new nn(n,e.panel,i)}for(let s of t.effects)s.is(no)?e=nn.init(s.value,e.panel,t.state):s.is(nl)?e=new nn(e.diagnostics,s.value?nx.open:null,e.selected):s.is(na)&&(e=new nn(e.diagnostics,e.panel,s.value));return e},provide:e=>[l.mH.from(e,e=>e.panel),l.tk.decorations.from(e,e=>e.diagnostics)]}),nc=l.p.mark({class:"cm-lintRange cm-lintRange-active"});function nu(e,t,n){let{diagnostics:i}=e.state.field(nh),r=[],s=2e8,o=0;i.between(t-(n<0?1:0),t+(n>0?1:0),(e,i,{spec:l})=>{t>=e&&t<=i&&(e==i||(t>e||n>0)&&(t({dom:function(e,t){return to("ul",{class:"cm-tooltip-lint"},t.map(t=>nv(e,t,!1)))}(e,r)})}:null}let nf=e=>{let t=e.state.field(nh,!1);t&&t.panel||e.dispatch({effects:ns(e.state,[nl.of(!0)])});let n=(0,l.Sd)(e,nx.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},nd=e=>{let t=e.state.field(nh,!1);return!!t&&!!t.panel&&(e.dispatch({effects:nl.of(!1)}),!0)},np=e=>{let t=e.state.field(nh,!1);if(!t)return!1;let n=e.state.selection.main,i=t.diagnostics.iter(n.to+1);return(!!i.value||!!(i=t.diagnostics.iter(0)).value&&(i.from!=n.from||i.to!=n.to))&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},nm=[{key:"Mod-Shift-m",run:nf,preventDefault:!0},{key:"F8",run:np}],ng=l.lg.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(nk);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){let e=Date.now();if(ePromise.resolve(e(this.view)))).then(e=>{let n=e.reduce((e,t)=>e.concat(t));this.view.state.doc==t.doc&&this.view.dispatch({effects:ns(this.view.state,[no.of(n)])})},e=>{(0,l.OO)(this.view.state,e)})}}update(e){let t=e.state.facet(nk);(e.docChanged||t!=e.startState.facet(nk))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),nk=o.r$.define({combine:e=>Object.assign({sources:e.map(e=>e.source)},(0,o.BO)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null})),enables:ng});function ny(e){let t=[];if(e)e:for(let{name:n}of e){for(let i=0;ie.toLowerCase()==r.toLowerCase())){t.push(r);continue e}}t.push("")}return t}function nv(e,t,n){var i;let r=n?ny(t.actions):[];return to("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},to("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(i=t.actions)||void 0===i?void 0:i.map((n,i)=>{let s=i=>{i.preventDefault();let r=ni(e.state.field(nh).diagnostics,t);r&&n.apply(e,r.from,r.to)},{name:o}=n,l=r[i]?o.indexOf(r[i]):-1,a=l<0?o:[o.slice(0,l),to("u",o.slice(l,l+1)),o.slice(l+1)];return to("button",{type:"button",class:"cm-diagnosticAction",onclick:s,onmousedown:s,"aria-label":` Action: ${o}${l<0?"":` (access key "${r[i]})"`}.`},a)}),t.source&&to("div",{class:"cm-diagnosticSource"},t.source))}class nb extends l.l9{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return to("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class nO{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=nv(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class nx{constructor(e){this.view=e,this.items=[];let t=t=>{if(27==t.keyCode)nd(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],i=ny(n.actions);for(let r=0;r{for(let t=0;tnd(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(nh).selected;if(!e)return -1;for(let t=0;t{let l=-1,a;for(let h=n;hn&&(this.items.splice(n,l-n),i=!0)),t&&a.diagnostic==t.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),r=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),n++});n({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{e.topt.bottom&&(this.list.scrollTop+=e.bottom-t.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=ni(this.view.state.field(nh).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:na.of(t)})}static open(e){return new nx(e)}}function nw(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}(``,'width="6" height="3"')}let nS=l.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:nw("#d11")},".cm-lintRange-warning":{backgroundImage:nw("orange")},".cm-lintRange-info":{backgroundImage:nw("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});l.SJ;let nP=o.Py.define();var nC=function(e){void 0===e&&(e={});var t,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(ne.GA)),!1!==e.defaultKeymap&&(n=n.concat(tr)),!1!==e.searchKeymap&&(n=n.concat(t5)),!1!==e.historyKeymap&&(n=n.concat(N)),!1!==e.foldKeymap&&(n=n.concat(a.e7)),!1!==e.completionKeymap&&(n=n.concat(ne.B1)),!1!==e.lintKeymap&&(n=n.concat(nm));var i=[];if(!1!==e.lineNumbers&&i.push((0,l.Eu)()),!1!==e.highlightActiveLineGutter&&i.push((0,l.HQ)()),!1!==e.highlightSpecialChars&&i.push((0,l.AE)()),!1!==e.history&&i.push(function(e={}){return[O,b.of(e),l.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?w:"historyRedo"==e.inputType?S:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&i.push((0,a.mi)()),!1!==e.drawSelection&&i.push((0,l.Uw)()),!1!==e.dropCursor&&i.push((0,l.qr)()),!1!==e.allowMultipleSelections&&i.push(o.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&i.push((0,a.nY)()),!1!==e.syntaxHighlighting&&i.push((0,a.nF)(a.R_,{fallback:!0})),!1!==e.bracketMatching&&i.push((0,a.n$)()),!1!==e.closeBrackets&&i.push((0,ne.vQ)()),!1!==e.autocompletion&&i.push((0,ne.ys)()),!1!==e.rectangularSelection&&i.push((0,l.Zs)()),!1!==e.crosshairCursor&&i.push((0,l.S2)()),!1!==e.highlightActiveLine&&i.push((0,l.ZO)()),!1!==e.highlightSelectionMatches){let r;i.push((r=[tA,tC],t&&r.push(tx.of(t)),r))}return e.tabSize&&"number"==typeof e.tabSize&&i.push(a.c.of(" ".repeat(e.tabSize))),i.concat([l.$f.of(n.flat())]).filter(Boolean)},nA=n(35524);let nQ="#e06c75",nT="#abb2bf",nI="#7d8799",nD="#d19a66",nR="#2c313a",nM="#282c34",n$="#353a42",nN="#528bff",nE=l.tk.theme({"&":{color:nT,backgroundColor:nM},".cm-content":{caretColor:nN},".cm-cursor, .cm-dropCursor":{borderLeftColor:nN},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:nT},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847",outline:"1px solid #515a6b"},".cm-gutters":{backgroundColor:nM,color:nI,border:"none"},".cm-activeLineGutter":{backgroundColor:nR},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:n$},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:n$,borderBottomColor:n$},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:nR,color:nT}}},{dark:!0}),nz=a.Qf.define([{tag:nA.pJ.keyword,color:"#c678dd"},{tag:[nA.pJ.name,nA.pJ.deleted,nA.pJ.character,nA.pJ.propertyName,nA.pJ.macroName],color:nQ},{tag:[nA.pJ.function(nA.pJ.variableName),nA.pJ.labelName],color:"#61afef"},{tag:[nA.pJ.color,nA.pJ.constant(nA.pJ.name),nA.pJ.standard(nA.pJ.name)],color:nD},{tag:[nA.pJ.definition(nA.pJ.name),nA.pJ.separator],color:nT},{tag:[nA.pJ.typeName,nA.pJ.className,nA.pJ.number,nA.pJ.changed,nA.pJ.annotation,nA.pJ.modifier,nA.pJ.self,nA.pJ.namespace],color:"#e5c07b"},{tag:[nA.pJ.operator,nA.pJ.operatorKeyword,nA.pJ.url,nA.pJ.escape,nA.pJ.regexp,nA.pJ.link,nA.pJ.special(nA.pJ.string)],color:"#56b6c2"},{tag:[nA.pJ.meta,nA.pJ.comment],color:nI},{tag:nA.pJ.strong,fontWeight:"bold"},{tag:nA.pJ.emphasis,fontStyle:"italic"},{tag:nA.pJ.strikethrough,textDecoration:"line-through"},{tag:nA.pJ.link,color:nI,textDecoration:"underline"},{tag:nA.pJ.heading,fontWeight:"bold",color:nQ},{tag:[nA.pJ.atom,nA.pJ.bool,nA.pJ.special(nA.pJ.variableName)],color:nD},{tag:[nA.pJ.processingInstruction,nA.pJ.string,nA.pJ.inserted],color:"#98c379"},{tag:nA.pJ.invalid,color:"#ffffff"}]),nB=[nE,(0,a.nF)(nz)];var nW=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)}),nJ=n(85893),nL=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],nj=(0,s.forwardRef)((e,t)=>{var{className:n,value:a="",selection:h,extensions:c=[],onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,autoFocus:m,theme:g="light",height:k,minHeight:y,maxHeight:v,width:b,minWidth:O,maxWidth:x,basicSetup:w,placeholder:S,indentWithTab:P,editable:C,readOnly:A,root:Q,initialState:T}=e,I=(0,r.Z)(e,nL),D=(0,s.useRef)(null),{state:R,view:M,container:$,setContainer:N}=function(e){var{value:t,selection:n,onChange:i,onStatistics:r,onCreateEditor:a,onUpdate:h,extensions:c=[],autoFocus:u,theme:f="light",height:d="",minHeight:p="",maxHeight:m="",placeholder:g="",width:k="",minWidth:y="",maxWidth:v="",editable:b=!0,readOnly:O=!1,indentWithTab:x=!0,basicSetup:w=!0,root:S,initialState:P}=e,[C,A]=(0,s.useState)(),[Q,T]=(0,s.useState)(),[I,D]=(0,s.useState)(),R=l.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),M=l.tk.theme({"&":{height:d,minHeight:p,maxHeight:m,width:k,minWidth:y,maxWidth:v}}),$=[l.tk.updateListener.of(e=>{e.docChanged&&"function"==typeof i&&i(e.state.doc.toString(),e),r&&r(nW(e))}),M];switch(x&&$.unshift(l.$f.of([ts])),w&&("boolean"==typeof w?$.unshift(nC()):$.unshift(nC(w))),g&&$.unshift((0,l.W$)(g)),f){case"light":$.push(R);break;case"dark":$.push(nB);break;default:$.push(f)}return!1===b&&$.push(l.tk.editable.of(!1)),O&&$.push(o.yy.readOnly.of(!0)),h&&"function"==typeof h&&$.push(l.tk.updateListener.of(h)),$=$.concat(c),(0,s.useEffect)(()=>{if(C&&!I){var e={doc:t,selection:n,extensions:$},i=P?o.yy.fromJSON(P.json,e,P.fields):o.yy.create(e);if(D(i),!Q){var r=new l.tk({state:i,parent:C,root:S});T(r),a&&a(r,i)}}return()=>{Q&&(D(void 0),T(void 0))}},[C,I]),(0,s.useEffect)(()=>A(e.container),[e.container]),(0,s.useEffect)(()=>()=>{Q&&(Q.destroy(),T(void 0))},[Q]),(0,s.useEffect)(()=>{u&&Q&&Q.focus()},[u,Q]),(0,s.useEffect)(()=>{Q&&Q.dispatch({effects:o.Py.reconfigure.of($)})},[f,c,d,p,m,k,y,v,g,b,O,x,w,i,h]),(0,s.useEffect)(()=>{var e=Q?Q.state.doc.toString():"";Q&&t!==e&&Q.dispatch({changes:{from:0,to:e.length,insert:t||""}})},[t,Q]),{state:I,setState:D,view:Q,setView:T,container:C,setContainer:A}}({container:D.current,root:Q,value:a,autoFocus:m,theme:g,height:k,minHeight:y,maxHeight:v,width:b,minWidth:O,maxWidth:x,basicSetup:w,placeholder:S,indentWithTab:P,editable:C,readOnly:A,selection:h,onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,extensions:c,initialState:T});if((0,s.useImperativeHandle)(t,()=>({editor:D.current,state:R,view:M}),[D,$,R,M]),"string"!=typeof a)throw Error("value must be typeof string but got "+typeof a);return(0,nJ.jsx)("div",(0,i.Z)({ref:D,className:("string"==typeof g?"cm-theme-"+g:"cm-theme")+(n?" "+n:"")},I))});nj.displayName="CodeMirror";var nF=nj},34790:function(e,t,n){n.d(t,{B1:function(){return eP},GA:function(){return ev},Gn:function(){return es},Mb:function(){return a},eC:function(){return h},vQ:function(){return ef},ys:function(){return eS}});var i=n(78120),r=n(47421),s=n(59119);class o{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=(0,s.qz)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),r=i.search(f(e,!1));return r<0?null:{from:n+r,to:this.pos,text:i.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}function l(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function a(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,i]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:i}of e){t[i[0]]=!0;for(let r=1;r{let r=e.matchBefore(i);return r||e.explicit?{from:r?r.from:e.pos,options:t,validFor:n}:null}}function h(e,t){return n=>{for(let i=(0,s.qz)(n.state).resolveInner(n.pos,-1);i;i=i.parent)if(e.indexOf(i.name)>-1)return null;return t(n)}}class c{constructor(e,t,n){this.completion=e,this.source=t,this.match=n}}function u(e){return e.selection.main.head}function f(e,t){var n;let{source:i}=e,r=t&&"^"!=i[0],s="$"!=i[i.length-1];return r||s?RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}let d=i.q6.define();function p(e,t){let n=t.completion.apply||t.completion.label,r=t.source;if("string"==typeof n){var s,o,l;e.dispatch(Object.assign(Object.assign({},(s=e.state,o=r.from,l=r.to,Object.assign(Object.assign({},s.changeByRange(e=>{if(e==s.selection.main)return{changes:{from:o,to:l,insert:n},range:i.jT.cursor(o+n.length)};let t=l-o;return!e.empty||t&&s.sliceDoc(e.from-t,e.from)!=s.sliceDoc(o,l)?{range:e}:{changes:{from:e.from-t,to:e.from,insert:n},range:i.jT.cursor(e.from-t+n.length)}})),{userEvent:"input.complete"}))),{annotations:d.of(t.completion)}))}else n(e,t.completion,r.from,r.to)}let m=new WeakMap;function g(e){if(!Array.isArray(e))return e;let t=m.get(e);return t||m.set(e,t=a(e)),t}class k{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&P<=57||P>=97&&P<=122?2:P>=65&&P<=90?1:0:(C=(0,i.bg)(P))!=C.toLowerCase()?1:C!=C.toUpperCase()?2:0;(!x||1==A&&b||0==S&&0!=A)&&(t[m]==P||n[m]==P&&(g=!0)?o[m++]=x:o.length&&(O=!1)),S=A,x+=(0,i.nZ)(P)}return m==h&&0==o[0]&&O?this.result(-100+(g?-200:0),o,e):k==h&&0==y?[-200-e.length,0,v]:a>-1?[-700-e.length,a,a+this.pattern.length]:k==h?[-900-e.length,y,v]:m==h?this.result(-100+(g?-200:0)+-700+(O?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[e-n.length],s=1;for(let o of t){let l=o+(this.astral?(0,i.nZ)((0,i.gm)(n,o)):1);s>1&&r[s-1]==o?r[s-1]=l:(r[s++]=o,r[s++]=l)}return r}}let y=i.r$.define({combine:e=>(0,i.BO)(e,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,optionClass:(e,t)=>n=>{var i,r;return i=e(n),r=t(n),i?r?i+" "+r:i:r},addToOptions:(e,t)=>e.concat(t)})});function v(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let i=Math.floor(t/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class b{constructor(e,t){let n;this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:e=>this.positionInfo(e),key:this},this.space=null;let i=e.state.field(t),{options:r,selected:s}=i.open,o=e.state.facet(y);this.optionContent=(n=o.addToOptions.slice(),o.icons&&n.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),n.push({render(e,t,n){let i=document.createElement("span");i.className="cm-completionLabel";let{label:r}=e,s=0;for(let o=1;os&&i.appendChild(document.createTextNode(r.slice(s,l)));let h=i.appendChild(document.createElement("span"));h.appendChild(document.createTextNode(r.slice(l,a))),h.className="cm-completionMatchedText",s=a}return se.position-t.position).map(e=>e.render)),this.optionClass=o.optionClass,this.range=v(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",t=>{for(let n=t.target,i;n&&n!=this.dom;n=n.parentNode)if("LI"==n.nodeName&&(i=/-(\d+)$/.exec(n.id))&&+i[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){var t,n,i;let r=e.state.field(this.stateField),s=e.startState.field(this.stateField);r!=s&&(this.updateSel(),(null===(t=r.open)||void 0===t?void 0:t.disabled)!=(null===(n=s.open)||void 0===n?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(null===(i=r.open)||void 0===i?void 0:i.disabled)))}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=v(t.options.length,t.selected,this.view.state.facet(y).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:n}=t.options[t.selected],{info:i}=n;if(!i)return;let s="string"==typeof i?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t)}).catch(e=>(0,r.OO)(this.view.state,e,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){var t,n;let i,r,s=null;for(let o=this.list.firstChild,l=this.range.from;o;o=o.nextSibling,l++)l==e?o.hasAttribute("aria-selected")||(o.setAttribute("aria-selected","true"),s=o):o.hasAttribute("aria-selected")&&o.removeAttribute("aria-selected");return s&&(t=this.list,n=s,i=t.getBoundingClientRect(),(r=n.getBoundingClientRect()).topi.bottom&&(t.scrollTop+=r.bottom-i.bottom)),s}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),s=this.space;if(!s){let o=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}if(i.top>Math.min(s.bottom,t.bottom)-10||i.bottom=n.height||m>t.top?u=i.bottom-t.top+"px":f=t.bottom-i.top+"px"}return{top:u,bottom:f,maxWidth:c,class:h?l?"left-narrow":"right-narrow":a?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,n){let i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let r=n.from;r=this.options.length?this:new x(this.options,P(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,i,r){let s=function(e,t){let n=[],i=0;for(let r of e)if(r.hasResult()){if(!1===r.result.filter){let s=r.result.getMatch;for(let o of r.result.options){let l=[1e9-i++];if(s)for(let a of s(o))l.push(a);n.push(new c(o,r,l))}}else{let h=new k(t.sliceDoc(r.from,r.to)),u;for(let f of r.result.options)(u=h.match(f.label))&&(null!=f.boost&&(u[0]+=f.boost),n.push(new c(f,r,u)))}}let d=[],p=null,m=t.facet(y).compareCompletions;for(let g of n.sort((e,t)=>t.match[0]-e.match[0]||m(e.completion,t.completion)))p&&p.label==g.completion.label&&p.detail==g.completion.detail&&(null==p.type||null==g.completion.type||p.type==g.completion.type)&&p.apply==g.completion.apply?O(g.completion)>O(p)&&(d[d.length-1]=g):d.push(g),p=g.completion;return d}(e,t);if(!s.length)return i&&e.some(e=>1==e.state)?new x(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let o=t.facet(y).selectOnOpen?0:-1;if(i&&i.selected!=o&&-1!=i.selected){let l=i.options[i.selected].completion;for(let a=0;at.hasResult()?Math.min(e,t.from):e,1e8),create:e=>new b(e,$),above:r.aboveCursor},i?i.timestamp:Date.now(),o,!1)}map(e){return new x(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class w{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new w(C,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(y),i=(n.override||t.languageDataAt("autocomplete",u(t)).map(g)).map(t=>(this.active.find(e=>e.source==t)||new Q(t,this.active.some(e=>0!=e.state)?1:0)).update(e,n));i.length==this.active.length&&i.every((e,t)=>e==this.active[t])&&(i=this.active);let r=this.open;for(let s of(e.selection||i.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,i=0;;){for(;n1==e.state)?r=null:r&&e.docChanged&&(r=r.map(e.changes)),!r&&i.every(e=>1!=e.state)&&i.some(e=>e.hasResult())&&(i=i.map(e=>e.hasResult()?new Q(e.source,0):e)),e.effects))s.is(M)&&(r=r&&r.setSelected(s.value,this.id));return i==this.active&&r==this.open?this:new w(i,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:S}}let S={"aria-autocomplete":"list"};function P(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let C=[];function A(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}class Q{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=A(e),i=this;for(let r of(n?i=i.handleUserEvent(e,n,t):e.docChanged?i=i.handleChange(e):e.selection&&0!=i.state&&(i=new Q(i.source,0)),e.effects))if(r.is(I))i=new Q(i.source,1,r.value?u(e.state):-1);else if(r.is(D))i=new Q(i.source,0);else if(r.is(R))for(let s of r.value)s.source==i.source&&(i=s);return i}handleUserEvent(e,t,n){return"delete"!=t&&n.activateOnTyping?new Q(this.source,1):this.map(e.changes)}handleChange(e){return e.changes.touchesRange(u(e.startState))?new Q(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Q(this.source,this.state,e.mapPos(this.explicitPos))}}class T extends Q{constructor(e,t,n,i,r){super(e,2,t),this.result=n,this.from=i,this.to=r}hasResult(){return!0}handleUserEvent(e,t,n){var i;let r=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),l=u(e.state);if((this.explicitPos<0?l<=r:ls||"delete"==t&&u(e.startState)==this.from)return new Q(this.source,"input"==t&&n.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),h;return!function(e,t,n,i){if(!e)return!1;let r=t.sliceDoc(n,i);return"function"==typeof e?e(r,n,i,t):f(e,!0).test(r)}(this.result.validFor,e.state,r,s)?this.result.update&&(h=this.result.update(this.result,r,s,new o(e.state,l,a>=0)))?new T(this.source,a,h,h.from,null!==(i=h.to)&&void 0!==i?i:u(e.state)):new Q(this.source,1,a):new T(this.source,a,this.result,r,s)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Q(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new T(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}let I=i.Py.define(),D=i.Py.define(),R=i.Py.define({map:(e,t)=>e.map(e=>e.map(t))}),M=i.Py.define(),$=i.QQ.define({create:()=>w.start(),update:(e,t)=>e.update(t),provide:e=>[r.hJ.from(e,e=>e.tooltip),r.tk.contentAttributes.from(e,e=>e.attrs)]});function N(e,t="option"){return n=>{let i=n.state.field($,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp-1?i.open.selected+s*(e?1:-1):e?0:l-1;return a<0?a="page"==t?0:l-1:a>=l&&(a="page"==t?l-1:0),n.dispatch({effects:M.of(a)}),!0}}let E=e=>{let t=e.state.field($,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||Date.now()-t.open.timestamp!!e.state.field($,!1)&&(e.dispatch({effects:I.of(!0)}),!0),B=e=>{let t=e.state.field($,!1);return!!(t&&t.active.some(e=>0!=e.state))&&(e.dispatch({effects:D.of(null)}),!0)};class W{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let J=r.lg.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0,e.state.field($).active))1==t.state&&this.startQuery(t)}update(e){let t=e.state.field($);if(!e.selectionSet&&!e.docChanged&&e.startState.field($)==t)return;let n=e.transactions.some(e=>(e.selection||e.docChanged)&&!A(e));for(let i=0;i50&&Date.now()-s.time>1e3){for(let o of s.context.abortListeners)try{o()}catch(l){(0,r.OO)(this.view.state,l)}s.context.abortListeners=null,this.running.splice(i--,1)}else s.updates.push(...e.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=t.active.some(e=>1==e.state&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),50):-1,0!=this.composing)for(let a of e.transactions)"input"==A(a)?this.composing=2:2==this.composing&&a.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:e}=this.view;for(let t of e.field($).active)1!=t.state||this.running.some(e=>e.active.source==t.source)||this.startQuery(t)}startQuery(e){let{state:t}=this.view,n=u(t),i=new o(t,n,e.explicitPos==n),s=new W(e,i);this.running.push(s),Promise.resolve(e.source(i)).then(e=>{s.context.aborted||(s.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:D.of(null)}),(0,r.OO)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),50))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(y);for(let i=0;ie.source==r.active.source);if(l&&1==l.state){if(null==r.done){let a=new Q(r.active.source,0);for(let h of r.updates)a=a.update(h,n);1!=a.state&&t.push(a)}else this.startQuery(l)}}t.length&&this.view.dispatch({effects:R.of(t)})}},{eventHandlers:{blur(){let e=this.view.state.field($,!1);e&&e.tooltip&&this.view.state.facet(y).closeOnBlur&&this.view.dispatch({effects:D.of(null)})},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:I.of(!1)}),20),this.composing=0}}}),L=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class j{constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class F{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,i.gc.TrackDel),n=e.mapPos(this.to,1,i.gc.TrackDel);return null==t||null==n?null:new F(this.field,t,n)}}class _{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],r=e.doc.lineAt(t),o=/^\s*/.exec(r.text)[0];for(let l of this.lines){if(n.length){let a=o,h=/^\t*/.exec(l)[0].length;for(let c=0;cnew F(e.field,i[e.line]+e.from,i[e.line]+e.to));return{text:n,ranges:u}}static parse(e){let t=[],n=[],i=[],r;for(let s of e.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s);){let o=r[1]?+r[1]:null,l=r[2]||r[3]||"",a=-1;for(let h=0;h=a&&u.field++}i.push(new j(a,n.length,r.index,r.index+l.length)),s=s.slice(0,r.index)+l+s.slice(r.index+r[0].length)}for(let f;f=/\\([{}])/.exec(s);)for(let d of(s=s.slice(0,f.index)+f[1]+s.slice(f.index+f[0].length),i))d.line==n.length&&d.from>f.index&&(d.from--,d.to--);n.push(s)}return new _(n,i)}}let U=r.p.widget({widget:new class extends r.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),X=r.p.mark({class:"cm-snippetField"});class q{constructor(e,t){this.ranges=e,this.active=t,this.deco=r.p.set(e.map(e=>(e.from==e.to?U:X).range(e.from,e.to)))}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new q(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let V=i.Py.define({map:(e,t)=>e&&e.map(t)}),G=i.Py.define(),Z=i.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(V))return n.value;if(n.is(G)&&e)return new q(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>r.tk.decorations.from(e,e=>e?e.deco:r.p.none)});function Y(e,t){return i.jT.create(e.filter(e=>e.field==t).map(e=>i.jT.range(e.from,e.to)))}function K(e){return({state:t,dispatch:n})=>{let i=t.field(Z,!1);if(!i||e<0&&0==i.active)return!1;let r=i.active+e,s=e>0&&!i.ranges.some(t=>t.field==r+e);return n(t.update({selection:Y(i.ranges,r),effects:V.of(s?null:new q(i.ranges,r))})),!0}}let H=({state:e,dispatch:t})=>!!e.field(Z,!1)&&(t(e.update({effects:V.of(null)})),!0),ee=K(1),et=K(-1),en=[{key:"Tab",run:ee,shift:et},{key:"Escape",run:H}],ei=i.r$.define({combine:e=>e.length?e[0]:en}),er=i.Wl.highest(r.$f.compute([ei],e=>e.facet(ei)));function es(e,t){let n;return Object.assign(Object.assign({},t),{apply:(n=_.parse(e),(e,t,r,s)=>{let{text:o,ranges:l}=n.instantiate(e.state,r),a={changes:{from:r,to:s,insert:i.xv.of(o)},scrollIntoView:!0};if(l.length&&(a.selection=Y(l,0)),l.length>1){let h=new q(l,0),c=a.effects=[V.of(h)];void 0===e.state.field(Z,!1)&&c.push(i.Py.appendConfig.of([Z,er,eo,L]))}e.dispatch(e.state.update(a))})})}let eo=r.tk.domEventHandlers({mousedown(e,t){let n=t.state.field(Z,!1),i;if(!n||null==(i=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let r=n.ranges.find(e=>e.from<=i&&e.to>=i);return!!r&&r.field!=n.active&&(t.dispatch({selection:Y(n.ranges,r.field),effects:V.of(n.ranges.some(e=>e.field>r.field)?new q(n.ranges,r.field):null)}),!0)}}),el={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ea=i.Py.define({map(e,t){let n=t.mapPos(e,-1,i.gc.TrackAfter);return null==n?void 0:n}}),eh=i.Py.define({map:(e,t)=>t.mapPos(e)}),ec=new class extends i.uU{};ec.startSide=1,ec.endSide=-1;let eu=i.QQ.define({create:()=>i.Xs.empty,update(e,t){if(t.selection){let n=t.state.doc.lineAt(t.selection.main.head).from,r=t.startState.doc.lineAt(t.startState.selection.main.head).from;n!=t.changes.mapPos(r,-1)&&(e=i.Xs.empty)}for(let s of(e=e.map(t.changes),t.effects))s.is(ea)?e=e.update({add:[ec.range(s.value,s.value+1)]}):s.is(eh)&&(e=e.update({filter:e=>e!=s.value}));return e}});function ef(){return[ek,eu]}let ed="()[]{}<>";function ep(e){for(let t=0;t{if((eg?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,i.nZ)((0,i.gm)(r,0))||t!=o.from||n!=o.to)return!1;let l=function(e,t){let n=em(e,e.selection.main.head),r=n.brackets||el.brackets;for(let o of r){let l=ep((0,i.gm)(o,0));if(t==o)return l==o?function(e,t,n,r){let o=r.stringPrefixes||el.stringPrefixes,l=null,a=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:ea.of(r.to+t.length),range:i.jT.range(r.anchor+t.length,r.head+t.length)};let a=r.head,h=eO(e.doc,a),c;if(h==t){if(ex(e,a))return{changes:{insert:t+t,from:a},effects:ea.of(a+t.length),range:i.jT.cursor(a+t.length)};if(eb(e,a)){let u=n&&e.sliceDoc(a,a+3*t.length)==t+t+t;return{range:i.jT.cursor(a+t.length*(u?3:1)),effects:eh.of(a)}}}else if(n&&e.sliceDoc(a-2*t.length,a)==t+t&&(c=ew(e,a-2*t.length,o))>-1&&ex(e,c))return{changes:{insert:t+t+t+t,from:a},effects:ea.of(a+t.length),range:i.jT.cursor(a+t.length)};else if(e.charCategorizer(a)(h)!=i.D0.Word&&ew(e,a,o)>-1&&!function(e,t,n,i){let r=(0,s.qz)(e).resolveInner(t,-1),o=i.reduce((e,t)=>Math.max(e,t.length),0);for(let l=0;l<5;l++){let a=e.sliceDoc(r.from,Math.min(r.to,r.from+n.length+o)),h=a.indexOf(n);if(!h||h>-1&&i.indexOf(a.slice(0,h))>-1){let c=r.firstChild;for(;c&&c.from==r.from&&c.to-c.from>n.length+h;){if(e.sliceDoc(c.to-n.length,c.to)==n)return!1;c=c.firstChild}return!0}let u=r.to==t&&r.parent;if(!u)break;r=u}return!1}(e,a,t,o))return{changes:{insert:t+t,from:a},effects:ea.of(a+t.length),range:i.jT.cursor(a+t.length)};return{range:l=r}});return l?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,r.indexOf(o+o+o)>-1,n):function(e,t,n,r){let s=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:ea.of(o.to+t.length),range:i.jT.range(o.anchor+t.length,o.head+t.length)};let l=eO(e.doc,o.head);return!l||/\s/.test(l)||r.indexOf(l)>-1?{changes:{insert:t+n,from:o.head},effects:ea.of(o.head+t.length),range:i.jT.cursor(o.head+t.length)}:{range:s=o}});return s?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,l,n.before||el.before);if(t==l&&eb(e,e.selection.main.from))return function(e,t,n){let r=null,s=e.selection.ranges.map(t=>t.empty&&eO(e.doc,t.head)==n?i.jT.cursor(t.head+n.length):r=t);return r?null:e.update({selection:i.jT.create(s,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map(({from:e})=>eh.of(e))})}(e,0,l)}return null}(e.state,r);return!!l&&(e.dispatch(l),!0)}),ey=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=em(e,e.selection.main.head).brackets||el.brackets,r=null,s=e.changeByRange(t=>{if(t.empty){var s,o;let l;let a=(s=e.doc,o=t.head,l=s.sliceString(o-2,o),(0,i.nZ)((0,i.gm)(l,0))==l.length?l:l.slice(1));for(let h of n)if(h==a&&eO(e.doc,t.head)==ep((0,i.gm)(h,0)))return{changes:{from:t.head-h.length,to:t.head+h.length},range:i.jT.cursor(t.head-h.length)}}return{range:r=t}});return r||t(e.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},ev=[{key:"Backspace",run:ey}];function eb(e,t){let n=!1;return e.field(eu).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function eO(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,i.nZ)((0,i.gm)(n,0)))}function ex(e,t){let n=(0,s.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function ew(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=i.D0.Word)return t;for(let s of n){let o=t-s.length;if(e.sliceDoc(o,t)==s&&r(e.sliceDoc(o-1,o))!=i.D0.Word)return o}return -1}function eS(e={}){return[$,y.of(e),J,eC,L]}let eP=[{key:"Ctrl-Space",run:z},{key:"Escape",run:B},{key:"ArrowDown",run:N(!0)},{key:"ArrowUp",run:N(!1)},{key:"PageDown",run:N(!0,"page")},{key:"PageUp",run:N(!1,"page")},{key:"Enter",run:E}],eC=i.Wl.highest(r.$f.computeN([y],e=>e.facet(y).defaultKeymap?[eP]:[]))},61426:function(e,t,n){n.r(t),n.d(t,{css:function(){return S},cssCompletionSource:function(){return x},cssLanguage:function(){return w}});var i=n(53105),r=n(35524);let s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function o(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}let l=new i.Jq((e,t)=>{for(let n=!1,i=0,r=0;;r++){var s;let{next:l}=e;if(o(l)||45==l||95==l||n&&(s=l)>=48&&s<=57)!n&&(45!=l||r>0)&&(n=!0),i===r&&45==l&&i++,e.advance();else{n&&e.acceptToken(40==l?95:2==i&&t.canShift(2)?2:96);break}}}),a=new i.Jq(e=>{if(s.includes(e.peek(-1))){let{next:t}=e;(o(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(94)}}),h=new i.Jq(e=>{if(!s.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),o(t)){do e.advance();while(o(e.next));e.acceptToken(1)}}}),c=(0,r.Gv)({"AtKeyword import charset namespace keyframes media supports":r.pJ.definitionKeyword,"from to selector":r.pJ.keyword,NamespaceName:r.pJ.namespace,KeyframeName:r.pJ.labelName,TagName:r.pJ.tagName,ClassName:r.pJ.className,PseudoClassName:r.pJ.constant(r.pJ.className),IdName:r.pJ.labelName,"FeatureName PropertyName":r.pJ.propertyName,AttributeName:r.pJ.attributeName,NumberLiteral:r.pJ.number,KeywordQuery:r.pJ.keyword,UnaryQueryOp:r.pJ.operatorKeyword,"CallTag ValueName":r.pJ.atom,VariableName:r.pJ.variableName,Callee:r.pJ.operatorKeyword,Unit:r.pJ.unit,"UniversalSelector NestingSelector":r.pJ.definitionOperator,MatchOp:r.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":r.pJ.logicOperator,BinOp:r.pJ.arithmeticOperator,Important:r.pJ.modifier,Comment:r.pJ.blockComment,ParenthesizedContent:r.pJ.special(r.pJ.name),ColorLiteral:r.pJ.color,StringLiteral:r.pJ.string,":":r.pJ.punctuation,"PseudoOp #":r.pJ.derefOperator,"; ,":r.pJ.separator,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace}),u={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},f={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},d={__proto__:null,not:128,only:128,from:158,to:160},p=i.WQ.deserialize({version:14,states:"7WQYQ[OOO#_Q[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO#fQ[O'#CfO$YQXO'#CaO$aQ[O'#ChO$lQ[O'#DPO$qQ[O'#DTOOQP'#Ed'#EdO$vQdO'#DeO%bQ[O'#DrO$vQdO'#DtO%sQ[O'#DvO&OQ[O'#DyO&TQ[O'#EPO&cQ[O'#EROOQS'#Ec'#EcOOQS'#ET'#ETQYQ[OOO&jQXO'#CdO'_QWO'#DaO'dQWO'#EjO'oQ[O'#EjQOQWOOOOQP'#Cg'#CgOOQP,59Q,59QO#fQ[O,59QO'yQ[O'#EWO(eQWO,58{O(mQ[O,59SO$lQ[O,59kO$qQ[O,59oO'yQ[O,59sO'yQ[O,59uO'yQ[O,59vO(xQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)PQWO,59SO)UQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)ZQ`O,59oOOQS'#Cp'#CpO$vQdO'#CqO)cQvO'#CsO*pQtO,5:POOQO'#Cx'#CxO)UQWO'#CwO+UQWO'#CyOOQS'#Eg'#EgOOQO'#Dh'#DhO+ZQ[O'#DoO+iQWO'#EkO&TQ[O'#DmO+wQWO'#DpOOQO'#El'#ElO(hQWO,5:^O+|QpO,5:`OOQS'#Dx'#DxO,UQWO,5:bO,ZQ[O,5:bOOQO'#D{'#D{O,cQWO,5:eO,hQWO,5:kO,pQWO,5:mOOQS-E8R-E8RO$vQdO,59{O,xQ[O'#EYO-VQWO,5;UO-VQWO,5;UOOQP1G.l1G.lO-|QXO,5:rOOQO-E8U-E8UOOQS1G.g1G.gOOQP1G.n1G.nO)PQWO1G.nO)UQWO1G.nOOQP1G/V1G/VO.ZQ`O1G/ZO.tQXO1G/_O/[QXO1G/aO/rQXO1G/bO0YQWO,59zO0_Q[O'#DOO0fQdO'#CoOOQP1G/Z1G/ZO$vQdO1G/ZO0mQpO,59]OOQS,59_,59_O$vQdO,59aO0uQWO1G/kOOQS,59c,59cO0zQ!bO,59eO1SQWO'#DhO1_QWO,5:TO1dQWO,5:ZO&TQ[O,5:VO&TQ[O'#EZO1lQWO,5;VO1wQWO,5:XO'yQ[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2YQWO1G/|O2_QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO2mQtO1G/gOOQO,5:t,5:tO3TQ[O,5:tOOQO-E8W-E8WO3bQWO1G0pOOQP7+$Y7+$YOOQP7+$u7+$uO$vQdO7+$uOOQS1G/f1G/fO3mQXO'#EiO3tQWO,59jO3yQtO'#EUO4nQdO'#EfO4xQWO,59ZO4}QpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5VQWO1G/PO$vQdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5[QWO,5:uOOQO-E8X-E8XO5jQXO1G/vOOQS7+%h7+%hO5qQYO'#CsO(hQWO'#E[O5yQdO,5:hOOQS,5:h,5:hO6XQtO'#EXO$vQdO'#EXO7VQdO7+%ROOQO7+%R7+%ROOQO1G0`1G0`O7jQpO<T![;'S%^;'S;=`%o<%lO%^^;TUoWOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^^;nYoW#[UOy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^^[[oW#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^_?VSpVOy%^z;'S%^;'S;=`%o<%lO%^^?hWjSOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^_@VU#XPOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjSOy%^z{@}{;'S%^;'S;=`%o<%lO%^~ASUoWOy@}yzAfz{Bm{;'S@};'S;=`Co<%lO@}~AiTOzAfz{Ax{;'SAf;'S;=`Bg<%lOAf~A{VOzAfz{Ax{!PAf!P!QBb!Q;'SAf;'S;=`Bg<%lOAf~BgOR~~BjP;=`<%lAf~BrWoWOy@}yzAfz{Bm{!P@}!P!QC[!Q;'S@};'S;=`Co<%lO@}~CcSoWR~Oy%^z;'S%^;'S;=`%o<%lO%^~CrP;=`<%l@}^Cz[#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^XDuU]POy%^z![%^![!]EX!];'S%^;'S;=`%o<%lO%^XE`S^PoWOy%^z;'S%^;'S;=`%o<%lO%^_EqS!WVOy%^z;'S%^;'S;=`%o<%lO%^YFSSzQOy%^z;'S%^;'S;=`%o<%lO%^XFeU|POy%^z!`%^!`!aFw!a;'S%^;'S;=`%o<%lO%^XGOS|PoWOy%^z;'S%^;'S;=`%o<%lO%^XG_WOy%^z!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHO[!YPoWOy%^z}%^}!OGw!O!Q%^!Q![Gw![!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHySxPOy%^z;'S%^;'S;=`%o<%lO%^^I[SvUOy%^z;'S%^;'S;=`%o<%lO%^XIkUOy%^z#b%^#b#cI}#c;'S%^;'S;=`%o<%lO%^XJSUoWOy%^z#W%^#W#XJf#X;'S%^;'S;=`%o<%lO%^XJmS!`PoWOy%^z;'S%^;'S;=`%o<%lO%^XJ|UOy%^z#f%^#f#gJf#g;'S%^;'S;=`%o<%lO%^XKeS!RPOy%^z;'S%^;'S;=`%o<%lO%^_KvS!QVOy%^z;'S%^;'S;=`%o<%lO%^ZLXU!PPOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^WLnP;=`<%l$}",tokenizers:[a,h,l,0,1,2,3],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:95,get:e=>u[e]||-1},{term:56,get:e=>f[e]||-1},{term:96,get:e=>d[e]||-1}],tokenPrec:1123});var m=n(59119);let g=null;function k(){if(!g&&"object"==typeof document&&document.body){let e=[];for(let t in document.body.style)/[A-Z]|^-|^(item|length)$/.test(t)||e.push(t);g=e.sort().map(e=>({type:"property",label:e}))}return g||[]}let y=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),v=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),b=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),O=/^[\w-]*/,x=e=>{let{state:t,pos:n}=e,i=(0,m.qz)(t).resolveInner(n,-1);if("PropertyName"==i.name)return{from:i.from,options:k(),validFor:O};if("ValueName"==i.name)return{from:i.from,options:v,validFor:O};if("PseudoClassName"==i.name)return{from:i.from,options:y,validFor:O};if("TagName"==i.name){for(let{parent:r}=i;r;r=r.parent)if("Block"==r.name)return{from:i.from,options:k(),validFor:O};return{from:i.from,options:b,validFor:O}}if(!e.explicit)return null;let s=i.resolve(n),o=s.childBefore(n);return o&&":"==o.name&&"PseudoClassSelector"==s.name?{from:n,options:y,validFor:O}:o&&":"==o.name&&"Declaration"==s.name||"ArgList"==s.name?{from:n,options:v,validFor:O}:"Block"==s.name?{from:n,options:k(),validFor:O}:null},w=m.qp.define({name:"css",parser:p.configure({props:[m.uj.add({Declaration:(0,m.tC)()}),m.x0.add({Block:m.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function S(){return new m.ri(w,w.data.of({autocomplete:x}))}},59119:function(e,t,n){n.d(t,{Be:function(){return k},Dv:function(){return F},Gn:function(){return D},K0:function(){return I},Qf:function(){return ef},R_:function(){return ey},SQ:function(){return u},SS:function(){return T},Um:function(){return eT},c:function(){return A},c6:function(){return P},e7:function(){return ei},il:function(){return eM},kU:function(){return c},mi:function(){return ec},n$:function(){return eA},nF:function(){return eg},nY:function(){return J},pp:function(){return h},qp:function(){return d},qz:function(){return p},ri:function(){return S},tC:function(){return W},uj:function(){return R},vw:function(){return E},x0:function(){return j},y1:function(){return Q},ze:function(){return B}});var i,r=n(41113),s=n(78120),o=n(47421),l=n(35524),a=n(28699);let h=new r.md;function c(e){return s.r$.define({combine:e?t=>t.concat(e):void 0})}class u{constructor(e,t,n=[],i=""){this.data=e,this.name=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return p(this)}}),this.parser=t,this.extension=[w.of(this),s.yy.languageData.of((e,t,n)=>e.facet(f(e,t,n)))].concat(n)}isActiveAt(e,t,n=-1){return f(e,t,n)==this.data}findRegions(e){let t=e.facet(w);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(e,t)=>{if(e.prop(h)==this.data){n.push({from:t,to:t+e.length});return}let s=e.prop(r.md.mounted);if(s){if(s.tree.prop(h)==this.data){if(s.overlay)for(let o of s.overlay)n.push({from:o.from+t,to:o.to+t});else n.push({from:t,to:t+e.length});return}if(s.overlay){let l=n.length;if(i(s.tree,s.overlay[0].from+t),n.length>l)return}}for(let a=0;ae.isTop?t:void 0)]}),e.name)}configure(e,t){return new d(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function p(e){let t=e.field(u.state,!1);return t?t.tree:r.mp.empty}class m{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let g=null;class k{constructor(e,t,n=[],i,r,s,o,l){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new k(e,t,[],r.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new m(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=r.mp.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=g;g=this;try{return e()}finally{g=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=y(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((e,t,n,i)=>a.push({fromA:e,toA:t,fromB:n,toB:i})),n=r.i9.applyChanges(n,a),i=r.mp.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length)for(let h of(l=[],this.skipped)){let c=e.mapPos(h.from,1),u=e.mapPos(h.to,-1);ce.from&&(this.fragments=y(this.fragments,i,r),this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends r._b{createParse(t,n,i){let s=i[0].from,o=i[i.length-1].to;return{parsedPos:s,advance(){let t=g;if(t){for(let n of i)t.tempSkipped.push(n);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new r.mp(r.Jq.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return g}}function y(e,t,n){return r.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class v{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new v(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=k.create(e.facet(w).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new v(n)}}u.state=s.QQ.define({create:v.init,update(e,t){for(let n of t.effects)if(n.is(u.setState))return n.value;return t.startState.facet(w)!=t.state.facet(w)?v.init(t.state):e.apply(t)}});let b=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(b=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let O="undefined"!=typeof navigator&&(null===(i=navigator.scheduling)||void 0===i?void 0:i.isInputPending)?()=>navigator.scheduling.isInputPending():null,x=o.lg.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(u.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(u.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=b(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndi+1e3,l=r.context.work(()=>O&&O()||Date.now()>s,i+(o?0:1e5));this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:u.setState.of(new v(r.context))})),this.chunkBudget>0&&!(l&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,o.OO)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),w=s.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[u.state,x,o.tk.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class S{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class P{constructor(e,t,n,i,r,s){this.name=e,this.alias=t,this.extensions=n,this.filename=i,this.loadFunc=r,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new P(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let i=/\.([^.]+)$/.exec(t);if(i){for(let r of e)if(r.extensions.indexOf(i[1])>-1)return r}return null}static matchLanguageName(e,t,n=!0){for(let i of(t=t.toLowerCase(),e))if(i.alias.some(e=>e==t))return i;if(n)for(let r of e)for(let s of r.alias){let o=t.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(t[o-1])&&!/\w/.test(t[o+s.length])))return r}return null}}let C=s.r$.define(),A=s.r$.define({combine(e){if(!e.length)return" ";if(!/^(?: +|\t+)$/.test(e[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return e[0]}});function Q(e){let t=e.facet(A);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function T(e,t){let n="",i=e.tabSize;if(9==e.facet(A).charCodeAt(0))for(;t>=i;)n+=" ",t-=i;for(let r=0;r=n.from&&i<=n.to?r&&i==e?{text:"",from:e}:(t<0?i-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(e,t=e.length){return(0,s.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let s=r(i);if(s>-1)return s}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let R=new r.md;function M(e,t,n){for(;e;e=e.parent){let i=function(e){let t=e.type.prop(R);if(t)return t;let n=e.firstChild,i;if(n&&(i=n.type.prop(r.md.closedBy))){let s=e.lastChild,o=s&&i.indexOf(s.name)>-1;return e=>z(e,!0,1,void 0,o&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?s.from:void 0)}return null==e.parent?$:null}(e);if(i)return i(N.create(n,t,e))}return null}function $(){return 0}class N extends D{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new N(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let t=this.node.resolve(e.from);for(;t.parent&&t.parent.from==t.from;)t=t.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?M(e,this.pos,this.base):0}}function E({closing:e,align:t=!0,units:n=1}){return i=>z(i,t,n,e)}function z(e,t,n,i,r){let s=e.textAfter,o=s.match(/^\s*/)[0].length,l=i&&s.slice(o,o+i.length)==i||r==e.pos+o,a=t?function(e){let t=e.node,n=t.childAfter(t.from),i=t.lastChild;if(!n)return null;let r=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let l=n.to;;){let a=t.childAfter(l);if(!a||a==i)return null;if(!a.type.isSkipped)return a.frome.baseIndent;function W({except:e,units:t=1}={}){return n=>{let i=e&&e.test(n.textAfter);return n.baseIndent+(i?0:t*n.unit)}}function J(){return s.yy.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:i}=e.newSelection.main,r=n.lineAt(i);if(i>r.from+200)return e;let s=n.sliceString(r.from,i);if(!t.some(e=>e.test(s)))return e;let{state:o}=e,l=-1,a=[];for(let{head:h}of o.selection.ranges){let c=o.doc.lineAt(h);if(c.from==l)continue;l=c.from;let u=I(o,c.from);if(null==u)continue;let f=/^\s*/.exec(c.text)[0],d=T(o,u);f!=d&&a.push({from:c.from,to:c.from+f.length,insert:d})}return a.length?[e,{changes:a,sequential:!0}]:e})}let L=s.r$.define(),j=new r.md;function F(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(s&&o.from=t&&a.to>n&&(s=a)}}return s}(e,t,n)}function U(e,t){let n=t.mapPos(e.from,1),i=t.mapPos(e.to,-1);return n>=i?void 0:{from:n,to:i}}let X=s.Py.define({map:U}),q=s.Py.define({map:U});function V(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let G=s.QQ.define({create:()=>o.p.none,update(e,t){for(let n of(e=e.map(t.changes),t.effects))n.is(X)&&!function(e,t,n){let i=!1;return e.between(t,t,(e,r)=>{e==t&&r==n&&(i=!0)}),i}(e,n.value.from,n.value.to)?e=e.update({add:[el.range(n.value.from,n.value.to)]}):n.is(q)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let i=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{er&&(i=!0)}),i&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>o.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!r||r.from>e)&&(r={from:e,to:t})}),r}function Y(e,t){return e.field(G,!1)?t:t.concat(s.Py.appendConfig.of(eo()))}let K=e=>{for(let t of V(e)){let n=_(e.state,t.from,t.to);if(n)return e.dispatch({effects:Y(e.state,[X.of(n),ee(e,n)])}),!0}return!1},H=e=>{if(!e.state.field(G,!1))return!1;let t=[];for(let n of V(e)){let i=Z(e.state,n.from,n.to);i&&t.push(q.of(i),ee(e,i,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function ee(e,t,n=!0){let i=e.state.doc.lineAt(t.from).number,r=e.state.doc.lineAt(t.to).number;return o.tk.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${e.state.phrase("to")} ${r}.`)}let et=e=>{let{state:t}=e,n=[];for(let i=0;i{let t=e.state.field(G,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(q.of({from:e,to:t}))}),e.dispatch({effects:n}),!0},ei=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:K},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:H},{key:"Ctrl-Alt-[",run:et},{key:"Ctrl-Alt-]",run:en}],er={placeholderDOM:null,placeholderText:"…"},es=s.r$.define({combine:e=>(0,s.BO)(e,er)});function eo(e){let t=[G,eu];return e&&t.push(es.of(e)),t}let el=o.p.replace({widget:new class extends o.l9{toDOM(e){let{state:t}=e,n=t.facet(es),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),i=Z(e.state,n.from,n.to);i&&e.dispatch({effects:q.of(i)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,i);let r=document.createElement("span");return r.textContent=n.placeholderText,r.setAttribute("aria-label",t.phrase("folded code")),r.title=t.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),ea={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class eh extends o.SJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function ec(e={}){let t=Object.assign(Object.assign({},ea),e),n=new eh(t,!0),i=new eh(t,!1),r=o.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(w)!=e.state.facet(w)||e.startState.field(G,!1)!=e.state.field(G,!1)||p(e.startState)!=p(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new s.f_;for(let r of e.viewportLineBlocks){let o=Z(e.state,r.from,r.to)?i:_(e.state,r.from,r.to)?n:null;o&&t.add(r.from,r.from,o)}return t.finish()}}),{domEventHandlers:l}=t;return[r,(0,o.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.markers)||s.Xs.empty},initialSpacer:()=>new eh(t,!1),domEventHandlers:Object.assign(Object.assign({},l),{click(e,t,n){if(l.click&&l.click(e,t,n))return!0;let i=Z(e.state,t.from,t.to);if(i)return e.dispatch({effects:q.of(i)}),!0;let r=_(e.state,t.from,t.to);return!!r&&(e.dispatch({effects:X.of(r)}),!0)}})}),eo()]}let eu=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ef{constructor(e,t){let n;function i(e){let t=a.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let r="string"==typeof t.all?t.all:t.all?i(t.all):void 0,s=t.scope;this.scope=s instanceof u?e=>e.prop(h)==s.data:s?e=>e==s:void 0,this.style=(0,l.QR)(e.map(e=>({tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))})),{all:r}).style,this.module=n?new a.V(n):null,this.themeType=t.themeType}static define(e,t){return new ef(e,t||{})}}let ed=s.r$.define(),ep=s.r$.define({combine:e=>e.length?[e[0]]:null});function em(e){let t=e.facet(ed);return t.length?t:e.facet(ep)}function eg(e,t){let n=[ek],i;return e instanceof ef&&(e.module&&n.push(o.tk.styleModule.of(e.module)),i=e.themeType),(null==t?void 0:t.fallback)?n.push(ep.of(e)):i?n.push(ed.computeN([o.tk.darkTheme],t=>t.facet(o.tk.darkTheme)==("dark"==i)?[e]:[])):n.push(ed.of(e)),n}let ek=s.Wl.high(o.lg.fromClass(class{constructor(e){this.markCache=Object.create(null),this.tree=p(e.state),this.decorations=this.buildDeco(e,em(e.state))}update(e){let t=p(e.state),n=em(e.state),i=n!=em(e.startState);t.length{n.add(e,t,this.markCache[i]||(this.markCache[i]=o.p.mark({class:i})))},i,r);return n.finish()}},{decorations:e=>e.decorations})),ey=ef.define([{tag:l.pJ.meta,color:"#7a757a"},{tag:l.pJ.link,textDecoration:"underline"},{tag:l.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:l.pJ.emphasis,fontStyle:"italic"},{tag:l.pJ.strong,fontWeight:"bold"},{tag:l.pJ.strikethrough,textDecoration:"line-through"},{tag:l.pJ.keyword,color:"#708"},{tag:[l.pJ.atom,l.pJ.bool,l.pJ.url,l.pJ.contentSeparator,l.pJ.labelName],color:"#219"},{tag:[l.pJ.literal,l.pJ.inserted],color:"#164"},{tag:[l.pJ.string,l.pJ.deleted],color:"#a11"},{tag:[l.pJ.regexp,l.pJ.escape,l.pJ.special(l.pJ.string)],color:"#e40"},{tag:l.pJ.definition(l.pJ.variableName),color:"#00f"},{tag:l.pJ.local(l.pJ.variableName),color:"#30a"},{tag:[l.pJ.typeName,l.pJ.namespace],color:"#085"},{tag:l.pJ.className,color:"#167"},{tag:[l.pJ.special(l.pJ.variableName),l.pJ.macroName],color:"#256"},{tag:l.pJ.definition(l.pJ.propertyName),color:"#00c"},{tag:l.pJ.comment,color:"#940"},{tag:l.pJ.invalid,color:"#f00"}]),ev=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),eb="()[]{}",eO=s.r$.define({combine:e=>(0,s.BO)(e,{afterCursor:!0,brackets:eb,maxScanDistance:1e4,renderMatch:eS})}),ex=o.p.mark({class:"cm-matchingBracket"}),ew=o.p.mark({class:"cm-nonmatchingBracket"});function eS(e){let t=[],n=e.matched?ex:ew;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}let eP=s.QQ.define({create:()=>o.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],i=t.state.facet(eO);for(let r of t.state.selection.ranges){if(!r.empty)continue;let s=eT(t.state,r.head,-1,i)||r.head>0&&eT(t.state,r.head-1,1,i)||i.afterCursor&&(eT(t.state,r.head,1,i)||r.heado.tk.decorations.from(e)}),eC=[eP,ev];function eA(e={}){return[eO.of(e),eC]}function eQ(e,t,n){let i=e.prop(t<0?r.md.openedBy:r.md.closedBy);if(i)return i;if(1==e.name.length){let s=n.indexOf(e.name);if(s>-1&&s%2==(t<0?1:0))return[n[s+t]]}return null}function eT(e,t,n,i={}){let r=i.maxScanDistance||1e4,s=i.brackets||eb,o=p(e),l=o.resolveInner(t,n);for(let a=l;a;a=a.parent){let h=eQ(a.type,n,s);if(h&&a.from=i.to){if(0==a&&r.indexOf(h.type.name)>-1&&h.from0)return null;let h={from:n<0?t-1:t,to:n>0?t+1:t},c=e.doc.iterRange(t,n>0?e.doc.length:0),u=0;for(let f=0;!c.next().done&&f<=s;){let d=c.value;n<0&&(f+=d.length);let p=t+f*n;for(let m=n>0?0:d.length-1,g=n>0?d.length:-1;m!=g;m+=n){let k=o.indexOf(d[m]);if(!(k<0)&&i.resolveInner(p+m,1).type==r){if(k%2==0==n>0)u++;else{if(1==u)return{start:h,end:{from:p+m,to:p+m+1},matched:k>>1==a>>1};u--}}}n>0&&(f+=d.length)}return c.done?{start:h,matched:!1}:null}(e,t,n,o,l.type,r,s)}function eI(e,t,n,i=0,r=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let s=r;for(let o=i;o=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.post}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?e.toLowerCase():e;return i(this.string.substr(this.pos,e.length))==i(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function eR(e){if("object"!=typeof e)return e;let t={};for(let n in e){let i=e[n];t[n]=i instanceof Array?i.slice():i}return t}class eM extends u{constructor(e){let t,n=c(e.languageData),i={name:e.name||"",token:e.token,blankLine:e.blankLine||(()=>{}),startState:e.startState||(()=>!0),copyState:e.copyState||eR,indent:e.indent||(()=>null),languageData:e.languageData||{},tokenTable:e.tokenTable||ez},s;super(n,new class extends r._b{createParse(e,t,n){return new eN(s,e,t,n)}},[C.of((e,t)=>this.getIndent(e,t))],e.name),this.topNode=(t=r.Jq.define({id:eB.length,name:"Document",props:[h.add(()=>n)]}),eB.push(t),t),s=this,this.streamParser=i,this.stateAfter=new r.md({perNode:!0}),this.tokenTable=e.tokenTable?new e_(i.tokenTable):eU}static define(e){return new eM(e)}getIndent(e,t){let n=p(e.state),i=n.resolve(t);for(;i&&i.type!=this.topNode;)i=i.parent;if(!i)return null;let r=e$(this,n,0,i.from,t),s,o;if(r?(o=r.state,s=r.pos+1):(o=this.streamParser.startState(e.unit),s=0),t-s>1e4)return null;for(;s=i&&n+t.length<=s&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:n+t.length};for(let l=t.children.length-1;l>=0;l--){let a=t.children[l],h=n+t.positions[l],c=a instanceof r.mp&&hn&&e$(e,s.tree,0-s.offset,n,l),h;if(a&&(h=function e(t,n,i,s,o){if(o&&i<=0&&s>=n.length)return n;o||n.type!=t.topNode||(o=!0);for(let l=n.children.length-1;l>=0;l--){let a=n.positions[l],h=n.children[l],c;if(a=t)?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let n=t.indexOf("\n");n>-1&&(t=t.slice(0,n))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let i=this.rangeIndex;;){let r=this.ranges[i].to;if(r>=n||(t=t.slice(0,r-(n-t.length)),++i==this.ranges.length))break;let s=this.ranges[i].from,o=this.lineAfter(s);t+=o,n=s+o.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let i=this.ranges[this.rangeIndex].to,r=e+t;if(n>0?i>r:i>=r)break;t+=this.ranges[++this.rangeIndex].from-i}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(t,r,1),t+=r;let s=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,i+=this.chunk.length-s}return this.chunk.push(e,t,n,i),r}parseLine(e){let{line:t,end:n}=this.nextLine(),i=0,{streamParser:r}=this.lang,s=new eD(t,e?e.state.tabSize:4,e?Q(e.state):2);if(s.eol())r.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let o=eE(r.token,s,this.state);if(o&&(i=this.emitToken(this.lang.tokenTable.resolve(o),this.parsedPos+s.start,this.parsedPos+s.pos,4,i)),s.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPost.start)return r}throw Error("Stream parser failed to advance stream.")}let ez=Object.create(null),eB=[r.Jq.none],eW=new r.Lj(eB),eJ=[],eL=Object.create(null);for(let[ej,eF]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eL[ej]=eq(ez,eF);class e_{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),eL)}resolve(e){return e?this.table[e]||(this.table[e]=eq(this.extra,e)):0}}let eU=new e_(ez);function eX(e,t){eJ.indexOf(e)>-1||(eJ.push(e),console.warn(t))}function eq(e,t){let n=null;for(let i of t.split(".")){let s=e[i]||l.pJ[i];s?"function"==typeof s?n?n=s(n):eX(i,`Modifier ${i} used at start of tag`):n?eX(i,`Tag ${i} used as modifier`):n=s:eX(i,`Unknown highlighting tag ${i}`)}if(!n)return 0;let o=t.replace(/ /g,"_"),a=r.Jq.define({id:eB.length,name:o,props:[(0,l.Gv)({[o]:n})]});return eB.push(a),a.id}},78120:function(e,t,n){let i;n.d(t,{BO:function(){return eO},D0:function(){return ek},Gz:function(){return eW},IS:function(){return eB},Py:function(){return eu},QQ:function(){return U},Wl:function(){return V},Xs:function(){return eC},YW:function(){return ef},as:function(){return Q},bg:function(){return O},cp:function(){return m},f_:function(){return eA},gc:function(){return C},gm:function(){return b},jT:function(){return E},n0:function(){return A},nZ:function(){return x},q6:function(){return ea},r$:function(){return W},uU:function(){return ex},xv:function(){return r},yy:function(){return eb}});class r{constructor(){}lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),o.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),o.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new a(this),r=new a(e);for(let s=t,o=t;;){if(i.next(s),r.next(s),s=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(o+=i.value.length,i.done||o>=n)return!0}}iter(e=1){return new a(this,e)}iterRange(e,t=this.length){return new h(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new c(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new s(e):o.from(s.split(e,[])):r.empty}}class s extends r{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((t?n:o)>=e)return new u(i,o,n,s);i=o+1,n++}}decompose(e,t,n,i){let r=e<=0&&t>=this.length?this:new s(l(this.text,[""],e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){let o=n.pop(),a=l(r.text,o.text.slice(),0,r.length);if(a.length<=32)n.push(new s(a,o.length+r.length));else{let h=a.length>>1;n.push(new s(a.slice(0,h)),new s(a.slice(h)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof s))return super.replace(e,t,n);let i=l(this.text,l(n.text,l(this.text,[""],0,e)),t),r=this.length+n.length-(t-e);return i.length<=32?new s(i,r):o.from(s.split(i,[]),r)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;r<=t&&se&&s&&(i+=n),er&&(i+=o.slice(Math.max(0,e-r),t-r)),r=l+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let r of e)n.push(r),i+=r.length+1,32==n.length&&(t.push(new s(n,i)),n=[],i=-1);return i>-1&&t.push(new s(n,i)),t}}class o extends r{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,l=n+s.lines-1;if((t?l:o)>=e)return s.lineInner(e,t,n,i);i=o+1,n=l+1}}decompose(e,t,n,i){for(let r=0,s=0;s<=t&&r=s){let a=i&((s<=e?1:0)|(l>=t?2:0));s>=e&&l<=t&&!a?n.push(o):o.decompose(e-s,t-s,n,a)}s=l+1}}replace(e,t,n){if(n.lines=r&&t<=l){let a=s.replace(e-r,t-r,n),h=this.lines-s.lines+a.lines;if(a.lines>4&&a.lines>h>>6){let c=this.children.slice();return c[i]=a,new o(c,this.length-(t-e)+n.length)}return super.replace(r,l,a)}r=l+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;re&&r&&(i+=n),es&&(i+=o.sliceString(e-s,t-s,n)),s=l+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof o))return 0;let n=0,[i,r,s,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,r+=t){if(i==s||r==l)return n;let a=this.children[i],h=e.children[r];if(a!=h)return n+a.scanIdentical(h,t);n+=a.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let i of e)n+=i.lines;if(n<32){let r=[];for(let l of e)l.flatten(r);return new s(r,t)}let a=Math.max(32,n>>5),h=a<<1,c=a>>1,u=[],f=0,d=-1,p=[];function m(){0!=f&&(u.push(1==p.length?p[0]:o.from(p,d)),d=-1,f=p.length=0)}for(let g of e)!function e(t){let n;if(t.lines>h&&t instanceof o)for(let i of t.children)e(i);else t.lines>c&&(f>c||!f)?(m(),u.push(t)):t instanceof s&&f&&(n=p[p.length-1])instanceof s&&t.lines+n.lines<=32?(f+=t.lines,d+=t.length+1,p[p.length-1]=new s(n.text.concat(t.text),n.length+1+t.length)):(f+t.lines>a&&m(),f+=t.lines,d+=t.length+1,p.push(t))}(g);return m(),1==u.length?u[0]:new o(u,t)}}function l(e,t,n=0,i=1e9){for(let r=0,s=0,o=!0;s=n&&(a>i&&(l=l.slice(0,i-r)),r0?1:(e instanceof s?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],o=r>>1,l=i instanceof s?i.text.length:i.children.length;if(o==(t>0?l:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(i instanceof s){let a=i.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,a.length>Math.max(0,e))return this.value=0==e?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let h=i.children[o+(t<0?-1:0)];e>h.length?(e-=h.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(h),this.offsets.push(t>0?1:(h instanceof s?h.text.length:h.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class h{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new a(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class c{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.iter()},a.prototype[Symbol.iterator]=h.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=function(){return this});class u{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}let f="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let d=1;d=127462&&e<=127487}function m(e,t,n=!0,i=!0){return(n?g:k)(e,t,i)}function g(e,t,n){if(t==e.length)return t;t&&y(e.charCodeAt(t))&&v(e.charCodeAt(t-1))&&t--;let i=b(e,t);for(t+=x(i);te)return f[t-1]<=e;return!1}(r))t+=x(r),i=r;else if(p(r)){let s=0,o=t-2;for(;o>=0&&p(b(e,o));)s++,o-=2;if(s%2==0)break;t+=2}else break}return t}function k(e,t,n){for(;t>0;){let i=g(e,t-2,n);if(i=56320&&e<57344}function v(e){return e>=55296&&e<56320}function b(e,t){let n=e.charCodeAt(t);if(!v(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return y(i)?(n-55296<<10)+(i-56320)+65536:n}function O(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function x(e){return e<65536?1:2}let w=/\r\n?|\n/;var S,P,C=((S=C||(C={}))[S.Simple=0]="Simple",S[S.TrackDel=1]="TrackDel",S[S.TrackBefore=2]="TrackBefore",S[S.TrackAfter=3]="TrackAfter",S);class A{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-i);r+=o}else{if(n!=C.Simple&&a>=e&&(n==C.TrackDel&&ie||n==C.TrackBefore&&ie))return null;if(a>e||a==e&&t<0&&!o)return e==i||t<0?r:r+l;r+=l}i=a}if(e>i)throw RangeError(`Position ${e} is out of range for changeset of length ${i}`);return r}touchesRange(e,t=e){for(let n=0,i=0;n=0&&i<=t&&o>=e)return!(it)||"cover";i=o}return!1}toString(){let e="";for(let t=0;t=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new A(e)}static create(e){return new A(e)}}class Q extends A{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return D(this,(t,n,i,r,s)=>e=e.replace(i,i+(n-t),s),!1),e}mapDesc(e,t=!1){return R(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,s=0;i=0){t[i]=l,t[i+1]=o;let a=i>>1;for(;n.length0&&I(n,t,r.text),r.forward(a),o+=a}let c=e[s++];for(;o>1].toJSON()))}return e}static of(e,t,n){let i=[],s=[],o=0,l=null;function a(e=!1){if(!e&&!i.length)return;of||u<0||f>t)throw RangeError(`Invalid change range ${u} to ${f} (in doc of length ${t})`);let p=d?"string"==typeof d?r.of(d.split(n||w)):d:r.empty,m=p.length;if(u==f&&0==m)return;uo&&T(i,u-o,-1),T(i,f-u,m),I(s,i,p),o=f}}(e),a(!l),l}static empty(e){return new Q(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;it&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==s.length)t.push(s[0],0);else{for(;n.length=0&&n<=0&&n==e[r+1]?e[r]+=t:0==t&&0==e[r]?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}function I(e,t,n){if(0==n.length)return;let i=t.length-2>>1;if(i>1])),!n&&l!=e.sections.length&&!(e.sections[l+1]<0);)a=e.sections[l++],h=e.sections[l++];t(s,c,o,u,f),s=c,o=u}}}function R(e,t,n,i=!1){let r=[],s=i?[]:null,o=new $(e),l=new $(t);for(let a=-1;;)if(-1==o.ins&&-1==l.ins){let h=Math.min(o.len,l.len);T(r,h,-1),o.forward(h),l.forward(h)}else if(l.ins>=0&&(o.ins<0||a==o.i||0==o.off&&(l.len=0&&a=0){let f=0,d=o.len;for(;d;)if(-1==l.ins){let p=Math.min(d,l.len);f+=p,d-=p,l.forward(p)}else if(0==l.ins&&l.lena||o.ins>=0&&o.len>a)&&(l||i.length>h),s.forward2(a),o.forward(a)}}else T(i,0,o.ins,l),r&&I(r,i,o.text),o.next()}}class ${constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?r.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?r.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class N{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){let e=3&this.flags;return 3==e?null:e}get goalColumn(){let e=this.flags>>5;return 33554431==e?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new N(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return E.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return E.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return E.range(e.anchor,e.head)}static create(e,t,n){return new N(e,t,n)}}class E{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:E.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new E(e.ranges.map(e=>N.fromJSON(e)),e.main)}static single(e,t=e){return new E([E.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,i=0;ie?4:0))}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let i=1;ir.head?E.range(l,o):E.range(o,l))}}return new E(e,t)}}function z(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let B=0;class W{constructor(e,t,n,i,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=B++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}static define(e={}){return new W(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:J),!!e.static,e.enables)}of(e){return new L([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new L(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new L(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function J(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class L{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=B++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,r=this.id,s=e[r]>>1,o=2==this.type,l=!1,a=!1,h=[];for(let c of this.dependencies)"doc"==c?l=!0:"selection"==c?a=!0:((null!==(t=e[c.id])&&void 0!==t?t:1)&1)==0&&h.push(e[c.id]);return{create:e=>(e.values[s]=n(e),1),update(e,t){if(l&&t.docChanged||a&&(t.docChanged||t.selection)||F(e,h)){let r=n(e);if(o?!j(r,e.values[s],i):!i(r,e.values[s]))return e.values[s]=r,1}return 0},reconfigure:(e,t)=>{let l,a=t.config.address[r];if(null!=a){let h=ee(t,a);if(this.dependencies.every(n=>n instanceof W?t.facet(n)===e.facet(n):!(n instanceof U)||t.field(n,!1)==e.field(n,!1))||(o?j(l=n(e),h,i):i(l=n(e),h)))return e.values[s]=h,0}else l=n(e);return e.values[s]=l,1}}}}function j(e,t,n){if(e.length!=t.length)return!1;for(let i=0;ie===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(_).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let i=e.values[t],r=this.updateF(i,n);return this.compareF(i,r)?0:(e.values[t]=r,1)},reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}init(e){return[this,_.of({field:this,create:e})]}get extension(){return this}}let X={lowest:4,low:3,default:2,high:1,highest:0};function q(e){return t=>new G(t,e)}let V={highest:q(X.highest),high:q(X.high),default:q(X.default),low:q(X.low),lowest:q(X.lowest)};class G{constructor(e,t){this.inner=e,this.prec=t}}class Z{of(e){return new Y(this,e)}reconfigure(e){return Z.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Y{constructor(e,t){this.compartment=e,this.inner=t}}class K{constructor(e,t,n,i,r,s){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let i,r,s=[],o=Object.create(null),l=new Map;for(let a of(i=[[],[],[],[],[]],r=new Map,!function e(n,s){let o=r.get(n);if(null!=o){if(o<=s)return;let a=i[o].indexOf(n);a>-1&&i[o].splice(a,1),n instanceof Y&&l.delete(n.compartment)}if(r.set(n,s),Array.isArray(n))for(let h of n)e(h,s);else if(n instanceof Y){if(l.has(n.compartment))throw RangeError("Duplicate use of compartment in extensions");let c=t.get(n.compartment)||n.inner;l.set(n.compartment,c),e(c,s)}else if(n instanceof G)e(n.inner,n.prec);else if(n instanceof U)i[s].push(n),n.provides&&e(n.provides,s);else if(n instanceof L)i[s].push(n),n.facet.extensions&&e(n.facet.extensions,X.default);else{let u=n.extension;if(!u)throw Error(`Unrecognized extension value in extension set (${n}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(u,s)}}(e,X.default),i.reduce((e,t)=>e.concat(t))))a instanceof U?s.push(a):(o[a.facet.id]||(o[a.facet.id]=[])).push(a);let h=Object.create(null),c=[],u=[];for(let f of s)h[f.id]=u.length<<1,u.push(e=>f.slot(e));let d=null==n?void 0:n.config.facets;for(let p in o){let m=o[p],g=m[0].facet,k=d&&d[p]||[];if(m.every(e=>0==e.type)){if(h[g.id]=c.length<<1|1,J(k,m))c.push(n.facet(g));else{let y=g.combine(m.map(e=>e.value));c.push(n&&g.compare(y,n.facet(g))?n.facet(g):y)}}else{for(let v of m)0==v.type?(h[v.id]=c.length<<1|1,c.push(v.value)):(h[v.id]=u.length<<1,u.push(e=>v.dynamicSlot(e)));h[g.id]=u.length<<1,u.push(e=>(function(e,t,n){let i=n.map(t=>e[t.id]),r=n.map(e=>e.type),s=i.filter(e=>!(1&e)),o=e[t.id]>>1;function l(e){let n=[];for(let s=0;se(h));return new K(e,l,b,h,c,o)}}function H(e,t){if(1&t)return 2;let n=t>>1,i=e.status[n];if(4==i)throw Error("Cyclic dependency between fields and/or facets");if(2&i)return i;e.status[n]=4;let r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function ee(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let et=W.define(),en=W.define({combine:e=>e.some(e=>e),static:!0}),ei=W.define({combine:e=>e.length?e[0]:void 0,static:!0}),er=W.define(),es=W.define(),eo=W.define(),el=W.define({combine:e=>!!e.length&&e[0]});class ea{constructor(e,t){this.type=e,this.value=t}static define(){return new eh}}class eh{of(e){return new ea(this,e)}}class ec{constructor(e){this.map=e}of(e){return new eu(this,e)}}class eu{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new eu(this.type,t)}is(e){return this.type==e}static define(e={}){return new ec(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let r=i.map(t);r&&n.push(r)}return n}}eu.reconfigure=eu.define(),eu.appendConfig=eu.define();class ef{constructor(e,t,n,i,r,s){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&z(n,t.newLength),r.some(e=>e.type==ef.time)||(this.annotations=r.concat(ef.time.of(Date.now())))}static create(e,t,n,i,r,s){return new ef(e,t,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(ef.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ed(e,t,n){var i;let r,s,o;return n?(r=t.changes,s=Q.empty(t.changes.length),o=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),s=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(r)),{changes:o,selection:t.selection?t.selection.map(s):null===(i=e.selection)||void 0===i?void 0:i.map(r),effects:eu.mapEffects(e.effects,r).concat(eu.mapEffects(t.effects,s)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ep(e,t,n){let i=t.selection,r=eg(t.annotations);return t.userEvent&&(r=r.concat(ef.userEvent.of(t.userEvent))),{changes:t.changes instanceof Q?t.changes:Q.of(t.changes||[],n,e.facet(ei)),selection:i&&(i instanceof E?i:E.single(i.anchor,i.head)),effects:eg(t.effects),annotations:r,scrollIntoView:!!t.scrollIntoView}}ef.time=ea.define(),ef.userEvent=ea.define(),ef.addToHistory=ea.define(),ef.remote=ea.define();let em=[];function eg(e){return null==e?em:Array.isArray(e)?e:[e]}var ek=((P=ek||(ek={}))[P.Word=0]="Word",P[P.Space=1]="Space",P[P.Other=2]="Other",P);let ey=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{i=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(ev){}class eb{constructor(e,t,n,i,r,s){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let o=0;o=0;r--){let s=n[r](e);s&&Object.keys(s).length&&(i=ed(i,ep(t,s,e.changes.newLength),!0))}return i==e?e:ef.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}(i?function(t){let n=t.startState,i=!0;for(let r of n.facet(er)){let s=r(t);if(!1===s){i=!1;break}Array.isArray(s)&&(i=!0===i?s:function(e,t){let n=[];for(let i=0,r=0;;){let s,o;if(i=e[i]))s=e[i++],o=e[i++];else{if(!(r=0;c--){let u=h[c](t);t=u instanceof ef?u:Array.isArray(u)&&1==u.length&&u[0]instanceof ef?u[0]:e(n,eg(u),!1)}return t}(l):l)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:i,compartments:r}=n;for(let s of e.effects)s.is(Z.reconfigure)?(n&&(r=new Map,n.compartments.forEach((e,t)=>r.set(t,e)),n=null),r.set(s.value.compartment,s.value.extension)):s.is(eu.reconfigure)?(n=null,i=s.value):s.is(eu.appendConfig)&&(n=null,i=eg(i).concat(s.value));n?t=e.startState.values.slice():(n=K.resolve(i,r,this),t=new eb(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values),new eb(n,e.newDoc,e.newSelection,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:E.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),r=[n.range],s=eg(n.effects);for(let o=1;os.spec.fromJSON(o,e)))}}return eb.create({doc:e.doc,selection:E.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=K.resolve(e.extensions||[],new Map),n=e.doc instanceof r?e.doc:r.of((e.doc||"").split(t.staticFacet(eb.lineSeparator)||w)),i=e.selection?e.selection instanceof E?e.selection:E.single(e.selection.anchor,e.selection.head):E.single(0);return z(i,n.length),t.staticFacet(en)||(i=i.asSingle()),new eb(t,n,i,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(eb.tabSize)}get lineBreak(){return this.facet(eb.lineSeparator)||"\n"}get readOnly(){return this.facet(el)}phrase(e,...t){for(let n of this.facet(eb.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>t.length?e:t[i-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let r of this.facet(et))for(let s of r(this,t,n))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){var t;return t=this.languageDataAt("wordChars",e).join(""),e=>{if(!/\S/.test(e))return ek.Space;if(function(e){if(i)return i.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||ey.test(n)))return!0}return!1}(e))return ek.Word;for(let n=0;n-1)return ek.Word;return ek.Other}}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),r=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let l=m(t,s,!1);if(r(t.slice(l,s))!=ek.Word)break;s=l}for(;oe.length?e[0]:4}),eb.lineSeparator=ei,eb.readOnly=el,eb.phrases=W.define({compare(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length==i.length&&n.every(n=>e[n]==t[n])}}),eb.languageData=et,eb.changeFilter=er,eb.transactionFilter=es,eb.transactionExtender=eo,Z.reconfigure=eu.define();class ex{eq(e){return this==e}range(e,t=e){return ew.create(e,t,this)}}ex.prototype.startSide=ex.prototype.endSide=0,ex.prototype.point=!1,ex.prototype.mapMode=C.TrackDel;class ew{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new ew(e,t,n)}}function eS(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eP{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let l=s+o>>1,a=r[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-t;if(l==s)return a>=0?s:o;a>=0?o=l:s=l+1}}between(e,t,n,i){for(let r=this.findIndex(t,-1e9,!0),s=this.findIndex(n,1e9,!1,r);r(f=t.mapPos(c,a.endSide))||u==f&&a.startSide>0&&a.endSide<=0)continue;0>(f-u||a.endSide-a.startSide)||(s<0&&(s=u),a.point&&(o=Math.max(o,f-u)),n.push(a),i.push(u-s),r.push(f-s))}return{mapped:n.length?new eP(i,r,n,o):null,pos:s}}}class eC{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new eC(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(n&&(t=t.slice().sort(eS)),this.isEmpty)return t.length?eC.of(t):this;let o=new eT(this,null,-1).goto(0),l=0,a=[],h=new eA;for(;o.value||l=0){let c=t[l++];h.addInner(c.from,c.to,c.value)||a.push(c)}else 1==o.rangeIndex&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ro.to||r=r&&e<=r+s.length&&!1===s.between(r,e-r,t-r,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eI.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eI.from(e).goto(t)}static compare(e,t,n,i,r=-1){let s=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),l=eQ(s,o,n),a=new eR(s,l,r),h=new eR(o,l,r);n.iterGaps((e,t,n)=>eM(a,e,h,t,n,i)),n.empty&&0==n.length&&eM(a,0,h,0,0,i)}static eq(e,t,n=0,i){null==i&&(i=999999999);let r=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),s=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(r.length!=s.length)return!1;if(!r.length)return!0;let o=eQ(r,s),l=new eR(r,o,0).goto(n),a=new eR(s,o,0).goto(n);for(;;){if(l.to!=a.to||!e$(l.active,a.active)||l.point&&(!a.point||!l.point.eq(a.point)))return!1;if(l.to>i)return!0;l.next(),a.next()}}static spans(e,t,n,i,r=-1){let s=new eR(e,null,r).goto(t),o=t,l=s.openStart;for(;;){let a=Math.min(s.to,n);if(s.point){let h=s.activeForPoint(s.to),c=s.pointFromo&&(i.span(o,a,s.active,l),l=s.openEnd(a));if(s.to>n)return l+(s.point&&s.to>n?1:0);o=s.to,s.next()}}static of(e,t=!1){let n=new eA;for(let i of e instanceof ew?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(eS);t=i}return e}(e):e)n.add(i.from,i.to,i.value);return n.finish()}}eC.empty=new eC([],[],null,-1),eC.empty.nextLayer=eC.empty;class eA{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new eP(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eA)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(eC.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eC.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eQ(e,t,n){let i=new Map;for(let r of e)for(let s=0;s(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&i.push(new eT(s,t,n,r));return 1==i.length?i[0]:new eI(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)eD(this.heap,i);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)eD(this.heap,i);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eD(this.heap,0)}}}function eD(e,t){for(let n=e[t];;){let i=(t<<1)+1;if(i>=e.length)break;let r=e[i];if(i+1=0&&(r=e[i+1],i++),0>n.compare(r))break;e[i]=n,e[t]=r,t=i}}class eR{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=eI.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eN(this.active,e),eN(this.activeTo,e),eN(this.activeRank,e),this.minActive=ez(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:r}=this.cursor;for(;t-1&&0>(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&eN(n,i)}else if(this.cursor.value){if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let r=this.cursor.value;if(r.point){if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[s]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function eM(e,t,n,i,r,s){e.goto(t),n.goto(i);let o=i+r,l=i,a=i-t;for(;;){let h=e.to+a-n.to||e.endSide-n.endSide,c=h<0?e.to+a:n.to,u=Math.min(c,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&e$(e.activeForPoint(e.to+a),n.activeForPoint(n.to))||s.comparePoint(l,u,e.point,n.point):u>l&&!e$(e.active,n.active)&&s.compareRange(l,u,e.active,n.active),c>o)break;l=c,h<=0&&e.next(),h>=0&&n.next()}}function e$(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;i--)e[i+1]=e[i];e[t]=n}function ez(e,t){let n=-1,i=1e9;for(let r=0;r(t[r]-i||e[r].endSide-e[n].endSide)&&(n=r,i=t[r]);return n}function eB(e,t,n=e.length){let i=0;for(let r=0;r=t)return r;if(r==e.length)break;s+=9==e.charCodeAt(r)?n-s%n:1,r=m(e,r)}return!0===i?-1:e.length}},41113:function(e,t,n){var i,r;n.d(t,{FE:function(){return N},Jq:function(){return u},L3:function(){return s},Lj:function(){return f},_b:function(){return M},hr:function(){return D},i9:function(){return R},md:function(){return a},mp:function(){return m},vj:function(){return i}});let s=1024,o=0;class l{constructor(e,t){this.from=e,this.to=t}}class a{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=u.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}a.closedBy=new a({deserialize:e=>e.split(" ")}),a.openedBy=new a({deserialize:e=>e.split(" ")}),a.group=new a({deserialize:e=>e.split(" ")}),a.contextHash=new a({perNode:!0}),a.lookAhead=new a({perNode:!0}),a.mounted=new a({perNode:!0});class h{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}let c=Object.create(null);class u{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):c,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),i=new u(e.name||"",t,e.id,n);if(e.props){for(let r of e.props)if(Array.isArray(r)||(r=r(i)),r){if(r[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(a.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return e=>{for(let n=e.prop(a.group),i=-1;i<(n?n.length:0);i++){let r=t[i<0?e.name:n[i]];if(r)return r}}}}u.none=new u("",Object.create(null),0,8);class f{constructor(e){this.types=e;for(let t=0;t=r&&(o.type.isAnonymous||!1!==t(o))){if(o.firstChild())continue;l=!0}for(;l&&n&&!o.type.isAnonymous&&n(o),!o.nextSibling();){if(!o.parent())return;l=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:I(u.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new m(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new m(u.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:i,maxBufferLength:r=s,reused:o=[],minRepeatType:l=i.types.length}=e,h=Array.isArray(n)?new g(n,n.length):n,c=i.types,u=0,f=0;function d(e,t,n,r,s,o,l,a){let h=[],c=[];for(;e.length>r;)h.push(e.pop()),c.push(t.pop()+n-s);e.push(p(i.types[l],h,c,o-s,a-o)),t.push(s-n)}function p(e,t,n,i,r=0,s){if(u){let o=[a.contextHash,u];s=s?[o].concat(s):[o]}if(r>25){let l=[a.lookAhead,r];s=s?[l].concat(s):[l]}return new m(e,t,n,i,s)}let y=[],v=[];for(;h.pos>0;)!function e(t,n,s,g,y){let{id:v,start:b,end:O,size:x}=h,w=f;for(;x<0;){if(h.next(),-1==x){let S=o[v];s.push(S),g.push(b-t);return}if(-3==x){u=v;return}if(-4==x){f=v;return}throw RangeError(`Unrecognized record size: ${x}`)}let P=c[v],C,A,Q=b-t;if(O-b<=r&&(A=function(e,t){let n=h.fork(),i=0,s=0,o=0,a=n.end-r,c={size:0,start:0,skip:0};n:for(let u=n.pos-e;n.pos>u;){let f=n.size;if(n.id==t&&f>=0){c.size=i,c.start=s,c.skip=o,o+=4,i+=4,n.next();continue}let d=n.pos-f;if(f<0||d=l?4:0,m=n.start;for(n.next();n.pos>d;){if(n.size<0){if(-3==n.size)p+=4;else break n}else n.id>=l&&(p+=4);n.next()}s=m,i+=f,o+=p}return(t<0||i==e)&&(c.size=i,c.start=s,c.skip=o),c.size>4?c:void 0}(h.pos-n,y))){let T=new Uint16Array(A.size-A.skip),D=h.pos-A.size,R=T.length;for(;h.pos>D;)R=function e(t,n,i){let{id:r,start:s,end:o,size:a}=h;if(h.next(),a>=0&&r4){let d=h.pos-(a-4);for(;h.pos>d;)i=e(t,n,i)}n[--i]=c,n[--i]=o-t,n[--i]=s-t,n[--i]=r}else -3==a?u=r:-4==a&&(f=r);return i}(A.start,T,R);C=new k(T,O-A.start,i),Q=A.start-t}else{let M=h.pos-x;h.next();let $=[],N=[],E=v>=l?v:-1,z=0,B=O;for(;h.pos>M;)E>=0&&h.id==E&&h.size>=0?(h.end<=B-r&&(d($,N,b,z,h.end,B,E,w),z=$.length,B=h.end),h.next()):e(b,M,$,N,E);if(E>=0&&z>0&&z<$.length&&d($,N,b,z,b,B,E,w),$.reverse(),N.reverse(),E>-1&&z>0){let W=function(e){return(t,n,i)=>{let r=0,s=t.length-1,o,l;if(s>=0&&(o=t[s])instanceof m){if(!s&&o.type==e&&o.length==i)return o;(l=o.prop(a.lookAhead))&&(r=n[s]+o.length+l)}return p(e,t,n,i,r)}}(P);C=I(P,$,N,0,$.length,0,O-b,W,W)}else C=p(P,$,N,O-b,w-O)}s.push(C),g.push(Q)}(e.start||0,e.bufferStart||0,y,v,-1);let b=null!==(t=e.length)&&void 0!==t?t:y.length?v[0]+y[0].length:0;return new m(c[e.topID],y.reverse(),v.reverse(),b)}(e)}}m.empty=new m(u.none,[],[],0);class g{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new g(this.buffer,this.index)}}class k{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return u.none}toString(){let e=[];for(let t=0;t0)));l=s[l+3]);return o}slice(e,t,n){let i=this.buffer,r=new Uint16Array(t-e),s=0;for(let o=e,l=0;o=t&&nt;case 1:return n<=t&&i>t;case 2:return i>t;case 4:return!0}}function v(e,t){let n=e.childBefore(t);for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(e=n,n=i.prevSibling):n=i}return e}function b(e,t,n,r){for(var s;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?l.length:-1;e!=c;e+=t){let u=l[e],f=h[e]+o.from;if(y(r,n,f,f+u.length)){if(u instanceof k){if(s&i.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,t,n-f,r);if(d>-1)return new P(new S(o,u,e,f),null,d)}else if(s&i.IncludeAnonymous||!u.type.isAnonymous||A(u)){let p;if(!(s&i.IgnoreMounts)&&u.props&&(p=u.prop(a.mounted))&&!p.overlay)return new O(p.tree,f,e,o);let m=new O(u,f,e,o);return s&i.IncludeAnonymous||!m.type.isAnonymous?m:m.nextChild(t<0?u.children.length-1:0,t,n,r)}}}if(s&i.IncludeAnonymous||!o.type.isAnonymous||(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,!(o=o._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let r;if(!(n&i.IgnoreOverlays)&&(r=this._tree.prop(a.mounted))&&r.overlay){let s=e-this.from;for(let{from:o,to:l}of r.overlay)if((t>0?o<=s:o=s:l>s))return new O(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new C(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return b(this,e,t,!1)}resolveInner(e,t=0){return b(this,e,t,!0)}enterUnfinishedNodesBefore(e){return v(this,e)}getChild(e,t=null,n=null){let i=x(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return x(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return w(this,e)}}function x(e,t,n,i){let r=e.cursor(),s=[];if(!r.firstChild())return s;if(null!=n){for(;!r.type.is(n);)if(!r.nextSibling())return s}for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(t)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function w(e,t,n=t.length-1){for(let i=e.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(t[n]&&t[n]!=i.name)return!1;n--}}return!0}class S{constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class P{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new P(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&i.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new P(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new P(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new P(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new C(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1];e.push(n.slice(i,r,s)),t.push(0)}return new m(this.type,e,t,this.to-this.from)}resolve(e,t=0){return b(this,e,t,!1)}resolveInner(e,t=0){return b(this,e,t,!0)}enterUnfinishedNodesBefore(e){return v(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let i=x(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return x(this,e,t,n)}get node(){return this}matchContext(e){return w(this,e)}}class C{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof O)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return!!e&&(e instanceof O?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&i.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&i.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&i.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(t.findChild(i,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let o=t+e,l=e<0?-1:n._tree.children.length;o!=l;o+=e){let a=n._tree.children[o];if(this.mode&i.IncludeAnonymous||a instanceof k||!a.type.isAnonymous||A(a))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;t=s,n=r+1;break n}i=this.stack[--r]}for(let o=n;o=0;r--){if(r<0)return w(this.node,e,i);let s=n[t.buffer[this.stack[r]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function A(e){return e.children.some(e=>e instanceof k||!e.type.isAnonymous||A(e))}let Q=new WeakMap;function T(e,t){if(!e.isAnonymous||t instanceof k||t.type!=e)return 1;let n=Q.get(t);if(null==n){for(let i of(n=1,t.children)){if(i.type!=e||!(i instanceof m)){n=1;break}n+=T(e,i)}Q.set(t,n)}return n}function I(e,t,n,i,r,s,o,l,a){let h=0;for(let c=i;c=u)break;m+=g}if(h==c+1){if(m>u){let k=n[c];t(k.children,k.positions,0,k.children.length,i[c]+l);continue}f.push(n[c])}else{let y=i[h-1]+n[h-1].length-p;f.push(I(e,n,i,c,h,p,y,null,a))}d.push(p+l-s)}}(t,n,i,r,0),(l||a)(f,d,o)}class D{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof P?this.setBuffer(e.context.buffer,e.index,t):e instanceof O&&this.map.set(e.tree,t)}get(e){return e instanceof P?this.getBuffer(e.context.buffer,e.index):e instanceof O?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class R{constructor(e,t,n,i,r=!1,s=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let i=[new R(0,e.length,e,0,!1,n)];for(let r of t)r.to>e.length&&i.push(r);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],r=1,s=e.length?e[0]:null;for(let o=0,l=0,a=0;;o++){let h=o=n)for(;s&&s.from=u.from||c<=u.to||a){let f=Math.max(u.from,l)-a,d=Math.min(u.to,c)-a;u=f>=d?null:new R(f,d,u.tree,u.offset+a,o>0,!!h)}if(u&&i.push(u),s.to>c)break;s=rnew l(e.from,e.to)):[new l(0,0)]:[new l(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let r=i.advance();if(r)return r}}}class ${constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function N(e){return(t,n,i,r)=>new W(t,e,n,i,r)}class E{constructor(e,t,n,i,r){this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.ranges=r}}class z{constructor(e,t,n,i,r,s,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=r,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}let B=new a({perNode:!0});class W{constructor(e,t,n,i,r){this.nest=t,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return null!=this.stoppedAt&&(n=new m(n.type,n.children,n.positions,n.length,n.propValues.concat([[B,this.stoppedAt]]))),n}let i=this.inner[this.innerDone],r=i.parse.advance();if(r){this.innerDone++;let s=Object.assign(Object.create(null),i.target.props);s[a.mounted.id]=new h(r,i.overlay,i.parser),i.target.props=s}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;te.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(c)for(let f of c.mount.overlay){let d=f.from+c.pos,p=f.to+c.pos;d>=r.from&&p<=r.to&&!t.ranges.some(e=>e.fromd)&&t.ranges.push({from:d,to:p})}}a=!1}else if(n&&(o=function(e,t,n){for(let i of e){if(i.from>=n)break;if(i.to>t)return i.from<=t&&i.to>=n?2:1}return 0}(n.ranges,r.from,r.to)))a=2!=o;else if(!r.type.isAnonymous&&r.from=t.to);i++);let o=r.children[i],l=o.buffer;r.children[i]=function e(n,i,r,a,h){let c=n;for(;l[c+2]+s<=t.from;)c=l[c+3];let u=[],f=[];J(o,n,c,u,f,a);let d=l[c+1],p=l[c+2],g=d+s==t.from&&p+s==t.to&&l[c]==t.type.id;return u.push(g?t.toTree():e(c+4,l[c+3],o.set.types[l[c]],d,p-d)),f.push(d-a),J(o,l[c+3],i,u,f,a),new m(r,u,f,h)}(0,l.length,u.none,0,o.length);for(let a=0;a<=n;a++)e.childAfter(t.from)}(r);let g=e.findMounts(r.from,s.parser);if("function"==typeof s.overlay)t=new z(s.parser,s.overlay,g,this.inner.length,r.from,r.tree,t);else{let k=F(this.ranges,s.overlay||[new l(r.from,r.to)]);k.length&&this.inner.push(new E(s.parser,s.parser.startParse(this.input,_(g,k),k),s.overlay?s.overlay.map(e=>new l(e.from-r.from,e.to-r.from)):null,r.tree,k)),s.overlay?k.length&&(n={ranges:k,depth:0,prev:n}):a=!1}}else t&&(h=t.predicate(r))&&(!0===h&&(h=new l(r.from,r.to)),h.fromnew l(e.from-t.start,e.to-t.start)),t.target,y)),t=t.prev}!n||--n.depth||(n=n.prev)}}}}function J(e,t,n,i,r,s){if(t=e&&t.enter(n,1,i.IgnoreOverlays|i.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof m)t=t.children[0];else break}return!1}}class j{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(B))&&void 0!==t?t:n.to,this.inner=new L(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(B))&&void 0!==e?e:t.to,this.inner=new L(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let r=this.inner.cursor.node;r;r=r.parent){let s=null===(n=r.tree)||void 0===n?void 0:n.prop(a.mounted);if(s&&s.parser==t)for(let o=this.fragI;o=r.to)break;l.tree==this.curFrag.tree&&i.push({frag:l,pos:r.from-l.offset,mount:s})}}}return i}}function F(e,t){let n=null,i=t;for(let r=1,s=0;r=a)break;!(h.to<=o)&&(n||(i=n=t.slice()),h.froma&&n.splice(s+1,0,new l(a,h.to))):h.to>a?n[s--]=new l(a,h.to):n.splice(s--,1))}}return i}function _(e,t){let n=[];for(let{pos:i,mount:r,frag:s}of e){let o=i+(r.overlay?r.overlay[0].from:0),a=o+r.tree.length,h=Math.max(s.from,o),c=Math.min(s.to,a);if(r.overlay){let u=function(e,t,n,i){let r=0,s=0,o=!1,a=!1,h=-1e9,c=[];for(;;){let u=r==e.length?1e9:o?e[r].to:e[r].from,f=s==t.length?1e9:a?t[s].to:t[s].from;if(o!=a){let d=Math.max(h,n),p=Math.min(u,f,i);dnew l(e.from+i,e.to+i)),h,c);for(let f=0,d=h;;f++){let p=f==u.length,m=p?c:u[f].from;if(m>d&&n.push(new R(d,m,r.tree,-o,s.from>=d||s.openStart,s.to<=m||s.openEnd)),p)break;d=u[f].to}}else n.push(new R(h,c,r.tree,-o,s.from>=o||s.openStart,s.to<=a||s.openEnd))}return n}},35524:function(e,t,n){n.d(t,{Gv:function(){return a},QR:function(){return u},Vp:function(){return s},bW:function(){return f},pJ:function(){return T}});var i=n(41113);let r=0;class s{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=r++}static define(e){if(null==e?void 0:e.base)throw Error("Can not derive from a modified tag");let t=new s([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new l;return t=>t.modified.indexOf(e)>-1?t:l.get(t.base||t,t.modified.concat(e).sort((e,t)=>e.id-t.id))}}let o=0;class l{constructor(){this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var i;return n.base==e&&(i=n.modified,t.length==i.length&&t.every((e,t)=>e==i[t]))});if(n)return n;let i=[],r=new s(i,e,t);for(let o of t)o.instances.push(r);let a=function(e){let t=[[]];for(let n=0;nt.length-e.length)}(t);for(let h of e.set)if(!h.modified.length)for(let c of a)i.push(l.get(h,c));return r}}function a(e){let t=Object.create(null);for(let n in e){let i=e[n];for(let r of(Array.isArray(i)||(i=[i]),n.split(" ")))if(r){let s=[],o=2,l=r;for(let a=0;;){if("..."==l&&a>0&&a+3==r.length){o=1;break}let u=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!u)throw RangeError("Invalid path: "+r);if(s.push("*"==u[0]?"":'"'==u[0][0]?JSON.parse(u[0]):u[0]),(a+=u[0].length)==r.length)break;let f=r[a++];if(a==r.length&&"!"==f){o=0;break}if("/"!=f)throw RangeError("Invalid path: "+r);l=r.slice(a)}let d=s.length-1,p=s[d];if(!p)throw RangeError("Invalid path: "+r);let m=new c(i,o,d>0?s.slice(0,d):null);t[p]=m.sort(t[p])}}return h.add(t)}let h=new i.md;class c{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depththis.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,s){let{type:o,from:l,to:a}=e;if(l>=n||a<=t)return;o.isTop&&(s=this.highlighters.filter(e=>!e.scope||e.scope(o)));let u=r,f=function(e){let t=e.type.prop(h);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||c.empty,d=function(e,t){let n=null;for(let i of e){let r=i.style(t);r&&(n=n?n+" "+r:r)}return n}(s,f.tags);if(d&&(u&&(u+=" "),u+=d,1==f.mode&&(r+=(r?" ":"")+d)),this.startSpan(e.from,u),f.opaque)return;let p=e.tree&&e.tree.prop(i.md.mounted);if(p&&p.overlay){let m=e.node.enter(p.overlay[0].from+l,1),g=this.highlighters.filter(e=>!e.scope||e.scope(p.tree.type)),k=e.firstChild();for(let y=0,v=l;;y++){let b=y=O)&&e.nextSibling()););if(!b||O>n)break;(v=b.to+l)>t&&(this.highlightRange(m.cursor(),Math.max(t,b.from+l),Math.min(n,v),r,g),this.startSpan(v,u))}k&&e.parent()}else if(e.firstChild()){do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}let p=s.define,m=p(),g=p(),k=p(g),y=p(g),v=p(),b=p(v),O=p(v),x=p(),w=p(x),S=p(),P=p(),C=p(),A=p(C),Q=p(),T={comment:m,lineComment:p(m),blockComment:p(m),docComment:p(m),name:g,variableName:p(g),typeName:k,tagName:p(k),propertyName:y,attributeName:p(y),className:p(g),labelName:p(g),namespace:p(g),macroName:p(g),literal:v,string:b,docString:p(b),character:p(b),attributeValue:p(b),number:O,integer:p(O),float:p(O),bool:p(v),regexp:p(v),escape:p(v),color:p(v),url:p(v),keyword:S,self:p(S),null:p(S),atom:p(S),unit:p(S),modifier:p(S),operatorKeyword:p(S),controlKeyword:p(S),definitionKeyword:p(S),moduleKeyword:p(S),operator:P,derefOperator:p(P),arithmeticOperator:p(P),logicOperator:p(P),bitwiseOperator:p(P),compareOperator:p(P),updateOperator:p(P),definitionOperator:p(P),typeOperator:p(P),controlOperator:p(P),punctuation:C,separator:p(C),bracket:A,angleBracket:p(A),squareBracket:p(A),paren:p(A),brace:p(A),content:x,heading:w,heading1:p(w),heading2:p(w),heading3:p(w),heading4:p(w),heading5:p(w),heading6:p(w),contentSeparator:p(x),list:p(x),quote:p(x),emphasis:p(x),strong:p(x),link:p(x),monospace:p(x),strikethrough:p(x),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:Q,documentMeta:p(Q),annotation:p(Q),processingInstruction:p(Q),definition:s.defineModifier(),constant:s.defineModifier(),function:s.defineModifier(),standard:s.defineModifier(),local:s.defineModifier(),special:s.defineModifier()};u([{tag:T.link,class:"tok-link"},{tag:T.heading,class:"tok-heading"},{tag:T.emphasis,class:"tok-emphasis"},{tag:T.strong,class:"tok-strong"},{tag:T.keyword,class:"tok-keyword"},{tag:T.atom,class:"tok-atom"},{tag:T.bool,class:"tok-bool"},{tag:T.url,class:"tok-url"},{tag:T.labelName,class:"tok-labelName"},{tag:T.inserted,class:"tok-inserted"},{tag:T.deleted,class:"tok-deleted"},{tag:T.literal,class:"tok-literal"},{tag:T.string,class:"tok-string"},{tag:T.number,class:"tok-number"},{tag:[T.regexp,T.escape,T.special(T.string)],class:"tok-string2"},{tag:T.variableName,class:"tok-variableName"},{tag:T.local(T.variableName),class:"tok-variableName tok-local"},{tag:T.definition(T.variableName),class:"tok-variableName tok-definition"},{tag:T.special(T.variableName),class:"tok-variableName2"},{tag:T.definition(T.propertyName),class:"tok-propertyName tok-definition"},{tag:T.typeName,class:"tok-typeName"},{tag:T.namespace,class:"tok-namespace"},{tag:T.className,class:"tok-className"},{tag:T.macroName,class:"tok-macroName"},{tag:T.propertyName,class:"tok-propertyName"},{tag:T.operator,class:"tok-operator"},{tag:T.comment,class:"tok-comment"},{tag:T.meta,class:"tok-meta"},{tag:T.invalid,class:"tok-invalid"},{tag:T.punctuation,class:"tok-punctuation"}])},53105:function(e,t,n){n.d(t,{IK:function(){return I},Jq:function(){return v},WQ:function(){return D}});var i,r,s,o,l,a,h=n(41113),c=n(34155);class u{constructor(e,t,n,i,r,s,o,l,a,h=0,c){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=l,this.curContext=a,this.lookAhead=h,this.parent=c}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new u(e,[],t,n,n,0,[],0,i?new f(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=65535&e,{parser:i}=this.p,r=i.dynamicPrecedence(n);if(r&&(this.score+=r),0==t){this.pushState(i.getGoto(this.state,n,!0),this.reducePos),ns;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,i=4,r=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]0&&0==s.buffer[o-4]&&s.buffer[o-1]>-1){if(t==n)return;if(s.buffer[o-2]>=t){s.buffer[o-2]=n;return}}}if(r&&this.pos!=n){let l=this.buffer.length;if(l>0&&0!=this.buffer[l-4])for(;l>0&&this.buffer[l-2]>n;)this.buffer[l]=this.buffer[l-4],this.buffer[l+1]=this.buffer[l-3],this.buffer[l+2]=this.buffer[l-2],this.buffer[l+3]=this.buffer[l-1],l-=4,i>4&&(i-=4);this.buffer[l]=e,this.buffer[l+1]=t,this.buffer[l+2]=n,this.buffer[l+3]=i}else this.buffer.push(e,t,n,i)}shift(e,t,n){let i=this.pos;if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:r}=this.p;(n>this.pos||t<=r.maxNode)&&(this.pos=n,r.stateFlag(e,1)||(this.reducePos=n)),this.pushState(e,i),this.shiftContext(t,i),t<=r.maxNode&&this.buffer.push(t,i,n,4)}else this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4)}apply(e,t,n){65536&e?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new u(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new d(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if((65536&n)==0)return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let i=0,r;i1&t&&e==o)||n.push(t[s],o)}t=n}let l=[];for(let a=0;a>19);if(n<0||0>t.getGoto(this.stack[n],65535&e,!1))return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class f{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}(i=o||(o={}))[i.Insert=200]="Insert",i[i.Delete=190]="Delete",i[i.Reduce=100]="Reduce",i[i.MaxNext=4]="MaxNext",i[i.MaxInsertStackDepth=300]="MaxInsertStackDepth",i[i.DampenInsertStackDepth=120]="DampenInsertStackDepth";class d{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class p{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new p(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new p(this.stack,this.pos,this.index)}}class m{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let g=new m;class k{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=g,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,r=this.pos+e;for(;rn.to:r>=n.to;){if(i==this.ranges.length-1)return null;let o=this.ranges[++i];r+=o.from-n.to,n=o}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,i;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n=this.chunk2Pos&&this.posthis.range.to?n.slice(0,this.range.to-this.pos):n,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=g,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class y{constructor(e,t){this.data=e,this.id=t}token(e,t){!function(e,t,n,i){let r=0,s=1<0){let c=e[h];if(l.allows(c)&&(-1==t.token.value||t.token.value==c||o.overrides(c,t.token.value))){t.acceptToken(c);break}}let u=t.next,f=0,d=e[r+2];if(t.next<0&&d>f&&65535==e[a+3*d-3]&&65535==e[a+3*d-3]){r=e[a+3*d-1];continue n}for(;f>1,m=a+p+(p<<1),g=e[m],k=e[m+1]||65536;if(u=k)f=p+1;else{r=e[m+2],t.advance();continue n}}break}}(this.data,e,t,this.id)}}y.prototype.contextual=y.prototype.fallback=y.prototype.extend=!1;class v{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function b(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),s+=a,l)break;s*=46}n?n[r++]=s:n=new t(s)}return n}let O=void 0!==c&&c.env&&/\bparse\b/.test(c.env.LOG),x=null;function w(e,t,n){let i=e.cursor(h.vj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.tot)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}(r=l||(l={}))[r.Margin=25]="Margin";class S{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?w(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?w(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=s,null;if(r instanceof h.mp){if(s==e){if(s=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+r.length}}}class P{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new m)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:r}=i,s=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,l=0;for(let a=0;ac.end+25&&(l=Math.max(c.lookAhead,l)),0!=c.value)){let u=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!h.extend&&(n=c,t>u))break}}for(;this.actions.length>t;)this.actions.pop();return l&&e.setLookAhead(l),n||e.pos!=this.stream.end||((n=new m).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new m,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:r}=n.p;for(let s=0;s=0&&n.p.parser.dialect.allows(o>>1)){(1&o)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let r=0;r4*e.bufferLength?new S(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,i=this.minStackPos,r=this.stacks=[];for(let s=0;si)r.push(o);else{if(this.advanceStack(o,r,n))continue;e||(e=[],t=[]),e.push(o);let l=this.tokens.getMainToken(o);t.push(l.value,l.end)}break}}if(!r.length){let a=e&&function(e){let t=null;for(let n of e){let i=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=i&&n.pos>i)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scorethis.stoppedAt?e[0]:this.runRecovery(e,t,r);if(h)return this.stackToTree(h.forceAll())}if(this.recovering){let c=1==this.recovering?1:3*this.recovering;if(r.length>c)for(r.sort((e,t)=>t.score-e.score);r.length>c;)r.pop();r.some(e=>e.reducePos>i)&&this.recovering--}else if(r.length>1)i:for(let u=0;u500&&p.buffer.length>500){if((f.score-p.score||f.buffer.length-p.buffer.length)>0)r.splice(d--,1);else{r.splice(u--,1);continue i}}}}this.minStackPos=r[0].pos;for(let m=1;m ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let o=e.curContext&&e.curContext.tracker.strict,l=o?e.curContext.hash:0;for(let a=this.fragments.nodeAt(i);a;){let c=this.parser.nodeSet.types[a.type.id]==a.type?r.getGoto(e.state,a.type.id):-1;if(c>-1&&a.length&&(!o||(a.prop(h.md.contextHash)||0)==l))return e.useNode(a,c),O&&console.log(s+this.stackID(e)+` (via reuse of ${r.getName(a.type.id)})`),!0;if(!(a instanceof h.mp)||0==a.children.length||a.positions[0]>0)break;let u=a.children[0];if(u instanceof h.mp&&0==a.positions[0])a=u;else break}}let f=r.stateSlot(e.state,4);if(f>0)return e.reduce(f),O&&console.log(s+this.stackID(e)+` (via always-reduce ${r.getName(65535&f)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let d=this.tokens.getActions(e);for(let p=0;pi?t.push(v):n.push(v)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return A(e,t),!0}}runRecovery(e,t,n){let i=null,r=!1;for(let s=0;s ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),O&&console.log(h+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let c=o.split(),u=h;for(let f=0;c.forceReduce()&&f<10&&(O&&console.log(u+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,n));f++)O&&(u=this.stackID(c)+" -> ");for(let d of o.recoverByInsert(l))O&&console.log(h+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>o.pos?(a==o.pos&&(a++,l=0),o.recoverByDelete(l,a),O&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(l)})`),A(o,n)):(!i||i.scoree;class I{constructor(e){this.start=e.start,this.shift=e.shift||T,this.reduce=e.reduce||T,this.reuse=e.reuse||T,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class D extends h._b{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;ne.topRules[t][1]),r=[];for(let s=0;s=0)o(u,a,l[c++]);else{let f=l[c+-u];for(let d=-u;d>0;d--)o(l[c++],a,f);c++}}}this.nodeSet=new h.Lj(t.map((t,n)=>h.Jq.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:r[n],top:i.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=h.L3;let p=b(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let m=0;m"number"==typeof e?new y(p,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new C(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return -1;for(let r=i[t+1];;){let s=i[r++],o=1&s,l=i[r++];if(o&&n)return l;for(let a=r+(s>>1);r0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])return!1;n=R(this.data,n+2)}if(t==R(this.data,n+1))return!0}}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=R(this.data,n+2);else break}if((1&this.data[n+2])==0){let i=this.data[n+1];t.some((e,t)=>1&t&&e==i)||t.push(this.data[n],i)}}return t}overrides(e,t){let n=M(this.data,this.tokenPrecTable,t);return n<0||M(this.data,this.tokenPrecTable,e){let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let r=e.specializers.find(e=>e.from==n.external);if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[i]=$(s),s})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let r=t.indexOf(i);r>=0&&(n[r]=!0)}let s=null;for(let o=0;oe.external(n,i)<<1|t}return e.get}},28699:function(e,t,n){n.d(t,{V:function(){return o}});let i="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),r="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let r in e)!function e(t,r,s,o){let l=[],a=/^@(\w+)\b/.exec(t[0]),h=a&&"keyframes"==a[1];if(a&&null==r)return s.push(t[0]+";");for(let c in r){let u=r[c];if(/&/.test(c))e(c.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),u,s);else if(u&&"object"==typeof u){if(!a)throw RangeError("The value of a property ("+c+") should be a primitive value.");e(i(c),u,l,h)}else null!=u&&l.push(c.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+u+";")}(l.length||h)&&s.push((!n||a||o?t:t.map(n)).join(", ")+" {"+l.join(" ")+"}")}(i(r),e[r],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[i]||1;return s[i]=e+1,"ͼ"+e.toString(36)}static mount(e,t){(e[r]||new a(e)).mount(Array.isArray(t)?t:[t])}}let l=null;class a{constructor(e){if(!e.head&&e.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(l)return e.adoptedStyleSheets=[l.sheet].concat(e.adoptedStyleSheets),e[r]=l;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),l=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[r]=this}mount(e){let t=this.sheet,n=0,i=0;for(let r=0;r-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),t)for(let l=0;l",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent);"undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent);for(var o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),l="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=o||s&&57>+s[1],h=0;h<10;h++)i[48+h]=i[96+h]=String(h);for(var h=1;h<=24;h++)i[h+111]="F"+h;for(var h=65;h<=90;h++)i[h]=String.fromCharCode(h+32),r[h]=String.fromCharCode(h);for(var c in i)r.hasOwnProperty(c)||(r[c]=i[c]);function u(e){var t=!(a&&(e.ctrlKey||e.altKey||e.metaKey)||l&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:i)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1943-fa053f32e80a6fa2.js b/static/web/_next/static/chunks/1943-fa053f32e80a6fa2.js deleted file mode 100644 index 20c9808e5..000000000 --- a/static/web/_next/static/chunks/1943-fa053f32e80a6fa2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1943],{58909:function(e,t,n){n.d(t,{F:function(){return o}});var i=n(35524),r=n(47421),s=n(59119),o=(e=>{var{theme:t,settings:n,styles:i}=e,o={"&":{backgroundColor:n.background,color:n.foreground},".cm-gutters":{}};n.fontFamily&&(o["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(o[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(o[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(o[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(o[".cm-content"]={caretColor:n.caret},o[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var l={};n.gutterActiveForeground&&(l.color=n.gutterActiveForeground),n.lineHighlight&&(o[".cm-activeLine"]={backgroundColor:n.lineHighlight},l.backgroundColor=n.lineHighlight),o[".cm-activeLineGutter"]=l,n.selection&&(o["&.cm-focused .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={backgroundColor:n.selection}),n.selectionMatch&&(o["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var a=r.tk.theme(o,{dark:"dark"===t}),h=s.Qf.define(i);return[a,(0,s.nF)(h)]})({theme:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",lineHighlight:"#00000012"},styles:[{tag:[i.pJ.meta,i.pJ.comment],color:"#804000"},{tag:[i.pJ.keyword,i.pJ.strong],color:"#0000FF"},{tag:[i.pJ.number],color:"#FF0080"},{tag:[i.pJ.string],color:"#FF0080"},{tag:[i.pJ.variableName],color:"#006600"},{tag:[i.pJ.escape],color:"#33CC33"},{tag:[i.pJ.tagName],color:"#1C02FF"},{tag:[i.pJ.heading],color:"#0C07FF"},{tag:[i.pJ.quote],color:"#000000"},{tag:[i.pJ.list],color:"#B90690"},{tag:[i.pJ.documentMeta],color:"#888888"},{tag:[i.pJ.function(i.pJ.variableName)],color:"#0000A2"},{tag:[i.pJ.definition(i.pJ.typeName),i.pJ.typeName],color:"#6D79DE"}]})},87685:function(e,t,n){n.d(t,{ZP:function(){return nF}});var i=n(87462),r=n(63366),s=n(67294),o=n(78120),l=n(47421),a=n(59119),h=n(41113);let c=e=>{let t=m(e.state);return t.line?f(e):!!t.block&&p(e)};function u(e,t){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=e(t,n);return!!r&&(i(n.update(r)),!0)}}let f=u(function(e,t,n=t.selection.ranges){let i=[],r=-1;for(let{from:s,to:o}of n){let l=i.length,a=1e9;for(let h=s;h<=o;){let c=t.doc.lineAt(h);if(c.from>r&&(s==o||o>c.from)){r=c.from;let u=m(t,h).line;if(!u)continue;let f=/^\s*/.exec(c.text)[0].length,d=f==c.length,p=c.text.slice(f,f+u.length)==u?f:-1;fe.comment<0&&(!e.empty||e.single))){let y=[];for(let{line:k,token:O,indent:v,empty:b,single:x}of i)(x||!b)&&y.push({from:k.from+v,insert:O+" "});let w=t.changes(y);return{changes:w,selection:t.selection.map(w,1)}}if(1!=e&&i.some(e=>e.comment>=0)){let S=[];for(let{line:P,comment:C,token:A}of i)if(C>=0){let Q=P.from+C,T=Q+A.length;" "==P.text[T-P.from]&&T++,S.push({from:Q,to:T})}return{changes:S}}return null},0),d=u(g,0),p=u((e,t)=>g(e,t,function(e){let t=[];for(let n of e.selection.ranges){let i=e.doc.lineAt(n.from),r=n.to<=i.to?i:e.doc.lineAt(n.to),s=t.length-1;s>=0&&t[s].to>i.from?t[s].to=r.to:t.push({from:i.from,to:r.to})}return t}(t)),0);function m(e,t=e.selection.main.head){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}function g(e,t,n=t.selection.ranges){let i=n.map(e=>m(t,e.from).block);if(!i.every(e=>e))return null;let r=n.map((e,n)=>(function(e,{open:t,close:n},i,r){let s,o,l=e.sliceDoc(i-50,i),a=e.sliceDoc(r,r+50),h=/\s*$/.exec(l)[0].length,c=/^\s*/.exec(a)[0].length,u=l.length-h;if(l.slice(u-t.length,u)==t&&a.slice(c,c+n.length)==n)return{open:{pos:i-h,margin:h&&1},close:{pos:r+c,margin:c&&1}};r-i<=100?s=o=e.sliceDoc(i,r):(s=e.sliceDoc(i,i+50),o=e.sliceDoc(r-50,r));let f=/^\s*/.exec(s)[0].length,d=/\s*$/.exec(o)[0].length,p=o.length-d-n.length;return s.slice(f,f+t.length)==t&&o.slice(p,p+n.length)==n?{open:{pos:i+f+t.length,margin:/\s/.test(s.charAt(f+t.length))?1:0},close:{pos:r-d-n.length,margin:/\s/.test(o.charAt(p-1))?1:0}}:null})(t,i[n],e.from,e.to));if(2!=e&&!r.every(e=>e))return{changes:t.changes(n.map((e,t)=>r[t]?[]:[{from:e.from,insert:i[t].open+" "},{from:e.to,insert:" "+i[t].close}]))};if(1!=e&&r.some(e=>e)){let s=[];for(let o=0,l;o(0,o.BO)(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}),b=o.QQ.define({create:()=>$.empty,update(e,t){let n=t.state.facet(v),i=t.annotation(y);if(i){var r;let s;let l=t.docChanged?o.jT.single((r=t.changes,s=0,r.iterChangedRanges((e,t)=>s=t),s)):void 0,a=A.fromTransaction(t,l),h=i.side,c=0==h?e.undone:e.done;return c=a?Q(c,c.length,n.minDepth,a):D(c,t.startState.selection),new $(0==h?i.rest:c,0==h?c:i.rest)}let u=t.annotation(k);if(("full"==u||"before"==u)&&(e=e.isolate()),!1===t.annotation(o.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let f=A.fromTransaction(t),d=t.annotation(o.YW.time),p=t.annotation(o.YW.userEvent);return f?e=e.addChanges(f,d,p,n.newGroupDelay,n.minDepth):t.selection&&(e=e.addSelection(t.startState.selection,d,p,n.newGroupDelay)),("full"==u||"after"==u)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new $(e.done.map(A.fromJSON),e.undone.map(A.fromJSON))});function x(e,t){return function({state:n,dispatch:i}){if(!t&&n.readOnly)return!1;let r=n.field(b,!1);if(!r)return!1;let s=r.pop(e,n,t);return!!s&&(i(s),!0)}}let w=x(0,!1),S=x(1,!1),P=x(0,!0),C=x(1,!0);class A{constructor(e,t,n,i,r){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(e){return new A(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new A(e.changes&&o.as.fromJSON(e.changes),[],e.mapped&&o.n0.fromJSON(e.mapped),e.startSelection&&o.jT.fromJSON(e.startSelection),e.selectionsAfter.map(o.jT.fromJSON))}static fromTransaction(e,t){let n=I;for(let i of e.startState.facet(O)){let r=i(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new A(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,I)}static selection(e){return new A(void 0,I,void 0,void 0,e)}}function Q(e,t,n,i){let r=e.slice(t+1>n+20?t-n-1:0,t);return r.push(i),r}function T(e,t){return e.length?t.length?e.concat(t):e:t}let I=[];function D(e,t){if(!e.length)return[A.selection([t])];{let n=e[e.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return i.length&&i[i.length-1].eq(t)?e:(i.push(t),Q(e,e.length-1,1e9,n.setSelAfter(i)))}}function R(e,t){if(!e.length)return e;let n=e.length,i=I;for(;n;){let r=function(e,t,n){let i=T(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):I,n);if(!e.changes)return A.selection(i);let r=e.changes.map(t),s=t.mapDesc(e.changes,!0),l=e.mapped?e.mapped.composeDesc(s):s;return new A(r,o.Py.mapEffects(e.effects,t),l,e.startSelection.map(s),i)}(e[n-1],t,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=e.slice(0,n);return s[n-1]=r,s}t=r.mapped,n--,i=r.selectionsAfter}return i.length?[A.selection(i)]:I}let M=/^(input\.type|delete)($|\.)/;class ${constructor(e,t,n=0,i){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new $(this.done,this.undone):this}addChanges(e,t,n,i,r){var s,o;let l,a,h=this.done,c=h[h.length-1];return h=c&&c.changes&&!c.changes.empty&&e.changes&&(!n||M.test(n))&&(!c.selectionsAfter.length&&t-this.prevTimel.push(e,t)),o.iterChangedRanges((e,t,n,i)=>{for(let r=0;r=s&&n<=o&&(a=!0)}}),a)||"input.type.compose"==n)?Q(h,h.length-1,r,new A(e.changes.compose(c.changes),T(e.effects,c.effects),c.mapped,c.startSelection,I)):Q(h,h.length,r,e),new $(h,I,t,n)}addSelection(e,t,n,i){var r;let s=this.done.length?this.done[this.done.length-1].selectionsAfter:I;return s.length>0&&t-this.prevTimet.empty!=e.ranges[n].empty).length?this:new $(D(this.done,e),this.undone,t,n)}addMapping(e){return new $(R(this.done,e),R(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=0==e?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1];if(n&&r.selectionsAfter.length){var s;let o,l;return t.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:y.of({side:e,rest:(o=(s=i)[s.length-1],(l=s.slice())[s.length-1]=o.setSelAfter(o.selectionsAfter.slice(0,o.selectionsAfter.length-1)),l)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}if(!r.changes)return null;{let a=1==i.length?I:i.slice(0,i.length-1);return r.mapped&&(a=R(a,r.mapped)),t.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:y.of({side:e,rest:a}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}$.empty=new $(I,I);let N=[{key:"Mod-z",run:w,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:S,preventDefault:!0},{linux:"Ctrl-Shift-z",run:S,preventDefault:!0},{key:"Mod-u",run:P,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:C,preventDefault:!0}];function E(e,t){return o.jT.create(e.ranges.map(t),e.mainIndex)}function z(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function W({state:e,dispatch:t},n){let i=E(e.selection,n);return!i.eq(e.selection)&&(t(z(e,i)),!0)}function B(e,t){return o.jT.cursor(t?e.to:e.from)}function J(e,t){return W(e,n=>n.empty?e.moveByChar(n,t):B(n,t))}function L(e){return e.textDirectionAt(e.state.selection.main.head)==l.Nm.LTR}let j=e=>J(e,!L(e)),F=e=>J(e,L(e));function _(e,t){return W(e,n=>n.empty?e.moveByGroup(n,t):B(n,t))}let U=e=>_(e,!L(e)),q=e=>_(e,L(e));function X(e,t,n){let i,r,s=(0,a.qz)(e).resolveInner(t.head),l=n?h.md.closedBy:h.md.openedBy;for(let c=t.head;;){let u=n?s.childAfter(c):s.childBefore(c);if(!u)break;!function(e,t,n){if(t.type.prop(n))return!0;let i=t.to-t.from;return i&&(i>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,u,l)?c=n?u.to:u.from:s=u}return r=s.type.prop(l)&&(i=n?(0,a.Um)(e,s.from,1):(0,a.Um)(e,s.to,-1))&&i.matched?n?i.end.to:i.end.from:n?s.to:s.from,o.jT.cursor(r,n?-1:1)}let V=e=>W(e,t=>X(e.state,t,!L(e))),G=e=>W(e,t=>X(e.state,t,L(e)));function Z(e,t){return W(e,n=>{if(!n.empty)return B(n,t);let i=e.moveVertically(n,t);return i.head!=n.head?i:e.moveToLineBoundary(n,t)})}let Y=e=>Z(e,!1),K=e=>Z(e,!0);function H(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function ee(e,t){let n,{state:i}=e,r=E(i.selection,n=>n.empty?e.moveVertically(n,t,H(e)):B(n,t));if(r.eq(i.selection))return!1;let s=e.coordsAtPos(i.selection.main.head),o=e.scrollDOM.getBoundingClientRect();return s&&s.top>o.top&&s.bottomee(e,!1),en=e=>ee(e,!0);function ei(e,t,n){let i=e.lineBlockAt(t.head),r=e.moveToLineBoundary(t,n);if(r.head==t.head&&r.head!=(n?i.to:i.from)&&(r=e.moveToLineBoundary(t,n,!1)),!n&&r.head==i.from&&i.length){let s=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&t.head!=i.from+s&&(r=o.jT.cursor(i.from+s))}return r}let er=e=>W(e,t=>ei(e,t,!0)),es=e=>W(e,t=>ei(e,t,!1)),eo=e=>W(e,t=>ei(e,t,!L(e))),el=e=>W(e,t=>ei(e,t,L(e))),ea=e=>W(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from,1)),eh=e=>W(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to,-1)),ec=({state:e,dispatch:t})=>{let n,i;return n=!1,i=E(e.selection,t=>{let i=(0,a.Um)(e,t.head,-1)||(0,a.Um)(e,t.head,1)||t.head>0&&(0,a.Um)(e,t.head-1,1)||t.head{let n=t(e);return o.jT.range(e.anchor,n.head,n.goalColumn)});return!n.eq(e.state.selection)&&(e.dispatch(z(e.state,n)),!0)}function ef(e,t){return eu(e,n=>e.moveByChar(n,t))}let ed=e=>ef(e,!L(e)),ep=e=>ef(e,L(e));function em(e,t){return eu(e,n=>e.moveByGroup(n,t))}let eg=e=>em(e,!L(e)),ey=e=>em(e,L(e)),ek=e=>eu(e,t=>X(e.state,t,!L(e))),eO=e=>eu(e,t=>X(e.state,t,L(e)));function ev(e,t){return eu(e,n=>e.moveVertically(n,t))}let eb=e=>ev(e,!1),ex=e=>ev(e,!0);function ew(e,t){return eu(e,n=>e.moveVertically(n,t,H(e)))}let eS=e=>ew(e,!1),eP=e=>ew(e,!0),eC=e=>eu(e,t=>ei(e,t,!0)),eA=e=>eu(e,t=>ei(e,t,!1)),eQ=e=>eu(e,t=>ei(e,t,!L(e))),eT=e=>eu(e,t=>ei(e,t,L(e))),eI=e=>eu(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from)),eD=e=>eu(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to)),eR=({state:e,dispatch:t})=>(t(z(e,{anchor:0})),!0),eM=({state:e,dispatch:t})=>(t(z(e,{anchor:e.doc.length})),!0),e$=({state:e,dispatch:t})=>(t(z(e,{anchor:e.selection.main.anchor,head:0})),!0),eN=({state:e,dispatch:t})=>(t(z(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),eE=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),ez=({state:e,dispatch:t})=>{let n=eK(e).map(({from:t,to:n})=>o.jT.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:o.jT.create(n),userEvent:"select"})),!0},eW=({state:e,dispatch:t})=>{let n=E(e.selection,t=>{var n;let i=(0,a.qz)(e).resolveInner(t.head,1);for(;!(i.from=t.to||i.to>t.to&&i.from<=t.from||!(null===(n=i.parent)||void 0===n?void 0:n.parent));)i=i.parent;return o.jT.range(i.to,i.from)});return t(z(e,n)),!0},eB=({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=o.jT.create([n.main]):n.main.empty||(i=o.jT.create([o.jT.cursor(n.main.head)])),!!i&&(t(z(e,i)),!0)};function eJ(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:i}=e,r=i.changeByRange(i=>{let{from:r,to:s}=i;if(r==s){let l=t(r);lr&&(n="delete.forward",l=eL(e,l,!0)),r=Math.min(r,l),s=Math.max(s,l)}else r=eL(e,r,!1),s=eL(e,s,!0);return r==s?{range:i}:{changes:{from:r,to:s},range:o.jT.cursor(r)}});return!r.changes.empty&&(e.dispatch(i.update(r,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?l.tk.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function eL(e,t,n){if(e instanceof l.tk)for(let i of e.state.facet(l.tk.atomicRanges).map(t=>t(e)))i.between(t,t,(e,i)=>{et&&(t=n?i:e)});return t}let ej=(e,t)=>eJ(e,n=>{let{state:i}=e,r=i.doc.lineAt(n),s,l;if(!t&&n>r.from&&nej(e,!1),e_=e=>ej(e,!0),eU=(e,t)=>eJ(e,n=>{let i=n,{state:r}=e,s=r.doc.lineAt(i),l=r.charCategorizer(i);for(let a=null;;){if(i==(t?s.to:s.from)){i==n&&s.number!=(t?r.doc.lines:1)&&(i+=t?1:-1);break}let h=(0,o.cp)(s.text,i-s.from,t)+s.from,c=s.text.slice(Math.min(i,h)-s.from,Math.max(i,h)-s.from),u=l(c);if(null!=a&&u!=a)break;(" "!=c||i!=n)&&(a=u),i=h}return i}),eq=e=>eU(e,!1),eX=e=>eU(e,!0),eV=e=>eJ(e,t=>{let n=e.lineBlockAt(t).to;return teJ(e,t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}),eZ=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:o.xv.of(["",""])},range:o.jT.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},eY=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),r=n==i.from?n-1:(0,o.cp)(i.text,n-i.from,!1)+i.from,s=n==i.to?n+1:(0,o.cp)(i.text,n-i.from,!0)+i.from;return{changes:{from:r,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(r,n))},range:o.jT.cursor(s)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function eK(e){let t=[],n=-1;for(let i of e.selection.ranges){let r=e.doc.lineAt(i.from),s=e.doc.lineAt(i.to);if(i.empty||i.to!=s.from||(s=e.doc.lineAt(i.to-1)),n>=r.number){let o=t[t.length-1];o.to=s.to,o.ranges.push(i)}else t.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return t}function eH(e,t,n){if(e.readOnly)return!1;let i=[],r=[];for(let s of eK(e)){if(n?s.to==e.doc.length:0==s.from)continue;let l=e.doc.lineAt(n?s.to+1:s.from-1),a=l.length+1;if(n)for(let h of(i.push({from:s.to,to:l.to},{from:s.from,insert:l.text+e.lineBreak}),s.ranges))r.push(o.jT.range(Math.min(e.doc.length,h.anchor+a),Math.min(e.doc.length,h.head+a)));else for(let c of(i.push({from:l.from,to:s.from},{from:s.to,insert:e.lineBreak+l.text}),s.ranges))r.push(o.jT.range(c.anchor-a,c.head-a))}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:o.jT.create(r,e.selection.mainIndex),userEvent:"move.line"})),!0)}let e0=({state:e,dispatch:t})=>eH(e,t,!1),e1=({state:e,dispatch:t})=>eH(e,t,!0);function e2(e,t,n){if(e.readOnly)return!1;let i=[];for(let r of eK(e))n?i.push({from:r.from,insert:e.doc.slice(r.from,r.to)+e.lineBreak}):i.push({from:r.to,insert:e.lineBreak+e.doc.slice(r.from,r.to)});return t(e.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}let e5=({state:e,dispatch:t})=>e2(e,t,!1),e3=({state:e,dispatch:t})=>e2(e,t,!0),e4=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(eK(t).map(({from:e,to:n})=>(e>0?e--:ne.moveVertically(t,!0)).map(n);return e.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0},e9=e8(!1),e6=e8(!0);function e8(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:r}=n,s=t.doc.lineAt(i),l=!e&&i==r&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,a.qz)(e).resolveInner(t),i=n.childBefore(t),r=n.childAfter(t),s;return i&&r&&i.to<=t&&r.from>=t&&(s=i.type.prop(h.md.closedBy))&&s.indexOf(r.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}(t,i);e&&(i=r=(r<=s.to?s:t.doc.lineAt(r)).to);let c=new a.Gn(t,{simulateBreak:i,simulateDoubleBreak:!!l}),u=(0,a.K0)(c,i);for(null==u&&(u=/^\s*/.exec(t.doc.lineAt(i).text)[0].length);rs.from&&i{let r=[];for(let s=i.from;s<=i.to;){let l=e.doc.lineAt(s);l.number>n&&(i.empty||i.to>l.from)&&(t(l,r,i),n=l.number),s=l.to+1}let a=e.changes(r);return{changes:r,range:o.jT.range(a.mapPos(i.anchor,1),a.mapPos(i.head,1))}})}let te=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),i=new a.Gn(e,{overrideIndentation(e){let t=n[e];return null==t?-1:t}}),r=e7(e,(t,r,s)=>{let o=(0,a.K0)(i,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let l=/^\s*/.exec(t.text)[0],h=(0,a.SS)(e,o);(l!=h||s.from!e.readOnly&&(t(e.update(e7(e,(t,n)=>{n.push({from:t.from,insert:e.facet(a.c)})}),{userEvent:"input.indent"})),!0),tn=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(e7(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let r=(0,o.IS)(i,e.tabSize),s=0,l=(0,a.SS)(e,Math.max(0,r-(0,a.y1)(e)));for(;s({mac:e.key,run:e.run,shift:e.shift}))),tr=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:V,shift:ek},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:G,shift:eO},{key:"Alt-ArrowUp",run:e0},{key:"Shift-Alt-ArrowUp",run:e5},{key:"Alt-ArrowDown",run:e1},{key:"Shift-Alt-ArrowDown",run:e3},{key:"Escape",run:eB},{key:"Mod-Enter",run:e6},{key:"Alt-l",mac:"Ctrl-l",run:ez},{key:"Mod-i",run:eW,preventDefault:!0},{key:"Mod-[",run:tn},{key:"Mod-]",run:tt},{key:"Mod-Alt-\\",run:te},{key:"Shift-Mod-k",run:e4},{key:"Shift-Mod-\\",run:ec},{key:"Mod-/",run:c},{key:"Alt-A",run:d}].concat(ti),ts={key:"Tab",run:tt,shift:tn};function to(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?e.setAttribute(i,r):null!=r&&(e[i]=r)}t++}for(;te.normalize("NFKD"):e=>e;class ta{constructor(e,t,n=0,i=e.length,r,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=r?e=>r(tl(e)):tl,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,o.gm)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,o.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,o.nZ)(e);let i=this.normalize(t);for(let r=0,s=n;;r++){let l=i.charCodeAt(r),a=this.match(l,s);if(a)return this.value=a,this;if(r==i.length-1)break;s==n&&rthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=tm(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||i.to<=t){let r=new td(t,e.sliceString(t,n));return tf.set(e,r),r}if(i.from==t&&i.to==n)return i;let{text:s,from:o}=i;return o>t&&(s=e.sliceString(t,o)+s,o=t),i.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,i=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this.matchPos=tm(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=td.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function tm(e,t){if(t>=e.length)return t;let n=e.lineAt(t),i;for(;t=56320&&i<57344;)t++;return t}function tg(e){let t=to("input",{class:"cm-textfield",name:"line"}),n=to("form",{class:"cm-gotoLine",onkeydown(t){27==t.keyCode?(t.preventDefault(),e.dispatch({effects:ty.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),i())},onsubmit(e){e.preventDefault(),i()}},to("label",e.state.phrase("Go to line"),": ",t)," ",to("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function i(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!n)return;let{state:i}=e,r=i.doc.lineAt(i.selection.main.head),[,s,l,a,h]=n,c=a?+a.slice(1):0,u=l?+l:r.number;if(l&&h){let f=u/100;s&&(f=f*("-"==s?-1:1)+r.number/i.doc.lines),u=Math.round(i.doc.lines*f)}else l&&s&&(u=u*("-"==s?-1:1)+r.number);let d=i.doc.line(Math.max(1,Math.min(i.doc.lines,u)));e.dispatch({effects:ty.of(!1),selection:o.jT.cursor(d.from+Math.max(0,Math.min(c,d.length))),scrollIntoView:!0}),e.focus()}return{dom:n}}"undefined"!=typeof Symbol&&(tu.prototype[Symbol.iterator]=tp.prototype[Symbol.iterator]=function(){return this});let ty=o.Py.define(),tk=o.QQ.define({create:()=>!0,update(e,t){for(let n of t.effects)n.is(ty)&&(e=n.value);return e},provide:e=>l.mH.from(e,e=>e?tg:null)}),tO=e=>{let t=(0,l.Sd)(e,tg);if(!t){let n=[ty.of(!0)];null==e.state.field(tk,!1)&&n.push(o.Py.appendConfig.of([tk,tv])),e.dispatch({effects:n}),t=(0,l.Sd)(e,tg)}return t&&t.dom.querySelector("input").focus(),!0},tv=l.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),tb={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},tx=o.r$.define({combine:e=>(0,o.BO)(e,tb,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),tw=l.p.mark({class:"cm-selectionMatch"}),tS=l.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function tP(e,t,n,i){return(0==n||e(t.sliceDoc(n-1,n))!=o.D0.Word)&&(i==t.doc.length||e(t.sliceDoc(i,i+1))!=o.D0.Word)}let tC=l.lg.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(tx),{state:n}=e,i=n.selection;if(i.ranges.length>1)return l.p.none;let r=i.main,s,a=null;if(r.empty){if(!t.highlightWordAroundCursor)return l.p.none;let h=n.wordAt(r.head);if(!h)return l.p.none;a=n.charCategorizer(r.head),s=n.sliceDoc(h.from,h.to)}else{let c=r.to-r.from;if(c200)return l.p.none;if(t.wholeWords){var u,f,d;if(s=n.sliceDoc(r.from,r.to),!(tP(a=n.charCategorizer(r.head),n,r.from,r.to)&&(u=a,f=r.from,d=r.to,u(n.sliceDoc(f,f+1))==o.D0.Word&&u(n.sliceDoc(d-1,d))==o.D0.Word)))return l.p.none}else if(!(s=n.sliceDoc(r.from,r.to).trim()))return l.p.none}let p=[];for(let m of e.visibleRanges){let g=new ta(n.doc,s,m.from,m.to);for(;!g.next().done;){let{from:y,to:k}=g.value;if((!a||tP(a,n,y,k))&&(r.empty&&y<=r.from&&k>=r.to?p.push(tS.range(y,k)):(y>=r.to||k<=r.from)&&p.push(tw.range(y,k)),p.length>t.maxMatches))return l.p.none}}return l.p.set(p)}},{decorations:e=>e.decorations}),tA=l.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),tQ=({state:e,dispatch:t})=>{let{selection:n}=e,i=o.jT.create(n.ranges.map(t=>e.wordAt(t.head)||o.jT.cursor(t.head)),n.mainIndex);return!i.eq(n)&&(t(e.update({selection:i})),!0)},tT=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return tQ({state:e,dispatch:t});let i=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=i))return!1;let r=function(e,t){let{main:n,ranges:i}=e.selection,r=e.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,l=new ta(e.doc,t,i[i.length-1].to);;)if(l.next(),l.done){if(o)return null;l=new ta(e.doc,t,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(e=>e.from==l.value.from))continue;if(s){let a=e.wordAt(l.value.from);if(!a||a.from!=l.value.from||a.to!=l.value.to)continue}return l.value}}(e,i);return!!r&&(t(e.update({selection:e.selection.addRange(o.jT.range(r.from,r.to),!1),effects:l.tk.scrollIntoView(r.to)})),!0)},tI=o.r$.define({combine:e=>(0,o.BO)(e,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new t3(e)})});class tD{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return RegExp(e,tc),!0}catch(t){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new tW(this):new t$(this)}getCursor(e,t=0,n){let i=e.doc?e:o.yy.create({doc:e});return null==n&&(n=i.doc.length),this.regexp?tN(this,i,t,n):tM(this,i,t,n)}}class tR{constructor(e){this.spec=e}}function tM(e,t,n,i){var r,s;return new ta(t.doc,e.unquoted,n,i,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?(r=t.doc,s=t.charCategorizer(t.selection.main.head),(e,t,n,i)=>((i>e||i+n.length=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tM(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}function tN(e,t,n,i){var r;return new tu(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(r=t.charCategorizer(t.selection.main.head),(e,t,n)=>!n[0].length||(r(tE(n.input,n.index))!=o.D0.Word||r(tz(n.input,n.index))!=o.D0.Word)&&(r(tz(n.input,n.index+n[0].length))!=o.D0.Word||r(tE(n.input,n.index+n[0].length))!=o.D0.Word)):void 0},n,i)}function tE(e,t){return e.slice((0,o.cp)(e,t,!1),t)}function tz(e,t){return e.slice(t,(0,o.cp)(e,t))}class tW extends tR{nextMatch(e,t,n){let i=tN(this.spec,e,n,e.doc.length).next();return i.done&&(i=tN(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let r=Math.max(t,n-1e4*i),s=tN(this.spec,e,r,n),o=null;for(;!s.next().done;)o=s.value;if(o&&(r==t||o.from>r+10))return o;if(r==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>"$"==n?"$":"&"==n?e.match[0]:"0"!=n&&+n=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tN(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}let tB=o.Py.define(),tJ=o.Py.define(),tL=o.QQ.define({create:e=>new tj(t0(e).create(),null),update(e,t){for(let n of t.effects)n.is(tB)?e=new tj(n.value.create(),e.panel):n.is(tJ)&&(e=new tj(e.query,n.value?tH:null));return e},provide:e=>l.mH.from(e,e=>e.panel)});class tj{constructor(e,t){this.query=e,this.panel=t}}let tF=l.p.mark({class:"cm-searchMatch"}),t_=l.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tU=l.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(tL))}update(e){let t=e.state.field(tL);(t!=e.startState.field(tL)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return l.p.none;let{view:n}=this,i=new o.f_;for(let r=0,s=n.visibleRanges,a=s.length;rs[r+1].from-500;)c=s[++r].to;e.highlight(n.state,h,c,(e,t)=>{let r=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);i.add(e,t,r?t_:tF)})}return i.finish()}},{decorations:e=>e.decorations});function tq(e){return t=>{let n=t.state.field(tL,!1);return n&&n.query.spec.valid?e(t,n):t1(t)}}let tX=tq((e,{query:t})=>{let{to:n}=e.state.selection.main,i=t.nextMatch(e.state,n,n);return!!i&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:t6(e,i),userEvent:"select.search"}),!0)}),tV=tq((e,{query:t})=>{let{state:n}=e,{from:i}=n.selection.main,r=t.prevMatch(n,i,i);return!!r&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:t6(e,r),userEvent:"select.search"}),!0)}),tG=tq((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:o.jT.create(n.map(e=>o.jT.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),tZ=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,s=[],l=0;for(let a=new ta(e.doc,e.sliceDoc(i,r));!a.next().done;){if(s.length>1e3)return!1;a.value.from==i&&(l=s.length),s.push(o.jT.range(a.value.from,a.value.to))}return t(e.update({selection:o.jT.create(s,l),userEvent:"select.search.matches"})),!0},tY=tq((e,{query:t})=>{let{state:n}=e,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,i,i);if(!s)return!1;let o=[],a,h,c=[];if(s.from==i&&s.to==r&&(h=n.toText(t.getReplacement(s)),o.push({from:s.from,to:s.to,insert:h}),s=t.nextMatch(n,s.from,s.to),c.push(l.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))),s){let u=0==o.length||o[0].from>=s.to?0:s.to-s.from-h.length;a={anchor:s.from-u,head:s.to-u},c.push(t6(e,s))}return e.dispatch({changes:o,selection:a,scrollIntoView:!!a,effects:c,userEvent:"input.replace"}),!0}),tK=tq((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:i}=e;return{from:n,to:i,insert:t.getReplacement(e)}});if(!n.length)return!1;let i=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:l.tk.announce.of(i),userEvent:"input.replace.all"}),!0});function tH(e){return e.state.facet(tI).createPanel(e)}function t0(e,t){var n,i,r,s;let o=e.selection.main,l=o.empty||o.to>o.from+100?"":e.sliceDoc(o.from,o.to);if(t&&!l)return t;let a=e.facet(tI);return new tD({search:(null!==(n=null==t?void 0:t.literal)&&void 0!==n?n:a.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(i=null==t?void 0:t.caseSensitive)&&void 0!==i?i:a.caseSensitive,literal:null!==(r=null==t?void 0:t.literal)&&void 0!==r?r:a.literal,wholeWord:null!==(s=null==t?void 0:t.wholeWord)&&void 0!==s?s:a.wholeWord})}let t1=e=>{let t=e.state.field(tL,!1);if(t&&t.panel){let n=(0,l.Sd)(e,tH);if(!n)return!1;let i=n.dom.querySelector("[main-field]");if(i&&i!=e.root.activeElement){let r=t0(e.state,t.query.spec);r.valid&&e.dispatch({effects:tB.of(r)}),i.focus(),i.select()}}else e.dispatch({effects:[tJ.of(!0),t?tB.of(t0(e.state,t.query.spec)):o.Py.appendConfig.of(t7)]});return!0},t2=e=>{let t=e.state.field(tL,!1);if(!t||!t.panel)return!1;let n=(0,l.Sd)(e,tH);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:tJ.of(!1)}),!0},t5=[{key:"Mod-f",run:t1,scope:"editor search-panel"},{key:"F3",run:tX,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:tX,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:t2,scope:"editor search-panel"},{key:"Mod-Shift-l",run:tZ},{key:"Alt-g",run:tO},{key:"Mod-d",run:tT,preventDefault:!0}];class t3{constructor(e){this.view=e;let t=this.query=e.state.field(tL).query.spec;function n(e,t,n){return to("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=to("input",{value:t.search,placeholder:t4(e,"Find"),"aria-label":t4(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=to("input",{value:t.replace,placeholder:t4(e,"Replace"),"aria-label":t4(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=to("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=to("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=to("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=to("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>tX(e),[t4(e,"next")]),n("prev",()=>tV(e),[t4(e,"previous")]),n("select",()=>tG(e),[t4(e,"all")]),to("label",null,[this.caseField,t4(e,"match case")]),to("label",null,[this.reField,t4(e,"regexp")]),to("label",null,[this.wordField,t4(e,"by word")]),...e.state.readOnly?[]:[to("br"),this.replaceField,n("replace",()=>tY(e),[t4(e,"replace")]),n("replaceAll",()=>tK(e),[t4(e,"replace all")])],to("button",{name:"close",onclick:()=>t2(e),"aria-label":t4(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new tD({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:tB.of(e)}))}keydown(e){(0,l.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?tV:tX)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),tY(this.view))}update(e){for(let t of e.transactions)for(let n of t.effects)n.is(tB)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(tI).top}}function t4(e,t){return e.state.phrase(t)}let t9=/[\s\.,:;?!]/;function t6(e,{from:t,to:n}){let i=e.state.doc.lineAt(t),r=e.state.doc.lineAt(n).to,s=Math.max(i.from,t-30),o=Math.min(r,n+30),a=e.state.sliceDoc(s,o);if(s!=i.from){for(let h=0;h<30;h++)if(!t9.test(a[h+1])&&t9.test(a[h])){a=a.slice(h);break}}if(o!=r){for(let c=a.length-1;c>a.length-30;c--)if(!t9.test(a[c-1])&&t9.test(a[c])){a=a.slice(0,c);break}}return l.tk.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${i.number}.`)}let t8=l.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),t7=[tL,o.Wl.lowest(tU),t8];var ne=n(34790);class nt{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class nn{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=e,r=n.facet(ny).markerFilter;r&&(i=r(i));let s=l.p.set(i.map(e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from?l.p.widget({widget:new nv(e),diagnostic:e}).range(e.from):l.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity},diagnostic:e}).range(e.from,e.to)),!0);return new nn(s,t,ni(s))}}function ni(e,t=null,n=0){let i=null;return e.between(n,1e9,(e,n,{spec:r})=>{if(!t||r.diagnostic==t)return i=new nt(e,n,r.diagnostic),!1}),i}function nr(e,t){return!!(e.effects.some(e=>e.is(no))||e.changes.touchesRange(t.pos))}function ns(e,t){return e.field(nh,!1)?t:t.concat(o.Py.appendConfig.of([nh,l.tk.decorations.compute([nh],e=>{let{selected:t,panel:n}=e.field(nh);return t&&n&&t.from!=t.to?l.p.set([nc.range(t.from,t.to)]):l.p.none}),(0,l.bF)(nu,{hideOn:nr}),nS]))}let no=o.Py.define(),nl=o.Py.define(),na=o.Py.define(),nh=o.QQ.define({create:()=>new nn(l.p.none,null,null),update(e,t){if(t.docChanged){let n=e.diagnostics.map(t.changes),i=null;if(e.selected){let r=t.changes.mapPos(e.selected.from,1);i=ni(n,e.selected.diagnostic,r)||ni(n,null,r)}e=new nn(n,e.panel,i)}for(let s of t.effects)s.is(no)?e=nn.init(s.value,e.panel,t.state):s.is(nl)?e=new nn(e.diagnostics,s.value?nx.open:null,e.selected):s.is(na)&&(e=new nn(e.diagnostics,e.panel,s.value));return e},provide:e=>[l.mH.from(e,e=>e.panel),l.tk.decorations.from(e,e=>e.diagnostics)]}),nc=l.p.mark({class:"cm-lintRange cm-lintRange-active"});function nu(e,t,n){let{diagnostics:i}=e.state.field(nh),r=[],s=2e8,o=0;i.between(t-(n<0?1:0),t+(n>0?1:0),(e,i,{spec:l})=>{t>=e&&t<=i&&(e==i||(t>e||n>0)&&(t({dom:function(e,t){return to("ul",{class:"cm-tooltip-lint"},t.map(t=>nO(e,t,!1)))}(e,r)})}:null}let nf=e=>{let t=e.state.field(nh,!1);t&&t.panel||e.dispatch({effects:ns(e.state,[nl.of(!0)])});let n=(0,l.Sd)(e,nx.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},nd=e=>{let t=e.state.field(nh,!1);return!!t&&!!t.panel&&(e.dispatch({effects:nl.of(!1)}),!0)},np=e=>{let t=e.state.field(nh,!1);if(!t)return!1;let n=e.state.selection.main,i=t.diagnostics.iter(n.to+1);return(!!i.value||!!(i=t.diagnostics.iter(0)).value&&(i.from!=n.from||i.to!=n.to))&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},nm=[{key:"Mod-Shift-m",run:nf,preventDefault:!0},{key:"F8",run:np}],ng=l.lg.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(ny);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){let e=Date.now();if(ePromise.resolve(e(this.view)))).then(e=>{let n=e.reduce((e,t)=>e.concat(t));this.view.state.doc==t.doc&&this.view.dispatch({effects:ns(this.view.state,[no.of(n)])})},e=>{(0,l.OO)(this.view.state,e)})}}update(e){let t=e.state.facet(ny);(e.docChanged||t!=e.startState.facet(ny))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),ny=o.r$.define({combine:e=>Object.assign({sources:e.map(e=>e.source)},(0,o.BO)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null})),enables:ng});function nk(e){let t=[];if(e)e:for(let{name:n}of e){for(let i=0;ie.toLowerCase()==r.toLowerCase())){t.push(r);continue e}}t.push("")}return t}function nO(e,t,n){var i;let r=n?nk(t.actions):[];return to("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},to("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(i=t.actions)||void 0===i?void 0:i.map((n,i)=>{let s=i=>{i.preventDefault();let r=ni(e.state.field(nh).diagnostics,t);r&&n.apply(e,r.from,r.to)},{name:o}=n,l=r[i]?o.indexOf(r[i]):-1,a=l<0?o:[o.slice(0,l),to("u",o.slice(l,l+1)),o.slice(l+1)];return to("button",{type:"button",class:"cm-diagnosticAction",onclick:s,onmousedown:s,"aria-label":` Action: ${o}${l<0?"":` (access key "${r[i]})"`}.`},a)}),t.source&&to("div",{class:"cm-diagnosticSource"},t.source))}class nv extends l.l9{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return to("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class nb{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=nO(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class nx{constructor(e){this.view=e,this.items=[];let t=t=>{if(27==t.keyCode)nd(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],i=nk(n.actions);for(let r=0;r{for(let t=0;tnd(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(nh).selected;if(!e)return -1;for(let t=0;t{let l=-1,a;for(let h=n;hn&&(this.items.splice(n,l-n),i=!0)),t&&a.diagnostic==t.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),r=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),n++});n({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{e.topt.bottom&&(this.list.scrollTop+=e.bottom-t.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=ni(this.view.state.field(nh).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:na.of(t)})}static open(e){return new nx(e)}}function nw(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}(``,'width="6" height="3"')}let nS=l.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:nw("#d11")},".cm-lintRange-warning":{backgroundImage:nw("orange")},".cm-lintRange-info":{backgroundImage:nw("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});l.SJ;let nP=o.Py.define();var nC=function(e){void 0===e&&(e={});var t,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(ne.GA)),!1!==e.defaultKeymap&&(n=n.concat(tr)),!1!==e.searchKeymap&&(n=n.concat(t5)),!1!==e.historyKeymap&&(n=n.concat(N)),!1!==e.foldKeymap&&(n=n.concat(a.e7)),!1!==e.completionKeymap&&(n=n.concat(ne.B1)),!1!==e.lintKeymap&&(n=n.concat(nm));var i=[];if(!1!==e.lineNumbers&&i.push((0,l.Eu)()),!1!==e.highlightActiveLineGutter&&i.push((0,l.HQ)()),!1!==e.highlightSpecialChars&&i.push((0,l.AE)()),!1!==e.history&&i.push(function(e={}){return[b,v.of(e),l.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?w:"historyRedo"==e.inputType?S:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&i.push((0,a.mi)()),!1!==e.drawSelection&&i.push((0,l.Uw)()),!1!==e.dropCursor&&i.push((0,l.qr)()),!1!==e.allowMultipleSelections&&i.push(o.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&i.push((0,a.nY)()),!1!==e.syntaxHighlighting&&i.push((0,a.nF)(a.R_,{fallback:!0})),!1!==e.bracketMatching&&i.push((0,a.n$)()),!1!==e.closeBrackets&&i.push((0,ne.vQ)()),!1!==e.autocompletion&&i.push((0,ne.ys)()),!1!==e.rectangularSelection&&i.push((0,l.Zs)()),!1!==e.crosshairCursor&&i.push((0,l.S2)()),!1!==e.highlightActiveLine&&i.push((0,l.ZO)()),!1!==e.highlightSelectionMatches){let r;i.push((r=[tA,tC],t&&r.push(tx.of(t)),r))}return e.tabSize&&"number"==typeof e.tabSize&&i.push(a.c.of(" ".repeat(e.tabSize))),i.concat([l.$f.of(n.flat())]).filter(Boolean)},nA=n(35524);let nQ="#e06c75",nT="#abb2bf",nI="#7d8799",nD="#d19a66",nR="#2c313a",nM="#282c34",n$="#353a42",nN="#528bff",nE=l.tk.theme({"&":{color:nT,backgroundColor:nM},".cm-content":{caretColor:nN},".cm-cursor, .cm-dropCursor":{borderLeftColor:nN},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:nT},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847",outline:"1px solid #515a6b"},".cm-gutters":{backgroundColor:nM,color:nI,border:"none"},".cm-activeLineGutter":{backgroundColor:nR},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:n$},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:n$,borderBottomColor:n$},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:nR,color:nT}}},{dark:!0}),nz=a.Qf.define([{tag:nA.pJ.keyword,color:"#c678dd"},{tag:[nA.pJ.name,nA.pJ.deleted,nA.pJ.character,nA.pJ.propertyName,nA.pJ.macroName],color:nQ},{tag:[nA.pJ.function(nA.pJ.variableName),nA.pJ.labelName],color:"#61afef"},{tag:[nA.pJ.color,nA.pJ.constant(nA.pJ.name),nA.pJ.standard(nA.pJ.name)],color:nD},{tag:[nA.pJ.definition(nA.pJ.name),nA.pJ.separator],color:nT},{tag:[nA.pJ.typeName,nA.pJ.className,nA.pJ.number,nA.pJ.changed,nA.pJ.annotation,nA.pJ.modifier,nA.pJ.self,nA.pJ.namespace],color:"#e5c07b"},{tag:[nA.pJ.operator,nA.pJ.operatorKeyword,nA.pJ.url,nA.pJ.escape,nA.pJ.regexp,nA.pJ.link,nA.pJ.special(nA.pJ.string)],color:"#56b6c2"},{tag:[nA.pJ.meta,nA.pJ.comment],color:nI},{tag:nA.pJ.strong,fontWeight:"bold"},{tag:nA.pJ.emphasis,fontStyle:"italic"},{tag:nA.pJ.strikethrough,textDecoration:"line-through"},{tag:nA.pJ.link,color:nI,textDecoration:"underline"},{tag:nA.pJ.heading,fontWeight:"bold",color:nQ},{tag:[nA.pJ.atom,nA.pJ.bool,nA.pJ.special(nA.pJ.variableName)],color:nD},{tag:[nA.pJ.processingInstruction,nA.pJ.string,nA.pJ.inserted],color:"#98c379"},{tag:nA.pJ.invalid,color:"#ffffff"}]),nW=[nE,(0,a.nF)(nz)];var nB=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)}),nJ=n(85893),nL=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],nj=(0,s.forwardRef)((e,t)=>{var{className:n,value:a="",selection:h,extensions:c=[],onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,autoFocus:m,theme:g="light",height:y,minHeight:k,maxHeight:O,width:v,minWidth:b,maxWidth:x,basicSetup:w,placeholder:S,indentWithTab:P,editable:C,readOnly:A,root:Q,initialState:T}=e,I=(0,r.Z)(e,nL),D=(0,s.useRef)(null),{state:R,view:M,container:$,setContainer:N}=function(e){var{value:t,selection:n,onChange:i,onStatistics:r,onCreateEditor:a,onUpdate:h,extensions:c=[],autoFocus:u,theme:f="light",height:d="",minHeight:p="",maxHeight:m="",placeholder:g="",width:y="",minWidth:k="",maxWidth:O="",editable:v=!0,readOnly:b=!1,indentWithTab:x=!0,basicSetup:w=!0,root:S,initialState:P}=e,[C,A]=(0,s.useState)(),[Q,T]=(0,s.useState)(),[I,D]=(0,s.useState)(),R=l.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),M=l.tk.theme({"&":{height:d,minHeight:p,maxHeight:m,width:y,minWidth:k,maxWidth:O}}),$=[l.tk.updateListener.of(e=>{e.docChanged&&"function"==typeof i&&i(e.state.doc.toString(),e),r&&r(nB(e))}),M];switch(x&&$.unshift(l.$f.of([ts])),w&&("boolean"==typeof w?$.unshift(nC()):$.unshift(nC(w))),g&&$.unshift((0,l.W$)(g)),f){case"light":$.push(R);break;case"dark":$.push(nW);break;default:$.push(f)}return!1===v&&$.push(l.tk.editable.of(!1)),b&&$.push(o.yy.readOnly.of(!0)),h&&"function"==typeof h&&$.push(l.tk.updateListener.of(h)),$=$.concat(c),(0,s.useEffect)(()=>{if(C&&!I){var e={doc:t,selection:n,extensions:$},i=P?o.yy.fromJSON(P.json,e,P.fields):o.yy.create(e);if(D(i),!Q){var r=new l.tk({state:i,parent:C,root:S});T(r),a&&a(r,i)}}return()=>{Q&&(D(void 0),T(void 0))}},[C,I]),(0,s.useEffect)(()=>A(e.container),[e.container]),(0,s.useEffect)(()=>()=>{Q&&(Q.destroy(),T(void 0))},[Q]),(0,s.useEffect)(()=>{u&&Q&&Q.focus()},[u,Q]),(0,s.useEffect)(()=>{Q&&Q.dispatch({effects:o.Py.reconfigure.of($)})},[f,c,d,p,m,y,k,O,g,v,b,x,w,i,h]),(0,s.useEffect)(()=>{var e=Q?Q.state.doc.toString():"";Q&&t!==e&&Q.dispatch({changes:{from:0,to:e.length,insert:t||""}})},[t,Q]),{state:I,setState:D,view:Q,setView:T,container:C,setContainer:A}}({container:D.current,root:Q,value:a,autoFocus:m,theme:g,height:y,minHeight:k,maxHeight:O,width:v,minWidth:b,maxWidth:x,basicSetup:w,placeholder:S,indentWithTab:P,editable:C,readOnly:A,selection:h,onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,extensions:c,initialState:T});if((0,s.useImperativeHandle)(t,()=>({editor:D.current,state:R,view:M}),[D,$,R,M]),"string"!=typeof a)throw Error("value must be typeof string but got "+typeof a);return(0,nJ.jsx)("div",(0,i.Z)({ref:D,className:("string"==typeof g?"cm-theme-"+g:"cm-theme")+(n?" "+n:"")},I))});nj.displayName="CodeMirror";var nF=nj},34790:function(e,t,n){n.d(t,{B1:function(){return eP},GA:function(){return eO},Gn:function(){return es},Mb:function(){return a},eC:function(){return h},vQ:function(){return ef},ys:function(){return eS}});var i=n(78120),r=n(47421),s=n(59119);class o{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=(0,s.qz)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),r=i.search(f(e,!1));return r<0?null:{from:n+r,to:this.pos,text:i.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}function l(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function a(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,i]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:i}of e){t[i[0]]=!0;for(let r=1;r{let r=e.matchBefore(i);return r||e.explicit?{from:r?r.from:e.pos,options:t,validFor:n}:null}}function h(e,t){return n=>{for(let i=(0,s.qz)(n.state).resolveInner(n.pos,-1);i;i=i.parent)if(e.indexOf(i.name)>-1)return null;return t(n)}}class c{constructor(e,t,n){this.completion=e,this.source=t,this.match=n}}function u(e){return e.selection.main.head}function f(e,t){var n;let{source:i}=e,r=t&&"^"!=i[0],s="$"!=i[i.length-1];return r||s?RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}let d=i.q6.define();function p(e,t){let n=t.completion.apply||t.completion.label,r=t.source;if("string"==typeof n){var s,o,l;e.dispatch(Object.assign(Object.assign({},(s=e.state,o=r.from,l=r.to,Object.assign(Object.assign({},s.changeByRange(e=>{if(e==s.selection.main)return{changes:{from:o,to:l,insert:n},range:i.jT.cursor(o+n.length)};let t=l-o;return!e.empty||t&&s.sliceDoc(e.from-t,e.from)!=s.sliceDoc(o,l)?{range:e}:{changes:{from:e.from-t,to:e.from,insert:n},range:i.jT.cursor(e.from-t+n.length)}})),{userEvent:"input.complete"}))),{annotations:d.of(t.completion)}))}else n(e,t.completion,r.from,r.to)}let m=new WeakMap;function g(e){if(!Array.isArray(e))return e;let t=m.get(e);return t||m.set(e,t=a(e)),t}class y{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&P<=57||P>=97&&P<=122?2:P>=65&&P<=90?1:0:(C=(0,i.bg)(P))!=C.toLowerCase()?1:C!=C.toUpperCase()?2:0;(!x||1==A&&v||0==S&&0!=A)&&(t[m]==P||n[m]==P&&(g=!0)?o[m++]=x:o.length&&(b=!1)),S=A,x+=(0,i.nZ)(P)}return m==h&&0==o[0]&&b?this.result(-100+(g?-200:0),o,e):y==h&&0==k?[-200-e.length,0,O]:a>-1?[-700-e.length,a,a+this.pattern.length]:y==h?[-900-e.length,k,O]:m==h?this.result(-100+(g?-200:0)+-700+(b?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[e-n.length],s=1;for(let o of t){let l=o+(this.astral?(0,i.nZ)((0,i.gm)(n,o)):1);s>1&&r[s-1]==o?r[s-1]=l:(r[s++]=o,r[s++]=l)}return r}}let k=i.r$.define({combine:e=>(0,i.BO)(e,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,optionClass:(e,t)=>n=>{var i,r;return i=e(n),r=t(n),i?r?i+" "+r:i:r},addToOptions:(e,t)=>e.concat(t)})});function O(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let i=Math.floor(t/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class v{constructor(e,t){let n;this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:e=>this.positionInfo(e),key:this},this.space=null;let i=e.state.field(t),{options:r,selected:s}=i.open,o=e.state.facet(k);this.optionContent=(n=o.addToOptions.slice(),o.icons&&n.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),n.push({render(e,t,n){let i=document.createElement("span");i.className="cm-completionLabel";let{label:r}=e,s=0;for(let o=1;os&&i.appendChild(document.createTextNode(r.slice(s,l)));let h=i.appendChild(document.createElement("span"));h.appendChild(document.createTextNode(r.slice(l,a))),h.className="cm-completionMatchedText",s=a}return se.position-t.position).map(e=>e.render)),this.optionClass=o.optionClass,this.range=O(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",t=>{for(let n=t.target,i;n&&n!=this.dom;n=n.parentNode)if("LI"==n.nodeName&&(i=/-(\d+)$/.exec(n.id))&&+i[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){var t,n,i;let r=e.state.field(this.stateField),s=e.startState.field(this.stateField);r!=s&&(this.updateSel(),(null===(t=r.open)||void 0===t?void 0:t.disabled)!=(null===(n=s.open)||void 0===n?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(null===(i=r.open)||void 0===i?void 0:i.disabled)))}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=O(t.options.length,t.selected,this.view.state.facet(k).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:n}=t.options[t.selected],{info:i}=n;if(!i)return;let s="string"==typeof i?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t)}).catch(e=>(0,r.OO)(this.view.state,e,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){var t,n;let i,r,s=null;for(let o=this.list.firstChild,l=this.range.from;o;o=o.nextSibling,l++)l==e?o.hasAttribute("aria-selected")||(o.setAttribute("aria-selected","true"),s=o):o.hasAttribute("aria-selected")&&o.removeAttribute("aria-selected");return s&&(t=this.list,n=s,i=t.getBoundingClientRect(),(r=n.getBoundingClientRect()).topi.bottom&&(t.scrollTop+=r.bottom-i.bottom)),s}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),s=this.space;if(!s){let o=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}if(i.top>Math.min(s.bottom,t.bottom)-10||i.bottom=n.height||m>t.top?u=i.bottom-t.top+"px":f=t.bottom-i.top+"px"}return{top:u,bottom:f,maxWidth:c,class:h?l?"left-narrow":"right-narrow":a?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,n){let i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let r=n.from;r=this.options.length?this:new x(this.options,P(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,i,r){let s=function(e,t){let n=[],i=0;for(let r of e)if(r.hasResult()){if(!1===r.result.filter){let s=r.result.getMatch;for(let o of r.result.options){let l=[1e9-i++];if(s)for(let a of s(o))l.push(a);n.push(new c(o,r,l))}}else{let h=new y(t.sliceDoc(r.from,r.to)),u;for(let f of r.result.options)(u=h.match(f.label))&&(null!=f.boost&&(u[0]+=f.boost),n.push(new c(f,r,u)))}}let d=[],p=null,m=t.facet(k).compareCompletions;for(let g of n.sort((e,t)=>t.match[0]-e.match[0]||m(e.completion,t.completion)))p&&p.label==g.completion.label&&p.detail==g.completion.detail&&(null==p.type||null==g.completion.type||p.type==g.completion.type)&&p.apply==g.completion.apply?b(g.completion)>b(p)&&(d[d.length-1]=g):d.push(g),p=g.completion;return d}(e,t);if(!s.length)return i&&e.some(e=>1==e.state)?new x(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let o=t.facet(k).selectOnOpen?0:-1;if(i&&i.selected!=o&&-1!=i.selected){let l=i.options[i.selected].completion;for(let a=0;at.hasResult()?Math.min(e,t.from):e,1e8),create:e=>new v(e,$),above:r.aboveCursor},i?i.timestamp:Date.now(),o,!1)}map(e){return new x(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class w{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new w(C,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(k),i=(n.override||t.languageDataAt("autocomplete",u(t)).map(g)).map(t=>(this.active.find(e=>e.source==t)||new Q(t,this.active.some(e=>0!=e.state)?1:0)).update(e,n));i.length==this.active.length&&i.every((e,t)=>e==this.active[t])&&(i=this.active);let r=this.open;for(let s of(e.selection||i.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,i=0;;){for(;n1==e.state)?r=null:r&&e.docChanged&&(r=r.map(e.changes)),!r&&i.every(e=>1!=e.state)&&i.some(e=>e.hasResult())&&(i=i.map(e=>e.hasResult()?new Q(e.source,0):e)),e.effects))s.is(M)&&(r=r&&r.setSelected(s.value,this.id));return i==this.active&&r==this.open?this:new w(i,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:S}}let S={"aria-autocomplete":"list"};function P(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let C=[];function A(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}class Q{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=A(e),i=this;for(let r of(n?i=i.handleUserEvent(e,n,t):e.docChanged?i=i.handleChange(e):e.selection&&0!=i.state&&(i=new Q(i.source,0)),e.effects))if(r.is(I))i=new Q(i.source,1,r.value?u(e.state):-1);else if(r.is(D))i=new Q(i.source,0);else if(r.is(R))for(let s of r.value)s.source==i.source&&(i=s);return i}handleUserEvent(e,t,n){return"delete"!=t&&n.activateOnTyping?new Q(this.source,1):this.map(e.changes)}handleChange(e){return e.changes.touchesRange(u(e.startState))?new Q(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Q(this.source,this.state,e.mapPos(this.explicitPos))}}class T extends Q{constructor(e,t,n,i,r){super(e,2,t),this.result=n,this.from=i,this.to=r}hasResult(){return!0}handleUserEvent(e,t,n){var i;let r=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),l=u(e.state);if((this.explicitPos<0?l<=r:ls||"delete"==t&&u(e.startState)==this.from)return new Q(this.source,"input"==t&&n.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),h;return!function(e,t,n,i){if(!e)return!1;let r=t.sliceDoc(n,i);return"function"==typeof e?e(r,n,i,t):f(e,!0).test(r)}(this.result.validFor,e.state,r,s)?this.result.update&&(h=this.result.update(this.result,r,s,new o(e.state,l,a>=0)))?new T(this.source,a,h,h.from,null!==(i=h.to)&&void 0!==i?i:u(e.state)):new Q(this.source,1,a):new T(this.source,a,this.result,r,s)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Q(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new T(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}let I=i.Py.define(),D=i.Py.define(),R=i.Py.define({map:(e,t)=>e.map(e=>e.map(t))}),M=i.Py.define(),$=i.QQ.define({create:()=>w.start(),update:(e,t)=>e.update(t),provide:e=>[r.hJ.from(e,e=>e.tooltip),r.tk.contentAttributes.from(e,e=>e.attrs)]});function N(e,t="option"){return n=>{let i=n.state.field($,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp-1?i.open.selected+s*(e?1:-1):e?0:l-1;return a<0?a="page"==t?0:l-1:a>=l&&(a="page"==t?l-1:0),n.dispatch({effects:M.of(a)}),!0}}let E=e=>{let t=e.state.field($,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||Date.now()-t.open.timestamp!!e.state.field($,!1)&&(e.dispatch({effects:I.of(!0)}),!0),W=e=>{let t=e.state.field($,!1);return!!(t&&t.active.some(e=>0!=e.state))&&(e.dispatch({effects:D.of(null)}),!0)};class B{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let J=r.lg.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0,e.state.field($).active))1==t.state&&this.startQuery(t)}update(e){let t=e.state.field($);if(!e.selectionSet&&!e.docChanged&&e.startState.field($)==t)return;let n=e.transactions.some(e=>(e.selection||e.docChanged)&&!A(e));for(let i=0;i50&&Date.now()-s.time>1e3){for(let o of s.context.abortListeners)try{o()}catch(l){(0,r.OO)(this.view.state,l)}s.context.abortListeners=null,this.running.splice(i--,1)}else s.updates.push(...e.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=t.active.some(e=>1==e.state&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),50):-1,0!=this.composing)for(let a of e.transactions)"input"==A(a)?this.composing=2:2==this.composing&&a.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:e}=this.view;for(let t of e.field($).active)1!=t.state||this.running.some(e=>e.active.source==t.source)||this.startQuery(t)}startQuery(e){let{state:t}=this.view,n=u(t),i=new o(t,n,e.explicitPos==n),s=new B(e,i);this.running.push(s),Promise.resolve(e.source(i)).then(e=>{s.context.aborted||(s.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:D.of(null)}),(0,r.OO)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),50))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(k);for(let i=0;ie.source==r.active.source);if(l&&1==l.state){if(null==r.done){let a=new Q(r.active.source,0);for(let h of r.updates)a=a.update(h,n);1!=a.state&&t.push(a)}else this.startQuery(l)}}t.length&&this.view.dispatch({effects:R.of(t)})}},{eventHandlers:{blur(){let e=this.view.state.field($,!1);e&&e.tooltip&&this.view.state.facet(k).closeOnBlur&&this.view.dispatch({effects:D.of(null)})},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:I.of(!1)}),20),this.composing=0}}}),L=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class j{constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class F{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,i.gc.TrackDel),n=e.mapPos(this.to,1,i.gc.TrackDel);return null==t||null==n?null:new F(this.field,t,n)}}class _{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],r=e.doc.lineAt(t),o=/^\s*/.exec(r.text)[0];for(let l of this.lines){if(n.length){let a=o,h=/^\t*/.exec(l)[0].length;for(let c=0;cnew F(e.field,i[e.line]+e.from,i[e.line]+e.to));return{text:n,ranges:u}}static parse(e){let t=[],n=[],i=[],r;for(let s of e.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s);){let o=r[1]?+r[1]:null,l=r[2]||r[3]||"",a=-1;for(let h=0;h=a&&u.field++}i.push(new j(a,n.length,r.index,r.index+l.length)),s=s.slice(0,r.index)+l+s.slice(r.index+r[0].length)}for(let f;f=/\\([{}])/.exec(s);)for(let d of(s=s.slice(0,f.index)+f[1]+s.slice(f.index+f[0].length),i))d.line==n.length&&d.from>f.index&&(d.from--,d.to--);n.push(s)}return new _(n,i)}}let U=r.p.widget({widget:new class extends r.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),q=r.p.mark({class:"cm-snippetField"});class X{constructor(e,t){this.ranges=e,this.active=t,this.deco=r.p.set(e.map(e=>(e.from==e.to?U:q).range(e.from,e.to)))}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new X(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let V=i.Py.define({map:(e,t)=>e&&e.map(t)}),G=i.Py.define(),Z=i.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(V))return n.value;if(n.is(G)&&e)return new X(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>r.tk.decorations.from(e,e=>e?e.deco:r.p.none)});function Y(e,t){return i.jT.create(e.filter(e=>e.field==t).map(e=>i.jT.range(e.from,e.to)))}function K(e){return({state:t,dispatch:n})=>{let i=t.field(Z,!1);if(!i||e<0&&0==i.active)return!1;let r=i.active+e,s=e>0&&!i.ranges.some(t=>t.field==r+e);return n(t.update({selection:Y(i.ranges,r),effects:V.of(s?null:new X(i.ranges,r))})),!0}}let H=({state:e,dispatch:t})=>!!e.field(Z,!1)&&(t(e.update({effects:V.of(null)})),!0),ee=K(1),et=K(-1),en=[{key:"Tab",run:ee,shift:et},{key:"Escape",run:H}],ei=i.r$.define({combine:e=>e.length?e[0]:en}),er=i.Wl.highest(r.$f.compute([ei],e=>e.facet(ei)));function es(e,t){let n;return Object.assign(Object.assign({},t),{apply:(n=_.parse(e),(e,t,r,s)=>{let{text:o,ranges:l}=n.instantiate(e.state,r),a={changes:{from:r,to:s,insert:i.xv.of(o)},scrollIntoView:!0};if(l.length&&(a.selection=Y(l,0)),l.length>1){let h=new X(l,0),c=a.effects=[V.of(h)];void 0===e.state.field(Z,!1)&&c.push(i.Py.appendConfig.of([Z,er,eo,L]))}e.dispatch(e.state.update(a))})})}let eo=r.tk.domEventHandlers({mousedown(e,t){let n=t.state.field(Z,!1),i;if(!n||null==(i=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let r=n.ranges.find(e=>e.from<=i&&e.to>=i);return!!r&&r.field!=n.active&&(t.dispatch({selection:Y(n.ranges,r.field),effects:V.of(n.ranges.some(e=>e.field>r.field)?new X(n.ranges,r.field):null)}),!0)}}),el={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ea=i.Py.define({map(e,t){let n=t.mapPos(e,-1,i.gc.TrackAfter);return null==n?void 0:n}}),eh=i.Py.define({map:(e,t)=>t.mapPos(e)}),ec=new class extends i.uU{};ec.startSide=1,ec.endSide=-1;let eu=i.QQ.define({create:()=>i.Xs.empty,update(e,t){if(t.selection){let n=t.state.doc.lineAt(t.selection.main.head).from,r=t.startState.doc.lineAt(t.startState.selection.main.head).from;n!=t.changes.mapPos(r,-1)&&(e=i.Xs.empty)}for(let s of(e=e.map(t.changes),t.effects))s.is(ea)?e=e.update({add:[ec.range(s.value,s.value+1)]}):s.is(eh)&&(e=e.update({filter:e=>e!=s.value}));return e}});function ef(){return[ey,eu]}let ed="()[]{}<>";function ep(e){for(let t=0;t{if((eg?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,i.nZ)((0,i.gm)(r,0))||t!=o.from||n!=o.to)return!1;let l=function(e,t){let n=em(e,e.selection.main.head),r=n.brackets||el.brackets;for(let o of r){let l=ep((0,i.gm)(o,0));if(t==o)return l==o?function(e,t,n,r){let o=r.stringPrefixes||el.stringPrefixes,l=null,a=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:ea.of(r.to+t.length),range:i.jT.range(r.anchor+t.length,r.head+t.length)};let a=r.head,h=eb(e.doc,a),c;if(h==t){if(ex(e,a))return{changes:{insert:t+t,from:a},effects:ea.of(a+t.length),range:i.jT.cursor(a+t.length)};if(ev(e,a)){let u=n&&e.sliceDoc(a,a+3*t.length)==t+t+t;return{range:i.jT.cursor(a+t.length*(u?3:1)),effects:eh.of(a)}}}else if(n&&e.sliceDoc(a-2*t.length,a)==t+t&&(c=ew(e,a-2*t.length,o))>-1&&ex(e,c))return{changes:{insert:t+t+t+t,from:a},effects:ea.of(a+t.length),range:i.jT.cursor(a+t.length)};else if(e.charCategorizer(a)(h)!=i.D0.Word&&ew(e,a,o)>-1&&!function(e,t,n,i){let r=(0,s.qz)(e).resolveInner(t,-1),o=i.reduce((e,t)=>Math.max(e,t.length),0);for(let l=0;l<5;l++){let a=e.sliceDoc(r.from,Math.min(r.to,r.from+n.length+o)),h=a.indexOf(n);if(!h||h>-1&&i.indexOf(a.slice(0,h))>-1){let c=r.firstChild;for(;c&&c.from==r.from&&c.to-c.from>n.length+h;){if(e.sliceDoc(c.to-n.length,c.to)==n)return!1;c=c.firstChild}return!0}let u=r.to==t&&r.parent;if(!u)break;r=u}return!1}(e,a,t,o))return{changes:{insert:t+t,from:a},effects:ea.of(a+t.length),range:i.jT.cursor(a+t.length)};return{range:l=r}});return l?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,r.indexOf(o+o+o)>-1,n):function(e,t,n,r){let s=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:ea.of(o.to+t.length),range:i.jT.range(o.anchor+t.length,o.head+t.length)};let l=eb(e.doc,o.head);return!l||/\s/.test(l)||r.indexOf(l)>-1?{changes:{insert:t+n,from:o.head},effects:ea.of(o.head+t.length),range:i.jT.cursor(o.head+t.length)}:{range:s=o}});return s?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,l,n.before||el.before);if(t==l&&ev(e,e.selection.main.from))return function(e,t,n){let r=null,s=e.selection.ranges.map(t=>t.empty&&eb(e.doc,t.head)==n?i.jT.cursor(t.head+n.length):r=t);return r?null:e.update({selection:i.jT.create(s,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map(({from:e})=>eh.of(e))})}(e,0,l)}return null}(e.state,r);return!!l&&(e.dispatch(l),!0)}),ek=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=em(e,e.selection.main.head).brackets||el.brackets,r=null,s=e.changeByRange(t=>{if(t.empty){var s,o;let l;let a=(s=e.doc,o=t.head,l=s.sliceString(o-2,o),(0,i.nZ)((0,i.gm)(l,0))==l.length?l:l.slice(1));for(let h of n)if(h==a&&eb(e.doc,t.head)==ep((0,i.gm)(h,0)))return{changes:{from:t.head-h.length,to:t.head+h.length},range:i.jT.cursor(t.head-h.length)}}return{range:r=t}});return r||t(e.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},eO=[{key:"Backspace",run:ek}];function ev(e,t){let n=!1;return e.field(eu).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function eb(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,i.nZ)((0,i.gm)(n,0)))}function ex(e,t){let n=(0,s.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function ew(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=i.D0.Word)return t;for(let s of n){let o=t-s.length;if(e.sliceDoc(o,t)==s&&r(e.sliceDoc(o-1,o))!=i.D0.Word)return o}return -1}function eS(e={}){return[$,k.of(e),J,eC,L]}let eP=[{key:"Ctrl-Space",run:z},{key:"Escape",run:W},{key:"ArrowDown",run:N(!0)},{key:"ArrowUp",run:N(!1)},{key:"PageDown",run:N(!0,"page")},{key:"PageUp",run:N(!1,"page")},{key:"Enter",run:E}],eC=i.Wl.highest(r.$f.computeN([k],e=>e.facet(k).defaultKeymap?[eP]:[]))},61426:function(e,t,n){n.r(t),n.d(t,{css:function(){return S},cssCompletionSource:function(){return x},cssLanguage:function(){return w}});var i=n(53105),r=n(35524);let s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function o(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}let l=new i.Jq((e,t)=>{for(let n=!1,i=0,r=0;;r++){var s;let{next:l}=e;if(o(l)||45==l||95==l||n&&(s=l)>=48&&s<=57)!n&&(45!=l||r>0)&&(n=!0),i===r&&45==l&&i++,e.advance();else{n&&e.acceptToken(40==l?96:2==i&&t.canShift(2)?2:97);break}}}),a=new i.Jq(e=>{if(s.includes(e.peek(-1))){let{next:t}=e;(o(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(95)}}),h=new i.Jq(e=>{if(!s.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),o(t)){do e.advance();while(o(e.next));e.acceptToken(1)}}}),c=(0,r.Gv)({"AtKeyword import charset namespace keyframes media supports":r.pJ.definitionKeyword,"from to selector":r.pJ.keyword,NamespaceName:r.pJ.namespace,KeyframeName:r.pJ.labelName,TagName:r.pJ.tagName,ClassName:r.pJ.className,PseudoClassName:r.pJ.constant(r.pJ.className),IdName:r.pJ.labelName,"FeatureName PropertyName":r.pJ.propertyName,AttributeName:r.pJ.attributeName,NumberLiteral:r.pJ.number,KeywordQuery:r.pJ.keyword,UnaryQueryOp:r.pJ.operatorKeyword,"CallTag ValueName":r.pJ.atom,VariableName:r.pJ.variableName,Callee:r.pJ.operatorKeyword,Unit:r.pJ.unit,"UniversalSelector NestingSelector":r.pJ.definitionOperator,MatchOp:r.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":r.pJ.logicOperator,BinOp:r.pJ.arithmeticOperator,Important:r.pJ.modifier,Comment:r.pJ.blockComment,ParenthesizedContent:r.pJ.special(r.pJ.name),ColorLiteral:r.pJ.color,StringLiteral:r.pJ.string,":":r.pJ.punctuation,"PseudoOp #":r.pJ.derefOperator,"; ,":r.pJ.separator,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace}),u={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},f={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},d={__proto__:null,not:128,only:128,from:158,to:160},p=i.WQ.deserialize({version:14,states:"8SQYQ[OOO!ZQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!cQ[O'#CfO#VQXO'#CaO#^Q[O'#ChO#iQ[O'#DPO#nQ[O'#DTOOQP'#Ee'#EeO#sQdO'#DeO$_Q[O'#DrO#sQdO'#DtO$pQ[O'#DvO${Q[O'#DyO%QQ[O'#EPO%`Q[O'#EROOQS'#Ed'#EdOOQS'#ET'#ETQYQ[OOOOQO'#Db'#DbO%gQWO'#DaQ%lQWOOOOQP'#Cg'#CgOOQP,59Q,59QO!cQ[O,59QO%qQ[O'#EWO&]QWO,58{O&eQ[O,59SO#iQ[O,59kO#nQ[O,59oO%qQ[O,59sO%qQ[O,59uO%qQ[O,59vO'tQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO'{QWO,59SO(QQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO(VQ`O,59oOOQS'#Cp'#CpO#sQdO'#CqO(_QvO'#CsO)lQtO,5:POOQO'#Cx'#CxO(QQWO'#CwO*QQWO'#CyOOQS'#Eh'#EhOOQO'#Dh'#DhO*VQ[O'#DoO*eQWO'#EkO%QQ[O'#DmO*sQWO'#DpOOQO'#El'#ElO&`QWO,5:^O*xQpO,5:`OOQS'#Dx'#DxO+QQWO,5:bO+VQ[O,5:bOOQO'#D{'#D{O+_QWO,5:eO+dQWO,5:kO+lQWO,5:mOOQS-E8R-E8RO#sQdO,59{O+tQ[O'#E]Q%lQWOOOOQP1G.l1G.lO,nQXO,5:rOOQO-E8U-E8UOOQS1G.g1G.gOOQP1G.n1G.nO'{QWO1G.nO(QQWO1G.nOOQP1G/V1G/VO,{Q`O1G/ZO-fQXO1G/_O-|QXO1G/aO.dQXO1G/bO.zQXO'#CdOOQS,59z,59zO/oQWO,59zO/wQ[O,59zO0OQ[O'#DOO0VQdO'#CoOOQP1G/Z1G/ZO#sQdO1G/ZO0^QpO,59]OOQS,59_,59_O#sQdO,59aO0fQWO1G/kOOQS,59c,59cO0kQ!bO,59eO0sQWO'#DhO1OQWO,5:TO1TQWO,5:ZO%QQ[O,5:VO%QQ[O'#EZO1]QWO,5;VO1hQWO,5:XO%qQ[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O1yQWO1G/|O2OQdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO2^QtO1G/gOOQO,5:w,5:wOOQO-E8Z-E8ZOOQP7+$Y7+$YOOQP7+$u7+$uO#sQdO7+$uO2tQ[O'#EYO3OQWO1G/fOOQS1G/f1G/fO3OQWO1G/fO3WQXO'#EjO3_QWO,59jO3dQtO'#EUO4XQdO'#EgO4cQWO,59ZO4hQpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO4pQWO1G/PO#sQdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO4uQWO,5:uOOQO-E8X-E8XO5TQXO1G/vOOQS7+%h7+%hO5[QYO'#CsO&`QWO'#E[O5dQdO,5:hOOQS,5:h,5:hO5rQtO'#EXO#sQdO'#EXO6pQdO7+%ROOQO7+%R7+%RO7TQpO<T![;'S%^;'S;=`%o<%lO%^^;TUoWOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^^;nYoW#]UOy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^^[[oW#]UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^_?VSpVOy%^z;'S%^;'S;=`%o<%lO%^^?hWjSOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^_@VU#YPOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjSOy%^z{@}{;'S%^;'S;=`%o<%lO%^~ASUoWOy@}yzAfz{Bm{;'S@};'S;=`Co<%lO@}~AiTOzAfz{Ax{;'SAf;'S;=`Bg<%lOAf~A{VOzAfz{Ax{!PAf!P!QBb!Q;'SAf;'S;=`Bg<%lOAf~BgOR~~BjP;=`<%lAf~BrWoWOy@}yzAfz{Bm{!P@}!P!QC[!Q;'S@};'S;=`Co<%lO@}~CcSoWR~Oy%^z;'S%^;'S;=`%o<%lO%^~CrP;=`<%l@}^Cz[#]UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^XDuU]POy%^z![%^![!]EX!];'S%^;'S;=`%o<%lO%^XE`S^PoWOy%^z;'S%^;'S;=`%o<%lO%^_EqS!WVOy%^z;'S%^;'S;=`%o<%lO%^YFSSzQOy%^z;'S%^;'S;=`%o<%lO%^XFeU|POy%^z!`%^!`!aFw!a;'S%^;'S;=`%o<%lO%^XGOS|PoWOy%^z;'S%^;'S;=`%o<%lO%^XG_WOy%^z!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHO[!YPoWOy%^z}%^}!OGw!O!Q%^!Q![Gw![!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHySxPOy%^z;'S%^;'S;=`%o<%lO%^^I[SvUOy%^z;'S%^;'S;=`%o<%lO%^XIkUOy%^z#b%^#b#cI}#c;'S%^;'S;=`%o<%lO%^XJSUoWOy%^z#W%^#W#XJf#X;'S%^;'S;=`%o<%lO%^XJmS!`PoWOy%^z;'S%^;'S;=`%o<%lO%^XJ|UOy%^z#f%^#f#gJf#g;'S%^;'S;=`%o<%lO%^XKeS!RPOy%^z;'S%^;'S;=`%o<%lO%^_KvS!QVOy%^z;'S%^;'S;=`%o<%lO%^ZLXU!PPOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^WLnP;=`<%l$}",tokenizers:[a,h,l,0,1,2,3],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:96,get:e=>u[e]||-1},{term:56,get:e=>f[e]||-1},{term:97,get:e=>d[e]||-1}],tokenPrec:1120});var m=n(59119);let g=null;function y(){if(!g&&"object"==typeof document&&document.body){let e=[];for(let t in document.body.style)/[A-Z]|^-|^(item|length)$/.test(t)||e.push(t);g=e.sort().map(e=>({type:"property",label:e}))}return g||[]}let k=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),O=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),v=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),b=/^[\w-]*/,x=e=>{let{state:t,pos:n}=e,i=(0,m.qz)(t).resolveInner(n,-1);if("PropertyName"==i.name)return{from:i.from,options:y(),validFor:b};if("ValueName"==i.name)return{from:i.from,options:O,validFor:b};if("PseudoClassName"==i.name)return{from:i.from,options:k,validFor:b};if("TagName"==i.name){for(let{parent:r}=i;r;r=r.parent)if("Block"==r.name)return{from:i.from,options:y(),validFor:b};return{from:i.from,options:v,validFor:b}}if(!e.explicit)return null;let s=i.resolve(n),o=s.childBefore(n);return o&&":"==o.name&&"PseudoClassSelector"==s.name?{from:n,options:k,validFor:b}:o&&":"==o.name&&"Declaration"==s.name||"ArgList"==s.name?{from:n,options:O,validFor:b}:"Block"==s.name?{from:n,options:y(),validFor:b}:null},w=m.qp.define({name:"css",parser:p.configure({props:[m.uj.add({Declaration:(0,m.tC)()}),m.x0.add({Block:m.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function S(){return new m.ri(w,w.data.of({autocomplete:x}))}},59119:function(e,t,n){n.d(t,{Be:function(){return y},Dv:function(){return F},Gn:function(){return D},K0:function(){return I},Qf:function(){return ef},R_:function(){return ek},SQ:function(){return u},SS:function(){return T},Um:function(){return eT},c:function(){return A},c6:function(){return P},e7:function(){return ei},il:function(){return eM},kU:function(){return c},mi:function(){return ec},n$:function(){return eA},nF:function(){return eg},nY:function(){return J},pp:function(){return h},qp:function(){return d},qz:function(){return p},ri:function(){return S},tC:function(){return B},uj:function(){return R},vw:function(){return E},x0:function(){return j},y1:function(){return Q},ze:function(){return W}});var i,r=n(41113),s=n(78120),o=n(47421),l=n(35524),a=n(28699);let h=new r.md;function c(e){return s.r$.define({combine:e?t=>t.concat(e):void 0})}class u{constructor(e,t,n=[],i=""){this.data=e,this.name=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return p(this)}}),this.parser=t,this.extension=[w.of(this),s.yy.languageData.of((e,t,n)=>e.facet(f(e,t,n)))].concat(n)}isActiveAt(e,t,n=-1){return f(e,t,n)==this.data}findRegions(e){let t=e.facet(w);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(e,t)=>{if(e.prop(h)==this.data){n.push({from:t,to:t+e.length});return}let s=e.prop(r.md.mounted);if(s){if(s.tree.prop(h)==this.data){if(s.overlay)for(let o of s.overlay)n.push({from:o.from+t,to:o.to+t});else n.push({from:t,to:t+e.length});return}if(s.overlay){let l=n.length;if(i(s.tree,s.overlay[0].from+t),n.length>l)return}}for(let a=0;ae.isTop?t:void 0)]}),e.name)}configure(e,t){return new d(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function p(e){let t=e.field(u.state,!1);return t?t.tree:r.mp.empty}class m{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let g=null;class y{constructor(e,t,n=[],i,r,s,o,l){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new y(e,t,[],r.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new m(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=r.mp.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=g;g=this;try{return e()}finally{g=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=k(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((e,t,n,i)=>a.push({fromA:e,toA:t,fromB:n,toB:i})),n=r.i9.applyChanges(n,a),i=r.mp.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length)for(let h of(l=[],this.skipped)){let c=e.mapPos(h.from,1),u=e.mapPos(h.to,-1);ce.from&&(this.fragments=k(this.fragments,i,r),this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends r._b{createParse(t,n,i){let s=i[0].from,o=i[i.length-1].to;return{parsedPos:s,advance(){let t=g;if(t){for(let n of i)t.tempSkipped.push(n);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new r.mp(r.Jq.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return g}}function k(e,t,n){return r.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class O{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new O(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=y.create(e.facet(w).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new O(n)}}u.state=s.QQ.define({create:O.init,update(e,t){for(let n of t.effects)if(n.is(u.setState))return n.value;return t.startState.facet(w)!=t.state.facet(w)?O.init(t.state):e.apply(t)}});let v=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(v=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let b="undefined"!=typeof navigator&&(null===(i=navigator.scheduling)||void 0===i?void 0:i.isInputPending)?()=>navigator.scheduling.isInputPending():null,x=o.lg.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(u.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(u.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=v(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndi+1e3,l=r.context.work(()=>b&&b()||Date.now()>s,i+(o?0:1e5));this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:u.setState.of(new O(r.context))})),this.chunkBudget>0&&!(l&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,o.OO)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),w=s.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[u.state,x,o.tk.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class S{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class P{constructor(e,t,n,i,r,s){this.name=e,this.alias=t,this.extensions=n,this.filename=i,this.loadFunc=r,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new P(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let i=/\.([^.]+)$/.exec(t);if(i){for(let r of e)if(r.extensions.indexOf(i[1])>-1)return r}return null}static matchLanguageName(e,t,n=!0){for(let i of(t=t.toLowerCase(),e))if(i.alias.some(e=>e==t))return i;if(n)for(let r of e)for(let s of r.alias){let o=t.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(t[o-1])&&!/\w/.test(t[o+s.length])))return r}return null}}let C=s.r$.define(),A=s.r$.define({combine(e){if(!e.length)return" ";if(!/^(?: +|\t+)$/.test(e[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return e[0]}});function Q(e){let t=e.facet(A);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function T(e,t){let n="",i=e.tabSize;if(9==e.facet(A).charCodeAt(0))for(;t>=i;)n+=" ",t-=i;for(let r=0;r=n.from&&i<=n.to?r&&i==e?{text:"",from:e}:(t<0?i-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(e,t=e.length){return(0,s.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let s=r(i);if(s>-1)return s}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let R=new r.md;function M(e,t,n){for(;e;e=e.parent){let i=function(e){let t=e.type.prop(R);if(t)return t;let n=e.firstChild,i;if(n&&(i=n.type.prop(r.md.closedBy))){let s=e.lastChild,o=s&&i.indexOf(s.name)>-1;return e=>z(e,!0,1,void 0,o&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?s.from:void 0)}return null==e.parent?$:null}(e);if(i)return i(N.create(n,t,e))}return null}function $(){return 0}class N extends D{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new N(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let t=this.node.resolve(e.from);for(;t.parent&&t.parent.from==t.from;)t=t.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?M(e,this.pos,this.base):0}}function E({closing:e,align:t=!0,units:n=1}){return i=>z(i,t,n,e)}function z(e,t,n,i,r){let s=e.textAfter,o=s.match(/^\s*/)[0].length,l=i&&s.slice(o,o+i.length)==i||r==e.pos+o,a=t?function(e){let t=e.node,n=t.childAfter(t.from),i=t.lastChild;if(!n)return null;let r=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let l=n.to;;){let a=t.childAfter(l);if(!a||a==i)return null;if(!a.type.isSkipped)return a.frome.baseIndent;function B({except:e,units:t=1}={}){return n=>{let i=e&&e.test(n.textAfter);return n.baseIndent+(i?0:t*n.unit)}}function J(){return s.yy.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:i}=e.newSelection.main,r=n.lineAt(i);if(i>r.from+200)return e;let s=n.sliceString(r.from,i);if(!t.some(e=>e.test(s)))return e;let{state:o}=e,l=-1,a=[];for(let{head:h}of o.selection.ranges){let c=o.doc.lineAt(h);if(c.from==l)continue;l=c.from;let u=I(o,c.from);if(null==u)continue;let f=/^\s*/.exec(c.text)[0],d=T(o,u);f!=d&&a.push({from:c.from,to:c.from+f.length,insert:d})}return a.length?[e,{changes:a,sequential:!0}]:e})}let L=s.r$.define(),j=new r.md;function F(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(s&&o.from=t&&a.to>n&&(s=a)}}return s}(e,t,n)}function U(e,t){let n=t.mapPos(e.from,1),i=t.mapPos(e.to,-1);return n>=i?void 0:{from:n,to:i}}let q=s.Py.define({map:U}),X=s.Py.define({map:U});function V(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let G=s.QQ.define({create:()=>o.p.none,update(e,t){for(let n of(e=e.map(t.changes),t.effects))n.is(q)&&!function(e,t,n){let i=!1;return e.between(t,t,(e,r)=>{e==t&&r==n&&(i=!0)}),i}(e,n.value.from,n.value.to)?e=e.update({add:[el.range(n.value.from,n.value.to)]}):n.is(X)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let i=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{er&&(i=!0)}),i&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>o.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!r||r.from>e)&&(r={from:e,to:t})}),r}function Y(e,t){return e.field(G,!1)?t:t.concat(s.Py.appendConfig.of(eo()))}let K=e=>{for(let t of V(e)){let n=_(e.state,t.from,t.to);if(n)return e.dispatch({effects:Y(e.state,[q.of(n),ee(e,n)])}),!0}return!1},H=e=>{if(!e.state.field(G,!1))return!1;let t=[];for(let n of V(e)){let i=Z(e.state,n.from,n.to);i&&t.push(X.of(i),ee(e,i,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function ee(e,t,n=!0){let i=e.state.doc.lineAt(t.from).number,r=e.state.doc.lineAt(t.to).number;return o.tk.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${e.state.phrase("to")} ${r}.`)}let et=e=>{let{state:t}=e,n=[];for(let i=0;i{let t=e.state.field(G,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(X.of({from:e,to:t}))}),e.dispatch({effects:n}),!0},ei=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:K},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:H},{key:"Ctrl-Alt-[",run:et},{key:"Ctrl-Alt-]",run:en}],er={placeholderDOM:null,placeholderText:"…"},es=s.r$.define({combine:e=>(0,s.BO)(e,er)});function eo(e){let t=[G,eu];return e&&t.push(es.of(e)),t}let el=o.p.replace({widget:new class extends o.l9{toDOM(e){let{state:t}=e,n=t.facet(es),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),i=Z(e.state,n.from,n.to);i&&e.dispatch({effects:X.of(i)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,i);let r=document.createElement("span");return r.textContent=n.placeholderText,r.setAttribute("aria-label",t.phrase("folded code")),r.title=t.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),ea={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class eh extends o.SJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function ec(e={}){let t=Object.assign(Object.assign({},ea),e),n=new eh(t,!0),i=new eh(t,!1),r=o.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(w)!=e.state.facet(w)||e.startState.field(G,!1)!=e.state.field(G,!1)||p(e.startState)!=p(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new s.f_;for(let r of e.viewportLineBlocks){let o=Z(e.state,r.from,r.to)?i:_(e.state,r.from,r.to)?n:null;o&&t.add(r.from,r.from,o)}return t.finish()}}),{domEventHandlers:l}=t;return[r,(0,o.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.markers)||s.Xs.empty},initialSpacer:()=>new eh(t,!1),domEventHandlers:Object.assign(Object.assign({},l),{click(e,t,n){if(l.click&&l.click(e,t,n))return!0;let i=Z(e.state,t.from,t.to);if(i)return e.dispatch({effects:X.of(i)}),!0;let r=_(e.state,t.from,t.to);return!!r&&(e.dispatch({effects:q.of(r)}),!0)}})}),eo()]}let eu=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ef{constructor(e,t){let n;function i(e){let t=a.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let r="string"==typeof t.all?t.all:t.all?i(t.all):void 0,s=t.scope;this.scope=s instanceof u?e=>e.prop(h)==s.data:s?e=>e==s:void 0,this.style=(0,l.QR)(e.map(e=>({tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))})),{all:r}).style,this.module=n?new a.V(n):null,this.themeType=t.themeType}static define(e,t){return new ef(e,t||{})}}let ed=s.r$.define(),ep=s.r$.define({combine:e=>e.length?[e[0]]:null});function em(e){let t=e.facet(ed);return t.length?t:e.facet(ep)}function eg(e,t){let n=[ey],i;return e instanceof ef&&(e.module&&n.push(o.tk.styleModule.of(e.module)),i=e.themeType),(null==t?void 0:t.fallback)?n.push(ep.of(e)):i?n.push(ed.computeN([o.tk.darkTheme],t=>t.facet(o.tk.darkTheme)==("dark"==i)?[e]:[])):n.push(ed.of(e)),n}let ey=s.Wl.high(o.lg.fromClass(class{constructor(e){this.markCache=Object.create(null),this.tree=p(e.state),this.decorations=this.buildDeco(e,em(e.state))}update(e){let t=p(e.state),n=em(e.state),i=n!=em(e.startState);t.length{n.add(e,t,this.markCache[i]||(this.markCache[i]=o.p.mark({class:i})))},i,r);return n.finish()}},{decorations:e=>e.decorations})),ek=ef.define([{tag:l.pJ.meta,color:"#7a757a"},{tag:l.pJ.link,textDecoration:"underline"},{tag:l.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:l.pJ.emphasis,fontStyle:"italic"},{tag:l.pJ.strong,fontWeight:"bold"},{tag:l.pJ.strikethrough,textDecoration:"line-through"},{tag:l.pJ.keyword,color:"#708"},{tag:[l.pJ.atom,l.pJ.bool,l.pJ.url,l.pJ.contentSeparator,l.pJ.labelName],color:"#219"},{tag:[l.pJ.literal,l.pJ.inserted],color:"#164"},{tag:[l.pJ.string,l.pJ.deleted],color:"#a11"},{tag:[l.pJ.regexp,l.pJ.escape,l.pJ.special(l.pJ.string)],color:"#e40"},{tag:l.pJ.definition(l.pJ.variableName),color:"#00f"},{tag:l.pJ.local(l.pJ.variableName),color:"#30a"},{tag:[l.pJ.typeName,l.pJ.namespace],color:"#085"},{tag:l.pJ.className,color:"#167"},{tag:[l.pJ.special(l.pJ.variableName),l.pJ.macroName],color:"#256"},{tag:l.pJ.definition(l.pJ.propertyName),color:"#00c"},{tag:l.pJ.comment,color:"#940"},{tag:l.pJ.invalid,color:"#f00"}]),eO=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ev="()[]{}",eb=s.r$.define({combine:e=>(0,s.BO)(e,{afterCursor:!0,brackets:ev,maxScanDistance:1e4,renderMatch:eS})}),ex=o.p.mark({class:"cm-matchingBracket"}),ew=o.p.mark({class:"cm-nonmatchingBracket"});function eS(e){let t=[],n=e.matched?ex:ew;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}let eP=s.QQ.define({create:()=>o.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],i=t.state.facet(eb);for(let r of t.state.selection.ranges){if(!r.empty)continue;let s=eT(t.state,r.head,-1,i)||r.head>0&&eT(t.state,r.head-1,1,i)||i.afterCursor&&(eT(t.state,r.head,1,i)||r.heado.tk.decorations.from(e)}),eC=[eP,eO];function eA(e={}){return[eb.of(e),eC]}function eQ(e,t,n){let i=e.prop(t<0?r.md.openedBy:r.md.closedBy);if(i)return i;if(1==e.name.length){let s=n.indexOf(e.name);if(s>-1&&s%2==(t<0?1:0))return[n[s+t]]}return null}function eT(e,t,n,i={}){let r=i.maxScanDistance||1e4,s=i.brackets||ev,o=p(e),l=o.resolveInner(t,n);for(let a=l;a;a=a.parent){let h=eQ(a.type,n,s);if(h&&a.from=i.to){if(0==a&&r.indexOf(h.type.name)>-1&&h.from0)return null;let h={from:n<0?t-1:t,to:n>0?t+1:t},c=e.doc.iterRange(t,n>0?e.doc.length:0),u=0;for(let f=0;!c.next().done&&f<=s;){let d=c.value;n<0&&(f+=d.length);let p=t+f*n;for(let m=n>0?0:d.length-1,g=n>0?d.length:-1;m!=g;m+=n){let y=o.indexOf(d[m]);if(!(y<0)&&i.resolveInner(p+m,1).type==r){if(y%2==0==n>0)u++;else{if(1==u)return{start:h,end:{from:p+m,to:p+m+1},matched:y>>1==a>>1};u--}}}n>0&&(f+=d.length)}return c.done?{start:h,matched:!1}:null}(e,t,n,o,l.type,r,s)}function eI(e,t,n,i=0,r=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let s=r;for(let o=i;o=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.post}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?e.toLowerCase():e;return i(this.string.substr(this.pos,e.length))==i(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function eR(e){if("object"!=typeof e)return e;let t={};for(let n in e){let i=e[n];t[n]=i instanceof Array?i.slice():i}return t}class eM extends u{constructor(e){let t,n=c(e.languageData),i={name:e.name||"",token:e.token,blankLine:e.blankLine||(()=>{}),startState:e.startState||(()=>!0),copyState:e.copyState||eR,indent:e.indent||(()=>null),languageData:e.languageData||{},tokenTable:e.tokenTable||ez},s;super(n,new class extends r._b{createParse(e,t,n){return new eN(s,e,t,n)}},[C.of((e,t)=>this.getIndent(e,t))],e.name),this.topNode=(t=r.Jq.define({id:eW.length,name:"Document",props:[h.add(()=>n)]}),eW.push(t),t),s=this,this.streamParser=i,this.stateAfter=new r.md({perNode:!0}),this.tokenTable=e.tokenTable?new e_(i.tokenTable):eU}static define(e){return new eM(e)}getIndent(e,t){let n=p(e.state),i=n.resolve(t);for(;i&&i.type!=this.topNode;)i=i.parent;if(!i)return null;let r=e$(this,n,0,i.from,t),s,o;if(r?(o=r.state,s=r.pos+1):(o=this.streamParser.startState(e.unit),s=0),t-s>1e4)return null;for(;s=i&&n+t.length<=s&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:n+t.length};for(let l=t.children.length-1;l>=0;l--){let a=t.children[l],h=n+t.positions[l],c=a instanceof r.mp&&hn&&e$(e,s.tree,0-s.offset,n,l),h;if(a&&(h=function e(t,n,i,s,o){if(o&&i<=0&&s>=n.length)return n;o||n.type!=t.topNode||(o=!0);for(let l=n.children.length-1;l>=0;l--){let a=n.positions[l],h=n.children[l],c;if(a=t)?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let n=t.indexOf("\n");n>-1&&(t=t.slice(0,n))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let i=this.rangeIndex;;){let r=this.ranges[i].to;if(r>=n||(t=t.slice(0,r-(n-t.length)),++i==this.ranges.length))break;let s=this.ranges[i].from,o=this.lineAfter(s);t+=o,n=s+o.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let i=this.ranges[this.rangeIndex].to,r=e+t;if(n>0?i>r:i>=r)break;t+=this.ranges[++this.rangeIndex].from-i}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(t,r,1),t+=r;let s=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,i+=this.chunk.length-s}return this.chunk.push(e,t,n,i),r}parseLine(e){let{line:t,end:n}=this.nextLine(),i=0,{streamParser:r}=this.lang,s=new eD(t,e?e.state.tabSize:4,e?Q(e.state):2);if(s.eol())r.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let o=eE(r.token,s,this.state);if(o&&(i=this.emitToken(this.lang.tokenTable.resolve(o),this.parsedPos+s.start,this.parsedPos+s.pos,4,i)),s.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPost.start)return r}throw Error("Stream parser failed to advance stream.")}let ez=Object.create(null),eW=[r.Jq.none],eB=new r.Lj(eW),eJ=[],eL=Object.create(null);for(let[ej,eF]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eL[ej]=eX(ez,eF);class e_{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),eL)}resolve(e){return e?this.table[e]||(this.table[e]=eX(this.extra,e)):0}}let eU=new e_(ez);function eq(e,t){eJ.indexOf(e)>-1||(eJ.push(e),console.warn(t))}function eX(e,t){let n=null;for(let i of t.split(".")){let s=e[i]||l.pJ[i];s?"function"==typeof s?n?n=s(n):eq(i,`Modifier ${i} used at start of tag`):n?eq(i,`Tag ${i} used as modifier`):n=s:eq(i,`Unknown highlighting tag ${i}`)}if(!n)return 0;let o=t.replace(/ /g,"_"),a=r.Jq.define({id:eW.length,name:o,props:[(0,l.Gv)({[o]:n})]});return eW.push(a),a.id}},78120:function(e,t,n){let i;n.d(t,{BO:function(){return eb},D0:function(){return ey},Gz:function(){return eB},IS:function(){return eW},Py:function(){return eu},QQ:function(){return U},Wl:function(){return V},Xs:function(){return eC},YW:function(){return ef},as:function(){return Q},bg:function(){return b},cp:function(){return m},f_:function(){return eA},gc:function(){return C},gm:function(){return v},jT:function(){return E},n0:function(){return A},nZ:function(){return x},q6:function(){return ea},r$:function(){return B},uU:function(){return ex},xv:function(){return r},yy:function(){return ev}});class r{constructor(){}lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),o.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),o.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new a(this),r=new a(e);for(let s=t,o=t;;){if(i.next(s),r.next(s),s=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(o+=i.value.length,i.done||o>=n)return!0}}iter(e=1){return new a(this,e)}iterRange(e,t=this.length){return new h(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new c(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new s(e):o.from(s.split(e,[])):r.empty}}class s extends r{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((t?n:o)>=e)return new u(i,o,n,s);i=o+1,n++}}decompose(e,t,n,i){let r=e<=0&&t>=this.length?this:new s(l(this.text,[""],e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){let o=n.pop(),a=l(r.text,o.text.slice(),0,r.length);if(a.length<=32)n.push(new s(a,o.length+r.length));else{let h=a.length>>1;n.push(new s(a.slice(0,h)),new s(a.slice(h)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof s))return super.replace(e,t,n);let i=l(this.text,l(n.text,l(this.text,[""],0,e)),t),r=this.length+n.length-(t-e);return i.length<=32?new s(i,r):o.from(s.split(i,[]),r)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;r<=t&&se&&s&&(i+=n),er&&(i+=o.slice(Math.max(0,e-r),t-r)),r=l+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let r of e)n.push(r),i+=r.length+1,32==n.length&&(t.push(new s(n,i)),n=[],i=-1);return i>-1&&t.push(new s(n,i)),t}}class o extends r{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,l=n+s.lines-1;if((t?l:o)>=e)return s.lineInner(e,t,n,i);i=o+1,n=l+1}}decompose(e,t,n,i){for(let r=0,s=0;s<=t&&r=s){let a=i&((s<=e?1:0)|(l>=t?2:0));s>=e&&l<=t&&!a?n.push(o):o.decompose(e-s,t-s,n,a)}s=l+1}}replace(e,t,n){if(n.lines=r&&t<=l){let a=s.replace(e-r,t-r,n),h=this.lines-s.lines+a.lines;if(a.lines>4&&a.lines>h>>6){let c=this.children.slice();return c[i]=a,new o(c,this.length-(t-e)+n.length)}return super.replace(r,l,a)}r=l+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;re&&r&&(i+=n),es&&(i+=o.sliceString(e-s,t-s,n)),s=l+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof o))return 0;let n=0,[i,r,s,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,r+=t){if(i==s||r==l)return n;let a=this.children[i],h=e.children[r];if(a!=h)return n+a.scanIdentical(h,t);n+=a.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let i of e)n+=i.lines;if(n<32){let r=[];for(let l of e)l.flatten(r);return new s(r,t)}let a=Math.max(32,n>>5),h=a<<1,c=a>>1,u=[],f=0,d=-1,p=[];function m(){0!=f&&(u.push(1==p.length?p[0]:o.from(p,d)),d=-1,f=p.length=0)}for(let g of e)!function e(t){let n;if(t.lines>h&&t instanceof o)for(let i of t.children)e(i);else t.lines>c&&(f>c||!f)?(m(),u.push(t)):t instanceof s&&f&&(n=p[p.length-1])instanceof s&&t.lines+n.lines<=32?(f+=t.lines,d+=t.length+1,p[p.length-1]=new s(n.text.concat(t.text),n.length+1+t.length)):(f+t.lines>a&&m(),f+=t.lines,d+=t.length+1,p.push(t))}(g);return m(),1==u.length?u[0]:new o(u,t)}}function l(e,t,n=0,i=1e9){for(let r=0,s=0,o=!0;s=n&&(a>i&&(l=l.slice(0,i-r)),r0?1:(e instanceof s?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],o=r>>1,l=i instanceof s?i.text.length:i.children.length;if(o==(t>0?l:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(i instanceof s){let a=i.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,a.length>Math.max(0,e))return this.value=0==e?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let h=i.children[o+(t<0?-1:0)];e>h.length?(e-=h.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(h),this.offsets.push(t>0?1:(h instanceof s?h.text.length:h.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class h{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new a(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class c{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.iter()},a.prototype[Symbol.iterator]=h.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=function(){return this});class u{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}let f="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let d=1;d=127462&&e<=127487}function m(e,t,n=!0,i=!0){return(n?g:y)(e,t,i)}function g(e,t,n){if(t==e.length)return t;t&&k(e.charCodeAt(t))&&O(e.charCodeAt(t-1))&&t--;let i=v(e,t);for(t+=x(i);te)return f[t-1]<=e;return!1}(r))t+=x(r),i=r;else if(p(r)){let s=0,o=t-2;for(;o>=0&&p(v(e,o));)s++,o-=2;if(s%2==0)break;t+=2}else break}return t}function y(e,t,n){for(;t>0;){let i=g(e,t-2,n);if(i=56320&&e<57344}function O(e){return e>=55296&&e<56320}function v(e,t){let n=e.charCodeAt(t);if(!O(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return k(i)?(n-55296<<10)+(i-56320)+65536:n}function b(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function x(e){return e<65536?1:2}let w=/\r\n?|\n/;var S,P,C=((S=C||(C={}))[S.Simple=0]="Simple",S[S.TrackDel=1]="TrackDel",S[S.TrackBefore=2]="TrackBefore",S[S.TrackAfter=3]="TrackAfter",S);class A{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-i);r+=o}else{if(n!=C.Simple&&a>=e&&(n==C.TrackDel&&ie||n==C.TrackBefore&&ie))return null;if(a>e||a==e&&t<0&&!o)return e==i||t<0?r:r+l;r+=l}i=a}if(e>i)throw RangeError(`Position ${e} is out of range for changeset of length ${i}`);return r}touchesRange(e,t=e){for(let n=0,i=0;n=0&&i<=t&&o>=e)return!(it)||"cover";i=o}return!1}toString(){let e="";for(let t=0;t=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new A(e)}static create(e){return new A(e)}}class Q extends A{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return D(this,(t,n,i,r,s)=>e=e.replace(i,i+(n-t),s),!1),e}mapDesc(e,t=!1){return R(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,s=0;i=0){t[i]=l,t[i+1]=o;let a=i>>1;for(;n.length0&&I(n,t,r.text),r.forward(a),o+=a}let c=e[s++];for(;o>1].toJSON()))}return e}static of(e,t,n){let i=[],s=[],o=0,l=null;function a(e=!1){if(!e&&!i.length)return;of||u<0||f>t)throw RangeError(`Invalid change range ${u} to ${f} (in doc of length ${t})`);let p=d?"string"==typeof d?r.of(d.split(n||w)):d:r.empty,m=p.length;if(u==f&&0==m)return;uo&&T(i,u-o,-1),T(i,f-u,m),I(s,i,p),o=f}}(e),a(!l),l}static empty(e){return new Q(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;it&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==s.length)t.push(s[0],0);else{for(;n.length=0&&n<=0&&n==e[r+1]?e[r]+=t:0==t&&0==e[r]?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}function I(e,t,n){if(0==n.length)return;let i=t.length-2>>1;if(i>1])),!n&&l!=e.sections.length&&!(e.sections[l+1]<0);)a=e.sections[l++],h=e.sections[l++];t(s,c,o,u,f),s=c,o=u}}}function R(e,t,n,i=!1){let r=[],s=i?[]:null,o=new $(e),l=new $(t);for(let a=-1;;)if(-1==o.ins&&-1==l.ins){let h=Math.min(o.len,l.len);T(r,h,-1),o.forward(h),l.forward(h)}else if(l.ins>=0&&(o.ins<0||a==o.i||0==o.off&&(l.len=0&&a=0){let f=0,d=o.len;for(;d;)if(-1==l.ins){let p=Math.min(d,l.len);f+=p,d-=p,l.forward(p)}else if(0==l.ins&&l.lena||o.ins>=0&&o.len>a)&&(l||i.length>h),s.forward2(a),o.forward(a)}}else T(i,0,o.ins,l),r&&I(r,i,o.text),o.next()}}class ${constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?r.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?r.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class N{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){let e=3&this.flags;return 3==e?null:e}get goalColumn(){let e=this.flags>>5;return 33554431==e?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new N(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return E.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return E.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return E.range(e.anchor,e.head)}static create(e,t,n){return new N(e,t,n)}}class E{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:E.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new E(e.ranges.map(e=>N.fromJSON(e)),e.main)}static single(e,t=e){return new E([E.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,i=0;ie?4:0))}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let i=1;ir.head?E.range(l,o):E.range(o,l))}}return new E(e,t)}}function z(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let W=0;class B{constructor(e,t,n,i,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=W++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}static define(e={}){return new B(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:J),!!e.static,e.enables)}of(e){return new L([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new L(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new L(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function J(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class L{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=W++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,r=this.id,s=e[r]>>1,o=2==this.type,l=!1,a=!1,h=[];for(let c of this.dependencies)"doc"==c?l=!0:"selection"==c?a=!0:((null!==(t=e[c.id])&&void 0!==t?t:1)&1)==0&&h.push(e[c.id]);return{create:e=>(e.values[s]=n(e),1),update(e,t){if(l&&t.docChanged||a&&(t.docChanged||t.selection)||F(e,h)){let r=n(e);if(o?!j(r,e.values[s],i):!i(r,e.values[s]))return e.values[s]=r,1}return 0},reconfigure:(e,t)=>{let l,a=t.config.address[r];if(null!=a){let h=ee(t,a);if(this.dependencies.every(n=>n instanceof B?t.facet(n)===e.facet(n):!(n instanceof U)||t.field(n,!1)==e.field(n,!1))||(o?j(l=n(e),h,i):i(l=n(e),h)))return e.values[s]=h,0}else l=n(e);return e.values[s]=l,1}}}}function j(e,t,n){if(e.length!=t.length)return!1;for(let i=0;ie===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(_).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let i=e.values[t],r=this.updateF(i,n);return this.compareF(i,r)?0:(e.values[t]=r,1)},reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}init(e){return[this,_.of({field:this,create:e})]}get extension(){return this}}let q={lowest:4,low:3,default:2,high:1,highest:0};function X(e){return t=>new G(t,e)}let V={highest:X(q.highest),high:X(q.high),default:X(q.default),low:X(q.low),lowest:X(q.lowest)};class G{constructor(e,t){this.inner=e,this.prec=t}}class Z{of(e){return new Y(this,e)}reconfigure(e){return Z.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Y{constructor(e,t){this.compartment=e,this.inner=t}}class K{constructor(e,t,n,i,r,s){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let i,r,s=[],o=Object.create(null),l=new Map;for(let a of(i=[[],[],[],[],[]],r=new Map,!function e(n,s){let o=r.get(n);if(null!=o){if(o<=s)return;let a=i[o].indexOf(n);a>-1&&i[o].splice(a,1),n instanceof Y&&l.delete(n.compartment)}if(r.set(n,s),Array.isArray(n))for(let h of n)e(h,s);else if(n instanceof Y){if(l.has(n.compartment))throw RangeError("Duplicate use of compartment in extensions");let c=t.get(n.compartment)||n.inner;l.set(n.compartment,c),e(c,s)}else if(n instanceof G)e(n.inner,n.prec);else if(n instanceof U)i[s].push(n),n.provides&&e(n.provides,s);else if(n instanceof L)i[s].push(n),n.facet.extensions&&e(n.facet.extensions,q.default);else{let u=n.extension;if(!u)throw Error(`Unrecognized extension value in extension set (${n}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(u,s)}}(e,q.default),i.reduce((e,t)=>e.concat(t))))a instanceof U?s.push(a):(o[a.facet.id]||(o[a.facet.id]=[])).push(a);let h=Object.create(null),c=[],u=[];for(let f of s)h[f.id]=u.length<<1,u.push(e=>f.slot(e));let d=null==n?void 0:n.config.facets;for(let p in o){let m=o[p],g=m[0].facet,y=d&&d[p]||[];if(m.every(e=>0==e.type)){if(h[g.id]=c.length<<1|1,J(y,m))c.push(n.facet(g));else{let k=g.combine(m.map(e=>e.value));c.push(n&&g.compare(k,n.facet(g))?n.facet(g):k)}}else{for(let O of m)0==O.type?(h[O.id]=c.length<<1|1,c.push(O.value)):(h[O.id]=u.length<<1,u.push(e=>O.dynamicSlot(e)));h[g.id]=u.length<<1,u.push(e=>(function(e,t,n){let i=n.map(t=>e[t.id]),r=n.map(e=>e.type),s=i.filter(e=>!(1&e)),o=e[t.id]>>1;function l(e){let n=[];for(let s=0;se(h));return new K(e,l,v,h,c,o)}}function H(e,t){if(1&t)return 2;let n=t>>1,i=e.status[n];if(4==i)throw Error("Cyclic dependency between fields and/or facets");if(2&i)return i;e.status[n]=4;let r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function ee(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let et=B.define(),en=B.define({combine:e=>e.some(e=>e),static:!0}),ei=B.define({combine:e=>e.length?e[0]:void 0,static:!0}),er=B.define(),es=B.define(),eo=B.define(),el=B.define({combine:e=>!!e.length&&e[0]});class ea{constructor(e,t){this.type=e,this.value=t}static define(){return new eh}}class eh{of(e){return new ea(this,e)}}class ec{constructor(e){this.map=e}of(e){return new eu(this,e)}}class eu{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new eu(this.type,t)}is(e){return this.type==e}static define(e={}){return new ec(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let r=i.map(t);r&&n.push(r)}return n}}eu.reconfigure=eu.define(),eu.appendConfig=eu.define();class ef{constructor(e,t,n,i,r,s){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&z(n,t.newLength),r.some(e=>e.type==ef.time)||(this.annotations=r.concat(ef.time.of(Date.now())))}static create(e,t,n,i,r,s){return new ef(e,t,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(ef.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ed(e,t,n){var i;let r,s,o;return n?(r=t.changes,s=Q.empty(t.changes.length),o=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),s=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(r)),{changes:o,selection:t.selection?t.selection.map(s):null===(i=e.selection)||void 0===i?void 0:i.map(r),effects:eu.mapEffects(e.effects,r).concat(eu.mapEffects(t.effects,s)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ep(e,t,n){let i=t.selection,r=eg(t.annotations);return t.userEvent&&(r=r.concat(ef.userEvent.of(t.userEvent))),{changes:t.changes instanceof Q?t.changes:Q.of(t.changes||[],n,e.facet(ei)),selection:i&&(i instanceof E?i:E.single(i.anchor,i.head)),effects:eg(t.effects),annotations:r,scrollIntoView:!!t.scrollIntoView}}ef.time=ea.define(),ef.userEvent=ea.define(),ef.addToHistory=ea.define(),ef.remote=ea.define();let em=[];function eg(e){return null==e?em:Array.isArray(e)?e:[e]}var ey=((P=ey||(ey={}))[P.Word=0]="Word",P[P.Space=1]="Space",P[P.Other=2]="Other",P);let ek=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{i=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(eO){}class ev{constructor(e,t,n,i,r,s){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let o=0;o=0;r--){let s=n[r](e);s&&Object.keys(s).length&&(i=ed(i,ep(t,s,e.changes.newLength),!0))}return i==e?e:ef.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}(i?function(t){let n=t.startState,i=!0;for(let r of n.facet(er)){let s=r(t);if(!1===s){i=!1;break}Array.isArray(s)&&(i=!0===i?s:function(e,t){let n=[];for(let i=0,r=0;;){let s,o;if(i=e[i]))s=e[i++],o=e[i++];else{if(!(r=0;c--){let u=h[c](t);t=u instanceof ef?u:Array.isArray(u)&&1==u.length&&u[0]instanceof ef?u[0]:e(n,eg(u),!1)}return t}(l):l)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:i,compartments:r}=n;for(let s of e.effects)s.is(Z.reconfigure)?(n&&(r=new Map,n.compartments.forEach((e,t)=>r.set(t,e)),n=null),r.set(s.value.compartment,s.value.extension)):s.is(eu.reconfigure)?(n=null,i=s.value):s.is(eu.appendConfig)&&(n=null,i=eg(i).concat(s.value));n?t=e.startState.values.slice():(n=K.resolve(i,r,this),t=new ev(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values),new ev(n,e.newDoc,e.newSelection,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:E.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),r=[n.range],s=eg(n.effects);for(let o=1;os.spec.fromJSON(o,e)))}}return ev.create({doc:e.doc,selection:E.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=K.resolve(e.extensions||[],new Map),n=e.doc instanceof r?e.doc:r.of((e.doc||"").split(t.staticFacet(ev.lineSeparator)||w)),i=e.selection?e.selection instanceof E?e.selection:E.single(e.selection.anchor,e.selection.head):E.single(0);return z(i,n.length),t.staticFacet(en)||(i=i.asSingle()),new ev(t,n,i,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(ev.tabSize)}get lineBreak(){return this.facet(ev.lineSeparator)||"\n"}get readOnly(){return this.facet(el)}phrase(e,...t){for(let n of this.facet(ev.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>t.length?e:t[i-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let r of this.facet(et))for(let s of r(this,t,n))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){var t;return t=this.languageDataAt("wordChars",e).join(""),e=>{if(!/\S/.test(e))return ey.Space;if(function(e){if(i)return i.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||ek.test(n)))return!0}return!1}(e))return ey.Word;for(let n=0;n-1)return ey.Word;return ey.Other}}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),r=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let l=m(t,s,!1);if(r(t.slice(l,s))!=ey.Word)break;s=l}for(;oe.length?e[0]:4}),ev.lineSeparator=ei,ev.readOnly=el,ev.phrases=B.define({compare(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length==i.length&&n.every(n=>e[n]==t[n])}}),ev.languageData=et,ev.changeFilter=er,ev.transactionFilter=es,ev.transactionExtender=eo,Z.reconfigure=eu.define();class ex{eq(e){return this==e}range(e,t=e){return ew.create(e,t,this)}}ex.prototype.startSide=ex.prototype.endSide=0,ex.prototype.point=!1,ex.prototype.mapMode=C.TrackDel;class ew{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new ew(e,t,n)}}function eS(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eP{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let l=s+o>>1,a=r[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-t;if(l==s)return a>=0?s:o;a>=0?o=l:s=l+1}}between(e,t,n,i){for(let r=this.findIndex(t,-1e9,!0),s=this.findIndex(n,1e9,!1,r);r(f=t.mapPos(c,a.endSide))||u==f&&a.startSide>0&&a.endSide<=0)continue;0>(f-u||a.endSide-a.startSide)||(s<0&&(s=u),a.point&&(o=Math.max(o,f-u)),n.push(a),i.push(u-s),r.push(f-s))}return{mapped:n.length?new eP(i,r,n,o):null,pos:s}}}class eC{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new eC(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(n&&(t=t.slice().sort(eS)),this.isEmpty)return t.length?eC.of(t):this;let o=new eT(this,null,-1).goto(0),l=0,a=[],h=new eA;for(;o.value||l=0){let c=t[l++];h.addInner(c.from,c.to,c.value)||a.push(c)}else 1==o.rangeIndex&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ro.to||r=r&&e<=r+s.length&&!1===s.between(r,e-r,t-r,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eI.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eI.from(e).goto(t)}static compare(e,t,n,i,r=-1){let s=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),l=eQ(s,o,n),a=new eR(s,l,r),h=new eR(o,l,r);n.iterGaps((e,t,n)=>eM(a,e,h,t,n,i)),n.empty&&0==n.length&&eM(a,0,h,0,0,i)}static eq(e,t,n=0,i){null==i&&(i=999999999);let r=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),s=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(r.length!=s.length)return!1;if(!r.length)return!0;let o=eQ(r,s),l=new eR(r,o,0).goto(n),a=new eR(s,o,0).goto(n);for(;;){if(l.to!=a.to||!e$(l.active,a.active)||l.point&&(!a.point||!l.point.eq(a.point)))return!1;if(l.to>i)return!0;l.next(),a.next()}}static spans(e,t,n,i,r=-1){let s=new eR(e,null,r).goto(t),o=t,l=s.openStart;for(;;){let a=Math.min(s.to,n);if(s.point){let h=s.activeForPoint(s.to),c=s.pointFromo&&(i.span(o,a,s.active,l),l=s.openEnd(a));if(s.to>n)return l+(s.point&&s.to>n?1:0);o=s.to,s.next()}}static of(e,t=!1){let n=new eA;for(let i of e instanceof ew?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(eS);t=i}return e}(e):e)n.add(i.from,i.to,i.value);return n.finish()}}eC.empty=new eC([],[],null,-1),eC.empty.nextLayer=eC.empty;class eA{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new eP(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eA)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(eC.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eC.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eQ(e,t,n){let i=new Map;for(let r of e)for(let s=0;s(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&i.push(new eT(s,t,n,r));return 1==i.length?i[0]:new eI(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)eD(this.heap,i);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)eD(this.heap,i);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eD(this.heap,0)}}}function eD(e,t){for(let n=e[t];;){let i=(t<<1)+1;if(i>=e.length)break;let r=e[i];if(i+1=0&&(r=e[i+1],i++),0>n.compare(r))break;e[i]=n,e[t]=r,t=i}}class eR{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=eI.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eN(this.active,e),eN(this.activeTo,e),eN(this.activeRank,e),this.minActive=ez(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:r}=this.cursor;for(;t-1&&0>(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&eN(n,i)}else if(this.cursor.value){if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let r=this.cursor.value;if(r.point){if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[s]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function eM(e,t,n,i,r,s){e.goto(t),n.goto(i);let o=i+r,l=i,a=i-t;for(;;){let h=e.to+a-n.to||e.endSide-n.endSide,c=h<0?e.to+a:n.to,u=Math.min(c,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&e$(e.activeForPoint(e.to+a),n.activeForPoint(n.to))||s.comparePoint(l,u,e.point,n.point):u>l&&!e$(e.active,n.active)&&s.compareRange(l,u,e.active,n.active),c>o)break;l=c,h<=0&&e.next(),h>=0&&n.next()}}function e$(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;i--)e[i+1]=e[i];e[t]=n}function ez(e,t){let n=-1,i=1e9;for(let r=0;r(t[r]-i||e[r].endSide-e[n].endSide)&&(n=r,i=t[r]);return n}function eW(e,t,n=e.length){let i=0;for(let r=0;r=t)return r;if(r==e.length)break;s+=9==e.charCodeAt(r)?n-s%n:1,r=m(e,r)}return!0===i?-1:e.length}},41113:function(e,t,n){var i,r;n.d(t,{FE:function(){return N},Jq:function(){return u},L3:function(){return s},Lj:function(){return f},_b:function(){return M},hr:function(){return D},i9:function(){return R},md:function(){return a},mp:function(){return m},vj:function(){return i}});let s=1024,o=0;class l{constructor(e,t){this.from=e,this.to=t}}class a{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=u.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}a.closedBy=new a({deserialize:e=>e.split(" ")}),a.openedBy=new a({deserialize:e=>e.split(" ")}),a.group=new a({deserialize:e=>e.split(" ")}),a.contextHash=new a({perNode:!0}),a.lookAhead=new a({perNode:!0}),a.mounted=new a({perNode:!0});class h{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}let c=Object.create(null);class u{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):c,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),i=new u(e.name||"",t,e.id,n);if(e.props){for(let r of e.props)if(Array.isArray(r)||(r=r(i)),r){if(r[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(a.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return e=>{for(let n=e.prop(a.group),i=-1;i<(n?n.length:0);i++){let r=t[i<0?e.name:n[i]];if(r)return r}}}}u.none=new u("",Object.create(null),0,8);class f{constructor(e){this.types=e;for(let t=0;t=r&&(o.type.isAnonymous||!1!==t(o))){if(o.firstChild())continue;l=!0}for(;l&&n&&!o.type.isAnonymous&&n(o),!o.nextSibling();){if(!o.parent())return;l=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:I(u.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new m(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new m(u.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:i,maxBufferLength:r=s,reused:o=[],minRepeatType:l=i.types.length}=e,h=Array.isArray(n)?new g(n,n.length):n,c=i.types,u=0,f=0;function d(e,t,n,r,s,o,l,a){let h=[],c=[];for(;e.length>r;)h.push(e.pop()),c.push(t.pop()+n-s);e.push(p(i.types[l],h,c,o-s,a-o)),t.push(s-n)}function p(e,t,n,i,r=0,s){if(u){let o=[a.contextHash,u];s=s?[o].concat(s):[o]}if(r>25){let l=[a.lookAhead,r];s=s?[l].concat(s):[l]}return new m(e,t,n,i,s)}let k=[],O=[];for(;h.pos>0;)!function e(t,n,s,g,k){let{id:O,start:v,end:b,size:x}=h,w=f;for(;x<0;){if(h.next(),-1==x){let S=o[O];s.push(S),g.push(v-t);return}if(-3==x){u=O;return}if(-4==x){f=O;return}throw RangeError(`Unrecognized record size: ${x}`)}let P=c[O],C,A,Q=v-t;if(b-v<=r&&(A=function(e,t){let n=h.fork(),i=0,s=0,o=0,a=n.end-r,c={size:0,start:0,skip:0};n:for(let u=n.pos-e;n.pos>u;){let f=n.size;if(n.id==t&&f>=0){c.size=i,c.start=s,c.skip=o,o+=4,i+=4,n.next();continue}let d=n.pos-f;if(f<0||d=l?4:0,m=n.start;for(n.next();n.pos>d;){if(n.size<0){if(-3==n.size)p+=4;else break n}else n.id>=l&&(p+=4);n.next()}s=m,i+=f,o+=p}return(t<0||i==e)&&(c.size=i,c.start=s,c.skip=o),c.size>4?c:void 0}(h.pos-n,k))){let T=new Uint16Array(A.size-A.skip),D=h.pos-A.size,R=T.length;for(;h.pos>D;)R=function e(t,n,i){let{id:r,start:s,end:o,size:a}=h;if(h.next(),a>=0&&r4){let d=h.pos-(a-4);for(;h.pos>d;)i=e(t,n,i)}n[--i]=c,n[--i]=o-t,n[--i]=s-t,n[--i]=r}else -3==a?u=r:-4==a&&(f=r);return i}(A.start,T,R);C=new y(T,b-A.start,i),Q=A.start-t}else{let M=h.pos-x;h.next();let $=[],N=[],E=O>=l?O:-1,z=0,W=b;for(;h.pos>M;)E>=0&&h.id==E&&h.size>=0?(h.end<=W-r&&(d($,N,v,z,h.end,W,E,w),z=$.length,W=h.end),h.next()):e(v,M,$,N,E);if(E>=0&&z>0&&z<$.length&&d($,N,v,z,v,W,E,w),$.reverse(),N.reverse(),E>-1&&z>0){let B=function(e){return(t,n,i)=>{let r=0,s=t.length-1,o,l;if(s>=0&&(o=t[s])instanceof m){if(!s&&o.type==e&&o.length==i)return o;(l=o.prop(a.lookAhead))&&(r=n[s]+o.length+l)}return p(e,t,n,i,r)}}(P);C=I(P,$,N,0,$.length,0,b-v,B,B)}else C=p(P,$,N,b-v,w-b)}s.push(C),g.push(Q)}(e.start||0,e.bufferStart||0,k,O,-1);let v=null!==(t=e.length)&&void 0!==t?t:k.length?O[0]+k[0].length:0;return new m(c[e.topID],k.reverse(),O.reverse(),v)}(e)}}m.empty=new m(u.none,[],[],0);class g{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new g(this.buffer,this.index)}}class y{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return u.none}toString(){let e=[];for(let t=0;t0)));l=s[l+3]);return o}slice(e,t,n){let i=this.buffer,r=new Uint16Array(t-e),s=0;for(let o=e,l=0;o=t&&nt;case 1:return n<=t&&i>t;case 2:return i>t;case 4:return!0}}function O(e,t){let n=e.childBefore(t);for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(e=n,n=i.prevSibling):n=i}return e}function v(e,t,n,r){for(var s;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?l.length:-1;e!=c;e+=t){let u=l[e],f=h[e]+o.from;if(k(r,n,f,f+u.length)){if(u instanceof y){if(s&i.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,t,n-f,r);if(d>-1)return new P(new S(o,u,e,f),null,d)}else if(s&i.IncludeAnonymous||!u.type.isAnonymous||A(u)){let p;if(!(s&i.IgnoreMounts)&&u.props&&(p=u.prop(a.mounted))&&!p.overlay)return new b(p.tree,f,e,o);let m=new b(u,f,e,o);return s&i.IncludeAnonymous||!m.type.isAnonymous?m:m.nextChild(t<0?u.children.length-1:0,t,n,r)}}}if(s&i.IncludeAnonymous||!o.type.isAnonymous||(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,!(o=o._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let r;if(!(n&i.IgnoreOverlays)&&(r=this._tree.prop(a.mounted))&&r.overlay){let s=e-this.from;for(let{from:o,to:l}of r.overlay)if((t>0?o<=s:o=s:l>s))return new b(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new C(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return v(this,e,t,!1)}resolveInner(e,t=0){return v(this,e,t,!0)}enterUnfinishedNodesBefore(e){return O(this,e)}getChild(e,t=null,n=null){let i=x(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return x(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return w(this,e)}}function x(e,t,n,i){let r=e.cursor(),s=[];if(!r.firstChild())return s;if(null!=n){for(;!r.type.is(n);)if(!r.nextSibling())return s}for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(t)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function w(e,t,n=t.length-1){for(let i=e.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(t[n]&&t[n]!=i.name)return!1;n--}}return!0}class S{constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class P{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new P(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&i.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new P(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new P(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new P(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new C(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1];e.push(n.slice(i,r,s)),t.push(0)}return new m(this.type,e,t,this.to-this.from)}resolve(e,t=0){return v(this,e,t,!1)}resolveInner(e,t=0){return v(this,e,t,!0)}enterUnfinishedNodesBefore(e){return O(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let i=x(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return x(this,e,t,n)}get node(){return this}matchContext(e){return w(this,e)}}class C{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof b)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return!!e&&(e instanceof b?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&i.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&i.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&i.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(t.findChild(i,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let o=t+e,l=e<0?-1:n._tree.children.length;o!=l;o+=e){let a=n._tree.children[o];if(this.mode&i.IncludeAnonymous||a instanceof y||!a.type.isAnonymous||A(a))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;t=s,n=r+1;break n}i=this.stack[--r]}for(let o=n;o=0;r--){if(r<0)return w(this.node,e,i);let s=n[t.buffer[this.stack[r]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function A(e){return e.children.some(e=>e instanceof y||!e.type.isAnonymous||A(e))}let Q=new WeakMap;function T(e,t){if(!e.isAnonymous||t instanceof y||t.type!=e)return 1;let n=Q.get(t);if(null==n){for(let i of(n=1,t.children)){if(i.type!=e||!(i instanceof m)){n=1;break}n+=T(e,i)}Q.set(t,n)}return n}function I(e,t,n,i,r,s,o,l,a){let h=0;for(let c=i;c=u)break;m+=g}if(h==c+1){if(m>u){let y=n[c];t(y.children,y.positions,0,y.children.length,i[c]+l);continue}f.push(n[c])}else{let k=i[h-1]+n[h-1].length-p;f.push(I(e,n,i,c,h,p,k,null,a))}d.push(p+l-s)}}(t,n,i,r,0),(l||a)(f,d,o)}class D{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof P?this.setBuffer(e.context.buffer,e.index,t):e instanceof b&&this.map.set(e.tree,t)}get(e){return e instanceof P?this.getBuffer(e.context.buffer,e.index):e instanceof b?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class R{constructor(e,t,n,i,r=!1,s=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let i=[new R(0,e.length,e,0,!1,n)];for(let r of t)r.to>e.length&&i.push(r);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],r=1,s=e.length?e[0]:null;for(let o=0,l=0,a=0;;o++){let h=o=n)for(;s&&s.from=u.from||c<=u.to||a){let f=Math.max(u.from,l)-a,d=Math.min(u.to,c)-a;u=f>=d?null:new R(f,d,u.tree,u.offset+a,o>0,!!h)}if(u&&i.push(u),s.to>c)break;s=rnew l(e.from,e.to)):[new l(0,0)]:[new l(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let r=i.advance();if(r)return r}}}class ${constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function N(e){return(t,n,i,r)=>new B(t,e,n,i,r)}class E{constructor(e,t,n,i,r){this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.ranges=r}}class z{constructor(e,t,n,i,r,s,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=r,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}let W=new a({perNode:!0});class B{constructor(e,t,n,i,r){this.nest=t,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return null!=this.stoppedAt&&(n=new m(n.type,n.children,n.positions,n.length,n.propValues.concat([[W,this.stoppedAt]]))),n}let i=this.inner[this.innerDone],r=i.parse.advance();if(r){this.innerDone++;let s=Object.assign(Object.create(null),i.target.props);s[a.mounted.id]=new h(r,i.overlay,i.parser),i.target.props=s}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;te.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(c)for(let f of c.mount.overlay){let d=f.from+c.pos,p=f.to+c.pos;d>=r.from&&p<=r.to&&!t.ranges.some(e=>e.fromd)&&t.ranges.push({from:d,to:p})}}a=!1}else if(n&&(o=function(e,t,n){for(let i of e){if(i.from>=n)break;if(i.to>t)return i.from<=t&&i.to>=n?2:1}return 0}(n.ranges,r.from,r.to)))a=2!=o;else if(!r.type.isAnonymous&&r.from=t.to);i++);let o=r.children[i],l=o.buffer;r.children[i]=function e(n,i,r,a,h){let c=n;for(;l[c+2]+s<=t.from;)c=l[c+3];let u=[],f=[];J(o,n,c,u,f,a);let d=l[c+1],p=l[c+2],g=d+s==t.from&&p+s==t.to&&l[c]==t.type.id;return u.push(g?t.toTree():e(c+4,l[c+3],o.set.types[l[c]],d,p-d)),f.push(d-a),J(o,l[c+3],i,u,f,a),new m(r,u,f,h)}(0,l.length,u.none,0,o.length);for(let a=0;a<=n;a++)e.childAfter(t.from)}(r);let g=e.findMounts(r.from,s.parser);if("function"==typeof s.overlay)t=new z(s.parser,s.overlay,g,this.inner.length,r.from,r.tree,t);else{let y=F(this.ranges,s.overlay||[new l(r.from,r.to)]);y.length&&this.inner.push(new E(s.parser,s.parser.startParse(this.input,_(g,y),y),s.overlay?s.overlay.map(e=>new l(e.from-r.from,e.to-r.from)):null,r.tree,y)),s.overlay?y.length&&(n={ranges:y,depth:0,prev:n}):a=!1}}else t&&(h=t.predicate(r))&&(!0===h&&(h=new l(r.from,r.to)),h.fromnew l(e.from-t.start,e.to-t.start)),t.target,k)),t=t.prev}!n||--n.depth||(n=n.prev)}}}}function J(e,t,n,i,r,s){if(t=e&&t.enter(n,1,i.IgnoreOverlays|i.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof m)t=t.children[0];else break}return!1}}class j{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(W))&&void 0!==t?t:n.to,this.inner=new L(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(W))&&void 0!==e?e:t.to,this.inner=new L(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let r=this.inner.cursor.node;r;r=r.parent){let s=null===(n=r.tree)||void 0===n?void 0:n.prop(a.mounted);if(s&&s.parser==t)for(let o=this.fragI;o=r.to)break;l.tree==this.curFrag.tree&&i.push({frag:l,pos:r.from-l.offset,mount:s})}}}return i}}function F(e,t){let n=null,i=t;for(let r=1,s=0;r=a)break;!(h.to<=o)&&(n||(i=n=t.slice()),h.froma&&n.splice(s+1,0,new l(a,h.to))):h.to>a?n[s--]=new l(a,h.to):n.splice(s--,1))}}return i}function _(e,t){let n=[];for(let{pos:i,mount:r,frag:s}of e){let o=i+(r.overlay?r.overlay[0].from:0),a=o+r.tree.length,h=Math.max(s.from,o),c=Math.min(s.to,a);if(r.overlay){let u=function(e,t,n,i){let r=0,s=0,o=!1,a=!1,h=-1e9,c=[];for(;;){let u=r==e.length?1e9:o?e[r].to:e[r].from,f=s==t.length?1e9:a?t[s].to:t[s].from;if(o!=a){let d=Math.max(h,n),p=Math.min(u,f,i);dnew l(e.from+i,e.to+i)),h,c);for(let f=0,d=h;;f++){let p=f==u.length,m=p?c:u[f].from;if(m>d&&n.push(new R(d,m,r.tree,-o,s.from>=d||s.openStart,s.to<=m||s.openEnd)),p)break;d=u[f].to}}else n.push(new R(h,c,r.tree,-o,s.from>=o||s.openStart,s.to<=a||s.openEnd))}return n}},35524:function(e,t,n){n.d(t,{Gv:function(){return a},QR:function(){return u},Vp:function(){return s},bW:function(){return f},pJ:function(){return T}});var i=n(41113);let r=0;class s{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=r++}static define(e){if(null==e?void 0:e.base)throw Error("Can not derive from a modified tag");let t=new s([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new l;return t=>t.modified.indexOf(e)>-1?t:l.get(t.base||t,t.modified.concat(e).sort((e,t)=>e.id-t.id))}}let o=0;class l{constructor(){this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var i;return n.base==e&&(i=n.modified,t.length==i.length&&t.every((e,t)=>e==i[t]))});if(n)return n;let i=[],r=new s(i,e,t);for(let o of t)o.instances.push(r);let a=function(e){let t=[[]];for(let n=0;nt.length-e.length)}(t);for(let h of e.set)if(!h.modified.length)for(let c of a)i.push(l.get(h,c));return r}}function a(e){let t=Object.create(null);for(let n in e){let i=e[n];for(let r of(Array.isArray(i)||(i=[i]),n.split(" ")))if(r){let s=[],o=2,l=r;for(let a=0;;){if("..."==l&&a>0&&a+3==r.length){o=1;break}let u=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!u)throw RangeError("Invalid path: "+r);if(s.push("*"==u[0]?"":'"'==u[0][0]?JSON.parse(u[0]):u[0]),(a+=u[0].length)==r.length)break;let f=r[a++];if(a==r.length&&"!"==f){o=0;break}if("/"!=f)throw RangeError("Invalid path: "+r);l=r.slice(a)}let d=s.length-1,p=s[d];if(!p)throw RangeError("Invalid path: "+r);let m=new c(i,o,d>0?s.slice(0,d):null);t[p]=m.sort(t[p])}}return h.add(t)}let h=new i.md;class c{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depththis.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,s){let{type:o,from:l,to:a}=e;if(l>=n||a<=t)return;o.isTop&&(s=this.highlighters.filter(e=>!e.scope||e.scope(o)));let u=r,f=function(e){let t=e.type.prop(h);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||c.empty,d=function(e,t){let n=null;for(let i of e){let r=i.style(t);r&&(n=n?n+" "+r:r)}return n}(s,f.tags);if(d&&(u&&(u+=" "),u+=d,1==f.mode&&(r+=(r?" ":"")+d)),this.startSpan(e.from,u),f.opaque)return;let p=e.tree&&e.tree.prop(i.md.mounted);if(p&&p.overlay){let m=e.node.enter(p.overlay[0].from+l,1),g=this.highlighters.filter(e=>!e.scope||e.scope(p.tree.type)),y=e.firstChild();for(let k=0,O=l;;k++){let v=k=b)&&e.nextSibling()););if(!v||b>n)break;(O=v.to+l)>t&&(this.highlightRange(m.cursor(),Math.max(t,v.from+l),Math.min(n,O),r,g),this.startSpan(O,u))}y&&e.parent()}else if(e.firstChild()){do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}let p=s.define,m=p(),g=p(),y=p(g),k=p(g),O=p(),v=p(O),b=p(O),x=p(),w=p(x),S=p(),P=p(),C=p(),A=p(C),Q=p(),T={comment:m,lineComment:p(m),blockComment:p(m),docComment:p(m),name:g,variableName:p(g),typeName:y,tagName:p(y),propertyName:k,attributeName:p(k),className:p(g),labelName:p(g),namespace:p(g),macroName:p(g),literal:O,string:v,docString:p(v),character:p(v),attributeValue:p(v),number:b,integer:p(b),float:p(b),bool:p(O),regexp:p(O),escape:p(O),color:p(O),url:p(O),keyword:S,self:p(S),null:p(S),atom:p(S),unit:p(S),modifier:p(S),operatorKeyword:p(S),controlKeyword:p(S),definitionKeyword:p(S),moduleKeyword:p(S),operator:P,derefOperator:p(P),arithmeticOperator:p(P),logicOperator:p(P),bitwiseOperator:p(P),compareOperator:p(P),updateOperator:p(P),definitionOperator:p(P),typeOperator:p(P),controlOperator:p(P),punctuation:C,separator:p(C),bracket:A,angleBracket:p(A),squareBracket:p(A),paren:p(A),brace:p(A),content:x,heading:w,heading1:p(w),heading2:p(w),heading3:p(w),heading4:p(w),heading5:p(w),heading6:p(w),contentSeparator:p(x),list:p(x),quote:p(x),emphasis:p(x),strong:p(x),link:p(x),monospace:p(x),strikethrough:p(x),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:Q,documentMeta:p(Q),annotation:p(Q),processingInstruction:p(Q),definition:s.defineModifier(),constant:s.defineModifier(),function:s.defineModifier(),standard:s.defineModifier(),local:s.defineModifier(),special:s.defineModifier()};u([{tag:T.link,class:"tok-link"},{tag:T.heading,class:"tok-heading"},{tag:T.emphasis,class:"tok-emphasis"},{tag:T.strong,class:"tok-strong"},{tag:T.keyword,class:"tok-keyword"},{tag:T.atom,class:"tok-atom"},{tag:T.bool,class:"tok-bool"},{tag:T.url,class:"tok-url"},{tag:T.labelName,class:"tok-labelName"},{tag:T.inserted,class:"tok-inserted"},{tag:T.deleted,class:"tok-deleted"},{tag:T.literal,class:"tok-literal"},{tag:T.string,class:"tok-string"},{tag:T.number,class:"tok-number"},{tag:[T.regexp,T.escape,T.special(T.string)],class:"tok-string2"},{tag:T.variableName,class:"tok-variableName"},{tag:T.local(T.variableName),class:"tok-variableName tok-local"},{tag:T.definition(T.variableName),class:"tok-variableName tok-definition"},{tag:T.special(T.variableName),class:"tok-variableName2"},{tag:T.definition(T.propertyName),class:"tok-propertyName tok-definition"},{tag:T.typeName,class:"tok-typeName"},{tag:T.namespace,class:"tok-namespace"},{tag:T.className,class:"tok-className"},{tag:T.macroName,class:"tok-macroName"},{tag:T.propertyName,class:"tok-propertyName"},{tag:T.operator,class:"tok-operator"},{tag:T.comment,class:"tok-comment"},{tag:T.meta,class:"tok-meta"},{tag:T.invalid,class:"tok-invalid"},{tag:T.punctuation,class:"tok-punctuation"}])},53105:function(e,t,n){n.d(t,{IK:function(){return I},Jq:function(){return O},WQ:function(){return D}});var i,r,s,o,l,a,h=n(41113),c=n(34155);class u{constructor(e,t,n,i,r,s,o,l,a,h=0,c){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=l,this.curContext=a,this.lookAhead=h,this.parent=c}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new u(e,[],t,n,n,0,[],0,i?new f(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=65535&e,{parser:i}=this.p,r=i.dynamicPrecedence(n);if(r&&(this.score+=r),0==t){this.pushState(i.getGoto(this.state,n,!0),this.reducePos),ns;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,i=4,r=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]0&&0==s.buffer[o-4]&&s.buffer[o-1]>-1){if(t==n)return;if(s.buffer[o-2]>=t){s.buffer[o-2]=n;return}}}if(r&&this.pos!=n){let l=this.buffer.length;if(l>0&&0!=this.buffer[l-4])for(;l>0&&this.buffer[l-2]>n;)this.buffer[l]=this.buffer[l-4],this.buffer[l+1]=this.buffer[l-3],this.buffer[l+2]=this.buffer[l-2],this.buffer[l+3]=this.buffer[l-1],l-=4,i>4&&(i-=4);this.buffer[l]=e,this.buffer[l+1]=t,this.buffer[l+2]=n,this.buffer[l+3]=i}else this.buffer.push(e,t,n,i)}shift(e,t,n){let i=this.pos;if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:r}=this.p;(n>this.pos||t<=r.maxNode)&&(this.pos=n,r.stateFlag(e,1)||(this.reducePos=n)),this.pushState(e,i),this.shiftContext(t,i),t<=r.maxNode&&this.buffer.push(t,i,n,4)}else this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4)}apply(e,t,n){65536&e?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new u(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new d(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if((65536&n)==0)return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let i=0,r;i1&t&&e==o)||n.push(t[s],o)}t=n}let l=[];for(let a=0;a>19);if(n<0||0>t.getGoto(this.stack[n],65535&e,!1))return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class f{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}(i=o||(o={}))[i.Insert=200]="Insert",i[i.Delete=190]="Delete",i[i.Reduce=100]="Reduce",i[i.MaxNext=4]="MaxNext",i[i.MaxInsertStackDepth=300]="MaxInsertStackDepth",i[i.DampenInsertStackDepth=120]="DampenInsertStackDepth";class d{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class p{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new p(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new p(this.stack,this.pos,this.index)}}class m{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let g=new m;class y{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=g,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,r=this.pos+e;for(;rn.to:r>=n.to;){if(i==this.ranges.length-1)return null;let o=this.ranges[++i];r+=o.from-n.to,n=o}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,i;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n=this.chunk2Pos&&this.posthis.range.to?n.slice(0,this.range.to-this.pos):n,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=g,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class k{constructor(e,t){this.data=e,this.id=t}token(e,t){!function(e,t,n,i){let r=0,s=1<0){let c=e[h];if(l.allows(c)&&(-1==t.token.value||t.token.value==c||o.overrides(c,t.token.value))){t.acceptToken(c);break}}let u=t.next,f=0,d=e[r+2];if(t.next<0&&d>f&&65535==e[a+3*d-3]&&65535==e[a+3*d-3]){r=e[a+3*d-1];continue n}for(;f>1,m=a+p+(p<<1),g=e[m],y=e[m+1]||65536;if(u=y)f=p+1;else{r=e[m+2],t.advance();continue n}}break}}(this.data,e,t,this.id)}}k.prototype.contextual=k.prototype.fallback=k.prototype.extend=!1;class O{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function v(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),s+=a,l)break;s*=46}n?n[r++]=s:n=new t(s)}return n}let b=void 0!==c&&c.env&&/\bparse\b/.test(c.env.LOG),x=null;function w(e,t,n){let i=e.cursor(h.vj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.tot)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}(r=l||(l={}))[r.Margin=25]="Margin";class S{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?w(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?w(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=s,null;if(r instanceof h.mp){if(s==e){if(s=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+r.length}}}class P{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new m)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:r}=i,s=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,l=0;for(let a=0;ac.end+25&&(l=Math.max(c.lookAhead,l)),0!=c.value)){let u=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!h.extend&&(n=c,t>u))break}}for(;this.actions.length>t;)this.actions.pop();return l&&e.setLookAhead(l),n||e.pos!=this.stream.end||((n=new m).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new m,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:r}=n.p;for(let s=0;s=0&&n.p.parser.dialect.allows(o>>1)){(1&o)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let r=0;r4*e.bufferLength?new S(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,i=this.minStackPos,r=this.stacks=[];for(let s=0;si)r.push(o);else{if(this.advanceStack(o,r,n))continue;e||(e=[],t=[]),e.push(o);let l=this.tokens.getMainToken(o);t.push(l.value,l.end)}break}}if(!r.length){let a=e&&function(e){let t=null;for(let n of e){let i=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=i&&n.pos>i)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scorethis.stoppedAt?e[0]:this.runRecovery(e,t,r);if(h)return this.stackToTree(h.forceAll())}if(this.recovering){let c=1==this.recovering?1:3*this.recovering;if(r.length>c)for(r.sort((e,t)=>t.score-e.score);r.length>c;)r.pop();r.some(e=>e.reducePos>i)&&this.recovering--}else if(r.length>1)i:for(let u=0;u500&&p.buffer.length>500){if((f.score-p.score||f.buffer.length-p.buffer.length)>0)r.splice(d--,1);else{r.splice(u--,1);continue i}}}}this.minStackPos=r[0].pos;for(let m=1;m ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let o=e.curContext&&e.curContext.tracker.strict,l=o?e.curContext.hash:0;for(let a=this.fragments.nodeAt(i);a;){let c=this.parser.nodeSet.types[a.type.id]==a.type?r.getGoto(e.state,a.type.id):-1;if(c>-1&&a.length&&(!o||(a.prop(h.md.contextHash)||0)==l))return e.useNode(a,c),b&&console.log(s+this.stackID(e)+` (via reuse of ${r.getName(a.type.id)})`),!0;if(!(a instanceof h.mp)||0==a.children.length||a.positions[0]>0)break;let u=a.children[0];if(u instanceof h.mp&&0==a.positions[0])a=u;else break}}let f=r.stateSlot(e.state,4);if(f>0)return e.reduce(f),b&&console.log(s+this.stackID(e)+` (via always-reduce ${r.getName(65535&f)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let d=this.tokens.getActions(e);for(let p=0;pi?t.push(O):n.push(O)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return A(e,t),!0}}runRecovery(e,t,n){let i=null,r=!1;for(let s=0;s ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),b&&console.log(h+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let c=o.split(),u=h;for(let f=0;c.forceReduce()&&f<10&&(b&&console.log(u+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,n));f++)b&&(u=this.stackID(c)+" -> ");for(let d of o.recoverByInsert(l))b&&console.log(h+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>o.pos?(a==o.pos&&(a++,l=0),o.recoverByDelete(l,a),b&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(l)})`),A(o,n)):(!i||i.scoree;class I{constructor(e){this.start=e.start,this.shift=e.shift||T,this.reduce=e.reduce||T,this.reuse=e.reuse||T,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class D extends h._b{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;ne.topRules[t][1]),r=[];for(let s=0;s=0)o(u,a,l[c++]);else{let f=l[c+-u];for(let d=-u;d>0;d--)o(l[c++],a,f);c++}}}this.nodeSet=new h.Lj(t.map((t,n)=>h.Jq.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:r[n],top:i.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=h.L3;let p=v(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let m=0;m"number"==typeof e?new k(p,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new C(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return -1;for(let r=i[t+1];;){let s=i[r++],o=1&s,l=i[r++];if(o&&n)return l;for(let a=r+(s>>1);r0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])return!1;n=R(this.data,n+2)}if(t==R(this.data,n+1))return!0}}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=R(this.data,n+2);else break}if((1&this.data[n+2])==0){let i=this.data[n+1];t.some((e,t)=>1&t&&e==i)||t.push(this.data[n],i)}}return t}overrides(e,t){let n=M(this.data,this.tokenPrecTable,t);return n<0||M(this.data,this.tokenPrecTable,e){let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let r=e.specializers.find(e=>e.from==n.external);if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[i]=$(s),s})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let r=t.indexOf(i);r>=0&&(n[r]=!0)}let s=null;for(let o=0;oe.external(n,i)<<1|t}return e.get}},28699:function(e,t,n){n.d(t,{V:function(){return o}});let i="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),r="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let r in e)!function e(t,r,s,o){let l=[],a=/^@(\w+)\b/.exec(t[0]),h=a&&"keyframes"==a[1];if(a&&null==r)return s.push(t[0]+";");for(let c in r){let u=r[c];if(/&/.test(c))e(c.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),u,s);else if(u&&"object"==typeof u){if(!a)throw RangeError("The value of a property ("+c+") should be a primitive value.");e(i(c),u,l,h)}else null!=u&&l.push(c.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+u+";")}(l.length||h)&&s.push((!n||a||o?t:t.map(n)).join(", ")+" {"+l.join(" ")+"}")}(i(r),e[r],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[i]||1;return s[i]=e+1,"ͼ"+e.toString(36)}static mount(e,t){(e[r]||new a(e)).mount(Array.isArray(t)?t:[t])}}let l=null;class a{constructor(e){if(!e.head&&e.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(l)return e.adoptedStyleSheets=[l.sheet].concat(e.adoptedStyleSheets),e[r]=l;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),l=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[r]=this}mount(e){let t=this.sheet,n=0,i=0;for(let r=0;r-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),t)for(let l=0;l",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent);"undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent);for(var o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),l="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=o||s&&57>+s[1],h=0;h<10;h++)i[48+h]=i[96+h]=String(h);for(var h=1;h<=24;h++)i[h+111]="F"+h;for(var h=65;h<=90;h++)i[h]=String.fromCharCode(h+32),r[h]=String.fromCharCode(h);for(var c in i)r.hasOwnProperty(c)||(r[c]=i[c]);function u(e){var t=!(a&&(e.ctrlKey||e.altKey||e.metaKey)||l&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:i)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2206-8da9006b177e3283.js b/static/web/_next/static/chunks/2206-8da9006b177e3283.js new file mode 100644 index 000000000..29229c4f6 --- /dev/null +++ b/static/web/_next/static/chunks/2206-8da9006b177e3283.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2206],{10010:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(1413),o=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},l=t(42135),i=function(e,n){return o.createElement(l.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a}))};i.displayName="CaretUpOutlined";var c=o.forwardRef(i)},32808:function(e,n,t){t.d(n,{Z:function(){return k}});var r=t(4942),o=t(87462),a=t(94184),l=t.n(a),i=t(50132),c=t(67294),d=t(53124),s=t(65223),u=t(74902),f=t(97685),p=t(98423),v=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},h=c.createContext(null),m=c.forwardRef(function(e,n){var t=e.defaultValue,a=e.children,i=e.options,s=void 0===i?[]:i,m=e.prefixCls,y=e.className,g=e.style,x=e.onChange,E=v(e,["defaultValue","children","options","prefixCls","className","style","onChange"]),k=c.useContext(d.E_),Z=k.getPrefixCls,N=k.direction,b=c.useState(E.value||t||[]),w=(0,f.Z)(b,2),S=w[0],K=w[1],O=c.useState([]),D=(0,f.Z)(O,2),P=D[0],R=D[1];c.useEffect(function(){"value"in E&&K(E.value||[])},[E.value]);var M=function(){return s.map(function(e){return"string"==typeof e||"number"==typeof e?{label:e,value:e}:e})},L=Z("checkbox",m),T="".concat(L,"-group"),I=(0,p.Z)(E,["value","disabled"]);s&&s.length>0&&(a=M().map(function(e){return c.createElement(C,{prefixCls:L,key:e.value.toString(),disabled:"disabled"in e?e.disabled:E.disabled,value:e.value,checked:S.includes(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 E||K(t);var r=M();null==x||x(t.filter(function(e){return P.includes(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:E.disabled,name:E.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(h.Provider,{value:A},a))}),y=c.memo(m),g=t(98866),x=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},C=c.forwardRef(function(e,n){var t,a,u=e.prefixCls,f=e.className,p=e.children,v=e.indeterminate,m=void 0!==v&&v,y=e.style,C=e.onMouseEnter,E=e.onMouseLeave,k=e.skipGroup,Z=void 0!==k&&k,N=e.disabled,b=x(e,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),w=c.useContext(d.E_),S=w.getPrefixCls,K=w.direction,O=c.useContext(h),D=(0,c.useContext)(s.aM).isFormItemInput,P=(0,c.useContext)(g.Z),R=null!==(a=(null==O?void 0:O.disabled)||N)&&void 0!==a?a:P,M=c.useRef(b.value);c.useEffect(function(){null==O||O.registerValue(b.value)},[]),c.useEffect(function(){if(!Z)return b.value!==M.current&&(null==O||O.cancelValue(M.current),null==O||O.registerValue(b.value),M.current=b.value),function(){return null==O?void 0:O.cancelValue(b.value)}},[b.value]);var L=S("checkbox",u),T=(0,o.Z)({},b);O&&!Z&&(T.onChange=function(){b.onChange&&b.onChange.apply(b,arguments),O.toggleOption&&O.toggleOption({label:p,value:b.value})},T.name=O.name,T.checked=O.value.includes(b.value));var I=l()((t={},(0,r.Z)(t,"".concat(L,"-wrapper"),!0),(0,r.Z)(t,"".concat(L,"-rtl"),"rtl"===K),(0,r.Z)(t,"".concat(L,"-wrapper-checked"),T.checked),(0,r.Z)(t,"".concat(L,"-wrapper-disabled"),R),(0,r.Z)(t,"".concat(L,"-wrapper-in-form-item"),D),t),f),A=l()((0,r.Z)({},"".concat(L,"-indeterminate"),m));return c.createElement("label",{className:I,style:y,onMouseEnter:C,onMouseLeave:E},c.createElement(i.Z,(0,o.Z)({"aria-checked":m?"mixed":void 0},T,{prefixCls:L,className:A,disabled:R,ref:n})),void 0!==p&&c.createElement("span",null,p))}),E=C;E.Group=y,E.__ANT_CHECKBOX=!0;var k=E},52206:function(e,n,t){t.d(n,{Z:function(){return t2}});var r,o,a,l=t(71002),i=t(4942),c=t(87462),d=t(97685),s=t(94184),u=t.n(s),f=t(1413),p=t(74902),v=t(67294),h=t(5110),m=t(64217),y=t(79370),g=t(96774),x=t.n(g),C=t(80334),E=t(48555),k=t(74204),Z=t(45987),N=t(42550);function b(e){return null==e?[]:Array.isArray(e)?e:[e]}function w(e,n){if(!n&&"number"!=typeof n)return e;for(var t=b(n),r=e,o=0;o=n);return{onHover:null==e?void 0:e.onHover,hovering:t}}),a=(o=(r=v.useContext(null==P?void 0:P.Context))||{}).listeners,l=o.getValue,i=v.useState(function(){return t(r?l():null)}),u=(s=(0,d.Z)(i,2))[0],f=s[1],(0,O.Z)(function(){if(r)return a.add(e),function(){a.delete(e)};function e(e){f(function(n){var r=t(e);return x()(n,r)?n:r})}},[r]),u),N=Z.onHover,b=Z.hovering;return v.createElement(H,(0,c.Z)({},e,{colSpan:null!=y?y:C,rowSpan:k,hovering:b,ref:n,onHover:N}))});z.displayName="WrappedCell";var F=v.createContext(null);function _(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];return"rtl"===o?void 0!==a?f=!(v&&"left"===v.fixed):void 0!==l&&(u=!(p&&"right"===p.fixed)):void 0!==a?d=!(p&&"left"===p.fixed):void 0!==l&&(s=!(v&&"right"===v.fixed)),{fixLeft:a,fixRight:l,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}function j(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,a=e.rowComponent,l=e.cellComponent,i=e.onHeaderRow,d=e.index,s=v.useContext(F),u=s.prefixCls,f=s.direction;i&&(n=i(t.map(function(e){return e.column}),d));var p=S(t.map(function(e){return e.column}));return v.createElement(a,n,t.map(function(e,n){var t,a=e.column,i=_(e.colStart,e.colEnd,o,r,f);return a&&a.onHeaderCell&&(t=e.column.onHeaderCell(a)),v.createElement(z,(0,c.Z)({},e,{ellipsis:a.ellipsis,align:a.align,component:l,prefixCls:u,key:p[n]},i,{additionalProps:t,rowType:"header"}))}))}j.displayName="HeaderRow";var B=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=v.useContext(F),l=a.prefixCls,i=a.getComponent,c=v.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),o=1;o0?[].concat((0,p.Z)(e),(0,p.Z)(eo(o).map(function(e){return(0,f.Z)({fixed:r},e)}))):[].concat((0,p.Z)(e),[(0,f.Z)((0,f.Z)({},n),{},{fixed:r})])},[])}var ea=function(e,n){var t=e.prefixCls,r=e.columns,o=e.children,a=e.expandable,l=e.expandedKeys,c=e.columnTitle,d=e.getRowKey,s=e.onTriggerExpand,u=e.expandIcon,p=e.rowExpandable,h=e.expandIconColumnIndex,m=e.direction,y=e.expandRowByClick,g=e.columnWidth,x=e.fixed,C=v.useMemo(function(){return r||er(o)},[r,o]),E=v.useMemo(function(){if(a){var e,n,r=C.slice();if(!r.includes(ee)){var o=h||0;o>=0&&r.splice(o,0,ee)}var f=r.indexOf(ee);r=r.filter(function(e,n){return e!==ee||n===f});var m=C[f];n=("left"===x||x)&&!h?"left":("right"===x||x)&&h===C.length?"right":m?m.fixed:null;var E=(e={},(0,i.Z)(e,Q,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,i.Z)(e,"title",c),(0,i.Z)(e,"fixed",n),(0,i.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,i.Z)(e,"width",g),(0,i.Z)(e,"render",function(e,n,r){var o=d(n,r),a=u({prefixCls:t,expanded:l.has(o),expandable:!p||p(n),record:n,onExpand:s});return y?v.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a}),e);return r.map(function(e){return e===ee?E:e})}return C.filter(function(e){return e!==ee})},[a,C,d,l,u,m]),k=v.useMemo(function(){var e=E;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e},[n,E,m]),N=v.useMemo(function(){return"rtl"===m?eo(k).map(function(e){var n=e.fixed,t=(0,Z.Z)(e,et),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,f.Z)({fixed:r},t)}):eo(k)},[k,m]);return[k,N]};function el(e){var n=(0,v.useRef)(e),t=(0,v.useState)({}),r=(0,d.Z)(t,2)[1],o=(0,v.useRef)(null),a=(0,v.useRef)([]);return(0,v.useEffect)(function(){return function(){o.current=null}},[]),[n.current,function(e){a.current.push(e);var t=Promise.resolve();o.current=t,t.then(function(){if(o.current===t){var e=a.current,l=n.current;a.current=[],e.forEach(function(e){n.current=e(n.current)}),o.current=null,l!==n.current&&r({})}})}]}var ei=["columnType"],ec=function(e){for(var n=e.colWidths,t=e.columns,r=e.columCount,o=[],a=r||t.length,l=!1,i=a-1;i>=0;i-=1){var d=n[i],s=t&&t[i],u=s&&s[Q];if(d||u||l){var f=u||{},p=(f.columnType,(0,Z.Z)(f,ei));o.unshift(v.createElement("col",(0,c.Z)({key:i,style:{width:d}},p))),l=!0}}return v.createElement("colgroup",null,o)},ed=function(e){var n=e.className,t=e.children;return v.createElement("div",{className:n},t)},es=v.createContext({}),eu=["children"];function ef(e){return e.children}ef.Row=function(e){var n=e.children,t=(0,Z.Z)(e,eu);return v.createElement("tr",t,n)},ef.Cell=function(e){var n=e.className,t=e.index,r=e.children,o=e.colSpan,a=void 0===o?1:o,l=e.rowSpan,i=e.align,d=v.useContext(F),s=d.prefixCls,u=d.direction,f=v.useContext(es),p=f.scrollColumnIndex,h=f.stickyOffsets,m=f.flattenColumns,y=t+a-1+1===p?a+1:a,g=_(t,t+y-1,m,h,u);return v.createElement(z,(0,c.Z)({className:n,index:t,component:"td",prefixCls:s,record:null,dataIndex:null,align:i,colSpan:y,rowSpan:l,render:function(){return r}},g))};var ep=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=v.useContext(F).prefixCls,a=r.length-1,l=r[a],i=v.useMemo(function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null==l?void 0:l.scrollbar)?a:null}},[l,r,a,t]);return v.createElement(es.Provider,{value:i},v.createElement("tfoot",{className:"".concat(o,"-summary")},n))};function ev(e){var n,t=e.prefixCls,r=e.record,o=e.onExpand,a=e.expanded,l=e.expandable,c="".concat(t,"-row-expand-icon");return l?v.createElement("span",{className:u()(c,(n={},(0,i.Z)(n,"".concat(t,"-row-expanded"),a),(0,i.Z)(n,"".concat(t,"-row-collapsed"),!a),n)),onClick:function(e){o(r,e),e.stopPropagation()}}):v.createElement("span",{className:u()(c,"".concat(t,"-row-spaced"))})}var eh=t(64019),em=t(27678),ey=v.forwardRef(function(e,n){var t,r,o=e.scrollBodyRef,a=e.onScroll,l=e.offsetScroll,c=e.container,s=v.useContext(F).prefixCls,p=(null===(t=o.current)||void 0===t?void 0:t.scrollWidth)||0,h=(null===(r=o.current)||void 0===r?void 0:r.clientWidth)||0,m=p&&h*(h/p),y=v.useRef(),g=el({scrollLeft:0,isHiddenScrollBar:!1}),x=(0,d.Z)(g,2),C=x[0],E=x[1],Z=v.useRef({delta:0,x:0}),N=v.useState(!1),b=(0,d.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){w&&S(!1);return}var r=Z.current.x+e.pageX-Z.current.x-Z.current.delta;r<=0&&(r=0),r+m>=h&&(r=h-m),a({scrollLeft:r/h*(p+2)}),Z.current.x=e.pageX},D=function(){if(o.current){var e=(0,em.os)(o.current).top,n=e+o.current.offsetHeight,t=c===window?document.documentElement.scrollTop+window.innerHeight:(0,em.os)(c).top+c.clientHeight;n-(0,k.Z)()<=t||e>=t-l?E(function(e){return(0,f.Z)((0,f.Z)({},e),{},{isHiddenScrollBar:!0})}):E(function(e){return(0,f.Z)((0,f.Z)({},e),{},{isHiddenScrollBar:!1})})}},P=function(e){E(function(n){return(0,f.Z)((0,f.Z)({},n),{},{scrollLeft:e/p*h||0})})};return(v.useImperativeHandle(n,function(){return{setScrollLeft:P}}),v.useEffect(function(){var e=(0,eh.Z)(document.body,"mouseup",K,!1),n=(0,eh.Z)(document.body,"mousemove",O,!1);return D(),function(){e.remove(),n.remove()}},[m,w]),v.useEffect(function(){var e=(0,eh.Z)(c,"scroll",D,!1),n=(0,eh.Z)(window,"resize",D,!1);return function(){e.remove(),n.remove()}},[c]),v.useEffect(function(){C.isHiddenScrollBar||E(function(e){var n=o.current;return n?(0,f.Z)((0,f.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e})},[C.isHiddenScrollBar]),p<=h||!m||C.isHiddenScrollBar)?null:v.createElement("div",{style:{height:(0,k.Z)(),width:h,bottom:l},className:"".concat(s,"-sticky-scroll")},v.createElement("div",{onMouseDown:function(e){e.persist(),Z.current.delta=e.pageX-C.scrollLeft,Z.current.x=0,S(!0),e.preventDefault()},ref:y,className:u()("".concat(s,"-sticky-scroll-bar"),(0,i.Z)({},"".concat(s,"-sticky-scroll-bar-active"),w)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(C.scrollLeft,"px, 0, 0)")}}))}),eg=(0,t(98924).Z)()?window:null,ex=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"],eC=v.forwardRef(function(e,n){var t=e.className,r=e.noData,o=e.columns,a=e.flattenColumns,l=e.colWidths,c=e.columCount,d=e.stickyOffsets,s=e.direction,h=e.fixHeader,m=e.stickyTopOffset,y=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,C=e.maxContentScroll,E=e.children,k=(0,Z.Z)(e,ex),b=v.useContext(F),w=b.prefixCls,S=b.scrollbarSize,K=b.isSticky,O=K&&!h?0:S,D=v.useRef(null),P=v.useCallback(function(e){(0,N.mH)(n,e),(0,N.mH)(D,e)},[]);v.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=D.current)||void 0===e||e.addEventListener("wheel",n),function(){var e;null===(e=D.current)||void 0===e||e.removeEventListener("wheel",n)}},[]);var R=v.useMemo(function(){return a.every(function(e){return e.width>=0})},[a]),M=a[a.length-1],L={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(w,"-cell-scrollbar")}}},T=(0,v.useMemo)(function(){return O?[].concat((0,p.Z)(o),[L]):o},[O,o]),I=(0,v.useMemo)(function(){return O?[].concat((0,p.Z)(a),[L]):a},[O,a]),A=(0,v.useMemo)(function(){var e=d.right,n=d.left;return(0,f.Z)((0,f.Z)({},d),{},{left:"rtl"===s?[].concat((0,p.Z)(n.map(function(e){return e+O})),[0]):n,right:"rtl"===s?e:[].concat((0,p.Z)(e.map(function(e){return e+O})),[0]),isSticky:K})},[O,d,K]),H=(0,v.useMemo)(function(){for(var e=[],n=0;n0)):(e0(o>0),e4(on.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},e5=v.forwardRef(function(e,n){var t,r=v.useContext(eQ),o=v.useContext(e1),a=v.useContext(eS.E_),l=a.getPrefixCls,d=a.direction,s=v.useRef(),f=(0,N.sQ)(n,s),p=(0,v.useContext)(e8.aM).isFormItemInput,h=e.prefixCls,m=e.className,y=e.children,g=e.style,x=e.disabled,C=e6(e,["prefixCls","className","children","style","disabled"]),E=l("radio",h),k="button"===((null==r?void 0:r.optionType)||o)?"".concat(E,"-button"):E,Z=(0,c.Z)({},C),b=v.useContext(e4.Z);Z.disabled=x||b,r&&(Z.name=r.name,Z.onChange=function(n){var t,o;null===(t=e.onChange)||void 0===t||t.call(e,n),null===(o=null==r?void 0:r.onChange)||void 0===o||o.call(r,n)},Z.checked=e.value===r.value,Z.disabled=Z.disabled||r.disabled);var w=u()("".concat(k,"-wrapper"),(t={},(0,i.Z)(t,"".concat(k,"-wrapper-checked"),Z.checked),(0,i.Z)(t,"".concat(k,"-wrapper-disabled"),Z.disabled),(0,i.Z)(t,"".concat(k,"-wrapper-rtl"),"rtl"===d),(0,i.Z)(t,"".concat(k,"-wrapper-in-form-item"),p),t),m);return v.createElement("label",{className:w,style:g,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},v.createElement(e3.Z,(0,c.Z)({},Z,{type:"radio",prefixCls:k,ref:f})),void 0!==y?v.createElement("span",null,y):null)}),e7=v.forwardRef(function(e,n){var t,r=v.useContext(eS.E_),o=r.getPrefixCls,a=r.direction,l=v.useContext(eO.Z),s=(0,e$.Z)(e.defaultValue,{value:e.value}),f=(0,d.Z)(s,2),p=f[0],h=f[1],m=e.prefixCls,y=e.className,g=e.options,x=e.buttonStyle,C=e.disabled,E=e.children,k=e.size,Z=e.style,N=e.id,b=e.onMouseEnter,w=e.onMouseLeave,S=e.onFocus,K=e.onBlur,O=o("radio",m),D="".concat(O,"-group"),P=E;g&&g.length>0&&(P=g.map(function(e){return"string"==typeof e||"number"==typeof e?v.createElement(e5,{key:e.toString(),prefixCls:O,disabled:C,value:e,checked:p===e},e):v.createElement(e5,{key:"radio-group-value-options-".concat(e.value),prefixCls:O,disabled:e.disabled||C,value:e.value,checked:p===e.value,style:e.style},e.label)}));var R=k||l,M=u()(D,"".concat(D,"-").concat(void 0===x?"outline":x),(t={},(0,i.Z)(t,"".concat(D,"-").concat(R),R),(0,i.Z)(t,"".concat(D,"-rtl"),"rtl"===a),t),void 0===y?"":y);return v.createElement("div",(0,c.Z)({},(0,eJ.Z)(e),{className:M,style:Z,onMouseEnter:b,onMouseLeave:w,onFocus:S,onBlur:K,id:N,ref:n}),v.createElement(e0,{value:{onChange:function(n){var t=n.target.value;"value"in e||h(t);var r=e.onChange;r&&t!==p&&r(n)},value:p,disabled:e.disabled,name:e.name,optionType:e.optionType}},P))}),e9=v.memo(e7),ne=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},nn=v.forwardRef(function(e,n){var t=v.useContext(eS.E_).getPrefixCls,r=e.prefixCls,o=ne(e,["prefixCls"]),a=t("radio",r);return v.createElement(e2,{value:"button"},v.createElement(e5,(0,c.Z)({prefixCls:a},o,{type:"radio",ref:n})))}),nt=e5;nt.Button=nn,nt.Group=e9,nt.__ANT_RADIO=!0;var nr=t(15671),no=t(43144),na=t(97326),nl=t(60136),ni=t(33643),nc=t(15105),nd=v.createContext(null),ns=v.memo(function(e){for(var n,t=e.prefixCls,r=e.level,o=e.isStart,a=e.isEnd,l="".concat(t,"-indent-unit"),c=[],d=0;d1&&void 0!==arguments[1]?arguments[1]:null;return t.map(function(d,s){for(var u,v=nS(r?r.pos:"0",s),h=nf(d[a],v),m=0;m1&&void 0!==arguments[1]?arguments[1]:{},v=f.initWrapper,h=f.processEntity,m=f.onProcessFinished,y=f.externalGetKey,g=f.childrenPropName,x=f.fieldNames,C=arguments.length>2?arguments[2]:void 0,E={},k={},Z={posEntities:E,keyEntities:k};return v&&(Z=v(Z)||Z),n=function(e){var n=e.node,t=e.index,r=e.pos,o=e.key,a=e.parentPos,l=e.level,i={node:n,nodes:e.nodes,index:t,key:o,pos:r,level:l},c=nf(o,r);E[r]=i,k[c]=i,i.parent=E[a],i.parent&&(i.parent.children=i.parent.children||[],i.parent.children.push(i)),h&&h(i,Z)},t={externalGetKey:y||C,childrenPropName:g,fieldNames:x},a=(o=("object"===(0,l.Z)(t)?t:{externalGetKey:t})||{}).childrenPropName,i=o.externalGetKey,d=(c=np(o.fieldNames)).key,s=c.children,u=a||s,i?"string"==typeof i?r=function(e){return e[i]}:"function"==typeof i&&(r=function(e){return i(e)}):r=function(e,n){return nf(e[d],n)},function t(o,a,l,i){var c=o?o[u]:e,d=o?nS(l.pos,a):"0",s=o?[].concat((0,p.Z)(i),[o]):[];if(o){var f=r(o,d);n({node:o,index:a,pos:d,key:f,parentPos:l.node?l.pos:null,level:l.level+1,nodes:s})}c&&c.forEach(function(e,n){t(e,n,{node:o,pos:d,level:l?l.level+1:-1},s)})}(null),m&&m(Z),Z}function ny(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 ng(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,u=e.pos,p=e.active,v=e.eventKey,h=(0,f.Z)((0,f.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:l,halfChecked:i,dragOver:c,dragOverGapTop:d,dragOverGapBottom:s,pos:u,active:p,key:v});return"props"in h||Object.defineProperty(h,"props",{get:function(){return(0,C.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),h}var nx=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],nC="open",nE="close",nk=function(e){(0,nl.Z)(t,e);var n=(0,ni.Z)(t);function t(){var e;(0,nr.Z)(this,t);for(var r=arguments.length,o=Array(r),a=0;a=0&&t.splice(r,1),t}function nb(e,n){var t=(e||[]).slice();return -1===t.indexOf(n)&&t.push(n),t}function nw(e){return e.split("-")}function nS(e,n){return"".concat(e,"-").concat(n)}function nK(e,n,t,r,o,a,l,i,c,d){var s,u,f=e.clientX,p=e.clientY,v=e.target.getBoundingClientRect(),h=v.top,m=v.height,y=(("rtl"===d?-1:1)*(((null==o?void 0:o.x)||0)-f)-12)/r,g=i[t.props.eventKey];if(p-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:g.key,dropTargetPos:g.pos,dragOverNodeKey:k,dropContainerKey:0===Z?null:(null===(u=g.parent)||void 0===u?void 0:u.key)||null,dropAllowed:K}}function nO(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function nD(e){var n;if(!e)return null;if(Array.isArray(e))n={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,l.Z)(e))return(0,C.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 nP(e,n){var t=new Set;return(e||[]).forEach(function(e){!function e(r){if(!t.has(r)){var o=n[r];if(o){t.add(r);var a=o.parent;!o.node.disabled&&a&&e(a.key)}}}(e)}),(0,p.Z)(t)}function nR(e){if(null==e)throw TypeError("Cannot destructure "+e)}nZ.displayName="TreeNode",nZ.defaultProps={title:"---"},nZ.isTreeNode=1;var nM=t(73453),nL=t(62874),nT=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],nI=function(e,n){var t=e.className,r=e.style,o=e.motion,a=e.motionNodes,l=e.motionType,i=e.onMotionStart,s=e.onMotionEnd,f=e.active,p=e.treeNodeRequiredProps,h=(0,Z.Z)(e,nT),m=v.useState(!0),y=(0,d.Z)(m,2),g=y[0],x=y[1],C=v.useContext(nd).prefixCls,E=v.useRef(!1),k=function(){E.current||s(),E.current=!0};return((0,v.useEffect)(function(){a&&"hide"===l&&g&&x(!1)},[a]),(0,v.useEffect)(function(){return a&&i(),function(){a&&k()}},[]),a)?v.createElement(nL.Z,(0,c.Z)({ref:n,visible:g},o,{motionAppear:"show"===l,onAppearEnd:k,onLeaveEnd:k}),function(e,n){var t=e.className,r=e.style;return v.createElement("div",{ref:n,className:u()("".concat(C,"-treenode-motion"),t),style:r},a.map(function(e){var n=(0,c.Z)({},(nR(e.data),e.data)),t=e.title,r=e.key,o=e.isStart,a=e.isEnd;delete n.children;var l=ny(r,p);return v.createElement(nZ,(0,c.Z)({},n,l,{title:t,active:f,data:e.data,key:r,isStart:o,isEnd:a}))}))}):v.createElement(nZ,(0,c.Z)({domRef:n,className:t,style:r},h,{active:f}))};nI.displayName="MotionTreeNode";var nA=v.forwardRef(nI);function nH(e,n,t){var r=e[e.findIndex(function(e){return e.key===t})+1],o=n.findIndex(function(e){return e.key===t});if(r){var a=n.findIndex(function(e){return e.key===r.key});return n.slice(o+1,a)}return n.slice(o+1)}var nz=["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"],nF={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},n_=function(){},nj="RC_TREE_MOTION_".concat(Math.random()),nB={key:nj},nV={key:nj,level:0,index:0,pos:"0",node:nB,nodes:[nB]},nW={parent:null,children:[],pos:nV.pos,data:nB,title:null,key:nj,isStart:[],isEnd:[]};function nU(e,n,t,r){return!1!==n&&t?e.slice(0,Math.ceil(t/r)+1):e}function nG(e){return nf(e.key,e.pos)}var nX=v.forwardRef(function(e,n){var t=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),a=e.selectedKeys,l=e.checkedKeys,i=e.loadedKeys,s=e.loadingKeys,u=e.halfCheckedKeys,f=e.keyEntities,p=e.disabled,h=e.dragging,m=e.dragOverNodeKey,y=e.dropPosition,g=e.motion,x=e.height,C=e.itemHeight,E=e.virtual,k=e.focusable,N=e.activeItem,b=e.focused,w=e.tabIndex,S=e.onKeyDown,K=e.onFocus,O=e.onBlur,D=e.onActiveChange,P=e.onListChangeStart,R=e.onListChangeEnd,M=(0,Z.Z)(e,nz),L=v.useRef(null),T=v.useRef(null);v.useImperativeHandle(n,function(){return{scrollTo:function(e){L.current.scrollTo(e)},getIndentWidth:function(){return T.current.offsetWidth}}});var I=v.useState(o),A=(0,d.Z)(I,2),H=A[0],z=A[1],F=v.useState(r),_=(0,d.Z)(F,2),j=_[0],B=_[1],V=v.useState(r),W=(0,d.Z)(V,2),U=W[0],G=W[1],X=v.useState([]),q=(0,d.Z)(X,2),Y=q[0],$=q[1],J=v.useState(null),Q=(0,d.Z)(J,2),ee=Q[0],en=Q[1],et=v.useRef(r);function er(){var e=et.current;B(e),G(e),$([]),en(null),R()}et.current=r,v.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)),v.createElement("div",null,v.createElement("input",{style:nF,disabled:!1===k||p,tabIndex:!1!==k?w:null,onKeyDown:S,onFocus:K,onBlur:O,value:"",onChange:n_,"aria-label":"for screen reader"})),v.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},v.createElement("div",{className:"".concat(t,"-indent")},v.createElement("div",{ref:T,className:"".concat(t,"-indent-unit")}))),v.createElement(nM.Z,(0,c.Z)({},M,{data:g?U:r,itemKey:nG,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 nG(e)===nj})&&er()}}),function(e){var n=e.pos,t=(0,c.Z)({},(nR(e.data),e.data)),r=e.title,o=e.key,a=e.isStart,l=e.isEnd,i=nf(o,n);delete t.key,delete t.children;var d=ny(i,eo);return v.createElement(nA,(0,c.Z)({},t,d,{title:r,active:!!N&&o===N.key,pos:n,data:e.data,isStart:a,isEnd:l,motion:g,motionNodes:o===nj?Y:null,motionType:ee,onMotionStart:P,onMotionEnd:er,treeNodeRequiredProps:eo,onMouseMove:function(){D(null)}}))}))});function nq(e,n){var t=new Set;return e.forEach(function(e){n.has(e)||t.add(e)}),t}function nY(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!!(t||r)||!1===o}function n$(e,n,t,r){var o,a=[];o=r||nY;var l=new Set(e.filter(function(e){var n=!!t[e];return n||a.push(e),n})),i=new Map,c=0;return Object.keys(t).forEach(function(e){var n=t[e],r=n.level,o=i.get(r);o||(o=new Set,i.set(r,o)),o.add(n),c=Math.max(c,r)}),(0,C.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!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;if(!(r(e.node)||!e.parent||i.has(e.parent.key))){if(r(e.parent.node)){i.add(n.key);return}var t=!0,l=!1;(n.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var n=e.key,r=o.has(n);t&&!r&&(t=!1),!l&&(r||a.has(n))&&(l=!0)}),t&&o.add(n.key),l&&a.add(n.key),i.add(n.key)}});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(nq(a,o))}}(l,i,c,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;if(!(o(e.node)||!e.parent||c.has(e.parent.key))){if(o(e.parent.node)){c.add(n.key);return}var t=!0,r=!1;(n.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var n=e.key,o=a.has(n);t&&!o&&(t=!1),!r&&(o||l.has(n))&&(r=!0)}),t||a.delete(n.key),r&&l.add(n.key),c.add(n.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(nq(l,a))}}(l,n.halfCheckedKeys,i,c,o)}nX.displayName="NodeList";var nJ=function(e){(0,nl.Z)(t,e);var n=(0,ni.Z)(t);function t(){var e;(0,nr.Z)(this,t);for(var r=arguments.length,o=Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:[];n.forEach(function(n){var t=n.key,o=n.children;r.push(t),e(o)})}(l[c].children),r),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(d),window.addEventListener("dragend",e.onWindowDragEnd),null==i||i({event:n,node:ng(t.props)})},e.onNodeDragEnter=function(n,t){var r=e.state,o=r.expandedKeys,a=r.keyEntities,l=r.dragChildrenKeys,i=r.flattenNodes,c=r.indent,d=e.props,s=d.onDragEnter,u=d.onExpand,f=d.allowDrop,v=d.direction,h=t.props,m=h.pos,y=h.eventKey,g=(0,na.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==y&&(e.currentMouseOverDroppableNodeKey=y),!g){e.resetDragState();return}var x=nK(n,g,t,c,e.dragStartMousePosition,f,i,a,o,v),C=x.dropPosition,E=x.dropLevelOffset,k=x.dropTargetKey,Z=x.dropContainerKey,N=x.dropTargetPos,b=x.dropAllowed,w=x.dragOverNodeKey;if(-1!==l.indexOf(k)||!b||(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach(function(n){clearTimeout(e.delayedDragEnterLogic[n])}),g.props.eventKey!==t.props.eventKey&&(n.persist(),e.delayedDragEnterLogic[m]=window.setTimeout(function(){if(null!==e.state.draggingNodeKey){var r=(0,p.Z)(o),l=a[t.props.eventKey];l&&(l.children||[]).length&&(r=nb(o,t.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(r),null==u||u(r,{node:ng(t.props),expanded:!0,nativeEvent:n.nativeEvent})}},800)),g.props.eventKey===k&&0===E)){e.resetDragState();return}e.setState({dragOverNodeKey:w,dropPosition:C,dropLevelOffset:E,dropTargetKey:k,dropContainerKey:Z,dropTargetPos:N,dropAllowed:b}),null==s||s({event:n,node:ng(t.props),expandedKeys:o})},e.onNodeDragOver=function(n,t){var r=e.state,o=r.dragChildrenKeys,a=r.flattenNodes,l=r.keyEntities,i=r.expandedKeys,c=r.indent,d=e.props,s=d.onDragOver,u=d.allowDrop,f=d.direction,p=(0,na.Z)(e).dragNode;if(p){var v=nK(n,p,t,c,e.dragStartMousePosition,u,a,l,i,f),h=v.dropPosition,m=v.dropLevelOffset,y=v.dropTargetKey,g=v.dropContainerKey,x=v.dropAllowed,C=v.dropTargetPos,E=v.dragOverNodeKey;-1===o.indexOf(y)&&x&&(p.props.eventKey===y&&0===m?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():h===e.state.dropPosition&&m===e.state.dropLevelOffset&&y===e.state.dropTargetKey&&g===e.state.dropContainerKey&&C===e.state.dropTargetPos&&x===e.state.dropAllowed&&E===e.state.dragOverNodeKey||e.setState({dropPosition:h,dropLevelOffset:m,dropTargetKey:y,dropContainerKey:g,dropTargetPos:C,dropAllowed:x,dragOverNodeKey:E}),null==s||s({event:n,node:ng(t.props)}))}},e.onNodeDragLeave=function(n,t){e.currentMouseOverDroppableNodeKey!==t.props.eventKey||n.currentTarget.contains(n.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var r=e.props.onDragLeave;null==r||r({event:n,node:ng(t.props)})},e.onWindowDragEnd=function(n){e.onNodeDragEnd(n,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDragEnd=function(n,t){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==r||r({event:n,node:ng(t.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDrop=function(n,t){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.state,l=a.dragChildrenKeys,i=a.dropPosition,c=a.dropTargetKey,d=a.dropTargetPos;if(a.dropAllowed){var s=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var u=(0,f.Z)((0,f.Z)({},ny(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:e.state.keyEntities[c].node}),p=-1!==l.indexOf(c);(0,C.ZP)(!p,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var v=nw(d),h={event:n,node:ng(u),dragNode:e.dragNode?ng(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(l),dropToGap:0!==i,dropPosition:i+Number(v[v.length-1])};o||null==s||s(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],d=ng((0,f.Z)((0,f.Z)({},ny(i,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(l?nN(o,i):nb(o,i)),e.onNodeExpand(n,d)}},e.onNodeClick=function(n,t){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(n,t),null==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||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?nb(r,u):[u]:nN(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||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,f=t.key,v={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(s){var h=r?nb(i,f):nN(i,f);o={checked:h,halfChecked:nN(c,f)},v.checkedNodes=h.map(function(e){return l[e]}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:h})}else{var m=n$([].concat((0,p.Z)(i),[f]),!0,l),y=m.checkedKeys,g=m.halfCheckedKeys;if(!r){var x=new Set(y);x.delete(f);var C=n$(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||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=a.loadingKeys,c=void 0===i?[]:i,d=e.props,s=d.loadData,u=d.onLoad;return s&&-1===(void 0===l?[]:l).indexOf(t)&&-1===c.indexOf(t)?(s(n).then(function(){var o=nb(e.state.loadedKeys,t);null==u||u(o,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:o}),e.setState(function(e){return{loadingKeys:nN(e.loadingKeys,t)}}),r()}).catch(function(n){if(e.setState(function(e){return{loadingKeys:nN(e.loadingKeys,t)}}),e.loadingRetryTimes[t]=(e.loadingRetryTimes[t]||0)+1,e.loadingRetryTimes[t]>=10){var a=e.state.loadedKeys;(0,C.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:nb(a,t)}),r()}o(n)}),{loadingKeys:nb(c,t)}):null})});return r.catch(function(){}),r},e.onNodeMouseEnter=function(n,t){var r=e.props.onMouseEnter;null==r||r({event:n,node:t})},e.onNodeMouseLeave=function(n,t){var r=e.props.onMouseLeave;null==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=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){if(t in e.props){a=!1;return}o=!0,l[t]=n[t]}),o&&(!t||a)&&e.setState((0,f.Z)((0,f.Z)({},l),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,no.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,r=t.focused,o=t.flattenNodes,a=t.keyEntities,d=t.draggingNodeKey,s=t.activeKey,f=t.dropLevelOffset,p=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=C.selectable,K=C.showIcon,O=C.icon,D=C.switcherIcon,P=C.draggable,R=C.checkable,M=C.checkStrictly,L=C.disabled,T=C.motion,I=C.loadData,A=C.filterTreeNode,H=C.height,z=C.itemHeight,F=C.virtual,_=C.titleRender,j=C.dropIndicatorRender,B=C.onContextMenu,V=C.onScroll,W=C.direction,U=C.rootClassName,G=C.rootStyle,X=(0,m.Z)(this.props,{aria:!0,data:!0});return P&&(n="object"===(0,l.Z)(P)?P:"function"==typeof P?{nodeDraggable:P}:{}),v.createElement(nd.Provider,{value:{prefixCls:E,selectable:S,showIcon:K,icon:O,switcherIcon:D,draggable:n,draggingNodeKey:d,checkable:R,checkStrictly:M,disabled:L,keyEntities:a,dropLevelOffset:f,dropContainerKey:p,dropTargetKey:h,dropPosition:y,dragOverNodeKey:g,indent:x,direction:W,dropIndicatorRender:j,loadData:I,filterTreeNode:A,titleRender:_,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}},v.createElement("div",{role:"tree",className:u()(E,k,U,(e={},(0,i.Z)(e,"".concat(E,"-show-line"),N),(0,i.Z)(e,"".concat(E,"-focused"),r),(0,i.Z)(e,"".concat(E,"-active-focused"),null!==s),e)),style:G},v.createElement(nX,(0,c.Z)({ref:this.listRef,prefixCls:E,style:Z,data:o,disabled:L,selectable:S,checkable:!!R,motion:T,dragging:null!==d,height:H,itemHeight:z,virtual:F,focusable:b,focused:r,tabIndex:void 0===w?0:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:B,onScroll:V},this.getTreeNodeRequiredProps(),X))))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t,r,o=n.prevProps,a={prevProps:e};function l(n){return!o&&n in e||o&&o[n]!==e[n]}var c=n.fieldNames;if(l("fieldNames")&&(c=np(e.fieldNames),a.fieldNames=c),l("treeData")?t=e.treeData:l("children")&&((0,C.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=nv(e.children)),t){a.treeData=t;var d=nm(t,{fieldNames:c});a.keyEntities=(0,f.Z)((0,i.Z)({},nj,nV),d.keyEntities)}var s=a.keyEntities||n.keyEntities;if(l("expandedKeys")||o&&l("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!o&&e.defaultExpandParent?nP(e.expandedKeys,s):e.expandedKeys;else if(!o&&e.defaultExpandAll){var u=(0,f.Z)({},s);delete u[nj],a.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!o&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?nP(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var p=nh(t||n.treeData,a.expandedKeys||n.expandedKeys,c);a.flattenNodes=p}if(e.selectable&&(l("selectedKeys")?a.selectedKeys=nO(e.selectedKeys,e):!o&&e.defaultSelectedKeys&&(a.selectedKeys=nO(e.defaultSelectedKeys,e))),e.checkable&&(l("checkedKeys")?r=nD(e.checkedKeys)||{}:!o&&e.defaultCheckedKeys?r=nD(e.defaultCheckedKeys)||{}:t&&(r=nD(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),r)){var v=r,h=v.checkedKeys,m=void 0===h?[]:h,y=v.halfCheckedKeys,g=void 0===y?[]:y;if(!e.checkStrictly){var x=n$(m,!0,s);m=x.checkedKeys,g=x.halfCheckedKeys}a.checkedKeys=m,a.halfCheckedKeys=g}return l("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(v.Component);nJ.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 v.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},nJ.TreeNode=nZ;var nQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},n0=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:nQ}))};n0.displayName="HolderOutlined";var n1=v.forwardRef(n0),n2=t(33603);function n3(e){var n,t=e.dropPosition,r=e.dropLevelOffset,o=e.prefixCls,a=e.indent,l=e.direction,c=void 0===l?"ltr":l,d="ltr"===c?"left":"right",s=(n={},(0,i.Z)(n,d,-r*a+4),(0,i.Z)(n,"ltr"===c?"right":"left",0),n);switch(t){case -1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[d]=a+4}return v.createElement("div",{style:s,className:"".concat(o,"-drop-indicator")})}var n4={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},n8=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:n4}))};n8.displayName="CaretDownFilled";var n6=v.forwardRef(n8),n5={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"},n7=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:n5}))};n7.displayName="FileOutlined";var n9=v.forwardRef(n7),te=t(50888),tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{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"}}]},name:"minus-square",theme:"outlined"},tt=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:tn}))};tt.displayName="MinusSquareOutlined";var tr=v.forwardRef(tt),to={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{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"}}]},name:"plus-square",theme:"outlined"},ta=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:to}))};ta.displayName="PlusSquareOutlined";var tl=v.forwardRef(ta),ti=t(96159),tc=v.forwardRef(function(e,n){var t,r=v.useContext(eS.E_),o=r.getPrefixCls,a=r.direction,d=r.virtual,s=e.prefixCls,f=e.className,p=e.showIcon,h=void 0!==p&&p,m=e.showLine,y=e.switcherIcon,g=e.blockNode,x=void 0!==g&&g,C=e.children,E=e.checkable,k=void 0!==E&&E,Z=e.selectable,N=void 0===Z||Z,b=e.draggable,w=e.motion,S=void 0===w?(0,c.Z)((0,c.Z)({},n2.ZP),{motionAppear:!1}):w,K=o("tree",s),O=(0,c.Z)((0,c.Z)({},e),{checkable:k,selectable:N,showIcon:h,motion:S,blockNode:x,showLine:Boolean(m),dropIndicatorRender:n3}),D=v.useMemo(function(){if(!b)return!1;var e={};switch((0,l.Z)(b)){case"function":e.nodeDraggable=b;break;case"object":e=(0,c.Z)({},b)}return!1!==e.icon&&(e.icon=e.icon||v.createElement(n1,null)),e},[b]);return v.createElement(nJ,(0,c.Z)({itemHeight:20,ref:n,virtual:d},O,{prefixCls:K,className:u()((t={},(0,i.Z)(t,"".concat(K,"-icon-hide"),!h),(0,i.Z)(t,"".concat(K,"-block-node"),x),(0,i.Z)(t,"".concat(K,"-unselectable"),!N),(0,i.Z)(t,"".concat(K,"-rtl"),"rtl"===a),t),f),direction:a,checkable:k?v.createElement("span",{className:"".concat(K,"-checkbox-inner")}):k,selectable:N,switcherIcon:function(e){return function(e,n,t,r){var o,a=r.isLeaf,i=r.expanded;if(r.loading)return v.createElement(te.Z,{className:"".concat(e,"-switcher-loading-icon")});if(t&&"object"===(0,l.Z)(t)&&(o=t.showLeafIcon),a){if(!t)return null;if("boolean"!=typeof o&&o){var c="function"==typeof o?o(r):o;return(0,ti.l$)(c)?(0,ti.Tm)(c,{className:u()(c.props.className||"","".concat(e,"-switcher-line-custom-icon"))}):c}return o?v.createElement(n9,{className:"".concat(e,"-switcher-line-icon")}):v.createElement("span",{className:"".concat(e,"-switcher-leaf-line")})}var d="".concat(e,"-switcher-icon"),s="function"==typeof n?n(r):n;return(0,ti.l$)(s)?(0,ti.Tm)(s,{className:u()(s.props.className||"",d)}):s||(t?i?v.createElement(tr,{className:"".concat(e,"-switcher-line-icon")}):v.createElement(tl,{className:"".concat(e,"-switcher-line-icon")}):v.createElement(n6,{className:d}))}(K,y,m,e)},draggable:D}),C)}),td={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"},ts=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:td}))};ts.displayName="FolderOpenOutlined";var tu=v.forwardRef(ts),tf={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"},tp=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:tf}))};tp.displayName="FolderOutlined";var tv=v.forwardRef(tp);function th(e,n){e.forEach(function(e){var t=e.key,r=e.children;!1!==n(t,e)&&th(r||[],n)})}function tm(e,n){var t=(0,p.Z)(n),r=[];return th(e,function(e,n){var o=t.indexOf(e);return -1!==o&&(r.push(n),t.splice(o,1)),!!t.length}),r}(o=a||(a={}))[o.None=0]="None",o[o.Start=1]="Start",o[o.End=2]="End";var ty=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t};function tg(e){var n=e.isLeaf,t=e.expanded;return n?v.createElement(n9,null):t?v.createElement(tu,null):v.createElement(tv,null)}function tx(e){var n=e.treeData,t=e.children;return n||nv(t)}var tC=v.forwardRef(function(e,n){var t=e.defaultExpandAll,r=e.defaultExpandParent,o=e.defaultExpandedKeys,l=ty(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),s=v.useRef(),f=v.useRef(),h=function(){var e=nm(tx(l)).keyEntities;return t?Object.keys(e):r?nP(l.expandedKeys||o||[],e):l.expandedKeys||o},m=v.useState(l.selectedKeys||l.defaultSelectedKeys||[]),y=(0,d.Z)(m,2),g=y[0],x=y[1],C=v.useState(function(){return h()}),E=(0,d.Z)(C,2),k=E[0],Z=E[1];v.useEffect(function(){"selectedKeys"in l&&x(l.selectedKeys)},[l.selectedKeys]),v.useEffect(function(){"expandedKeys"in l&&Z(l.expandedKeys)},[l.expandedKeys]);var N=v.useContext(eS.E_),b=N.getPrefixCls,w=N.direction,S=l.prefixCls,K=l.className,O=l.showIcon,D=l.expandAction,P=ty(l,["prefixCls","className","showIcon","expandAction"]),R=b("tree",S),M=u()("".concat(R,"-directory"),(0,i.Z)({},"".concat(R,"-directory-rtl"),"rtl"===w),K);return v.createElement(tc,(0,c.Z)({icon:tg,ref:n,blockNode:!0},P,{showIcon:void 0===O||O,expandAction:void 0===D?"click":D,prefixCls:R,className:M,expandedKeys:k,selectedKeys:g,onSelect:function(e,n){var t,r,o,i,d,u,v,h,m,y=l.multiple,g=n.node,C=n.nativeEvent,E=g.key,Z=void 0===E?"":E,N=tx(l),b=(0,c.Z)((0,c.Z)({},n),{selected:!0}),w=(null==C?void 0:C.ctrlKey)||(null==C?void 0:C.metaKey),S=null==C?void 0:C.shiftKey;y&&w?(m=e,s.current=Z,f.current=m,b.selectedNodes=tm(N,m)):y&&S?(m=Array.from(new Set([].concat((0,p.Z)(f.current||[]),(0,p.Z)((r=(t={treeData:N,expandedKeys:k,startKey:Z,endKey:s.current}).treeData,o=t.expandedKeys,i=t.startKey,d=t.endKey,u=[],v=a.None,i&&i===d?[i]:i&&d?(th(r,function(e){if(v===a.End)return!1;if(e===i||e===d){if(u.push(e),v===a.None)v=a.Start;else if(v===a.Start)return v=a.End,!1}else v===a.Start&&u.push(e);return o.includes(e)}),u):[]))))),b.selectedNodes=tm(N,m)):(m=[Z],s.current=Z,f.current=m,b.selectedNodes=tm(N,m)),null===(h=l.onSelect)||void 0===h||h.call(l,m,b),"selectedKeys"in l||x(m)},onExpand:function(e,n){var t;return"expandedKeys"in l||Z(e),null===(t=l.onExpand)||void 0===t?void 0:t.call(l,e,n)}}))}),tE=tc;tE.DirectoryTree=tC,tE.TreeNode=nZ;var tk=t(57838),tZ=t(68795),tN=t(69677),tb=function(e){var n=e.value,t=e.onChange,r=e.filterSearch,o=e.tablePrefixCls,a=e.locale;return r?v.createElement("div",{className:"".concat(o,"-filter-dropdown-search")},v.createElement(tN.Z,{prefix:v.createElement(tZ.Z,null),placeholder:a.filterSearchPlaceholder,onChange:t,value:n,htmlSize:1,className:"".concat(o,"-filter-dropdown-search-input")})):null},tw=function(e){e.keyCode===nc.Z.ENTER&&e.stopPropagation()},tS=function(e){return v.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()},onKeyDown:tw},e.children)};function tK(e,n){return("string"==typeof n||"number"==typeof n)&&(null==n?void 0:n.toString().toLowerCase().includes(e.trim().toLowerCase()))}var tO=function(e){var n,t,r,o,a,l,s=e.tablePrefixCls,f=e.prefixCls,p=e.column,h=e.dropdownPrefixCls,m=e.columnKey,y=e.filterMultiple,g=e.filterMode,x=e.filterSearch,C=void 0!==x&&x,E=e.filterState,k=e.triggerFilter,Z=e.locale,N=e.children,b=e.getPopupContainer,w=p.filterDropdownOpen,S=p.onFilterDropdownOpenChange,K=p.filterDropdownVisible,O=p.onFilterDropdownVisibleChange,D=p.filterResetToDefaultFilteredValue,P=p.defaultFilteredValue,R=v.useState(!1),M=(0,d.Z)(R,2),L=M[0],T=M[1],I=!!(E&&((null===(r=E.filteredKeys)||void 0===r?void 0:r.length)||E.forceFiltered)),A=function(e){T(e),null==S||S(e),null==O||O(e)};o="boolean"==typeof w?w:"boolean"==typeof K?K:L;var H=null==E?void 0:E.filteredKeys,z=(n=v.useRef(H||[]),t=(0,tk.Z)(),[function(){return n.current},function(e){n.current=e,t()}]),F=(0,d.Z)(z,2),_=F[0],j=F[1],B=function(e){j(e.selectedKeys)};v.useEffect(function(){L&&B({selectedKeys:H||[]})},[H]);var V=v.useState([]),W=(0,d.Z)(V,2),U=W[0],G=W[1],X=v.useState(""),q=(0,d.Z)(X,2),Y=q[0],$=q[1],J=function(e){$(e.target.value)};v.useEffect(function(){L||$("")},[L]);var Q=function(e){var n=e&&e.length?e:null;if(null===n&&(!E||!E.filteredKeys)||eV()(n,null==E?void 0:E.filteredKeys))return null;k({column:p,key:m,filteredKeys:n})},ee=function(){A(!1),Q(_())},en=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},n=e.confirm,t=e.closeDropdown;n&&Q([]),t&&A(!1),$(""),D?j((P||[]).map(function(e){return String(e)})):j([])},et=u()((0,i.Z)({},"".concat(h,"-menu-without-submenu"),!(p.filters||[]).some(function(e){return e.children}))),er=function e(n){var t;return(0,c.Z)((0,c.Z)({},n),{text:n.title,value:n.key,children:(null===(t=n.children)||void 0===t?void 0:t.map(function(n){return e(n)}))||[]})};if("function"==typeof p.filterDropdown)a=p.filterDropdown({prefixCls:"".concat(h,"-custom"),setSelectedKeys:function(e){return B({selectedKeys:e})},selectedKeys:_(),confirm:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e.closeDropdown&&A(!1),Q(_())},clearFilters:en,filters:p.filters,visible:o,close:function(){A(!1)}});else if(p.filterDropdown)a=p.filterDropdown;else{var eo=_()||[];a=v.createElement(v.Fragment,null,0===(p.filters||[]).length?v.createElement(eX.Z,{image:eX.Z.PRESENTED_IMAGE_SIMPLE,description:Z.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===(void 0===g?"menu":g)?v.createElement(v.Fragment,null,v.createElement(tb,{filterSearch:C,value:Y,onChange:J,tablePrefixCls:s,locale:Z}),v.createElement("div",{className:"".concat(s,"-filter-dropdown-tree")},y?v.createElement(eU.Z,{checked:eo.length===tP(p.filters).length,indeterminate:eo.length>0&&eo.lengthn.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},tI=t(84506),tA=t(80882),tH={},tz="SELECT_ALL",tF="SELECT_INVERT",t_="SELECT_NONE",tj=[],tB=t(39398),tV=t(10010),tW=t(94199),tU="ascend",tG="descend";function tX(e){return"object"===(0,l.Z)(e.sorter)&&"number"==typeof e.sorter.multiple&&e.sorter.multiple}function tq(e){return"function"==typeof e?e:!!e&&"object"===(0,l.Z)(e)&&!!e.compare&&e.compare}function tY(e,n,t){var r=[];function o(e,n){r.push({column:e,key:eI(e,n),multiplePriority:tX(e),sortOrder:e.sortOrder})}return(e||[]).forEach(function(e,a){var l=eA(a,t);e.children?("sortOrder"in e&&o(e,l),r=[].concat((0,p.Z)(r),(0,p.Z)(tY(e.children,n,l)))):e.sorter&&("sortOrder"in e?o(e,l):n&&e.defaultSortOrder&&r.push({column:e,key:eI(e,l),multiplePriority:tX(e),sortOrder:e.defaultSortOrder}))}),r}function t$(e){var n=e.column;return{column:n,order:e.sortOrder,field:n.dataIndex,columnKey:n.key}}function tJ(e){var n=e.filter(function(e){return e.sortOrder}).map(t$);return 0===n.length&&e.length?(0,c.Z)((0,c.Z)({},t$(e[e.length-1])),{column:void 0}):n.length<=1?n[0]||{}:n}function tQ(e,n,t){var r=n.slice().sort(function(e,n){return n.multiplePriority-e.multiplePriority}),o=e.slice(),a=r.filter(function(e){var n=e.column.sorter,t=e.sortOrder;return tq(n)&&t});return a.length?o.sort(function(e,n){for(var t=0;t2&&void 0!==arguments[2]&&arguments[2],r=(0,c.Z)((0,c.Z)({},es),e);t&&(es.resetPagination(),r.pagination.current&&(r.pagination.current=1),y&&y.onChange&&y.onChange(1,r.pagination.pageSize)),M&&!1!==M.scrollToFirstRowOnChange&&el.body.current&&function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.getContainer,r=n.callback,o=n.duration,a=void 0===o?450:o,l=(void 0===t?function(){return window}:t)(),i=function(e,n){if("undefined"==typeof window)return 0;var t,r,o=n?"scrollTop":"scrollLeft",a=0;return eT(e)?a=e[n?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[o]:e instanceof HTMLElement?a=e[o]:e&&(a=e[o]),e&&!eT(e)&&"number"!=typeof a&&(a=null===(r=(null!==(t=e.ownerDocument)&&void 0!==t?t:e).documentElement)||void 0===r?void 0:r[o]),a}(l,!0),c=Date.now();(0,eL.Z)(function e(){var n,t,o=Date.now()-c,d=(n=o>a?a:o,t=0-i,(n/=a/2)<1?t/2*n*n*n+i:t/2*((n-=2)*n*n+2)+i);eT(l)?l.scrollTo(window.pageXOffset,d):l instanceof Document||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=d:l.scrollTop=d,o0?e5:e3}),na=Math.ceil((e5||e3)/no.pageSize),no.current>na&&(no.current=na||1),nl=function(e,n){nr({current:null!=e?e:1,pageSize:n||no.pageSize})},!1===y?[{},function(){}]:[(0,c.Z)((0,c.Z)({},no),{onChange:function(e,n){var t;y&&(null===(t=y.onChange)||void 0===t||t.call(y,e,n)),nl(e,n),e4(e,n||(null==no?void 0:no.pageSize))}}),nl]),eB=(0,d.Z)(ej,2),eV=eB[0],eW=eB[1];es.pagination=!1===y?{}:(ni=y,ns={current:(nd=eV).current,pageSize:nd.pageSize},Object.keys(ni&&"object"===(0,l.Z)(ni)?ni:{}).forEach(function(e){var n=nd[e];"function"!=typeof n&&(ns[e]=n)}),ns),es.resetPagination=eW;var eX=v.useMemo(function(){if(!1===y||!eV.pageSize)return ez;var e=eV.current,n=void 0===e?1:e,t=eV.total,r=eV.pageSize,o=void 0===r?10:r;return ez.lengtho?ez.slice((n-1)*o,n*o):ez:ez.slice((n-1)*o,n*o)},[!!y,ez,eV&&eV.current,eV&&eV.pageSize,eV&&eV.total]),eq=(nu={prefixCls:J,data:ez,pageData:eX,getRowKey:ei,getRecordByKey:ed,expandType:ea,childrenColumnName:eo,locale:q,getPopupContainer:w},np=(nf=g||{}).preserveSelectedRowKeys,nv=nf.selectedRowKeys,nh=nf.defaultSelectedRowKeys,ny=nf.getCheckboxProps,ng=nf.onChange,nx=nf.onSelect,nC=nf.onSelectAll,nE=nf.onSelectInvert,nk=nf.onSelectNone,nZ=nf.onSelectMultiple,nw=nf.columnWidth,nS=nf.type,nK=nf.selections,nO=nf.fixed,nD=nf.renderCell,nP=nf.hideSelectAll,nM=void 0===(nR=nf.checkStrictly)||nR,nL=nu.prefixCls,nT=nu.data,nI=nu.pageData,nA=nu.getRecordByKey,nH=nu.getRowKey,nz=nu.expandType,nF=nu.childrenColumnName,n_=nu.locale,nj=nu.getPopupContainer,nB=(0,e$.Z)(nv||nh||tj,{value:nv}),nW=(nV=(0,d.Z)(nB,2))[0],nU=nV[1],nG=v.useRef(new Map),nX=(0,v.useCallback)(function(e){if(np){var n=new Map;e.forEach(function(e){var t=nA(e);!t&&nG.current.has(e)&&(t=nG.current.get(e)),n.set(e,t)}),nG.current=n}},[nA,np]),v.useEffect(function(){nX(nW)},[nW]),nq=(0,v.useMemo)(function(){return nM?{keyEntities:null}:nm(nT,{externalGetKey:nH,childrenPropName:nF})},[nT,nH,nM,nF]).keyEntities,nY=(0,v.useMemo)(function(){return function e(n,t){var r=[];return(n||[]).forEach(function(n){r.push(n),n&&"object"===(0,l.Z)(n)&&t in n&&(r=[].concat((0,p.Z)(r),(0,p.Z)(e(n[t],t))))}),r}(nI,nF)},[nI,nF]),nJ=(0,v.useMemo)(function(){var e=new Map;return nY.forEach(function(n,t){var r=nH(n,t),o=(ny?ny(n):null)||{};e.set(r,o)}),e},[nY,nH,ny]),nQ=(0,v.useCallback)(function(e){var n;return!!(null===(n=nJ.get(nH(e)))||void 0===n?void 0:n.disabled)},[nJ,nH]),n0=(0,v.useMemo)(function(){if(nM)return[nW||[],[]];var e=n$(nW,!0,nq,nQ);return[e.checkedKeys||[],e.halfCheckedKeys]},[nW,nM,nq,nQ]),n2=(n1=(0,d.Z)(n0,2))[0],n3=n1[1],n4=(0,v.useMemo)(function(){var e="radio"===nS?n2.slice(0,1):n2;return new Set(e)},[n2,nS]),n8=(0,v.useMemo)(function(){return"radio"===nS?new Set:new Set(n3)},[n3,nS]),n6=(0,v.useState)(null),n7=(n5=(0,d.Z)(n6,2))[0],n9=n5[1],v.useEffect(function(){g||nU(tj)},[!!g]),te=(0,v.useCallback)(function(e,n){var t,r;nX(e),np?(t=e,r=e.map(function(e){return nG.current.get(e)})):(t=[],r=[],e.forEach(function(e){var n=nA(e);void 0!==n&&(t.push(e),r.push(n))})),nU(t),null==ng||ng(t,r,{type:n})},[nU,nA,ng,np]),tn=(0,v.useCallback)(function(e,n,t,r){if(nx){var o=t.map(function(e){return nA(e)});nx(nA(e),n,o,r)}te(t,"single")},[nx,nA,te]),tt=(0,v.useMemo)(function(){return!nK||nP?null:(!0===nK?[tz,tF,t_]:nK).map(function(e){return e===tz?{key:"all",text:n_.selectionAll,onSelect:function(){te(nT.map(function(e,n){return nH(e,n)}).filter(function(e){var n=nJ.get(e);return!(null==n?void 0:n.disabled)||n4.has(e)}),"all")}}:e===tF?{key:"invert",text:n_.selectInvert,onSelect:function(){var e=new Set(n4);nI.forEach(function(n,t){var r=nH(n,t),o=nJ.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))});var n=Array.from(e);nE&&nE(n),te(n,"invert")}}:e===t_?{key:"none",text:n_.selectNone,onSelect:function(){null==nk||nk(),te(Array.from(n4).filter(function(e){var n=nJ.get(e);return null==n?void 0:n.disabled}),"none")}}:e}).map(function(e){return(0,c.Z)((0,c.Z)({},e),{onSelect:function(){for(var n,t=arguments.length,r=Array(t),o=0;o0&&g&&(en.expandIconColumnIndex-=1),"number"!=typeof en.indentSize&&(en.indentSize="number"==typeof R?R:15);var e0=v.useCallback(function(e){return e_(eJ(eE(ev(e))))},[ev,eE,eJ]);if(!1!==y&&(null==eV?void 0:eV.total)){ti=eV.size?eV.size:"small"===X||"middle"===X?"small":void 0;var e1,e2,e3,e4,e8,e6,e5,e7,e9,ne,nn,nr,no,na,nl,ni,nd,ns,nu,nf,np,nv,nh,ny,ng,nx,nC,nE,nk,nZ,nw,nS,nK,nO,nD,nP,nR,nM,nL,nT,nI,nA,nH,nz,nF,n_,nj,nB,nV,nW,nU,nG,nX,nq,nY,nJ,nQ,n0,n1,n2,n3,n4,n8,n6,n5,n7,n9,te,tn,tt,tr,to,ta,tl,ti,tc=function(e){return v.createElement(eR.Z,(0,c.Z)({},eV,{className:u()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),eV.className),size:ti}))},td="rtl"===G?"left":"right",ts=eV.position;if(null!==ts&&Array.isArray(ts)){var tu=ts.find(function(e){return e.includes("top")}),tf=ts.find(function(e){return e.includes("bottom")}),tp=ts.every(function(e){return"none"==="".concat(e)});tu||tf||tp||(tl=tc(td)),tu&&(ta=tc(tu.toLowerCase().replace("top",""))),tf&&(tl=tc(tf.toLowerCase().replace("bottom","")))}else tl=tc(td)}"boolean"==typeof S?t={spinning:S}:"object"===(0,l.Z)(S)&&(t=(0,c.Z)({spinning:!0},S));var tv=u()("".concat(J,"-wrapper"),(0,i.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===G),o);return v.createElement("div",{ref:n,className:tv,style:a},v.createElement(eM.Z,(0,c.Z)({spinning:!1},t),ta,v.createElement(eb,(0,c.Z)({},_,{columns:F,direction:G,expandable:en,prefixCls:J,className:u()((to={},(0,i.Z)(to,"".concat(J,"-middle"),"middle"===X),(0,i.Z)(to,"".concat(J,"-small"),"small"===X),(0,i.Z)(to,"".concat(J,"-bordered"),f),(0,i.Z)(to,"".concat(J,"-empty"),0===Y.length),to)),data:eX,rowKey:ei,rowClassName:function(e,n,t){var r;return r="function"==typeof E?u()(E(e,n,t)):u()(E),u()((0,i.Z)({},"".concat(J,"-row-selected"),eQ.has(ei(e,n))),r)},emptyText:T&&T.emptyText||(U||eK.Z)("Table"),internalHooks:eZ,internalRefs:el,transformColumns:e0})),tl))});t1.SELECTION_COLUMN=tH,t1.EXPAND_COLUMN=eb.EXPAND_COLUMN,t1.SELECTION_ALL=tz,t1.SELECTION_INVERT=tF,t1.SELECTION_NONE=t_,t1.Column=function(e){return null},t1.ColumnGroup=function(e){return null},t1.Summary=ef;var t2=t1},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(45987),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){(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 r,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,h=n.tabIndex,m=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:h,className:"".concat(t,"-input"),checked:!!S,onClick:m,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/2206-e3f24e552029bbca.js b/static/web/_next/static/chunks/2206-e3f24e552029bbca.js deleted file mode 100644 index 675dc403a..000000000 --- a/static/web/_next/static/chunks/2206-e3f24e552029bbca.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2206],{10010:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(1413),o=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},l=t(42135),i=function(e,n){return o.createElement(l.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a}))};i.displayName="CaretUpOutlined";var c=o.forwardRef(i)},32808:function(e,n,t){t.d(n,{Z:function(){return k}});var r=t(4942),o=t(87462),a=t(94184),l=t.n(a),i=t(50132),c=t(67294),d=t(53124),s=t(65223),u=t(74902),f=t(97685),p=t(98423),v=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},h=c.createContext(null),m=c.forwardRef(function(e,n){var t=e.defaultValue,a=e.children,i=e.options,s=void 0===i?[]:i,m=e.prefixCls,y=e.className,g=e.style,x=e.onChange,E=v(e,["defaultValue","children","options","prefixCls","className","style","onChange"]),k=c.useContext(d.E_),Z=k.getPrefixCls,N=k.direction,b=c.useState(E.value||t||[]),w=(0,f.Z)(b,2),S=w[0],K=w[1],O=c.useState([]),D=(0,f.Z)(O,2),P=D[0],R=D[1];c.useEffect(function(){"value"in E&&K(E.value||[])},[E.value]);var M=function(){return s.map(function(e){return"string"==typeof e||"number"==typeof e?{label:e,value:e}:e})},L=Z("checkbox",m),T="".concat(L,"-group"),I=(0,p.Z)(E,["value","disabled"]);s&&s.length>0&&(a=M().map(function(e){return c.createElement(C,{prefixCls:L,key:e.value.toString(),disabled:"disabled"in e?e.disabled:E.disabled,value:e.value,checked:S.includes(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 E||K(t);var r=M();null==x||x(t.filter(function(e){return P.includes(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:E.disabled,name:E.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(h.Provider,{value:A},a))}),y=c.memo(m),g=t(98866),x=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},C=c.forwardRef(function(e,n){var t,a,u=e.prefixCls,f=e.className,p=e.children,v=e.indeterminate,m=void 0!==v&&v,y=e.style,C=e.onMouseEnter,E=e.onMouseLeave,k=e.skipGroup,Z=void 0!==k&&k,N=e.disabled,b=x(e,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),w=c.useContext(d.E_),S=w.getPrefixCls,K=w.direction,O=c.useContext(h),D=(0,c.useContext)(s.aM).isFormItemInput,P=(0,c.useContext)(g.Z),R=null!==(a=(null==O?void 0:O.disabled)||N)&&void 0!==a?a:P,M=c.useRef(b.value);c.useEffect(function(){null==O||O.registerValue(b.value)},[]),c.useEffect(function(){if(!Z)return b.value!==M.current&&(null==O||O.cancelValue(M.current),null==O||O.registerValue(b.value),M.current=b.value),function(){return null==O?void 0:O.cancelValue(b.value)}},[b.value]);var L=S("checkbox",u),T=(0,o.Z)({},b);O&&!Z&&(T.onChange=function(){b.onChange&&b.onChange.apply(b,arguments),O.toggleOption&&O.toggleOption({label:p,value:b.value})},T.name=O.name,T.checked=O.value.includes(b.value));var I=l()((t={},(0,r.Z)(t,"".concat(L,"-wrapper"),!0),(0,r.Z)(t,"".concat(L,"-rtl"),"rtl"===K),(0,r.Z)(t,"".concat(L,"-wrapper-checked"),T.checked),(0,r.Z)(t,"".concat(L,"-wrapper-disabled"),R),(0,r.Z)(t,"".concat(L,"-wrapper-in-form-item"),D),t),f),A=l()((0,r.Z)({},"".concat(L,"-indeterminate"),m));return c.createElement("label",{className:I,style:y,onMouseEnter:C,onMouseLeave:E},c.createElement(i.Z,(0,o.Z)({"aria-checked":m?"mixed":void 0},T,{prefixCls:L,className:A,disabled:R,ref:n})),void 0!==p&&c.createElement("span",null,p))}),E=C;E.Group=y,E.__ANT_CHECKBOX=!0;var k=E},52206:function(e,n,t){t.d(n,{Z:function(){return t2}});var r,o,a,l=t(71002),i=t(4942),c=t(87462),d=t(97685),s=t(94184),u=t.n(s),f=t(1413),p=t(74902),v=t(67294),h=t(5110),m=t(64217),y=t(79370),g=t(96774),x=t.n(g),C=t(80334),E=t(48555),k=t(74204),Z=t(45987),N=t(42550);function b(e){return null==e?[]:Array.isArray(e)?e:[e]}function w(e,n){if(!n&&"number"!=typeof n)return e;for(var t=b(n),r=e,o=0;o=n);return{onHover:null==e?void 0:e.onHover,hovering:t}}),a=(o=(r=v.useContext(null==P?void 0:P.Context))||{}).listeners,l=o.getValue,i=v.useState(function(){return t(r?l():null)}),u=(s=(0,d.Z)(i,2))[0],f=s[1],(0,O.Z)(function(){if(r)return a.add(e),function(){a.delete(e)};function e(e){f(function(n){var r=t(e);return x()(n,r)?n:r})}},[r]),u),N=Z.onHover,b=Z.hovering;return v.createElement(H,(0,c.Z)({},e,{colSpan:null!=y?y:C,rowSpan:k,hovering:b,ref:n,onHover:N}))});z.displayName="WrappedCell";var F=v.createContext(null);function _(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];return"rtl"===o?void 0!==a?f=!(v&&"left"===v.fixed):void 0!==l&&(u=!(p&&"right"===p.fixed)):void 0!==a?d=!(p&&"left"===p.fixed):void 0!==l&&(s=!(v&&"right"===v.fixed)),{fixLeft:a,fixRight:l,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}function j(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,a=e.rowComponent,l=e.cellComponent,i=e.onHeaderRow,d=e.index,s=v.useContext(F),u=s.prefixCls,f=s.direction;i&&(n=i(t.map(function(e){return e.column}),d));var p=S(t.map(function(e){return e.column}));return v.createElement(a,n,t.map(function(e,n){var t,a=e.column,i=_(e.colStart,e.colEnd,o,r,f);return a&&a.onHeaderCell&&(t=e.column.onHeaderCell(a)),v.createElement(z,(0,c.Z)({},e,{ellipsis:a.ellipsis,align:a.align,component:l,prefixCls:u,key:p[n]},i,{additionalProps:t,rowType:"header"}))}))}j.displayName="HeaderRow";var B=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=v.useContext(F),l=a.prefixCls,i=a.getComponent,c=v.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),o=1;o0?[].concat((0,p.Z)(e),(0,p.Z)(eo(o).map(function(e){return(0,f.Z)({fixed:r},e)}))):[].concat((0,p.Z)(e),[(0,f.Z)((0,f.Z)({},n),{},{fixed:r})])},[])}var ea=function(e,n){var t=e.prefixCls,r=e.columns,o=e.children,a=e.expandable,l=e.expandedKeys,c=e.columnTitle,d=e.getRowKey,s=e.onTriggerExpand,u=e.expandIcon,p=e.rowExpandable,h=e.expandIconColumnIndex,m=e.direction,y=e.expandRowByClick,g=e.columnWidth,x=e.fixed,C=v.useMemo(function(){return r||er(o)},[r,o]),E=v.useMemo(function(){if(a){var e,n,r=C.slice();if(!r.includes(ee)){var o=h||0;o>=0&&r.splice(o,0,ee)}var f=r.indexOf(ee);r=r.filter(function(e,n){return e!==ee||n===f});var m=C[f];n=("left"===x||x)&&!h?"left":("right"===x||x)&&h===C.length?"right":m?m.fixed:null;var E=(e={},(0,i.Z)(e,Q,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,i.Z)(e,"title",c),(0,i.Z)(e,"fixed",n),(0,i.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,i.Z)(e,"width",g),(0,i.Z)(e,"render",function(e,n,r){var o=d(n,r),a=u({prefixCls:t,expanded:l.has(o),expandable:!p||p(n),record:n,onExpand:s});return y?v.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a}),e);return r.map(function(e){return e===ee?E:e})}return C.filter(function(e){return e!==ee})},[a,C,d,l,u,m]),k=v.useMemo(function(){var e=E;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e},[n,E,m]),N=v.useMemo(function(){return"rtl"===m?eo(k).map(function(e){var n=e.fixed,t=(0,Z.Z)(e,et),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,f.Z)({fixed:r},t)}):eo(k)},[k,m]);return[k,N]};function el(e){var n=(0,v.useRef)(e),t=(0,v.useState)({}),r=(0,d.Z)(t,2)[1],o=(0,v.useRef)(null),a=(0,v.useRef)([]);return(0,v.useEffect)(function(){return function(){o.current=null}},[]),[n.current,function(e){a.current.push(e);var t=Promise.resolve();o.current=t,t.then(function(){if(o.current===t){var e=a.current,l=n.current;a.current=[],e.forEach(function(e){n.current=e(n.current)}),o.current=null,l!==n.current&&r({})}})}]}var ei=["columnType"],ec=function(e){for(var n=e.colWidths,t=e.columns,r=e.columCount,o=[],a=r||t.length,l=!1,i=a-1;i>=0;i-=1){var d=n[i],s=t&&t[i],u=s&&s[Q];if(d||u||l){var f=u||{},p=(f.columnType,(0,Z.Z)(f,ei));o.unshift(v.createElement("col",(0,c.Z)({key:i,style:{width:d}},p))),l=!0}}return v.createElement("colgroup",null,o)},ed=function(e){var n=e.className,t=e.children;return v.createElement("div",{className:n},t)},es=v.createContext({}),eu=["children"];function ef(e){return e.children}ef.Row=function(e){var n=e.children,t=(0,Z.Z)(e,eu);return v.createElement("tr",t,n)},ef.Cell=function(e){var n=e.className,t=e.index,r=e.children,o=e.colSpan,a=void 0===o?1:o,l=e.rowSpan,i=e.align,d=v.useContext(F),s=d.prefixCls,u=d.direction,f=v.useContext(es),p=f.scrollColumnIndex,h=f.stickyOffsets,m=f.flattenColumns,y=t+a-1+1===p?a+1:a,g=_(t,t+y-1,m,h,u);return v.createElement(z,(0,c.Z)({className:n,index:t,component:"td",prefixCls:s,record:null,dataIndex:null,align:i,colSpan:y,rowSpan:l,render:function(){return r}},g))};var ep=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=v.useContext(F).prefixCls,a=r.length-1,l=r[a],i=v.useMemo(function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null==l?void 0:l.scrollbar)?a:null}},[l,r,a,t]);return v.createElement(es.Provider,{value:i},v.createElement("tfoot",{className:"".concat(o,"-summary")},n))};function ev(e){var n,t=e.prefixCls,r=e.record,o=e.onExpand,a=e.expanded,l=e.expandable,c="".concat(t,"-row-expand-icon");return l?v.createElement("span",{className:u()(c,(n={},(0,i.Z)(n,"".concat(t,"-row-expanded"),a),(0,i.Z)(n,"".concat(t,"-row-collapsed"),!a),n)),onClick:function(e){o(r,e),e.stopPropagation()}}):v.createElement("span",{className:u()(c,"".concat(t,"-row-spaced"))})}var eh=t(64019),em=t(27678),ey=v.forwardRef(function(e,n){var t,r,o=e.scrollBodyRef,a=e.onScroll,l=e.offsetScroll,c=e.container,s=v.useContext(F).prefixCls,p=(null===(t=o.current)||void 0===t?void 0:t.scrollWidth)||0,h=(null===(r=o.current)||void 0===r?void 0:r.clientWidth)||0,m=p&&h*(h/p),y=v.useRef(),g=el({scrollLeft:0,isHiddenScrollBar:!1}),x=(0,d.Z)(g,2),C=x[0],E=x[1],Z=v.useRef({delta:0,x:0}),N=v.useState(!1),b=(0,d.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){w&&S(!1);return}var r=Z.current.x+e.pageX-Z.current.x-Z.current.delta;r<=0&&(r=0),r+m>=h&&(r=h-m),a({scrollLeft:r/h*(p+2)}),Z.current.x=e.pageX},D=function(){if(o.current){var e=(0,em.os)(o.current).top,n=e+o.current.offsetHeight,t=c===window?document.documentElement.scrollTop+window.innerHeight:(0,em.os)(c).top+c.clientHeight;n-(0,k.Z)()<=t||e>=t-l?E(function(e){return(0,f.Z)((0,f.Z)({},e),{},{isHiddenScrollBar:!0})}):E(function(e){return(0,f.Z)((0,f.Z)({},e),{},{isHiddenScrollBar:!1})})}},P=function(e){E(function(n){return(0,f.Z)((0,f.Z)({},n),{},{scrollLeft:e/p*h||0})})};return(v.useImperativeHandle(n,function(){return{setScrollLeft:P}}),v.useEffect(function(){var e=(0,eh.Z)(document.body,"mouseup",K,!1),n=(0,eh.Z)(document.body,"mousemove",O,!1);return D(),function(){e.remove(),n.remove()}},[m,w]),v.useEffect(function(){var e=(0,eh.Z)(c,"scroll",D,!1),n=(0,eh.Z)(window,"resize",D,!1);return function(){e.remove(),n.remove()}},[c]),v.useEffect(function(){C.isHiddenScrollBar||E(function(e){var n=o.current;return n?(0,f.Z)((0,f.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e})},[C.isHiddenScrollBar]),p<=h||!m||C.isHiddenScrollBar)?null:v.createElement("div",{style:{height:(0,k.Z)(),width:h,bottom:l},className:"".concat(s,"-sticky-scroll")},v.createElement("div",{onMouseDown:function(e){e.persist(),Z.current.delta=e.pageX-C.scrollLeft,Z.current.x=0,S(!0),e.preventDefault()},ref:y,className:u()("".concat(s,"-sticky-scroll-bar"),(0,i.Z)({},"".concat(s,"-sticky-scroll-bar-active"),w)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(C.scrollLeft,"px, 0, 0)")}}))}),eg=(0,t(98924).Z)()?window:null,ex=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"],eC=v.forwardRef(function(e,n){var t=e.className,r=e.noData,o=e.columns,a=e.flattenColumns,l=e.colWidths,c=e.columCount,d=e.stickyOffsets,s=e.direction,h=e.fixHeader,m=e.stickyTopOffset,y=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,C=e.maxContentScroll,E=e.children,k=(0,Z.Z)(e,ex),b=v.useContext(F),w=b.prefixCls,S=b.scrollbarSize,K=b.isSticky,O=K&&!h?0:S,D=v.useRef(null),P=v.useCallback(function(e){(0,N.mH)(n,e),(0,N.mH)(D,e)},[]);v.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=D.current)||void 0===e||e.addEventListener("wheel",n),function(){var e;null===(e=D.current)||void 0===e||e.removeEventListener("wheel",n)}},[]);var R=v.useMemo(function(){return a.every(function(e){return e.width>=0})},[a]),M=a[a.length-1],L={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(w,"-cell-scrollbar")}}},T=(0,v.useMemo)(function(){return O?[].concat((0,p.Z)(o),[L]):o},[O,o]),I=(0,v.useMemo)(function(){return O?[].concat((0,p.Z)(a),[L]):a},[O,a]),A=(0,v.useMemo)(function(){var e=d.right,n=d.left;return(0,f.Z)((0,f.Z)({},d),{},{left:"rtl"===s?[].concat((0,p.Z)(n.map(function(e){return e+O})),[0]):n,right:"rtl"===s?e:[].concat((0,p.Z)(e.map(function(e){return e+O})),[0]),isSticky:K})},[O,d,K]),H=(0,v.useMemo)(function(){for(var e=[],n=0;n0)):(e0(o>0),e4(on.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},e5=v.forwardRef(function(e,n){var t,r=v.useContext(eQ),o=v.useContext(e1),a=v.useContext(eS.E_),l=a.getPrefixCls,d=a.direction,s=v.useRef(),f=(0,N.sQ)(n,s),p=(0,v.useContext)(e8.aM).isFormItemInput,h=e.prefixCls,m=e.className,y=e.children,g=e.style,x=e.disabled,C=e6(e,["prefixCls","className","children","style","disabled"]),E=l("radio",h),k="button"===((null==r?void 0:r.optionType)||o)?"".concat(E,"-button"):E,Z=(0,c.Z)({},C),b=v.useContext(e4.Z);Z.disabled=x||b,r&&(Z.name=r.name,Z.onChange=function(n){var t,o;null===(t=e.onChange)||void 0===t||t.call(e,n),null===(o=null==r?void 0:r.onChange)||void 0===o||o.call(r,n)},Z.checked=e.value===r.value,Z.disabled=Z.disabled||r.disabled);var w=u()("".concat(k,"-wrapper"),(t={},(0,i.Z)(t,"".concat(k,"-wrapper-checked"),Z.checked),(0,i.Z)(t,"".concat(k,"-wrapper-disabled"),Z.disabled),(0,i.Z)(t,"".concat(k,"-wrapper-rtl"),"rtl"===d),(0,i.Z)(t,"".concat(k,"-wrapper-in-form-item"),p),t),m);return v.createElement("label",{className:w,style:g,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},v.createElement(e3.Z,(0,c.Z)({},Z,{type:"radio",prefixCls:k,ref:f})),void 0!==y?v.createElement("span",null,y):null)}),e7=v.forwardRef(function(e,n){var t,r=v.useContext(eS.E_),o=r.getPrefixCls,a=r.direction,l=v.useContext(eO.Z),s=(0,e$.Z)(e.defaultValue,{value:e.value}),f=(0,d.Z)(s,2),p=f[0],h=f[1],m=e.prefixCls,y=e.className,g=e.options,x=e.buttonStyle,C=e.disabled,E=e.children,k=e.size,Z=e.style,N=e.id,b=e.onMouseEnter,w=e.onMouseLeave,S=e.onFocus,K=e.onBlur,O=o("radio",m),D="".concat(O,"-group"),P=E;g&&g.length>0&&(P=g.map(function(e){return"string"==typeof e||"number"==typeof e?v.createElement(e5,{key:e.toString(),prefixCls:O,disabled:C,value:e,checked:p===e},e):v.createElement(e5,{key:"radio-group-value-options-".concat(e.value),prefixCls:O,disabled:e.disabled||C,value:e.value,checked:p===e.value,style:e.style},e.label)}));var R=k||l,M=u()(D,"".concat(D,"-").concat(void 0===x?"outline":x),(t={},(0,i.Z)(t,"".concat(D,"-").concat(R),R),(0,i.Z)(t,"".concat(D,"-rtl"),"rtl"===a),t),void 0===y?"":y);return v.createElement("div",(0,c.Z)({},(0,eJ.Z)(e),{className:M,style:Z,onMouseEnter:b,onMouseLeave:w,onFocus:S,onBlur:K,id:N,ref:n}),v.createElement(e0,{value:{onChange:function(n){var t=n.target.value;"value"in e||h(t);var r=e.onChange;r&&t!==p&&r(n)},value:p,disabled:e.disabled,name:e.name,optionType:e.optionType}},P))}),e9=v.memo(e7),ne=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},nn=v.forwardRef(function(e,n){var t=v.useContext(eS.E_).getPrefixCls,r=e.prefixCls,o=ne(e,["prefixCls"]),a=t("radio",r);return v.createElement(e2,{value:"button"},v.createElement(e5,(0,c.Z)({prefixCls:a},o,{type:"radio",ref:n})))}),nt=e5;nt.Button=nn,nt.Group=e9,nt.__ANT_RADIO=!0;var nr=t(15671),no=t(43144),na=t(97326),nl=t(60136),ni=t(33643),nc=t(15105),nd=v.createContext(null),ns=v.memo(function(e){for(var n,t=e.prefixCls,r=e.level,o=e.isStart,a=e.isEnd,l="".concat(t,"-indent-unit"),c=[],d=0;d1&&void 0!==arguments[1]?arguments[1]:null;return t.map(function(d,s){for(var u,v=nS(r?r.pos:"0",s),h=nf(d[a],v),m=0;m1&&void 0!==arguments[1]?arguments[1]:{},v=f.initWrapper,h=f.processEntity,m=f.onProcessFinished,y=f.externalGetKey,g=f.childrenPropName,x=f.fieldNames,C=arguments.length>2?arguments[2]:void 0,E={},k={},Z={posEntities:E,keyEntities:k};return v&&(Z=v(Z)||Z),n=function(e){var n=e.node,t=e.index,r=e.pos,o=e.key,a=e.parentPos,l=e.level,i={node:n,nodes:e.nodes,index:t,key:o,pos:r,level:l},c=nf(o,r);E[r]=i,k[c]=i,i.parent=E[a],i.parent&&(i.parent.children=i.parent.children||[],i.parent.children.push(i)),h&&h(i,Z)},t={externalGetKey:y||C,childrenPropName:g,fieldNames:x},a=(o=("object"===(0,l.Z)(t)?t:{externalGetKey:t})||{}).childrenPropName,i=o.externalGetKey,d=(c=np(o.fieldNames)).key,s=c.children,u=a||s,i?"string"==typeof i?r=function(e){return e[i]}:"function"==typeof i&&(r=function(e){return i(e)}):r=function(e,n){return nf(e[d],n)},function t(o,a,l,i){var c=o?o[u]:e,d=o?nS(l.pos,a):"0",s=o?[].concat((0,p.Z)(i),[o]):[];if(o){var f=r(o,d);n({node:o,index:a,pos:d,key:f,parentPos:l.node?l.pos:null,level:l.level+1,nodes:s})}c&&c.forEach(function(e,n){t(e,n,{node:o,pos:d,level:l?l.level+1:-1},s)})}(null),m&&m(Z),Z}function ny(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 ng(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,u=e.pos,p=e.active,v=e.eventKey,h=(0,f.Z)((0,f.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:l,halfChecked:i,dragOver:c,dragOverGapTop:d,dragOverGapBottom:s,pos:u,active:p,key:v});return"props"in h||Object.defineProperty(h,"props",{get:function(){return(0,C.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),h}var nx=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],nC="open",nE="close",nk=function(e){(0,nl.Z)(t,e);var n=(0,ni.Z)(t);function t(){var e;(0,nr.Z)(this,t);for(var r=arguments.length,o=Array(r),a=0;a=0&&t.splice(r,1),t}function nb(e,n){var t=(e||[]).slice();return -1===t.indexOf(n)&&t.push(n),t}function nw(e){return e.split("-")}function nS(e,n){return"".concat(e,"-").concat(n)}function nK(e,n,t,r,o,a,l,i,c,d){var s,u,f=e.clientX,p=e.clientY,v=e.target.getBoundingClientRect(),h=v.top,m=v.height,y=(("rtl"===d?-1:1)*(((null==o?void 0:o.x)||0)-f)-12)/r,g=i[t.props.eventKey];if(p-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:g.key,dropTargetPos:g.pos,dragOverNodeKey:k,dropContainerKey:0===Z?null:(null===(u=g.parent)||void 0===u?void 0:u.key)||null,dropAllowed:K}}function nO(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function nD(e){var n;if(!e)return null;if(Array.isArray(e))n={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,l.Z)(e))return(0,C.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 nP(e,n){var t=new Set;return(e||[]).forEach(function(e){!function e(r){if(!t.has(r)){var o=n[r];if(o){t.add(r);var a=o.parent;!o.node.disabled&&a&&e(a.key)}}}(e)}),(0,p.Z)(t)}function nR(e){if(null==e)throw TypeError("Cannot destructure "+e)}nZ.displayName="TreeNode",nZ.defaultProps={title:"---"},nZ.isTreeNode=1;var nM=t(73453),nL=t(62874),nT=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],nI=function(e,n){var t=e.className,r=e.style,o=e.motion,a=e.motionNodes,l=e.motionType,i=e.onMotionStart,s=e.onMotionEnd,f=e.active,p=e.treeNodeRequiredProps,h=(0,Z.Z)(e,nT),m=v.useState(!0),y=(0,d.Z)(m,2),g=y[0],x=y[1],C=v.useContext(nd).prefixCls,E=v.useRef(!1),k=function(){E.current||s(),E.current=!0};return((0,v.useEffect)(function(){a&&"hide"===l&&g&&x(!1)},[a]),(0,v.useEffect)(function(){return a&&i(),function(){a&&k()}},[]),a)?v.createElement(nL.Z,(0,c.Z)({ref:n,visible:g},o,{motionAppear:"show"===l,onAppearEnd:k,onLeaveEnd:k}),function(e,n){var t=e.className,r=e.style;return v.createElement("div",{ref:n,className:u()("".concat(C,"-treenode-motion"),t),style:r},a.map(function(e){var n=(0,c.Z)({},(nR(e.data),e.data)),t=e.title,r=e.key,o=e.isStart,a=e.isEnd;delete n.children;var l=ny(r,p);return v.createElement(nZ,(0,c.Z)({},n,l,{title:t,active:f,data:e.data,key:r,isStart:o,isEnd:a}))}))}):v.createElement(nZ,(0,c.Z)({domRef:n,className:t,style:r},h,{active:f}))};nI.displayName="MotionTreeNode";var nA=v.forwardRef(nI);function nH(e,n,t){var r=e[e.findIndex(function(e){return e.key===t})+1],o=n.findIndex(function(e){return e.key===t});if(r){var a=n.findIndex(function(e){return e.key===r.key});return n.slice(o+1,a)}return n.slice(o+1)}var nz=["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"],nF={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},n_=function(){},nj="RC_TREE_MOTION_".concat(Math.random()),nB={key:nj},nV={key:nj,level:0,index:0,pos:"0",node:nB,nodes:[nB]},nW={parent:null,children:[],pos:nV.pos,data:nB,title:null,key:nj,isStart:[],isEnd:[]};function nU(e,n,t,r){return!1!==n&&t?e.slice(0,Math.ceil(t/r)+1):e}function nG(e){return nf(e.key,e.pos)}var nX=v.forwardRef(function(e,n){var t=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),a=e.selectedKeys,l=e.checkedKeys,i=e.loadedKeys,s=e.loadingKeys,u=e.halfCheckedKeys,f=e.keyEntities,p=e.disabled,h=e.dragging,m=e.dragOverNodeKey,y=e.dropPosition,g=e.motion,x=e.height,C=e.itemHeight,E=e.virtual,k=e.focusable,N=e.activeItem,b=e.focused,w=e.tabIndex,S=e.onKeyDown,K=e.onFocus,O=e.onBlur,D=e.onActiveChange,P=e.onListChangeStart,R=e.onListChangeEnd,M=(0,Z.Z)(e,nz),L=v.useRef(null),T=v.useRef(null);v.useImperativeHandle(n,function(){return{scrollTo:function(e){L.current.scrollTo(e)},getIndentWidth:function(){return T.current.offsetWidth}}});var I=v.useState(o),A=(0,d.Z)(I,2),H=A[0],z=A[1],F=v.useState(r),_=(0,d.Z)(F,2),j=_[0],B=_[1],V=v.useState(r),W=(0,d.Z)(V,2),U=W[0],G=W[1],X=v.useState([]),q=(0,d.Z)(X,2),Y=q[0],$=q[1],J=v.useState(null),Q=(0,d.Z)(J,2),ee=Q[0],en=Q[1],et=v.useRef(r);function er(){var e=et.current;B(e),G(e),$([]),en(null),R()}et.current=r,v.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)),v.createElement("div",null,v.createElement("input",{style:nF,disabled:!1===k||p,tabIndex:!1!==k?w:null,onKeyDown:S,onFocus:K,onBlur:O,value:"",onChange:n_,"aria-label":"for screen reader"})),v.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},v.createElement("div",{className:"".concat(t,"-indent")},v.createElement("div",{ref:T,className:"".concat(t,"-indent-unit")}))),v.createElement(nM.Z,(0,c.Z)({},M,{data:g?U:r,itemKey:nG,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 nG(e)===nj})&&er()}}),function(e){var n=e.pos,t=(0,c.Z)({},(nR(e.data),e.data)),r=e.title,o=e.key,a=e.isStart,l=e.isEnd,i=nf(o,n);delete t.key,delete t.children;var d=ny(i,eo);return v.createElement(nA,(0,c.Z)({},t,d,{title:r,active:!!N&&o===N.key,pos:n,data:e.data,isStart:a,isEnd:l,motion:g,motionNodes:o===nj?Y:null,motionType:ee,onMotionStart:P,onMotionEnd:er,treeNodeRequiredProps:eo,onMouseMove:function(){D(null)}}))}))});function nq(e,n){var t=new Set;return e.forEach(function(e){n.has(e)||t.add(e)}),t}function nY(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!!(t||r)||!1===o}function n$(e,n,t,r){var o,a=[];o=r||nY;var l=new Set(e.filter(function(e){var n=!!t[e];return n||a.push(e),n})),i=new Map,c=0;return Object.keys(t).forEach(function(e){var n=t[e],r=n.level,o=i.get(r);o||(o=new Set,i.set(r,o)),o.add(n),c=Math.max(c,r)}),(0,C.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!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;if(!(r(e.node)||!e.parent||i.has(e.parent.key))){if(r(e.parent.node)){i.add(n.key);return}var t=!0,l=!1;(n.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var n=e.key,r=o.has(n);t&&!r&&(t=!1),!l&&(r||a.has(n))&&(l=!0)}),t&&o.add(n.key),l&&a.add(n.key),i.add(n.key)}});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(nq(a,o))}}(l,i,c,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;if(!(o(e.node)||!e.parent||c.has(e.parent.key))){if(o(e.parent.node)){c.add(n.key);return}var t=!0,r=!1;(n.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var n=e.key,o=a.has(n);t&&!o&&(t=!1),!r&&(o||l.has(n))&&(r=!0)}),t||a.delete(n.key),r&&l.add(n.key),c.add(n.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(nq(l,a))}}(l,n.halfCheckedKeys,i,c,o)}nX.displayName="NodeList";var nJ=function(e){(0,nl.Z)(t,e);var n=(0,ni.Z)(t);function t(){var e;(0,nr.Z)(this,t);for(var r=arguments.length,o=Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:[];n.forEach(function(n){var t=n.key,o=n.children;r.push(t),e(o)})}(l[c].children),r),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(d),window.addEventListener("dragend",e.onWindowDragEnd),null==i||i({event:n,node:ng(t.props)})},e.onNodeDragEnter=function(n,t){var r=e.state,o=r.expandedKeys,a=r.keyEntities,l=r.dragChildrenKeys,i=r.flattenNodes,c=r.indent,d=e.props,s=d.onDragEnter,u=d.onExpand,f=d.allowDrop,v=d.direction,h=t.props,m=h.pos,y=h.eventKey,g=(0,na.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==y&&(e.currentMouseOverDroppableNodeKey=y),!g){e.resetDragState();return}var x=nK(n,g,t,c,e.dragStartMousePosition,f,i,a,o,v),C=x.dropPosition,E=x.dropLevelOffset,k=x.dropTargetKey,Z=x.dropContainerKey,N=x.dropTargetPos,b=x.dropAllowed,w=x.dragOverNodeKey;if(-1!==l.indexOf(k)||!b||(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach(function(n){clearTimeout(e.delayedDragEnterLogic[n])}),g.props.eventKey!==t.props.eventKey&&(n.persist(),e.delayedDragEnterLogic[m]=window.setTimeout(function(){if(null!==e.state.draggingNodeKey){var r=(0,p.Z)(o),l=a[t.props.eventKey];l&&(l.children||[]).length&&(r=nb(o,t.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(r),null==u||u(r,{node:ng(t.props),expanded:!0,nativeEvent:n.nativeEvent})}},800)),g.props.eventKey===k&&0===E)){e.resetDragState();return}e.setState({dragOverNodeKey:w,dropPosition:C,dropLevelOffset:E,dropTargetKey:k,dropContainerKey:Z,dropTargetPos:N,dropAllowed:b}),null==s||s({event:n,node:ng(t.props),expandedKeys:o})},e.onNodeDragOver=function(n,t){var r=e.state,o=r.dragChildrenKeys,a=r.flattenNodes,l=r.keyEntities,i=r.expandedKeys,c=r.indent,d=e.props,s=d.onDragOver,u=d.allowDrop,f=d.direction,p=(0,na.Z)(e).dragNode;if(p){var v=nK(n,p,t,c,e.dragStartMousePosition,u,a,l,i,f),h=v.dropPosition,m=v.dropLevelOffset,y=v.dropTargetKey,g=v.dropContainerKey,x=v.dropAllowed,C=v.dropTargetPos,E=v.dragOverNodeKey;-1===o.indexOf(y)&&x&&(p.props.eventKey===y&&0===m?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():h===e.state.dropPosition&&m===e.state.dropLevelOffset&&y===e.state.dropTargetKey&&g===e.state.dropContainerKey&&C===e.state.dropTargetPos&&x===e.state.dropAllowed&&E===e.state.dragOverNodeKey||e.setState({dropPosition:h,dropLevelOffset:m,dropTargetKey:y,dropContainerKey:g,dropTargetPos:C,dropAllowed:x,dragOverNodeKey:E}),null==s||s({event:n,node:ng(t.props)}))}},e.onNodeDragLeave=function(n,t){e.currentMouseOverDroppableNodeKey!==t.props.eventKey||n.currentTarget.contains(n.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var r=e.props.onDragLeave;null==r||r({event:n,node:ng(t.props)})},e.onWindowDragEnd=function(n){e.onNodeDragEnd(n,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDragEnd=function(n,t){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==r||r({event:n,node:ng(t.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDrop=function(n,t){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.state,l=a.dragChildrenKeys,i=a.dropPosition,c=a.dropTargetKey,d=a.dropTargetPos;if(a.dropAllowed){var s=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var u=(0,f.Z)((0,f.Z)({},ny(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:e.state.keyEntities[c].node}),p=-1!==l.indexOf(c);(0,C.ZP)(!p,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var v=nw(d),h={event:n,node:ng(u),dragNode:e.dragNode?ng(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(l),dropToGap:0!==i,dropPosition:i+Number(v[v.length-1])};o||null==s||s(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],d=ng((0,f.Z)((0,f.Z)({},ny(i,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(l?nN(o,i):nb(o,i)),e.onNodeExpand(n,d)}},e.onNodeClick=function(n,t){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(n,t),null==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||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?nb(r,u):[u]:nN(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||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,f=t.key,v={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(s){var h=r?nb(i,f):nN(i,f);o={checked:h,halfChecked:nN(c,f)},v.checkedNodes=h.map(function(e){return l[e]}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:h})}else{var m=n$([].concat((0,p.Z)(i),[f]),!0,l),y=m.checkedKeys,g=m.halfCheckedKeys;if(!r){var x=new Set(y);x.delete(f);var C=n$(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||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=a.loadingKeys,c=void 0===i?[]:i,d=e.props,s=d.loadData,u=d.onLoad;return s&&-1===(void 0===l?[]:l).indexOf(t)&&-1===c.indexOf(t)?(s(n).then(function(){var o=nb(e.state.loadedKeys,t);null==u||u(o,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:o}),e.setState(function(e){return{loadingKeys:nN(e.loadingKeys,t)}}),r()}).catch(function(n){if(e.setState(function(e){return{loadingKeys:nN(e.loadingKeys,t)}}),e.loadingRetryTimes[t]=(e.loadingRetryTimes[t]||0)+1,e.loadingRetryTimes[t]>=10){var a=e.state.loadedKeys;(0,C.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:nb(a,t)}),r()}o(n)}),{loadingKeys:nb(c,t)}):null})});return r.catch(function(){}),r},e.onNodeMouseEnter=function(n,t){var r=e.props.onMouseEnter;null==r||r({event:n,node:t})},e.onNodeMouseLeave=function(n,t){var r=e.props.onMouseLeave;null==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=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){if(t in e.props){a=!1;return}o=!0,l[t]=n[t]}),o&&(!t||a)&&e.setState((0,f.Z)((0,f.Z)({},l),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,no.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,r=t.focused,o=t.flattenNodes,a=t.keyEntities,d=t.draggingNodeKey,s=t.activeKey,f=t.dropLevelOffset,p=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=C.selectable,K=C.showIcon,O=C.icon,D=C.switcherIcon,P=C.draggable,R=C.checkable,M=C.checkStrictly,L=C.disabled,T=C.motion,I=C.loadData,A=C.filterTreeNode,H=C.height,z=C.itemHeight,F=C.virtual,_=C.titleRender,j=C.dropIndicatorRender,B=C.onContextMenu,V=C.onScroll,W=C.direction,U=C.rootClassName,G=C.rootStyle,X=(0,m.Z)(this.props,{aria:!0,data:!0});return P&&(n="object"===(0,l.Z)(P)?P:"function"==typeof P?{nodeDraggable:P}:{}),v.createElement(nd.Provider,{value:{prefixCls:E,selectable:S,showIcon:K,icon:O,switcherIcon:D,draggable:n,draggingNodeKey:d,checkable:R,checkStrictly:M,disabled:L,keyEntities:a,dropLevelOffset:f,dropContainerKey:p,dropTargetKey:h,dropPosition:y,dragOverNodeKey:g,indent:x,direction:W,dropIndicatorRender:j,loadData:I,filterTreeNode:A,titleRender:_,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}},v.createElement("div",{role:"tree",className:u()(E,k,U,(e={},(0,i.Z)(e,"".concat(E,"-show-line"),N),(0,i.Z)(e,"".concat(E,"-focused"),r),(0,i.Z)(e,"".concat(E,"-active-focused"),null!==s),e)),style:G},v.createElement(nX,(0,c.Z)({ref:this.listRef,prefixCls:E,style:Z,data:o,disabled:L,selectable:S,checkable:!!R,motion:T,dragging:null!==d,height:H,itemHeight:z,virtual:F,focusable:b,focused:r,tabIndex:void 0===w?0:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:B,onScroll:V},this.getTreeNodeRequiredProps(),X))))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t,r,o=n.prevProps,a={prevProps:e};function l(n){return!o&&n in e||o&&o[n]!==e[n]}var c=n.fieldNames;if(l("fieldNames")&&(c=np(e.fieldNames),a.fieldNames=c),l("treeData")?t=e.treeData:l("children")&&((0,C.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=nv(e.children)),t){a.treeData=t;var d=nm(t,{fieldNames:c});a.keyEntities=(0,f.Z)((0,i.Z)({},nj,nV),d.keyEntities)}var s=a.keyEntities||n.keyEntities;if(l("expandedKeys")||o&&l("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!o&&e.defaultExpandParent?nP(e.expandedKeys,s):e.expandedKeys;else if(!o&&e.defaultExpandAll){var u=(0,f.Z)({},s);delete u[nj],a.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!o&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?nP(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var p=nh(t||n.treeData,a.expandedKeys||n.expandedKeys,c);a.flattenNodes=p}if(e.selectable&&(l("selectedKeys")?a.selectedKeys=nO(e.selectedKeys,e):!o&&e.defaultSelectedKeys&&(a.selectedKeys=nO(e.defaultSelectedKeys,e))),e.checkable&&(l("checkedKeys")?r=nD(e.checkedKeys)||{}:!o&&e.defaultCheckedKeys?r=nD(e.defaultCheckedKeys)||{}:t&&(r=nD(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),r)){var v=r,h=v.checkedKeys,m=void 0===h?[]:h,y=v.halfCheckedKeys,g=void 0===y?[]:y;if(!e.checkStrictly){var x=n$(m,!0,s);m=x.checkedKeys,g=x.halfCheckedKeys}a.checkedKeys=m,a.halfCheckedKeys=g}return l("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(v.Component);nJ.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 v.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},nJ.TreeNode=nZ;var nQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},n0=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:nQ}))};n0.displayName="HolderOutlined";var n1=v.forwardRef(n0),n2=t(33603);function n3(e){var n,t=e.dropPosition,r=e.dropLevelOffset,o=e.prefixCls,a=e.indent,l=e.direction,c=void 0===l?"ltr":l,d="ltr"===c?"left":"right",s=(n={},(0,i.Z)(n,d,-r*a+4),(0,i.Z)(n,"ltr"===c?"right":"left",0),n);switch(t){case -1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[d]=a+4}return v.createElement("div",{style:s,className:"".concat(o,"-drop-indicator")})}var n4={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},n8=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:n4}))};n8.displayName="CaretDownFilled";var n6=v.forwardRef(n8),n5={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"},n7=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:n5}))};n7.displayName="FileOutlined";var n9=v.forwardRef(n7),te=t(50888),tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{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"}}]},name:"minus-square",theme:"outlined"},tt=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:tn}))};tt.displayName="MinusSquareOutlined";var tr=v.forwardRef(tt),to={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{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"}}]},name:"plus-square",theme:"outlined"},ta=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:to}))};ta.displayName="PlusSquareOutlined";var tl=v.forwardRef(ta),ti=t(96159),tc=v.forwardRef(function(e,n){var t,r=v.useContext(eS.E_),o=r.getPrefixCls,a=r.direction,d=r.virtual,s=e.prefixCls,f=e.className,p=e.showIcon,h=void 0!==p&&p,m=e.showLine,y=e.switcherIcon,g=e.blockNode,x=void 0!==g&&g,C=e.children,E=e.checkable,k=void 0!==E&&E,Z=e.selectable,N=void 0===Z||Z,b=e.draggable,w=e.motion,S=void 0===w?(0,c.Z)((0,c.Z)({},n2.ZP),{motionAppear:!1}):w,K=o("tree",s),O=(0,c.Z)((0,c.Z)({},e),{checkable:k,selectable:N,showIcon:h,motion:S,blockNode:x,showLine:Boolean(m),dropIndicatorRender:n3}),D=v.useMemo(function(){if(!b)return!1;var e={};switch((0,l.Z)(b)){case"function":e.nodeDraggable=b;break;case"object":e=(0,c.Z)({},b)}return!1!==e.icon&&(e.icon=e.icon||v.createElement(n1,null)),e},[b]);return v.createElement(nJ,(0,c.Z)({itemHeight:20,ref:n,virtual:d},O,{prefixCls:K,className:u()((t={},(0,i.Z)(t,"".concat(K,"-icon-hide"),!h),(0,i.Z)(t,"".concat(K,"-block-node"),x),(0,i.Z)(t,"".concat(K,"-unselectable"),!N),(0,i.Z)(t,"".concat(K,"-rtl"),"rtl"===a),t),f),direction:a,checkable:k?v.createElement("span",{className:"".concat(K,"-checkbox-inner")}):k,selectable:N,switcherIcon:function(e){return function(e,n,t,r){var o,a=r.isLeaf,i=r.expanded;if(r.loading)return v.createElement(te.Z,{className:"".concat(e,"-switcher-loading-icon")});if(t&&"object"===(0,l.Z)(t)&&(o=t.showLeafIcon),a){if(!t)return null;if("boolean"!=typeof o&&o){var c="function"==typeof o?o(r):o;return(0,ti.l$)(c)?(0,ti.Tm)(c,{className:u()(c.props.className||"","".concat(e,"-switcher-line-custom-icon"))}):c}return o?v.createElement(n9,{className:"".concat(e,"-switcher-line-icon")}):v.createElement("span",{className:"".concat(e,"-switcher-leaf-line")})}var d="".concat(e,"-switcher-icon"),s="function"==typeof n?n(r):n;return(0,ti.l$)(s)?(0,ti.Tm)(s,{className:u()(s.props.className||"",d)}):s||(t?i?v.createElement(tr,{className:"".concat(e,"-switcher-line-icon")}):v.createElement(tl,{className:"".concat(e,"-switcher-line-icon")}):v.createElement(n6,{className:d}))}(K,y,m,e)},draggable:D}),C)}),td={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"},ts=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:td}))};ts.displayName="FolderOpenOutlined";var tu=v.forwardRef(ts),tf={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"},tp=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:tf}))};tp.displayName="FolderOutlined";var tv=v.forwardRef(tp);function th(e,n){e.forEach(function(e){var t=e.key,r=e.children;!1!==n(t,e)&&th(r||[],n)})}function tm(e,n){var t=(0,p.Z)(n),r=[];return th(e,function(e,n){var o=t.indexOf(e);return -1!==o&&(r.push(n),t.splice(o,1)),!!t.length}),r}(o=a||(a={}))[o.None=0]="None",o[o.Start=1]="Start",o[o.End=2]="End";var ty=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t};function tg(e){var n=e.isLeaf,t=e.expanded;return n?v.createElement(n9,null):t?v.createElement(tu,null):v.createElement(tv,null)}function tx(e){var n=e.treeData,t=e.children;return n||nv(t)}var tC=v.forwardRef(function(e,n){var t=e.defaultExpandAll,r=e.defaultExpandParent,o=e.defaultExpandedKeys,l=ty(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),s=v.useRef(),f=v.useRef(),h=function(){var e=nm(tx(l)).keyEntities;return t?Object.keys(e):r?nP(l.expandedKeys||o||[],e):l.expandedKeys||o},m=v.useState(l.selectedKeys||l.defaultSelectedKeys||[]),y=(0,d.Z)(m,2),g=y[0],x=y[1],C=v.useState(function(){return h()}),E=(0,d.Z)(C,2),k=E[0],Z=E[1];v.useEffect(function(){"selectedKeys"in l&&x(l.selectedKeys)},[l.selectedKeys]),v.useEffect(function(){"expandedKeys"in l&&Z(l.expandedKeys)},[l.expandedKeys]);var N=v.useContext(eS.E_),b=N.getPrefixCls,w=N.direction,S=l.prefixCls,K=l.className,O=l.showIcon,D=l.expandAction,P=ty(l,["prefixCls","className","showIcon","expandAction"]),R=b("tree",S),M=u()("".concat(R,"-directory"),(0,i.Z)({},"".concat(R,"-directory-rtl"),"rtl"===w),K);return v.createElement(tc,(0,c.Z)({icon:tg,ref:n,blockNode:!0},P,{showIcon:void 0===O||O,expandAction:void 0===D?"click":D,prefixCls:R,className:M,expandedKeys:k,selectedKeys:g,onSelect:function(e,n){var t,r,o,i,d,u,v,h,m,y=l.multiple,g=n.node,C=n.nativeEvent,E=g.key,Z=void 0===E?"":E,N=tx(l),b=(0,c.Z)((0,c.Z)({},n),{selected:!0}),w=(null==C?void 0:C.ctrlKey)||(null==C?void 0:C.metaKey),S=null==C?void 0:C.shiftKey;y&&w?(m=e,s.current=Z,f.current=m,b.selectedNodes=tm(N,m)):y&&S?(m=Array.from(new Set([].concat((0,p.Z)(f.current||[]),(0,p.Z)((r=(t={treeData:N,expandedKeys:k,startKey:Z,endKey:s.current}).treeData,o=t.expandedKeys,i=t.startKey,d=t.endKey,u=[],v=a.None,i&&i===d?[i]:i&&d?(th(r,function(e){if(v===a.End)return!1;if(e===i||e===d){if(u.push(e),v===a.None)v=a.Start;else if(v===a.Start)return v=a.End,!1}else v===a.Start&&u.push(e);return o.includes(e)}),u):[]))))),b.selectedNodes=tm(N,m)):(m=[Z],s.current=Z,f.current=m,b.selectedNodes=tm(N,m)),null===(h=l.onSelect)||void 0===h||h.call(l,m,b),"selectedKeys"in l||x(m)},onExpand:function(e,n){var t;return"expandedKeys"in l||Z(e),null===(t=l.onExpand)||void 0===t?void 0:t.call(l,e,n)}}))}),tE=tc;tE.DirectoryTree=tC,tE.TreeNode=nZ;var tk=t(57838),tZ=t(68795),tN=t(69677),tb=function(e){var n=e.value,t=e.onChange,r=e.filterSearch,o=e.tablePrefixCls,a=e.locale;return r?v.createElement("div",{className:"".concat(o,"-filter-dropdown-search")},v.createElement(tN.Z,{prefix:v.createElement(tZ.Z,null),placeholder:a.filterSearchPlaceholder,onChange:t,value:n,htmlSize:1,className:"".concat(o,"-filter-dropdown-search-input")})):null},tw=function(e){e.keyCode===nc.Z.ENTER&&e.stopPropagation()},tS=function(e){return v.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()},onKeyDown:tw},e.children)};function tK(e,n){return("string"==typeof n||"number"==typeof n)&&(null==n?void 0:n.toString().toLowerCase().includes(e.trim().toLowerCase()))}var tO=function(e){var n,t,r,o,a,l,s=e.tablePrefixCls,f=e.prefixCls,p=e.column,h=e.dropdownPrefixCls,m=e.columnKey,y=e.filterMultiple,g=e.filterMode,x=e.filterSearch,C=void 0!==x&&x,E=e.filterState,k=e.triggerFilter,Z=e.locale,N=e.children,b=e.getPopupContainer,w=p.filterDropdownOpen,S=p.onFilterDropdownOpenChange,K=p.filterDropdownVisible,O=p.onFilterDropdownVisibleChange,D=p.filterResetToDefaultFilteredValue,P=p.defaultFilteredValue,R=v.useState(!1),M=(0,d.Z)(R,2),L=M[0],T=M[1],I=!!(E&&((null===(r=E.filteredKeys)||void 0===r?void 0:r.length)||E.forceFiltered)),A=function(e){T(e),null==S||S(e),null==O||O(e)};o="boolean"==typeof w?w:"boolean"==typeof K?K:L;var H=null==E?void 0:E.filteredKeys,z=(n=v.useRef(H||[]),t=(0,tk.Z)(),[function(){return n.current},function(e){n.current=e,t()}]),F=(0,d.Z)(z,2),_=F[0],j=F[1],B=function(e){j(e.selectedKeys)};v.useEffect(function(){L&&B({selectedKeys:H||[]})},[H]);var V=v.useState([]),W=(0,d.Z)(V,2),U=W[0],G=W[1],X=v.useState(""),q=(0,d.Z)(X,2),Y=q[0],$=q[1],J=function(e){$(e.target.value)};v.useEffect(function(){L||$("")},[L]);var Q=function(e){var n=e&&e.length?e:null;if(null===n&&(!E||!E.filteredKeys)||eV()(n,null==E?void 0:E.filteredKeys))return null;k({column:p,key:m,filteredKeys:n})},ee=function(){A(!1),Q(_())},en=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},n=e.confirm,t=e.closeDropdown;n&&Q([]),t&&A(!1),$(""),D?j((P||[]).map(function(e){return String(e)})):j([])},et=u()((0,i.Z)({},"".concat(h,"-menu-without-submenu"),!(p.filters||[]).some(function(e){return e.children}))),er=function e(n){var t;return(0,c.Z)((0,c.Z)({},n),{text:n.title,value:n.key,children:(null===(t=n.children)||void 0===t?void 0:t.map(function(n){return e(n)}))||[]})};if("function"==typeof p.filterDropdown)a=p.filterDropdown({prefixCls:"".concat(h,"-custom"),setSelectedKeys:function(e){return B({selectedKeys:e})},selectedKeys:_(),confirm:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e.closeDropdown&&A(!1),Q(_())},clearFilters:en,filters:p.filters,visible:o,close:function(){A(!1)}});else if(p.filterDropdown)a=p.filterDropdown;else{var eo=_()||[];a=v.createElement(v.Fragment,null,0===(p.filters||[]).length?v.createElement(eX.Z,{image:eX.Z.PRESENTED_IMAGE_SIMPLE,description:Z.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===(void 0===g?"menu":g)?v.createElement(v.Fragment,null,v.createElement(tb,{filterSearch:C,value:Y,onChange:J,tablePrefixCls:s,locale:Z}),v.createElement("div",{className:"".concat(s,"-filter-dropdown-tree")},y?v.createElement(eU.Z,{checked:eo.length===tP(p.filters).length,indeterminate:eo.length>0&&eo.lengthn.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},tI=t(84506),tA=t(80882),tH={},tz="SELECT_ALL",tF="SELECT_INVERT",t_="SELECT_NONE",tj=[],tB=t(39398),tV=t(10010),tW=t(94199),tU="ascend",tG="descend";function tX(e){return"object"===(0,l.Z)(e.sorter)&&"number"==typeof e.sorter.multiple&&e.sorter.multiple}function tq(e){return"function"==typeof e?e:!!e&&"object"===(0,l.Z)(e)&&!!e.compare&&e.compare}function tY(e,n,t){var r=[];function o(e,n){r.push({column:e,key:eI(e,n),multiplePriority:tX(e),sortOrder:e.sortOrder})}return(e||[]).forEach(function(e,a){var l=eA(a,t);e.children?("sortOrder"in e&&o(e,l),r=[].concat((0,p.Z)(r),(0,p.Z)(tY(e.children,n,l)))):e.sorter&&("sortOrder"in e?o(e,l):n&&e.defaultSortOrder&&r.push({column:e,key:eI(e,l),multiplePriority:tX(e),sortOrder:e.defaultSortOrder}))}),r}function t$(e){var n=e.column;return{column:n,order:e.sortOrder,field:n.dataIndex,columnKey:n.key}}function tJ(e){var n=e.filter(function(e){return e.sortOrder}).map(t$);return 0===n.length&&e.length?(0,c.Z)((0,c.Z)({},t$(e[e.length-1])),{column:void 0}):n.length<=1?n[0]||{}:n}function tQ(e,n,t){var r=n.slice().sort(function(e,n){return n.multiplePriority-e.multiplePriority}),o=e.slice(),a=r.filter(function(e){var n=e.column.sorter,t=e.sortOrder;return tq(n)&&t});return a.length?o.sort(function(e,n){for(var t=0;t2&&void 0!==arguments[2]&&arguments[2],r=(0,c.Z)((0,c.Z)({},es),e);t&&(es.resetPagination(),r.pagination.current&&(r.pagination.current=1),y&&y.onChange&&y.onChange(1,r.pagination.pageSize)),M&&!1!==M.scrollToFirstRowOnChange&&el.body.current&&function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.getContainer,r=n.callback,o=n.duration,a=void 0===o?450:o,l=(void 0===t?function(){return window}:t)(),i=function(e,n){if("undefined"==typeof window)return 0;var t,r,o=n?"scrollTop":"scrollLeft",a=0;return eT(e)?a=e[n?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[o]:e instanceof HTMLElement?a=e[o]:e&&(a=e[o]),e&&!eT(e)&&"number"!=typeof a&&(a=null===(r=(null!==(t=e.ownerDocument)&&void 0!==t?t:e).documentElement)||void 0===r?void 0:r[o]),a}(l,!0),c=Date.now();(0,eL.Z)(function e(){var n,t,o=Date.now()-c,d=(n=o>a?a:o,t=0-i,(n/=a/2)<1?t/2*n*n*n+i:t/2*((n-=2)*n*n+2)+i);eT(l)?l.scrollTo(window.pageXOffset,d):l instanceof Document||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=d:l.scrollTop=d,o0?e5:e3}),na=Math.ceil((e5||e3)/no.pageSize),no.current>na&&(no.current=na||1),nl=function(e,n){nr({current:null!=e?e:1,pageSize:n||no.pageSize})},!1===y?[{},function(){}]:[(0,c.Z)((0,c.Z)({},no),{onChange:function(e,n){var t;y&&(null===(t=y.onChange)||void 0===t||t.call(y,e,n)),nl(e,n),e4(e,n||(null==no?void 0:no.pageSize))}}),nl]),eB=(0,d.Z)(ej,2),eV=eB[0],eW=eB[1];es.pagination=!1===y?{}:(ni=y,ns={current:(nd=eV).current,pageSize:nd.pageSize},Object.keys(ni&&"object"===(0,l.Z)(ni)?ni:{}).forEach(function(e){var n=nd[e];"function"!=typeof n&&(ns[e]=n)}),ns),es.resetPagination=eW;var eX=v.useMemo(function(){if(!1===y||!eV.pageSize)return ez;var e=eV.current,n=void 0===e?1:e,t=eV.total,r=eV.pageSize,o=void 0===r?10:r;return ez.lengtho?ez.slice((n-1)*o,n*o):ez:ez.slice((n-1)*o,n*o)},[!!y,ez,eV&&eV.current,eV&&eV.pageSize,eV&&eV.total]),eq=(nu={prefixCls:J,data:ez,pageData:eX,getRowKey:ei,getRecordByKey:ed,expandType:ea,childrenColumnName:eo,locale:q,getPopupContainer:w},np=(nf=g||{}).preserveSelectedRowKeys,nv=nf.selectedRowKeys,nh=nf.defaultSelectedRowKeys,ny=nf.getCheckboxProps,ng=nf.onChange,nx=nf.onSelect,nC=nf.onSelectAll,nE=nf.onSelectInvert,nk=nf.onSelectNone,nZ=nf.onSelectMultiple,nw=nf.columnWidth,nS=nf.type,nK=nf.selections,nO=nf.fixed,nD=nf.renderCell,nP=nf.hideSelectAll,nM=void 0===(nR=nf.checkStrictly)||nR,nL=nu.prefixCls,nT=nu.data,nI=nu.pageData,nA=nu.getRecordByKey,nH=nu.getRowKey,nz=nu.expandType,nF=nu.childrenColumnName,n_=nu.locale,nj=nu.getPopupContainer,nB=(0,e$.Z)(nv||nh||tj,{value:nv}),nW=(nV=(0,d.Z)(nB,2))[0],nU=nV[1],nG=v.useRef(new Map),nX=(0,v.useCallback)(function(e){if(np){var n=new Map;e.forEach(function(e){var t=nA(e);!t&&nG.current.has(e)&&(t=nG.current.get(e)),n.set(e,t)}),nG.current=n}},[nA,np]),v.useEffect(function(){nX(nW)},[nW]),nq=(0,v.useMemo)(function(){return nM?{keyEntities:null}:nm(nT,{externalGetKey:nH,childrenPropName:nF})},[nT,nH,nM,nF]).keyEntities,nY=(0,v.useMemo)(function(){return function e(n,t){var r=[];return(n||[]).forEach(function(n){r.push(n),n&&"object"===(0,l.Z)(n)&&t in n&&(r=[].concat((0,p.Z)(r),(0,p.Z)(e(n[t],t))))}),r}(nI,nF)},[nI,nF]),nJ=(0,v.useMemo)(function(){var e=new Map;return nY.forEach(function(n,t){var r=nH(n,t),o=(ny?ny(n):null)||{};e.set(r,o)}),e},[nY,nH,ny]),nQ=(0,v.useCallback)(function(e){var n;return!!(null===(n=nJ.get(nH(e)))||void 0===n?void 0:n.disabled)},[nJ,nH]),n0=(0,v.useMemo)(function(){if(nM)return[nW||[],[]];var e=n$(nW,!0,nq,nQ);return[e.checkedKeys||[],e.halfCheckedKeys]},[nW,nM,nq,nQ]),n2=(n1=(0,d.Z)(n0,2))[0],n3=n1[1],n4=(0,v.useMemo)(function(){var e="radio"===nS?n2.slice(0,1):n2;return new Set(e)},[n2,nS]),n8=(0,v.useMemo)(function(){return"radio"===nS?new Set:new Set(n3)},[n3,nS]),n6=(0,v.useState)(null),n7=(n5=(0,d.Z)(n6,2))[0],n9=n5[1],v.useEffect(function(){g||nU(tj)},[!!g]),te=(0,v.useCallback)(function(e,n){var t,r;nX(e),np?(t=e,r=e.map(function(e){return nG.current.get(e)})):(t=[],r=[],e.forEach(function(e){var n=nA(e);void 0!==n&&(t.push(e),r.push(n))})),nU(t),null==ng||ng(t,r,{type:n})},[nU,nA,ng,np]),tn=(0,v.useCallback)(function(e,n,t,r){if(nx){var o=t.map(function(e){return nA(e)});nx(nA(e),n,o,r)}te(t,"single")},[nx,nA,te]),tt=(0,v.useMemo)(function(){return!nK||nP?null:(!0===nK?[tz,tF,t_]:nK).map(function(e){return e===tz?{key:"all",text:n_.selectionAll,onSelect:function(){te(nT.map(function(e,n){return nH(e,n)}).filter(function(e){var n=nJ.get(e);return!(null==n?void 0:n.disabled)||n4.has(e)}),"all")}}:e===tF?{key:"invert",text:n_.selectInvert,onSelect:function(){var e=new Set(n4);nI.forEach(function(n,t){var r=nH(n,t),o=nJ.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))});var n=Array.from(e);nE&&nE(n),te(n,"invert")}}:e===t_?{key:"none",text:n_.selectNone,onSelect:function(){null==nk||nk(),te(Array.from(n4).filter(function(e){var n=nJ.get(e);return null==n?void 0:n.disabled}),"none")}}:e}).map(function(e){return(0,c.Z)((0,c.Z)({},e),{onSelect:function(){for(var n,t=arguments.length,r=Array(t),o=0;o0&&g&&(en.expandIconColumnIndex-=1),"number"!=typeof en.indentSize&&(en.indentSize="number"==typeof R?R:15);var e0=v.useCallback(function(e){return e_(eJ(eE(ev(e))))},[ev,eE,eJ]);if(!1!==y&&(null==eV?void 0:eV.total)){ti=eV.size?eV.size:"small"===X||"middle"===X?"small":void 0;var e1,e2,e3,e4,e8,e6,e5,e7,e9,ne,nn,nr,no,na,nl,ni,nd,ns,nu,nf,np,nv,nh,ny,ng,nx,nC,nE,nk,nZ,nw,nS,nK,nO,nD,nP,nR,nM,nL,nT,nI,nA,nH,nz,nF,n_,nj,nB,nV,nW,nU,nG,nX,nq,nY,nJ,nQ,n0,n1,n2,n3,n4,n8,n6,n5,n7,n9,te,tn,tt,tr,to,ta,tl,ti,tc=function(e){return v.createElement(eR.Z,(0,c.Z)({},eV,{className:u()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),eV.className),size:ti}))},td="rtl"===G?"left":"right",ts=eV.position;if(null!==ts&&Array.isArray(ts)){var tu=ts.find(function(e){return e.includes("top")}),tf=ts.find(function(e){return e.includes("bottom")}),tp=ts.every(function(e){return"none"==="".concat(e)});tu||tf||tp||(tl=tc(td)),tu&&(ta=tc(tu.toLowerCase().replace("top",""))),tf&&(tl=tc(tf.toLowerCase().replace("bottom","")))}else tl=tc(td)}"boolean"==typeof S?t={spinning:S}:"object"===(0,l.Z)(S)&&(t=(0,c.Z)({spinning:!0},S));var tv=u()("".concat(J,"-wrapper"),(0,i.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===G),o);return v.createElement("div",{ref:n,className:tv,style:a},v.createElement(eM.Z,(0,c.Z)({spinning:!1},t),ta,v.createElement(eb,(0,c.Z)({},_,{columns:F,direction:G,expandable:en,prefixCls:J,className:u()((to={},(0,i.Z)(to,"".concat(J,"-middle"),"middle"===X),(0,i.Z)(to,"".concat(J,"-small"),"small"===X),(0,i.Z)(to,"".concat(J,"-bordered"),f),(0,i.Z)(to,"".concat(J,"-empty"),0===Y.length),to)),data:eX,rowKey:ei,rowClassName:function(e,n,t){var r;return r="function"==typeof E?u()(E(e,n,t)):u()(E),u()((0,i.Z)({},"".concat(J,"-row-selected"),eQ.has(ei(e,n))),r)},emptyText:T&&T.emptyText||(U||eK.Z)("Table"),internalHooks:eZ,internalRefs:el,transformColumns:e0})),tl))});t1.SELECTION_COLUMN=tH,t1.EXPAND_COLUMN=eb.EXPAND_COLUMN,t1.SELECTION_ALL=tz,t1.SELECTION_INVERT=tF,t1.SELECTION_NONE=t_,t1.Column=function(e){return null},t1.ColumnGroup=function(e){return null},t1.Summary=ef;var t2=t1},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(45987),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){(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 r,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,h=n.tabIndex,m=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:h,className:"".concat(t,"-input"),checked:!!S,onClick:m,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/2852-bdd68deecc4d3e7e.js b/static/web/_next/static/chunks/3729-e88e6289f5436bb5.js similarity index 93% rename from static/web/_next/static/chunks/2852-bdd68deecc4d3e7e.js rename to static/web/_next/static/chunks/3729-e88e6289f5436bb5.js index 913e815b7..c5d1b76d6 100644 --- a/static/web/_next/static/chunks/2852-bdd68deecc4d3e7e.js +++ b/static/web/_next/static/chunks/3729-e88e6289f5436bb5.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2852],{36531:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={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"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="EditFilled";var l=n.forwardRef(u)},29158:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="LinkOutlined";var l=n.forwardRef(u)},27496:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={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"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="SendOutlined";var l=n.forwardRef(u)},93045:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={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"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="SmileOutlined";var l=n.forwardRef(u)},55355:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="TeamOutlined";var l=n.forwardRef(u)},66017:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={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"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="VerticalAlignBottomOutlined";var l=n.forwardRef(u)},6907:function(e){"use strict";e.exports=function(e){return(e=String(e||""),o.test(e))?"rtl":n.test(e)?"ltr":"neutral"};var r="֑-߿יִ-﷽ﹰ-ﻼ",t="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",o=RegExp("^[^"+t+"]*["+r+"]"),n=RegExp("^[^"+r+"]*["+t+"]")},86492:function(e,r,t){var o,n,a,i,u,l,c,s,d,p,f,m,g,h,D,v,b,x,w,y,C,E,S,q,A,T,k,I;(e=t.nmd(e))&&e.exports,(n="object"==typeof t.g&&t.g).global===n||n.window,a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\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,c={"\xad":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp","\xa0":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","‥":"nldr","…":"mldr","\xb7":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","\xb4":"acute","˜":"tilde","^":"Hat","\xaf":"macr","˘":"breve","˙":"dot","\xa8":"die","˚":"ring","˝":"dblac","\xb8":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","€":"euro","\xb9":"sup1","\xbd":"half","⅓":"frac13","\xbc":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","\xb2":"sup2","⅔":"frac23","⅖":"frac25","\xb3":"sup3","\xbe":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","\uD835\uDCB6":"ascr","\uD835\uDD52":"aopf","\uD835\uDD1E":"afr","\uD835\uDD38":"Aopf","\uD835\uDD04":"Afr","\uD835\uDC9C":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","\uD835\uDCB7":"bscr","\uD835\uDD53":"bopf","\uD835\uDD1F":"bfr","\uD835\uDD39":"Bopf",ℬ:"Bscr","\uD835\uDD05":"Bfr","\uD835\uDD20":"cfr","\uD835\uDCB8":"cscr","\uD835\uDD54":"copf",ℭ:"Cfr","\uD835\uDC9E":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","\uD835\uDD21":"dfr",ⅆ:"dd","\uD835\uDD55":"dopf","\uD835\uDCB9":"dscr","\uD835\uDC9F":"Dscr","\uD835\uDD07":"Dfr",ⅅ:"DD","\uD835\uDD3B":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr","\uD835\uDD22":"efr","\uD835\uDD56":"eopf",ℰ:"Escr","\uD835\uDD08":"Efr","\uD835\uDD3C":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","\uD835\uDD23":"ffr","\uD835\uDD57":"fopf","\uD835\uDCBB":"fscr","\uD835\uDD09":"Ffr","\uD835\uDD3D":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","\uD835\uDD58":"gopf","\uD835\uDD24":"gfr","\uD835\uDCA2":"Gscr","\uD835\uDD3E":"Gopf","\uD835\uDD0A":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","\uD835\uDD25":"hfr",ℎ:"planckh","\uD835\uDCBD":"hscr","\uD835\uDD59":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","\uD835\uDD5A":"iopf","\uD835\uDD26":"ifr","\uD835\uDCBE":"iscr",ⅈ:"ii","\uD835\uDD40":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","\uD835\uDCBF":"jscr","\uD835\uDD5B":"jopf","\uD835\uDD27":"jfr","\uD835\uDCA5":"Jscr","\uD835\uDD0D":"Jfr","\uD835\uDD41":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath","\uD835\uDD5C":"kopf","\uD835\uDCC0":"kscr","\uD835\uDD28":"kfr","\uD835\uDCA6":"Kscr","\uD835\uDD42":"Kopf","\uD835\uDD0E":"Kfr",ķ:"kcedil",Ķ:"Kcedil","\uD835\uDD29":"lfr","\uD835\uDCC1":"lscr",ℓ:"ell","\uD835\uDD5D":"lopf",ℒ:"Lscr","\uD835\uDD0F":"Lfr","\uD835\uDD43":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","\uD835\uDD2A":"mfr","\uD835\uDD5E":"mopf","\uD835\uDCC2":"mscr","\uD835\uDD10":"Mfr","\uD835\uDD44":"Mopf",ℳ:"Mscr","\uD835\uDD2B":"nfr","\uD835\uDD5F":"nopf","\uD835\uDCC3":"nscr",ℕ:"Nopf","\uD835\uDCA9":"Nscr","\uD835\uDD11":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","\uD835\uDD60":"oopf","\uD835\uDD2C":"ofr",ℴ:"oscr","\uD835\uDCAA":"Oscr","\uD835\uDD12":"Ofr","\uD835\uDD46":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","\uD835\uDD2D":"pfr","\uD835\uDCC5":"pscr","\uD835\uDD61":"popf",ℙ:"Popf","\uD835\uDD13":"Pfr","\uD835\uDCAB":"Pscr","\uD835\uDD62":"qopf","\uD835\uDD2E":"qfr","\uD835\uDCC6":"qscr","\uD835\uDCAC":"Qscr","\uD835\uDD14":"Qfr",ℚ:"Qopf",ĸ:"kgreen","\uD835\uDD2F":"rfr","\uD835\uDD63":"ropf","\uD835\uDCC7":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","\uD835\uDD64":"sopf","\uD835\uDCC8":"sscr","\uD835\uDD30":"sfr","\uD835\uDD4A":"Sopf","\uD835\uDD16":"Sfr","\uD835\uDCAE":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","\uD835\uDD31":"tfr","\uD835\uDCC9":"tscr","\uD835\uDD65":"topf","\uD835\uDCAF":"Tscr","\uD835\uDD17":"Tfr","\uD835\uDD4B":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","\uD835\uDCCA":"uscr","\uD835\uDD66":"uopf","\uD835\uDD32":"ufr","\uD835\uDD4C":"Uopf","\uD835\uDD18":"Ufr","\uD835\uDCB0":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"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",ŵ:"wcirc",Ŵ:"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",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","\uD835\uDCCF":"zscr","\uD835\uDD37":"zfr","\uD835\uDD6B":"zopf",ℨ:"Zfr",ℤ:"Zopf","\uD835\uDCB5":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},s=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\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]/,m=/&(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,g={aacute:"\xe1",Aacute:"\xc1",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"а",Acy:"А",aelig:"\xe6",AElig:"\xc6",af:"⁡",afr:"\uD835\uDD1E",Afr:"\uD835\uDD04",agrave:"\xe0",Agrave:"\xc0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"\uD835\uDD52",Aopf:"\uD835\uDD38",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"\xe5",Aring:"\xc5",ascr:"\uD835\uDCB6",Ascr:"\uD835\uDC9C",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",Bfr:"\uD835\uDD05",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"\uD835\uDD53",Bopf:"\uD835\uDD39",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\uD835\uDD20",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"\uD835\uDD54",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"\xa9",COPY:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"\uD835\uDCB8",Cscr:"\uD835\uDC9E",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",Dfr:"\uD835\uDD07",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",Dopf:"\uD835\uDD3B",dot:"˙",Dot:"\xa8",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",Dscr:"\uD835\uDC9F",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"\xe9",Eacute:"\xc9",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"\xea",Ecirc:"\xca",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",Efr:"\uD835\uDD08",eg:"⪚",egrave:"\xe8",Egrave:"\xc8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"\uD835\uDD56",Eopf:"\uD835\uDD3C",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",Ffr:"\uD835\uDD09",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",Fopf:"\uD835\uDD3D",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",Gfr:"\uD835\uDD0A",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",Gopf:"\uD835\uDD3E",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"\uD835\uDCA2",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"\uD835\uDCBD",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"\xed",Iacute:"\xcd",ic:"⁣",icirc:"\xee",Icirc:"\xce",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",Ifr:"ℑ",igrave:"\xec",Igrave:"\xcc",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"\uD835\uDD5A",Iopf:"\uD835\uDD40",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"\xef",Iuml:"\xcf",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"\uD835\uDD27",Jfr:"\uD835\uDD0D",jmath:"ȷ",jopf:"\uD835\uDD5B",Jopf:"\uD835\uDD41",jscr:"\uD835\uDCBF",Jscr:"\uD835\uDCA5",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"\uD835\uDD28",Kfr:"\uD835\uDD0E",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"\uD835\uDD5C",Kopf:"\uD835\uDD42",kscr:"\uD835\uDCC0",Kscr:"\uD835\uDCA6",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",Lfr:"\uD835\uDD0F",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",Lopf:"\uD835\uDD43",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"\uD835\uDD2A",Mfr:"\uD835\uDD10",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",Mopf:"\uD835\uDD44",mp:"∓",mscr:"\uD835\uDCC2",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",Nfr:"\uD835\uDD11",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:"\xa0",nopf:"\uD835\uDD5F",Nopf:"ℕ",not:"\xac",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",Nscr:"\uD835\uDCA9",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"\xf3",Oacute:"\xd3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",Ocirc:"\xd4",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"\uD835\uDD2C",Ofr:"\uD835\uDD12",ogon:"˛",ograve:"\xf2",Ograve:"\xd2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",Oopf:"\uD835\uDD46",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"\uD835\uDCAA",oslash:"\xf8",Oslash:"\xd8",osol:"⊘",otilde:"\xf5",Otilde:"\xd5",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"\xf6",Ouml:"\xd6",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",Pfr:"\uD835\uDD13",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"ℌ",pointint:"⨕",popf:"\uD835\uDD61",Popf:"ℙ",pound:"\xa3",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",Pscr:"\uD835\uDCAB",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"\uD835\uDD2E",Qfr:"\uD835\uDD14",qint:"⨌",qopf:"\uD835\uDD62",Qopf:"ℚ",qprime:"⁗",qscr:"\uD835\uDCC6",Qscr:"\uD835\uDCAC",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",REG:"\xae",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"\uD835\uDCC7",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",Sfr:"\uD835\uDD16",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"\xad",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",Sopf:"\uD835\uDD4A",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",Sscr:"\uD835\uDCAE",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",Tfr:"\uD835\uDD17",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",THORN:"\xde",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",Topf:"\uD835\uDD4B",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",Tscr:"\uD835\uDCAF",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"\xfa",Uacute:"\xda",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"\xfb",Ucirc:"\xdb",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",Ufr:"\uD835\uDD18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"\xa8",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"\uD835\uDD66",Uopf:"\uD835\uDD4C",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"\uD835\uDCCA",Uscr:"\uD835\uDCB0",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",Uuml:"\xdc",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"\uD835\uDD33",Vfr:"\uD835\uDD19",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",Vopf:"\uD835\uDD4D",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",Vscr:"\uD835\uDCB1",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",Wfr:"\uD835\uDD1A",wopf:"\uD835\uDD68",Wopf:"\uD835\uDD4E",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",Wscr:"\uD835\uDCB2",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",Xfr:"\uD835\uDD1B",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",Xopf:"\uD835\uDD4F",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"\uD835\uDCCD",Xscr:"\uD835\uDCB3",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",Yacute:"\xdd",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"\xa5",yfr:"\uD835\uDD36",Yfr:"\uD835\uDD1C",yicy:"ї",YIcy:"Ї",yopf:"\uD835\uDD6A",Yopf:"\uD835\uDD50",yscr:"\uD835\uDCCE",Yscr:"\uD835\uDCB4",yucy:"ю",YUcy:"Ю",yuml:"\xff",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"\uD835\uDD37",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",Zopf:"ℤ",zscr:"\uD835\uDCCF",Zscr:"\uD835\uDCB5",zwj:"‍",zwnj:"‌"},h={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"},D={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},v=[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],b=String.fromCharCode,x=({}).hasOwnProperty,w=function(e,r){return x.call(e,r)},y=function(e,r){for(var t=-1,o=e.length;++t=55296&&e<=57343||e>1114111?(r&&A("character reference outside the permissible Unicode range"),"�"):w(D,e)?(r&&A("disallowed character reference"),D[e]):(r&&y(v,e)&&A("disallowed character reference"),e>65535&&(e-=65536,t+=b(e>>>10&1023|55296),e=56320|1023&e),t+=b(e))},S=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},q=function(e){return"&#"+e+";"},A=function(e){throw Error("Parse error: "+e)},(T=function(e,r){(r=C(r,T.options)).strict&&f.test(e)&&A("forbidden code point");var t=r.encodeEverything,o=r.useNamedReferences,n=r.allowUnsafeSymbols,d=r.decimal?q:S,p=function(e){return d(e.charCodeAt(0))};return t?(e=e.replace(i,function(e){return o&&w(c,e)?"&"+c[e]+";":p(e)}),o&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),o&&(e=e.replace(l,function(e){return"&"+c[e]+";"}))):o?(n||(e=e.replace(s,function(e){return"&"+c[e]+";"})),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,function(e){return"&"+c[e]+";"})):n||(e=e.replace(s,p)),e.replace(a,function(e){return d((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536)}).replace(u,p)}).options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1},(k=function(e,r){var t=(r=C(r,k.options)).strict;return t&&p.test(e)&&A("malformed character reference"),e.replace(m,function(e,o,n,a,i,u,l,c,s){var d,p;return o?g[p=o]:n?(p=n,a&&r.isAttributeValue)?(t&&"="==a&&A("`&` did not start a character reference"),e):(t&&A("named character reference was not terminated by a semicolon"),h[p]+(a||"")):i?(d=u,t&&!d&&A("character reference was not terminated by a semicolon"),E(parseInt(i,10),t)):l?(d=c,t&&!d&&A("character reference was not terminated by a semicolon"),E(parseInt(l,16),t)):(t&&A("named character reference was not terminated by a semicolon"),e)})}).options={isAttributeValue:!1,strict:!1},I={version:"1.2.0",encode:T,decode:k,escape:function(e){return e.replace(s,function(e){return d[e]})},unescape:k},void 0!==(o=(function(){return I}).call(r,t,r,e))&&(e.exports=o)},18156:function(e,r){"use strict";for(var t="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},n={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},a={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},i=1;i<20;i++)a["f"+i]=111+i;function u(e){return e=n[e=e.toLowerCase()]||e}r.TB=function(e,r){var t,n,i,l,c;return t=e,n={byKey:!0},i=r,!n||"byKey"in n||(i=n,n=null),Array.isArray(t)||(t=[t]),l=t.map(function(e){return function(e,r){var t=r&&r.byKey,n={},i=(e=e.replace("++","+add")).split("+"),l=i.length;for(var c in o)n[o[c]]=!1;var s=!0,d=!1,p=void 0;try{for(var f,m=i[Symbol.iterator]();!(s=(f=m.next()).done);s=!0){var g,h=f.value,D=h.endsWith("?")&&h.length>1;D&&(h=h.slice(0,-1));var v=u(h),b=o[v];1!==l&&b||(t?n.key=v:n.which=(g=h,a[g=u(g)]||g.toUpperCase().charCodeAt(0))),b&&(n[b]=!D||null)}}catch(x){d=!0,p=x}finally{try{!s&&m.return&&m.return()}finally{if(d)throw p}}return n}(e,n)}),c=function(e){return l.some(function(r){return function(e,r){for(var t in e){var o=e[t],n=void 0;if(null!=o&&(null!=(n="key"===t&&null!=r.key?r.key.toLowerCase():"which"===t?91===o&&93===r.which?91:r.which:r[t])||!1!==o)&&n!==o)return!1}return!0}(r,e)})},null==i?c:c(i)}},23493:function(e,r,t){var o=t(23279),n=t(13218);e.exports=function(e,r,t){var a=!0,i=!0;if("function"!=typeof e)throw TypeError("Expected a function");return n(t)&&(a="leading"in t?!!t.leading:a,i="trailing"in t?!!t.trailing:i),o(e,r,{leading:a,maxWait:r,trailing:i})}},37501:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.deepMap=r.removeDiacritics=r.getSearch=r.getMatchBoundaries=void 0;let o=t(67294);r.getMatchBoundaries=function(e,r){let t=r.exec(e);if(t)return{first:t.index,last:t.index+t[0].length}},r.getSearch=function(e){let{search:t,ignoreDiacritics:o,diacriticsBlacklist:n,caseSensitive:i}=e;if(t instanceof RegExp)return t;let u=a(t);return o&&(u=(0,r.removeDiacritics)(u,n)),RegExp(u,i?"":"i")};let n=(e,r)=>{if(!String.prototype.normalize)return e;if(!r)return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"");{let t=r.split("");return e.normalize("NFD").replace(/.[\u0300-\u036f]+/g,function(e){return t.indexOf(e.normalize())>-1?e.normalize():e[0]})}};r.removeDiacritics=n;let a=e=>e?e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"):"",i=e=>(0,o.isValidElement)(e)&&Boolean(e.props.children),u=(e,t)=>o.Children.toArray(e).map((e,n,a)=>(0,o.isValidElement)(e)&&i(e)?t((0,o.cloneElement)(e,Object.assign(Object.assign({},e.props),{children:(0,r.deepMap)(e.props.children,t)}))):t(e,n,a));r.deepMap=u,r.default=r.deepMap},98456:function(e,r,t){"use strict";var o=this&&this.__rest||function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};Object.defineProperty(r,"__esModule",{value:!0}),r.Highlight=void 0;let n=t(85893),a=t(67294),i=t(37501);r.Highlight=(0,a.forwardRef)(function(e,r){let t=0,u=()=>t++,{search:l,ignoreDiacritics:c,diacriticsBlacklist:s,matchElement:d="mark",matchClass:p="highlight",matchStyle:f={},children:m,caseSensitive:g}=e,h=o(e,["search","ignoreDiacritics","diacriticsBlacklist","matchElement","matchClass","matchStyle","children","caseSensitive"]),D=e=>(0,n.jsx)("span",{children:e},`${e}-${t}`),v=e=>(0,a.createElement)(d,{key:`${e}-${t}`,className:p,style:f},e),b=(e,r)=>{let t=[],o=e;for(;o;){let n=c?(0,i.removeDiacritics)(o,s||""):o;if(!r.test(n)){t.push(D(o));break}let a=(0,i.getMatchBoundaries)(n,r);if((null==a?void 0:a.first)===0&&(null==a?void 0:a.last)===0)break;let l=o.slice(0,null==a?void 0:a.first);l&&t.push(D(l));let d=o.slice(null==a?void 0:a.first,null==a?void 0:a.last);d&&t.push(v(d)),o=o.slice(null==a?void 0:a.last),u()}return t};return(0,n.jsx)("span",Object.assign({},h,{ref:r},{children:l?(0,i.deepMap)(m,r=>"string"==typeof r?b(r,(0,i.getSearch)(e)):r):[m]}),void 0)})},47049:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Highlight=void 0;var o=t(98456);Object.defineProperty(r,"Highlight",{enumerable:!0,get:function(){return o.Highlight}})},9764:function(e,r,t){"use strict";t.d(r,{OO:function(){return tm}});var o,n=t(67294);function a(e,r){return function(t){return e(r(t))}}function i(e,r){return r(e)}function u(e,r){return function(t){return e(r,t)}}function l(e,r){return function(){return e(r)}}function c(){for(var e=arguments.length,r=Array(e),t=0;t-1&&e.splice(r,1)};case 0:e.slice().forEach(function(e){e(t)});return;default:throw Error("unrecognized action "+r)}}}function x(e){var r=e,t=b();return function(e,o){switch(e){case 1:o(r);break;case 0:r=o;break;case 4:return r}return t(e,o)}}function w(e){var r;return D(e,r=b()),r}function y(e,r){var t;return D(e,t=x(r)),t}function C(){for(var e=arguments.length,r=Array(e),t=0;t1?r-1:0),o=1;o0?e--:r(t)}}}function R(e){var r;return function(t){return function(o){r||(r=setTimeout(function(){r=void 0,t(o)},e))}}}function L(e){var r;return function(t){return function(o){r&&clearTimeout(r),r=setTimeout(function(){t(o)},e)}}}function H(){for(var e=arguments.length,r=Array(e),t=0;te.length)&&(r=e.length);for(var t=0,o=Array(r);t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var G=["children"],j="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function M(e,r,t){var o=Object.keys(r.required||{}),a=Object.keys(r.optional||{}),i=Object.keys(r.methods||{}),c=Object.keys(r.events||{}),s=(0,n.createContext)({});function p(e,t){e.propsReady&&m(e.propsReady,!1);for(var n,i=U(o);!(n=i()).done;){var u=n.value;m(e[r.required[u]],t[u])}for(var l,c=U(a);!(l=c()).done;){var s=l.value;s in t&&m(e[r.optional[s]],t[s])}e.propsReady&&m(e.propsReady,!0)}function D(e){return c.reduce(function(t,o){var n,a,i,u;return t[o]=(n=e[r.events[o]],u=function(){return a&&a()},function(e,r){switch(e){case 1:if(!r)return u(),f;if(i===r)return;return u(),i=r,a=n(1,r);case 2:u(),i=null;return;default:throw Error("unrecognized action "+e)}}),t},{})}return{Component:(0,n.forwardRef)(function(u,f){var h=u.children,v=function(e,r){if(null==e)return{};var t,o,n={},a=Object.keys(e);for(o=0;o=0||(n[t]=e[t]);return n}(u,G),b=(0,n.useState)(function(){var r,t;return r=new Map,p(t=function e(t){var o=t.id,n=t.constructor,a=t.dependencies,i=t.singleton;if(i&&r.has(o))return r.get(o);var u=n(a.map(function(r){return e(r)}));return i&&r.set(o,u),u}(e),v),t})[0],x=(0,n.useState)(l(D,b))[0];return j(function(){for(var e,r=U(c);!(e=r()).done;){var t=e.value;t in v&&(0,x[t])(1,v[t])}return function(){Object.values(x).map(g)}},[v,x,b]),j(function(){p(b,v)}),(0,n.useImperativeHandle)(f,d(i.reduce(function(e,t){return e[t]=function(e){m(b[r.methods[t]],e)},e},{}))),(0,n.createElement)(s.Provider,{value:b},t?(0,n.createElement)(t,function(e,r){for(var t={},o={},n=0,a=e.length;n=0||(n[t]=e[t]);return n}function _(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var J,Q,X="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;(o=Q||(Q={}))[o.DEBUG=0]="DEBUG",o[o.INFO=1]="INFO",o[o.WARN=2]="WARN",o[o.ERROR=3]="ERROR";var $=((J={})[Q.DEBUG]="debug",J[Q.INFO]="log",J[Q.WARN]="warn",J[Q.ERROR]="error",J),ee=P(function(){var e=x(Q.ERROR);return{log:x(function(r,t,o){var n;void 0===o&&(o=Q.INFO),o>=(null!=(n=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?n:h(e))&&console[$[o]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",r,t)}),logLevel:e}},[],{singleton:!0});function er(e,r){void 0===r&&(r=!0);var t=(0,n.useRef)(null),o=function(e){};if("undefined"!=typeof ResizeObserver){var a=new ResizeObserver(function(r){var t=r[0].target;null!==t.offsetParent&&e(t)});o=function(e){e&&r?(a.observe(e),t.current=e):(t.current&&a.unobserve(t.current),t.current=null)}}return{ref:t,callbackRef:o}}function et(e,r){return void 0===r&&(r=!0),er(e,r).callbackRef}function eo(e,r,t,o,n,a,i){return er(function(t){for(var u,l=function(e,r,t,o){var n=e.length;if(0===n)return null;for(var a=[],i=0;iMath.abs(e-r)}function ei(e,r,t,o,a){void 0===o&&(o=f);var i=(0,n.useRef)(null),u=(0,n.useRef)(null),l=(0,n.useRef)(null),c=(0,n.useRef)(!1),s=(0,n.useCallback)(function(t){var o=t.target,n=o===window||o===document,a=n?window.pageYOffset||document.documentElement.scrollTop:o.scrollTop,i=n?document.documentElement.scrollHeight:o.scrollHeight,s=n?window.innerHeight:o.offsetHeight,d=function(){e({scrollTop:Math.max(a,0),scrollHeight:i,viewportHeight:s})};c.current?(0,W.flushSync)(d):d(),c.current=!1,null!==u.current&&(a===u.current||a<=0||a===i-s)&&(u.current=null,r(!0),l.current&&(clearTimeout(l.current),l.current=null))},[e,r]);return(0,n.useEffect)(function(){var e=a||i.current;return o(a||i.current),s({target:e}),e.addEventListener("scroll",s,{passive:!0}),function(){o(null),e.removeEventListener("scroll",s)}},[i,s,t,o,a]),{scrollerRef:i,scrollByCallback:function(e){c.current=!0,i.current.scrollBy(e)},scrollToCallback:function(t){var o=i.current;if(o&&(!("offsetHeight"in o)||0!==o.offsetHeight)){var n,a,c,s="smooth"===t.behavior;if(o===window?(a=Math.max(en(document.documentElement,"height"),document.documentElement.scrollHeight),n=window.innerHeight,c=document.documentElement.scrollTop):(a=o.scrollHeight,n=en(o,"height"),c=o.scrollTop),t.top=Math.ceil(Math.max(Math.min(a-n,t.top),0)),ea(n,a)||t.top===c)return e({scrollTop:c,scrollHeight:a,viewportHeight:n}),void(s&&r(!0));s?(u.current=t.top,l.current&&clearTimeout(l.current),l.current=setTimeout(function(){l.current=null,u.current=null,r(!0)},1e3)):u.current=null,o.scrollTo(t)}}}}var eu=P(function(){var e=b(),r=b(),t=x(0),o=b(),n=x(0),a=b(),i=b(),u=x(0),l=x(0),c=x(0),s=x(0),d=b(),p=b(),f=x(!1),m=x(!1);return D(E(e,T(function(e){return e.scrollTop})),r),D(E(e,T(function(e){return e.scrollHeight})),i),D(r,n),{scrollContainerState:e,scrollTop:r,viewportHeight:a,headerHeight:u,fixedHeaderHeight:l,fixedFooterHeight:c,footerHeight:s,scrollHeight:i,smoothScrollTargetReached:o,react18ConcurrentRendering:m,scrollTo:d,scrollBy:p,statefulScrollTop:n,deviation:t,scrollingInProgress:f}},[],{singleton:!0}),el={lvl:0};function ec(e,r,t,o,n){return void 0===o&&(o=el),void 0===n&&(n=el),{k:e,v:r,lvl:t,l:o,r:n}}function es(e){return e===el}function ed(e,r,t){if(void 0===t&&(t="k"),es(e))return[-1/0,void 0];if(e[t]===r)return[e.k,e.v];if(e[t]e.r.lvl}function eh(e){var r=e.l,t=e.r,o=e.lvl;if(t.lvl>=o-1&&r.lvl>=o-1)return e;if(o>t.lvl+1){if(eg(r))return ex(em(e,{lvl:o-1}));if(es(r)||es(r.r))throw Error("Unexpected empty nodes");return em(r.r,{l:em(r,{r:r.r.l}),r:em(e,{l:r.r.r,lvl:o-1}),lvl:o})}if(eg(e))return eb(em(e,{lvl:o-1}));if(es(t)||es(t.l))throw Error("Unexpected empty nodes");var n=t.l,a=eg(n)?t.lvl-1:t.lvl;return em(n,{l:em(e,{r:n.l,lvl:o-1}),r:eb(em(t,{l:n.r,lvl:a})),lvl:n.lvl+1})}function eD(e,r,t){return es(e)?[]:ev(function e(r,t,o){if(es(r))return[];var n=r.k,a=r.v,i=r.r,u=[];return n>t&&(u=u.concat(e(r.l,t,o))),n>=t&&n<=o&&u.push({k:n,v:a}),n<=o&&(u=u.concat(e(i,t,o))),u}(e,ed(e,r)[0],t),function(e){return{index:e.k,value:e.v}})}function ev(e,r){var t=e.length;if(0===t)return[];for(var o=r(e[0]),n=o.index,a=o.value,i=[],u=1;u0&&(0,r[2])("received item sizes",t,Q.DEBUG);var a=e.sizeTree,i=a,u=0;if(o.length>0&&es(a)&&2===t.length){var l=t[0].size,c=t[1].size;i=o.reduce(function(e,r){return ep(ep(e,r,l),r+1,c)},i)}else{var s=function(e,r){for(var t,o=es(e)?0:1/0,n=Y(r);!(t=n()).done;){var a=t.value,i=a.size,u=a.startIndex,l=a.endIndex;if(o=Math.min(o,u),es(e))e=ep(e,0,i);else{var c=eD(e,u-1,l+1);if(!c.some(function(e){var r=e.size,t=e.startIndex,o=e.endIndex;return function(e){return e.start===t&&(e.end===o||1/0===e.end)&&e.value===r}}(a))){for(var s,d=!1,p=!1,f=Y(c);!(s=f()).done;){var m=s.value,g=m.start,h=m.end,D=m.value;d?(l>=g||i===D)&&(e=function e(r,t){if(es(r))return el;var o=r.k,n=r.l,a=r.r;if(t===o){if(es(n))return a;if(es(a))return n;var i=function e(r){return es(r.r)?[r.k,r.v]:e(r.r)}(n);return eh(em(r,{k:i[0],v:i[1],l:function e(r){return es(r.r)?r.l:eh(em(r,{r:e(r.r)}))}(n)}))}return eh(em(r,tl&&l>=g&&D!==i&&(e=ep(e,l+1,D))}p&&(e=ep(e,u,i))}}}return[e,o]}(i,t);i=s[0],u=s[1]}if(i===a)return e;var d=eq(e.offsetTree,u,i,n),p=d.offsetTree;return{sizeTree:i,offsetTree:p,lastIndex:d.lastIndex,lastOffset:d.lastOffset,lastSize:d.lastSize,groupOffsetTree:o.reduce(function(e,r){return ep(e,r,eT(r,p,n))},el),groupIndices:o}}function eT(e,r,t){if(0===r.length)return 0;var o=r[ew(r,e,eC)],n=e-o.index,a=o.size*n+(n-1)*t+o.offset;return a>0?a+t:a}function ek(e,r,t){if(void 0!==e.groupIndex)return r.groupIndices[e.groupIndex]+1;var o=eI("LAST"===e.index?t:e.index,r);return Math.max(0,o,Math.min(t,o))}function eI(e,r){if(!eB(r))return e;for(var t=0;r.groupIndices[t]<=e+t;)t++;return e+t}function eB(e){return!es(e.groupOffsetTree)}var eR={offsetHeight:"height",offsetWidth:"width"},eL=P(function(e){var r=e[0].log,t=e[1].recalcInProgress,o=b(),n=b(),a=y(n,0),i=b(),u=b(),l=x(0),c=x([]),s=x(void 0),d=x(void 0),p=x(function(e,r){return en(e,eR[r])}),f=x(void 0),g=x(0),v={offsetTree:[],sizeTree:el,groupOffsetTree:el,lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},C=y(E(o,H(c,r,g),I(eA,v),q()),v);D(E(c,A(function(e){return e.length>0}),H(C,g),T(function(e){var r=e[0],t=e[1],o=e[2],n=r.reduce(function(e,r,n){return ep(e,r,eT(r,t.offsetTree,o)||n)},el);return Z({},t,{groupIndices:r,groupOffsetTree:n})})),C),D(E(n,H(C),A(function(e){return e[0]0?(m(t,!0),m(i,e)):e<0&&m(u,e)}),E(l,H(r))(1,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:l},Q.ERROR)});var B=w(i);D(E(i,H(C),T(function(e){var r=e[0],t=e[1];if(t.groupIndices.length>0)throw Error("Virtuoso: prepending items does not work with groups");return ef(t.sizeTree).reduce(function(e,t){var o=t.k,n=t.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:o+r-1,size:e.prevSize}]),prevIndex:o+r,prevSize:n}},{ranges:[],prevIndex:0,prevSize:t.lastSize}).ranges})),o);var R=w(E(u,H(C,g),T(function(e){return eT(-e[0],e[1].offsetTree,e[2])})));return D(E(u,H(C,g),T(function(e){var r=e[0],t=e[1],o=e[2];if(t.groupIndices.length>0)throw Error("Virtuoso: shifting items does not work with groups");var n=ef(t.sizeTree).reduce(function(e,t){var o=t.v;return ep(e,Math.max(0,t.k+r),o)},el);return Z({},t,{sizeTree:n},eq(t.offsetTree,0,n,o))})),C),{data:f,totalCount:n,sizeRanges:o,groupIndices:c,defaultItemSize:d,fixedItemSize:s,unshiftWith:i,shiftWith:u,shiftWithOffset:R,beforeUnshiftWith:B,firstItemIndex:l,gap:g,sizes:C,listRefresh:k,statefulTotalCount:a,trackItemSizes:S,itemSize:p}},c(ee,ey),{singleton:!0}),eH="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function eF(e){var r="number"==typeof e?{index:e}:e;return r.align||(r.align="start"),r.behavior&&eH||(r.behavior="auto"),r.offset||(r.offset=0),r}var eO=P(function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.listRefresh,a=r.gap,i=e[1],u=i.scrollingInProgress,l=i.viewportHeight,c=i.scrollTo,s=i.smoothScrollTargetReached,d=i.headerHeight,p=i.footerHeight,f=i.fixedHeaderHeight,g=i.fixedFooterHeight,h=e[2].log,w=b(),y=x(0),C=null,S=null,q=null;function A(){C&&(C(),C=null),q&&(q(),q=null),S&&(clearTimeout(S),S=null),m(u,!1)}return D(E(w,H(t,l,o,y,d,p,h),H(a,f,g),T(function(e){var r=e[0],t=r[0],o=r[1],a=r[2],i=r[3],l=r[4],c=r[5],d=r[6],p=r[7],f=e[1],g=e[2],h=e[3],D=eF(t),b=D.align,x=D.behavior,y=D.offset,T=i-1,k=ek(D,o,T),I=eT(k,o.offsetTree,f)+c;"end"===b?(I+=g+ed(o.sizeTree,k)[1]-a+h,k===T&&(I+=d)):"center"===b?I+=(g+ed(o.sizeTree,k)[1]-a+h)/2:I-=l,y&&(I+=y);var B=function(e){A(),e?(p("retrying to scroll to",{location:t},Q.DEBUG),m(w,t)):p("list did not change, scroll successful",{},Q.DEBUG)};if(A(),"smooth"===x){var R=!1;q=n(1,function(e){R=R||e}),C=v(s,function(){B(R)})}else C=v(E(n,function(e){var r=setTimeout(function(){e(!1)},150);return function(t){t&&(e(!0),clearTimeout(r))}}),B);return S=setTimeout(function(){A()},1200),m(u,!0),p("scrolling from index to",{index:k,top:I,behavior:x},Q.DEBUG),{top:I,behavior:x}})),c),{scrollToIndex:w,topListHeight:y}},c(eL,eu,ee),{singleton:!0}),eN={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},eP=P(function(e){var r=e[0],t=r.scrollContainerState,o=r.scrollTop,n=r.viewportHeight,a=r.headerHeight,i=r.footerHeight,u=r.scrollBy,l=x(!1),c=x(!0),s=b(),d=b(),p=x(4),f=x(0),m=y(E(F(E(O(o),B(1),k(!0)),E(O(o),B(1),k(!1),L(100))),q()),!1),g=y(E(F(E(u,k(!0)),E(u,k(!1),L(200))),q()),!1);D(E(N(O(o),O(f)),T(function(e){return e[0]<=e[1]}),q()),c),D(E(c,R(50)),d);var v=w(E(N(t,O(n),O(a),O(i),O(p)),I(function(e,r){var t,o,n=r[0],a=n.scrollTop,i=n.scrollHeight,u=r[1],l={viewportHeight:u,scrollTop:a,scrollHeight:i};return a+u-i>-r[4]?(a>e.state.scrollTop?(t="SCROLLED_DOWN",o=e.state.scrollTop-a):(t="SIZE_DECREASED",o=e.state.scrollTop-a||e.scrollTopDelta),{atBottom:!0,state:l,atBottomBecause:t,scrollTopDelta:o}):{atBottom:!1,notAtBottomBecause:l.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":ur+p-g&&(m="up"),(i-=c)0){i=e[0].offset;var l=e[e.length-1];u=l.offset+l.size}var c=t-n.lastIndex,s=i,d=n.lastOffset+c*n.lastSize+(c-1)*o-u;return{items:eQ(e,n,a),topItems:eQ(r,n,a),topListHeight:r.reduce(function(e,r){return r.size+e},0),offsetTop:i,offsetBottom:d,top:s,bottom:u,totalCount:t,firstItemIndex:a}}var e$=P(function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.data,a=r.firstItemIndex,i=r.gap,u=e[1],l=e[2],c=l.visibleRange,s=l.listBoundary,d=l.topListHeight,p=e[3],f=p.scrolledToInitialItem,m=p.initialTopMostItemIndex,g=e[4].topListHeight,h=e[5],v=e[6].didMount,C=e[7].recalcInProgress,S=x([]),k=b();D(u.topItemsIndexes,S);var I=y(E(N(v,C,O(c,eW),O(o),O(t),O(m),f,O(S),O(a),O(i),n),A(function(e){return e[0]&&!e[1]}),T(function(e){var r,t,o,n,a,i,u,l=e[2],c=l[0],s=l[1],d=e[3],p=e[5],f=e[6],m=e[7],g=e[8],h=e[9],D=e[10],v=e[4],b=v.sizeTree,x=v.offsetTree;if(0===d||0===c&&0===s)return Z({},eJ,{totalCount:d});if(es(b))return eX(function(e,r,t){if(eB(r)){var o=eI(e,r);return[{index:ed(r.groupOffsetTree,o)[0],size:0,offset:0},{index:o,size:0,offset:0,data:t&&t[0]}]}return[{index:e,size:0,offset:0,data:t&&t[0]}]}("number"==typeof p?p:"LAST"===p.index?d-1:p.index,v,D),[],d,h,v,g);var w=[];if(m.length>0)for(var y,C=m[0],E=m[m.length-1],S=0,q=Y(eD(b,C,E));!(y=q()).done;)for(var A=y.value,T=A.value,k=Math.max(A.start,C),I=Math.min(A.end,E),B=k;B<=I;B++)w.push({index:B,size:T,offset:S,data:D&&D[B]}),S+=T;if(!f)return eX([],w,d,h,v,g);var R=m.length>0?m[m.length-1]+1:0,L=(r=x,t=c,o=s,void 0===(n=R)&&(n=0),n>0&&(t=Math.max(t,r[ew(r,n,eC)].offset)),ev((a=ew(r,t,eE),i=ew(r,o,eE,a),r.slice(a,i+1)),eS));if(0===L.length)return null;var H=d-1;return eX((function(e){for(var r,t=Y(L);!(r=t()).done;){var o=r.value,n=o.value,a=n.offset,i=o.start,u=n.size;if(n.offset=s);p++)e.push({index:p,size:u,offset:a,data:D&&D[p]}),a+=u+h}}(u=[]),u),w,d,h,v,g)}),A(function(e){return null!==e}),q()),eJ);return D(E(n,A(function(e){return void 0!==e}),T(function(e){return e.length})),o),D(E(I,T(function(e){return e.topListHeight})),g),D(g,d),D(E(I,T(function(e){return[e.top,e.bottom]})),s),D(E(I,T(function(e){return e.items})),k),Z({listState:I,topItemsIndexes:S,endReached:w(E(I,A(function(e){return e.items.length>0}),H(o,n),A(function(e){var r=e[0].items;return r[r.length-1].originalIndex===e[1]-1}),T(function(e){return[e[1]-1,e[2]]}),q(eW),T(function(e){return e[0]}))),startReached:w(E(I,R(200),A(function(e){var r=e.items;return r.length>0&&r[0].originalIndex===e.topItems.length}),T(function(e){return e.items[0].index}),q())),rangeChanged:w(E(I,A(function(e){return e.items.length>0}),T(function(e){for(var r=e.items,t=0,o=r.length-1;"group"===r[t].type&&tt;)o--;return{startIndex:r[t].index,endIndex:r[o].index}}),q(eZ))),itemsRendered:k},h)},c(eL,eM,eY,eV,eO,eP,ez,ey),{singleton:!0}),e0=P(function(e){var r=e[0],t=r.sizes,o=r.firstItemIndex,n=r.data,a=r.gap,i=e[1].listState,u=e[2].didMount,l=x(0);return D(E(u,H(l),A(function(e){return 0!==e[1]}),H(t,o,a,n),T(function(e){var r=e[0][1],t=e[1],o=e[2],n=e[3],a=e[4],i=void 0===a?[]:a,u=0;if(t.groupIndices.length>0)for(var l,c=Y(t.groupIndices);!((l=c()).done||l.value-u>=r);)u++;var s=r+u;return eX(Array.from({length:s}).map(function(e,r){return{index:r,size:0,offset:0,data:i[r]}}),[],s,n,t,o)})),i),{initialItemCount:l}},c(eL,e$,ez),{singleton:!0}),e1=P(function(e){var r=e[0].scrollVelocity,t=x(!1),o=b(),n=x(!1);return D(E(r,H(n,t,o),A(function(e){return!!e[1]}),T(function(e){var r=e[0],t=e[1],o=e[2],n=e[3],a=t.enter;if(o){if((0,t.exit)(r,n))return!1}else if(a(r,n))return!0;return o}),q()),t),E(N(t,r,o),H(n))(1,function(e){var r=e[0],t=e[1];return r[0]&&t&&t.change&&t.change(r[1],r[2])}),{isSeeking:t,scrollSeekConfiguration:n,scrollVelocity:r,scrollSeekRangeChanged:o}},c(eP),{singleton:!0}),e2=P(function(e){var r=e[0].topItemsIndexes,t=x(0);return D(E(t,A(function(e){return e>0}),T(function(e){return Array.from({length:e}).map(function(e,r){return r})})),r),{topItemCount:t}},c(e$)),e3=P(function(e){var r=e[0],t=r.footerHeight,o=r.headerHeight,n=r.fixedHeaderHeight,a=r.fixedFooterHeight,i=e[1].listState,u=b(),l=y(E(N(t,a,o,n,i),T(function(e){var r=e[4];return e[0]+e[1]+e[2]+e[3]+r.offsetBottom+r.bottom})),0);return D(O(l),u),{totalListHeight:l,totalListHeightChanged:u}},c(eu,e$),{singleton:!0});function e5(e){var r,t=!1;return function(){return t||(t=!0,r=e()),r}}var e8=e5(function(){return/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)}),e4=P(function(e){var r=e[0],t=r.scrollBy,o=r.scrollTop,n=r.deviation,a=r.scrollingInProgress,i=e[1],u=i.isScrolling,l=i.isAtBottom,c=i.scrollDirection,s=e[3],d=s.beforeUnshiftWith,p=s.shiftWithOffset,f=s.sizes,g=s.gap,h=e[4].log,v=e[5].recalcInProgress,b=w(E(e[2].listState,H(i.lastJumpDueToItemResize),I(function(e,r){var t=e[1],o=r[0],n=o.items,a=o.totalCount,i=o.bottom+o.offsetBottom,u=0;return e[2]===a&&t.length>0&&n.length>0&&(0===n[0].originalIndex&&0===t[0].originalIndex||0!=(u=i-e[3])&&(u+=r[1])),[u,n,a,i]},[0,[],0,0]),A(function(e){return 0!==e[0]}),H(o,c,a,l,h),A(function(e){return!e[3]&&0!==e[1]&&"up"===e[2]}),T(function(e){var r=e[0][0];return(0,e[5])("Upward scrolling compensation",{amount:r},Q.DEBUG),r})));function x(e){e>0?(m(t,{top:-e,behavior:"auto"}),m(n,0)):(m(n,0),m(t,{top:-e,behavior:"auto"}))}return E(b,H(n,u))(1,function(e){var r=e[0],t=e[1];e[2]&&e8()?m(n,t-r):x(-r)}),E(N(y(u,!1),n,v),A(function(e){return!e[0]&&!e[2]&&0!==e[1]}),T(function(e){return e[1]}),R(1))(1,x),D(E(p,T(function(e){return{top:-e}})),t),E(d,H(f,g),T(function(e){var r=e[0];return r*e[1].lastSize+r*e[2]}))(1,function(e){m(n,e),requestAnimationFrame(function(){m(t,{top:e}),requestAnimationFrame(function(){m(n,0),m(v,!1)})})}),{deviation:n}},c(eu,eP,e$,eL,ee,ey)),e6=P(function(e){var r=e[0].totalListHeight,t=e[1].didMount,o=e[2].scrollTo,n=x(0);return E(t,H(n),A(function(e){return 0!==e[1]}),T(function(e){return{top:e[1]}}))(1,function(e){v(E(r,A(function(e){return 0!==e})),function(){setTimeout(function(){m(o,e)})})}),{initialScrollTop:n}},c(e3,ez,eu),{singleton:!0}),e9=P(function(e){var r=e[0].viewportHeight,t=e[1].totalListHeight,o=x(!1);return{alignToBottom:o,paddingTopAddition:y(E(N(o,r,t),A(function(e){return e[0]}),T(function(e){return Math.max(0,e[1]-e[2])}),q()),0)}},c(eu,e3),{singleton:!0}),e7=P(function(e){var r=e[0],t=r.scrollTo,o=r.scrollContainerState,n=b(),a=b(),i=b(),u=x(!1),l=x(void 0);return D(E(N(n,a),T(function(e){var r=e[0],t=r.viewportHeight,o=r.scrollHeight;return{scrollTop:Math.max(0,r.scrollTop-e[1].offsetTop),scrollHeight:o,viewportHeight:t}})),o),D(E(t,H(a),T(function(e){var r=e[0];return Z({},r,{top:r.top+e[1].offsetTop})})),i),{useWindowScroll:u,customScrollParent:l,windowScrollContainerState:n,windowViewportRect:a,windowScrollTo:i}},c(eu)),re=["done","behavior","align"],rr=P(function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.gap,a=e[1],i=a.scrollTop,u=a.viewportHeight,l=a.headerHeight,c=a.fixedHeaderHeight,s=a.fixedFooterHeight,d=a.scrollingInProgress,p=e[2].scrollToIndex,f=b();return D(E(f,H(t,u,o,l,c,s,i),H(n),T(function(e){var r=e[0],t=r[0],o=r[1],n=r[2],a=r[3],i=r[4],u=r[5],l=r[6],c=r[7],s=e[1],p=t.done,f=t.behavior,m=t.align,g=K(t,re),h=null,D=ek(t,o,a-1),b=eT(D,o.offsetTree,s)+i+u;return bc+n-l&&(h=Z({},g,{behavior:f,align:null!=m?m:"end"})),h?p&&v(E(d,B(1),A(function(e){return!1===e})),p):p&&p(),h}),A(function(e){return null!==e})),p),{scrollIntoView:f}},c(eL,eu,eO,e$,ee),{singleton:!0}),rt=["listState","topItemsIndexes"],ro=P(function(e){return Z({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},c(eY,e0,ez,e1,e3,e6,e9,e7,rr)),rn=P(function(e){var r=e[0],t=r.totalCount,o=r.sizeRanges,n=r.fixedItemSize,a=r.defaultItemSize,i=r.trackItemSizes,u=r.itemSize,l=r.data,c=r.firstItemIndex,s=r.groupIndices,d=r.statefulTotalCount,p=r.gap,f=e[1],m=f.initialTopMostItemIndex,g=f.scrolledToInitialItem,h=e[2],v=e[3],b=e[4],x=b.listState,w=b.topItemsIndexes,y=K(b,rt),C=e[5].scrollToIndex,S=e[7].topItemCount,q=e[8].groupCounts,A=e[9],k=e[10];return D(y.rangeChanged,A.scrollSeekRangeChanged),D(E(A.windowViewportRect,T(function(e){return e.visibleHeight})),h.viewportHeight),Z({totalCount:t,data:l,firstItemIndex:c,sizeRanges:o,initialTopMostItemIndex:m,scrolledToInitialItem:g,topItemsIndexes:w,topItemCount:S,groupCounts:q,fixedItemHeight:n,defaultItemHeight:a,gap:p},v,{statefulTotalCount:d,listState:x,scrollToIndex:C,trackItemSizes:i,itemSize:u,groupIndices:s},y,A,h,k)},c(eL,eV,eu,eG,e$,eO,e4,e2,eM,ro,ee)),ra=e5(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 ri(e,r){var t=(0,n.useRef)(null),o=(0,n.useCallback)(function(o){if(null!==o&&o.offsetParent){var n,a,i=o.getBoundingClientRect(),u=i.width;if(r){var l=r.getBoundingClientRect(),c=i.top-l.top;n=l.height-Math.max(0,c),a=c+r.scrollTop}else n=window.innerHeight-Math.max(0,i.top),a=i.top+window.pageYOffset;t.current={offsetTop:a,visibleHeight:n,visibleWidth:u},e(t.current)}},[e,r]),a=er(o),i=a.callbackRef,u=a.ref,l=(0,n.useCallback)(function(){o(u.current)},[o,u]);return(0,n.useEffect)(function(){if(r){r.addEventListener("scroll",l);var e=new ResizeObserver(l);return e.observe(r),function(){r.removeEventListener("scroll",l),e.unobserve(r)}}return window.addEventListener("scroll",l),window.addEventListener("resize",l),function(){window.removeEventListener("scroll",l),window.removeEventListener("resize",l)}},[l,r]),i}var ru=n.createContext(void 0),rl=n.createContext(void 0),rc=["placeholder"],rs=["style","children"],rd=["style","children"];function rp(e){return e}var rf=P(function(){var e=x(function(e){return"Item "+e}),r=x(null),t=x(function(e){return"Group "+e}),o=x({}),n=x(rp),a=x("div"),i=x(f),u=function(e,r){return void 0===r&&(r=null),y(E(o,T(function(r){return r[e]}),q()),r)};return{context:r,itemContent:e,groupContent:t,components:o,computeItemKey:n,headerFooterTag:a,scrollerRef:i,FooterComponent:u("Footer"),HeaderComponent:u("Header"),TopItemListComponent:u("TopItemList"),ListComponent:u("List","div"),ItemComponent:u("Item","div"),GroupComponent:u("Group","div"),ScrollerComponent:u("Scroller","div"),EmptyPlaceholder:u("EmptyPlaceholder"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder")}});function rm(e,r){var t=b();return t(1,function(){return console.warn("react-virtuoso: You are using a deprecated property. "+r,"color: red;","color: inherit;","color: blue;")}),D(t,e),t}var rg=P(function(e){var r=e[0],t=e[1],o={item:rm(t.itemContent,"Rename the %citem%c prop to %citemContent."),group:rm(t.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:rm(r.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:rm(r.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:rm(r.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:b(),maxHeightCacheSize:b(),footer:b(),header:b(),HeaderContainer:b(),FooterContainer:b(),ItemContainer:b(),ScrollContainer:b(),GroupContainer:b(),ListContainer:b(),emptyComponent:b(),scrollSeek:b()};function n(e,r,o){D(E(e,H(t.components),T(function(e){var t,n=e[0],a=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+r+" instead."),Z({},a,((t={})[r]=n,t))})),t.components)}return(0,o.adjustForPrependedItems)(1,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;")}),(0,o.maxHeightCacheSize)(1,function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")}),(0,o.HeaderContainer)(1,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.")}),(0,o.FooterContainer)(1,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.")}),(0,o.scrollSeek)(1,function(e){var o=e.placeholder,n=K(e,rc);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),m(t.components,Z({},h(t.components),{ScrollSeekPlaceholder:o})),m(r.scrollSeekConfiguration,n)}),n(o.footer,"Footer","footer"),n(o.header,"Header","header"),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),n(o.emptyComponent,"EmptyPlaceholder","emptyComponent"),n(o.GroupContainer,"Group","GroupContainer"),Z({},r,t,o)},c(rn,rf)),rh=function(e){return n.createElement("div",{style:{height:e.height}})},rD={position:ra(),zIndex:1,overflowAnchor:"none"},rv={overflowAnchor:"none"},rb=n.memo(function(e){var r=e.showTopList,t=void 0!==r&&r,o=rH("listState"),a=rL("sizeRanges"),i=rH("useWindowScroll"),u=rH("customScrollParent"),l=rL("windowScrollContainerState"),c=rL("scrollContainerState"),s=rH("itemContent"),d=rH("context"),p=rH("groupContent"),m=rH("trackItemSizes"),g=eo(a,rH("itemSize"),m,t?f:u||i?l:c,rH("log"),rL("gap"),u).callbackRef,h=n.useState(0),D=h[0],v=h[1];rF("deviation",function(e){D!==e&&v(e)});var b=rH("EmptyPlaceholder"),x=rH("ScrollSeekPlaceholder")||rh,w=rH("ListComponent"),y=rH("ItemComponent"),C=rH("GroupComponent"),E=rH("computeItemKey"),S=rH("isSeeking"),q=rH("groupIndices").length>0,A=rH("paddingTopAddition"),T=t?{}:{boxSizing:"border-box",paddingTop:o.offsetTop+A,paddingBottom:o.offsetBottom,marginTop:D};return!t&&0===o.totalCount&&b?(0,n.createElement)(b,rC(b,d)):(0,n.createElement)(w,Z({},rC(w,d),{ref:g,style:T,"data-test-id":t?"virtuoso-top-item-list":"virtuoso-item-list"}),(t?o.topItems:o.items).map(function(e){var r=e.originalIndex,t=E(r+o.firstItemIndex,e.data,d);return S?(0,n.createElement)(x,Z({},rC(x,d),{key:t,index:e.index,height:e.size,type:e.type||"item"},"group"===e.type?{}:{groupIndex:e.groupIndex})):"group"===e.type?(0,n.createElement)(C,Z({},rC(C,d),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,style:rD}),p(e.index)):(0,n.createElement)(y,Z({},rC(y,d),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:rv}),q?s(e.index,e.groupIndex,e.data,d):s(e.index,e.data,d))}))}),rx={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},rw={width:"100%",height:"100%",position:"absolute",top:0},ry={width:"100%",position:ra(),top:0};function rC(e,r){if("string"!=typeof e)return{context:r}}var rE=n.memo(function(){var e=rH("HeaderComponent"),r=rL("headerHeight"),t=rH("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=rH("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null}),rS=n.memo(function(){var e=rH("FooterComponent"),r=rL("footerHeight"),t=rH("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=rH("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null});function rq(e){var r=e.usePublisher,t=e.useEmitter,o=e.useEmitterValue;return n.memo(function(e){var a=e.style,i=e.children,u=K(e,rs),l=r("scrollContainerState"),c=o("ScrollerComponent"),s=r("smoothScrollTargetReached"),d=o("scrollerRef"),p=o("context"),f=ei(l,s,c,d),m=f.scrollerRef,g=f.scrollByCallback;return t("scrollTo",f.scrollToCallback),t("scrollBy",g),(0,n.createElement)(c,Z({ref:m,style:Z({},rx,a),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},u,rC(c,p)),i)})}function rA(e){var r=e.usePublisher,t=e.useEmitter,o=e.useEmitterValue;return n.memo(function(e){var a=e.style,i=e.children,u=K(e,rd),l=r("windowScrollContainerState"),c=o("ScrollerComponent"),s=r("smoothScrollTargetReached"),d=o("totalListHeight"),p=o("deviation"),m=o("customScrollParent"),g=o("context"),h=ei(l,s,c,f,m),D=h.scrollerRef,v=h.scrollByCallback,b=h.scrollToCallback;return X(function(){return D.current=m||window,function(){D.current=null}},[D,m]),t("windowScrollTo",b),t("scrollBy",v),(0,n.createElement)(c,Z({style:Z({position:"relative"},a,0!==d?{height:d+p}:{}),"data-virtuoso-scroller":!0},u,rC(c,g)),i)})}var rT=function(e){var r=e.children,t=(0,n.useContext)(ru),o=rL("viewportHeight"),i=rL("fixedItemHeight"),u=et(a(o,function(e){return en(e,"height")}));return n.useEffect(function(){t&&(o(t.viewportHeight),i(t.itemHeight))},[t,o,i]),n.createElement("div",{style:rw,ref:u,"data-viewport-type":"element"},r)},rk=function(e){var r=e.children,t=(0,n.useContext)(ru),o=rL("windowViewportRect"),a=rL("fixedItemHeight"),i=ri(o,rH("customScrollParent"));return n.useEffect(function(){t&&(a(t.itemHeight),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,o,a]),n.createElement("div",{ref:i,style:rw,"data-viewport-type":"window"},r)},rI=function(e){var r=e.children,t=rH("TopItemListComponent"),o=Z({},ry,{marginTop:rH("headerHeight")+"px"}),a=rH("context");return(0,n.createElement)(t||"div",{style:o,context:a},r)},rB=M(rg,{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 r=rH("useWindowScroll"),t=rH("topItemsIndexes").length>0,o=rH("customScrollParent");return n.createElement(o||r?rN:rO,Z({},e),n.createElement(o||r?rk:rT,null,n.createElement(rE,null),n.createElement(rb,null),n.createElement(rS,null)),t&&n.createElement(rI,null,n.createElement(rb,{showTopList:!0})))})),rR=rB.Component,rL=rB.usePublisher,rH=rB.useEmitterValue,rF=rB.useEmitter,rO=rq({usePublisher:rL,useEmitterValue:rH,useEmitter:rF}),rN=rA({usePublisher:rL,useEmitterValue:rH,useEmitter:rF}),rP={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},rz={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},rV=Math.round,rU=Math.ceil,rG=Math.floor,rj=Math.min,rM=Math.max;function rW(e,r,t){return Array.from({length:r-e+1}).map(function(r,o){return{index:o+e,data:null==t?void 0:t[o+e]}})}function rZ(e,r){return e&&e.column===r.column&&e.row===r.row}var rK=P(function(e){var r=e[0],t=r.overscan,o=r.visibleRange,n=r.listBoundary,a=e[1],i=a.scrollTop,u=a.viewportHeight,l=a.scrollBy,c=a.scrollTo,s=a.smoothScrollTargetReached,d=a.scrollContainerState,p=a.footerHeight,f=a.headerHeight,m=e[2],g=e[3],h=e[4],v=h.propsReady,C=h.didMount,S=e[5],I=S.windowViewportRect,B=S.windowScrollTo,R=S.useWindowScroll,L=S.customScrollParent,F=S.windowScrollContainerState,P=e[6],z=x(0),V=x(0),U=x(rP),G=x({height:0,width:0}),j=x({height:0,width:0}),M=b(),W=b(),K=x(0),_=x(void 0),Y=x({row:0,column:0});D(E(N(C,V,_),A(function(e){return 0!==e[1]}),T(function(e){return{items:rW(0,e[1]-1,e[2]),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}})),U),D(E(N(O(z),o,O(Y,rZ),O(j,function(e,r){return e&&e.width===r.width&&e.height===r.height}),_),H(G),T(function(e){var r=e[0],t=r[0],o=r[1],n=o[0],a=o[1],i=r[2],u=r[3],l=r[4],c=e[1],s=i.row,d=i.column,p=u.height,f=u.width,m=c.width;if(0===t||0===m)return rP;if(0===f)return Z({},rz,{items:rW(0,0,l)});var g=rM(1,rG((m+d)/(f+d))),h=g*rG((n+s)/(p+s)),D=g*rU((a+s)/(p+s))-1;D=rj(t-1,rM(D,g-1));var v=rW(h=rj(D,rM(0,h)),D,l),b=r_(c,i,u,v),x=b.top,w=b.bottom,y=rU(t/g);return{items:v,offsetTop:x,offsetBottom:y*p+(y-1)*s-w,top:x,bottom:w,itemHeight:p,itemWidth:f}})),U),D(E(_,A(function(e){return void 0!==e}),T(function(e){return e.length})),z),D(E(G,T(function(e){return e.height})),u),D(E(N(G,j,U,Y),T(function(e){var r=r_(e[0],e[3],e[1],e[2].items);return[r.top,r.bottom]}),q(eW)),n);var J=w(E(O(U),A(function(e){return e.items.length>0}),H(z),A(function(e){var r=e[0].items;return r[r.length-1].index===e[1]-1}),T(function(e){return e[1]-1}),q())),Q=w(E(O(U),A(function(e){var r=e.items;return r.length>0&&0===r[0].index}),k(0),q())),X=w(E(O(U),A(function(e){return e.items.length>0}),T(function(e){var r=e.items;return{startIndex:r[0].index,endIndex:r[r.length-1].index}}),q(eZ)));D(X,g.scrollSeekRangeChanged),D(E(M,H(G,j,z,Y),T(function(e){var r=e[1],t=e[2],o=e[3],n=e[4],a=eF(e[0]),i=a.align,u=a.behavior,l=a.offset,c=a.index;"LAST"===c&&(c=o-1);var s=rY(r,n,t,c=rM(0,c,rj(o-1,c)));return"end"===i?s=rV(s-r.height+t.height):"center"===i&&(s=rV(s-r.height/2+t.height/2)),l&&(s+=l),{top:s,behavior:u}})),c);var $=y(E(U,T(function(e){return e.offsetBottom+e.bottom})),0);return D(E(I,T(function(e){return{width:e.visibleWidth,height:e.visibleHeight}})),G),Z({data:_,totalCount:z,viewportDimensions:G,itemDimensions:j,scrollTop:i,scrollHeight:W,overscan:t,scrollBy:l,scrollTo:c,scrollToIndex:M,smoothScrollTargetReached:s,windowViewportRect:I,windowScrollTo:B,useWindowScroll:R,customScrollParent:L,windowScrollContainerState:F,deviation:K,scrollContainerState:d,footerHeight:p,headerHeight:f,initialItemCount:V,gap:Y},g,{gridState:U,totalListHeight:$},m,{startReached:Q,endReached:J,rangeChanged:X,propsReady:v},P)},c(eY,eu,eP,e1,ez,e7,ee));function r_(e,r,t,o){var n=t.height;return void 0===n||0===o.length?{top:0,bottom:0}:{top:rY(e,r,t,o[0].index),bottom:rY(e,r,t,o[o.length-1].index)+n}}function rY(e,r,t,o){var n,a,i,u=rG(o/(n=e.width,a=t.width,rM(1,rG((n+(i=r.column))/(a+i))))),l=u*t.height+rM(0,u-1)*r.row;return l>0?l+r.row:l}var rJ=["placeholder"],rQ=P(function(){var e=x(function(e){return"Item "+e}),r=x({}),t=x(null),o=x("virtuoso-grid-item"),n=x("virtuoso-grid-list"),a=x(rp),i=x("div"),u=x(f),l=function(e,t){return void 0===t&&(t=null),y(E(r,T(function(r){return r[e]}),q()),t)};return{context:t,itemContent:e,components:r,computeItemKey:a,itemClassName:o,listClassName:n,headerFooterTag:i,scrollerRef:u,FooterComponent:l("Footer"),HeaderComponent:l("Header"),ListComponent:l("List","div"),ItemComponent:l("Item","div"),ScrollerComponent:l("Scroller","div"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder","div")}}),rX=P(function(e){var r=e[0],t=e[1],o={item:rm(t.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:b(),ScrollContainer:b(),ListContainer:b(),emptyComponent:b(),scrollSeek:b()};function n(e,r,o){D(E(e,H(t.components),T(function(e){var t,n=e[0],a=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+r+" instead."),Z({},a,((t={})[r]=n,t))})),t.components)}return(0,o.scrollSeek)(1,function(e){var o=e.placeholder,n=K(e,rJ);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),m(t.components,Z({},h(t.components),{ScrollSeekPlaceholder:o})),m(r.scrollSeekConfiguration,n)}),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),Z({},r,t,o)},c(rK,rQ)),r$=n.memo(function(){var e=r4("gridState"),r=r4("listClassName"),t=r4("itemClassName"),o=r4("itemContent"),a=r4("computeItemKey"),i=r4("isSeeking"),u=r8("scrollHeight"),l=r4("ItemComponent"),c=r4("ListComponent"),s=r4("ScrollSeekPlaceholder"),d=r4("context"),p=r8("itemDimensions"),f=r8("gap"),m=r4("log"),g=et(function(e){u(e.parentElement.parentElement.scrollHeight);var r=e.firstChild;r&&p(r.getBoundingClientRect()),f({row:te("row-gap",getComputedStyle(e).rowGap,m),column:te("column-gap",getComputedStyle(e).columnGap,m)})});return(0,n.createElement)(c,Z({ref:g,className:r},rC(c,d),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map(function(r){var u=a(r.index,r.data,d);return i?(0,n.createElement)(s,Z({key:u},rC(s,d),{index:r.index,height:e.itemHeight,width:e.itemWidth})):(0,n.createElement)(l,Z({},rC(l,d),{className:t,"data-index":r.index,key:u}),o(r.index,r.data,d))}))}),r0=n.memo(function(){var e=r4("HeaderComponent"),r=r8("headerHeight"),t=r4("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=r4("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null}),r1=n.memo(function(){var e=r4("FooterComponent"),r=r8("footerHeight"),t=r4("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=r4("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null}),r2=function(e){var r=e.children,t=(0,n.useContext)(rl),o=r8("itemDimensions"),a=r8("viewportDimensions"),i=et(function(e){a(e.getBoundingClientRect())});return n.useEffect(function(){t&&(a({height:t.viewportHeight,width:t.viewportWidth}),o({height:t.itemHeight,width:t.itemWidth}))},[t,a,o]),n.createElement("div",{style:rw,ref:i},r)},r3=function(e){var r=e.children,t=(0,n.useContext)(rl),o=r8("windowViewportRect"),a=r8("itemDimensions"),i=ri(o,r4("customScrollParent"));return n.useEffect(function(){t&&(a({height:t.itemHeight,width:t.itemWidth}),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))},[t,o,a]),n.createElement("div",{ref:i,style:rw},r)},r5=M(rX,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",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 r=Z({},e),t=r4("useWindowScroll"),o=r4("customScrollParent");return n.createElement(o||t?r7:r9,Z({},r),n.createElement(o||t?r3:r2,null,n.createElement(r0,null),n.createElement(r$,null),n.createElement(r1,null)))})),r8=(r5.Component,r5.usePublisher),r4=r5.useEmitterValue,r6=r5.useEmitter,r9=rq({usePublisher:r8,useEmitterValue:r4,useEmitter:r6}),r7=rA({usePublisher:r8,useEmitterValue:r4,useEmitter:r6});function te(e,r,t){return"normal"===r||null!=r&&r.endsWith("px")||t(e+" was not resolved to pixel value correctly",r,Q.WARN),"normal"===r?0:parseInt(null!=r?r:"0",10)}var tr=P(function(){var e=x(function(e){return n.createElement("td",null,"Item $",e)}),r=x(null),t=x(null),o=x(null),a=x({}),i=x(rp),u=x(f),l=function(e,r){return void 0===r&&(r=null),y(E(a,T(function(r){return r[e]}),q()),r)};return{context:r,itemContent:e,fixedHeaderContent:t,fixedFooterContent:o,components:a,computeItemKey:i,scrollerRef:u,TableComponent:l("Table","table"),TableHeadComponent:l("TableHead","thead"),TableFooterComponent:l("TableFoot","tfoot"),TableBodyComponent:l("TableBody","tbody"),TableRowComponent:l("TableRow","tr"),ScrollerComponent:l("Scroller","div"),EmptyPlaceholder:l("EmptyPlaceholder"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder"),FillerRow:l("FillerRow")}}),tt=P(function(e){return Z({},e[0],e[1])},c(rn,tr)),to=function(e){return n.createElement("tr",null,n.createElement("td",{style:{height:e.height}}))},tn=function(e){return n.createElement("tr",null,n.createElement("td",{style:{height:e.height,padding:0,border:0}}))},ta=n.memo(function(){var e=ts("listState"),r=tc("sizeRanges"),t=ts("useWindowScroll"),o=ts("customScrollParent"),a=tc("windowScrollContainerState"),i=tc("scrollContainerState"),u=ts("itemContent"),l=ts("trackItemSizes"),c=eo(r,ts("itemSize"),l,o||t?a:i,ts("log"),void 0,o),s=c.callbackRef,d=c.ref,p=n.useState(0),f=p[0],m=p[1];td("deviation",function(e){f!==e&&(d.current.style.marginTop=e+"px",m(e))});var g=ts("EmptyPlaceholder"),h=ts("ScrollSeekPlaceholder")||to,D=ts("FillerRow")||tn,v=ts("TableBodyComponent"),b=ts("TableRowComponent"),x=ts("computeItemKey"),w=ts("isSeeking"),y=ts("paddingTopAddition"),C=ts("firstItemIndex"),E=ts("statefulTotalCount"),S=ts("context");if(0===E&&g)return(0,n.createElement)(g,rC(g,S));var q=e.offsetTop+y+f,A=e.offsetBottom,T=q>0?n.createElement(D,{height:q,key:"padding-top"}):null,k=A>0?n.createElement(D,{height:A,key:"padding-bottom"}):null,I=e.items.map(function(e){var r=e.originalIndex,t=x(r+C,e.data,S);return w?(0,n.createElement)(h,Z({},rC(h,S),{key:t,index:e.index,height:e.size,type:e.type||"item"})):(0,n.createElement)(b,Z({},rC(b,S),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:"none"}}),u(e.index,e.data,S))});return(0,n.createElement)(v,Z({ref:s,"data-test-id":"virtuoso-item-list"},rC(v,S)),[T].concat(I,[k]))}),ti=function(e){var r=e.children,t=(0,n.useContext)(ru),o=tc("viewportHeight"),i=tc("fixedItemHeight"),u=et(a(o,function(e){return en(e,"height")}));return n.useEffect(function(){t&&(o(t.viewportHeight),i(t.itemHeight))},[t,o,i]),n.createElement("div",{style:rw,ref:u,"data-viewport-type":"element"},r)},tu=function(e){var r=e.children,t=(0,n.useContext)(ru),o=tc("windowViewportRect"),a=tc("fixedItemHeight"),i=ri(o,ts("customScrollParent"));return n.useEffect(function(){t&&(a(t.itemHeight),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,o,a]),n.createElement("div",{ref:i,style:rw,"data-viewport-type":"window"},r)},tl=M(tt,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",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 r=ts("useWindowScroll"),t=ts("customScrollParent"),o=tc("fixedHeaderHeight"),i=tc("fixedFooterHeight"),u=ts("fixedHeaderContent"),l=ts("fixedFooterContent"),c=ts("context"),s=et(a(o,function(e){return en(e,"height")})),d=et(a(i,function(e){return en(e,"height")})),p=ts("TableComponent"),f=ts("TableHeadComponent"),m=ts("TableFooterComponent"),g=u?n.createElement(f,Z({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:s},rC(f,c)),u()):null,h=l?n.createElement(m,Z({key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:d},rC(m,c)),l()):null;return n.createElement(t||r?tf:tp,Z({},e),n.createElement(t||r?tu:ti,null,n.createElement(p,Z({style:{borderSpacing:0}},rC(p,c)),[g,n.createElement(ta,{key:"TableBody"}),h])))})),tc=(tl.Component,tl.usePublisher),ts=tl.useEmitterValue,td=tl.useEmitter,tp=rq({usePublisher:tc,useEmitterValue:ts,useEmitter:td}),tf=rA({usePublisher:tc,useEmitterValue:ts,useEmitter:td}),tm=rR},12615:function(e,r,t){"use strict";function o(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function n(e,r){return(!r||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function a(e,r){if(e.clientHeightr||a>e&&i=r&&u>=t?a-e-o:i>r&&ut?i-r+n:0}function u(e,r){var t=window,n=r.scrollMode,u=r.block,l=r.inline,c=r.boundary,s=r.skipOverflowHiddenElements,d="function"==typeof c?c:function(e){return e!==c};if(!o(e))throw TypeError("Invalid target");for(var p=document.scrollingElement||document.documentElement,f=[],m=e;o(m)&&d(m);){if((m=m.parentElement)===p){f.push(m);break}null!=m&&m===document.body&&a(m)&&!a(document.documentElement)||null!=m&&a(m,s)&&f.push(m)}for(var g=t.visualViewport?t.visualViewport.width:innerWidth,h=t.visualViewport?t.visualViewport.height:innerHeight,D=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),x=b.height,w=b.width,y=b.top,C=b.right,E=b.bottom,S=b.left,q="start"===u||"nearest"===u?y:"end"===u?E:y+x/2,A="center"===l?S+w/2:"end"===l?C:S,T=[],k=0;k=0&&S>=0&&E<=h&&C<=g&&y>=H&&E<=O&&S>=N&&C<=F)break;var P=getComputedStyle(I),z=parseInt(P.borderLeftWidth,10),V=parseInt(P.borderTopWidth,10),U=parseInt(P.borderRightWidth,10),G=parseInt(P.borderBottomWidth,10),j=0,M=0,W="offsetWidth"in I?I.offsetWidth-I.clientWidth-z-U:0,Z="offsetHeight"in I?I.offsetHeight-I.clientHeight-V-G:0;if(p===I)j="start"===u?q:"end"===u?q-h:"nearest"===u?i(v,v+h,h,V,G,v+q,v+q+x,x):q-h/2,M="start"===l?A:"center"===l?A-g/2:"end"===l?A-g:i(D,D+g,g,z,U,D+A,D+A+w,w),j=Math.max(0,j+v),M=Math.max(0,M+D);else{j="start"===u?q-H-V:"end"===u?q-O+G+Z:"nearest"===u?i(H,O,R,V,G+Z,q,q+x,x):q-(H+R/2)+Z/2,M="start"===l?A-N-z:"center"===l?A-(N+L/2)+W/2:"end"===l?A-F+U+W:i(N,F,L,z,U+W,A,A+w,w);var K=I.scrollLeft,_=I.scrollTop;q+=_-(j=Math.max(0,Math.min(_+j,I.scrollHeight-R+Z))),A+=K-(M=Math.max(0,Math.min(K+M,I.scrollWidth-L+W)))}T.push({el:I,top:j,left:M})}return T}function l(e){return e===Object(e)&&0!==Object.keys(e).length}t.d(r,{Z:function(){return c}});var c=function(e,r){var t=e.isConnected||e.ownerDocument.documentElement.contains(e);if(l(r)&&"function"==typeof r.behavior)return r.behavior(t?u(e,r):[]);if(t){var o=!1===r?{block:"end",inline:"nearest"}:l(r)?r:{block:"start",inline:"nearest"};return function(e,r){void 0===r&&(r="auto");var t="scrollBehavior"in document.body.style;e.forEach(function(e){var o=e.el,n=e.top,a=e.left;o.scroll&&t?o.scroll({top:n,left:a,behavior:r}):(o.scrollTop=n,o.scrollLeft=a)})}(u(e,o),o.behavior)}}},12902:function(e,r,t){"use strict";function o(e){for(var r=arguments.length,t=Array(r>1?r-1:0),o=1;o3?r.i-4:r.i:Array.isArray(e)?1:s(e)?2:d(e)?3:0}function l(e,r){return 2===u(e)?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function c(e,r,t){var o=u(e);2===o?e.set(r,t):3===o?(e.delete(r),e.add(t)):e[r]=t}function s(e){return O&&e instanceof Map}function d(e){return N&&e instanceof Set}function p(e){return e.o||e.t}function f(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=M(e);delete r[U];for(var t=j(r),o=0;o1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),r&&i(e,function(e,r){return m(r,!0)},!0)),e}function g(){o(2)}function h(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function D(e){var r=W[e];return r||o(18,e),r}function v(e,r){r&&(D("Patches"),e.u=[],e.s=[],e.v=r)}function b(e){x(e),e.p.forEach(y),e.p=null}function x(e){e===H&&(H=e.l)}function w(e){return H={p:[],l:H,h:e,m:!0,_:0}}function y(e){var r=e[U];0===r.i||1===r.i?r.j():r.O=!0}function C(e,r){r._=r.p.length;var t=r.p[0],n=void 0!==e&&e!==t;return r.h.g||D("ES5").S(r,e,n),n?(t[U].P&&(b(r),o(4)),a(e)&&(e=E(r,e),r.l||q(r,e)),r.u&&D("Patches").M(t[U].t,e,r.u,r.s)):e=E(r,t,[]),b(r),r.u&&r.v(r.u,r.s),e!==z?e:void 0}function E(e,r,t){if(h(r))return r;var o=r[U];if(!o)return i(r,function(n,a){return S(e,o,r,n,a,t)},!0),r;if(o.A!==e)return r;if(!o.P)return q(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=4===o.i||5===o.i?o.o=f(o.k):o.o;i(3===o.i?new Set(n):n,function(r,a){return S(e,o,n,r,a,t)}),q(e,n,!1),t&&e.u&&D("Patches").R(o,t,e.u,e.s)}return o.o}function S(e,r,t,o,i,u){if(n(i)){var s=E(e,i,u&&r&&3!==r.i&&!l(r.D,o)?u.concat(o):void 0);if(c(t,o,s),!n(s))return;e.m=!1}if(a(i)&&!h(i)){if(!e.h.F&&e._<1)return;E(e,i),r&&r.A.l||q(e,i)}}function q(e,r,t){void 0===t&&(t=!1),e.h.F&&e.m&&m(r,t)}function A(e,r){var t=e[U];return(t?p(t):e)[r]}function T(e,r){if(r in e)for(var t=Object.getPrototypeOf(e);t;){var o=Object.getOwnPropertyDescriptor(t,r);if(o)return o;t=Object.getPrototypeOf(t)}}function k(e){e.P||(e.P=!0,e.l&&k(e.l))}function I(e){e.o||(e.o=f(e.t))}function B(e,r,t){var o,n,a,i,u,l,c,p=s(r)?D("MapSet").N(r,t):d(r)?D("MapSet").T(r,t):e.g?(a=n={i:(o=Array.isArray(r))?1:0,A:t?t.A:H,P:!1,I:!1,D:{},l:t,t:r,k:null,o:null,j:null,C:!1},i=Z,o&&(a=[n],i=K),l=(u=Proxy.revocable(a,i)).revoke,c=u.proxy,n.k=c,n.j=l,c):D("ES5").J(r,t);return(t?t.A:H).p.push(p),p}function R(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return f(e)}t.d(r,{P2:function(){return J},Uy:function(){return Y},_x:function(){return Q},mv:function(){return n}});var L,H,F="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),O="undefined"!=typeof Map,N="undefined"!=typeof Set,P="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,z=F?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),V=F?Symbol.for("immer-draftable"):"__$immer_draftable",U=F?Symbol.for("immer-state"):"__$immer_state",G=""+Object.prototype.constructor,j="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,M=Object.getOwnPropertyDescriptors||function(e){var r={};return j(e).forEach(function(t){r[t]=Object.getOwnPropertyDescriptor(e,t)}),r},W={},Z={get:function(e,r){if(r===U)return e;var t,o,n=p(e);if(!l(n,r))return(o=T(n,r))?"value"in o?o.value:null===(t=o.get)||void 0===t?void 0:t.call(e.k):void 0;var i=n[r];return e.I||!a(i)?i:i===A(e.t,r)?(I(e),e.o[r]=B(e.A.h,i,e)):i},has:function(e,r){return r in p(e)},ownKeys:function(e){return Reflect.ownKeys(p(e))},set:function(e,r,t){var o=T(p(e),r);if(null==o?void 0:o.set)return o.set.call(e.k,t),!0;if(!e.P){var n=A(p(e),r),a=null==n?void 0:n[U];if(a&&a.t===t)return e.o[r]=t,e.D[r]=!1,!0;if((t===n?0!==t||1/t==1/n:t!=t&&n!=n)&&(void 0!==t||l(e.t,r)))return!0;I(e),k(e)}return e.o[r]===t&&"number"!=typeof t&&(void 0!==t||r in e.o)||(e.o[r]=t,e.D[r]=!0,!0)},deleteProperty:function(e,r){return void 0!==A(e.t,r)||r in e.t?(e.D[r]=!1,I(e),k(e)):delete e.D[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var t=p(e),o=Reflect.getOwnPropertyDescriptor(t,r);return o?{writable:!0,configurable:1!==e.i||"length"!==r,enumerable:o.enumerable,value:t[r]}:o},defineProperty:function(){o(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){o(12)}},K={};i(Z,function(e,r){K[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),K.deleteProperty=function(e,r){return K.set.call(this,e,r,void 0)},K.set=function(e,r,t){return Z.set.call(this,e[0],r,t,e[0])};var _=new(function(){function e(e){var r=this;this.g=P,this.F=!0,this.produce=function(e,t,n){if("function"==typeof e&&"function"!=typeof t){var i,u=t;return t=e,function(e){var o=this;void 0===e&&(e=u);for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i1?o-1:0),a=1;a=0;t--){var t,o=r[t];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}t>-1&&(r=r.slice(t+1));var a=D("Patches").$;return n(e)?a(e,r):this.produce(e,function(e){return a(e,r)})},e}()),Y=_.produce,J=(_.produceWithPatches.bind(_),_.setAutoFreeze.bind(_),_.setUseProxies.bind(_),_.applyPatches.bind(_),_.createDraft.bind(_)),Q=_.finishDraft.bind(_)},45628:function(e,r,t){"use strict";/*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3729],{36531:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={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"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="EditFilled";var l=n.forwardRef(u)},29158:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="LinkOutlined";var l=n.forwardRef(u)},27496:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={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"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="SendOutlined";var l=n.forwardRef(u)},93045:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={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"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="SmileOutlined";var l=n.forwardRef(u)},55355:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="TeamOutlined";var l=n.forwardRef(u)},66017:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={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"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="VerticalAlignBottomOutlined";var l=n.forwardRef(u)},6907:function(e){"use strict";e.exports=function(e){return(e=String(e||""),o.test(e))?"rtl":n.test(e)?"ltr":"neutral"};var r="֑-߿יִ-﷽ﹰ-ﻼ",t="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",o=RegExp("^[^"+t+"]*["+r+"]"),n=RegExp("^[^"+r+"]*["+t+"]")},86492:function(e,r,t){var o,n,a,i,u,l,c,s,d,p,f,m,g,h,D,v,b,x,w,y,C,E,S,q,A,T,k,I;(e=t.nmd(e))&&e.exports,(n="object"==typeof t.g&&t.g).global===n||n.window,a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\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,c={"\xad":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp","\xa0":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","‥":"nldr","…":"mldr","\xb7":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","\xb4":"acute","˜":"tilde","^":"Hat","\xaf":"macr","˘":"breve","˙":"dot","\xa8":"die","˚":"ring","˝":"dblac","\xb8":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","€":"euro","\xb9":"sup1","\xbd":"half","⅓":"frac13","\xbc":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","\xb2":"sup2","⅔":"frac23","⅖":"frac25","\xb3":"sup3","\xbe":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","\uD835\uDCB6":"ascr","\uD835\uDD52":"aopf","\uD835\uDD1E":"afr","\uD835\uDD38":"Aopf","\uD835\uDD04":"Afr","\uD835\uDC9C":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","\uD835\uDCB7":"bscr","\uD835\uDD53":"bopf","\uD835\uDD1F":"bfr","\uD835\uDD39":"Bopf",ℬ:"Bscr","\uD835\uDD05":"Bfr","\uD835\uDD20":"cfr","\uD835\uDCB8":"cscr","\uD835\uDD54":"copf",ℭ:"Cfr","\uD835\uDC9E":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","\uD835\uDD21":"dfr",ⅆ:"dd","\uD835\uDD55":"dopf","\uD835\uDCB9":"dscr","\uD835\uDC9F":"Dscr","\uD835\uDD07":"Dfr",ⅅ:"DD","\uD835\uDD3B":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr","\uD835\uDD22":"efr","\uD835\uDD56":"eopf",ℰ:"Escr","\uD835\uDD08":"Efr","\uD835\uDD3C":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","\uD835\uDD23":"ffr","\uD835\uDD57":"fopf","\uD835\uDCBB":"fscr","\uD835\uDD09":"Ffr","\uD835\uDD3D":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","\uD835\uDD58":"gopf","\uD835\uDD24":"gfr","\uD835\uDCA2":"Gscr","\uD835\uDD3E":"Gopf","\uD835\uDD0A":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","\uD835\uDD25":"hfr",ℎ:"planckh","\uD835\uDCBD":"hscr","\uD835\uDD59":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","\uD835\uDD5A":"iopf","\uD835\uDD26":"ifr","\uD835\uDCBE":"iscr",ⅈ:"ii","\uD835\uDD40":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","\uD835\uDCBF":"jscr","\uD835\uDD5B":"jopf","\uD835\uDD27":"jfr","\uD835\uDCA5":"Jscr","\uD835\uDD0D":"Jfr","\uD835\uDD41":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath","\uD835\uDD5C":"kopf","\uD835\uDCC0":"kscr","\uD835\uDD28":"kfr","\uD835\uDCA6":"Kscr","\uD835\uDD42":"Kopf","\uD835\uDD0E":"Kfr",ķ:"kcedil",Ķ:"Kcedil","\uD835\uDD29":"lfr","\uD835\uDCC1":"lscr",ℓ:"ell","\uD835\uDD5D":"lopf",ℒ:"Lscr","\uD835\uDD0F":"Lfr","\uD835\uDD43":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","\uD835\uDD2A":"mfr","\uD835\uDD5E":"mopf","\uD835\uDCC2":"mscr","\uD835\uDD10":"Mfr","\uD835\uDD44":"Mopf",ℳ:"Mscr","\uD835\uDD2B":"nfr","\uD835\uDD5F":"nopf","\uD835\uDCC3":"nscr",ℕ:"Nopf","\uD835\uDCA9":"Nscr","\uD835\uDD11":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","\uD835\uDD60":"oopf","\uD835\uDD2C":"ofr",ℴ:"oscr","\uD835\uDCAA":"Oscr","\uD835\uDD12":"Ofr","\uD835\uDD46":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","\uD835\uDD2D":"pfr","\uD835\uDCC5":"pscr","\uD835\uDD61":"popf",ℙ:"Popf","\uD835\uDD13":"Pfr","\uD835\uDCAB":"Pscr","\uD835\uDD62":"qopf","\uD835\uDD2E":"qfr","\uD835\uDCC6":"qscr","\uD835\uDCAC":"Qscr","\uD835\uDD14":"Qfr",ℚ:"Qopf",ĸ:"kgreen","\uD835\uDD2F":"rfr","\uD835\uDD63":"ropf","\uD835\uDCC7":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","\uD835\uDD64":"sopf","\uD835\uDCC8":"sscr","\uD835\uDD30":"sfr","\uD835\uDD4A":"Sopf","\uD835\uDD16":"Sfr","\uD835\uDCAE":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","\uD835\uDD31":"tfr","\uD835\uDCC9":"tscr","\uD835\uDD65":"topf","\uD835\uDCAF":"Tscr","\uD835\uDD17":"Tfr","\uD835\uDD4B":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","\uD835\uDCCA":"uscr","\uD835\uDD66":"uopf","\uD835\uDD32":"ufr","\uD835\uDD4C":"Uopf","\uD835\uDD18":"Ufr","\uD835\uDCB0":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"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",ŵ:"wcirc",Ŵ:"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",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","\uD835\uDCCF":"zscr","\uD835\uDD37":"zfr","\uD835\uDD6B":"zopf",ℨ:"Zfr",ℤ:"Zopf","\uD835\uDCB5":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},s=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\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]/,m=/&(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,g={aacute:"\xe1",Aacute:"\xc1",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"а",Acy:"А",aelig:"\xe6",AElig:"\xc6",af:"⁡",afr:"\uD835\uDD1E",Afr:"\uD835\uDD04",agrave:"\xe0",Agrave:"\xc0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"\uD835\uDD52",Aopf:"\uD835\uDD38",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"\xe5",Aring:"\xc5",ascr:"\uD835\uDCB6",Ascr:"\uD835\uDC9C",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",Bfr:"\uD835\uDD05",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"\uD835\uDD53",Bopf:"\uD835\uDD39",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\uD835\uDD20",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"\uD835\uDD54",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"\xa9",COPY:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"\uD835\uDCB8",Cscr:"\uD835\uDC9E",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",Dfr:"\uD835\uDD07",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",Dopf:"\uD835\uDD3B",dot:"˙",Dot:"\xa8",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",Dscr:"\uD835\uDC9F",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"\xe9",Eacute:"\xc9",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"\xea",Ecirc:"\xca",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",Efr:"\uD835\uDD08",eg:"⪚",egrave:"\xe8",Egrave:"\xc8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"\uD835\uDD56",Eopf:"\uD835\uDD3C",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",Ffr:"\uD835\uDD09",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",Fopf:"\uD835\uDD3D",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",Gfr:"\uD835\uDD0A",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",Gopf:"\uD835\uDD3E",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"\uD835\uDCA2",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"\uD835\uDCBD",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"\xed",Iacute:"\xcd",ic:"⁣",icirc:"\xee",Icirc:"\xce",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",Ifr:"ℑ",igrave:"\xec",Igrave:"\xcc",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"\uD835\uDD5A",Iopf:"\uD835\uDD40",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"\xef",Iuml:"\xcf",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"\uD835\uDD27",Jfr:"\uD835\uDD0D",jmath:"ȷ",jopf:"\uD835\uDD5B",Jopf:"\uD835\uDD41",jscr:"\uD835\uDCBF",Jscr:"\uD835\uDCA5",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"\uD835\uDD28",Kfr:"\uD835\uDD0E",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"\uD835\uDD5C",Kopf:"\uD835\uDD42",kscr:"\uD835\uDCC0",Kscr:"\uD835\uDCA6",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",Lfr:"\uD835\uDD0F",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",Lopf:"\uD835\uDD43",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"\uD835\uDD2A",Mfr:"\uD835\uDD10",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",Mopf:"\uD835\uDD44",mp:"∓",mscr:"\uD835\uDCC2",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",Nfr:"\uD835\uDD11",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:"\xa0",nopf:"\uD835\uDD5F",Nopf:"ℕ",not:"\xac",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",Nscr:"\uD835\uDCA9",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"\xf3",Oacute:"\xd3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",Ocirc:"\xd4",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"\uD835\uDD2C",Ofr:"\uD835\uDD12",ogon:"˛",ograve:"\xf2",Ograve:"\xd2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",Oopf:"\uD835\uDD46",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"\uD835\uDCAA",oslash:"\xf8",Oslash:"\xd8",osol:"⊘",otilde:"\xf5",Otilde:"\xd5",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"\xf6",Ouml:"\xd6",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",Pfr:"\uD835\uDD13",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"ℌ",pointint:"⨕",popf:"\uD835\uDD61",Popf:"ℙ",pound:"\xa3",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",Pscr:"\uD835\uDCAB",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"\uD835\uDD2E",Qfr:"\uD835\uDD14",qint:"⨌",qopf:"\uD835\uDD62",Qopf:"ℚ",qprime:"⁗",qscr:"\uD835\uDCC6",Qscr:"\uD835\uDCAC",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",REG:"\xae",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"\uD835\uDCC7",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",Sfr:"\uD835\uDD16",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"\xad",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",Sopf:"\uD835\uDD4A",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",Sscr:"\uD835\uDCAE",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",Tfr:"\uD835\uDD17",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",THORN:"\xde",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",Topf:"\uD835\uDD4B",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",Tscr:"\uD835\uDCAF",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"\xfa",Uacute:"\xda",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"\xfb",Ucirc:"\xdb",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",Ufr:"\uD835\uDD18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"\xa8",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"\uD835\uDD66",Uopf:"\uD835\uDD4C",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"\uD835\uDCCA",Uscr:"\uD835\uDCB0",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",Uuml:"\xdc",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"\uD835\uDD33",Vfr:"\uD835\uDD19",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",Vopf:"\uD835\uDD4D",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",Vscr:"\uD835\uDCB1",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",Wfr:"\uD835\uDD1A",wopf:"\uD835\uDD68",Wopf:"\uD835\uDD4E",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",Wscr:"\uD835\uDCB2",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",Xfr:"\uD835\uDD1B",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",Xopf:"\uD835\uDD4F",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"\uD835\uDCCD",Xscr:"\uD835\uDCB3",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",Yacute:"\xdd",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"\xa5",yfr:"\uD835\uDD36",Yfr:"\uD835\uDD1C",yicy:"ї",YIcy:"Ї",yopf:"\uD835\uDD6A",Yopf:"\uD835\uDD50",yscr:"\uD835\uDCCE",Yscr:"\uD835\uDCB4",yucy:"ю",YUcy:"Ю",yuml:"\xff",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"\uD835\uDD37",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",Zopf:"ℤ",zscr:"\uD835\uDCCF",Zscr:"\uD835\uDCB5",zwj:"‍",zwnj:"‌"},h={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"},D={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},v=[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],b=String.fromCharCode,x=({}).hasOwnProperty,w=function(e,r){return x.call(e,r)},y=function(e,r){for(var t=-1,o=e.length;++t=55296&&e<=57343||e>1114111?(r&&A("character reference outside the permissible Unicode range"),"�"):w(D,e)?(r&&A("disallowed character reference"),D[e]):(r&&y(v,e)&&A("disallowed character reference"),e>65535&&(e-=65536,t+=b(e>>>10&1023|55296),e=56320|1023&e),t+=b(e))},S=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},q=function(e){return"&#"+e+";"},A=function(e){throw Error("Parse error: "+e)},(T=function(e,r){(r=C(r,T.options)).strict&&f.test(e)&&A("forbidden code point");var t=r.encodeEverything,o=r.useNamedReferences,n=r.allowUnsafeSymbols,d=r.decimal?q:S,p=function(e){return d(e.charCodeAt(0))};return t?(e=e.replace(i,function(e){return o&&w(c,e)?"&"+c[e]+";":p(e)}),o&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),o&&(e=e.replace(l,function(e){return"&"+c[e]+";"}))):o?(n||(e=e.replace(s,function(e){return"&"+c[e]+";"})),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,function(e){return"&"+c[e]+";"})):n||(e=e.replace(s,p)),e.replace(a,function(e){return d((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536)}).replace(u,p)}).options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1},(k=function(e,r){var t=(r=C(r,k.options)).strict;return t&&p.test(e)&&A("malformed character reference"),e.replace(m,function(e,o,n,a,i,u,l,c,s){var d,p;return o?g[p=o]:n?(p=n,a&&r.isAttributeValue)?(t&&"="==a&&A("`&` did not start a character reference"),e):(t&&A("named character reference was not terminated by a semicolon"),h[p]+(a||"")):i?(d=u,t&&!d&&A("character reference was not terminated by a semicolon"),E(parseInt(i,10),t)):l?(d=c,t&&!d&&A("character reference was not terminated by a semicolon"),E(parseInt(l,16),t)):(t&&A("named character reference was not terminated by a semicolon"),e)})}).options={isAttributeValue:!1,strict:!1},I={version:"1.2.0",encode:T,decode:k,escape:function(e){return e.replace(s,function(e){return d[e]})},unescape:k},void 0!==(o=(function(){return I}).call(r,t,r,e))&&(e.exports=o)},18156:function(e,r){"use strict";for(var t="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},n={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},a={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},i=1;i<20;i++)a["f"+i]=111+i;function u(e){return e=n[e=e.toLowerCase()]||e}r.TB=function(e,r){var t,n,i,l,c;return t=e,n={byKey:!0},i=r,!n||"byKey"in n||(i=n,n=null),Array.isArray(t)||(t=[t]),l=t.map(function(e){return function(e,r){var t=r&&r.byKey,n={},i=(e=e.replace("++","+add")).split("+"),l=i.length;for(var c in o)n[o[c]]=!1;var s=!0,d=!1,p=void 0;try{for(var f,m=i[Symbol.iterator]();!(s=(f=m.next()).done);s=!0){var g,h=f.value,D=h.endsWith("?")&&h.length>1;D&&(h=h.slice(0,-1));var v=u(h),b=o[v];1!==l&&b||(t?n.key=v:n.which=(g=h,a[g=u(g)]||g.toUpperCase().charCodeAt(0))),b&&(n[b]=!D||null)}}catch(x){d=!0,p=x}finally{try{!s&&m.return&&m.return()}finally{if(d)throw p}}return n}(e,n)}),c=function(e){return l.some(function(r){return function(e,r){for(var t in e){var o=e[t],n=void 0;if(null!=o&&(null!=(n="key"===t&&null!=r.key?r.key.toLowerCase():"which"===t?91===o&&93===r.which?91:r.which:r[t])||!1!==o)&&n!==o)return!1}return!0}(r,e)})},null==i?c:c(i)}},23493:function(e,r,t){var o=t(23279),n=t(13218);e.exports=function(e,r,t){var a=!0,i=!0;if("function"!=typeof e)throw TypeError("Expected a function");return n(t)&&(a="leading"in t?!!t.leading:a,i="trailing"in t?!!t.trailing:i),o(e,r,{leading:a,maxWait:r,trailing:i})}},37501:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.deepMap=r.removeDiacritics=r.getSearch=r.getMatchBoundaries=void 0;let o=t(67294);r.getMatchBoundaries=function(e,r){let t=r.exec(e);if(t)return{first:t.index,last:t.index+t[0].length}},r.getSearch=function(e){let{search:t,ignoreDiacritics:o,diacriticsBlacklist:n,caseSensitive:i}=e;if(t instanceof RegExp)return t;let u=a(t);return o&&(u=(0,r.removeDiacritics)(u,n)),RegExp(u,i?"":"i")};let n=(e,r)=>{if(!String.prototype.normalize)return e;if(!r)return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"");{let t=r.split("");return e.normalize("NFD").replace(/.[\u0300-\u036f]+/g,function(e){return t.indexOf(e.normalize())>-1?e.normalize():e[0]})}};r.removeDiacritics=n;let a=e=>e?e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"):"",i=e=>(0,o.isValidElement)(e)&&Boolean(e.props.children),u=(e,t)=>o.Children.toArray(e).map((e,n,a)=>(0,o.isValidElement)(e)&&i(e)?t((0,o.cloneElement)(e,Object.assign(Object.assign({},e.props),{children:(0,r.deepMap)(e.props.children,t)}))):t(e,n,a));r.deepMap=u,r.default=r.deepMap},98456:function(e,r,t){"use strict";var o=this&&this.__rest||function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};Object.defineProperty(r,"__esModule",{value:!0}),r.Highlight=void 0;let n=t(85893),a=t(67294),i=t(37501);r.Highlight=(0,a.forwardRef)(function(e,r){let t=0,u=()=>t++,{search:l,ignoreDiacritics:c,diacriticsBlacklist:s,matchElement:d="mark",matchClass:p="highlight",matchStyle:f={},children:m,caseSensitive:g}=e,h=o(e,["search","ignoreDiacritics","diacriticsBlacklist","matchElement","matchClass","matchStyle","children","caseSensitive"]),D=e=>(0,n.jsx)("span",{children:e},`${e}-${t}`),v=e=>(0,a.createElement)(d,{key:`${e}-${t}`,className:p,style:f},e),b=(e,r)=>{let t=[],o=e;for(;o;){let n=c?(0,i.removeDiacritics)(o,s||""):o;if(!r.test(n)){t.push(D(o));break}let a=(0,i.getMatchBoundaries)(n,r);if((null==a?void 0:a.first)===0&&(null==a?void 0:a.last)===0)break;let l=o.slice(0,null==a?void 0:a.first);l&&t.push(D(l));let d=o.slice(null==a?void 0:a.first,null==a?void 0:a.last);d&&t.push(v(d)),o=o.slice(null==a?void 0:a.last),u()}return t};return(0,n.jsx)("span",Object.assign({},h,{ref:r},{children:l?(0,i.deepMap)(m,r=>"string"==typeof r?b(r,(0,i.getSearch)(e)):r):[m]}),void 0)})},47049:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Highlight=void 0;var o=t(98456);Object.defineProperty(r,"Highlight",{enumerable:!0,get:function(){return o.Highlight}})},9764:function(e,r,t){"use strict";t.d(r,{OO:function(){return tm}});var o,n=t(67294);function a(e,r){return function(t){return e(r(t))}}function i(e,r){return r(e)}function u(e,r){return function(t){return e(r,t)}}function l(e,r){return function(){return e(r)}}function c(){for(var e=arguments.length,r=Array(e),t=0;t-1&&e.splice(r,1)};case 0:e.slice().forEach(function(e){e(t)});return;default:throw Error("unrecognized action "+r)}}}function x(e){var r=e,t=b();return function(e,o){switch(e){case 1:o(r);break;case 0:r=o;break;case 4:return r}return t(e,o)}}function w(e){var r;return D(e,r=b()),r}function y(e,r){var t;return D(e,t=x(r)),t}function C(){for(var e=arguments.length,r=Array(e),t=0;t1?r-1:0),o=1;o0?e--:r(t)}}}function R(e){var r;return function(t){return function(o){r||(r=setTimeout(function(){r=void 0,t(o)},e))}}}function L(e){var r;return function(t){return function(o){r&&clearTimeout(r),r=setTimeout(function(){t(o)},e)}}}function H(){for(var e=arguments.length,r=Array(e),t=0;te.length)&&(r=e.length);for(var t=0,o=Array(r);t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var G=["children"],j="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function M(e,r,t){var o=Object.keys(r.required||{}),a=Object.keys(r.optional||{}),i=Object.keys(r.methods||{}),c=Object.keys(r.events||{}),s=(0,n.createContext)({});function p(e,t){e.propsReady&&m(e.propsReady,!1);for(var n,i=U(o);!(n=i()).done;){var u=n.value;m(e[r.required[u]],t[u])}for(var l,c=U(a);!(l=c()).done;){var s=l.value;s in t&&m(e[r.optional[s]],t[s])}e.propsReady&&m(e.propsReady,!0)}function D(e){return c.reduce(function(t,o){var n,a,i,u;return t[o]=(n=e[r.events[o]],u=function(){return a&&a()},function(e,r){switch(e){case 1:if(!r)return u(),f;if(i===r)return;return u(),i=r,a=n(1,r);case 2:u(),i=null;return;default:throw Error("unrecognized action "+e)}}),t},{})}return{Component:(0,n.forwardRef)(function(u,f){var h=u.children,v=function(e,r){if(null==e)return{};var t,o,n={},a=Object.keys(e);for(o=0;o=0||(n[t]=e[t]);return n}(u,G),b=(0,n.useState)(function(){var r,t;return r=new Map,p(t=function e(t){var o=t.id,n=t.constructor,a=t.dependencies,i=t.singleton;if(i&&r.has(o))return r.get(o);var u=n(a.map(function(r){return e(r)}));return i&&r.set(o,u),u}(e),v),t})[0],x=(0,n.useState)(l(D,b))[0];return j(function(){for(var e,r=U(c);!(e=r()).done;){var t=e.value;t in v&&(0,x[t])(1,v[t])}return function(){Object.values(x).map(g)}},[v,x,b]),j(function(){p(b,v)}),(0,n.useImperativeHandle)(f,d(i.reduce(function(e,t){return e[t]=function(e){m(b[r.methods[t]],e)},e},{}))),(0,n.createElement)(s.Provider,{value:b},t?(0,n.createElement)(t,function(e,r){for(var t={},o={},n=0,a=e.length;n=0||(n[t]=e[t]);return n}function _(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var J,Q,X="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;(o=Q||(Q={}))[o.DEBUG=0]="DEBUG",o[o.INFO=1]="INFO",o[o.WARN=2]="WARN",o[o.ERROR=3]="ERROR";var $=((J={})[Q.DEBUG]="debug",J[Q.INFO]="log",J[Q.WARN]="warn",J[Q.ERROR]="error",J),ee=P(function(){var e=x(Q.ERROR);return{log:x(function(r,t,o){var n;void 0===o&&(o=Q.INFO),o>=(null!=(n=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?n:h(e))&&console[$[o]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",r,t)}),logLevel:e}},[],{singleton:!0});function er(e,r){void 0===r&&(r=!0);var t=(0,n.useRef)(null),o=function(e){};if("undefined"!=typeof ResizeObserver){var a=new ResizeObserver(function(r){var t=r[0].target;null!==t.offsetParent&&e(t)});o=function(e){e&&r?(a.observe(e),t.current=e):(t.current&&a.unobserve(t.current),t.current=null)}}return{ref:t,callbackRef:o}}function et(e,r){return void 0===r&&(r=!0),er(e,r).callbackRef}function eo(e,r,t,o,n,a,i){return er(function(t){for(var u,l=function(e,r,t,o){var n=e.length;if(0===n)return null;for(var a=[],i=0;iMath.abs(e-r)}function ei(e,r,t,o,a){void 0===o&&(o=f);var i=(0,n.useRef)(null),u=(0,n.useRef)(null),l=(0,n.useRef)(null),c=(0,n.useRef)(!1),s=(0,n.useCallback)(function(t){var o=t.target,n=o===window||o===document,a=n?window.pageYOffset||document.documentElement.scrollTop:o.scrollTop,i=n?document.documentElement.scrollHeight:o.scrollHeight,s=n?window.innerHeight:o.offsetHeight,d=function(){e({scrollTop:Math.max(a,0),scrollHeight:i,viewportHeight:s})};c.current?(0,W.flushSync)(d):d(),c.current=!1,null!==u.current&&(a===u.current||a<=0||a===i-s)&&(u.current=null,r(!0),l.current&&(clearTimeout(l.current),l.current=null))},[e,r]);return(0,n.useEffect)(function(){var e=a||i.current;return o(a||i.current),s({target:e}),e.addEventListener("scroll",s,{passive:!0}),function(){o(null),e.removeEventListener("scroll",s)}},[i,s,t,o,a]),{scrollerRef:i,scrollByCallback:function(e){c.current=!0,i.current.scrollBy(e)},scrollToCallback:function(t){var o=i.current;if(o&&(!("offsetHeight"in o)||0!==o.offsetHeight)){var n,a,c,s="smooth"===t.behavior;if(o===window?(a=Math.max(en(document.documentElement,"height"),document.documentElement.scrollHeight),n=window.innerHeight,c=document.documentElement.scrollTop):(a=o.scrollHeight,n=en(o,"height"),c=o.scrollTop),t.top=Math.ceil(Math.max(Math.min(a-n,t.top),0)),ea(n,a)||t.top===c)return e({scrollTop:c,scrollHeight:a,viewportHeight:n}),void(s&&r(!0));s?(u.current=t.top,l.current&&clearTimeout(l.current),l.current=setTimeout(function(){l.current=null,u.current=null,r(!0)},1e3)):u.current=null,o.scrollTo(t)}}}}var eu=P(function(){var e=b(),r=b(),t=x(0),o=b(),n=x(0),a=b(),i=b(),u=x(0),l=x(0),c=x(0),s=x(0),d=b(),p=b(),f=x(!1),m=x(!1);return D(E(e,T(function(e){return e.scrollTop})),r),D(E(e,T(function(e){return e.scrollHeight})),i),D(r,n),{scrollContainerState:e,scrollTop:r,viewportHeight:a,headerHeight:u,fixedHeaderHeight:l,fixedFooterHeight:c,footerHeight:s,scrollHeight:i,smoothScrollTargetReached:o,react18ConcurrentRendering:m,scrollTo:d,scrollBy:p,statefulScrollTop:n,deviation:t,scrollingInProgress:f}},[],{singleton:!0}),el={lvl:0};function ec(e,r,t,o,n){return void 0===o&&(o=el),void 0===n&&(n=el),{k:e,v:r,lvl:t,l:o,r:n}}function es(e){return e===el}function ed(e,r,t){if(void 0===t&&(t="k"),es(e))return[-1/0,void 0];if(e[t]===r)return[e.k,e.v];if(e[t]e.r.lvl}function eh(e){var r=e.l,t=e.r,o=e.lvl;if(t.lvl>=o-1&&r.lvl>=o-1)return e;if(o>t.lvl+1){if(eg(r))return ex(em(e,{lvl:o-1}));if(es(r)||es(r.r))throw Error("Unexpected empty nodes");return em(r.r,{l:em(r,{r:r.r.l}),r:em(e,{l:r.r.r,lvl:o-1}),lvl:o})}if(eg(e))return eb(em(e,{lvl:o-1}));if(es(t)||es(t.l))throw Error("Unexpected empty nodes");var n=t.l,a=eg(n)?t.lvl-1:t.lvl;return em(n,{l:em(e,{r:n.l,lvl:o-1}),r:eb(em(t,{l:n.r,lvl:a})),lvl:n.lvl+1})}function eD(e,r,t){return es(e)?[]:ev(function e(r,t,o){if(es(r))return[];var n=r.k,a=r.v,i=r.r,u=[];return n>t&&(u=u.concat(e(r.l,t,o))),n>=t&&n<=o&&u.push({k:n,v:a}),n<=o&&(u=u.concat(e(i,t,o))),u}(e,ed(e,r)[0],t),function(e){return{index:e.k,value:e.v}})}function ev(e,r){var t=e.length;if(0===t)return[];for(var o=r(e[0]),n=o.index,a=o.value,i=[],u=1;u0&&(0,r[2])("received item sizes",t,Q.DEBUG);var a=e.sizeTree,i=a,u=0;if(o.length>0&&es(a)&&2===t.length){var l=t[0].size,c=t[1].size;i=o.reduce(function(e,r){return ep(ep(e,r,l),r+1,c)},i)}else{var s=function(e,r){for(var t,o=es(e)?0:1/0,n=Y(r);!(t=n()).done;){var a=t.value,i=a.size,u=a.startIndex,l=a.endIndex;if(o=Math.min(o,u),es(e))e=ep(e,0,i);else{var c=eD(e,u-1,l+1);if(!c.some(function(e){var r=e.size,t=e.startIndex,o=e.endIndex;return function(e){return e.start===t&&(e.end===o||1/0===e.end)&&e.value===r}}(a))){for(var s,d=!1,p=!1,f=Y(c);!(s=f()).done;){var m=s.value,g=m.start,h=m.end,D=m.value;d?(l>=g||i===D)&&(e=function e(r,t){if(es(r))return el;var o=r.k,n=r.l,a=r.r;if(t===o){if(es(n))return a;if(es(a))return n;var i=function e(r){return es(r.r)?[r.k,r.v]:e(r.r)}(n);return eh(em(r,{k:i[0],v:i[1],l:function e(r){return es(r.r)?r.l:eh(em(r,{r:e(r.r)}))}(n)}))}return eh(em(r,tl&&l>=g&&D!==i&&(e=ep(e,l+1,D))}p&&(e=ep(e,u,i))}}}return[e,o]}(i,t);i=s[0],u=s[1]}if(i===a)return e;var d=eq(e.offsetTree,u,i,n),p=d.offsetTree;return{sizeTree:i,offsetTree:p,lastIndex:d.lastIndex,lastOffset:d.lastOffset,lastSize:d.lastSize,groupOffsetTree:o.reduce(function(e,r){return ep(e,r,eT(r,p,n))},el),groupIndices:o}}function eT(e,r,t){if(0===r.length)return 0;var o=r[ew(r,e,eC)],n=e-o.index,a=o.size*n+(n-1)*t+o.offset;return a>0?a+t:a}function ek(e,r,t){if(void 0!==e.groupIndex)return r.groupIndices[e.groupIndex]+1;var o=eI("LAST"===e.index?t:e.index,r);return Math.max(0,o,Math.min(t,o))}function eI(e,r){if(!eB(r))return e;for(var t=0;r.groupIndices[t]<=e+t;)t++;return e+t}function eB(e){return!es(e.groupOffsetTree)}var eR={offsetHeight:"height",offsetWidth:"width"},eL=P(function(e){var r=e[0].log,t=e[1].recalcInProgress,o=b(),n=b(),a=y(n,0),i=b(),u=b(),l=x(0),c=x([]),s=x(void 0),d=x(void 0),p=x(function(e,r){return en(e,eR[r])}),f=x(void 0),g=x(0),v={offsetTree:[],sizeTree:el,groupOffsetTree:el,lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},C=y(E(o,H(c,r,g),I(eA,v),q()),v);D(E(c,A(function(e){return e.length>0}),H(C,g),T(function(e){var r=e[0],t=e[1],o=e[2],n=r.reduce(function(e,r,n){return ep(e,r,eT(r,t.offsetTree,o)||n)},el);return Z({},t,{groupIndices:r,groupOffsetTree:n})})),C),D(E(n,H(C),A(function(e){return e[0]0?(m(t,!0),m(i,e)):e<0&&m(u,e)}),E(l,H(r))(1,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:l},Q.ERROR)});var B=w(i);D(E(i,H(C),T(function(e){var r=e[0],t=e[1];if(t.groupIndices.length>0)throw Error("Virtuoso: prepending items does not work with groups");return ef(t.sizeTree).reduce(function(e,t){var o=t.k,n=t.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:o+r-1,size:e.prevSize}]),prevIndex:o+r,prevSize:n}},{ranges:[],prevIndex:0,prevSize:t.lastSize}).ranges})),o);var R=w(E(u,H(C,g),T(function(e){return eT(-e[0],e[1].offsetTree,e[2])})));return D(E(u,H(C,g),T(function(e){var r=e[0],t=e[1],o=e[2];if(t.groupIndices.length>0)throw Error("Virtuoso: shifting items does not work with groups");var n=ef(t.sizeTree).reduce(function(e,t){var o=t.v;return ep(e,Math.max(0,t.k+r),o)},el);return Z({},t,{sizeTree:n},eq(t.offsetTree,0,n,o))})),C),{data:f,totalCount:n,sizeRanges:o,groupIndices:c,defaultItemSize:d,fixedItemSize:s,unshiftWith:i,shiftWith:u,shiftWithOffset:R,beforeUnshiftWith:B,firstItemIndex:l,gap:g,sizes:C,listRefresh:k,statefulTotalCount:a,trackItemSizes:S,itemSize:p}},c(ee,ey),{singleton:!0}),eH="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function eF(e){var r="number"==typeof e?{index:e}:e;return r.align||(r.align="start"),r.behavior&&eH||(r.behavior="auto"),r.offset||(r.offset=0),r}var eO=P(function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.listRefresh,a=r.gap,i=e[1],u=i.scrollingInProgress,l=i.viewportHeight,c=i.scrollTo,s=i.smoothScrollTargetReached,d=i.headerHeight,p=i.footerHeight,f=i.fixedHeaderHeight,g=i.fixedFooterHeight,h=e[2].log,w=b(),y=x(0),C=null,S=null,q=null;function A(){C&&(C(),C=null),q&&(q(),q=null),S&&(clearTimeout(S),S=null),m(u,!1)}return D(E(w,H(t,l,o,y,d,p,h),H(a,f,g),T(function(e){var r=e[0],t=r[0],o=r[1],a=r[2],i=r[3],l=r[4],c=r[5],d=r[6],p=r[7],f=e[1],g=e[2],h=e[3],D=eF(t),b=D.align,x=D.behavior,y=D.offset,T=i-1,k=ek(D,o,T),I=eT(k,o.offsetTree,f)+c;"end"===b?(I+=g+ed(o.sizeTree,k)[1]-a+h,k===T&&(I+=d)):"center"===b?I+=(g+ed(o.sizeTree,k)[1]-a+h)/2:I-=l,y&&(I+=y);var B=function(e){A(),e?(p("retrying to scroll to",{location:t},Q.DEBUG),m(w,t)):p("list did not change, scroll successful",{},Q.DEBUG)};if(A(),"smooth"===x){var R=!1;q=n(1,function(e){R=R||e}),C=v(s,function(){B(R)})}else C=v(E(n,function(e){var r=setTimeout(function(){e(!1)},150);return function(t){t&&(e(!0),clearTimeout(r))}}),B);return S=setTimeout(function(){A()},1200),m(u,!0),p("scrolling from index to",{index:k,top:I,behavior:x},Q.DEBUG),{top:I,behavior:x}})),c),{scrollToIndex:w,topListHeight:y}},c(eL,eu,ee),{singleton:!0}),eN={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},eP=P(function(e){var r=e[0],t=r.scrollContainerState,o=r.scrollTop,n=r.viewportHeight,a=r.headerHeight,i=r.footerHeight,u=r.scrollBy,l=x(!1),c=x(!0),s=b(),d=b(),p=x(4),f=x(0),m=y(E(F(E(O(o),B(1),k(!0)),E(O(o),B(1),k(!1),L(100))),q()),!1),g=y(E(F(E(u,k(!0)),E(u,k(!1),L(200))),q()),!1);D(E(N(O(o),O(f)),T(function(e){return e[0]<=e[1]}),q()),c),D(E(c,R(50)),d);var v=w(E(N(t,O(n),O(a),O(i),O(p)),I(function(e,r){var t,o,n=r[0],a=n.scrollTop,i=n.scrollHeight,u=r[1],l={viewportHeight:u,scrollTop:a,scrollHeight:i};return a+u-i>-r[4]?(a>e.state.scrollTop?(t="SCROLLED_DOWN",o=e.state.scrollTop-a):(t="SIZE_DECREASED",o=e.state.scrollTop-a||e.scrollTopDelta),{atBottom:!0,state:l,atBottomBecause:t,scrollTopDelta:o}):{atBottom:!1,notAtBottomBecause:l.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":ur+p-g&&(m="up"),(i-=c)0){i=e[0].offset;var l=e[e.length-1];u=l.offset+l.size}var c=t-n.lastIndex,s=i,d=n.lastOffset+c*n.lastSize+(c-1)*o-u;return{items:eQ(e,n,a),topItems:eQ(r,n,a),topListHeight:r.reduce(function(e,r){return r.size+e},0),offsetTop:i,offsetBottom:d,top:s,bottom:u,totalCount:t,firstItemIndex:a}}var e$=P(function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.data,a=r.firstItemIndex,i=r.gap,u=e[1],l=e[2],c=l.visibleRange,s=l.listBoundary,d=l.topListHeight,p=e[3],f=p.scrolledToInitialItem,m=p.initialTopMostItemIndex,g=e[4].topListHeight,h=e[5],v=e[6].didMount,C=e[7].recalcInProgress,S=x([]),k=b();D(u.topItemsIndexes,S);var I=y(E(N(v,C,O(c,eW),O(o),O(t),O(m),f,O(S),O(a),O(i),n),A(function(e){return e[0]&&!e[1]}),T(function(e){var r,t,o,n,a,i,u,l=e[2],c=l[0],s=l[1],d=e[3],p=e[5],f=e[6],m=e[7],g=e[8],h=e[9],D=e[10],v=e[4],b=v.sizeTree,x=v.offsetTree;if(0===d||0===c&&0===s)return Z({},eJ,{totalCount:d});if(es(b))return eX(function(e,r,t){if(eB(r)){var o=eI(e,r);return[{index:ed(r.groupOffsetTree,o)[0],size:0,offset:0},{index:o,size:0,offset:0,data:t&&t[0]}]}return[{index:e,size:0,offset:0,data:t&&t[0]}]}("number"==typeof p?p:"LAST"===p.index?d-1:p.index,v,D),[],d,h,v,g);var w=[];if(m.length>0)for(var y,C=m[0],E=m[m.length-1],S=0,q=Y(eD(b,C,E));!(y=q()).done;)for(var A=y.value,T=A.value,k=Math.max(A.start,C),I=Math.min(A.end,E),B=k;B<=I;B++)w.push({index:B,size:T,offset:S,data:D&&D[B]}),S+=T;if(!f)return eX([],w,d,h,v,g);var R=m.length>0?m[m.length-1]+1:0,L=(r=x,t=c,o=s,void 0===(n=R)&&(n=0),n>0&&(t=Math.max(t,r[ew(r,n,eC)].offset)),ev((a=ew(r,t,eE),i=ew(r,o,eE,a),r.slice(a,i+1)),eS));if(0===L.length)return null;var H=d-1;return eX((function(e){for(var r,t=Y(L);!(r=t()).done;){var o=r.value,n=o.value,a=n.offset,i=o.start,u=n.size;if(n.offset=s);p++)e.push({index:p,size:u,offset:a,data:D&&D[p]}),a+=u+h}}(u=[]),u),w,d,h,v,g)}),A(function(e){return null!==e}),q()),eJ);return D(E(n,A(function(e){return void 0!==e}),T(function(e){return e.length})),o),D(E(I,T(function(e){return e.topListHeight})),g),D(g,d),D(E(I,T(function(e){return[e.top,e.bottom]})),s),D(E(I,T(function(e){return e.items})),k),Z({listState:I,topItemsIndexes:S,endReached:w(E(I,A(function(e){return e.items.length>0}),H(o,n),A(function(e){var r=e[0].items;return r[r.length-1].originalIndex===e[1]-1}),T(function(e){return[e[1]-1,e[2]]}),q(eW),T(function(e){return e[0]}))),startReached:w(E(I,R(200),A(function(e){var r=e.items;return r.length>0&&r[0].originalIndex===e.topItems.length}),T(function(e){return e.items[0].index}),q())),rangeChanged:w(E(I,A(function(e){return e.items.length>0}),T(function(e){for(var r=e.items,t=0,o=r.length-1;"group"===r[t].type&&tt;)o--;return{startIndex:r[t].index,endIndex:r[o].index}}),q(eZ))),itemsRendered:k},h)},c(eL,eM,eY,eV,eO,eP,ez,ey),{singleton:!0}),e0=P(function(e){var r=e[0],t=r.sizes,o=r.firstItemIndex,n=r.data,a=r.gap,i=e[1].listState,u=e[2].didMount,l=x(0);return D(E(u,H(l),A(function(e){return 0!==e[1]}),H(t,o,a,n),T(function(e){var r=e[0][1],t=e[1],o=e[2],n=e[3],a=e[4],i=void 0===a?[]:a,u=0;if(t.groupIndices.length>0)for(var l,c=Y(t.groupIndices);!((l=c()).done||l.value-u>=r);)u++;var s=r+u;return eX(Array.from({length:s}).map(function(e,r){return{index:r,size:0,offset:0,data:i[r]}}),[],s,n,t,o)})),i),{initialItemCount:l}},c(eL,e$,ez),{singleton:!0}),e1=P(function(e){var r=e[0].scrollVelocity,t=x(!1),o=b(),n=x(!1);return D(E(r,H(n,t,o),A(function(e){return!!e[1]}),T(function(e){var r=e[0],t=e[1],o=e[2],n=e[3],a=t.enter;if(o){if((0,t.exit)(r,n))return!1}else if(a(r,n))return!0;return o}),q()),t),E(N(t,r,o),H(n))(1,function(e){var r=e[0],t=e[1];return r[0]&&t&&t.change&&t.change(r[1],r[2])}),{isSeeking:t,scrollSeekConfiguration:n,scrollVelocity:r,scrollSeekRangeChanged:o}},c(eP),{singleton:!0}),e2=P(function(e){var r=e[0].topItemsIndexes,t=x(0);return D(E(t,A(function(e){return e>0}),T(function(e){return Array.from({length:e}).map(function(e,r){return r})})),r),{topItemCount:t}},c(e$)),e3=P(function(e){var r=e[0],t=r.footerHeight,o=r.headerHeight,n=r.fixedHeaderHeight,a=r.fixedFooterHeight,i=e[1].listState,u=b(),l=y(E(N(t,a,o,n,i),T(function(e){var r=e[4];return e[0]+e[1]+e[2]+e[3]+r.offsetBottom+r.bottom})),0);return D(O(l),u),{totalListHeight:l,totalListHeightChanged:u}},c(eu,e$),{singleton:!0});function e5(e){var r,t=!1;return function(){return t||(t=!0,r=e()),r}}var e8=e5(function(){return/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)}),e4=P(function(e){var r=e[0],t=r.scrollBy,o=r.scrollTop,n=r.deviation,a=r.scrollingInProgress,i=e[1],u=i.isScrolling,l=i.isAtBottom,c=i.scrollDirection,s=e[3],d=s.beforeUnshiftWith,p=s.shiftWithOffset,f=s.sizes,g=s.gap,h=e[4].log,v=e[5].recalcInProgress,b=w(E(e[2].listState,H(i.lastJumpDueToItemResize),I(function(e,r){var t=e[1],o=r[0],n=o.items,a=o.totalCount,i=o.bottom+o.offsetBottom,u=0;return e[2]===a&&t.length>0&&n.length>0&&(0===n[0].originalIndex&&0===t[0].originalIndex||0!=(u=i-e[3])&&(u+=r[1])),[u,n,a,i]},[0,[],0,0]),A(function(e){return 0!==e[0]}),H(o,c,a,l,h),A(function(e){return!e[3]&&0!==e[1]&&"up"===e[2]}),T(function(e){var r=e[0][0];return(0,e[5])("Upward scrolling compensation",{amount:r},Q.DEBUG),r})));function x(e){e>0?(m(t,{top:-e,behavior:"auto"}),m(n,0)):(m(n,0),m(t,{top:-e,behavior:"auto"}))}return E(b,H(n,u))(1,function(e){var r=e[0],t=e[1];e[2]&&e8()?m(n,t-r):x(-r)}),E(N(y(u,!1),n,v),A(function(e){return!e[0]&&!e[2]&&0!==e[1]}),T(function(e){return e[1]}),R(1))(1,x),D(E(p,T(function(e){return{top:-e}})),t),E(d,H(f,g),T(function(e){var r=e[0];return r*e[1].lastSize+r*e[2]}))(1,function(e){m(n,e),requestAnimationFrame(function(){m(t,{top:e}),requestAnimationFrame(function(){m(n,0),m(v,!1)})})}),{deviation:n}},c(eu,eP,e$,eL,ee,ey)),e6=P(function(e){var r=e[0].totalListHeight,t=e[1].didMount,o=e[2].scrollTo,n=x(0);return E(t,H(n),A(function(e){return 0!==e[1]}),T(function(e){return{top:e[1]}}))(1,function(e){v(E(r,A(function(e){return 0!==e})),function(){setTimeout(function(){m(o,e)})})}),{initialScrollTop:n}},c(e3,ez,eu),{singleton:!0}),e9=P(function(e){var r=e[0].viewportHeight,t=e[1].totalListHeight,o=x(!1);return{alignToBottom:o,paddingTopAddition:y(E(N(o,r,t),A(function(e){return e[0]}),T(function(e){return Math.max(0,e[1]-e[2])}),q()),0)}},c(eu,e3),{singleton:!0}),e7=P(function(e){var r=e[0],t=r.scrollTo,o=r.scrollContainerState,n=b(),a=b(),i=b(),u=x(!1),l=x(void 0);return D(E(N(n,a),T(function(e){var r=e[0],t=r.viewportHeight,o=r.scrollHeight;return{scrollTop:Math.max(0,r.scrollTop-e[1].offsetTop),scrollHeight:o,viewportHeight:t}})),o),D(E(t,H(a),T(function(e){var r=e[0];return Z({},r,{top:r.top+e[1].offsetTop})})),i),{useWindowScroll:u,customScrollParent:l,windowScrollContainerState:n,windowViewportRect:a,windowScrollTo:i}},c(eu)),re=["done","behavior","align"],rr=P(function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.gap,a=e[1],i=a.scrollTop,u=a.viewportHeight,l=a.headerHeight,c=a.fixedHeaderHeight,s=a.fixedFooterHeight,d=a.scrollingInProgress,p=e[2].scrollToIndex,f=b();return D(E(f,H(t,u,o,l,c,s,i),H(n),T(function(e){var r=e[0],t=r[0],o=r[1],n=r[2],a=r[3],i=r[4],u=r[5],l=r[6],c=r[7],s=e[1],p=t.done,f=t.behavior,m=t.align,g=K(t,re),h=null,D=ek(t,o,a-1),b=eT(D,o.offsetTree,s)+i+u;return bc+n-l&&(h=Z({},g,{behavior:f,align:null!=m?m:"end"})),h?p&&v(E(d,B(1),A(function(e){return!1===e})),p):p&&p(),h}),A(function(e){return null!==e})),p),{scrollIntoView:f}},c(eL,eu,eO,e$,ee),{singleton:!0}),rt=["listState","topItemsIndexes"],ro=P(function(e){return Z({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},c(eY,e0,ez,e1,e3,e6,e9,e7,rr)),rn=P(function(e){var r=e[0],t=r.totalCount,o=r.sizeRanges,n=r.fixedItemSize,a=r.defaultItemSize,i=r.trackItemSizes,u=r.itemSize,l=r.data,c=r.firstItemIndex,s=r.groupIndices,d=r.statefulTotalCount,p=r.gap,f=e[1],m=f.initialTopMostItemIndex,g=f.scrolledToInitialItem,h=e[2],v=e[3],b=e[4],x=b.listState,w=b.topItemsIndexes,y=K(b,rt),C=e[5].scrollToIndex,S=e[7].topItemCount,q=e[8].groupCounts,A=e[9],k=e[10];return D(y.rangeChanged,A.scrollSeekRangeChanged),D(E(A.windowViewportRect,T(function(e){return e.visibleHeight})),h.viewportHeight),Z({totalCount:t,data:l,firstItemIndex:c,sizeRanges:o,initialTopMostItemIndex:m,scrolledToInitialItem:g,topItemsIndexes:w,topItemCount:S,groupCounts:q,fixedItemHeight:n,defaultItemHeight:a,gap:p},v,{statefulTotalCount:d,listState:x,scrollToIndex:C,trackItemSizes:i,itemSize:u,groupIndices:s},y,A,h,k)},c(eL,eV,eu,eG,e$,eO,e4,e2,eM,ro,ee)),ra=e5(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 ri(e,r){var t=(0,n.useRef)(null),o=(0,n.useCallback)(function(o){if(null!==o&&o.offsetParent){var n,a,i=o.getBoundingClientRect(),u=i.width;if(r){var l=r.getBoundingClientRect(),c=i.top-l.top;n=l.height-Math.max(0,c),a=c+r.scrollTop}else n=window.innerHeight-Math.max(0,i.top),a=i.top+window.pageYOffset;t.current={offsetTop:a,visibleHeight:n,visibleWidth:u},e(t.current)}},[e,r]),a=er(o),i=a.callbackRef,u=a.ref,l=(0,n.useCallback)(function(){o(u.current)},[o,u]);return(0,n.useEffect)(function(){if(r){r.addEventListener("scroll",l);var e=new ResizeObserver(l);return e.observe(r),function(){r.removeEventListener("scroll",l),e.unobserve(r)}}return window.addEventListener("scroll",l),window.addEventListener("resize",l),function(){window.removeEventListener("scroll",l),window.removeEventListener("resize",l)}},[l,r]),i}var ru=n.createContext(void 0),rl=n.createContext(void 0),rc=["placeholder"],rs=["style","children"],rd=["style","children"];function rp(e){return e}var rf=P(function(){var e=x(function(e){return"Item "+e}),r=x(null),t=x(function(e){return"Group "+e}),o=x({}),n=x(rp),a=x("div"),i=x(f),u=function(e,r){return void 0===r&&(r=null),y(E(o,T(function(r){return r[e]}),q()),r)};return{context:r,itemContent:e,groupContent:t,components:o,computeItemKey:n,headerFooterTag:a,scrollerRef:i,FooterComponent:u("Footer"),HeaderComponent:u("Header"),TopItemListComponent:u("TopItemList"),ListComponent:u("List","div"),ItemComponent:u("Item","div"),GroupComponent:u("Group","div"),ScrollerComponent:u("Scroller","div"),EmptyPlaceholder:u("EmptyPlaceholder"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder")}});function rm(e,r){var t=b();return t(1,function(){return console.warn("react-virtuoso: You are using a deprecated property. "+r,"color: red;","color: inherit;","color: blue;")}),D(t,e),t}var rg=P(function(e){var r=e[0],t=e[1],o={item:rm(t.itemContent,"Rename the %citem%c prop to %citemContent."),group:rm(t.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:rm(r.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:rm(r.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:rm(r.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:b(),maxHeightCacheSize:b(),footer:b(),header:b(),HeaderContainer:b(),FooterContainer:b(),ItemContainer:b(),ScrollContainer:b(),GroupContainer:b(),ListContainer:b(),emptyComponent:b(),scrollSeek:b()};function n(e,r,o){D(E(e,H(t.components),T(function(e){var t,n=e[0],a=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+r+" instead."),Z({},a,((t={})[r]=n,t))})),t.components)}return(0,o.adjustForPrependedItems)(1,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;")}),(0,o.maxHeightCacheSize)(1,function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")}),(0,o.HeaderContainer)(1,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.")}),(0,o.FooterContainer)(1,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.")}),(0,o.scrollSeek)(1,function(e){var o=e.placeholder,n=K(e,rc);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),m(t.components,Z({},h(t.components),{ScrollSeekPlaceholder:o})),m(r.scrollSeekConfiguration,n)}),n(o.footer,"Footer","footer"),n(o.header,"Header","header"),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),n(o.emptyComponent,"EmptyPlaceholder","emptyComponent"),n(o.GroupContainer,"Group","GroupContainer"),Z({},r,t,o)},c(rn,rf)),rh=function(e){return n.createElement("div",{style:{height:e.height}})},rD={position:ra(),zIndex:1,overflowAnchor:"none"},rv={overflowAnchor:"none"},rb=n.memo(function(e){var r=e.showTopList,t=void 0!==r&&r,o=rH("listState"),a=rL("sizeRanges"),i=rH("useWindowScroll"),u=rH("customScrollParent"),l=rL("windowScrollContainerState"),c=rL("scrollContainerState"),s=rH("itemContent"),d=rH("context"),p=rH("groupContent"),m=rH("trackItemSizes"),g=eo(a,rH("itemSize"),m,t?f:u||i?l:c,rH("log"),rL("gap"),u).callbackRef,h=n.useState(0),D=h[0],v=h[1];rF("deviation",function(e){D!==e&&v(e)});var b=rH("EmptyPlaceholder"),x=rH("ScrollSeekPlaceholder")||rh,w=rH("ListComponent"),y=rH("ItemComponent"),C=rH("GroupComponent"),E=rH("computeItemKey"),S=rH("isSeeking"),q=rH("groupIndices").length>0,A=rH("paddingTopAddition"),T=t?{}:{boxSizing:"border-box",paddingTop:o.offsetTop+A,paddingBottom:o.offsetBottom,marginTop:D};return!t&&0===o.totalCount&&b?(0,n.createElement)(b,rC(b,d)):(0,n.createElement)(w,Z({},rC(w,d),{ref:g,style:T,"data-test-id":t?"virtuoso-top-item-list":"virtuoso-item-list"}),(t?o.topItems:o.items).map(function(e){var r=e.originalIndex,t=E(r+o.firstItemIndex,e.data,d);return S?(0,n.createElement)(x,Z({},rC(x,d),{key:t,index:e.index,height:e.size,type:e.type||"item"},"group"===e.type?{}:{groupIndex:e.groupIndex})):"group"===e.type?(0,n.createElement)(C,Z({},rC(C,d),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,style:rD}),p(e.index)):(0,n.createElement)(y,Z({},rC(y,d),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:rv}),q?s(e.index,e.groupIndex,e.data,d):s(e.index,e.data,d))}))}),rx={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},rw={width:"100%",height:"100%",position:"absolute",top:0},ry={width:"100%",position:ra(),top:0};function rC(e,r){if("string"!=typeof e)return{context:r}}var rE=n.memo(function(){var e=rH("HeaderComponent"),r=rL("headerHeight"),t=rH("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=rH("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null}),rS=n.memo(function(){var e=rH("FooterComponent"),r=rL("footerHeight"),t=rH("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=rH("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null});function rq(e){var r=e.usePublisher,t=e.useEmitter,o=e.useEmitterValue;return n.memo(function(e){var a=e.style,i=e.children,u=K(e,rs),l=r("scrollContainerState"),c=o("ScrollerComponent"),s=r("smoothScrollTargetReached"),d=o("scrollerRef"),p=o("context"),f=ei(l,s,c,d),m=f.scrollerRef,g=f.scrollByCallback;return t("scrollTo",f.scrollToCallback),t("scrollBy",g),(0,n.createElement)(c,Z({ref:m,style:Z({},rx,a),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},u,rC(c,p)),i)})}function rA(e){var r=e.usePublisher,t=e.useEmitter,o=e.useEmitterValue;return n.memo(function(e){var a=e.style,i=e.children,u=K(e,rd),l=r("windowScrollContainerState"),c=o("ScrollerComponent"),s=r("smoothScrollTargetReached"),d=o("totalListHeight"),p=o("deviation"),m=o("customScrollParent"),g=o("context"),h=ei(l,s,c,f,m),D=h.scrollerRef,v=h.scrollByCallback,b=h.scrollToCallback;return X(function(){return D.current=m||window,function(){D.current=null}},[D,m]),t("windowScrollTo",b),t("scrollBy",v),(0,n.createElement)(c,Z({style:Z({position:"relative"},a,0!==d?{height:d+p}:{}),"data-virtuoso-scroller":!0},u,rC(c,g)),i)})}var rT=function(e){var r=e.children,t=(0,n.useContext)(ru),o=rL("viewportHeight"),i=rL("fixedItemHeight"),u=et(a(o,function(e){return en(e,"height")}));return n.useEffect(function(){t&&(o(t.viewportHeight),i(t.itemHeight))},[t,o,i]),n.createElement("div",{style:rw,ref:u,"data-viewport-type":"element"},r)},rk=function(e){var r=e.children,t=(0,n.useContext)(ru),o=rL("windowViewportRect"),a=rL("fixedItemHeight"),i=ri(o,rH("customScrollParent"));return n.useEffect(function(){t&&(a(t.itemHeight),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,o,a]),n.createElement("div",{ref:i,style:rw,"data-viewport-type":"window"},r)},rI=function(e){var r=e.children,t=rH("TopItemListComponent"),o=Z({},ry,{marginTop:rH("headerHeight")+"px"}),a=rH("context");return(0,n.createElement)(t||"div",{style:o,context:a},r)},rB=M(rg,{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 r=rH("useWindowScroll"),t=rH("topItemsIndexes").length>0,o=rH("customScrollParent");return n.createElement(o||r?rN:rO,Z({},e),n.createElement(o||r?rk:rT,null,n.createElement(rE,null),n.createElement(rb,null),n.createElement(rS,null)),t&&n.createElement(rI,null,n.createElement(rb,{showTopList:!0})))})),rR=rB.Component,rL=rB.usePublisher,rH=rB.useEmitterValue,rF=rB.useEmitter,rO=rq({usePublisher:rL,useEmitterValue:rH,useEmitter:rF}),rN=rA({usePublisher:rL,useEmitterValue:rH,useEmitter:rF}),rP={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},rz={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},rV=Math.round,rU=Math.ceil,rG=Math.floor,rj=Math.min,rM=Math.max;function rW(e,r,t){return Array.from({length:r-e+1}).map(function(r,o){return{index:o+e,data:null==t?void 0:t[o+e]}})}function rZ(e,r){return e&&e.column===r.column&&e.row===r.row}var rK=P(function(e){var r=e[0],t=r.overscan,o=r.visibleRange,n=r.listBoundary,a=e[1],i=a.scrollTop,u=a.viewportHeight,l=a.scrollBy,c=a.scrollTo,s=a.smoothScrollTargetReached,d=a.scrollContainerState,p=a.footerHeight,f=a.headerHeight,m=e[2],g=e[3],h=e[4],v=h.propsReady,C=h.didMount,S=e[5],I=S.windowViewportRect,B=S.windowScrollTo,R=S.useWindowScroll,L=S.customScrollParent,F=S.windowScrollContainerState,P=e[6],z=x(0),V=x(0),U=x(rP),G=x({height:0,width:0}),j=x({height:0,width:0}),M=b(),W=b(),K=x(0),_=x(void 0),Y=x({row:0,column:0});D(E(N(C,V,_),A(function(e){return 0!==e[1]}),T(function(e){return{items:rW(0,e[1]-1,e[2]),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}})),U),D(E(N(O(z),o,O(Y,rZ),O(j,function(e,r){return e&&e.width===r.width&&e.height===r.height}),_),H(G),T(function(e){var r=e[0],t=r[0],o=r[1],n=o[0],a=o[1],i=r[2],u=r[3],l=r[4],c=e[1],s=i.row,d=i.column,p=u.height,f=u.width,m=c.width;if(0===t||0===m)return rP;if(0===f)return Z({},rz,{items:rW(0,0,l)});var g=rM(1,rG((m+d)/(f+d))),h=g*rG((n+s)/(p+s)),D=g*rU((a+s)/(p+s))-1;D=rj(t-1,rM(D,g-1));var v=rW(h=rj(D,rM(0,h)),D,l),b=r_(c,i,u,v),x=b.top,w=b.bottom,y=rU(t/g);return{items:v,offsetTop:x,offsetBottom:y*p+(y-1)*s-w,top:x,bottom:w,itemHeight:p,itemWidth:f}})),U),D(E(_,A(function(e){return void 0!==e}),T(function(e){return e.length})),z),D(E(G,T(function(e){return e.height})),u),D(E(N(G,j,U,Y),T(function(e){var r=r_(e[0],e[3],e[1],e[2].items);return[r.top,r.bottom]}),q(eW)),n);var J=w(E(O(U),A(function(e){return e.items.length>0}),H(z),A(function(e){var r=e[0].items;return r[r.length-1].index===e[1]-1}),T(function(e){return e[1]-1}),q())),Q=w(E(O(U),A(function(e){var r=e.items;return r.length>0&&0===r[0].index}),k(0),q())),X=w(E(O(U),A(function(e){return e.items.length>0}),T(function(e){var r=e.items;return{startIndex:r[0].index,endIndex:r[r.length-1].index}}),q(eZ)));D(X,g.scrollSeekRangeChanged),D(E(M,H(G,j,z,Y),T(function(e){var r=e[1],t=e[2],o=e[3],n=e[4],a=eF(e[0]),i=a.align,u=a.behavior,l=a.offset,c=a.index;"LAST"===c&&(c=o-1);var s=rY(r,n,t,c=rM(0,c,rj(o-1,c)));return"end"===i?s=rV(s-r.height+t.height):"center"===i&&(s=rV(s-r.height/2+t.height/2)),l&&(s+=l),{top:s,behavior:u}})),c);var $=y(E(U,T(function(e){return e.offsetBottom+e.bottom})),0);return D(E(I,T(function(e){return{width:e.visibleWidth,height:e.visibleHeight}})),G),Z({data:_,totalCount:z,viewportDimensions:G,itemDimensions:j,scrollTop:i,scrollHeight:W,overscan:t,scrollBy:l,scrollTo:c,scrollToIndex:M,smoothScrollTargetReached:s,windowViewportRect:I,windowScrollTo:B,useWindowScroll:R,customScrollParent:L,windowScrollContainerState:F,deviation:K,scrollContainerState:d,footerHeight:p,headerHeight:f,initialItemCount:V,gap:Y},g,{gridState:U,totalListHeight:$},m,{startReached:Q,endReached:J,rangeChanged:X,propsReady:v},P)},c(eY,eu,eP,e1,ez,e7,ee));function r_(e,r,t,o){var n=t.height;return void 0===n||0===o.length?{top:0,bottom:0}:{top:rY(e,r,t,o[0].index),bottom:rY(e,r,t,o[o.length-1].index)+n}}function rY(e,r,t,o){var n,a,i,u=rG(o/(n=e.width,a=t.width,rM(1,rG((n+(i=r.column))/(a+i))))),l=u*t.height+rM(0,u-1)*r.row;return l>0?l+r.row:l}var rJ=["placeholder"],rQ=P(function(){var e=x(function(e){return"Item "+e}),r=x({}),t=x(null),o=x("virtuoso-grid-item"),n=x("virtuoso-grid-list"),a=x(rp),i=x("div"),u=x(f),l=function(e,t){return void 0===t&&(t=null),y(E(r,T(function(r){return r[e]}),q()),t)};return{context:t,itemContent:e,components:r,computeItemKey:a,itemClassName:o,listClassName:n,headerFooterTag:i,scrollerRef:u,FooterComponent:l("Footer"),HeaderComponent:l("Header"),ListComponent:l("List","div"),ItemComponent:l("Item","div"),ScrollerComponent:l("Scroller","div"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder","div")}}),rX=P(function(e){var r=e[0],t=e[1],o={item:rm(t.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:b(),ScrollContainer:b(),ListContainer:b(),emptyComponent:b(),scrollSeek:b()};function n(e,r,o){D(E(e,H(t.components),T(function(e){var t,n=e[0],a=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+r+" instead."),Z({},a,((t={})[r]=n,t))})),t.components)}return(0,o.scrollSeek)(1,function(e){var o=e.placeholder,n=K(e,rJ);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),m(t.components,Z({},h(t.components),{ScrollSeekPlaceholder:o})),m(r.scrollSeekConfiguration,n)}),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),Z({},r,t,o)},c(rK,rQ)),r$=n.memo(function(){var e=r4("gridState"),r=r4("listClassName"),t=r4("itemClassName"),o=r4("itemContent"),a=r4("computeItemKey"),i=r4("isSeeking"),u=r8("scrollHeight"),l=r4("ItemComponent"),c=r4("ListComponent"),s=r4("ScrollSeekPlaceholder"),d=r4("context"),p=r8("itemDimensions"),f=r8("gap"),m=r4("log"),g=et(function(e){u(e.parentElement.parentElement.scrollHeight);var r=e.firstChild;r&&p(r.getBoundingClientRect()),f({row:te("row-gap",getComputedStyle(e).rowGap,m),column:te("column-gap",getComputedStyle(e).columnGap,m)})});return(0,n.createElement)(c,Z({ref:g,className:r},rC(c,d),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map(function(r){var u=a(r.index,r.data,d);return i?(0,n.createElement)(s,Z({key:u},rC(s,d),{index:r.index,height:e.itemHeight,width:e.itemWidth})):(0,n.createElement)(l,Z({},rC(l,d),{className:t,"data-index":r.index,key:u}),o(r.index,r.data,d))}))}),r0=n.memo(function(){var e=r4("HeaderComponent"),r=r8("headerHeight"),t=r4("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=r4("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null}),r1=n.memo(function(){var e=r4("FooterComponent"),r=r8("footerHeight"),t=r4("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=r4("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null}),r2=function(e){var r=e.children,t=(0,n.useContext)(rl),o=r8("itemDimensions"),a=r8("viewportDimensions"),i=et(function(e){a(e.getBoundingClientRect())});return n.useEffect(function(){t&&(a({height:t.viewportHeight,width:t.viewportWidth}),o({height:t.itemHeight,width:t.itemWidth}))},[t,a,o]),n.createElement("div",{style:rw,ref:i},r)},r3=function(e){var r=e.children,t=(0,n.useContext)(rl),o=r8("windowViewportRect"),a=r8("itemDimensions"),i=ri(o,r4("customScrollParent"));return n.useEffect(function(){t&&(a({height:t.itemHeight,width:t.itemWidth}),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))},[t,o,a]),n.createElement("div",{ref:i,style:rw},r)},r5=M(rX,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",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 r=Z({},e),t=r4("useWindowScroll"),o=r4("customScrollParent");return n.createElement(o||t?r7:r9,Z({},r),n.createElement(o||t?r3:r2,null,n.createElement(r0,null),n.createElement(r$,null),n.createElement(r1,null)))})),r8=(r5.Component,r5.usePublisher),r4=r5.useEmitterValue,r6=r5.useEmitter,r9=rq({usePublisher:r8,useEmitterValue:r4,useEmitter:r6}),r7=rA({usePublisher:r8,useEmitterValue:r4,useEmitter:r6});function te(e,r,t){return"normal"===r||null!=r&&r.endsWith("px")||t(e+" was not resolved to pixel value correctly",r,Q.WARN),"normal"===r?0:parseInt(null!=r?r:"0",10)}var tr=P(function(){var e=x(function(e){return n.createElement("td",null,"Item $",e)}),r=x(null),t=x(null),o=x(null),a=x({}),i=x(rp),u=x(f),l=function(e,r){return void 0===r&&(r=null),y(E(a,T(function(r){return r[e]}),q()),r)};return{context:r,itemContent:e,fixedHeaderContent:t,fixedFooterContent:o,components:a,computeItemKey:i,scrollerRef:u,TableComponent:l("Table","table"),TableHeadComponent:l("TableHead","thead"),TableFooterComponent:l("TableFoot","tfoot"),TableBodyComponent:l("TableBody","tbody"),TableRowComponent:l("TableRow","tr"),ScrollerComponent:l("Scroller","div"),EmptyPlaceholder:l("EmptyPlaceholder"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder"),FillerRow:l("FillerRow")}}),tt=P(function(e){return Z({},e[0],e[1])},c(rn,tr)),to=function(e){return n.createElement("tr",null,n.createElement("td",{style:{height:e.height}}))},tn=function(e){return n.createElement("tr",null,n.createElement("td",{style:{height:e.height,padding:0,border:0}}))},ta=n.memo(function(){var e=ts("listState"),r=tc("sizeRanges"),t=ts("useWindowScroll"),o=ts("customScrollParent"),a=tc("windowScrollContainerState"),i=tc("scrollContainerState"),u=ts("itemContent"),l=ts("trackItemSizes"),c=eo(r,ts("itemSize"),l,o||t?a:i,ts("log"),void 0,o),s=c.callbackRef,d=c.ref,p=n.useState(0),f=p[0],m=p[1];td("deviation",function(e){f!==e&&(d.current.style.marginTop=e+"px",m(e))});var g=ts("EmptyPlaceholder"),h=ts("ScrollSeekPlaceholder")||to,D=ts("FillerRow")||tn,v=ts("TableBodyComponent"),b=ts("TableRowComponent"),x=ts("computeItemKey"),w=ts("isSeeking"),y=ts("paddingTopAddition"),C=ts("firstItemIndex"),E=ts("statefulTotalCount"),S=ts("context");if(0===E&&g)return(0,n.createElement)(g,rC(g,S));var q=e.offsetTop+y+f,A=e.offsetBottom,T=q>0?n.createElement(D,{height:q,key:"padding-top"}):null,k=A>0?n.createElement(D,{height:A,key:"padding-bottom"}):null,I=e.items.map(function(e){var r=e.originalIndex,t=x(r+C,e.data,S);return w?(0,n.createElement)(h,Z({},rC(h,S),{key:t,index:e.index,height:e.size,type:e.type||"item"})):(0,n.createElement)(b,Z({},rC(b,S),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:"none"}}),u(e.index,e.data,S))});return(0,n.createElement)(v,Z({ref:s,"data-test-id":"virtuoso-item-list"},rC(v,S)),[T].concat(I,[k]))}),ti=function(e){var r=e.children,t=(0,n.useContext)(ru),o=tc("viewportHeight"),i=tc("fixedItemHeight"),u=et(a(o,function(e){return en(e,"height")}));return n.useEffect(function(){t&&(o(t.viewportHeight),i(t.itemHeight))},[t,o,i]),n.createElement("div",{style:rw,ref:u,"data-viewport-type":"element"},r)},tu=function(e){var r=e.children,t=(0,n.useContext)(ru),o=tc("windowViewportRect"),a=tc("fixedItemHeight"),i=ri(o,ts("customScrollParent"));return n.useEffect(function(){t&&(a(t.itemHeight),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,o,a]),n.createElement("div",{ref:i,style:rw,"data-viewport-type":"window"},r)},tl=M(tt,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",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 r=ts("useWindowScroll"),t=ts("customScrollParent"),o=tc("fixedHeaderHeight"),i=tc("fixedFooterHeight"),u=ts("fixedHeaderContent"),l=ts("fixedFooterContent"),c=ts("context"),s=et(a(o,function(e){return en(e,"height")})),d=et(a(i,function(e){return en(e,"height")})),p=ts("TableComponent"),f=ts("TableHeadComponent"),m=ts("TableFooterComponent"),g=u?n.createElement(f,Z({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:s},rC(f,c)),u()):null,h=l?n.createElement(m,Z({key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:d},rC(m,c)),l()):null;return n.createElement(t||r?tf:tp,Z({},e),n.createElement(t||r?tu:ti,null,n.createElement(p,Z({style:{borderSpacing:0}},rC(p,c)),[g,n.createElement(ta,{key:"TableBody"}),h])))})),tc=(tl.Component,tl.usePublisher),ts=tl.useEmitterValue,td=tl.useEmitter,tp=rq({usePublisher:tc,useEmitterValue:ts,useEmitter:td}),tf=rA({usePublisher:tc,useEmitterValue:ts,useEmitter:td}),tm=rR},94203:function(e,r,t){"use strict";function o(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function n(e,r){return(!r||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function a(e,r){if(e.clientHeightr||a>e&&i=r&&u>=t?a-e-o:i>r&&ut?i-r+n:0}t.d(r,{Z:function(){return c}});var u=function(e,r){var t=window,n=r.scrollMode,u=r.block,l=r.inline,c=r.boundary,s=r.skipOverflowHiddenElements,d="function"==typeof c?c:function(e){return e!==c};if(!o(e))throw TypeError("Invalid target");for(var p,f,m=document.scrollingElement||document.documentElement,g=[],h=e;o(h)&&d(h);){if((h=null==(f=(p=h).parentElement)?p.getRootNode().host||null:f)===m){g.push(h);break}null!=h&&h===document.body&&a(h)&&!a(document.documentElement)||null!=h&&a(h,s)&&g.push(h)}for(var D=t.visualViewport?t.visualViewport.width:innerWidth,v=t.visualViewport?t.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,x=window.scrollY||pageYOffset,w=e.getBoundingClientRect(),y=w.height,C=w.width,E=w.top,S=w.right,q=w.bottom,A=w.left,T="start"===u||"nearest"===u?E:"end"===u?q:E+y/2,k="center"===l?A+C/2:"end"===l?S:A,I=[],B=0;B=0&&A>=0&&q<=v&&S<=D&&E>=O&&q<=P&&A>=z&&S<=N)break;var V=getComputedStyle(R),U=parseInt(V.borderLeftWidth,10),G=parseInt(V.borderTopWidth,10),j=parseInt(V.borderRightWidth,10),M=parseInt(V.borderBottomWidth,10),W=0,Z=0,K="offsetWidth"in R?R.offsetWidth-R.clientWidth-U-j:0,_="offsetHeight"in R?R.offsetHeight-R.clientHeight-G-M:0,Y="offsetWidth"in R?0===R.offsetWidth?0:F/R.offsetWidth:0,J="offsetHeight"in R?0===R.offsetHeight?0:H/R.offsetHeight:0;if(m===R)W="start"===u?T:"end"===u?T-v:"nearest"===u?i(x,x+v,v,G,M,x+T,x+T+y,y):T-v/2,Z="start"===l?k:"center"===l?k-D/2:"end"===l?k-D:i(b,b+D,D,U,j,b+k,b+k+C,C),W=Math.max(0,W+x),Z=Math.max(0,Z+b);else{W="start"===u?T-O-G:"end"===u?T-P+M+_:"nearest"===u?i(O,P,H,G,M+_,T,T+y,y):T-(O+H/2)+_/2,Z="start"===l?k-z-U:"center"===l?k-(z+F/2)+K/2:"end"===l?k-N+j+K:i(z,N,F,U,j+K,k,k+C,C);var Q=R.scrollLeft,X=R.scrollTop;T+=X-(W=Math.max(0,Math.min(X+W/J,R.scrollHeight-H/J+_))),k+=Q-(Z=Math.max(0,Math.min(Q+Z/Y,R.scrollWidth-F/Y+K)))}I.push({el:R,top:W,left:Z})}return I};function l(e){return e===Object(e)&&0!==Object.keys(e).length}var c=function(e,r){var t=e.isConnected||e.ownerDocument.documentElement.contains(e);if(l(r)&&"function"==typeof r.behavior)return r.behavior(t?u(e,r):[]);if(t){var o=!1===r?{block:"end",inline:"nearest"}:l(r)?r:{block:"start",inline:"nearest"};return function(e,r){void 0===r&&(r="auto");var t="scrollBehavior"in document.body.style;e.forEach(function(e){var o=e.el,n=e.top,a=e.left;o.scroll&&t?o.scroll({top:n,left:a,behavior:r}):(o.scrollTop=n,o.scrollLeft=a)})}(u(e,o),o.behavior)}}},12902:function(e,r,t){"use strict";function o(e){for(var r=arguments.length,t=Array(r>1?r-1:0),o=1;o3?r.i-4:r.i:Array.isArray(e)?1:s(e)?2:d(e)?3:0}function l(e,r){return 2===u(e)?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function c(e,r,t){var o=u(e);2===o?e.set(r,t):3===o?(e.delete(r),e.add(t)):e[r]=t}function s(e){return O&&e instanceof Map}function d(e){return N&&e instanceof Set}function p(e){return e.o||e.t}function f(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=M(e);delete r[U];for(var t=j(r),o=0;o1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),r&&i(e,function(e,r){return m(r,!0)},!0)),e}function g(){o(2)}function h(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function D(e){var r=W[e];return r||o(18,e),r}function v(e,r){r&&(D("Patches"),e.u=[],e.s=[],e.v=r)}function b(e){x(e),e.p.forEach(y),e.p=null}function x(e){e===H&&(H=e.l)}function w(e){return H={p:[],l:H,h:e,m:!0,_:0}}function y(e){var r=e[U];0===r.i||1===r.i?r.j():r.O=!0}function C(e,r){r._=r.p.length;var t=r.p[0],n=void 0!==e&&e!==t;return r.h.g||D("ES5").S(r,e,n),n?(t[U].P&&(b(r),o(4)),a(e)&&(e=E(r,e),r.l||q(r,e)),r.u&&D("Patches").M(t[U].t,e,r.u,r.s)):e=E(r,t,[]),b(r),r.u&&r.v(r.u,r.s),e!==z?e:void 0}function E(e,r,t){if(h(r))return r;var o=r[U];if(!o)return i(r,function(n,a){return S(e,o,r,n,a,t)},!0),r;if(o.A!==e)return r;if(!o.P)return q(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=4===o.i||5===o.i?o.o=f(o.k):o.o;i(3===o.i?new Set(n):n,function(r,a){return S(e,o,n,r,a,t)}),q(e,n,!1),t&&e.u&&D("Patches").R(o,t,e.u,e.s)}return o.o}function S(e,r,t,o,i,u){if(n(i)){var s=E(e,i,u&&r&&3!==r.i&&!l(r.D,o)?u.concat(o):void 0);if(c(t,o,s),!n(s))return;e.m=!1}if(a(i)&&!h(i)){if(!e.h.F&&e._<1)return;E(e,i),r&&r.A.l||q(e,i)}}function q(e,r,t){void 0===t&&(t=!1),e.h.F&&e.m&&m(r,t)}function A(e,r){var t=e[U];return(t?p(t):e)[r]}function T(e,r){if(r in e)for(var t=Object.getPrototypeOf(e);t;){var o=Object.getOwnPropertyDescriptor(t,r);if(o)return o;t=Object.getPrototypeOf(t)}}function k(e){e.P||(e.P=!0,e.l&&k(e.l))}function I(e){e.o||(e.o=f(e.t))}function B(e,r,t){var o,n,a,i,u,l,c,p=s(r)?D("MapSet").N(r,t):d(r)?D("MapSet").T(r,t):e.g?(a=n={i:(o=Array.isArray(r))?1:0,A:t?t.A:H,P:!1,I:!1,D:{},l:t,t:r,k:null,o:null,j:null,C:!1},i=Z,o&&(a=[n],i=K),l=(u=Proxy.revocable(a,i)).revoke,c=u.proxy,n.k=c,n.j=l,c):D("ES5").J(r,t);return(t?t.A:H).p.push(p),p}function R(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return f(e)}t.d(r,{P2:function(){return J},Uy:function(){return Y},_x:function(){return Q},mv:function(){return n}});var L,H,F="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),O="undefined"!=typeof Map,N="undefined"!=typeof Set,P="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,z=F?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),V=F?Symbol.for("immer-draftable"):"__$immer_draftable",U=F?Symbol.for("immer-state"):"__$immer_state",G=""+Object.prototype.constructor,j="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,M=Object.getOwnPropertyDescriptors||function(e){var r={};return j(e).forEach(function(t){r[t]=Object.getOwnPropertyDescriptor(e,t)}),r},W={},Z={get:function(e,r){if(r===U)return e;var t,o,n=p(e);if(!l(n,r))return(o=T(n,r))?"value"in o?o.value:null===(t=o.get)||void 0===t?void 0:t.call(e.k):void 0;var i=n[r];return e.I||!a(i)?i:i===A(e.t,r)?(I(e),e.o[r]=B(e.A.h,i,e)):i},has:function(e,r){return r in p(e)},ownKeys:function(e){return Reflect.ownKeys(p(e))},set:function(e,r,t){var o=T(p(e),r);if(null==o?void 0:o.set)return o.set.call(e.k,t),!0;if(!e.P){var n=A(p(e),r),a=null==n?void 0:n[U];if(a&&a.t===t)return e.o[r]=t,e.D[r]=!1,!0;if((t===n?0!==t||1/t==1/n:t!=t&&n!=n)&&(void 0!==t||l(e.t,r)))return!0;I(e),k(e)}return e.o[r]===t&&"number"!=typeof t&&(void 0!==t||r in e.o)||(e.o[r]=t,e.D[r]=!0,!0)},deleteProperty:function(e,r){return void 0!==A(e.t,r)||r in e.t?(e.D[r]=!1,I(e),k(e)):delete e.D[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var t=p(e),o=Reflect.getOwnPropertyDescriptor(t,r);return o?{writable:!0,configurable:1!==e.i||"length"!==r,enumerable:o.enumerable,value:t[r]}:o},defineProperty:function(){o(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){o(12)}},K={};i(Z,function(e,r){K[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),K.deleteProperty=function(e,r){return K.set.call(this,e,r,void 0)},K.set=function(e,r,t){return Z.set.call(this,e[0],r,t,e[0])};var _=new(function(){function e(e){var r=this;this.g=P,this.F=!0,this.produce=function(e,t,n){if("function"==typeof e&&"function"!=typeof t){var i,u=t;return t=e,function(e){var o=this;void 0===e&&(e=u);for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i1?o-1:0),a=1;a=0;t--){var t,o=r[t];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}t>-1&&(r=r.slice(t+1));var a=D("Patches").$;return n(e)?a(e,r):this.produce(e,function(e){return a(e,r)})},e}()),Y=_.produce,J=(_.produceWithPatches.bind(_),_.setAutoFreeze.bind(_),_.setUseProxies.bind(_),_.applyPatches.bind(_),_.createDraft.bind(_)),Q=_.finishDraft.bind(_)},45628:function(e,r,t){"use strict";/*! * is-plain-object * * Copyright (c) 2014-2017, Jon Schlinkert. diff --git a/static/web/_next/static/chunks/8119-9ed703c0791a92b4.js b/static/web/_next/static/chunks/8119-57984c2c349ea105.js similarity index 59% rename from static/web/_next/static/chunks/8119-9ed703c0791a92b4.js rename to static/web/_next/static/chunks/8119-57984c2c349ea105.js index f181e207f..b84722cce 100644 --- a/static/web/_next/static/chunks/8119-9ed703c0791a92b4.js +++ b/static/web/_next/static/chunks/8119-57984c2c349ea105.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8119],{18119:function(e,t,r){r.d(t,{Z:function(){return eo}});var n=r(65223),o=r(4942),a=r(87462),l=r(74902),i=r(94184),c=r.n(i),u=r(62874),s=r(67294),f=r(53124),d=r(33603),p=r(97685);function m(e){var t=s.useState(e),r=(0,p.Z)(t,2),n=r[0],o=r[1];return s.useEffect(function(){var t=setTimeout(function(){o(e)},e.length?0:10);return function(){clearTimeout(t)}},[e]),n}var v=[];function h(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:"".concat(r,"-").concat(n),error:e,errorStatus:t}}function g(e){var t=e.help,r=e.helpStatus,i=e.errors,p=e.warnings,g=e.className,b=e.fieldId,y=e.onVisibleChanged,Z=s.useContext(n.Rk).prefixCls,x=s.useContext(f.E_).getPrefixCls,w="".concat(Z,"-item-explain"),E=x(),C=m(void 0===i?v:i),O=m(void 0===p?v:p),j=s.useMemo(function(){return null!=t?[h(t,r,"help")]:[].concat((0,l.Z)(C.map(function(e,t){return h(e,"error","error",t)})),(0,l.Z)(O.map(function(e,t){return h(e,"warning","warning",t)})))},[t,r,C,O]),k={};return b&&(k.id="".concat(b,"_help")),s.createElement(u.Z,{motionDeadline:d.ZP.motionDeadline,motionName:"".concat(E,"-show-help"),visible:!!j.length,onVisibleChanged:y},function(e){var t=e.className,r=e.style;return s.createElement("div",(0,a.Z)({},k,{className:c()(w,t,g),style:r,role:"alert"}),s.createElement(u.V,(0,a.Z)({keys:j},d.ZP,{motionName:"".concat(E,"-show-help-item"),component:!1}),function(e){var t=e.key,r=e.error,n=e.errorStatus,a=e.className,l=e.style;return s.createElement("div",{key:t,className:c()(a,(0,o.Z)({},"".concat(w,"-").concat(n),n)),style:l},r)}))})}var b=r(71002),y=r(71990),Z=r(98866),x=r(97647),w=r(12615),E=["parentNode"];function C(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function O(e,t){if(e.length){var r=e.join("_");return t?"".concat(t,"_").concat(r):E.includes(r)?"".concat("form_item","_").concat(r):r}}function j(e){return C(e).join("_")}function k(e){var t=(0,y.useForm)(),r=(0,p.Z)(t,1)[0],n=s.useRef({}),o=s.useMemo(function(){return null!=e?e:(0,a.Z)((0,a.Z)({},r),{__INTERNAL__:{itemRef:function(e){return function(t){var r=j(e);t?n.current[r]=t:delete n.current[r]}}},scrollToField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=O(C(e),o.__INTERNAL__.name),n=r?document.getElementById(r):null;n&&(0,w.Z)(n,(0,a.Z)({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:function(e){var t=j(e);return n.current[t]}})},[e,r]);return[o]}var N=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},P=s.forwardRef(function(e,t){var r,l=s.useContext(x.Z),i=s.useContext(Z.Z),u=s.useContext(f.E_),d=u.getPrefixCls,m=u.direction,v=u.form,h=e.prefixCls,g=e.className,w=e.size,E=void 0===w?l:w,C=e.disabled,O=e.form,j=e.colon,P=e.labelAlign,_=e.labelWrap,I=e.labelCol,S=e.wrapperCol,q=e.hideRequiredMark,F=e.layout,R=void 0===F?"horizontal":F,M=e.scrollToFirstError,W=e.requiredMark,T=e.onFinishFailed,A=e.name,V=N(e,["prefixCls","className","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),L=(0,s.useMemo)(function(){return void 0!==W?W:v&&void 0!==v.requiredMark?v.requiredMark:!q},[q,W,v]),B=null!=j?j:null==v?void 0:v.colon,H=d("form",h),D=c()(H,(r={},(0,o.Z)(r,"".concat(H,"-").concat(R),!0),(0,o.Z)(r,"".concat(H,"-hide-required-mark"),!1===L),(0,o.Z)(r,"".concat(H,"-rtl"),"rtl"===m),(0,o.Z)(r,"".concat(H,"-").concat(E),E),r),void 0===g?"":g),z=k(O),Y=(0,p.Z)(z,1)[0],G=Y.__INTERNAL__;G.name=A;var K=(0,s.useMemo)(function(){return{name:A,labelAlign:P,labelCol:I,labelWrap:_,wrapperCol:S,vertical:"vertical"===R,colon:B,requiredMark:L,itemRef:G.itemRef,form:Y}},[A,P,I,S,R,B,L,Y]);return s.useImperativeHandle(t,function(){return Y}),s.createElement(Z.n,{disabled:void 0===C?i:C},s.createElement(x.q,{size:E},s.createElement(n.q3.Provider,{value:K},s.createElement(y.default,(0,a.Z)({id:A},V,{name:A,onFinishFailed:function(e){null==T||T(e);var t={block:"nearest"};M&&e.errorFields.length&&("object"===(0,b.Z)(M)&&(t=M),Y.scrollToField(e.errorFields[0].name,t))},form:Y,className:D})))))}),_=r(30470),I=r(42550),S=r(96159),q=r(93355),F=r(75164),R=r(89739),M=r(4340),W=r(21640),T=r(50888),A=r(8410),V=r(98423),L=r(92820),B=r(25035),H=r(21584),D=r(23715),z=r(6213),Y=r(94199),G=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},K=function(e){var t=e.prefixCls,r=e.label,l=e.htmlFor,i=e.labelCol,u=e.labelAlign,f=e.colon,d=e.required,m=e.requiredMark,v=e.tooltip,h=(0,D.E)("Form"),g=(0,p.Z)(h,1)[0];return r?s.createElement(n.q3.Consumer,{key:"label"},function(e){var n,p,h=e.vertical,y=e.labelAlign,Z=e.labelCol,x=e.labelWrap,w=e.colon,E=i||Z||{},C="".concat(t,"-item-label"),O=c()(C,"left"===(u||y)&&"".concat(C,"-left"),E.className,(0,o.Z)({},"".concat(C,"-wrap"),!!x)),j=r,k=!0===f||!1!==w&&!1!==f;k&&!h&&"string"==typeof r&&""!==r.trim()&&(j=r.replace(/[:|:]\s*$/,""));var N=v?"object"!==(0,b.Z)(v)||s.isValidElement(v)?{title:v}:v:null;if(N){var P=N.icon,_=void 0===P?s.createElement(B.Z,null):P,I=G(N,["icon"]),S=s.createElement(Y.Z,(0,a.Z)({},I),s.cloneElement(_,{className:"".concat(t,"-item-tooltip"),title:""}));j=s.createElement(s.Fragment,null,j,S)}"optional"!==m||d||(j=s.createElement(s.Fragment,null,j,s.createElement("span",{className:"".concat(t,"-item-optional"),title:""},(null==g?void 0:g.optional)||(null===(p=z.Z.Form)||void 0===p?void 0:p.optional))));var q=c()((n={},(0,o.Z)(n,"".concat(t,"-item-required"),d),(0,o.Z)(n,"".concat(t,"-item-required-mark-optional"),"optional"===m),(0,o.Z)(n,"".concat(t,"-item-no-colon"),!k),n));return s.createElement(H.Z,(0,a.Z)({},E,{className:O}),s.createElement("label",{htmlFor:l,className:q,title:"string"==typeof r?r:""},j))}):null},X=function(e){var t=e.prefixCls,r=e.status,o=e.wrapperCol,l=e.children,i=e.errors,u=e.warnings,f=e._internalItemRender,d=e.extra,p=e.help,m=e.fieldId,v=e.marginBottom,h=e.onErrorVisibleChanged,b="".concat(t,"-item"),y=s.useContext(n.q3),Z=o||y.wrapperCol||{},x=c()("".concat(b,"-control"),Z.className),w=s.useMemo(function(){return(0,a.Z)({},y)},[y]);delete w.labelCol,delete w.wrapperCol;var E=s.createElement("div",{className:"".concat(b,"-control-input")},s.createElement("div",{className:"".concat(b,"-control-input-content")},l)),C=s.useMemo(function(){return{prefixCls:t,status:r}},[t,r]),O=null!==v||i.length||u.length?s.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},s.createElement(n.Rk.Provider,{value:C},s.createElement(g,{fieldId:m,errors:i,warnings:u,help:p,helpStatus:r,className:"".concat(b,"-explain-connected"),onVisibleChanged:h})),!!v&&s.createElement("div",{style:{width:0,height:v}})):null,j={};m&&(j.id="".concat(m,"_extra"));var k=d?s.createElement("div",(0,a.Z)({},j,{className:"".concat(b,"-extra")}),d):null,N=f&&"pro_table_render"===f.mark&&f.render?f.render(e,{input:E,errorList:O,extra:k}):s.createElement(s.Fragment,null,E,O,k);return s.createElement(n.q3.Provider,{value:w},s.createElement(H.Z,(0,a.Z)({},Z,{className:x}),N))},$=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},U={success:R.Z,warning:W.Z,error:M.Z,validating:T.Z};function J(e){var t,r=e.prefixCls,l=e.className,i=e.style,u=e.help,f=e.errors,d=e.warnings,v=e.validateStatus,h=e.meta,g=e.hasFeedback,b=e.hidden,y=e.children,Z=e.fieldId,x=e.isRequired,w=e.onSubItemMetaChange,E=$(e,["prefixCls","className","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","isRequired","onSubItemMetaChange"]),C="".concat(r,"-item"),O=s.useContext(n.q3).requiredMark,j=s.useRef(null),k=m(f),N=m(d),P=null!=u,_=!!(P||f.length||d.length),I=s.useState(null),S=(0,p.Z)(I,2),q=S[0],F=S[1];(0,A.Z)(function(){_&&j.current&&F(parseInt(getComputedStyle(j.current).marginBottom,10))},[_]);var R="";void 0!==v?R=v:h.validating?R="validating":k.length?R="error":N.length?R="warning":h.touched&&(R="success");var M=s.useMemo(function(){var e;if(g){var t=R&&U[R];e=t?s.createElement("span",{className:c()("".concat(C,"-feedback-icon"),"".concat(C,"-feedback-icon-").concat(R))},s.createElement(t,null)):null}return{status:R,hasFeedback:g,feedbackIcon:e,isFormItemInput:!0}},[R,g]),W=(t={},(0,o.Z)(t,C,!0),(0,o.Z)(t,"".concat(C,"-with-help"),P||k.length||N.length),(0,o.Z)(t,"".concat(l),!!l),(0,o.Z)(t,"".concat(C,"-has-feedback"),R&&g),(0,o.Z)(t,"".concat(C,"-has-success"),"success"===R),(0,o.Z)(t,"".concat(C,"-has-warning"),"warning"===R),(0,o.Z)(t,"".concat(C,"-has-error"),"error"===R),(0,o.Z)(t,"".concat(C,"-is-validating"),"validating"===R),(0,o.Z)(t,"".concat(C,"-hidden"),b),t);return s.createElement("div",{className:c()(W),style:i,ref:j},s.createElement(L.Z,(0,a.Z)({className:"".concat(C,"-row")},(0,V.Z)(E,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","required","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),s.createElement(K,(0,a.Z)({htmlFor:Z,required:x,requiredMark:O},e,{prefixCls:r})),s.createElement(X,(0,a.Z)({},e,h,{errors:k,warnings:N,prefixCls:r,status:R,help:u,marginBottom:q,onErrorVisibleChanged:function(e){e||F(null)}}),s.createElement(n.qI.Provider,{value:w},s.createElement(n.aM.Provider,{value:M},y)))),!!q&&s.createElement("div",{className:"".concat(C,"-margin-offset"),style:{marginBottom:-q}}))}(0,q.b)("success","warning","error","validating","");var Q=s.memo(function(e){return e.children},function(e,t){return e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every(function(e,r){return e===t.childProps[r]})});function ee(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[]}}var et=function(e){var t,r,o,i,c,u,d,m,v,h=e.name,g=e.noStyle,Z=e.dependencies,x=e.prefixCls,w=e.shouldUpdate,E=e.rules,j=e.children,k=e.required,N=e.label,P=e.messageVariables,q=e.trigger,R=void 0===q?"onChange":q,M=e.validateTrigger,W=e.hidden,T=(0,s.useContext)(f.E_).getPrefixCls,A=(0,s.useContext)(n.q3).name,V="function"==typeof j,L=(0,s.useContext)(n.qI),B=(0,s.useContext)(y.FieldContext).validateTrigger,H=void 0!==M?M:B,D=null!=h,z=T("form",x),Y=s.useContext(y.ListContext),G=s.useRef(),K=(t=s.useState({}),o=(r=(0,p.Z)(t,2))[0],i=r[1],c=(0,s.useRef)(null),u=(0,s.useRef)([]),d=(0,s.useRef)(!1),s.useEffect(function(){return d.current=!1,function(){d.current=!0,F.Z.cancel(c.current),c.current=null}},[]),[o,function(e){d.current||(null===c.current&&(u.current=[],c.current=(0,F.Z)(function(){c.current=null,i(function(e){var t=e;return u.current.forEach(function(e){t=e(t)}),t})})),u.current.push(e))}]),X=(0,p.Z)(K,2),$=X[0],U=X[1],et=(0,_.Z)(function(){return ee()}),er=(0,p.Z)(et,2),en=er[0],eo=er[1],ea=function(e,t){U(function(r){var n=(0,a.Z)({},r),o=[].concat((0,l.Z)(e.name.slice(0,-1)),(0,l.Z)(t)).join("__SPLIT__");return e.destroy?delete n[o]:n[o]=e,n})},el=s.useMemo(function(){var e=(0,l.Z)(en.errors),t=(0,l.Z)(en.warnings);return Object.values($).forEach(function(r){e.push.apply(e,(0,l.Z)(r.errors||[])),t.push.apply(t,(0,l.Z)(r.warnings||[]))}),[e,t]},[$,en.errors,en.warnings]),ei=(0,p.Z)(el,2),ec=ei[0],eu=ei[1],es=(m=s.useContext(n.q3).itemRef,v=s.useRef({}),function(e,t){var r=t&&"object"===(0,b.Z)(t)&&t.ref,n=e.join("_");return(v.current.name!==n||v.current.originRef!==r)&&(v.current.name=n,v.current.originRef=r,v.current.ref=(0,I.sQ)(m(e),r)),v.current.ref});function ef(t,r,n){return g&&!W?t:s.createElement(J,(0,a.Z)({key:"row"},e,{prefixCls:z,fieldId:r,isRequired:n,errors:ec,warnings:eu,meta:en,onSubItemMetaChange:ea}),t)}if(!D&&!V&&!Z)return ef(j);var ed={};return"string"==typeof N?ed.label=N:h&&(ed.label=String(h)),P&&(ed=(0,a.Z)((0,a.Z)({},ed),P)),s.createElement(y.Field,(0,a.Z)({},e,{messageVariables:ed,trigger:R,validateTrigger:H,onMetaChange:function(e){var t=null==Y?void 0:Y.getKey(e.name);if(eo(e.destroy?ee():e,!0),g&&L){var r=e.name;if(e.destroy)r=G.current||r;else if(void 0!==t){var n=(0,p.Z)(t,2),o=n[0],a=n[1];r=[o].concat((0,l.Z)(a)),G.current=r}L(e,r)}}}),function(t,r,n){var o=C(h).length&&r?r.name:[],i=O(o,A),c=void 0!==k?k:!!(E&&E.some(function(e){if(e&&"object"===(0,b.Z)(e)&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){var t=e(n);return t&&t.required&&!t.warningOnly}return!1})),u=(0,a.Z)({},t),f=null;if(Array.isArray(j)&&D)f=j;else if(V&&(!(w||Z)||D));else if(!Z||V||D){if((0,S.l$)(j)){var d=(0,a.Z)((0,a.Z)({},j.props),u);if(d.id||(d.id=i),e.help||ec.length>0||eu.length>0||e.extra){var p=[];(e.help||ec.length>0)&&p.push("".concat(i,"_help")),e.extra&&p.push("".concat(i,"_extra")),d["aria-describedby"]=p.join(" ")}ec.length>0&&(d["aria-invalid"]="true"),c&&(d["aria-required"]="true"),(0,I.Yr)(j)&&(d.ref=es(o,j)),new Set([].concat((0,l.Z)(C(R)),(0,l.Z)(C(H)))).forEach(function(e){d[e]=function(){for(var t,r,n,o=arguments.length,a=Array(o),l=0;lt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},en=P;en.Item=et,en.List=function(e){var t=e.prefixCls,r=e.children,o=er(e,["prefixCls","children"]),l=(0,s.useContext(f.E_).getPrefixCls)("form",t),i=s.useMemo(function(){return{prefixCls:l,status:"error"}},[l]);return s.createElement(y.List,(0,a.Z)({},o),function(e,t,o){return s.createElement(n.Rk.Provider,{value:i},r(e.map(function(e){return(0,a.Z)((0,a.Z)({},e),{fieldKey:e.key})}),t,{errors:o.errors,warnings:o.warnings}))})},en.ErrorList=g,en.useForm=k,en.useFormInstance=function(){return(0,s.useContext)(n.q3).form},en.useWatch=y.useWatch,en.Provider=n.RV,en.create=function(){};var eo=en},99134:function(e,t,r){var n=(0,r(67294).createContext)({});t.Z=n},21584:function(e,t,r){var n=r(4942),o=r(87462),a=r(71002),l=r(94184),i=r.n(l),c=r(67294),u=r(53124),s=r(99134),f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},d=["xs","sm","md","lg","xl","xxl"],p=c.forwardRef(function(e,t){var r,l=c.useContext(u.E_),p=l.getPrefixCls,m=l.direction,v=c.useContext(s.Z),h=v.gutter,g=v.wrap,b=v.supportFlexGap,y=e.prefixCls,Z=e.span,x=e.order,w=e.offset,E=e.push,C=e.pull,O=e.className,j=e.children,k=e.flex,N=e.style,P=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),_=p("col",y),I={};d.forEach(function(t){var r,l={},i=e[t];"number"==typeof i?l.span=i:"object"===(0,a.Z)(i)&&(l=i||{}),delete P[t],I=(0,o.Z)((0,o.Z)({},I),(r={},(0,n.Z)(r,"".concat(_,"-").concat(t,"-").concat(l.span),void 0!==l.span),(0,n.Z)(r,"".concat(_,"-").concat(t,"-order-").concat(l.order),l.order||0===l.order),(0,n.Z)(r,"".concat(_,"-").concat(t,"-offset-").concat(l.offset),l.offset||0===l.offset),(0,n.Z)(r,"".concat(_,"-").concat(t,"-push-").concat(l.push),l.push||0===l.push),(0,n.Z)(r,"".concat(_,"-").concat(t,"-pull-").concat(l.pull),l.pull||0===l.pull),(0,n.Z)(r,"".concat(_,"-rtl"),"rtl"===m),r))});var S=i()(_,(r={},(0,n.Z)(r,"".concat(_,"-").concat(Z),void 0!==Z),(0,n.Z)(r,"".concat(_,"-order-").concat(x),x),(0,n.Z)(r,"".concat(_,"-offset-").concat(w),w),(0,n.Z)(r,"".concat(_,"-push-").concat(E),E),(0,n.Z)(r,"".concat(_,"-pull-").concat(C),C),r),O,I),q={};if(h&&h[0]>0){var F=h[0]/2;q.paddingLeft=F,q.paddingRight=F}if(h&&h[1]>0&&!b){var R=h[1]/2;q.paddingTop=R,q.paddingBottom=R}return k&&(q.flex="number"==typeof k?"".concat(k," ").concat(k," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(k)?"0 0 ".concat(k):k,!1!==g||q.minWidth||(q.minWidth=0)),c.createElement("div",(0,o.Z)({},P,{style:(0,o.Z)((0,o.Z)({},q),N),className:S,ref:t}),j)});t.Z=p},92820:function(e,t,r){var n=r(87462),o=r(4942),a=r(71002),l=r(97685),i=r(94184),c=r.n(i),u=r(67294),s=r(53124),f=r(98082),d=r(24308),p=r(93355),m=r(99134),v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function h(e,t){var r=u.useState("string"==typeof e?e:""),n=(0,l.Z)(r,2),o=n[0],i=n[1],c=function(){if("object"===(0,a.Z)(e))for(var r=0;r0?-(B[0]/2):void 0,Y=null!=B[1]&&B[1]>0?-(B[1]/2):void 0;if(z&&(D.marginLeft=z,D.marginRight=z),A){var G=(0,l.Z)(B,2);D.rowGap=G[1]}else Y&&(D.marginTop=Y,D.marginBottom=Y);var K=(0,l.Z)(B,2),X=K[0],$=K[1],U=u.useMemo(function(){return{gutter:[X,$],wrap:C,supportFlexGap:A}},[X,$,C,A]);return u.createElement(m.Z.Provider,{value:U},u.createElement("div",(0,n.Z)({},O,{className:H,style:(0,n.Z)((0,n.Z)({},D),Z),ref:t}),x))});t.Z=g},12615:function(e,t,r){function n(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function o(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function a(e,t){if(e.clientHeightt||a>e&&l=t&&i>=r?a-e-n:l>t&&ir?l-t+o:0}function i(e,t){var r=window,o=t.scrollMode,i=t.block,c=t.inline,u=t.boundary,s=t.skipOverflowHiddenElements,f="function"==typeof u?u:function(e){return e!==u};if(!n(e))throw TypeError("Invalid target");for(var d=document.scrollingElement||document.documentElement,p=[],m=e;n(m)&&f(m);){if((m=m.parentElement)===d){p.push(m);break}null!=m&&m===document.body&&a(m)&&!a(document.documentElement)||null!=m&&a(m,s)&&p.push(m)}for(var v=r.visualViewport?r.visualViewport.width:innerWidth,h=r.visualViewport?r.visualViewport.height:innerHeight,g=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),Z=y.height,x=y.width,w=y.top,E=y.right,C=y.bottom,O=y.left,j="start"===i||"nearest"===i?w:"end"===i?C:w+Z/2,k="center"===c?O+x/2:"end"===c?E:O,N=[],P=0;P=0&&O>=0&&C<=h&&E<=v&&w>=F&&C<=M&&O>=W&&E<=R)break;var T=getComputedStyle(_),A=parseInt(T.borderLeftWidth,10),V=parseInt(T.borderTopWidth,10),L=parseInt(T.borderRightWidth,10),B=parseInt(T.borderBottomWidth,10),H=0,D=0,z="offsetWidth"in _?_.offsetWidth-_.clientWidth-A-L:0,Y="offsetHeight"in _?_.offsetHeight-_.clientHeight-V-B:0;if(d===_)H="start"===i?j:"end"===i?j-h:"nearest"===i?l(b,b+h,h,V,B,b+j,b+j+Z,Z):j-h/2,D="start"===c?k:"center"===c?k-v/2:"end"===c?k-v:l(g,g+v,v,A,L,g+k,g+k+x,x),H=Math.max(0,H+b),D=Math.max(0,D+g);else{H="start"===i?j-F-V:"end"===i?j-M+B+Y:"nearest"===i?l(F,M,S,V,B+Y,j,j+Z,Z):j-(F+S/2)+Y/2,D="start"===c?k-W-A:"center"===c?k-(W+q/2)+z/2:"end"===c?k-R+L+z:l(W,R,q,A,L+z,k,k+x,x);var G=_.scrollLeft,K=_.scrollTop;j+=K-(H=Math.max(0,Math.min(K+H,_.scrollHeight-S+Y))),k+=G-(D=Math.max(0,Math.min(G+D,_.scrollWidth-q+z)))}N.push({el:_,top:H,left:D})}return N}function c(e){return e===Object(e)&&0!==Object.keys(e).length}r.d(t,{Z:function(){return u}});var u=function(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(c(t)&&"function"==typeof t.behavior)return t.behavior(r?i(e,t):[]);if(r){var n=!1===t?{block:"end",inline:"nearest"}:c(t)?t:{block:"start",inline:"nearest"};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,a=e.left;n.scroll&&r?n.scroll({top:o,left:a,behavior:t}):(n.scrollTop=o,n.scrollLeft=a)})}(i(e,n),n.behavior)}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8119],{18119:function(e,t,r){r.d(t,{Z:function(){return eo}});var n=r(65223),o=r(4942),a=r(87462),l=r(74902),i=r(94184),c=r.n(i),u=r(62874),s=r(67294),f=r(53124),d=r(33603),p=r(97685);function m(e){var t=s.useState(e),r=(0,p.Z)(t,2),n=r[0],o=r[1];return s.useEffect(function(){var t=setTimeout(function(){o(e)},e.length?0:10);return function(){clearTimeout(t)}},[e]),n}var v=[];function h(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:"".concat(r,"-").concat(n),error:e,errorStatus:t}}function g(e){var t=e.help,r=e.helpStatus,i=e.errors,p=e.warnings,g=e.className,b=e.fieldId,y=e.onVisibleChanged,Z=s.useContext(n.Rk).prefixCls,x=s.useContext(f.E_).getPrefixCls,w="".concat(Z,"-item-explain"),E=x(),C=m(void 0===i?v:i),O=m(void 0===p?v:p),N=s.useMemo(function(){return null!=t?[h(t,r,"help")]:[].concat((0,l.Z)(C.map(function(e,t){return h(e,"error","error",t)})),(0,l.Z)(O.map(function(e,t){return h(e,"warning","warning",t)})))},[t,r,C,O]),j={};return b&&(j.id="".concat(b,"_help")),s.createElement(u.Z,{motionDeadline:d.ZP.motionDeadline,motionName:"".concat(E,"-show-help"),visible:!!N.length,onVisibleChanged:y},function(e){var t=e.className,r=e.style;return s.createElement("div",(0,a.Z)({},j,{className:c()(w,t,g),style:r,role:"alert"}),s.createElement(u.V,(0,a.Z)({keys:N},d.ZP,{motionName:"".concat(E,"-show-help-item"),component:!1}),function(e){var t=e.key,r=e.error,n=e.errorStatus,a=e.className,l=e.style;return s.createElement("div",{key:t,className:c()(a,(0,o.Z)({},"".concat(w,"-").concat(n),n)),style:l},r)}))})}var b=r(71002),y=r(71990),Z=r(98866),x=r(97647),w=r(94203),E=["parentNode"];function C(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function O(e,t){if(e.length){var r=e.join("_");return t?"".concat(t,"_").concat(r):E.includes(r)?"".concat("form_item","_").concat(r):r}}function N(e){return C(e).join("_")}function j(e){var t=(0,y.useForm)(),r=(0,p.Z)(t,1)[0],n=s.useRef({}),o=s.useMemo(function(){return null!=e?e:(0,a.Z)((0,a.Z)({},r),{__INTERNAL__:{itemRef:function(e){return function(t){var r=N(e);t?n.current[r]=t:delete n.current[r]}}},scrollToField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=O(C(e),o.__INTERNAL__.name),n=r?document.getElementById(r):null;n&&(0,w.Z)(n,(0,a.Z)({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:function(e){var t=N(e);return n.current[t]}})},[e,r]);return[o]}var k=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},P=s.forwardRef(function(e,t){var r,l=s.useContext(x.Z),i=s.useContext(Z.Z),u=s.useContext(f.E_),d=u.getPrefixCls,m=u.direction,v=u.form,h=e.prefixCls,g=e.className,w=e.size,E=void 0===w?l:w,C=e.disabled,O=e.form,N=e.colon,P=e.labelAlign,_=e.labelWrap,I=e.labelCol,R=e.wrapperCol,S=e.hideRequiredMark,q=e.layout,F=void 0===q?"horizontal":q,M=e.scrollToFirstError,W=e.requiredMark,T=e.onFinishFailed,A=e.name,V=k(e,["prefixCls","className","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),L=(0,s.useMemo)(function(){return void 0!==W?W:v&&void 0!==v.requiredMark?v.requiredMark:!S},[S,W,v]),H=null!=N?N:null==v?void 0:v.colon,B=d("form",h),D=c()(B,(r={},(0,o.Z)(r,"".concat(B,"-").concat(F),!0),(0,o.Z)(r,"".concat(B,"-hide-required-mark"),!1===L),(0,o.Z)(r,"".concat(B,"-rtl"),"rtl"===m),(0,o.Z)(r,"".concat(B,"-").concat(E),E),r),void 0===g?"":g),z=j(O),Y=(0,p.Z)(z,1)[0],G=Y.__INTERNAL__;G.name=A;var K=(0,s.useMemo)(function(){return{name:A,labelAlign:P,labelCol:I,labelWrap:_,wrapperCol:R,vertical:"vertical"===F,colon:H,requiredMark:L,itemRef:G.itemRef,form:Y}},[A,P,I,R,F,H,L,Y]);return s.useImperativeHandle(t,function(){return Y}),s.createElement(Z.n,{disabled:void 0===C?i:C},s.createElement(x.q,{size:E},s.createElement(n.q3.Provider,{value:K},s.createElement(y.default,(0,a.Z)({id:A},V,{name:A,onFinishFailed:function(e){null==T||T(e);var t={block:"nearest"};M&&e.errorFields.length&&("object"===(0,b.Z)(M)&&(t=M),Y.scrollToField(e.errorFields[0].name,t))},form:Y,className:D})))))}),_=r(30470),I=r(42550),R=r(96159),S=r(93355),q=r(75164),F=r(89739),M=r(4340),W=r(21640),T=r(50888),A=r(8410),V=r(98423),L=r(92820),H=r(25035),B=r(21584),D=r(23715),z=r(6213),Y=r(94199),G=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},K=function(e){var t=e.prefixCls,r=e.label,l=e.htmlFor,i=e.labelCol,u=e.labelAlign,f=e.colon,d=e.required,m=e.requiredMark,v=e.tooltip,h=(0,D.E)("Form"),g=(0,p.Z)(h,1)[0];return r?s.createElement(n.q3.Consumer,{key:"label"},function(e){var n,p,h=e.vertical,y=e.labelAlign,Z=e.labelCol,x=e.labelWrap,w=e.colon,E=i||Z||{},C="".concat(t,"-item-label"),O=c()(C,"left"===(u||y)&&"".concat(C,"-left"),E.className,(0,o.Z)({},"".concat(C,"-wrap"),!!x)),N=r,j=!0===f||!1!==w&&!1!==f;j&&!h&&"string"==typeof r&&""!==r.trim()&&(N=r.replace(/[:|:]\s*$/,""));var k=v?"object"!==(0,b.Z)(v)||s.isValidElement(v)?{title:v}:v:null;if(k){var P=k.icon,_=void 0===P?s.createElement(H.Z,null):P,I=G(k,["icon"]),R=s.createElement(Y.Z,(0,a.Z)({},I),s.cloneElement(_,{className:"".concat(t,"-item-tooltip"),title:""}));N=s.createElement(s.Fragment,null,N,R)}"optional"!==m||d||(N=s.createElement(s.Fragment,null,N,s.createElement("span",{className:"".concat(t,"-item-optional"),title:""},(null==g?void 0:g.optional)||(null===(p=z.Z.Form)||void 0===p?void 0:p.optional))));var S=c()((n={},(0,o.Z)(n,"".concat(t,"-item-required"),d),(0,o.Z)(n,"".concat(t,"-item-required-mark-optional"),"optional"===m),(0,o.Z)(n,"".concat(t,"-item-no-colon"),!j),n));return s.createElement(B.Z,(0,a.Z)({},E,{className:O}),s.createElement("label",{htmlFor:l,className:S,title:"string"==typeof r?r:""},N))}):null},X=function(e){var t=e.prefixCls,r=e.status,o=e.wrapperCol,l=e.children,i=e.errors,u=e.warnings,f=e._internalItemRender,d=e.extra,p=e.help,m=e.fieldId,v=e.marginBottom,h=e.onErrorVisibleChanged,b="".concat(t,"-item"),y=s.useContext(n.q3),Z=o||y.wrapperCol||{},x=c()("".concat(b,"-control"),Z.className),w=s.useMemo(function(){return(0,a.Z)({},y)},[y]);delete w.labelCol,delete w.wrapperCol;var E=s.createElement("div",{className:"".concat(b,"-control-input")},s.createElement("div",{className:"".concat(b,"-control-input-content")},l)),C=s.useMemo(function(){return{prefixCls:t,status:r}},[t,r]),O=null!==v||i.length||u.length?s.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},s.createElement(n.Rk.Provider,{value:C},s.createElement(g,{fieldId:m,errors:i,warnings:u,help:p,helpStatus:r,className:"".concat(b,"-explain-connected"),onVisibleChanged:h})),!!v&&s.createElement("div",{style:{width:0,height:v}})):null,N={};m&&(N.id="".concat(m,"_extra"));var j=d?s.createElement("div",(0,a.Z)({},N,{className:"".concat(b,"-extra")}),d):null,k=f&&"pro_table_render"===f.mark&&f.render?f.render(e,{input:E,errorList:O,extra:j}):s.createElement(s.Fragment,null,E,O,j);return s.createElement(n.q3.Provider,{value:w},s.createElement(B.Z,(0,a.Z)({},Z,{className:x}),k))},$=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},U={success:F.Z,warning:W.Z,error:M.Z,validating:T.Z};function J(e){var t,r=e.prefixCls,l=e.className,i=e.style,u=e.help,f=e.errors,d=e.warnings,v=e.validateStatus,h=e.meta,g=e.hasFeedback,b=e.hidden,y=e.children,Z=e.fieldId,x=e.isRequired,w=e.onSubItemMetaChange,E=$(e,["prefixCls","className","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","isRequired","onSubItemMetaChange"]),C="".concat(r,"-item"),O=s.useContext(n.q3).requiredMark,N=s.useRef(null),j=m(f),k=m(d),P=null!=u,_=!!(P||f.length||d.length),I=s.useState(null),R=(0,p.Z)(I,2),S=R[0],q=R[1];(0,A.Z)(function(){_&&N.current&&q(parseInt(getComputedStyle(N.current).marginBottom,10))},[_]);var F="";void 0!==v?F=v:h.validating?F="validating":j.length?F="error":k.length?F="warning":h.touched&&(F="success");var M=s.useMemo(function(){var e;if(g){var t=F&&U[F];e=t?s.createElement("span",{className:c()("".concat(C,"-feedback-icon"),"".concat(C,"-feedback-icon-").concat(F))},s.createElement(t,null)):null}return{status:F,hasFeedback:g,feedbackIcon:e,isFormItemInput:!0}},[F,g]),W=(t={},(0,o.Z)(t,C,!0),(0,o.Z)(t,"".concat(C,"-with-help"),P||j.length||k.length),(0,o.Z)(t,"".concat(l),!!l),(0,o.Z)(t,"".concat(C,"-has-feedback"),F&&g),(0,o.Z)(t,"".concat(C,"-has-success"),"success"===F),(0,o.Z)(t,"".concat(C,"-has-warning"),"warning"===F),(0,o.Z)(t,"".concat(C,"-has-error"),"error"===F),(0,o.Z)(t,"".concat(C,"-is-validating"),"validating"===F),(0,o.Z)(t,"".concat(C,"-hidden"),b),t);return s.createElement("div",{className:c()(W),style:i,ref:N},s.createElement(L.Z,(0,a.Z)({className:"".concat(C,"-row")},(0,V.Z)(E,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","required","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),s.createElement(K,(0,a.Z)({htmlFor:Z,required:x,requiredMark:O},e,{prefixCls:r})),s.createElement(X,(0,a.Z)({},e,h,{errors:j,warnings:k,prefixCls:r,status:F,help:u,marginBottom:S,onErrorVisibleChanged:function(e){e||q(null)}}),s.createElement(n.qI.Provider,{value:w},s.createElement(n.aM.Provider,{value:M},y)))),!!S&&s.createElement("div",{className:"".concat(C,"-margin-offset"),style:{marginBottom:-S}}))}(0,S.b)("success","warning","error","validating","");var Q=s.memo(function(e){return e.children},function(e,t){return e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every(function(e,r){return e===t.childProps[r]})});function ee(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[]}}var et=function(e){var t,r,o,i,c,u,d,m,v,h=e.name,g=e.noStyle,Z=e.dependencies,x=e.prefixCls,w=e.shouldUpdate,E=e.rules,N=e.children,j=e.required,k=e.label,P=e.messageVariables,S=e.trigger,F=void 0===S?"onChange":S,M=e.validateTrigger,W=e.hidden,T=(0,s.useContext)(f.E_).getPrefixCls,A=(0,s.useContext)(n.q3).name,V="function"==typeof N,L=(0,s.useContext)(n.qI),H=(0,s.useContext)(y.FieldContext).validateTrigger,B=void 0!==M?M:H,D=null!=h,z=T("form",x),Y=s.useContext(y.ListContext),G=s.useRef(),K=(t=s.useState({}),o=(r=(0,p.Z)(t,2))[0],i=r[1],c=(0,s.useRef)(null),u=(0,s.useRef)([]),d=(0,s.useRef)(!1),s.useEffect(function(){return d.current=!1,function(){d.current=!0,q.Z.cancel(c.current),c.current=null}},[]),[o,function(e){d.current||(null===c.current&&(u.current=[],c.current=(0,q.Z)(function(){c.current=null,i(function(e){var t=e;return u.current.forEach(function(e){t=e(t)}),t})})),u.current.push(e))}]),X=(0,p.Z)(K,2),$=X[0],U=X[1],et=(0,_.Z)(function(){return ee()}),er=(0,p.Z)(et,2),en=er[0],eo=er[1],ea=function(e,t){U(function(r){var n=(0,a.Z)({},r),o=[].concat((0,l.Z)(e.name.slice(0,-1)),(0,l.Z)(t)).join("__SPLIT__");return e.destroy?delete n[o]:n[o]=e,n})},el=s.useMemo(function(){var e=(0,l.Z)(en.errors),t=(0,l.Z)(en.warnings);return Object.values($).forEach(function(r){e.push.apply(e,(0,l.Z)(r.errors||[])),t.push.apply(t,(0,l.Z)(r.warnings||[]))}),[e,t]},[$,en.errors,en.warnings]),ei=(0,p.Z)(el,2),ec=ei[0],eu=ei[1],es=(m=s.useContext(n.q3).itemRef,v=s.useRef({}),function(e,t){var r=t&&"object"===(0,b.Z)(t)&&t.ref,n=e.join("_");return(v.current.name!==n||v.current.originRef!==r)&&(v.current.name=n,v.current.originRef=r,v.current.ref=(0,I.sQ)(m(e),r)),v.current.ref});function ef(t,r,n){return g&&!W?t:s.createElement(J,(0,a.Z)({key:"row"},e,{prefixCls:z,fieldId:r,isRequired:n,errors:ec,warnings:eu,meta:en,onSubItemMetaChange:ea}),t)}if(!D&&!V&&!Z)return ef(N);var ed={};return"string"==typeof k?ed.label=k:h&&(ed.label=String(h)),P&&(ed=(0,a.Z)((0,a.Z)({},ed),P)),s.createElement(y.Field,(0,a.Z)({},e,{messageVariables:ed,trigger:F,validateTrigger:B,onMetaChange:function(e){var t=null==Y?void 0:Y.getKey(e.name);if(eo(e.destroy?ee():e,!0),g&&L){var r=e.name;if(e.destroy)r=G.current||r;else if(void 0!==t){var n=(0,p.Z)(t,2),o=n[0],a=n[1];r=[o].concat((0,l.Z)(a)),G.current=r}L(e,r)}}}),function(t,r,n){var o=C(h).length&&r?r.name:[],i=O(o,A),c=void 0!==j?j:!!(E&&E.some(function(e){if(e&&"object"===(0,b.Z)(e)&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){var t=e(n);return t&&t.required&&!t.warningOnly}return!1})),u=(0,a.Z)({},t),f=null;if(Array.isArray(N)&&D)f=N;else if(V&&(!(w||Z)||D));else if(!Z||V||D){if((0,R.l$)(N)){var d=(0,a.Z)((0,a.Z)({},N.props),u);if(d.id||(d.id=i),e.help||ec.length>0||eu.length>0||e.extra){var p=[];(e.help||ec.length>0)&&p.push("".concat(i,"_help")),e.extra&&p.push("".concat(i,"_extra")),d["aria-describedby"]=p.join(" ")}ec.length>0&&(d["aria-invalid"]="true"),c&&(d["aria-required"]="true"),(0,I.Yr)(N)&&(d.ref=es(o,N)),new Set([].concat((0,l.Z)(C(F)),(0,l.Z)(C(B)))).forEach(function(e){d[e]=function(){for(var t,r,n,o=arguments.length,a=Array(o),l=0;lt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},en=P;en.Item=et,en.List=function(e){var t=e.prefixCls,r=e.children,o=er(e,["prefixCls","children"]),l=(0,s.useContext(f.E_).getPrefixCls)("form",t),i=s.useMemo(function(){return{prefixCls:l,status:"error"}},[l]);return s.createElement(y.List,(0,a.Z)({},o),function(e,t,o){return s.createElement(n.Rk.Provider,{value:i},r(e.map(function(e){return(0,a.Z)((0,a.Z)({},e),{fieldKey:e.key})}),t,{errors:o.errors,warnings:o.warnings}))})},en.ErrorList=g,en.useForm=j,en.useFormInstance=function(){return(0,s.useContext)(n.q3).form},en.useWatch=y.useWatch,en.Provider=n.RV,en.create=function(){};var eo=en},99134:function(e,t,r){var n=(0,r(67294).createContext)({});t.Z=n},21584:function(e,t,r){var n=r(4942),o=r(87462),a=r(71002),l=r(94184),i=r.n(l),c=r(67294),u=r(53124),s=r(99134),f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},d=["xs","sm","md","lg","xl","xxl"],p=c.forwardRef(function(e,t){var r,l=c.useContext(u.E_),p=l.getPrefixCls,m=l.direction,v=c.useContext(s.Z),h=v.gutter,g=v.wrap,b=v.supportFlexGap,y=e.prefixCls,Z=e.span,x=e.order,w=e.offset,E=e.push,C=e.pull,O=e.className,N=e.children,j=e.flex,k=e.style,P=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),_=p("col",y),I={};d.forEach(function(t){var r,l={},i=e[t];"number"==typeof i?l.span=i:"object"===(0,a.Z)(i)&&(l=i||{}),delete P[t],I=(0,o.Z)((0,o.Z)({},I),(r={},(0,n.Z)(r,"".concat(_,"-").concat(t,"-").concat(l.span),void 0!==l.span),(0,n.Z)(r,"".concat(_,"-").concat(t,"-order-").concat(l.order),l.order||0===l.order),(0,n.Z)(r,"".concat(_,"-").concat(t,"-offset-").concat(l.offset),l.offset||0===l.offset),(0,n.Z)(r,"".concat(_,"-").concat(t,"-push-").concat(l.push),l.push||0===l.push),(0,n.Z)(r,"".concat(_,"-").concat(t,"-pull-").concat(l.pull),l.pull||0===l.pull),(0,n.Z)(r,"".concat(_,"-rtl"),"rtl"===m),r))});var R=i()(_,(r={},(0,n.Z)(r,"".concat(_,"-").concat(Z),void 0!==Z),(0,n.Z)(r,"".concat(_,"-order-").concat(x),x),(0,n.Z)(r,"".concat(_,"-offset-").concat(w),w),(0,n.Z)(r,"".concat(_,"-push-").concat(E),E),(0,n.Z)(r,"".concat(_,"-pull-").concat(C),C),r),O,I),S={};if(h&&h[0]>0){var q=h[0]/2;S.paddingLeft=q,S.paddingRight=q}if(h&&h[1]>0&&!b){var F=h[1]/2;S.paddingTop=F,S.paddingBottom=F}return j&&(S.flex="number"==typeof j?"".concat(j," ").concat(j," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(j)?"0 0 ".concat(j):j,!1!==g||S.minWidth||(S.minWidth=0)),c.createElement("div",(0,o.Z)({},P,{style:(0,o.Z)((0,o.Z)({},S),k),className:R,ref:t}),N)});t.Z=p},92820:function(e,t,r){var n=r(87462),o=r(4942),a=r(71002),l=r(97685),i=r(94184),c=r.n(i),u=r(67294),s=r(53124),f=r(98082),d=r(24308),p=r(93355),m=r(99134),v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function h(e,t){var r=u.useState("string"==typeof e?e:""),n=(0,l.Z)(r,2),o=n[0],i=n[1],c=function(){if("object"===(0,a.Z)(e))for(var r=0;r0?-(H[0]/2):void 0,Y=null!=H[1]&&H[1]>0?-(H[1]/2):void 0;if(z&&(D.marginLeft=z,D.marginRight=z),A){var G=(0,l.Z)(H,2);D.rowGap=G[1]}else Y&&(D.marginTop=Y,D.marginBottom=Y);var K=(0,l.Z)(H,2),X=K[0],$=K[1],U=u.useMemo(function(){return{gutter:[X,$],wrap:C,supportFlexGap:A}},[X,$,C,A]);return u.createElement(m.Z.Provider,{value:U},u.createElement("div",(0,n.Z)({},O,{className:B,style:(0,n.Z)((0,n.Z)({},D),Z),ref:t}),x))});t.Z=g},94203:function(e,t,r){function n(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function o(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function a(e,t){if(e.clientHeightt||a>e&&l=t&&i>=r?a-e-n:l>t&&ir?l-t+o:0}r.d(t,{Z:function(){return u}});var i=function(e,t){var r=window,o=t.scrollMode,i=t.block,c=t.inline,u=t.boundary,s=t.skipOverflowHiddenElements,f="function"==typeof u?u:function(e){return e!==u};if(!n(e))throw TypeError("Invalid target");for(var d,p,m=document.scrollingElement||document.documentElement,v=[],h=e;n(h)&&f(h);){if((h=null==(p=(d=h).parentElement)?d.getRootNode().host||null:p)===m){v.push(h);break}null!=h&&h===document.body&&a(h)&&!a(document.documentElement)||null!=h&&a(h,s)&&v.push(h)}for(var g=r.visualViewport?r.visualViewport.width:innerWidth,b=r.visualViewport?r.visualViewport.height:innerHeight,y=window.scrollX||pageXOffset,Z=window.scrollY||pageYOffset,x=e.getBoundingClientRect(),w=x.height,E=x.width,C=x.top,O=x.right,N=x.bottom,j=x.left,k="start"===i||"nearest"===i?C:"end"===i?N:C+w/2,P="center"===c?j+E/2:"end"===c?O:j,_=[],I=0;I=0&&j>=0&&N<=b&&O<=g&&C>=M&&N<=T&&j>=A&&O<=W)break;var V=getComputedStyle(R),L=parseInt(V.borderLeftWidth,10),H=parseInt(V.borderTopWidth,10),B=parseInt(V.borderRightWidth,10),D=parseInt(V.borderBottomWidth,10),z=0,Y=0,G="offsetWidth"in R?R.offsetWidth-R.clientWidth-L-B:0,K="offsetHeight"in R?R.offsetHeight-R.clientHeight-H-D:0,X="offsetWidth"in R?0===R.offsetWidth?0:F/R.offsetWidth:0,$="offsetHeight"in R?0===R.offsetHeight?0:q/R.offsetHeight:0;if(m===R)z="start"===i?k:"end"===i?k-b:"nearest"===i?l(Z,Z+b,b,H,D,Z+k,Z+k+w,w):k-b/2,Y="start"===c?P:"center"===c?P-g/2:"end"===c?P-g:l(y,y+g,g,L,B,y+P,y+P+E,E),z=Math.max(0,z+Z),Y=Math.max(0,Y+y);else{z="start"===i?k-M-H:"end"===i?k-T+D+K:"nearest"===i?l(M,T,q,H,D+K,k,k+w,w):k-(M+q/2)+K/2,Y="start"===c?P-A-L:"center"===c?P-(A+F/2)+G/2:"end"===c?P-W+B+G:l(A,W,F,L,B+G,P,P+E,E);var U=R.scrollLeft,J=R.scrollTop;k+=J-(z=Math.max(0,Math.min(J+z/$,R.scrollHeight-q/$+K))),P+=U-(Y=Math.max(0,Math.min(U+Y/X,R.scrollWidth-F/X+G)))}_.push({el:R,top:z,left:Y})}return _};function c(e){return e===Object(e)&&0!==Object.keys(e).length}var u=function(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(c(t)&&"function"==typeof t.behavior)return t.behavior(r?i(e,t):[]);if(r){var n=!1===t?{block:"end",inline:"nearest"}:c(t)?t:{block:"start",inline:"nearest"};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,a=e.left;n.scroll&&r?n.scroll({top:o,left:a,behavior:t}):(n.scrollTop=o,n.scrollLeft=a)})}(i(e,n),n.behavior)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8909-6d59cce6f69e27ae.js b/static/web/_next/static/chunks/8909-6d59cce6f69e27ae.js new file mode 100644 index 000000000..fc15b4aed --- /dev/null +++ b/static/web/_next/static/chunks/8909-6d59cce6f69e27ae.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8909],{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)"},l=new Map,u=-1,c={};t.ZP={matchHandlers:{},dispatch:function(e){return c=e,l.forEach(function(e){return e(c)}),l.size>=1},subscribe:function(e){return l.size||this.register(),u+=1,l.set(u,e),e(c),u},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(i).forEach(function(t){var n=i[t],o=e.matchHandlers[n];null==o||o.mql.removeListener(null==o?void 0:o.listener)}),l.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)))},l=window.matchMedia(n);l.addListener(a),e.matchHandlers[n]={mql:l,listener:a},a(l)})}}},88258:function(e,t,n){var o=n(67294),r=n(53124),a=n(62986);t.Z=function(e){return o.createElement(r.C,null,function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return o.createElement(a.Z,null)}})}},62986:function(e,t,n){n.d(t,{Z:function(){return v}});var o=n(4942),r=n(87462),a=n(94184),i=n.n(a),l=n(67294),u=n(53124),c=n(23715),s=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},f=l.createElement(function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-default");return l.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),l.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),l.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),l.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),l.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),l.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),d=l.createElement(function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-simple");return l.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},null),p=function(e){var t=e.className,n=e.prefixCls,a=e.image,p=void 0===a?f:a,v=e.description,m=e.children,h=e.imageStyle,g=s(e,["className","prefixCls","image","description","children","imageStyle"]),b=l.useContext(u.E_),E=b.getPrefixCls,w=b.direction;return l.createElement(c.Z,{componentName:"Empty"},function(e){var a,u=E("empty",n),c=void 0!==v?v:e.description,s=null;return s="string"==typeof p?l.createElement("img",{alt:"string"==typeof c?c:"empty",src:p}):p,l.createElement("div",(0,r.Z)({className:i()(u,(a={},(0,o.Z)(a,"".concat(u,"-normal"),p===d),(0,o.Z)(a,"".concat(u,"-rtl"),"rtl"===w),a),t)},g),l.createElement("div",{className:"".concat(u,"-image"),style:h},s),c&&l.createElement("div",{className:"".concat(u,"-description")},c),m&&l.createElement("div",{className:"".concat(u,"-footer")},m))})};p.PRESENTED_IMAGE_DEFAULT=f,p.PRESENTED_IMAGE_SIMPLE=d;var v=p},38939:function(e,t,n){n.d(t,{Z:function(){return eD}});var o=n(4942),r=n(87462),a=n(94184),i=n.n(a),l=n(74902),u=n(1413),c=n(97685),s=n(45987),f=n(71002),d=n(21770),p=n(80334),v=n(67294),m=n(8410),h=n(31131),g=n(15105),b=n(42550),E=v.createContext(null);function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=v.useRef(null),n=v.useRef(null);return v.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var Z=n(64217),y=n(34243),C=function(e){var t,n=e.className,o=e.customizeIcon,r=e.customizeIconProps,a=e.onMouseDown,l=e.onClick,u=e.children;return t="function"==typeof o?o(r):o,v.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),a&&a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==t?t:v.createElement("span",{className:i()(n.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},u))},S=v.forwardRef(function(e,t){var n,o,r=e.prefixCls,a=e.id,l=e.inputElement,c=e.disabled,s=e.tabIndex,f=e.autoFocus,d=e.autoComplete,m=e.editable,h=e.activeDescendantId,g=e.value,E=e.maxLength,w=e.onKeyDown,Z=e.onMouseDown,y=e.onChange,C=e.onPaste,S=e.onCompositionStart,x=e.onCompositionEnd,M=e.open,I=e.attrs,N=l||v.createElement("input",null),R=N,D=R.ref,T=R.props,O=T.onKeyDown,P=T.onChange,k=T.onMouseDown,L=T.onCompositionStart,V=T.onCompositionEnd,H=T.style;return(0,p.Kp)(!("maxLength"in N.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),N=v.cloneElement(N,(0,u.Z)((0,u.Z)((0,u.Z)({type:"search"},T),{},{id:a,ref:(0,b.sQ)(t,D),disabled:c,tabIndex:s,autoComplete:d||"off",autoFocus:f,className:i()("".concat(r,"-selection-search-input"),null===(n=N)||void 0===n?void 0:null===(o=n.props)||void 0===o?void 0:o.className),role:"combobox","aria-expanded":M,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":h},I),{},{value:m?g:"",maxLength:E,readOnly:!m,unselectable:m?null:"on",style:(0,u.Z)((0,u.Z)({},H),{},{opacity:m?null:0}),onKeyDown:function(e){w(e),O&&O(e)},onMouseDown:function(e){Z(e),k&&k(e)},onChange:function(e){y(e),P&&P(e)},onCompositionStart:function(e){S(e),L&&L(e)},onCompositionEnd:function(e){x(e),V&&V(e)},onPaste:C}))});function x(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}S.displayName="Input";var M="undefined"!=typeof window&&window.document&&window.document.documentElement;function I(e){return["string","number"].includes((0,f.Z)(e))}function N(e){var t=void 0;return e&&(I(e.title)?t=e.title.toString():I(e.label)&&(t=e.label.toString())),t}function R(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var D=function(e){e.preventDefault(),e.stopPropagation()},T=function(e){var t,n,r=e.id,a=e.prefixCls,l=e.values,u=e.open,s=e.searchValue,f=e.autoClearSearchValue,d=e.inputRef,p=e.placeholder,m=e.disabled,h=e.mode,g=e.showSearch,b=e.autoFocus,E=e.autoComplete,w=e.activeDescendantId,x=e.tabIndex,I=e.removeIcon,T=e.maxTagCount,O=e.maxTagTextLength,P=e.maxTagPlaceholder,k=void 0===P?function(e){return"+ ".concat(e.length," ...")}:P,L=e.tagRender,V=e.onToggleOpen,H=e.onRemove,_=e.onInputChange,A=e.onInputPaste,F=e.onInputKeyDown,z=e.onInputMouseDown,K=e.onInputCompositionStart,j=e.onInputCompositionEnd,W=v.useRef(null),U=(0,v.useState)(0),Y=(0,c.Z)(U,2),B=Y[0],G=Y[1],X=(0,v.useState)(!1),q=(0,c.Z)(X,2),Q=q[0],J=q[1],$="".concat(a,"-selection"),ee=u||"multiple"===h&&!1===f||"tags"===h?s:"";function et(e,t,n,r,a){return v.createElement("span",{className:i()("".concat($,"-item"),(0,o.Z)({},"".concat($,"-item-disabled"),n)),title:N(e)},v.createElement("span",{className:"".concat($,"-item-content")},t),r&&v.createElement(C,{className:"".concat($,"-item-remove"),onMouseDown:D,onClick:a,customizeIcon:I},"\xd7"))}t=function(){G(W.current.scrollWidth)},n=[ee],M?v.useLayoutEffect(t,n):v.useEffect(t,n);var en=v.createElement("div",{className:"".concat($,"-search"),style:{width:B},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},v.createElement(S,{ref:d,open:u,prefixCls:a,id:r,inputElement:null,disabled:m,autoFocus:b,autoComplete:E,editable:"tags"===h||"multiple"===h&&!1===f||g&&(u||Q),activeDescendantId:w,value:ee,onKeyDown:F,onMouseDown:z,onChange:_,onPaste:A,onCompositionStart:K,onCompositionEnd:j,tabIndex:x,attrs:(0,Z.Z)(e,!0)}),v.createElement("span",{ref:W,className:"".concat($,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),eo=v.createElement(y.Z,{prefixCls:"".concat($,"-overflow"),data:l,renderItem:function(e){var t,n=e.disabled,o=e.label,r=e.value,a=!m&&!n,i=o;if("number"==typeof O&&("string"==typeof o||"number"==typeof o)){var l=String(i);l.length>O&&(i="".concat(l.slice(0,O),"..."))}var c=function(t){t&&t.stopPropagation(),H(e)};return"function"==typeof L?(t=i,v.createElement("span",{onMouseDown:function(e){D(e),V(!u)}},L({label:t,value:r,disabled:n,closable:a,onClose:c}))):et(e,i,n,a,c)},renderRest:function(e){var t="function"==typeof k?k(e):k;return et({title:t},t,!1)},suffix:en,itemKey:R,maxCount:T});return v.createElement(v.Fragment,null,eo,!l.length&&!ee&&v.createElement("span",{className:"".concat($,"-placeholder")},p))},O=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,a=e.disabled,i=e.autoFocus,l=e.autoComplete,u=e.activeDescendantId,s=e.mode,f=e.open,d=e.values,p=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,E=e.maxLength,w=e.onInputKeyDown,y=e.onInputMouseDown,C=e.onInputChange,x=e.onInputPaste,M=e.onInputCompositionStart,I=e.onInputCompositionEnd,R=v.useState(!1),D=(0,c.Z)(R,2),T=D[0],O=D[1],P="combobox"===s,k=d[0],L=g||"";P&&b&&!T&&(L=b),v.useEffect(function(){P&&O(!1)},[P,b]);var V=("combobox"===s||!!f||!!h)&&!!L,H=N(k);return v.createElement(v.Fragment,null,v.createElement("span",{className:"".concat(n,"-selection-search")},v.createElement(S,{ref:r,prefixCls:n,id:o,open:f,inputElement:t,disabled:a,autoFocus:i,autoComplete:l,editable:P||h,activeDescendantId:u,value:L,onKeyDown:w,onMouseDown:y,onChange:function(e){O(!0),C(e)},onPaste:x,onCompositionStart:M,onCompositionEnd:I,tabIndex:m,attrs:(0,Z.Z)(e,!0),maxLength:P?E:void 0})),!P&&k&&!V&&v.createElement("span",{className:"".concat(n,"-selection-item"),title:H},k.label),k?null:v.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:V?{visibility:"hidden"}:void 0},p))},P=v.forwardRef(function(e,t){var n=(0,v.useRef)(null),o=(0,v.useRef)(!1),a=e.prefixCls,i=e.open,l=e.mode,u=e.showSearch,s=e.tokenWithEnter,f=e.autoClearSearchValue,d=e.onSearch,p=e.onSearchSubmit,m=e.onToggleOpen,h=e.onInputKeyDown,b=e.domRef;v.useImperativeHandle(t,function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}});var E=w(0),Z=(0,c.Z)(E,2),y=Z[0],C=Z[1],S=(0,v.useRef)(null),x=function(e){!1!==d(e,!0,o.current)&&m(!0)},M={inputRef:n,onInputKeyDown:function(e){var t=e.which;(t===g.Z.UP||t===g.Z.DOWN)&&e.preventDefault(),h&&h(e),t!==g.Z.ENTER||"tags"!==l||o.current||i||null==p||p(e.target.value),[g.Z.ESC,g.Z.SHIFT,g.Z.BACKSPACE,g.Z.TAB,g.Z.WIN_KEY,g.Z.ALT,g.Z.META,g.Z.WIN_KEY_RIGHT,g.Z.CTRL,g.Z.SEMICOLON,g.Z.EQUALS,g.Z.CAPS_LOCK,g.Z.CONTEXT_MENU,g.Z.F1,g.Z.F2,g.Z.F3,g.Z.F4,g.Z.F5,g.Z.F6,g.Z.F7,g.Z.F8,g.Z.F9,g.Z.F10,g.Z.F11,g.Z.F12].includes(t)||m(!0)},onInputMouseDown:function(){C(!0)},onInputChange:function(e){var t=e.target.value;if(s&&S.current&&/[\r\n]/.test(S.current)){var n=S.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,S.current)}S.current=null,x(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");S.current=t},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&x(e.target.value)}},I="multiple"===l||"tags"===l?v.createElement(T,(0,r.Z)({},e,M)):v.createElement(O,(0,r.Z)({},e,M));return v.createElement("div",{ref:b,className:"".concat(a,"-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=y();e.target===n.current||t||"combobox"===l||e.preventDefault(),("combobox"===l||u&&t)&&i||(i&&!1!==f&&d("",!0,!1),m())}},I)});P.displayName="Selector";var k=n(81263),L=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],V=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},H=v.forwardRef(function(e,t){var n=e.prefixCls,a=(e.disabled,e.visible),l=e.children,c=e.popupElement,f=e.containerWidth,d=e.animation,p=e.transitionName,m=e.dropdownStyle,h=e.dropdownClassName,g=e.direction,b=e.placement,E=e.dropdownMatchSelectWidth,w=e.dropdownRender,Z=e.dropdownAlign,y=e.getPopupContainer,C=e.empty,S=e.getTriggerDOMNode,x=e.onPopupVisibleChange,M=e.onPopupMouseEnter,I=(0,s.Z)(e,L),N="".concat(n,"-dropdown"),R=c;w&&(R=w(c));var D=v.useMemo(function(){return V(E)},[E]),T=d?"".concat(N,"-").concat(d):p,O=v.useRef(null);v.useImperativeHandle(t,function(){return{getPopupElement:function(){return O.current}}});var P=(0,u.Z)({minWidth:f},m);return"number"==typeof E?P.width=E:E&&(P.width=f),v.createElement(k.Z,(0,r.Z)({},I,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:b||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:D,prefixCls:N,popupTransitionName:T,popup:v.createElement("div",{ref:O,onMouseEnter:M},R),popupAlign:Z,popupVisible:a,getPopupContainer:y,popupClassName:i()(h,(0,o.Z)({},"".concat(N,"-empty"),C)),popupStyle:P,getTriggerDOMNode:S,onPopupVisibleChange:x}),l)});H.displayName="SelectTrigger";var _=n(84506);function A(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function F(e,t){var n=e||{};return{label:n.label||(t?"children":"label"),value:n.value||"value",options:n.options||"options"}}function z(e){var t=(0,u.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,p.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var K=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],j=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function W(e){return"tags"===e||"multiple"===e}var U=v.forwardRef(function(e,t){var n,a,p,Z,y,S,x,M,I=e.id,N=e.prefixCls,R=e.className,D=e.showSearch,T=e.tagRender,O=e.direction,k=e.omitDomProps,L=e.displayValues,V=e.onDisplayValuesChange,A=e.emptyOptions,F=e.notFoundContent,z=void 0===F?"Not Found":F,U=e.onClear,Y=e.mode,B=e.disabled,G=e.loading,X=e.getInputElement,q=e.getRawInputElement,Q=e.open,J=e.defaultOpen,$=e.onDropdownVisibleChange,ee=e.activeValue,et=e.onActiveValueChange,en=e.activeDescendantId,eo=e.searchValue,er=e.autoClearSearchValue,ea=e.onSearch,ei=e.onSearchSplit,el=e.tokenSeparators,eu=e.allowClear,ec=e.showArrow,es=e.inputIcon,ef=e.clearIcon,ed=e.OptionList,ep=e.animation,ev=e.transitionName,em=e.dropdownStyle,eh=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,eb=e.dropdownRender,eE=e.dropdownAlign,ew=e.placement,eZ=e.getPopupContainer,ey=e.showAction,eC=void 0===ey?[]:ey,eS=e.onFocus,ex=e.onBlur,eM=e.onKeyUp,eI=e.onKeyDown,eN=e.onMouseDown,eR=(0,s.Z)(e,K),eD=W(Y),eT=(void 0!==D?D:eD)||"combobox"===Y,eO=(0,u.Z)({},eR);j.forEach(function(e){delete eO[e]}),null==k||k.forEach(function(e){delete eO[e]});var eP=v.useState(!1),ek=(0,c.Z)(eP,2),eL=ek[0],eV=ek[1];v.useEffect(function(){eV((0,h.Z)())},[]);var eH=v.useRef(null),e_=v.useRef(null),eA=v.useRef(null),eF=v.useRef(null),ez=v.useRef(null),eK=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=v.useState(!1),n=(0,c.Z)(t,2),o=n[0],r=n[1],a=v.useRef(null),i=function(){window.clearTimeout(a.current)};return v.useEffect(function(){return i},[]),[o,function(t,n){i(),a.current=window.setTimeout(function(){r(t),n&&n()},e)},i]}(),ej=(0,c.Z)(eK,3),eW=ej[0],eU=ej[1],eY=ej[2];v.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eF.current)||void 0===e?void 0:e.focus,blur:null===(t=eF.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=ez.current)||void 0===t?void 0:t.scrollTo(e)}}});var eB=v.useMemo(function(){if("combobox"!==Y)return eo;var e,t=null===(e=L[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[eo,Y,L]),eG="combobox"===Y&&"function"==typeof X&&X()||null,eX="function"==typeof q&&q(),eq=(0,b.x1)(e_,null==eX?void 0:null===(p=eX.props)||void 0===p?void 0:p.ref),eQ=(0,d.Z)(void 0,{defaultValue:J,value:Q}),eJ=(0,c.Z)(eQ,2),e$=eJ[0],e0=eJ[1],e1=e$,e2=!z&&A;(B||e2&&e1&&"combobox"===Y)&&(e1=!1);var e4=!e2&&e1,e3=v.useCallback(function(e){var t=void 0!==e?e:!e1;B||(e0(t),e1!==t&&(null==$||$(t)))},[B,e1,e0,$]),e5=v.useMemo(function(){return(el||[]).some(function(e){return["\n","\r\n"].includes(e)})},[el]),e7=function(e,t,n){var o=!0,r=e;null==et||et(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,_.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,l.Z)(t),(0,l.Z)(e(n,i)))},[]).filter(function(e){return e})}(e,t);return n?o:null}(e,el);return"combobox"!==Y&&a&&(r="",null==ei||ei(a),e3(!1),o=!1),ea&&eB!==r&&ea(r,{source:t?"typing":"effect"}),o};v.useEffect(function(){e1||eD||"combobox"===Y||e7("",!1,!1)},[e1]),v.useEffect(function(){e$&&B&&e0(!1),B&&eU(!1)},[B]);var e6=w(),e9=(0,c.Z)(e6,2),e8=e9[0],te=e9[1],tt=v.useRef(!1),tn=[];v.useEffect(function(){return function(){tn.forEach(function(e){return clearTimeout(e)}),tn.splice(0,tn.length)}},[]);var to=v.useState(null),tr=(0,c.Z)(to,2),ta=tr[0],ti=tr[1],tl=v.useState({}),tu=(0,c.Z)(tl,2)[1];(0,m.Z)(function(){if(e4){var e,t=Math.ceil(null===(e=eH.current)||void 0===e?void 0:e.offsetWidth);ta===t||Number.isNaN(t)||ti(t)}},[e4]),eX&&(y=function(e){e3(e)}),n=function(){var e;return[eH.current,null===(e=eA.current)||void 0===e?void 0:e.getPopupElement()]},(a=v.useRef(null)).current={open:e4,triggerOpen:e3,customizedTrigger:!!eX},v.useEffect(function(){function e(e){if(null===(t=a.current)||void 0===t||!t.customizedTrigger){var t,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),a.current.open&&n().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var tc=v.useMemo(function(){return(0,u.Z)((0,u.Z)({},e),{},{notFoundContent:z,open:e1,triggerOpen:e4,id:I,showSearch:eT,multiple:eD,toggleOpen:e3})},[e,z,e4,e1,I,eT,eD,e3]),ts=void 0!==ec?ec:G||!eD&&"combobox"!==Y;ts&&(S=v.createElement(C,{className:i()("".concat(N,"-arrow"),(0,o.Z)({},"".concat(N,"-arrow-loading"),G)),customizeIcon:es,customizeIconProps:{loading:G,searchValue:eB,open:e1,focused:eW,showSearch:eT}})),!B&&eu&&(L.length||eB)&&!("combobox"===Y&&""===eB)&&(x=v.createElement(C,{className:"".concat(N,"-clear"),onMouseDown:function(){var e;null==U||U(),null===(e=eF.current)||void 0===e||e.focus(),V([],{type:"clear",values:L}),e7("",!1,!1)},customizeIcon:ef},"\xd7"));var tf=v.createElement(ed,{ref:ez}),td=i()(N,R,(Z={},(0,o.Z)(Z,"".concat(N,"-focused"),eW),(0,o.Z)(Z,"".concat(N,"-multiple"),eD),(0,o.Z)(Z,"".concat(N,"-single"),!eD),(0,o.Z)(Z,"".concat(N,"-allow-clear"),eu),(0,o.Z)(Z,"".concat(N,"-show-arrow"),ts),(0,o.Z)(Z,"".concat(N,"-disabled"),B),(0,o.Z)(Z,"".concat(N,"-loading"),G),(0,o.Z)(Z,"".concat(N,"-open"),e1),(0,o.Z)(Z,"".concat(N,"-customize-input"),eG),(0,o.Z)(Z,"".concat(N,"-show-search"),eT),Z)),tp=v.createElement(H,{ref:eA,disabled:B,prefixCls:N,visible:e4,popupElement:tf,containerWidth:ta,animation:ep,transitionName:ev,dropdownStyle:em,dropdownClassName:eh,direction:O,dropdownMatchSelectWidth:eg,dropdownRender:eb,dropdownAlign:eE,placement:ew,getPopupContainer:eZ,empty:A,getTriggerDOMNode:function(){return e_.current},onPopupVisibleChange:y,onPopupMouseEnter:function(){tu({})}},eX?v.cloneElement(eX,{ref:eq}):v.createElement(P,(0,r.Z)({},e,{domRef:e_,prefixCls:N,inputElement:eG,ref:eF,id:I,showSearch:eT,autoClearSearchValue:er,mode:Y,activeDescendantId:en,tagRender:T,values:L,open:e1,onToggleOpen:e3,activeValue:ee,searchValue:eB,onSearch:e7,onSearchSubmit:function(e){e&&e.trim()&&ea(e,{source:"submit"})},onRemove:function(e){V(L.filter(function(t){return t!==e}),{type:"remove",values:[e]})},tokenWithEnter:e5})));return M=eX?tp:v.createElement("div",(0,r.Z)({className:td},eO,{ref:eH,onMouseDown:function(e){var t,n=e.target,o=null===(t=eA.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tn.indexOf(r);-1!==t&&tn.splice(t,1),eY(),eL||o.contains(document.activeElement)||null===(e=eF.current)||void 0===e||e.focus()});tn.push(r)}for(var a=arguments.length,i=Array(a>1?a-1:0),l=1;l=0;i-=1){var u=r[i];if(!u.disabled){r.splice(i,1),a=u;break}}a&&V(r,{type:"remove",values:[a]})}for(var c=arguments.length,s=Array(c>1?c-1:0),f=1;f1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:1,n=L.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];j(e);var n={source:t?"keyboard":"mouse"},o=L[e];if(!o){x(null,-1,n);return}x(o.value,e,n)};(0,v.useEffect)(function(){W(!1!==M?A(0):-1)},[L.length,m]);var U=v.useCallback(function(e){return R.has(e)&&"combobox"!==p},[p,(0,l.Z)(R).toString(),R.size]);(0,v.useEffect)(function(){var e,t=setTimeout(function(){if(!d&&f&&1===R.size){var e=Array.from(R)[0],t=L.findIndex(function(t){return t.data.value===e});-1!==t&&(W(t),_(t))}});return f&&(null===(e=V.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[f,m]);var Y=function(e){void 0!==e&&I(e,{selected:!R.has(e)}),d||h(!1)};if(v.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case g.Z.N:case g.Z.P:case g.Z.UP:case g.Z.DOWN:var o=0;if(t===g.Z.UP?o=-1:t===g.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===g.Z.N?o=1:t===g.Z.P&&(o=-1)),0!==o){var r=A(K+o,o);_(r),W(r,!0)}break;case g.Z.ENTER:var a=L[K];a&&!a.data.disabled?Y(a.value):Y(void 0),f&&e.preventDefault();break;case g.Z.ESC:h(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){_(e)}}}),0===L.length)return v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(k,"-empty"),onMouseDown:H},b);var B=Object.keys(D).map(function(e){return D[e]}),G=function(e){return e.label},X=function(e){var t=L[e];if(!t)return null;var n=t.data||{},o=n.value,a=t.group,i=(0,Z.Z)(n,!0),l=G(t);return t?v.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof l||a?null:l},i,{key:e,role:a?"presentation":"option",id:"".concat(u,"_list_").concat(e),"aria-selected":U(o)}),o):null};return v.createElement(v.Fragment,null,v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),style:{height:0,width:0,overflow:"hidden"}},X(K-1),X(K),X(K+1)),v.createElement(ea.Z,{itemKey:"key",ref:V,data:L,height:O,itemHeight:P,fullHeight:!1,onMouseDown:H,onScroll:w,virtual:T},function(e,t){var n=e.group,a=e.groupOption,l=e.data,u=e.label,c=e.value,f=l.key;if(n){var d,p,m=null!==(p=l.title)&&void 0!==p?p:eu(u)?u.toString():void 0;return v.createElement("div",{className:i()(k,"".concat(k,"-group")),title:m},void 0!==u?u:f)}var h=l.disabled,g=l.title,b=(l.children,l.style),E=l.className,w=(0,s.Z)(l,el),y=(0,eo.Z)(w,B),S=U(c),x="".concat(k,"-option"),M=i()(k,x,E,(d={},(0,o.Z)(d,"".concat(x,"-grouped"),a),(0,o.Z)(d,"".concat(x,"-active"),K===t&&!h),(0,o.Z)(d,"".concat(x,"-disabled"),h),(0,o.Z)(d,"".concat(x,"-selected"),S),d)),I=G(e),R="number"==typeof I?I:I||c,D=eu(R)?R.toString():void 0;return void 0!==g&&(D=g),v.createElement("div",(0,r.Z)({},(0,Z.Z)(y),{"aria-selected":S,className:M,title:D,onMouseMove:function(){K===t||h||W(t)},onClick:function(){h||Y(c)},style:b}),v.createElement("div",{className:"".concat(x,"-content")},R),v.isValidElement(N)||S,(!N||"function"==typeof N||S)&&v.createElement(C,{className:"".concat(k,"-option-state"),customizeIcon:N,customizeIconProps:{isSelected:S}},S?"✓":null))}))});ec.displayName="OptionList";var es=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ef=["inputValue"],ed=v.forwardRef(function(e,t){var n,a,i,p,m,h=e.id,g=e.mode,b=e.prefixCls,E=e.backfill,w=e.fieldNames,Z=e.inputValue,y=e.searchValue,C=e.onSearch,S=e.autoClearSearchValue,M=void 0===S||S,I=e.onSelect,N=e.onDeselect,R=e.dropdownMatchSelectWidth,D=void 0===R||R,T=e.filterOption,O=e.filterSort,P=e.optionFilterProp,k=e.optionLabelProp,L=e.options,V=e.children,H=e.defaultActiveFirstOption,_=e.menuItemSelectedIcon,K=e.virtual,j=e.listHeight,G=void 0===j?200:j,et=e.listItemHeight,en=void 0===et?20:et,eo=e.value,er=e.defaultValue,ea=e.labelInValue,el=e.onChange,eu=(0,s.Z)(e,es),ed=(n=v.useState(),i=(a=(0,c.Z)(n,2))[0],p=a[1],v.useEffect(function(){var e;p("rc_select_".concat((q?(e=X,X+=1):e="TEST_OR_SSR",e)))},[]),h||i),ep=W(g),ev=!!(!L&&V),em=v.useMemo(function(){return(void 0!==T||"combobox"!==g)&&T},[T,g]),eh=v.useMemo(function(){return F(w,ev)},[JSON.stringify(w),ev]),eg=(0,d.Z)("",{value:void 0!==y?y:Z,postState:function(e){return e||""}}),eb=(0,c.Z)(eg,2),eE=eb[0],ew=eb[1],eZ=v.useMemo(function(){var e=L;L||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,Q.Z)(t).map(function(t,o){if(!v.isValidElement(t)||!t.type)return null;var r,a,i,l,c,f=t.type.isSelectOptGroup,d=t.key,p=t.props,m=p.children,h=(0,s.Z)(p,$);return n||!f?(r=t.key,i=(a=t.props).children,l=a.value,c=(0,s.Z)(a,J),(0,u.Z)({key:r,value:void 0!==l?l:r,children:i},c)):(0,u.Z)((0,u.Z)({key:"__RC_SELECT_GRP__".concat(null===d?o:d,"__"),label:d},h),{},{options:e(m)})}).filter(function(e){return e})}(V));var t=new Map,n=new Map,o=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(r){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],a=F(n,!1),i=a.label,l=a.value,u=a.options;return!function e(t,n){t.forEach(function(t){var a=t[i];if(!n&&u in t){var c=a;void 0===c&&o&&(c=t.label),r.push({key:A(t,r.length),group:!0,data:t,label:c}),e(t[u],!0)}else{var s=t[l];r.push({key:A(t,r.length),groupOption:n,data:t,label:a,value:s})}})}(e,!1),r}(eA,{fieldNames:eh,childrenAsData:ev})},[eA,eh,ev]),ez=function(e){var t=ex(e);if(eR(t),el&&(t.length!==eO.length||t.some(function(e,t){var n;return(null===(n=eO[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=ea?t:t.map(function(e){return e.value}),o=t.map(function(e){return z(eP(e.value))});el(ep?n:n[0],ep?o:o[0])}},eK=v.useState(null),ej=(0,c.Z)(eK,2),eW=ej[0],eU=ej[1],eY=v.useState(0),eB=(0,c.Z)(eY,2),eG=eB[0],eX=eB[1],eq=void 0!==H?H:"combobox"!==g,eQ=v.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eX(t),E&&"combobox"===g&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eU(String(e))},[E,g]),eJ=function(e,t,n){var o=function(){var t,n=eP(e);return[ea?{label:null==n?void 0:n[eh.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,z(n)]};if(t&&I){var r=o(),a=(0,c.Z)(r,2);I(a[0],a[1])}else if(!t&&N&&"clear"!==n){var i=o(),l=(0,c.Z)(i,2);N(l[0],l[1])}},e$=ee(function(e,t){var n=!ep||t.selected;ez(n?ep?[].concat((0,l.Z)(eO),[e]):[e]:eO.filter(function(t){return t.value!==e})),eJ(e,n),"combobox"===g?eU(""):(!W||M)&&(ew(""),eU(""))}),e0=v.useMemo(function(){return(0,u.Z)((0,u.Z)({},eZ),{},{flattenOptions:eF,onActiveValue:eQ,defaultActiveFirstOption:eq,onSelect:e$,menuItemSelectedIcon:_,rawValues:eL,fieldNames:eh,virtual:!1!==K&&!1!==D,listHeight:G,listItemHeight:en,childrenAsData:ev})},[eZ,eF,eQ,eq,e$,_,eL,eh,K,D,G,en,ev]);return v.createElement(ei.Provider,{value:e0},v.createElement(U,(0,r.Z)({},eu,{id:ed,prefixCls:void 0===b?"rc-select":b,ref:t,omitDomProps:ef,mode:g,displayValues:ek,onDisplayValuesChange:function(e,t){ez(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){eJ(e.value,!1,n)})},searchValue:eE,onSearch:function(e,t){if(ew(e),eU(null),"submit"===t.source){var n=(e||"").trim();n&&(ez(Array.from(new Set([].concat((0,l.Z)(eL),[n])))),eJ(n,!0),ew(""));return}"blur"!==t.source&&("combobox"===g&&ez(e),null==C||C(e))},autoClearSearchValue:M,onSearchSplit:function(e){var t=e;"tags"!==g&&(t=e.map(function(e){var t=eC.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,l.Z)(eL),(0,l.Z)(t))));ez(n),n.forEach(function(e){eJ(e,!0)})},dropdownMatchSelectWidth:D,OptionList:ec,emptyOptions:!eF.length,activeValue:eW,activeDescendantId:"".concat(ed,"_list_").concat(eG)})))});ed.Option=en,ed.OptGroup=et;var ep=n(53124),ev=n(88258),em=n(98866),eh=n(97647),eg=n(65223),eb=n(33603),eE=n(9708),ew=n(63606),eZ=n(4340),ey=n(97937),eC=n(80882),eS=n(50888),ex=n(68795),eM=n(4173),eI=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},eN="SECRET_COMBOBOX_MODE_DO_NOT_USE",eR=v.forwardRef(function(e,t){var n,a,l=e.prefixCls,u=e.bordered,c=e.className,s=e.getPopupContainer,f=e.dropdownClassName,d=e.popupClassName,p=e.listHeight,m=e.placement,h=e.listItemHeight,g=e.size,b=e.disabled,E=e.notFoundContent,w=e.status,Z=e.showArrow,y=eI(e,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),C=v.useContext(ep.E_),S=C.getPopupContainer,x=C.getPrefixCls,M=C.renderEmpty,I=C.direction,N=C.virtual,R=C.dropdownMatchSelectWidth,D=v.useContext(eh.Z),T=x("select",l),O=x(),P=(0,eM.ri)(T,I),k=P.compactSize,L=P.compactItemClassnames,V=v.useMemo(function(){var e=y.mode;return"combobox"===e?void 0:e===eN?"combobox":e},[y.mode]),H="multiple"===V||"tags"===V,_=void 0!==Z?Z:y.loading||!(H||"combobox"===V),A=(0,v.useContext)(eg.aM),F=A.status,z=A.hasFeedback,K=A.isFormItemInput,j=A.feedbackIcon,W=(0,eE.F)(F,w);a=void 0!==E?E:"combobox"===V?null:(M||ev.Z)("Select");var U=function(e){var t=e.suffixIcon,n=e.clearIcon,o=e.menuItemSelectedIcon,r=e.removeIcon,a=e.loading,i=e.multiple,l=e.hasFeedback,u=e.prefixCls,c=e.showArrow,s=e.feedbackIcon,f=null!=n?n:v.createElement(eZ.Z,null),d=function(e){return v.createElement(v.Fragment,null,!1!==c&&e,l&&s)},p=null;if(void 0!==t)p=d(t);else if(a)p=d(v.createElement(eS.Z,{spin:!0}));else{var m="".concat(u,"-suffix");p=function(e){var t=e.open,n=e.showSearch;return t&&n?d(v.createElement(ex.Z,{className:m})):d(v.createElement(eC.Z,{className:m}))}}var h=null;return h=void 0!==o?o:i?v.createElement(ew.Z,null):null,{clearIcon:f,suffixIcon:p,itemIcon:h,removeIcon:void 0!==r?r:v.createElement(ey.Z,null)}}((0,r.Z)((0,r.Z)({},y),{multiple:H,hasFeedback:z,feedbackIcon:j,showArrow:_,prefixCls:T})),Y=U.suffixIcon,B=U.itemIcon,G=U.removeIcon,X=U.clearIcon,q=(0,eo.Z)(y,["suffixIcon","itemIcon"]),Q=i()(d||f,(0,o.Z)({},"".concat(T,"-dropdown-").concat(I),"rtl"===I)),J=k||g||D,$=v.useContext(em.Z),ee=i()((n={},(0,o.Z)(n,"".concat(T,"-lg"),"large"===J),(0,o.Z)(n,"".concat(T,"-sm"),"small"===J),(0,o.Z)(n,"".concat(T,"-rtl"),"rtl"===I),(0,o.Z)(n,"".concat(T,"-borderless"),!(void 0===u||u)),(0,o.Z)(n,"".concat(T,"-in-form-item"),K),n),(0,eE.Z)(T,W,z),L,c);return v.createElement(ed,(0,r.Z)({ref:t,virtual:N,dropdownMatchSelectWidth:R},q,{transitionName:(0,eb.mL)(O,(0,eb.q0)(m),y.transitionName),listHeight:void 0===p?256:p,listItemHeight:void 0===h?24:h,mode:V,prefixCls:T,placement:void 0!==m?m:"rtl"===I?"bottomRight":"bottomLeft",direction:I,inputIcon:Y,menuItemSelectedIcon:B,removeIcon:G,clearIcon:X,notFoundContent:a,className:ee,getPopupContainer:s||S,dropdownClassName:Q,showArrow:z||Z,disabled:null!=b?b:$}))});eR.SECRET_COMBOBOX_MODE_DO_NOT_USE=eN,eR.Option=en,eR.OptGroup=et;var eD=eR},73453:function(e,t,n){n.d(t,{Z:function(){return O}});var o=n(87462),r=n(4942),a=n(1413),i=n(97685),l=n(45987),u=n(67294),c=n(94184),s=n.n(c),f=n(48555),d=u.forwardRef(function(e,t){var n=e.height,o=e.offset,i=e.children,l=e.prefixCls,c=e.onInnerResize,d={},p={display:"flex",flexDirection:"column"};return void 0!==o&&(d={height:n,position:"relative",overflow:"hidden"},p=(0,a.Z)((0,a.Z)({},p),{},{transform:"translateY(".concat(o,"px)"),position:"absolute",left:0,right:0,top:0})),u.createElement("div",{style:d},u.createElement(f.default,{onResize:function(e){e.offsetHeight&&c&&c()}},u.createElement("div",{style:p,className:s()((0,r.Z)({},"".concat(l,"-holder-inner"),l)),ref:t},i)))});d.displayName="Filler";var p=n(15671),v=n(43144),m=n(60136),h=n(33643),g=n(75164);function b(e){return"touches"in e?e.touches[0].pageY:e.pageY}var E=function(e){(0,m.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,p.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;an},e}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,t=e.dragging,n=e.visible,o=this.props.prefixCls,a=this.getSpinHeight(),i=this.getTop(),l=this.showScroll();return u.createElement("div",{ref:this.scrollbarRef,className:s()("".concat(o,"-scrollbar"),(0,r.Z)({},"".concat(o,"-scrollbar-show"),l)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:l&&n?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},u.createElement("div",{ref:this.thumbRef,className:s()("".concat(o,"-scrollbar-thumb"),(0,r.Z)({},"".concat(o,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:a,top:i,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),n}(u.Component);function w(e){var t=e.children,n=e.setRef,o=u.useCallback(function(e){n(e)},[]);return u.cloneElement(t,{ref:o})}var Z=n(34203),y=function(){function e(){(0,p.Z)(this,e),this.maps=void 0,this.maps=Object.create(null)}return(0,v.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),C=n(71002),S=("undefined"==typeof navigator?"undefined":(0,C.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),x=function(e,t){var n=(0,u.useRef)(!1),o=(0,u.useRef)(null),r=(0,u.useRef)({top:e,bottom:t});return r.current.top=e,r.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e<0&&r.current.top||e>0&&r.current.bottom;return t&&a?(clearTimeout(o.current),n.current=!1):(!a||n.current)&&(clearTimeout(o.current),n.current=!0,o.current=setTimeout(function(){n.current=!1},50)),!n.current&&a}},M=n(8410),I=14/15,N=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"],R=[],D={overflowY:"auto",overflowAnchor:"none"},T=u.forwardRef(function(e,t){var n,c,f,p,v,m,h,b,T,O,P,k,L,V,H,_,A,F,z,K,j,W,U,Y,B,G,X=e.prefixCls,q=void 0===X?"rc-virtual-list":X,Q=e.className,J=e.height,$=e.itemHeight,ee=e.fullHeight,et=e.style,en=e.data,eo=e.children,er=e.itemKey,ea=e.virtual,ei=e.component,el=e.onScroll,eu=e.onVisibleChange,ec=(0,l.Z)(e,N),es=!!(!1!==ea&&J&&$),ef=es&&en&&$*en.length>J,ed=(0,u.useState)(0),ep=(0,i.Z)(ed,2),ev=ep[0],em=ep[1],eh=(0,u.useState)(!1),eg=(0,i.Z)(eh,2),eb=eg[0],eE=eg[1],ew=s()(q,Q),eZ=en||R,ey=(0,u.useRef)(),eC=(0,u.useRef)(),eS=(0,u.useRef)(),ex=u.useCallback(function(e){return"function"==typeof er?er(e):null==e?void 0:e[er]},[er]);function eM(e){em(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(ej.current)||(n=Math.min(n,ej.current)),n=Math.max(n,0));return ey.current.scrollTop=o,o})}var eI=(0,u.useRef)({start:0,end:eZ.length}),eN=(0,u.useRef)(),eR=(c=u.useState(eZ),p=(f=(0,i.Z)(c,2))[0],v=f[1],m=u.useState(null),b=(h=(0,i.Z)(m,2))[0],T=h[1],u.useEffect(function(){var e=function(e,t,n){var o,r,a=e.length,i=t.length;if(0===a&&0===i)return null;a=ev&&void 0===t&&(t=i,n=r),c>ev+J&&void 0===o&&(o=i),r=c}return void 0===t&&(t=0,n=0,o=Math.ceil(J/$)),void 0===o&&(o=eZ.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,eZ.length),offset:n}},[ef,es,ev,eZ,eV,J]),e_=eH.scrollHeight,eA=eH.start,eF=eH.end,ez=eH.offset;eI.current.start=eA,eI.current.end=eF;var eK=e_-J,ej=(0,u.useRef)(eK);ej.current=eK;var eW=ev<=0,eU=ev>=eK,eY=x(eW,eU),eB=(O=function(e){eM(function(t){return t+e})},P=(0,u.useRef)(0),k=(0,u.useRef)(null),L=(0,u.useRef)(null),V=(0,u.useRef)(!1),H=x(eW,eU),[function(e){if(es){g.Z.cancel(k.current);var t=e.deltaY;P.current+=t,L.current=t,H(t)||(S||e.preventDefault(),k.current=(0,g.Z)(function(){var e=V.current?10:1;O(P.current*e),P.current=0}))}},function(e){es&&(V.current=e.detail===L.current)}]),eG=(0,i.Z)(eB,2),eX=eG[0],eq=eG[1];_=function(e,t){return!eY(e,t)&&(eX({preventDefault:function(){},deltaY:e}),!0)},F=(0,u.useRef)(!1),z=(0,u.useRef)(0),K=(0,u.useRef)(null),j=(0,u.useRef)(null),W=function(e){if(F.current){var t=Math.ceil(e.touches[0].pageY),n=z.current-t;z.current=t,_(n)&&e.preventDefault(),clearInterval(j.current),j.current=setInterval(function(){(!_(n*=I,!0)||.1>=Math.abs(n))&&clearInterval(j.current)},16)}},U=function(){F.current=!1,A()},Y=function(e){A(),1!==e.touches.length||F.current||(F.current=!0,z.current=Math.ceil(e.touches[0].pageY),K.current=e.target,K.current.addEventListener("touchmove",W),K.current.addEventListener("touchend",U))},A=function(){K.current&&(K.current.removeEventListener("touchmove",W),K.current.removeEventListener("touchend",U))},(0,M.Z)(function(){return es&&ey.current.addEventListener("touchstart",Y),function(){var e;null===(e=ey.current)||void 0===e||e.removeEventListener("touchstart",Y),A(),clearInterval(j.current)}},[es]),(0,M.Z)(function(){function e(e){es&&e.preventDefault()}return ey.current.addEventListener("wheel",eX),ey.current.addEventListener("DOMMouseScroll",eq),ey.current.addEventListener("MozMousePixelScroll",e),function(){ey.current&&(ey.current.removeEventListener("wheel",eX),ey.current.removeEventListener("DOMMouseScroll",eq),ey.current.removeEventListener("MozMousePixelScroll",e))}},[es]);var eQ=(B=function(){var e;null===(e=eS.current)||void 0===e||e.delayHidden()},G=u.useRef(),function(e){if(null==e){B();return}if(g.Z.cancel(G.current),"number"==typeof e)eM(e);else if(e&&"object"===(0,C.Z)(e)){var t,n=e.align;t="index"in e?e.index:eZ.findIndex(function(t){return ex(t)===e.key});var o=e.offset,r=void 0===o?0:o;!function e(o,a){if(!(o<0)&&ey.current){var i=ey.current.clientHeight,l=!1,u=a;if(i){for(var c=0,s=0,f=0,d=Math.min(eZ.length,t),p=0;p<=d;p+=1){var v=ex(eZ[p]);s=c;var m=eL.get(v);c=f=s+(void 0===m?$:m),p===t&&void 0===m&&(l=!0)}var h=null;switch(a||n){case"top":h=s-r;break;case"bottom":h=f-i+r;break;default:var b=ey.current.scrollTop;sb+i&&(u="bottom")}null!==h&&h!==ey.current.scrollTop&&eM(h)}G.current=(0,g.Z)(function(){l&&ek(),e(o-1,u)})}}(3)}});u.useImperativeHandle(t,function(){return{scrollTo:eQ}}),(0,M.Z)(function(){eu&&eu(eZ.slice(eA,eF+1),eZ)},[eA,eF,eZ]);var eJ=eZ.slice(eA,eF+1).map(function(e,t){var n=eo(e,eA+t,{}),o=ex(e);return u.createElement(w,{key:o,setRef:function(t){return eP(e,t)}},n)}),e$=null;return J&&(e$=(0,a.Z)((0,r.Z)({},void 0===ee||ee?"height":"maxHeight",J),D),es&&(e$.overflowY="hidden",eb&&(e$.pointerEvents="none"))),u.createElement("div",(0,o.Z)({style:(0,a.Z)((0,a.Z)({},et),{},{position:"relative"}),className:ew},ec),u.createElement(void 0===ei?"div":ei,{className:"".concat(q,"-holder"),style:e$,ref:ey,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==ev&&eM(t),null==el||el(e)}},u.createElement(d,{prefixCls:q,height:e_,offset:ez,onInnerResize:ek,ref:eC},eJ)),es&&u.createElement(E,{ref:eS,prefixCls:q,scrollTop:ev,height:J,scrollHeight:e_,count:eZ.length,onScroll:function(e){eM(e)},onStartMove:function(){eE(!0)},onStopMove:function(){eE(!1)}}))});T.displayName="List";var O=T}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8909-a395a0ce823f9797.js b/static/web/_next/static/chunks/8909-a395a0ce823f9797.js deleted file mode 100644 index d6a97fe9e..000000000 --- a/static/web/_next/static/chunks/8909-a395a0ce823f9797.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8909],{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)"},l=new Map,u=-1,c={};t.ZP={matchHandlers:{},dispatch:function(e){return c=e,l.forEach(function(e){return e(c)}),l.size>=1},subscribe:function(e){return l.size||this.register(),u+=1,l.set(u,e),e(c),u},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(i).forEach(function(t){var n=i[t],o=e.matchHandlers[n];null==o||o.mql.removeListener(null==o?void 0:o.listener)}),l.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)))},l=window.matchMedia(n);l.addListener(a),e.matchHandlers[n]={mql:l,listener:a},a(l)})}}},88258:function(e,t,n){var o=n(67294),r=n(53124),a=n(62986);t.Z=function(e){return o.createElement(r.C,null,function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return o.createElement(a.Z,null)}})}},62986:function(e,t,n){n.d(t,{Z:function(){return v}});var o=n(4942),r=n(87462),a=n(94184),i=n.n(a),l=n(67294),u=n(53124),c=n(23715),s=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},f=l.createElement(function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-default");return l.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),l.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),l.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),l.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),l.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),l.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),d=l.createElement(function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-simple");return l.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},null),p=function(e){var t=e.className,n=e.prefixCls,a=e.image,p=void 0===a?f:a,v=e.description,m=e.children,h=e.imageStyle,g=s(e,["className","prefixCls","image","description","children","imageStyle"]),b=l.useContext(u.E_),E=b.getPrefixCls,w=b.direction;return l.createElement(c.Z,{componentName:"Empty"},function(e){var a,u=E("empty",n),c=void 0!==v?v:e.description,s=null;return s="string"==typeof p?l.createElement("img",{alt:"string"==typeof c?c:"empty",src:p}):p,l.createElement("div",(0,r.Z)({className:i()(u,(a={},(0,o.Z)(a,"".concat(u,"-normal"),p===d),(0,o.Z)(a,"".concat(u,"-rtl"),"rtl"===w),a),t)},g),l.createElement("div",{className:"".concat(u,"-image"),style:h},s),c&&l.createElement("div",{className:"".concat(u,"-description")},c),m&&l.createElement("div",{className:"".concat(u,"-footer")},m))})};p.PRESENTED_IMAGE_DEFAULT=f,p.PRESENTED_IMAGE_SIMPLE=d;var v=p},38939:function(e,t,n){n.d(t,{Z:function(){return eD}});var o=n(4942),r=n(87462),a=n(94184),i=n.n(a),l=n(74902),u=n(1413),c=n(97685),s=n(45987),f=n(71002),d=n(21770),p=n(80334),v=n(67294),m=n(8410),h=n(31131),g=n(15105),b=n(42550),E=v.createContext(null);function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=v.useRef(null),n=v.useRef(null);return v.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var Z=n(64217),y=n(34243),C=function(e){var t,n=e.className,o=e.customizeIcon,r=e.customizeIconProps,a=e.onMouseDown,l=e.onClick,u=e.children;return t="function"==typeof o?o(r):o,v.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),a&&a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==t?t:v.createElement("span",{className:i()(n.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},u))},S=v.forwardRef(function(e,t){var n,o,r=e.prefixCls,a=e.id,l=e.inputElement,c=e.disabled,s=e.tabIndex,f=e.autoFocus,d=e.autoComplete,m=e.editable,h=e.activeDescendantId,g=e.value,E=e.maxLength,w=e.onKeyDown,Z=e.onMouseDown,y=e.onChange,C=e.onPaste,S=e.onCompositionStart,x=e.onCompositionEnd,M=e.open,I=e.attrs,N=l||v.createElement("input",null),R=N,D=R.ref,T=R.props,O=T.onKeyDown,P=T.onChange,k=T.onMouseDown,L=T.onCompositionStart,V=T.onCompositionEnd,H=T.style;return(0,p.Kp)(!("maxLength"in N.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),N=v.cloneElement(N,(0,u.Z)((0,u.Z)((0,u.Z)({type:"search"},T),{},{id:a,ref:(0,b.sQ)(t,D),disabled:c,tabIndex:s,autoComplete:d||"off",autoFocus:f,className:i()("".concat(r,"-selection-search-input"),null===(n=N)||void 0===n?void 0:null===(o=n.props)||void 0===o?void 0:o.className),role:"combobox","aria-expanded":M,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":h},I),{},{value:m?g:"",maxLength:E,readOnly:!m,unselectable:m?null:"on",style:(0,u.Z)((0,u.Z)({},H),{},{opacity:m?null:0}),onKeyDown:function(e){w(e),O&&O(e)},onMouseDown:function(e){Z(e),k&&k(e)},onChange:function(e){y(e),P&&P(e)},onCompositionStart:function(e){S(e),L&&L(e)},onCompositionEnd:function(e){x(e),V&&V(e)},onPaste:C}))});function x(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}S.displayName="Input";var M="undefined"!=typeof window&&window.document&&window.document.documentElement;function I(e){return["string","number"].includes((0,f.Z)(e))}function N(e){var t=void 0;return e&&(I(e.title)?t=e.title.toString():I(e.label)&&(t=e.label.toString())),t}function R(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var D=function(e){e.preventDefault(),e.stopPropagation()},T=function(e){var t,n,r=e.id,a=e.prefixCls,l=e.values,u=e.open,s=e.searchValue,f=e.autoClearSearchValue,d=e.inputRef,p=e.placeholder,m=e.disabled,h=e.mode,g=e.showSearch,b=e.autoFocus,E=e.autoComplete,w=e.activeDescendantId,x=e.tabIndex,I=e.removeIcon,T=e.maxTagCount,O=e.maxTagTextLength,P=e.maxTagPlaceholder,k=void 0===P?function(e){return"+ ".concat(e.length," ...")}:P,L=e.tagRender,V=e.onToggleOpen,H=e.onRemove,_=e.onInputChange,A=e.onInputPaste,F=e.onInputKeyDown,z=e.onInputMouseDown,K=e.onInputCompositionStart,j=e.onInputCompositionEnd,W=v.useRef(null),U=(0,v.useState)(0),Y=(0,c.Z)(U,2),B=Y[0],G=Y[1],X=(0,v.useState)(!1),q=(0,c.Z)(X,2),Q=q[0],J=q[1],$="".concat(a,"-selection"),ee=u||"multiple"===h&&!1===f||"tags"===h?s:"";function et(e,t,n,r,a){return v.createElement("span",{className:i()("".concat($,"-item"),(0,o.Z)({},"".concat($,"-item-disabled"),n)),title:N(e)},v.createElement("span",{className:"".concat($,"-item-content")},t),r&&v.createElement(C,{className:"".concat($,"-item-remove"),onMouseDown:D,onClick:a,customizeIcon:I},"\xd7"))}t=function(){G(W.current.scrollWidth)},n=[ee],M?v.useLayoutEffect(t,n):v.useEffect(t,n);var en=v.createElement("div",{className:"".concat($,"-search"),style:{width:B},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},v.createElement(S,{ref:d,open:u,prefixCls:a,id:r,inputElement:null,disabled:m,autoFocus:b,autoComplete:E,editable:"tags"===h||"multiple"===h&&!1===f||g&&(u||Q),activeDescendantId:w,value:ee,onKeyDown:F,onMouseDown:z,onChange:_,onPaste:A,onCompositionStart:K,onCompositionEnd:j,tabIndex:x,attrs:(0,Z.Z)(e,!0)}),v.createElement("span",{ref:W,className:"".concat($,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),eo=v.createElement(y.Z,{prefixCls:"".concat($,"-overflow"),data:l,renderItem:function(e){var t,n=e.disabled,o=e.label,r=e.value,a=!m&&!n,i=o;if("number"==typeof O&&("string"==typeof o||"number"==typeof o)){var l=String(i);l.length>O&&(i="".concat(l.slice(0,O),"..."))}var c=function(t){t&&t.stopPropagation(),H(e)};return"function"==typeof L?(t=i,v.createElement("span",{onMouseDown:function(e){D(e),V(!u)}},L({label:t,value:r,disabled:n,closable:a,onClose:c}))):et(e,i,n,a,c)},renderRest:function(e){var t="function"==typeof k?k(e):k;return et({title:t},t,!1)},suffix:en,itemKey:R,maxCount:T});return v.createElement(v.Fragment,null,eo,!l.length&&!ee&&v.createElement("span",{className:"".concat($,"-placeholder")},p))},O=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,a=e.disabled,i=e.autoFocus,l=e.autoComplete,u=e.activeDescendantId,s=e.mode,f=e.open,d=e.values,p=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,E=e.maxLength,w=e.onInputKeyDown,y=e.onInputMouseDown,C=e.onInputChange,x=e.onInputPaste,M=e.onInputCompositionStart,I=e.onInputCompositionEnd,R=v.useState(!1),D=(0,c.Z)(R,2),T=D[0],O=D[1],P="combobox"===s,k=d[0],L=g||"";P&&b&&!T&&(L=b),v.useEffect(function(){P&&O(!1)},[P,b]);var V=("combobox"===s||!!f||!!h)&&!!L,H=N(k);return v.createElement(v.Fragment,null,v.createElement("span",{className:"".concat(n,"-selection-search")},v.createElement(S,{ref:r,prefixCls:n,id:o,open:f,inputElement:t,disabled:a,autoFocus:i,autoComplete:l,editable:P||h,activeDescendantId:u,value:L,onKeyDown:w,onMouseDown:y,onChange:function(e){O(!0),C(e)},onPaste:x,onCompositionStart:M,onCompositionEnd:I,tabIndex:m,attrs:(0,Z.Z)(e,!0),maxLength:P?E:void 0})),!P&&k&&!V&&v.createElement("span",{className:"".concat(n,"-selection-item"),title:H},k.label),k?null:v.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:V?{visibility:"hidden"}:void 0},p))},P=v.forwardRef(function(e,t){var n=(0,v.useRef)(null),o=(0,v.useRef)(!1),a=e.prefixCls,i=e.open,l=e.mode,u=e.showSearch,s=e.tokenWithEnter,f=e.onSearch,d=e.onSearchSubmit,p=e.onToggleOpen,m=e.onInputKeyDown,h=e.domRef;v.useImperativeHandle(t,function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}});var b=w(0),E=(0,c.Z)(b,2),Z=E[0],y=E[1],C=(0,v.useRef)(null),S=function(e){!1!==f(e,!0,o.current)&&p(!0)},x={inputRef:n,onInputKeyDown:function(e){var t=e.which;(t===g.Z.UP||t===g.Z.DOWN)&&e.preventDefault(),m&&m(e),t!==g.Z.ENTER||"tags"!==l||o.current||i||null==d||d(e.target.value),[g.Z.ESC,g.Z.SHIFT,g.Z.BACKSPACE,g.Z.TAB,g.Z.WIN_KEY,g.Z.ALT,g.Z.META,g.Z.WIN_KEY_RIGHT,g.Z.CTRL,g.Z.SEMICOLON,g.Z.EQUALS,g.Z.CAPS_LOCK,g.Z.CONTEXT_MENU,g.Z.F1,g.Z.F2,g.Z.F3,g.Z.F4,g.Z.F5,g.Z.F6,g.Z.F7,g.Z.F8,g.Z.F9,g.Z.F10,g.Z.F11,g.Z.F12].includes(t)||p(!0)},onInputMouseDown:function(){y(!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)}},M="multiple"===l||"tags"===l?v.createElement(T,(0,r.Z)({},e,x)):v.createElement(O,(0,r.Z)({},e,x));return v.createElement("div",{ref:h,className:"".concat(a,"-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=Z();e.target===n.current||t||"combobox"===l||e.preventDefault(),("combobox"===l||u&&t)&&i||(i&&f("",!0,!1),p())}},M)});P.displayName="Selector";var k=n(81263),L=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],V=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},H=v.forwardRef(function(e,t){var n=e.prefixCls,a=(e.disabled,e.visible),l=e.children,c=e.popupElement,f=e.containerWidth,d=e.animation,p=e.transitionName,m=e.dropdownStyle,h=e.dropdownClassName,g=e.direction,b=e.placement,E=e.dropdownMatchSelectWidth,w=e.dropdownRender,Z=e.dropdownAlign,y=e.getPopupContainer,C=e.empty,S=e.getTriggerDOMNode,x=e.onPopupVisibleChange,M=e.onPopupMouseEnter,I=(0,s.Z)(e,L),N="".concat(n,"-dropdown"),R=c;w&&(R=w(c));var D=v.useMemo(function(){return V(E)},[E]),T=d?"".concat(N,"-").concat(d):p,O=v.useRef(null);v.useImperativeHandle(t,function(){return{getPopupElement:function(){return O.current}}});var P=(0,u.Z)({minWidth:f},m);return"number"==typeof E?P.width=E:E&&(P.width=f),v.createElement(k.Z,(0,r.Z)({},I,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:b||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:D,prefixCls:N,popupTransitionName:T,popup:v.createElement("div",{ref:O,onMouseEnter:M},R),popupAlign:Z,popupVisible:a,getPopupContainer:y,popupClassName:i()(h,(0,o.Z)({},"".concat(N,"-empty"),C)),popupStyle:P,getTriggerDOMNode:S,onPopupVisibleChange:x}),l)});H.displayName="SelectTrigger";var _=n(84506);function A(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function F(e,t){var n=e||{};return{label:n.label||(t?"children":"label"),value:n.value||"value",options:n.options||"options"}}function z(e){var t=(0,u.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,p.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var K=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],j=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function W(e){return"tags"===e||"multiple"===e}var U=v.forwardRef(function(e,t){var n,a,p,Z,y,S,x,M,I=e.id,N=e.prefixCls,R=e.className,D=e.showSearch,T=e.tagRender,O=e.direction,k=e.omitDomProps,L=e.displayValues,V=e.onDisplayValuesChange,A=e.emptyOptions,F=e.notFoundContent,z=void 0===F?"Not Found":F,U=e.onClear,Y=e.mode,B=e.disabled,G=e.loading,X=e.getInputElement,q=e.getRawInputElement,Q=e.open,J=e.defaultOpen,$=e.onDropdownVisibleChange,ee=e.activeValue,et=e.onActiveValueChange,en=e.activeDescendantId,eo=e.searchValue,er=e.autoClearSearchValue,ea=e.onSearch,ei=e.onSearchSplit,el=e.tokenSeparators,eu=e.allowClear,ec=e.showArrow,es=e.inputIcon,ef=e.clearIcon,ed=e.OptionList,ep=e.animation,ev=e.transitionName,em=e.dropdownStyle,eh=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,eb=e.dropdownRender,eE=e.dropdownAlign,ew=e.placement,eZ=e.getPopupContainer,ey=e.showAction,eC=void 0===ey?[]:ey,eS=e.onFocus,ex=e.onBlur,eM=e.onKeyUp,eI=e.onKeyDown,eN=e.onMouseDown,eR=(0,s.Z)(e,K),eD=W(Y),eT=(void 0!==D?D:eD)||"combobox"===Y,eO=(0,u.Z)({},eR);j.forEach(function(e){delete eO[e]}),null==k||k.forEach(function(e){delete eO[e]});var eP=v.useState(!1),ek=(0,c.Z)(eP,2),eL=ek[0],eV=ek[1];v.useEffect(function(){eV((0,h.Z)())},[]);var eH=v.useRef(null),e_=v.useRef(null),eA=v.useRef(null),eF=v.useRef(null),ez=v.useRef(null),eK=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=v.useState(!1),n=(0,c.Z)(t,2),o=n[0],r=n[1],a=v.useRef(null),i=function(){window.clearTimeout(a.current)};return v.useEffect(function(){return i},[]),[o,function(t,n){i(),a.current=window.setTimeout(function(){r(t),n&&n()},e)},i]}(),ej=(0,c.Z)(eK,3),eW=ej[0],eU=ej[1],eY=ej[2];v.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eF.current)||void 0===e?void 0:e.focus,blur:null===(t=eF.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=ez.current)||void 0===t?void 0:t.scrollTo(e)}}});var eB=v.useMemo(function(){if("combobox"!==Y)return eo;var e,t=null===(e=L[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[eo,Y,L]),eG="combobox"===Y&&"function"==typeof X&&X()||null,eX="function"==typeof q&&q(),eq=(0,b.x1)(e_,null==eX?void 0:null===(p=eX.props)||void 0===p?void 0:p.ref),eQ=(0,d.Z)(void 0,{defaultValue:J,value:Q}),eJ=(0,c.Z)(eQ,2),e$=eJ[0],e0=eJ[1],e1=e$,e2=!z&&A;(B||e2&&e1&&"combobox"===Y)&&(e1=!1);var e4=!e2&&e1,e3=v.useCallback(function(e){var t=void 0!==e?e:!e1;B||(e0(t),e1!==t&&(null==$||$(t)))},[B,e1,e0,$]),e5=v.useMemo(function(){return(el||[]).some(function(e){return["\n","\r\n"].includes(e)})},[el]),e7=function(e,t,n){var o=!0,r=e;null==et||et(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,_.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,l.Z)(t),(0,l.Z)(e(n,i)))},[]).filter(function(e){return e})}(e,t);return n?o:null}(e,el);return"combobox"!==Y&&a&&(r="",null==ei||ei(a),e3(!1),o=!1),ea&&eB!==r&&ea(r,{source:t?"typing":"effect"}),o};v.useEffect(function(){e1||eD||"combobox"===Y||e7("",!1,!1)},[e1]),v.useEffect(function(){e$&&B&&e0(!1),B&&eU(!1)},[B]);var e6=w(),e9=(0,c.Z)(e6,2),e8=e9[0],te=e9[1],tt=v.useRef(!1),tn=[];v.useEffect(function(){return function(){tn.forEach(function(e){return clearTimeout(e)}),tn.splice(0,tn.length)}},[]);var to=v.useState(null),tr=(0,c.Z)(to,2),ta=tr[0],ti=tr[1],tl=v.useState({}),tu=(0,c.Z)(tl,2)[1];(0,m.Z)(function(){if(e4){var e,t=Math.ceil(null===(e=eH.current)||void 0===e?void 0:e.offsetWidth);ta===t||Number.isNaN(t)||ti(t)}},[e4]),eX&&(y=function(e){e3(e)}),n=function(){var e;return[eH.current,null===(e=eA.current)||void 0===e?void 0:e.getPopupElement()]},(a=v.useRef(null)).current={open:e4,triggerOpen:e3,customizedTrigger:!!eX},v.useEffect(function(){function e(e){if(null===(t=a.current)||void 0===t||!t.customizedTrigger){var t,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),a.current.open&&n().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var tc=v.useMemo(function(){return(0,u.Z)((0,u.Z)({},e),{},{notFoundContent:z,open:e1,triggerOpen:e4,id:I,showSearch:eT,multiple:eD,toggleOpen:e3})},[e,z,e4,e1,I,eT,eD,e3]),ts=void 0!==ec?ec:G||!eD&&"combobox"!==Y;ts&&(S=v.createElement(C,{className:i()("".concat(N,"-arrow"),(0,o.Z)({},"".concat(N,"-arrow-loading"),G)),customizeIcon:es,customizeIconProps:{loading:G,searchValue:eB,open:e1,focused:eW,showSearch:eT}})),!B&&eu&&(L.length||eB)&&!("combobox"===Y&&""===eB)&&(x=v.createElement(C,{className:"".concat(N,"-clear"),onMouseDown:function(){null==U||U(),V([],{type:"clear",values:L}),e7("",!1,!1)},customizeIcon:ef},"\xd7"));var tf=v.createElement(ed,{ref:ez}),td=i()(N,R,(Z={},(0,o.Z)(Z,"".concat(N,"-focused"),eW),(0,o.Z)(Z,"".concat(N,"-multiple"),eD),(0,o.Z)(Z,"".concat(N,"-single"),!eD),(0,o.Z)(Z,"".concat(N,"-allow-clear"),eu),(0,o.Z)(Z,"".concat(N,"-show-arrow"),ts),(0,o.Z)(Z,"".concat(N,"-disabled"),B),(0,o.Z)(Z,"".concat(N,"-loading"),G),(0,o.Z)(Z,"".concat(N,"-open"),e1),(0,o.Z)(Z,"".concat(N,"-customize-input"),eG),(0,o.Z)(Z,"".concat(N,"-show-search"),eT),Z)),tp=v.createElement(H,{ref:eA,disabled:B,prefixCls:N,visible:e4,popupElement:tf,containerWidth:ta,animation:ep,transitionName:ev,dropdownStyle:em,dropdownClassName:eh,direction:O,dropdownMatchSelectWidth:eg,dropdownRender:eb,dropdownAlign:eE,placement:ew,getPopupContainer:eZ,empty:A,getTriggerDOMNode:function(){return e_.current},onPopupVisibleChange:y,onPopupMouseEnter:function(){tu({})}},eX?v.cloneElement(eX,{ref:eq}):v.createElement(P,(0,r.Z)({},e,{domRef:e_,prefixCls:N,inputElement:eG,ref:eF,id:I,showSearch:eT,autoClearSearchValue:er,mode:Y,activeDescendantId:en,tagRender:T,values:L,open:e1,onToggleOpen:e3,activeValue:ee,searchValue:eB,onSearch:e7,onSearchSubmit:function(e){e&&e.trim()&&ea(e,{source:"submit"})},onRemove:function(e){V(L.filter(function(t){return t!==e}),{type:"remove",values:[e]})},tokenWithEnter:e5})));return M=eX?tp:v.createElement("div",(0,r.Z)({className:td},eO,{ref:eH,onMouseDown:function(e){var t,n=e.target,o=null===(t=eA.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tn.indexOf(r);-1!==t&&tn.splice(t,1),eY(),eL||o.contains(document.activeElement)||null===(e=eF.current)||void 0===e||e.focus()});tn.push(r)}for(var a=arguments.length,i=Array(a>1?a-1:0),l=1;l=0;i-=1){var u=r[i];if(!u.disabled){r.splice(i,1),a=u;break}}a&&V(r,{type:"remove",values:[a]})}for(var c=arguments.length,s=Array(c>1?c-1:0),f=1;f1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:1,n=L.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];j(e);var n={source:t?"keyboard":"mouse"},o=L[e];if(!o){x(null,-1,n);return}x(o.value,e,n)};(0,v.useEffect)(function(){W(!1!==M?A(0):-1)},[L.length,m]);var U=v.useCallback(function(e){return R.has(e)&&"combobox"!==p},[p,(0,l.Z)(R).toString(),R.size]);(0,v.useEffect)(function(){var e,t=setTimeout(function(){if(!d&&f&&1===R.size){var e=Array.from(R)[0],t=L.findIndex(function(t){return t.data.value===e});-1!==t&&(W(t),_(t))}});return f&&(null===(e=V.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[f,m]);var Y=function(e){void 0!==e&&I(e,{selected:!R.has(e)}),d||h(!1)};if(v.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case g.Z.N:case g.Z.P:case g.Z.UP:case g.Z.DOWN:var o=0;if(t===g.Z.UP?o=-1:t===g.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===g.Z.N?o=1:t===g.Z.P&&(o=-1)),0!==o){var r=A(K+o,o);_(r),W(r,!0)}break;case g.Z.ENTER:var a=L[K];a&&!a.data.disabled?Y(a.value):Y(void 0),f&&e.preventDefault();break;case g.Z.ESC:h(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){_(e)}}}),0===L.length)return v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(k,"-empty"),onMouseDown:H},b);var B=Object.keys(D).map(function(e){return D[e]}),G=function(e){return e.label},X=function(e){var t=L[e];if(!t)return null;var n=t.data||{},o=n.value,a=t.group,i=(0,Z.Z)(n,!0),l=G(t);return t?v.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof l||a?null:l},i,{key:e,role:a?"presentation":"option",id:"".concat(u,"_list_").concat(e),"aria-selected":U(o)}),o):null};return v.createElement(v.Fragment,null,v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),style:{height:0,width:0,overflow:"hidden"}},X(K-1),X(K),X(K+1)),v.createElement(ea.Z,{itemKey:"key",ref:V,data:L,height:O,itemHeight:P,fullHeight:!1,onMouseDown:H,onScroll:w,virtual:T},function(e,t){var n=e.group,a=e.groupOption,l=e.data,u=e.label,c=e.value,f=l.key;if(n){var d,p,m=null!==(p=l.title)&&void 0!==p?p:eu(u)?u.toString():void 0;return v.createElement("div",{className:i()(k,"".concat(k,"-group")),title:m},void 0!==u?u:f)}var h=l.disabled,g=l.title,b=(l.children,l.style),E=l.className,w=(0,s.Z)(l,el),y=(0,eo.Z)(w,B),S=U(c),x="".concat(k,"-option"),M=i()(k,x,E,(d={},(0,o.Z)(d,"".concat(x,"-grouped"),a),(0,o.Z)(d,"".concat(x,"-active"),K===t&&!h),(0,o.Z)(d,"".concat(x,"-disabled"),h),(0,o.Z)(d,"".concat(x,"-selected"),S),d)),I=G(e),R="number"==typeof I?I:I||c,D=eu(R)?R.toString():void 0;return void 0!==g&&(D=g),v.createElement("div",(0,r.Z)({},(0,Z.Z)(y),{"aria-selected":S,className:M,title:D,onMouseMove:function(){K===t||h||W(t)},onClick:function(){h||Y(c)},style:b}),v.createElement("div",{className:"".concat(x,"-content")},R),v.isValidElement(N)||S,(!N||"function"==typeof N||S)&&v.createElement(C,{className:"".concat(k,"-option-state"),customizeIcon:N,customizeIconProps:{isSelected:S}},S?"✓":null))}))});ec.displayName="OptionList";var es=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ef=["inputValue"],ed=v.forwardRef(function(e,t){var n,a,i,p,m,h=e.id,g=e.mode,b=e.prefixCls,E=e.backfill,w=e.fieldNames,Z=e.inputValue,y=e.searchValue,C=e.onSearch,S=e.autoClearSearchValue,M=void 0===S||S,I=e.onSelect,N=e.onDeselect,R=e.dropdownMatchSelectWidth,D=void 0===R||R,T=e.filterOption,O=e.filterSort,P=e.optionFilterProp,k=e.optionLabelProp,L=e.options,V=e.children,H=e.defaultActiveFirstOption,_=e.menuItemSelectedIcon,K=e.virtual,j=e.listHeight,G=void 0===j?200:j,et=e.listItemHeight,en=void 0===et?20:et,eo=e.value,er=e.defaultValue,ea=e.labelInValue,el=e.onChange,eu=(0,s.Z)(e,es),ed=(n=v.useState(),i=(a=(0,c.Z)(n,2))[0],p=a[1],v.useEffect(function(){var e;p("rc_select_".concat((q?(e=X,X+=1):e="TEST_OR_SSR",e)))},[]),h||i),ep=W(g),ev=!!(!L&&V),em=v.useMemo(function(){return(void 0!==T||"combobox"!==g)&&T},[T,g]),eh=v.useMemo(function(){return F(w,ev)},[JSON.stringify(w),ev]),eg=(0,d.Z)("",{value:void 0!==y?y:Z,postState:function(e){return e||""}}),eb=(0,c.Z)(eg,2),eE=eb[0],ew=eb[1],eZ=v.useMemo(function(){var e=L;L||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,Q.Z)(t).map(function(t,o){if(!v.isValidElement(t)||!t.type)return null;var r,a,i,l,c,f=t.type.isSelectOptGroup,d=t.key,p=t.props,m=p.children,h=(0,s.Z)(p,$);return n||!f?(r=t.key,i=(a=t.props).children,l=a.value,c=(0,s.Z)(a,J),(0,u.Z)({key:r,value:void 0!==l?l:r,children:i},c)):(0,u.Z)((0,u.Z)({key:"__RC_SELECT_GRP__".concat(null===d?o:d,"__"),label:d},h),{},{options:e(m)})}).filter(function(e){return e})}(V));var t=new Map,n=new Map,o=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(r){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],a=F(n,!1),i=a.label,l=a.value,u=a.options;return!function e(t,n){t.forEach(function(t){var a=t[i];if(!n&&u in t){var c=a;void 0===c&&o&&(c=t.label),r.push({key:A(t,r.length),group:!0,data:t,label:c}),e(t[u],!0)}else{var s=t[l];r.push({key:A(t,r.length),groupOption:n,data:t,label:a,value:s})}})}(e,!1),r}(eA,{fieldNames:eh,childrenAsData:ev})},[eA,eh,ev]),ez=function(e){var t=ex(e);if(eR(t),el&&(t.length!==eO.length||t.some(function(e,t){var n;return(null===(n=eO[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=ea?t:t.map(function(e){return e.value}),o=t.map(function(e){return z(eP(e.value))});el(ep?n:n[0],ep?o:o[0])}},eK=v.useState(null),ej=(0,c.Z)(eK,2),eW=ej[0],eU=ej[1],eY=v.useState(0),eB=(0,c.Z)(eY,2),eG=eB[0],eX=eB[1],eq=void 0!==H?H:"combobox"!==g,eQ=v.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eX(t),E&&"combobox"===g&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eU(String(e))},[E,g]),eJ=function(e,t,n){var o=function(){var t,n=eP(e);return[ea?{label:null==n?void 0:n[eh.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,z(n)]};if(t&&I){var r=o(),a=(0,c.Z)(r,2);I(a[0],a[1])}else if(!t&&N&&"clear"!==n){var i=o(),l=(0,c.Z)(i,2);N(l[0],l[1])}},e$=ee(function(e,t){var n=!ep||t.selected;ez(n?ep?[].concat((0,l.Z)(eO),[e]):[e]:eO.filter(function(t){return t.value!==e})),eJ(e,n),"combobox"===g?eU(""):(!W||M)&&(ew(""),eU(""))}),e0=v.useMemo(function(){return(0,u.Z)((0,u.Z)({},eZ),{},{flattenOptions:eF,onActiveValue:eQ,defaultActiveFirstOption:eq,onSelect:e$,menuItemSelectedIcon:_,rawValues:eL,fieldNames:eh,virtual:!1!==K&&!1!==D,listHeight:G,listItemHeight:en,childrenAsData:ev})},[eZ,eF,eQ,eq,e$,_,eL,eh,K,D,G,en,ev]);return v.createElement(ei.Provider,{value:e0},v.createElement(U,(0,r.Z)({},eu,{id:ed,prefixCls:void 0===b?"rc-select":b,ref:t,omitDomProps:ef,mode:g,displayValues:ek,onDisplayValuesChange:function(e,t){ez(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){eJ(e.value,!1,n)})},searchValue:eE,onSearch:function(e,t){if(ew(e),eU(null),"submit"===t.source){var n=(e||"").trim();n&&(ez(Array.from(new Set([].concat((0,l.Z)(eL),[n])))),eJ(n,!0),ew(""));return}"blur"!==t.source&&("combobox"===g&&ez(e),null==C||C(e))},autoClearSearchValue:M,onSearchSplit:function(e){var t=e;"tags"!==g&&(t=e.map(function(e){var t=eC.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,l.Z)(eL),(0,l.Z)(t))));ez(n),n.forEach(function(e){eJ(e,!0)})},dropdownMatchSelectWidth:D,OptionList:ec,emptyOptions:!eF.length,activeValue:eW,activeDescendantId:"".concat(ed,"_list_").concat(eG)})))});ed.Option=en,ed.OptGroup=et;var ep=n(53124),ev=n(88258),em=n(98866),eh=n(97647),eg=n(65223),eb=n(33603),eE=n(9708),ew=n(63606),eZ=n(4340),ey=n(97937),eC=n(80882),eS=n(50888),ex=n(68795),eM=n(4173),eI=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},eN="SECRET_COMBOBOX_MODE_DO_NOT_USE",eR=v.forwardRef(function(e,t){var n,a,l=e.prefixCls,u=e.bordered,c=e.className,s=e.getPopupContainer,f=e.dropdownClassName,d=e.popupClassName,p=e.listHeight,m=e.placement,h=e.listItemHeight,g=e.size,b=e.disabled,E=e.notFoundContent,w=e.status,Z=e.showArrow,y=eI(e,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),C=v.useContext(ep.E_),S=C.getPopupContainer,x=C.getPrefixCls,M=C.renderEmpty,I=C.direction,N=C.virtual,R=C.dropdownMatchSelectWidth,D=v.useContext(eh.Z),T=x("select",l),O=x(),P=(0,eM.ri)(T,I),k=P.compactSize,L=P.compactItemClassnames,V=v.useMemo(function(){var e=y.mode;return"combobox"===e?void 0:e===eN?"combobox":e},[y.mode]),H="multiple"===V||"tags"===V,_=void 0!==Z?Z:y.loading||!(H||"combobox"===V),A=(0,v.useContext)(eg.aM),F=A.status,z=A.hasFeedback,K=A.isFormItemInput,j=A.feedbackIcon,W=(0,eE.F)(F,w);a=void 0!==E?E:"combobox"===V?null:(M||ev.Z)("Select");var U=function(e){var t=e.suffixIcon,n=e.clearIcon,o=e.menuItemSelectedIcon,r=e.removeIcon,a=e.loading,i=e.multiple,l=e.hasFeedback,u=e.prefixCls,c=e.showArrow,s=e.feedbackIcon,f=null!=n?n:v.createElement(eZ.Z,null),d=function(e){return v.createElement(v.Fragment,null,!1!==c&&e,l&&s)},p=null;if(void 0!==t)p=d(t);else if(a)p=d(v.createElement(eS.Z,{spin:!0}));else{var m="".concat(u,"-suffix");p=function(e){var t=e.open,n=e.showSearch;return t&&n?d(v.createElement(ex.Z,{className:m})):d(v.createElement(eC.Z,{className:m}))}}var h=null;return h=void 0!==o?o:i?v.createElement(ew.Z,null):null,{clearIcon:f,suffixIcon:p,itemIcon:h,removeIcon:void 0!==r?r:v.createElement(ey.Z,null)}}((0,r.Z)((0,r.Z)({},y),{multiple:H,hasFeedback:z,feedbackIcon:j,showArrow:_,prefixCls:T})),Y=U.suffixIcon,B=U.itemIcon,G=U.removeIcon,X=U.clearIcon,q=(0,eo.Z)(y,["suffixIcon","itemIcon"]),Q=i()(d||f,(0,o.Z)({},"".concat(T,"-dropdown-").concat(I),"rtl"===I)),J=k||g||D,$=v.useContext(em.Z),ee=i()((n={},(0,o.Z)(n,"".concat(T,"-lg"),"large"===J),(0,o.Z)(n,"".concat(T,"-sm"),"small"===J),(0,o.Z)(n,"".concat(T,"-rtl"),"rtl"===I),(0,o.Z)(n,"".concat(T,"-borderless"),!(void 0===u||u)),(0,o.Z)(n,"".concat(T,"-in-form-item"),K),n),(0,eE.Z)(T,W,z),L,c);return v.createElement(ed,(0,r.Z)({ref:t,virtual:N,dropdownMatchSelectWidth:R},q,{transitionName:(0,eb.mL)(O,(0,eb.q0)(m),y.transitionName),listHeight:void 0===p?256:p,listItemHeight:void 0===h?24:h,mode:V,prefixCls:T,placement:void 0!==m?m:"rtl"===I?"bottomRight":"bottomLeft",direction:I,inputIcon:Y,menuItemSelectedIcon:B,removeIcon:G,clearIcon:X,notFoundContent:a,className:ee,getPopupContainer:s||S,dropdownClassName:Q,showArrow:z||Z,disabled:null!=b?b:$}))});eR.SECRET_COMBOBOX_MODE_DO_NOT_USE=eN,eR.Option=en,eR.OptGroup=et;var eD=eR},73453:function(e,t,n){n.d(t,{Z:function(){return O}});var o=n(87462),r=n(4942),a=n(1413),i=n(97685),l=n(45987),u=n(67294),c=n(94184),s=n.n(c),f=n(48555),d=u.forwardRef(function(e,t){var n=e.height,o=e.offset,i=e.children,l=e.prefixCls,c=e.onInnerResize,d={},p={display:"flex",flexDirection:"column"};return void 0!==o&&(d={height:n,position:"relative",overflow:"hidden"},p=(0,a.Z)((0,a.Z)({},p),{},{transform:"translateY(".concat(o,"px)"),position:"absolute",left:0,right:0,top:0})),u.createElement("div",{style:d},u.createElement(f.default,{onResize:function(e){e.offsetHeight&&c&&c()}},u.createElement("div",{style:p,className:s()((0,r.Z)({},"".concat(l,"-holder-inner"),l)),ref:t},i)))});d.displayName="Filler";var p=n(15671),v=n(43144),m=n(60136),h=n(33643),g=n(75164);function b(e){return"touches"in e?e.touches[0].pageY:e.pageY}var E=function(e){(0,m.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,p.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;an},e}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,t=e.dragging,n=e.visible,o=this.props.prefixCls,a=this.getSpinHeight(),i=this.getTop(),l=this.showScroll();return u.createElement("div",{ref:this.scrollbarRef,className:s()("".concat(o,"-scrollbar"),(0,r.Z)({},"".concat(o,"-scrollbar-show"),l)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:l&&n?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},u.createElement("div",{ref:this.thumbRef,className:s()("".concat(o,"-scrollbar-thumb"),(0,r.Z)({},"".concat(o,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:a,top:i,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),n}(u.Component);function w(e){var t=e.children,n=e.setRef,o=u.useCallback(function(e){n(e)},[]);return u.cloneElement(t,{ref:o})}var Z=n(34203),y=function(){function e(){(0,p.Z)(this,e),this.maps=void 0,this.maps=Object.create(null)}return(0,v.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),C=n(71002),S=("undefined"==typeof navigator?"undefined":(0,C.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),x=function(e,t){var n=(0,u.useRef)(!1),o=(0,u.useRef)(null),r=(0,u.useRef)({top:e,bottom:t});return r.current.top=e,r.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e<0&&r.current.top||e>0&&r.current.bottom;return t&&a?(clearTimeout(o.current),n.current=!1):(!a||n.current)&&(clearTimeout(o.current),n.current=!0,o.current=setTimeout(function(){n.current=!1},50)),!n.current&&a}},M=n(8410),I=14/15,N=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"],R=[],D={overflowY:"auto",overflowAnchor:"none"},T=u.forwardRef(function(e,t){var n,c,f,p,v,m,h,b,T,O,P,k,L,V,H,_,A,F,z,K,j,W,U,Y,B,G,X=e.prefixCls,q=void 0===X?"rc-virtual-list":X,Q=e.className,J=e.height,$=e.itemHeight,ee=e.fullHeight,et=e.style,en=e.data,eo=e.children,er=e.itemKey,ea=e.virtual,ei=e.component,el=e.onScroll,eu=e.onVisibleChange,ec=(0,l.Z)(e,N),es=!!(!1!==ea&&J&&$),ef=es&&en&&$*en.length>J,ed=(0,u.useState)(0),ep=(0,i.Z)(ed,2),ev=ep[0],em=ep[1],eh=(0,u.useState)(!1),eg=(0,i.Z)(eh,2),eb=eg[0],eE=eg[1],ew=s()(q,Q),eZ=en||R,ey=(0,u.useRef)(),eC=(0,u.useRef)(),eS=(0,u.useRef)(),ex=u.useCallback(function(e){return"function"==typeof er?er(e):null==e?void 0:e[er]},[er]);function eM(e){em(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(ej.current)||(n=Math.min(n,ej.current)),n=Math.max(n,0));return ey.current.scrollTop=o,o})}var eI=(0,u.useRef)({start:0,end:eZ.length}),eN=(0,u.useRef)(),eR=(c=u.useState(eZ),p=(f=(0,i.Z)(c,2))[0],v=f[1],m=u.useState(null),b=(h=(0,i.Z)(m,2))[0],T=h[1],u.useEffect(function(){var e=function(e,t,n){var o,r,a=e.length,i=t.length;if(0===a&&0===i)return null;a=ev&&void 0===t&&(t=i,n=r),c>ev+J&&void 0===o&&(o=i),r=c}return void 0===t&&(t=0,n=0,o=Math.ceil(J/$)),void 0===o&&(o=eZ.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,eZ.length),offset:n}},[ef,es,ev,eZ,eV,J]),e_=eH.scrollHeight,eA=eH.start,eF=eH.end,ez=eH.offset;eI.current.start=eA,eI.current.end=eF;var eK=e_-J,ej=(0,u.useRef)(eK);ej.current=eK;var eW=ev<=0,eU=ev>=eK,eY=x(eW,eU),eB=(O=function(e){eM(function(t){return t+e})},P=(0,u.useRef)(0),k=(0,u.useRef)(null),L=(0,u.useRef)(null),V=(0,u.useRef)(!1),H=x(eW,eU),[function(e){if(es){g.Z.cancel(k.current);var t=e.deltaY;P.current+=t,L.current=t,H(t)||(S||e.preventDefault(),k.current=(0,g.Z)(function(){var e=V.current?10:1;O(P.current*e),P.current=0}))}},function(e){es&&(V.current=e.detail===L.current)}]),eG=(0,i.Z)(eB,2),eX=eG[0],eq=eG[1];_=function(e,t){return!eY(e,t)&&(eX({preventDefault:function(){},deltaY:e}),!0)},F=(0,u.useRef)(!1),z=(0,u.useRef)(0),K=(0,u.useRef)(null),j=(0,u.useRef)(null),W=function(e){if(F.current){var t=Math.ceil(e.touches[0].pageY),n=z.current-t;z.current=t,_(n)&&e.preventDefault(),clearInterval(j.current),j.current=setInterval(function(){(!_(n*=I,!0)||.1>=Math.abs(n))&&clearInterval(j.current)},16)}},U=function(){F.current=!1,A()},Y=function(e){A(),1!==e.touches.length||F.current||(F.current=!0,z.current=Math.ceil(e.touches[0].pageY),K.current=e.target,K.current.addEventListener("touchmove",W),K.current.addEventListener("touchend",U))},A=function(){K.current&&(K.current.removeEventListener("touchmove",W),K.current.removeEventListener("touchend",U))},(0,M.Z)(function(){return es&&ey.current.addEventListener("touchstart",Y),function(){var e;null===(e=ey.current)||void 0===e||e.removeEventListener("touchstart",Y),A(),clearInterval(j.current)}},[es]),(0,M.Z)(function(){function e(e){es&&e.preventDefault()}return ey.current.addEventListener("wheel",eX),ey.current.addEventListener("DOMMouseScroll",eq),ey.current.addEventListener("MozMousePixelScroll",e),function(){ey.current&&(ey.current.removeEventListener("wheel",eX),ey.current.removeEventListener("DOMMouseScroll",eq),ey.current.removeEventListener("MozMousePixelScroll",e))}},[es]);var eQ=(B=function(){var e;null===(e=eS.current)||void 0===e||e.delayHidden()},G=u.useRef(),function(e){if(null==e){B();return}if(g.Z.cancel(G.current),"number"==typeof e)eM(e);else if(e&&"object"===(0,C.Z)(e)){var t,n=e.align;t="index"in e?e.index:eZ.findIndex(function(t){return ex(t)===e.key});var o=e.offset,r=void 0===o?0:o;!function e(o,a){if(!(o<0)&&ey.current){var i=ey.current.clientHeight,l=!1,u=a;if(i){for(var c=0,s=0,f=0,d=Math.min(eZ.length,t),p=0;p<=d;p+=1){var v=ex(eZ[p]);s=c;var m=eL.get(v);c=f=s+(void 0===m?$:m),p===t&&void 0===m&&(l=!0)}var h=null;switch(a||n){case"top":h=s-r;break;case"bottom":h=f-i+r;break;default:var b=ey.current.scrollTop;sb+i&&(u="bottom")}null!==h&&h!==ey.current.scrollTop&&eM(h)}G.current=(0,g.Z)(function(){l&&ek(),e(o-1,u)})}}(3)}});u.useImperativeHandle(t,function(){return{scrollTo:eQ}}),(0,M.Z)(function(){eu&&eu(eZ.slice(eA,eF+1),eZ)},[eA,eF,eZ]);var eJ=eZ.slice(eA,eF+1).map(function(e,t){var n=eo(e,eA+t,{}),o=ex(e);return u.createElement(w,{key:o,setRef:function(t){return eP(e,t)}},n)}),e$=null;return J&&(e$=(0,a.Z)((0,r.Z)({},void 0===ee||ee?"height":"maxHeight",J),D),es&&(e$.overflowY="hidden",eb&&(e$.pointerEvents="none"))),u.createElement("div",(0,o.Z)({style:(0,a.Z)((0,a.Z)({},et),{},{position:"relative"}),className:ew},ec),u.createElement(void 0===ei?"div":ei,{className:"".concat(q,"-holder"),style:e$,ref:ey,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==ev&&eM(t),null==el||el(e)}},u.createElement(d,{prefixCls:q,height:e_,offset:ez,onInnerResize:ek,ref:eC},eJ)),es&&u.createElement(E,{ref:eS,prefixCls:q,scrollTop:ev,height:J,scrollHeight:e_,count:eZ.length,onScroll:function(e){eM(e)},onStartMove:function(){eE(!0)},onStopMove:function(){eE(!1)}}))});T.displayName="List";var O=T}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/d2094a0f-ffa3d9fcb172f7b4.js b/static/web/_next/static/chunks/d2094a0f-60df0b272e9790e9.js similarity index 99% rename from static/web/_next/static/chunks/d2094a0f-ffa3d9fcb172f7b4.js rename to static/web/_next/static/chunks/d2094a0f-60df0b272e9790e9.js index 17501459a..1ca994e56 100644 --- a/static/web/_next/static/chunks/d2094a0f-ffa3d9fcb172f7b4.js +++ b/static/web/_next/static/chunks/d2094a0f-60df0b272e9790e9.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8700],{96391:function(e,t,r){r.d(t,{BU:function(){return ty},CX:function(){return ts},F3:function(){return ew},UE:function(){return th},mH:function(){return tm},vt:function(){return eq}});var a=r(6907),n=r.n(a),o=r(23279),i=r.n(o),s=r(23493),l=r.n(s),d=r(67294),c=r(12615),u=r(77493),f=r(18156),v=r(73935);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var g=0;class m{constructor(){this.id="".concat(g++)}}var w=new WeakMap,b=new WeakMap,M=new WeakMap,x=new WeakMap,k=new WeakMap,y=new WeakMap,E=new WeakMap,L=new WeakMap,D=new WeakMap,C=new WeakMap,O=new WeakMap,S=new WeakMap,F=new WeakMap,B=new WeakMap,T=new WeakMap,R=new WeakMap,P=new WeakMap,N=new WeakMap,W=new WeakMap,j=new WeakMap,A=new WeakMap,I=Symbol("placeholder"),q=Symbol("mark-placeholder"),Y=globalThis.Text,$=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,U=e=>z(e)&&8===e.nodeType,_=e=>z(e)&&1===e.nodeType,z=e=>{var t=$(e);return!!t&&e instanceof t.Node},V=e=>{var t=e&&e.anchorNode&&$(e.anchorNode);return!!t&&e instanceof t.Selection},H=e=>z(e)&&3===e.nodeType,K=e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length,X=e=>{var[t,r]=e;if(_(t)&&t.childNodes.length){var a=r===t.childNodes.length,n=a?r-1:r;for([t,n]=Q(t,n,a?"backward":"forward"),a=n!!(window.document.activeElement&&window.document.activeElement.shadowRoot),Q=(e,t,r)=>{for(var{childNodes:a}=e,n=a[t],o=t,i=!1,s=!1;(U(n)||_(n)&&0===n.childNodes.length||_(n)&&"false"===n.getAttribute("contenteditable"))&&(!i||!s);){if(o>=a.length){i=!0,o=t-1,r="backward";continue}if(o<0){s=!0,o=t+1,r="forward";continue}n=a[o],t=o,o+="forward"===r?1:-1}return[n,t]},Z=(e,t,r)=>{var[a]=Q(e,t,r);return a},G=e=>{var t="";if(H(e)&&e.nodeValue)return e.nodeValue;if(_(e)){for(var r of Array.from(e.childNodes))t+=G(r);var a=getComputedStyle(e).getPropertyValue("display");("block"===a||"list"===a||"BR"===e.tagName)&&(t+="\n")}return t},ee=/data-slate-fragment="(.+?)"/m,et=e=>{var[,t]=e.getData("text/html").match(ee)||[];return t},er=(e,t,r)=>{var{target:a}=t;if(_(a)&&a.matches('[contentEditable="false"]'))return!1;var{document:n}=ew.getWindow(e);if(n.contains(a))return ew.hasDOMNode(e,a,{editable:!0});var o=r.find(e=>{var{addedNodes:t,removedNodes:r}=e;for(var n of t)if(n===a||n.contains(a))return!0;for(var o of r)if(o===a||o.contains(a))return!0});return!!o&&o!==t&&er(e,o,r)},ea=parseInt(d.version.split(".")[0],10)>=17,en="undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,eo="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),ei="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),es="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),el="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),ed="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),ec="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),eu="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),ef="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),ev="undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent),eh="undefined"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),ep="undefined"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent),eg=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),em=!eu&&!ed&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,ew={isComposing:e=>!!S.get(e),getWindow(e){var t=M.get(e);if(!t)throw Error("Unable to find a host window element for this editor");return t},findKey(e,t){var r=L.get(t);return r||(r=new m,L.set(t,r)),r},findPath(e,t){for(var r=[],a=t;;){var n=b.get(a);if(null==n){if(u.ML.isEditor(a))return r;break}var o=w.get(a);if(null==o)break;r.unshift(o),a=n}throw Error("Unable to find the path for Slate node: ".concat(u.o4.stringify(t)))},findDocumentOrShadowRoot(e){var t=ew.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=>!!C.get(e),blur(e){var t=ew.toDOMNode(e,e),r=ew.findDocumentOrShadowRoot(e);O.set(e,!1),r.activeElement===t&&t.blur()},focus(e){var t=ew.toDOMNode(e,e),r=ew.findDocumentOrShadowRoot(e);O.set(e,!0),r.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){var{selection:t}=e,r=ew.findDocumentOrShadowRoot(e).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),t&&u.YR.deselect(e)},hasDOMNode(e,t){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:n=!1}=a,o=ew.toDOMNode(e,e);try{r=_(t)?t:t.parentElement}catch(i){if(!i.message.includes('Permission denied to access property "nodeType"'))throw i}return!!r&&r.closest("[data-slate-editor]")===o&&(!n||!!r.isContentEditable||"boolean"==typeof r.isContentEditable&&r.closest('[contenteditable="false"]')===o||!!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=D.get(e),a=u.ML.isEditor(t)?x.get(e):null==r?void 0:r.get(ew.findKey(e,t));if(!a)throw Error("Cannot resolve a DOM node from Slate node: ".concat(u.o4.stringify(t)));return a},toDOMPoint(e,t){var[r]=u.ML.node(e,t.path),a=ew.toDOMNode(e,r);u.ML.void(e,{at:t})&&(t={path:t.path,offset:0});for(var n=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),o=0,i=0;i{if(ei&&!a&&e.hasAttribute("data-slate-zero-width")&&e.textContent.length>0&&"\uFEFF"!==e.textContext){e.textContent.startsWith("\uFEFF")&&(e.textContent=e.textContent.slice(1));return}e.parentNode.removeChild(e)}),d=b.textContent.length,m=l}}else if(p){for(var M=p.querySelectorAll("[data-slate-leaf]"),x=0;x{d-=e.textContent.length})):d=1}m&&d===m.textContent.length&&ei&&"z"===m.getAttribute("data-slate-zero-width")&&null!==(c=m.textContent)&&void 0!==c&&c.startsWith("\uFEFF")&&(s.hasAttribute("data-slate-zero-width")||es&&null!==(f=m.textContent)&&void 0!==f&&f.endsWith("\n\n"))&&d--}if(ei&&!l&&!a){var y=s.hasAttribute("data-slate-node")?s:s.closest("[data-slate-node]");if(y&&ew.hasDOMNode(e,y,{editable:!0})){var E=ew.toSlateNode(e,y),{path:L,offset:D}=u.ML.start(e,ew.findPath(e,E));return y.querySelector("[data-slate-leaf]")||(D=i),{path:L,offset:D}}}if(!l){if(n)return null;throw Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var C=ew.toSlateNode(e,l),O=ew.findPath(e,C);return{path:O,offset:d}},toSlateRange(e,t,r){var a,n,o,i,s,{exactMatch:l,suppressThrow:d}=r;if((V(t)?t.anchorNode:t.startContainer)&&(V(t)?(a=t.anchorNode,n=t.anchorOffset,o=t.focusNode,i=t.focusOffset,s=ec&&J()?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(a=t.startContainer,n=t.startOffset,o=t.endContainer,i=t.endOffset,s=t.collapsed)),null==a||null==o||null==n||null==i)throw Error("Cannot resolve a Slate range from DOM range: ".concat(t));var c=ew.toSlatePoint(e,[a,n],{exactMatch:l,suppressThrow:d});if(!c)return null;var f=s?c:ew.toSlatePoint(e,[o,i],{exactMatch:l,suppressThrow:d});if(!f)return null;var v={anchor:c,focus:f};return u.e6.isExpanded(v)&&u.e6.isForward(v)&&_(o)&&u.ML.void(e,{at:v.focus,mode:"highest"})&&(v=u.ML.unhangRange(e,v,{voids:!0})),v},hasRange(e,t){var{anchor:r,focus:a}=t;return u.ML.hasPath(e,r.path)&&u.ML.hasPath(e,a.path)},hasTarget:(e,t)=>z(t)&&ew.hasDOMNode(e,t),hasEditableTarget:(e,t)=>z(t)&&ew.hasDOMNode(e,t,{editable:!0}),hasSelectableTarget:(e,t)=>ew.hasEditableTarget(e,t)||ew.isTargetInsideNonReadonlyVoid(e,t),isTargetInsideNonReadonlyVoid(e,t){if(C.get(e))return!1;var r=ew.hasTarget(e,t)&&ew.toSlateNode(e,t);return u.ML.isVoid(e,r)},androidScheduleFlush(e){var t;null===(t=T.get(e))||void 0===t||t()},androidPendingDiffs:e=>N.get(e)},eb=eg?d.useLayoutEffect:d.useEffect,eM=["anchor","focus"],ex=["anchor","focus"],ek=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(r=>t.hasOwnProperty(r)&&e[r]===t[r]),ey=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r{var{isLast:t,leaf:r,parent:a,text:n}=e,o=eO(),i=ew.findPath(o,n),s=u.y$.parent(i),l=!0===r[q];return o.isVoid(a)?d.createElement(eD,{length:u.NB.string(a).length}):""!==r.text||a.children[a.children.length-1]!==n||o.isInline(a)||""!==u.ML.string(o,s)?""===r.text?d.createElement(eD,{isMarkPlaceholder:l}):t&&"\n"===r.text.slice(-1)?d.createElement(eL,{isTrailing:!0,text:r.text}):d.createElement(eL,{text:r.text}):d.createElement(eD,{isLineBreak:!0,isMarkPlaceholder:l})},eL=e=>{var{text:t,isTrailing:r=!1}=e,a=(0,d.useRef)(null),n=()=>"".concat(null!=t?t:"").concat(r?"\n":"");return(eb(()=>{var e=n();a.current&&a.current.textContent!==e&&(a.current.textContent=e)}),a.current)?d.createElement("span",{"data-slate-string":!0,ref:a}):d.createElement("span",{"data-slate-string":!0,ref:a},n())},eD=e=>{var{length:t=0,isLineBreak:r=!1,isMarkPlaceholder:a=!1}=e,n={"data-slate-zero-width":r?"n":"z","data-slate-length":t};return a&&(n["data-slate-mark-placeholder"]=!0),d.createElement("span",Object.assign({},n),ei&&r?null:"\uFEFF",r?d.createElement("br",null):null)},eC=(0,d.createContext)(null),eO=()=>{var e=(0,d.useContext)(eC);if(!e)throw Error("The `useSlateStatic` hook must be used inside the component's context.");return e},eS=e=>{var{leaf:t,isLast:r,text:a,parent:n,renderPlaceholder:o,renderLeaf:i=e=>d.createElement(eB,Object.assign({},e))}=e,s=(0,d.useRef)(null),l=eO();(0,d.useEffect)(()=>{var e=null==s?void 0:s.current,t=ew.toDOMNode(l,l);if(e&&t)return t.style.minHeight="".concat(e.clientHeight,"px"),k.set(l,e),()=>{t.style.minHeight="auto",k.delete(l)}},[s,t]);var c=d.createElement(eE,{isLast:r,leaf:t,parent:n,text:a});if(t[I]){var u={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}};c=d.createElement(d.Fragment,null,o(u),c)}return i({attributes:{"data-slate-leaf":!0},children:c,leaf:t,text:a})},eF=d.memo(eS,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&u.xv.equals(t.leaf,e.leaf)&&t.leaf[I]===e.leaf[I]),eB=e=>{var{attributes:t,children:r}=e;return d.createElement("span",Object.assign({},t),r)},eT=e=>{for(var{decorations:t,isLast:r,parent:a,renderPlaceholder:n,renderLeaf:o,text:i}=e,s=eO(),l=(0,d.useRef)(null),c=u.xv.decorations(i,t),f=ew.findKey(s,i),v=[],h=0;h{var e=D.get(s);l.current?(null==e||e.set(f,l.current),E.set(i,l.current),y.set(l.current,i)):(null==e||e.delete(f),E.delete(i))}),d.createElement("span",{"data-slate-node":"text",ref:l},v)},eR=d.memo(eT,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text&&ey(t.decorations,e.decorations)),eP=e=>{var{decorations:t,element:r,renderElement:a=e=>d.createElement(eW,Object.assign({},e)),renderPlaceholder:o,renderLeaf:i,selection:s}=e,l=eO(),c=eU(),f=l.isInline(r),v=ew.findKey(l,r),h=(0,d.useCallback)(e=>{var t=D.get(l);e?(null==t||t.set(v,e),E.set(r,e),y.set(e,r)):(null==t||t.delete(v),E.delete(r))},[l,v,r]),p=eY({decorations:t,node:r,renderElement:a,renderPlaceholder:o,renderLeaf:i,selection:s}),g={"data-slate-node":"element",ref:h};if(f&&(g["data-slate-inline"]=!0),!f&&u.ML.hasInlines(l,r)){var m=u.NB.string(r),M=n()(m);"rtl"===M&&(g.dir=M)}if(u.ML.isVoid(l,r)){g["data-slate-void"]=!0,!c&&f&&(g.contentEditable=!1);var[[x]]=u.NB.texts(r);p=d.createElement(f?"span":"div",{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},d.createElement(eR,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:x})),w.set(x,0),b.set(x,r)}return a({attributes:g,children:p,element:r})},eN=d.memo(eP,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&ey(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&u.e6.equals(e.selection,t.selection))),eW=e=>{var{attributes:t,children:r,element:a}=e,n=eO().isInline(a)?"span":"div";return d.createElement(n,Object.assign({},t,{style:{position:"relative"}}),r)},ej=(0,d.createContext)(()=>[]),eA=()=>(0,d.useContext)(ej),eI=(0,d.createContext)(!1),eq=()=>(0,d.useContext)(eI),eY=e=>{for(var{decorations:t,node:r,renderElement:a,renderPlaceholder:n,renderLeaf:o,selection:i}=e,s=eA(),l=eO(),c=ew.findPath(l,r),f=[],v=u.W_.isElement(r)&&!l.isInline(r)&&u.ML.hasInlines(l,r),h=0;h(0,d.useContext)(e$),e_=(0,d.createContext)(null),ez=()=>{var e=(0,d.useContext)(e_);if(!e)throw Error("The `useSlate` hook must be used inside the component's context.");var{editor:t}=e;return t},eV={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"},eH={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"},eK={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},eX=e=>{var t=eV[e],r=eH[e],a=eK[e],n=t&&(0,f.TB)(t),o=r&&(0,f.TB)(r),i=a&&(0,f.TB)(a);return e=>!!(n&&n(e)||eo&&o&&o(e)||!eo&&i&&i(e))},eJ={isBold:eX("bold"),isCompose:eX("compose"),isMoveBackward:eX("moveBackward"),isMoveForward:eX("moveForward"),isDeleteBackward:eX("deleteBackward"),isDeleteForward:eX("deleteForward"),isDeleteLineBackward:eX("deleteLineBackward"),isDeleteLineForward:eX("deleteLineForward"),isDeleteWordBackward:eX("deleteWordBackward"),isDeleteWordForward:eX("deleteWordForward"),isExtendBackward:eX("extendBackward"),isExtendForward:eX("extendForward"),isExtendLineBackward:eX("extendLineBackward"),isExtendLineForward:eX("extendLineForward"),isItalic:eX("italic"),isMoveLineBackward:eX("moveLineBackward"),isMoveLineForward:eX("moveLineForward"),isMoveWordBackward:eX("moveWordBackward"),isMoveWordForward:eX("moveWordForward"),isRedo:eX("redo"),isSoftBreak:eX("insertSoftBreak"),isSplitBlock:eX("splitBlock"),isTransposeCharacter:eX("transposeCharacter"),isUndo:eX("undo")},eQ=(e,t)=>{var r=[],a=()=>{r=[]},n=a=>{if(t.current){var n=a.filter(t=>er(e,t,a));r.push(...n)}};return{registerMutations:n,restoreDOM:function(){r.reverse().forEach(e=>{if("characterData"===e.type){e.target.textContent=e.oldValue;return}e.removedNodes.forEach(t=>{e.target.insertBefore(t,e.nextSibling)}),e.addedNodes.forEach(t=>{e.target.removeChild(t)})}),a()},clear:a}},eZ={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class eG extends d.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var e,{node:t}=this.props;if(!t.current)throw Error("Failed to attach MutationObserver, `node` is undefined");null===(e=this.mutationObserver)||void 0===e||e.observe(t.current,eZ)}componentDidMount(){var{receivedUserInput:e}=this.props,t=this.context;this.manager=eQ(t,e),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var e,t,r,a,n=null===(e=this.mutationObserver)||void 0===e?void 0:e.takeRecords();return null!=n&&n.length&&(null===(a=this.manager)||void 0===a||a.registerMutations(n)),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}}eG.contextType=eC;var e0=ei?eG:e=>{var{children:t}=e;return d.createElement(d.Fragment,null,t)};function e1(e,t){var{start:r,end:a,text:n}=t,o=e.slice(r,a),i=function(e,t){for(var r=Math.min(e.length,t.length),a=0;au.ML.isBlock(e,t),at:r});if(!o)return null;for(;a>n.text.length;){var i=u.ML.next(e,{at:r,match:u.xv.isText});if(!i||!u.y$.isDescendant(i[1],o[1]))return null;a-=n.text.length,n=i[0],r=i[1]}return{path:r,offset:a}}function e2(e,t){var r=e6(e,t.anchor);if(!r)return null;if(u.e6.isCollapsed(t))return{anchor:r,focus:r};var a=e6(e,t.focus);return a?{anchor:r,focus:a}:null}function e9(e,t,r){var a=N.get(e),n=null==a?void 0:a.find(e=>{var{path:r}=e;return u.y$.equals(r,t.path)});if(!n||t.offset<=n.diff.start)return u.E9.transform(t,r,{affinity:"backward"});var{diff:o}=n;if(t.offset<=o.start+o.text.length){var i={path:t.path,offset:o.start},s=u.E9.transform(i,r,{affinity:"backward"});return s?{path:s.path,offset:s.offset+t.offset-o.start}:null}var l={path:t.path,offset:t.offset-o.text.length+o.end-o.start},d=u.E9.transform(l,r,{affinity:"backward"});return d?"split_node"===r.type&&u.y$.equals(r.path,t.path)&&l.offsetd.createElement(d.Fragment,null,eY(e)),ts=e=>{var t,r,a,o,{autoFocus:s,decorate:c=td,onDOMBeforeInput:f,placeholder:v,readOnly:g=!1,renderElement:m,renderLeaf:w,renderPlaceholder:b=e=>d.createElement(tl,Object.assign({},e)),scrollSelectionIntoView:L=tc,style:D={},as:B="div"}=e,Y=p(e,tr),U=ez(),[H,X]=(0,d.useState)(!1),J=(0,d.useRef)(null),Q=(0,d.useRef)([]),{onUserInput:Z,receivedUserInput:G}=(t=eO(),r=(0,d.useRef)(!1),a=(0,d.useRef)(0),o=(0,d.useCallback)(()=>{if(!r.current){r.current=!0;var e=ew.getWindow(t);e.cancelAnimationFrame(a.current),a.current=e.requestAnimationFrame(()=>{r.current=!1})}},[]),(0,d.useEffect)(()=>()=>cancelAnimationFrame(a.current),[]),{receivedUserInput:r,onUserInput:o}),[,ee]=(0,d.useReducer)(e=>e+1,0);A.set(U,ee),C.set(U,g);var et=(0,d.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,d.useEffect)(()=>{J.current&&s&&J.current.focus()},[s]);var ea=(0,d.useCallback)(l()(()=>{if((ei||!ew.isComposing(U))&&(!et.isUpdatingSelection||null!=ed&&ed.isFlushing())&&!et.isDraggingInternally){var e=ew.findDocumentOrShadowRoot(U),{activeElement:t}=e,r=ew.toDOMNode(U,U),a=e.getSelection();if(t===r?(et.latestElement=t,O.set(U,!0)):O.delete(U),!a)return u.YR.deselect(U);var{anchorNode:n,focusNode:o}=a,i=ew.hasEditableTarget(U,n)||ew.isTargetInsideNonReadonlyVoid(U,n),s=ew.hasEditableTarget(U,o)||ew.isTargetInsideNonReadonlyVoid(U,o);if(i&&s){var l=ew.toSlateRange(U,a,{exactMatch:!1,suppressThrow:!0});l&&(ew.isComposing(U)||null!=ed&&ed.hasPendingChanges()||null!=ed&&ed.isFlushing()?null==ed||ed.handleUserSelect(l):u.YR.select(U,l))}!g||i&&s||u.YR.deselect(U)}},100),[g]),eo=(0,d.useMemo)(()=>i()(ea,0),[ea]),ed=function(e){var t,{node:r}=e,a=p(e,e8);if(!ei)return null;var n=eO(),o=(t=(0,d.useRef)(!1),(0,d.useEffect)(()=>(t.current=!0,()=>{t.current=!1}),[]),t.current),[i]=(0,d.useState)(()=>(function(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:a}=e,n=!1,o=null,i=null,s=null,l=0,d=!1,c=()=>{var e=j.get(t);if(j.delete(t),e){var{selection:r}=t,a=e2(t,e);!a||r&&u.e6.equals(a,r)||u.YR.select(t,a)}},f=()=>{var e=W.get(t);if(W.delete(t),e){if(e.at){var r=u.E9.isPoint(e.at)?e6(t,e.at):e2(t,e.at);if(!r)return;var a=u.ML.range(t,r);t.selection&&u.e6.equals(t.selection,a)||u.YR.select(t,r)}e.run()}},v=()=>{if(i&&(clearTimeout(i),i=null),s&&(clearTimeout(s),s=null),!x()&&!M()){c();return}n||(n=!0,setTimeout(()=>n=!1)),M()&&(n="action");var e=t.selection&&u.ML.rangeRef(t,t.selection,{affinity:"forward"});P.set(t,t.marks),e5("flush",W.get(t),N.get(t));for(var o=!!(null!==(l=N.get(t))&&void 0!==l&&l.length);v=null===(h=N.get(t))||void 0===h?void 0:h[0];){var l,v,h,p,g=R.get(t);void 0!==g&&(R.delete(t),t.marks=g),g&&!1===d&&(d=null);var m=function(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}(v);t.selection&&u.e6.equals(t.selection,m)||u.YR.select(t,m),v.diff.text?u.ML.insertText(t,v.diff.text):u.ML.deleteFragment(t),N.set(t,null===(p=N.get(t))||void 0===p?void 0:p.filter(e=>{var{id:t}=e;return t!==v.id})),!function(e,t){var{path:r,diff:a}=t;if(!u.ML.hasPath(e,r))return!1;var n=u.NB.get(e,r);if(!u.xv.isText(n))return!1;if(a.start!==n.text.length||0===a.text.length)return n.text.slice(a.start,a.start+a.text.length)===a.text;var o=u.y$.next(r);if(!u.ML.hasPath(e,o))return!1;var i=u.NB.get(e,o);return u.xv.isText(i)&&i.text.startsWith(a.text)}(t,v)&&(o=!1,W.delete(t),P.delete(t),n="action",j.delete(t),r.cancel(),a.cancel(),null==e||e.unref())}var w=null==e?void 0:e.unref();if(!w||j.get(t)||t.selection&&u.e6.equals(w,t.selection)||u.YR.select(t,w),M()){f();return}o&&r(),r.flush(),a.flush(),c();var b=P.get(t);P.delete(t),void 0!==b&&(t.marks=b,t.onChange())},h=e=>{o&&clearTimeout(o),o=setTimeout(()=>{S.set(t,!1),v()},25)},p=e=>{S.set(t,!0),o&&(clearTimeout(o),o=null)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=k.get(t);if(r){if(x()||e){r.style.display="none";return}r.style.removeProperty("display")}},m=(e,r)=>{var a,n,o,i,s,d,c,f,v,h=null!==(v=N.get(t))&&void 0!==v?v:[];N.set(t,h);var p=u.NB.leaf(t,e),m=h.findIndex(t=>u.y$.equals(t.path,e));if(m<0){e1(p.text,r)&&h.push({path:e,diff:r,id:l++}),g();return}var w=(a=p.text,o=Math.min((n=h[m].diff).start,r.start),i=Math.max(0,Math.min(n.start+n.text.length,r.end)-r.start),s=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;ae.slice(0,t.start)+t.text+e.slice(t.end),e)}(a,n,r),d=Math.max(r.start+r.text.length,n.start+n.text.length+(n.start+n.text.length>r.start?r.text.length:0)-i),c=s.slice(o,d),f=Math.max(n.end,r.end-n.text.length+(n.end-n.start)),e1(a,{start:o,end:f,text:c}));if(!w){h.splice(m,1),g();return}h[m]=e4(e4({},h[m]),{},{diff:w})},w=function(e){var{at:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};d=!1,j.delete(t),r.cancel(),a.cancel(),M()&&v(),W.set(t,{at:n,run:e}),s=setTimeout(v)},b=e=>{i&&(clearTimeout(i),i=null);var{inputType:r}=e,a=null,n=e.dataTransfer||e.data||void 0;!1!==d&&"insertText"!==r&&"insertCompositionText"!==r&&(d=!1);var[o]=e.getTargetRanges();o&&(a=ew.toSlateRange(t,o,{exactMatch:!1,suppressThrow:!0}));var s=ew.getWindow(t).getSelection();if(!a&&s&&(o=s,a=ew.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0})),a=null!==(M=a)&&void 0!==M?M:t.selection){if(u.e6.isExpanded(a)&&r.startsWith("delete")){var[l,c]=u.e6.edges(a);if(u.NB.leaf(t,l.path).text.length===l.offset&&0===c.offset){var f=u.ML.next(t,{at:l.path,match:u.xv.isText});f&&u.y$.equals(f[1],c.path)&&(a={anchor:c,focus:c})}}if(u.e6.isExpanded(a)&&r.startsWith("delete")){if(u.y$.equals(a.anchor.path,a.focus.path)){var[v,h]=u.e6.edges(a);return m(a.anchor.path,{text:"",end:h.offset,start:v.offset})}var p=r.endsWith("Backward")?"backward":"forward";return w(()=>u.ML.deleteFragment(t,{direction:p}),{at:a})}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return w(()=>u.ML.deleteFragment(t),{at:a});case"deleteContent":case"deleteContentForward":var{anchor:g}=a;if(u.e6.isCollapsed(a)){var b=u.NB.leaf(t,g.path);if(g.offsetu.ML.deleteForward(t),{at:a});case"deleteContentBackward":var M,x,{anchor:k}=a;if((V(o)?o.isCollapsed:!!(null!==(x=o)&&void 0!==x&&x.collapsed))&&u.e6.isCollapsed(a)&&k.offset>0)return m(k.path,{text:"",start:k.offset-1,end:k.offset});return w(()=>u.ML.deleteBackward(t),{at:a});case"deleteEntireSoftLine":return w(()=>{u.ML.deleteBackward(t,{unit:"line"}),u.ML.deleteForward(t,{unit:"line"})},{at:a});case"deleteHardLineBackward":return w(()=>u.ML.deleteBackward(t,{unit:"block"}),{at:a});case"deleteSoftLineBackward":return w(()=>u.ML.deleteBackward(t,{unit:"line"}),{at:a});case"deleteHardLineForward":return w(()=>u.ML.deleteForward(t,{unit:"block"}),{at:a});case"deleteSoftLineForward":return w(()=>u.ML.deleteForward(t,{unit:"line"}),{at:a});case"deleteWordBackward":return w(()=>u.ML.deleteBackward(t,{unit:"word"}),{at:a});case"deleteWordForward":return w(()=>u.ML.deleteForward(t,{unit:"word"}),{at:a});case"insertLineBreak":return w(()=>u.ML.insertSoftBreak(t),{at:a});case"insertParagraph":return w(()=>u.ML.insertBreak(t),{at:a});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if((null==n?void 0:n.constructor.name)==="DataTransfer")return w(()=>ew.insertData(t,n),{at:a});if("string"==typeof n&&n.includes("\n"))return w(()=>u.ML.insertSoftBreak(t),{at:u.e6.end(a)});var y=null!=n?n:"";if(R.get(t)&&(y=y.replace("\uFEFF","")),u.y$.equals(a.anchor.path,a.focus.path)){var[E,L]=u.e6.edges(a),D={start:E.offset,end:L.offset,text:y};if(y&&d&&"insertCompositionText"===r){var O=d.start+d.text.search(/\S|$/);D.start+D.text.search(/\S|$/)===O+1&&D.end===d.start+d.text.length?(D.start-=1,d=null,C()):d=!1}else d="insertText"===r&&(null===d?D:!!(d&&u.e6.isCollapsed(a))&&d.end+d.text.length===E.offset&&e4(e4({},d),{},{text:d.text+y}));m(E.path,D);return}return w(()=>u.ML.insertText(t,y),{at:a})}}},M=()=>!!W.get(t),x=()=>{var e;return!!(null!==(e=N.get(t))&&void 0!==e&&e.length)},y=()=>M()||x(),E=e=>{j.set(t,e),i&&(clearTimeout(i),i=null);var{selection:r}=t;if(e){var a=!r||!u.y$.equals(r.anchor.path,e.anchor.path),n=!r||!u.y$.equals(r.anchor.path.slice(0,-1),e.anchor.path.slice(0,-1));(a&&d||n)&&(d=!1),(a||!x())&&(i=setTimeout(v,200))}},L=()=>{(M()||!x())&&v()},D=e=>{x()||(g(!0),setTimeout(g))},C=()=>{M()||(s=setTimeout(v))},O=e=>{if(!(x()||M())&&e.some(r=>er(t,r,e))){var r;null===(r=A.get(t))||void 0===r||r()}};return{flush:v,scheduleFlush:C,hasPendingDiffs:x,hasPendingAction:M,hasPendingChanges:y,isFlushing:()=>n,handleUserSelect:E,handleCompositionEnd:h,handleCompositionStart:p,handleDOMBeforeInput:b,handleKeyDown:D,handleDomMutations:O,handleInput:L}})(function(e){for(var t=1;tnew MutationObserver(t));eb(()=>{a.takeRecords()}),(0,d.useEffect)(()=>{if(!e.current)throw Error("Failed to attach MutationObserver, `node` is undefined");return a.observe(e.current,r),()=>a.disconnect()},[])}(r,i.handleDomMutations,tt),T.set(n,i.scheduleFlush),o&&i.flush(),i}({node:J,onDOMSelectionChange:ea,scheduleOnDOMSelectionChange:eo});eb(()=>{J.current&&(e=$(J.current))?(M.set(U,e),x.set(U,J.current),E.set(U,J.current),y.set(J.current,U)):E.delete(U);var e,{selection:t}=U,r=ew.findDocumentOrShadowRoot(U).getSelection();if(!(!r||!ew.isFocused(U)||null!=ed&&ed.hasPendingAction())){var a=e=>{var a="None"!==r.type;if(t||a){var n=x.get(U),o=!1;if(n.contains(r.anchorNode)&&n.contains(r.focusNode)&&(o=!0),a&&o&&t&&!e){var i=ew.toSlateRange(U,r,{exactMatch:!0,suppressThrow:!0});if(i&&u.e6.equals(i,t)){if(!et.hasMarkPlaceholder)return;var s,{anchorNode:l}=r;if(null!=l&&null!==(s=l.parentElement)&&void 0!==s&&s.hasAttribute("data-slate-mark-placeholder"))return}}if(t&&!ew.hasRange(U,t)){U.selection=ew.toSlateRange(U,r,{exactMatch:!1,suppressThrow:!0});return}et.isUpdatingSelection=!0;var d=t&&ew.toDOMRange(U,t);return d?(u.e6.isBackward(t)?r.setBaseAndExtent(d.endContainer,d.endOffset,d.startContainer,d.startOffset):r.setBaseAndExtent(d.startContainer,d.startOffset,d.endContainer,d.endOffset),L(U,d)):r.removeAllRanges(),d}},n=a(),o=(null==ed?void 0:ed.isFlushing())==="action";if(!ei||!o){setTimeout(()=>{n&&es&&ew.toDOMNode(U,U).focus(),et.isUpdatingSelection=!1});return}var i=null,s=requestAnimationFrame(()=>{if(o){var e=e=>{try{ew.toDOMNode(U,U).focus(),a(e)}catch(t){}};e(),i=setTimeout(()=>{e(!0),et.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(s),i&&clearTimeout(i)}}});var eu=(0,d.useCallback)(e=>{if(Z(),!g&&ew.hasEditableTarget(U,e.target)&&!tf(e,f)){if(ed)return ed.handleDOMBeforeInput(e);eo.flush(),ea.flush();var{selection:t}=U,{inputType:r}=e,a=e.dataTransfer||e.data||void 0,n="insertCompositionText"===r||"deleteCompositionText"===r;if(!(n&&ew.isComposing(U))){var o=!1;if("insertText"===r&&t&&u.e6.isCollapsed(t)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==t.anchor.offset){o=!0,U.marks&&(o=!1);var{anchor:i}=t,[s,l]=ew.toDOMPoint(U,i),d=null===(h=s.parentElement)||void 0===h?void 0:h.closest("a"),c=ew.getWindow(U);if(o&&d&&ew.hasDOMNode(U,d)){var v,h,p,m,w=null==c?void 0:c.document.createTreeWalker(d,NodeFilter.SHOW_TEXT).lastChild();w===s&&(null===(m=w.textContent)||void 0===m?void 0:m.length)===l&&(o=!1)}if(o&&s.parentElement&&(null==c?void 0:null===(p=c.getComputedStyle(s.parentElement))||void 0===p?void 0:p.whiteSpace)==="pre"){var b=u.ML.above(U,{at:i.path,match:e=>u.ML.isBlock(U,e)});b&&u.NB.string(b[0]).includes(" ")&&(o=!1)}}if(!r.startsWith("delete")||r.startsWith("deleteBy")){var[M]=e.getTargetRanges();if(M){var x=ew.toSlateRange(U,M,{exactMatch:!1,suppressThrow:!1});if(!t||!u.e6.equals(t,x)){o=!1;var k=!n&&U.selection&&u.ML.rangeRef(U,U.selection);u.YR.select(U,x),k&&F.set(U,k)}}}if(!n){if(o||e.preventDefault(),t&&u.e6.isExpanded(t)&&r.startsWith("delete")){var y=r.endsWith("Backward")?"backward":"forward";u.ML.deleteFragment(U,{direction:y});return}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":u.ML.deleteFragment(U);break;case"deleteContent":case"deleteContentForward":u.ML.deleteForward(U);break;case"deleteContentBackward":u.ML.deleteBackward(U);break;case"deleteEntireSoftLine":u.ML.deleteBackward(U,{unit:"line"}),u.ML.deleteForward(U,{unit:"line"});break;case"deleteHardLineBackward":u.ML.deleteBackward(U,{unit:"block"});break;case"deleteSoftLineBackward":u.ML.deleteBackward(U,{unit:"line"});break;case"deleteHardLineForward":u.ML.deleteForward(U,{unit:"block"});break;case"deleteSoftLineForward":u.ML.deleteForward(U,{unit:"line"});break;case"deleteWordBackward":u.ML.deleteBackward(U,{unit:"word"});break;case"deleteWordForward":u.ML.deleteForward(U,{unit:"word"});break;case"insertLineBreak":u.ML.insertSoftBreak(U);break;case"insertParagraph":u.ML.insertBreak(U);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":"insertFromComposition"===r&&ew.isComposing(U)&&(X(!1),S.set(U,!1)),(null==a?void 0:a.constructor.name)==="DataTransfer"?ew.insertData(U,a):"string"==typeof a&&(o?Q.current.push(()=>u.ML.insertText(U,a)):u.ML.insertText(U,a))}var E=null===(v=F.get(U))||void 0===v?void 0:v.unref();F.delete(U),!E||U.selection&&u.e6.equals(U.selection,E)||u.YR.select(U,E)}}}},[g,f]);eb(()=>(J.current&&em&&J.current.addEventListener("beforeinput",eu),()=>{J.current&&em&&J.current.removeEventListener("beforeinput",eu)}),[eu]),eb(()=>{var e=ew.getWindow(U);return e.document.addEventListener("selectionchange",eo),()=>{e.document.removeEventListener("selectionchange",eo)}},[eo]);var eM=c([U,[]]);if(v&&1===U.children.length&&1===Array.from(u.NB.texts(U)).length&&""===u.NB.string(U)&&!H){var ex=u.ML.start(U,[]);eM.push({[I]:!0,placeholder:v,anchor:ex,focus:ex})}var{marks:ek}=U;if(et.hasMarkPlaceholder=!1,U.selection&&u.e6.isCollapsed(U.selection)&&ek){var{anchor:ey}=U.selection,eE=u.NB.leaf(U,ey.path),eL=p(eE,ta);if(!u.xv.equals(eE,ek,{loose:!0})){et.hasMarkPlaceholder=!0;var eD=Object.fromEntries(Object.keys(eL).map(e=>[e,null]));eM.push(to(to(to({[q]:!0},eD),ek),{},{anchor:ey,focus:ey}))}}return(0,d.useEffect)(()=>{setTimeout(()=>{var{selection:e}=U;if(e){var{anchor:t}=e,r=u.NB.leaf(U,t.path);if(ek&&!u.xv.equals(r,ek,{loose:!0})){R.set(U,ek);return}}R.delete(U)})}),d.createElement(e$.Provider,{value:g},d.createElement(ej.Provider,{value:c},d.createElement(e0,{node:J,receivedUserInput:G},d.createElement(B,Object.assign({role:g?void 0:"textbox","aria-multiline":!g||void 0},Y,{spellCheck:(!!em||!eg)&&Y.spellCheck,autoCorrect:em||!eg?Y.autoCorrect:"false",autoCapitalize:em||!eg?Y.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!g,zindex:-1,suppressContentEditableWarning:!0,ref:J,style:to({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},D),onBeforeInput:(0,d.useCallback)(e=>{if(!em&&!g&&!tu(e,Y.onBeforeInput)&&ew.hasSelectableTarget(U,e.target)&&(e.preventDefault(),!ew.isComposing(U))){var t=e.data;u.ML.insertText(U,t)}},[g]),onInput:(0,d.useCallback)(e=>{if(ed){ed.handleInput();return}for(var t of Q.current)t();Q.current=[]},[]),onBlur:(0,d.useCallback)(e=>{if(!(g||et.isUpdatingSelection||!ew.hasSelectableTarget(U,e.target)||tu(e,Y.onBlur))){var t=ew.findDocumentOrShadowRoot(U);if(et.latestElement!==t.activeElement){var{relatedTarget:r}=e;if(!(r===ew.toDOMNode(U,U)||_(r)&&r.hasAttribute("data-slate-spacer"))){if(null!=r&&z(r)&&ew.hasDOMNode(U,r)){var a=ew.toSlateNode(U,r);if(u.W_.isElement(a)&&!U.isVoid(a))return}if(el){var n=t.getSelection();null==n||n.removeAllRanges()}O.delete(U)}}}},[g,Y.onBlur]),onClick:(0,d.useCallback)(e=>{if(ew.hasTarget(U,e.target)&&!tu(e,Y.onClick)&&z(e.target)){var t=ew.toSlateNode(U,e.target),r=ew.findPath(U,t);if(u.ML.hasPath(U,r)&&u.NB.get(U,r)===t){if(3===e.detail&&r.length>=1){var a=r;if(!u.ML.isBlock(U,t)){var n,o=u.ML.above(U,{match:e=>u.ML.isBlock(U,e),at:r});a=null!==(n=null==o?void 0:o[1])&&void 0!==n?n:r.slice(0,1)}var i=u.ML.range(U,a);u.YR.select(U,i);return}if(!g){var s=u.ML.start(U,r),l=u.ML.end(U,r),d=u.ML.void(U,{at:s}),c=u.ML.void(U,{at:l});if(d&&c&&u.y$.equals(d[1],c[1])){var f=u.ML.range(U,s);u.YR.select(U,f)}}}}},[g,Y.onClick]),onCompositionEnd:(0,d.useCallback)(e=>{if(ew.hasSelectableTarget(U,e.target)&&(ew.isComposing(U)&&(X(!1),S.set(U,!1)),null==ed||ed.handleCompositionEnd(e),!tu(e,Y.onCompositionEnd)&&!ei&&!el&&!ef&&!en&&!ev&&!ep&&!eh&&e.data)){var t=R.get(U);R.delete(U),void 0!==t&&(P.set(U,U.marks),U.marks=t),u.ML.insertText(U,e.data);var r=P.get(U);P.delete(U),void 0!==r&&(U.marks=r)}},[Y.onCompositionEnd]),onCompositionUpdate:(0,d.useCallback)(e=>{!ew.hasSelectableTarget(U,e.target)||tu(e,Y.onCompositionUpdate)||ew.isComposing(U)||(X(!0),S.set(U,!0))},[Y.onCompositionUpdate]),onCompositionStart:(0,d.useCallback)(e=>{if(ew.hasSelectableTarget(U,e.target)&&(null==ed||ed.handleCompositionStart(e),!tu(e,Y.onCompositionStart)&&!ei)){X(!0);var{selection:t}=U;if(t){if(u.e6.isExpanded(t)){u.ML.deleteFragment(U);return}var r=u.ML.above(U,{match:e=>u.ML.isInline(U,e),mode:"highest"});if(r){var[,a]=r;if(u.ML.isEnd(U,t.anchor,a)){var n=u.ML.after(U,a);u.YR.setSelection(U,{anchor:n,focus:n})}}}}},[Y.onCompositionStart]),onCopy:(0,d.useCallback)(e=>{ew.hasSelectableTarget(U,e.target)&&!tu(e,Y.onCopy)&&(e.preventDefault(),ew.setFragmentData(U,e.clipboardData,"copy"))},[Y.onCopy]),onCut:(0,d.useCallback)(e=>{if(!g&&ew.hasSelectableTarget(U,e.target)&&!tu(e,Y.onCut)){e.preventDefault(),ew.setFragmentData(U,e.clipboardData,"cut");var{selection:t}=U;if(t){if(u.e6.isExpanded(t))u.ML.deleteFragment(U);else{var r=u.NB.parent(U,t.anchor.path);u.ML.isVoid(U,r)&&u.YR.delete(U)}}}},[g,Y.onCut]),onDragOver:(0,d.useCallback)(e=>{if(ew.hasTarget(U,e.target)&&!tu(e,Y.onDragOver)){var t=ew.toSlateNode(U,e.target);u.ML.isVoid(U,t)&&e.preventDefault()}},[Y.onDragOver]),onDragStart:(0,d.useCallback)(e=>{if(!g&&ew.hasTarget(U,e.target)&&!tu(e,Y.onDragStart)){var t=ew.toSlateNode(U,e.target),r=ew.findPath(U,t);if(u.ML.isVoid(U,t)||u.ML.void(U,{at:r,voids:!0})){var a=u.ML.range(U,r);u.YR.select(U,a)}et.isDraggingInternally=!0,ew.setFragmentData(U,e.dataTransfer,"drag")}},[g,Y.onDragStart]),onDrop:(0,d.useCallback)(e=>{if(!g&&ew.hasTarget(U,e.target)&&!tu(e,Y.onDrop)){e.preventDefault();var t=U.selection,r=ew.findEventRange(U,e),a=e.dataTransfer;u.YR.select(U,r),et.isDraggingInternally&&t&&!u.e6.equals(t,r)&&!u.ML.void(U,{at:r,voids:!0})&&u.YR.delete(U,{at:t}),ew.insertData(U,a),ew.isFocused(U)||ew.focus(U)}et.isDraggingInternally=!1},[g,Y.onDrop]),onDragEnd:(0,d.useCallback)(e=>{!g&&et.isDraggingInternally&&Y.onDragEnd&&ew.hasTarget(U,e.target)&&Y.onDragEnd(e),et.isDraggingInternally=!1},[g,Y.onDragEnd]),onFocus:(0,d.useCallback)(e=>{if(!g&&!et.isUpdatingSelection&&ew.hasSelectableTarget(U,e.target)&&!tu(e,Y.onFocus)){var t=ew.toDOMNode(U,U),r=ew.findDocumentOrShadowRoot(U);if(et.latestElement=r.activeElement,es&&e.target!==t){t.focus();return}O.set(U,!0)}},[g,Y.onFocus]),onKeyDown:(0,d.useCallback)(e=>{if(!g&&ew.hasEditableTarget(U,e.target)){null==ed||ed.handleKeyDown(e);var{nativeEvent:t}=e;if(ew.isComposing(U)&&!1===t.isComposing&&(S.set(U,!1),X(!1)),!(tu(e,Y.onKeyDown)||ew.isComposing(U))){var{selection:r}=U,a=U.children[null!==r?r.focus.path[0]:0],o="rtl"===n()(u.NB.string(a));if(eJ.isRedo(t)){e.preventDefault(),"function"==typeof U.redo&&U.redo();return}if(eJ.isUndo(t)){e.preventDefault(),"function"==typeof U.undo&&U.undo();return}if(eJ.isMoveLineBackward(t)){e.preventDefault(),u.YR.move(U,{unit:"line",reverse:!0});return}if(eJ.isMoveLineForward(t)){e.preventDefault(),u.YR.move(U,{unit:"line"});return}if(eJ.isExtendLineBackward(t)){e.preventDefault(),u.YR.move(U,{unit:"line",edge:"focus",reverse:!0});return}if(eJ.isExtendLineForward(t)){e.preventDefault(),u.YR.move(U,{unit:"line",edge:"focus"});return}if(eJ.isMoveBackward(t)){e.preventDefault(),r&&u.e6.isCollapsed(r)?u.YR.move(U,{reverse:!o}):u.YR.collapse(U,{edge:"start"});return}if(eJ.isMoveForward(t)){e.preventDefault(),r&&u.e6.isCollapsed(r)?u.YR.move(U,{reverse:o}):u.YR.collapse(U,{edge:"end"});return}if(eJ.isMoveWordBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)&&u.YR.collapse(U,{edge:"focus"}),u.YR.move(U,{unit:"word",reverse:!o});return}if(eJ.isMoveWordForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)&&u.YR.collapse(U,{edge:"focus"}),u.YR.move(U,{unit:"word",reverse:o});return}if(em){if((ec||el)&&r&&(eJ.isDeleteBackward(t)||eJ.isDeleteForward(t))&&u.e6.isCollapsed(r)){var i=u.NB.parent(U,r.anchor.path);if(u.W_.isElement(i)&&u.ML.isVoid(U,i)&&(u.ML.isInline(U,i)||u.ML.isBlock(U,i))){e.preventDefault(),u.ML.deleteBackward(U,{unit:"block"});return}}}else{if(eJ.isBold(t)||eJ.isItalic(t)||eJ.isTransposeCharacter(t)){e.preventDefault();return}if(eJ.isSoftBreak(t)){e.preventDefault(),u.ML.insertSoftBreak(U);return}if(eJ.isSplitBlock(t)){e.preventDefault(),u.ML.insertBreak(U);return}if(eJ.isDeleteBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"backward"}):u.ML.deleteBackward(U);return}if(eJ.isDeleteForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"forward"}):u.ML.deleteForward(U);return}if(eJ.isDeleteLineBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"backward"}):u.ML.deleteBackward(U,{unit:"line"});return}if(eJ.isDeleteLineForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"forward"}):u.ML.deleteForward(U,{unit:"line"});return}if(eJ.isDeleteWordBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"backward"}):u.ML.deleteBackward(U,{unit:"word"});return}if(eJ.isDeleteWordForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"forward"}):u.ML.deleteForward(U,{unit:"word"});return}}}}},[g,Y.onKeyDown]),onPaste:(0,d.useCallback)(e=>{!g&&ew.hasSelectableTarget(U,e.target)&&!tu(e,Y.onPaste)&&(!em||K(e.nativeEvent))&&(e.preventDefault(),ew.insertData(U,e.clipboardData))},[g,Y.onPaste])}),d.createElement(ti,{decorations:eM,node:U,renderElement:m,renderPlaceholder:b,renderLeaf:w,selection:U.selection})))))},tl=e=>{var{attributes:t,children:r}=e;return d.createElement("span",Object.assign({},t),r,ei&&d.createElement("br",null))},td=()=>[],tc=(e,t)=>{if(!e.selection||e.selection&&u.e6.isCollapsed(e.selection)){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),(0,c.Z)(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},tu=(e,t)=>{if(!t)return!1;var r=t(e);return null!=r?r:e.isDefaultPrevented()||e.isPropagationStopped()},tf=(e,t)=>{if(!t)return!1;var r=t(e);return null!=r?r:e.defaultPrevented},tv=(0,d.createContext)(!1),th=()=>(0,d.useContext)(tv),tp=(0,d.createContext)({}),tg=["editor","children","onChange","value"],tm=e=>{var t,r,a,n,{editor:o,children:i,onChange:s,value:l}=e,c=p(e,tg),f=(0,d.useRef)(!1),[v,h]=d.useState(()=>{if(!u.NB.isNodeList(l))throw Error("[Slate] value is invalid! Expected a list of elements but got: ".concat(u.o4.stringify(l)));if(!u.ML.isEditor(o))throw Error("[Slate] editor is invalid! You passed: ".concat(u.o4.stringify(o)));return o.children=l,Object.assign(o,c),{v:0,editor:o}}),{selectorContext:g,onChange:m}=(t=(0,d.useRef)([]).current,r=(0,d.useRef)({editor:o}).current,a=(0,d.useCallback)(e=>{r.editor=e,t.forEach(t=>t(e))},[]),n=(0,d.useMemo)(()=>({getSlate:()=>r.editor,addEventListener:e=>(t.push(e),()=>{t.splice(t.indexOf(e),1)})}),[t,r]),{selectorContext:n,onChange:a}),w=(0,d.useCallback)(()=>{s&&s(o.children),h(e=>({v:e.v+1,editor:o})),m(o)},[s]);B.set(o,w),(0,d.useEffect)(()=>()=>{B.set(o,()=>{}),f.current=!0},[]);var[b,M]=(0,d.useState)(ew.isFocused(o));return(0,d.useEffect)(()=>{M(ew.isFocused(o))}),eb(()=>{var e=()=>M(ew.isFocused(o));return ea?(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)})},[]),d.createElement(tp.Provider,{value:g},d.createElement(e_.Provider,{value:v},d.createElement(eC.Provider,{value:v.editor},d.createElement(tv.Provider,{value:b},i))))},tw=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},tb=(e,t,r)=>{var a=ew.toDOMRange(e,t).getBoundingClientRect(),n=ew.toDOMRange(e,r).getBoundingClientRect();return tw(a,n)&&tw(n,a)},tM=(e,t)=>{var r=u.ML.range(e,u.e6.end(t)),a=Array.from(u.ML.positions(e,{at:t})),n=0,o=a.length,i=Math.floor(o/2);if(tb(e,u.ML.range(e,a[n]),r))return u.ML.range(e,a[n],r);if(a.length<2)return u.ML.range(e,a[a.length-1],r);for(;i!==a.length&&i!==n;)tb(e,u.ML.range(e,a[i]),r)?o=i:n=i,i=Math.floor((n+o)/2);return u.ML.range(e,a[o],r)};function tx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function tk(e){for(var t=1;t{var t=e,{apply:r,onChange:a,deleteBackward:n,addMark:o,removeMark:i}=t;return D.set(t,new WeakMap),t.addMark=(e,r)=>{var a,n;null===(a=T.get(t))||void 0===a||a(),!R.get(t)&&null!==(n=N.get(t))&&void 0!==n&&n.length&&R.set(t,null),P.delete(t),o(e,r)},t.removeMark=e=>{var r;!R.get(t)&&null!==(r=N.get(t))&&void 0!==r&&r.length&&R.set(t,null),P.delete(t),i(e)},t.deleteBackward=e=>{if("line"!==e)return n(e);if(t.selection&&u.e6.isCollapsed(t.selection)){var r=u.ML.above(t,{match:e=>u.ML.isBlock(t,e),at:t.selection});if(r){var[,a]=r,o=u.ML.range(t,a,t.selection.anchor),i=tM(t,o);u.e6.isCollapsed(i)||u.YR.delete(t,{at:i})}}},t.apply=e=>{var a,n=[],o=N.get(t);if(null!=o&&o.length){var i=o.map(t=>(function(e,t){var{path:r,diff:a,id:n}=e;switch(t.type){case"insert_text":if(!u.y$.equals(t.path,r)||t.offset>=a.end)return e;if(t.offset<=a.start)return{diff:{start:t.text.length+a.start,end:t.text.length+a.end,text:a.text},id:n,path:r};return{diff:{start:a.start,end:a.end+t.text.length,text:a.text},id:n,path:r};case"remove_text":if(!u.y$.equals(t.path,r)||t.offset>=a.end)return e;if(t.offset+t.text.length<=a.start)return{diff:{start:a.start-t.text.length,end:a.end-t.text.length,text:a.text},id:n,path:r};return{diff:{start:a.start,end:a.end-t.text.length,text:a.text},id:n,path:r};case"split_node":if(!u.y$.equals(t.path,r)||t.position>=a.end)return{diff:a,id:n,path:u.y$.transform(r,t,{affinity:"backward"})};if(t.position>a.start)return{diff:{start:a.start,end:Math.min(t.position,a.end),text:a.text},id:n,path:r};return{diff:{start:a.start-t.position,end:a.end-t.position,text:a.text},id:n,path:u.y$.transform(r,t,{affinity:"forward"})};case"merge_node":if(!u.y$.equals(t.path,r))return{diff:a,id:n,path:u.y$.transform(r,t)};return{diff:{start:a.start+t.position,end:a.end+t.position,text:a.text},id:n,path:u.y$.transform(r,t)}}var o=u.y$.transform(r,t);return o?{diff:a,path:o,id:n}:null})(t,e)).filter(Boolean);N.set(t,i)}var s=j.get(t);s&&j.set(t,e3(t,s,e));var l=W.get(t);if(null!=l&&l.at){var d=u.E9.isPoint(null==l?void 0:l.at)?e9(t,l.at,e):e3(t,l.at,e);W.set(t,d?tk(tk({},l),{},{at:d}):null)}switch(e.type){case"insert_text":case"remove_text":case"set_node":case"split_node":n.push(...tE(t,e.path));break;case"set_selection":null===(a=F.get(t))||void 0===a||a.unref(),F.delete(t);break;case"insert_node":case"remove_node":n.push(...tE(t,u.y$.parent(e.path)));break;case"merge_node":n.push(...tE(t,u.y$.previous(e.path)));break;case"move_node":n.push(...tE(t,u.y$.common(u.y$.parent(e.path),u.y$.parent(e.newPath))))}for(var[c,f]of(r(e),n)){var[v]=u.ML.node(t,c);L.set(v,f)}},t.setFragmentData=e=>{var{selection:r}=t;if(r){var[a,n]=u.e6.edges(r),o=u.ML.void(t,{at:a.path}),i=u.ML.void(t,{at:n.path});if(!u.e6.isCollapsed(r)||o){var s=ew.toDOMRange(t,r),l=s.cloneContents(),d=l.childNodes[0];if(l.childNodes.forEach(e=>{e.textContent&&""!==e.textContent.trim()&&(d=e)}),i){var[c]=i,f=s.cloneRange(),v=ew.toDOMNode(t,c);f.setEndAfter(v),l=f.cloneContents()}if(o&&(d=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach(e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""}),H(d)){var h=d.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(d),l.appendChild(h),d=h}var p=JSON.stringify(t.getFragment()),g=window.btoa(encodeURIComponent(p));d.setAttribute("data-slate-fragment",g),e.setData("application/x-slate-fragment",g);var m=l.ownerDocument.createElement("div");return m.appendChild(l),m.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(m),e.setData("text/html",m.innerHTML),e.setData("text/plain",G(m)),l.ownerDocument.body.removeChild(m),e}}},t.insertData=e=>{t.insertFragmentData(e)||t.insertTextData(e)},t.insertFragmentData=e=>{var r=e.getData("application/x-slate-fragment")||et(e);if(r){var a=JSON.parse(decodeURIComponent(window.atob(r)));return t.insertFragment(a),!0}return!1},t.insertTextData=e=>{var r=e.getData("text/plain");if(r){var a=r.split(/\r\n|\r|\n/),n=!1;for(var o of a)n&&u.YR.splitNodes(t,{always:!0}),t.insertText(o),n=!0;return!0}return!1},t.onChange=()=>{v.unstable_batchedUpdates(()=>{var e=B.get(t);e&&e(),a()})},t},tE=(e,t)=>{var r=[];for(var[a,n]of u.ML.levels(e,{at:t})){var o=ew.findKey(e,a);r.push([n,o])}return r}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8700],{96391:function(e,t,r){r.d(t,{BU:function(){return ty},CX:function(){return ts},F3:function(){return ew},UE:function(){return th},mH:function(){return tm},vt:function(){return eq}});var a=r(6907),n=r.n(a),o=r(23279),i=r.n(o),s=r(23493),l=r.n(s),d=r(67294),c=r(94203),u=r(77493),f=r(18156),v=r(73935);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var g=0;class m{constructor(){this.id="".concat(g++)}}var w=new WeakMap,b=new WeakMap,M=new WeakMap,x=new WeakMap,k=new WeakMap,y=new WeakMap,E=new WeakMap,L=new WeakMap,D=new WeakMap,C=new WeakMap,O=new WeakMap,S=new WeakMap,F=new WeakMap,B=new WeakMap,T=new WeakMap,R=new WeakMap,P=new WeakMap,N=new WeakMap,W=new WeakMap,j=new WeakMap,A=new WeakMap,I=Symbol("placeholder"),q=Symbol("mark-placeholder"),Y=globalThis.Text,$=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,U=e=>z(e)&&8===e.nodeType,_=e=>z(e)&&1===e.nodeType,z=e=>{var t=$(e);return!!t&&e instanceof t.Node},V=e=>{var t=e&&e.anchorNode&&$(e.anchorNode);return!!t&&e instanceof t.Selection},H=e=>z(e)&&3===e.nodeType,K=e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length,X=e=>{var[t,r]=e;if(_(t)&&t.childNodes.length){var a=r===t.childNodes.length,n=a?r-1:r;for([t,n]=Q(t,n,a?"backward":"forward"),a=n!!(window.document.activeElement&&window.document.activeElement.shadowRoot),Q=(e,t,r)=>{for(var{childNodes:a}=e,n=a[t],o=t,i=!1,s=!1;(U(n)||_(n)&&0===n.childNodes.length||_(n)&&"false"===n.getAttribute("contenteditable"))&&(!i||!s);){if(o>=a.length){i=!0,o=t-1,r="backward";continue}if(o<0){s=!0,o=t+1,r="forward";continue}n=a[o],t=o,o+="forward"===r?1:-1}return[n,t]},Z=(e,t,r)=>{var[a]=Q(e,t,r);return a},G=e=>{var t="";if(H(e)&&e.nodeValue)return e.nodeValue;if(_(e)){for(var r of Array.from(e.childNodes))t+=G(r);var a=getComputedStyle(e).getPropertyValue("display");("block"===a||"list"===a||"BR"===e.tagName)&&(t+="\n")}return t},ee=/data-slate-fragment="(.+?)"/m,et=e=>{var[,t]=e.getData("text/html").match(ee)||[];return t},er=(e,t,r)=>{var{target:a}=t;if(_(a)&&a.matches('[contentEditable="false"]'))return!1;var{document:n}=ew.getWindow(e);if(n.contains(a))return ew.hasDOMNode(e,a,{editable:!0});var o=r.find(e=>{var{addedNodes:t,removedNodes:r}=e;for(var n of t)if(n===a||n.contains(a))return!0;for(var o of r)if(o===a||o.contains(a))return!0});return!!o&&o!==t&&er(e,o,r)},ea=parseInt(d.version.split(".")[0],10)>=17,en="undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,eo="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),ei="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),es="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),el="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),ed="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),ec="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),eu="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),ef="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),ev="undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent),eh="undefined"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),ep="undefined"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent),eg=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),em=!eu&&!ed&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,ew={isComposing:e=>!!S.get(e),getWindow(e){var t=M.get(e);if(!t)throw Error("Unable to find a host window element for this editor");return t},findKey(e,t){var r=L.get(t);return r||(r=new m,L.set(t,r)),r},findPath(e,t){for(var r=[],a=t;;){var n=b.get(a);if(null==n){if(u.ML.isEditor(a))return r;break}var o=w.get(a);if(null==o)break;r.unshift(o),a=n}throw Error("Unable to find the path for Slate node: ".concat(u.o4.stringify(t)))},findDocumentOrShadowRoot(e){var t=ew.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=>!!C.get(e),blur(e){var t=ew.toDOMNode(e,e),r=ew.findDocumentOrShadowRoot(e);O.set(e,!1),r.activeElement===t&&t.blur()},focus(e){var t=ew.toDOMNode(e,e),r=ew.findDocumentOrShadowRoot(e);O.set(e,!0),r.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){var{selection:t}=e,r=ew.findDocumentOrShadowRoot(e).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),t&&u.YR.deselect(e)},hasDOMNode(e,t){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:n=!1}=a,o=ew.toDOMNode(e,e);try{r=_(t)?t:t.parentElement}catch(i){if(!i.message.includes('Permission denied to access property "nodeType"'))throw i}return!!r&&r.closest("[data-slate-editor]")===o&&(!n||!!r.isContentEditable||"boolean"==typeof r.isContentEditable&&r.closest('[contenteditable="false"]')===o||!!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=D.get(e),a=u.ML.isEditor(t)?x.get(e):null==r?void 0:r.get(ew.findKey(e,t));if(!a)throw Error("Cannot resolve a DOM node from Slate node: ".concat(u.o4.stringify(t)));return a},toDOMPoint(e,t){var[r]=u.ML.node(e,t.path),a=ew.toDOMNode(e,r);u.ML.void(e,{at:t})&&(t={path:t.path,offset:0});for(var n=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),o=0,i=0;i{if(ei&&!a&&e.hasAttribute("data-slate-zero-width")&&e.textContent.length>0&&"\uFEFF"!==e.textContext){e.textContent.startsWith("\uFEFF")&&(e.textContent=e.textContent.slice(1));return}e.parentNode.removeChild(e)}),d=b.textContent.length,m=l}}else if(p){for(var M=p.querySelectorAll("[data-slate-leaf]"),x=0;x{d-=e.textContent.length})):d=1}m&&d===m.textContent.length&&ei&&"z"===m.getAttribute("data-slate-zero-width")&&null!==(c=m.textContent)&&void 0!==c&&c.startsWith("\uFEFF")&&(s.hasAttribute("data-slate-zero-width")||es&&null!==(f=m.textContent)&&void 0!==f&&f.endsWith("\n\n"))&&d--}if(ei&&!l&&!a){var y=s.hasAttribute("data-slate-node")?s:s.closest("[data-slate-node]");if(y&&ew.hasDOMNode(e,y,{editable:!0})){var E=ew.toSlateNode(e,y),{path:L,offset:D}=u.ML.start(e,ew.findPath(e,E));return y.querySelector("[data-slate-leaf]")||(D=i),{path:L,offset:D}}}if(!l){if(n)return null;throw Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var C=ew.toSlateNode(e,l),O=ew.findPath(e,C);return{path:O,offset:d}},toSlateRange(e,t,r){var a,n,o,i,s,{exactMatch:l,suppressThrow:d}=r;if((V(t)?t.anchorNode:t.startContainer)&&(V(t)?(a=t.anchorNode,n=t.anchorOffset,o=t.focusNode,i=t.focusOffset,s=ec&&J()?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(a=t.startContainer,n=t.startOffset,o=t.endContainer,i=t.endOffset,s=t.collapsed)),null==a||null==o||null==n||null==i)throw Error("Cannot resolve a Slate range from DOM range: ".concat(t));var c=ew.toSlatePoint(e,[a,n],{exactMatch:l,suppressThrow:d});if(!c)return null;var f=s?c:ew.toSlatePoint(e,[o,i],{exactMatch:l,suppressThrow:d});if(!f)return null;var v={anchor:c,focus:f};return u.e6.isExpanded(v)&&u.e6.isForward(v)&&_(o)&&u.ML.void(e,{at:v.focus,mode:"highest"})&&(v=u.ML.unhangRange(e,v,{voids:!0})),v},hasRange(e,t){var{anchor:r,focus:a}=t;return u.ML.hasPath(e,r.path)&&u.ML.hasPath(e,a.path)},hasTarget:(e,t)=>z(t)&&ew.hasDOMNode(e,t),hasEditableTarget:(e,t)=>z(t)&&ew.hasDOMNode(e,t,{editable:!0}),hasSelectableTarget:(e,t)=>ew.hasEditableTarget(e,t)||ew.isTargetInsideNonReadonlyVoid(e,t),isTargetInsideNonReadonlyVoid(e,t){if(C.get(e))return!1;var r=ew.hasTarget(e,t)&&ew.toSlateNode(e,t);return u.ML.isVoid(e,r)},androidScheduleFlush(e){var t;null===(t=T.get(e))||void 0===t||t()},androidPendingDiffs:e=>N.get(e)},eb=eg?d.useLayoutEffect:d.useEffect,eM=["anchor","focus"],ex=["anchor","focus"],ek=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(r=>t.hasOwnProperty(r)&&e[r]===t[r]),ey=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r{var{isLast:t,leaf:r,parent:a,text:n}=e,o=eO(),i=ew.findPath(o,n),s=u.y$.parent(i),l=!0===r[q];return o.isVoid(a)?d.createElement(eD,{length:u.NB.string(a).length}):""!==r.text||a.children[a.children.length-1]!==n||o.isInline(a)||""!==u.ML.string(o,s)?""===r.text?d.createElement(eD,{isMarkPlaceholder:l}):t&&"\n"===r.text.slice(-1)?d.createElement(eL,{isTrailing:!0,text:r.text}):d.createElement(eL,{text:r.text}):d.createElement(eD,{isLineBreak:!0,isMarkPlaceholder:l})},eL=e=>{var{text:t,isTrailing:r=!1}=e,a=(0,d.useRef)(null),n=()=>"".concat(null!=t?t:"").concat(r?"\n":"");return(eb(()=>{var e=n();a.current&&a.current.textContent!==e&&(a.current.textContent=e)}),a.current)?d.createElement("span",{"data-slate-string":!0,ref:a}):d.createElement("span",{"data-slate-string":!0,ref:a},n())},eD=e=>{var{length:t=0,isLineBreak:r=!1,isMarkPlaceholder:a=!1}=e,n={"data-slate-zero-width":r?"n":"z","data-slate-length":t};return a&&(n["data-slate-mark-placeholder"]=!0),d.createElement("span",Object.assign({},n),ei&&r?null:"\uFEFF",r?d.createElement("br",null):null)},eC=(0,d.createContext)(null),eO=()=>{var e=(0,d.useContext)(eC);if(!e)throw Error("The `useSlateStatic` hook must be used inside the component's context.");return e},eS=e=>{var{leaf:t,isLast:r,text:a,parent:n,renderPlaceholder:o,renderLeaf:i=e=>d.createElement(eB,Object.assign({},e))}=e,s=(0,d.useRef)(null),l=eO();(0,d.useEffect)(()=>{var e=null==s?void 0:s.current,t=ew.toDOMNode(l,l);if(e&&t)return t.style.minHeight="".concat(e.clientHeight,"px"),k.set(l,e),()=>{t.style.minHeight="auto",k.delete(l)}},[s,t]);var c=d.createElement(eE,{isLast:r,leaf:t,parent:n,text:a});if(t[I]){var u={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}};c=d.createElement(d.Fragment,null,o(u),c)}return i({attributes:{"data-slate-leaf":!0},children:c,leaf:t,text:a})},eF=d.memo(eS,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&u.xv.equals(t.leaf,e.leaf)&&t.leaf[I]===e.leaf[I]),eB=e=>{var{attributes:t,children:r}=e;return d.createElement("span",Object.assign({},t),r)},eT=e=>{for(var{decorations:t,isLast:r,parent:a,renderPlaceholder:n,renderLeaf:o,text:i}=e,s=eO(),l=(0,d.useRef)(null),c=u.xv.decorations(i,t),f=ew.findKey(s,i),v=[],h=0;h{var e=D.get(s);l.current?(null==e||e.set(f,l.current),E.set(i,l.current),y.set(l.current,i)):(null==e||e.delete(f),E.delete(i))}),d.createElement("span",{"data-slate-node":"text",ref:l},v)},eR=d.memo(eT,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text&&ey(t.decorations,e.decorations)),eP=e=>{var{decorations:t,element:r,renderElement:a=e=>d.createElement(eW,Object.assign({},e)),renderPlaceholder:o,renderLeaf:i,selection:s}=e,l=eO(),c=eU(),f=l.isInline(r),v=ew.findKey(l,r),h=(0,d.useCallback)(e=>{var t=D.get(l);e?(null==t||t.set(v,e),E.set(r,e),y.set(e,r)):(null==t||t.delete(v),E.delete(r))},[l,v,r]),p=eY({decorations:t,node:r,renderElement:a,renderPlaceholder:o,renderLeaf:i,selection:s}),g={"data-slate-node":"element",ref:h};if(f&&(g["data-slate-inline"]=!0),!f&&u.ML.hasInlines(l,r)){var m=u.NB.string(r),M=n()(m);"rtl"===M&&(g.dir=M)}if(u.ML.isVoid(l,r)){g["data-slate-void"]=!0,!c&&f&&(g.contentEditable=!1);var[[x]]=u.NB.texts(r);p=d.createElement(f?"span":"div",{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},d.createElement(eR,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:x})),w.set(x,0),b.set(x,r)}return a({attributes:g,children:p,element:r})},eN=d.memo(eP,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&ey(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&u.e6.equals(e.selection,t.selection))),eW=e=>{var{attributes:t,children:r,element:a}=e,n=eO().isInline(a)?"span":"div";return d.createElement(n,Object.assign({},t,{style:{position:"relative"}}),r)},ej=(0,d.createContext)(()=>[]),eA=()=>(0,d.useContext)(ej),eI=(0,d.createContext)(!1),eq=()=>(0,d.useContext)(eI),eY=e=>{for(var{decorations:t,node:r,renderElement:a,renderPlaceholder:n,renderLeaf:o,selection:i}=e,s=eA(),l=eO(),c=ew.findPath(l,r),f=[],v=u.W_.isElement(r)&&!l.isInline(r)&&u.ML.hasInlines(l,r),h=0;h(0,d.useContext)(e$),e_=(0,d.createContext)(null),ez=()=>{var e=(0,d.useContext)(e_);if(!e)throw Error("The `useSlate` hook must be used inside the component's context.");var{editor:t}=e;return t},eV={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"},eH={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"},eK={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},eX=e=>{var t=eV[e],r=eH[e],a=eK[e],n=t&&(0,f.TB)(t),o=r&&(0,f.TB)(r),i=a&&(0,f.TB)(a);return e=>!!(n&&n(e)||eo&&o&&o(e)||!eo&&i&&i(e))},eJ={isBold:eX("bold"),isCompose:eX("compose"),isMoveBackward:eX("moveBackward"),isMoveForward:eX("moveForward"),isDeleteBackward:eX("deleteBackward"),isDeleteForward:eX("deleteForward"),isDeleteLineBackward:eX("deleteLineBackward"),isDeleteLineForward:eX("deleteLineForward"),isDeleteWordBackward:eX("deleteWordBackward"),isDeleteWordForward:eX("deleteWordForward"),isExtendBackward:eX("extendBackward"),isExtendForward:eX("extendForward"),isExtendLineBackward:eX("extendLineBackward"),isExtendLineForward:eX("extendLineForward"),isItalic:eX("italic"),isMoveLineBackward:eX("moveLineBackward"),isMoveLineForward:eX("moveLineForward"),isMoveWordBackward:eX("moveWordBackward"),isMoveWordForward:eX("moveWordForward"),isRedo:eX("redo"),isSoftBreak:eX("insertSoftBreak"),isSplitBlock:eX("splitBlock"),isTransposeCharacter:eX("transposeCharacter"),isUndo:eX("undo")},eQ=(e,t)=>{var r=[],a=()=>{r=[]},n=a=>{if(t.current){var n=a.filter(t=>er(e,t,a));r.push(...n)}};return{registerMutations:n,restoreDOM:function(){r.reverse().forEach(e=>{if("characterData"===e.type){e.target.textContent=e.oldValue;return}e.removedNodes.forEach(t=>{e.target.insertBefore(t,e.nextSibling)}),e.addedNodes.forEach(t=>{e.target.removeChild(t)})}),a()},clear:a}},eZ={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class eG extends d.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var e,{node:t}=this.props;if(!t.current)throw Error("Failed to attach MutationObserver, `node` is undefined");null===(e=this.mutationObserver)||void 0===e||e.observe(t.current,eZ)}componentDidMount(){var{receivedUserInput:e}=this.props,t=this.context;this.manager=eQ(t,e),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var e,t,r,a,n=null===(e=this.mutationObserver)||void 0===e?void 0:e.takeRecords();return null!=n&&n.length&&(null===(a=this.manager)||void 0===a||a.registerMutations(n)),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}}eG.contextType=eC;var e0=ei?eG:e=>{var{children:t}=e;return d.createElement(d.Fragment,null,t)};function e1(e,t){var{start:r,end:a,text:n}=t,o=e.slice(r,a),i=function(e,t){for(var r=Math.min(e.length,t.length),a=0;au.ML.isBlock(e,t),at:r});if(!o)return null;for(;a>n.text.length;){var i=u.ML.next(e,{at:r,match:u.xv.isText});if(!i||!u.y$.isDescendant(i[1],o[1]))return null;a-=n.text.length,n=i[0],r=i[1]}return{path:r,offset:a}}function e2(e,t){var r=e6(e,t.anchor);if(!r)return null;if(u.e6.isCollapsed(t))return{anchor:r,focus:r};var a=e6(e,t.focus);return a?{anchor:r,focus:a}:null}function e9(e,t,r){var a=N.get(e),n=null==a?void 0:a.find(e=>{var{path:r}=e;return u.y$.equals(r,t.path)});if(!n||t.offset<=n.diff.start)return u.E9.transform(t,r,{affinity:"backward"});var{diff:o}=n;if(t.offset<=o.start+o.text.length){var i={path:t.path,offset:o.start},s=u.E9.transform(i,r,{affinity:"backward"});return s?{path:s.path,offset:s.offset+t.offset-o.start}:null}var l={path:t.path,offset:t.offset-o.text.length+o.end-o.start},d=u.E9.transform(l,r,{affinity:"backward"});return d?"split_node"===r.type&&u.y$.equals(r.path,t.path)&&l.offsetd.createElement(d.Fragment,null,eY(e)),ts=e=>{var t,r,a,o,{autoFocus:s,decorate:c=td,onDOMBeforeInput:f,placeholder:v,readOnly:g=!1,renderElement:m,renderLeaf:w,renderPlaceholder:b=e=>d.createElement(tl,Object.assign({},e)),scrollSelectionIntoView:L=tc,style:D={},as:B="div"}=e,Y=p(e,tr),U=ez(),[H,X]=(0,d.useState)(!1),J=(0,d.useRef)(null),Q=(0,d.useRef)([]),{onUserInput:Z,receivedUserInput:G}=(t=eO(),r=(0,d.useRef)(!1),a=(0,d.useRef)(0),o=(0,d.useCallback)(()=>{if(!r.current){r.current=!0;var e=ew.getWindow(t);e.cancelAnimationFrame(a.current),a.current=e.requestAnimationFrame(()=>{r.current=!1})}},[]),(0,d.useEffect)(()=>()=>cancelAnimationFrame(a.current),[]),{receivedUserInput:r,onUserInput:o}),[,ee]=(0,d.useReducer)(e=>e+1,0);A.set(U,ee),C.set(U,g);var et=(0,d.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,d.useEffect)(()=>{J.current&&s&&J.current.focus()},[s]);var ea=(0,d.useCallback)(l()(()=>{if((ei||!ew.isComposing(U))&&(!et.isUpdatingSelection||null!=ed&&ed.isFlushing())&&!et.isDraggingInternally){var e=ew.findDocumentOrShadowRoot(U),{activeElement:t}=e,r=ew.toDOMNode(U,U),a=e.getSelection();if(t===r?(et.latestElement=t,O.set(U,!0)):O.delete(U),!a)return u.YR.deselect(U);var{anchorNode:n,focusNode:o}=a,i=ew.hasEditableTarget(U,n)||ew.isTargetInsideNonReadonlyVoid(U,n),s=ew.hasEditableTarget(U,o)||ew.isTargetInsideNonReadonlyVoid(U,o);if(i&&s){var l=ew.toSlateRange(U,a,{exactMatch:!1,suppressThrow:!0});l&&(ew.isComposing(U)||null!=ed&&ed.hasPendingChanges()||null!=ed&&ed.isFlushing()?null==ed||ed.handleUserSelect(l):u.YR.select(U,l))}!g||i&&s||u.YR.deselect(U)}},100),[g]),eo=(0,d.useMemo)(()=>i()(ea,0),[ea]),ed=function(e){var t,{node:r}=e,a=p(e,e5);if(!ei)return null;var n=eO(),o=(t=(0,d.useRef)(!1),(0,d.useEffect)(()=>(t.current=!0,()=>{t.current=!1}),[]),t.current),[i]=(0,d.useState)(()=>(function(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:a}=e,n=!1,o=null,i=null,s=null,l=0,d=!1,c=()=>{var e=j.get(t);if(j.delete(t),e){var{selection:r}=t,a=e2(t,e);!a||r&&u.e6.equals(a,r)||u.YR.select(t,a)}},f=()=>{var e=W.get(t);if(W.delete(t),e){if(e.at){var r=u.E9.isPoint(e.at)?e6(t,e.at):e2(t,e.at);if(!r)return;var a=u.ML.range(t,r);t.selection&&u.e6.equals(t.selection,a)||u.YR.select(t,r)}e.run()}},v=()=>{if(i&&(clearTimeout(i),i=null),s&&(clearTimeout(s),s=null),!x()&&!M()){c();return}n||(n=!0,setTimeout(()=>n=!1)),M()&&(n="action");var e=t.selection&&u.ML.rangeRef(t,t.selection,{affinity:"forward"});P.set(t,t.marks),e8("flush",W.get(t),N.get(t));for(var o=!!(null!==(l=N.get(t))&&void 0!==l&&l.length);v=null===(h=N.get(t))||void 0===h?void 0:h[0];){var l,v,h,p,g=R.get(t);void 0!==g&&(R.delete(t),t.marks=g),g&&!1===d&&(d=null);var m=function(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}(v);t.selection&&u.e6.equals(t.selection,m)||u.YR.select(t,m),v.diff.text?u.ML.insertText(t,v.diff.text):u.ML.deleteFragment(t),N.set(t,null===(p=N.get(t))||void 0===p?void 0:p.filter(e=>{var{id:t}=e;return t!==v.id})),!function(e,t){var{path:r,diff:a}=t;if(!u.ML.hasPath(e,r))return!1;var n=u.NB.get(e,r);if(!u.xv.isText(n))return!1;if(a.start!==n.text.length||0===a.text.length)return n.text.slice(a.start,a.start+a.text.length)===a.text;var o=u.y$.next(r);if(!u.ML.hasPath(e,o))return!1;var i=u.NB.get(e,o);return u.xv.isText(i)&&i.text.startsWith(a.text)}(t,v)&&(o=!1,W.delete(t),P.delete(t),n="action",j.delete(t),r.cancel(),a.cancel(),null==e||e.unref())}var w=null==e?void 0:e.unref();if(!w||j.get(t)||t.selection&&u.e6.equals(w,t.selection)||u.YR.select(t,w),M()){f();return}o&&r(),r.flush(),a.flush(),c();var b=P.get(t);P.delete(t),void 0!==b&&(t.marks=b,t.onChange())},h=e=>{o&&clearTimeout(o),o=setTimeout(()=>{S.set(t,!1),v()},25)},p=e=>{S.set(t,!0),o&&(clearTimeout(o),o=null)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=k.get(t);if(r){if(x()||e){r.style.display="none";return}r.style.removeProperty("display")}},m=(e,r)=>{var a,n,o,i,s,d,c,f,v,h=null!==(v=N.get(t))&&void 0!==v?v:[];N.set(t,h);var p=u.NB.leaf(t,e),m=h.findIndex(t=>u.y$.equals(t.path,e));if(m<0){e1(p.text,r)&&h.push({path:e,diff:r,id:l++}),g();return}var w=(a=p.text,o=Math.min((n=h[m].diff).start,r.start),i=Math.max(0,Math.min(n.start+n.text.length,r.end)-r.start),s=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;ae.slice(0,t.start)+t.text+e.slice(t.end),e)}(a,n,r),d=Math.max(r.start+r.text.length,n.start+n.text.length+(n.start+n.text.length>r.start?r.text.length:0)-i),c=s.slice(o,d),f=Math.max(n.end,r.end-n.text.length+(n.end-n.start)),e1(a,{start:o,end:f,text:c}));if(!w){h.splice(m,1),g();return}h[m]=e4(e4({},h[m]),{},{diff:w})},w=function(e){var{at:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};d=!1,j.delete(t),r.cancel(),a.cancel(),M()&&v(),W.set(t,{at:n,run:e}),s=setTimeout(v)},b=e=>{i&&(clearTimeout(i),i=null);var{inputType:r}=e,a=null,n=e.dataTransfer||e.data||void 0;!1!==d&&"insertText"!==r&&"insertCompositionText"!==r&&(d=!1);var[o]=e.getTargetRanges();o&&(a=ew.toSlateRange(t,o,{exactMatch:!1,suppressThrow:!0}));var s=ew.getWindow(t).getSelection();if(!a&&s&&(o=s,a=ew.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0})),a=null!==(M=a)&&void 0!==M?M:t.selection){if(u.e6.isExpanded(a)&&r.startsWith("delete")){var[l,c]=u.e6.edges(a);if(u.NB.leaf(t,l.path).text.length===l.offset&&0===c.offset){var f=u.ML.next(t,{at:l.path,match:u.xv.isText});f&&u.y$.equals(f[1],c.path)&&(a={anchor:c,focus:c})}}if(u.e6.isExpanded(a)&&r.startsWith("delete")){if(u.y$.equals(a.anchor.path,a.focus.path)){var[v,h]=u.e6.edges(a);return m(a.anchor.path,{text:"",end:h.offset,start:v.offset})}var p=r.endsWith("Backward")?"backward":"forward";return w(()=>u.ML.deleteFragment(t,{direction:p}),{at:a})}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return w(()=>u.ML.deleteFragment(t),{at:a});case"deleteContent":case"deleteContentForward":var{anchor:g}=a;if(u.e6.isCollapsed(a)){var b=u.NB.leaf(t,g.path);if(g.offsetu.ML.deleteForward(t),{at:a});case"deleteContentBackward":var M,x,{anchor:k}=a;if((V(o)?o.isCollapsed:!!(null!==(x=o)&&void 0!==x&&x.collapsed))&&u.e6.isCollapsed(a)&&k.offset>0)return m(k.path,{text:"",start:k.offset-1,end:k.offset});return w(()=>u.ML.deleteBackward(t),{at:a});case"deleteEntireSoftLine":return w(()=>{u.ML.deleteBackward(t,{unit:"line"}),u.ML.deleteForward(t,{unit:"line"})},{at:a});case"deleteHardLineBackward":return w(()=>u.ML.deleteBackward(t,{unit:"block"}),{at:a});case"deleteSoftLineBackward":return w(()=>u.ML.deleteBackward(t,{unit:"line"}),{at:a});case"deleteHardLineForward":return w(()=>u.ML.deleteForward(t,{unit:"block"}),{at:a});case"deleteSoftLineForward":return w(()=>u.ML.deleteForward(t,{unit:"line"}),{at:a});case"deleteWordBackward":return w(()=>u.ML.deleteBackward(t,{unit:"word"}),{at:a});case"deleteWordForward":return w(()=>u.ML.deleteForward(t,{unit:"word"}),{at:a});case"insertLineBreak":return w(()=>u.ML.insertSoftBreak(t),{at:a});case"insertParagraph":return w(()=>u.ML.insertBreak(t),{at:a});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if((null==n?void 0:n.constructor.name)==="DataTransfer")return w(()=>ew.insertData(t,n),{at:a});if("string"==typeof n&&n.includes("\n"))return w(()=>u.ML.insertSoftBreak(t),{at:u.e6.end(a)});var y=null!=n?n:"";if(R.get(t)&&(y=y.replace("\uFEFF","")),u.y$.equals(a.anchor.path,a.focus.path)){var[E,L]=u.e6.edges(a),D={start:E.offset,end:L.offset,text:y};if(y&&d&&"insertCompositionText"===r){var O=d.start+d.text.search(/\S|$/);D.start+D.text.search(/\S|$/)===O+1&&D.end===d.start+d.text.length?(D.start-=1,d=null,C()):d=!1}else d="insertText"===r&&(null===d?D:!!(d&&u.e6.isCollapsed(a))&&d.end+d.text.length===E.offset&&e4(e4({},d),{},{text:d.text+y}));m(E.path,D);return}return w(()=>u.ML.insertText(t,y),{at:a})}}},M=()=>!!W.get(t),x=()=>{var e;return!!(null!==(e=N.get(t))&&void 0!==e&&e.length)},y=()=>M()||x(),E=e=>{j.set(t,e),i&&(clearTimeout(i),i=null);var{selection:r}=t;if(e){var a=!r||!u.y$.equals(r.anchor.path,e.anchor.path),n=!r||!u.y$.equals(r.anchor.path.slice(0,-1),e.anchor.path.slice(0,-1));(a&&d||n)&&(d=!1),(a||!x())&&(i=setTimeout(v,200))}},L=()=>{(M()||!x())&&v()},D=e=>{x()||(g(!0),setTimeout(g))},C=()=>{M()||(s=setTimeout(v))},O=e=>{if(!(x()||M())&&e.some(r=>er(t,r,e))){var r;null===(r=A.get(t))||void 0===r||r()}};return{flush:v,scheduleFlush:C,hasPendingDiffs:x,hasPendingAction:M,hasPendingChanges:y,isFlushing:()=>n,handleUserSelect:E,handleCompositionEnd:h,handleCompositionStart:p,handleDOMBeforeInput:b,handleKeyDown:D,handleDomMutations:O,handleInput:L}})(function(e){for(var t=1;tnew MutationObserver(t));eb(()=>{a.takeRecords()}),(0,d.useEffect)(()=>{if(!e.current)throw Error("Failed to attach MutationObserver, `node` is undefined");return a.observe(e.current,r),()=>a.disconnect()},[])}(r,i.handleDomMutations,tt),T.set(n,i.scheduleFlush),o&&i.flush(),i}({node:J,onDOMSelectionChange:ea,scheduleOnDOMSelectionChange:eo});eb(()=>{J.current&&(e=$(J.current))?(M.set(U,e),x.set(U,J.current),E.set(U,J.current),y.set(J.current,U)):E.delete(U);var e,{selection:t}=U,r=ew.findDocumentOrShadowRoot(U).getSelection();if(!(!r||!ew.isFocused(U)||null!=ed&&ed.hasPendingAction())){var a=e=>{var a="None"!==r.type;if(t||a){var n=x.get(U),o=!1;if(n.contains(r.anchorNode)&&n.contains(r.focusNode)&&(o=!0),a&&o&&t&&!e){var i=ew.toSlateRange(U,r,{exactMatch:!0,suppressThrow:!0});if(i&&u.e6.equals(i,t)){if(!et.hasMarkPlaceholder)return;var s,{anchorNode:l}=r;if(null!=l&&null!==(s=l.parentElement)&&void 0!==s&&s.hasAttribute("data-slate-mark-placeholder"))return}}if(t&&!ew.hasRange(U,t)){U.selection=ew.toSlateRange(U,r,{exactMatch:!1,suppressThrow:!0});return}et.isUpdatingSelection=!0;var d=t&&ew.toDOMRange(U,t);return d?(u.e6.isBackward(t)?r.setBaseAndExtent(d.endContainer,d.endOffset,d.startContainer,d.startOffset):r.setBaseAndExtent(d.startContainer,d.startOffset,d.endContainer,d.endOffset),L(U,d)):r.removeAllRanges(),d}},n=a(),o=(null==ed?void 0:ed.isFlushing())==="action";if(!ei||!o){setTimeout(()=>{n&&es&&ew.toDOMNode(U,U).focus(),et.isUpdatingSelection=!1});return}var i=null,s=requestAnimationFrame(()=>{if(o){var e=e=>{try{ew.toDOMNode(U,U).focus(),a(e)}catch(t){}};e(),i=setTimeout(()=>{e(!0),et.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(s),i&&clearTimeout(i)}}});var eu=(0,d.useCallback)(e=>{if(Z(),!g&&ew.hasEditableTarget(U,e.target)&&!tf(e,f)){if(ed)return ed.handleDOMBeforeInput(e);eo.flush(),ea.flush();var{selection:t}=U,{inputType:r}=e,a=e.dataTransfer||e.data||void 0,n="insertCompositionText"===r||"deleteCompositionText"===r;if(!(n&&ew.isComposing(U))){var o=!1;if("insertText"===r&&t&&u.e6.isCollapsed(t)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==t.anchor.offset){o=!0,U.marks&&(o=!1);var{anchor:i}=t,[s,l]=ew.toDOMPoint(U,i),d=null===(h=s.parentElement)||void 0===h?void 0:h.closest("a"),c=ew.getWindow(U);if(o&&d&&ew.hasDOMNode(U,d)){var v,h,p,m,w=null==c?void 0:c.document.createTreeWalker(d,NodeFilter.SHOW_TEXT).lastChild();w===s&&(null===(m=w.textContent)||void 0===m?void 0:m.length)===l&&(o=!1)}if(o&&s.parentElement&&(null==c?void 0:null===(p=c.getComputedStyle(s.parentElement))||void 0===p?void 0:p.whiteSpace)==="pre"){var b=u.ML.above(U,{at:i.path,match:e=>u.ML.isBlock(U,e)});b&&u.NB.string(b[0]).includes(" ")&&(o=!1)}}if(!r.startsWith("delete")||r.startsWith("deleteBy")){var[M]=e.getTargetRanges();if(M){var x=ew.toSlateRange(U,M,{exactMatch:!1,suppressThrow:!1});if(!t||!u.e6.equals(t,x)){o=!1;var k=!n&&U.selection&&u.ML.rangeRef(U,U.selection);u.YR.select(U,x),k&&F.set(U,k)}}}if(!n){if(o||e.preventDefault(),t&&u.e6.isExpanded(t)&&r.startsWith("delete")){var y=r.endsWith("Backward")?"backward":"forward";u.ML.deleteFragment(U,{direction:y});return}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":u.ML.deleteFragment(U);break;case"deleteContent":case"deleteContentForward":u.ML.deleteForward(U);break;case"deleteContentBackward":u.ML.deleteBackward(U);break;case"deleteEntireSoftLine":u.ML.deleteBackward(U,{unit:"line"}),u.ML.deleteForward(U,{unit:"line"});break;case"deleteHardLineBackward":u.ML.deleteBackward(U,{unit:"block"});break;case"deleteSoftLineBackward":u.ML.deleteBackward(U,{unit:"line"});break;case"deleteHardLineForward":u.ML.deleteForward(U,{unit:"block"});break;case"deleteSoftLineForward":u.ML.deleteForward(U,{unit:"line"});break;case"deleteWordBackward":u.ML.deleteBackward(U,{unit:"word"});break;case"deleteWordForward":u.ML.deleteForward(U,{unit:"word"});break;case"insertLineBreak":u.ML.insertSoftBreak(U);break;case"insertParagraph":u.ML.insertBreak(U);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":"insertFromComposition"===r&&ew.isComposing(U)&&(X(!1),S.set(U,!1)),(null==a?void 0:a.constructor.name)==="DataTransfer"?ew.insertData(U,a):"string"==typeof a&&(o?Q.current.push(()=>u.ML.insertText(U,a)):u.ML.insertText(U,a))}var E=null===(v=F.get(U))||void 0===v?void 0:v.unref();F.delete(U),!E||U.selection&&u.e6.equals(U.selection,E)||u.YR.select(U,E)}}}},[g,f]);eb(()=>(J.current&&em&&J.current.addEventListener("beforeinput",eu),()=>{J.current&&em&&J.current.removeEventListener("beforeinput",eu)}),[eu]),eb(()=>{var e=ew.getWindow(U);return e.document.addEventListener("selectionchange",eo),()=>{e.document.removeEventListener("selectionchange",eo)}},[eo]);var eM=c([U,[]]);if(v&&1===U.children.length&&1===Array.from(u.NB.texts(U)).length&&""===u.NB.string(U)&&!H){var ex=u.ML.start(U,[]);eM.push({[I]:!0,placeholder:v,anchor:ex,focus:ex})}var{marks:ek}=U;if(et.hasMarkPlaceholder=!1,U.selection&&u.e6.isCollapsed(U.selection)&&ek){var{anchor:ey}=U.selection,eE=u.NB.leaf(U,ey.path),eL=p(eE,ta);if(!u.xv.equals(eE,ek,{loose:!0})){et.hasMarkPlaceholder=!0;var eD=Object.fromEntries(Object.keys(eL).map(e=>[e,null]));eM.push(to(to(to({[q]:!0},eD),ek),{},{anchor:ey,focus:ey}))}}return(0,d.useEffect)(()=>{setTimeout(()=>{var{selection:e}=U;if(e){var{anchor:t}=e,r=u.NB.leaf(U,t.path);if(ek&&!u.xv.equals(r,ek,{loose:!0})){R.set(U,ek);return}}R.delete(U)})}),d.createElement(e$.Provider,{value:g},d.createElement(ej.Provider,{value:c},d.createElement(e0,{node:J,receivedUserInput:G},d.createElement(B,Object.assign({role:g?void 0:"textbox","aria-multiline":!g||void 0},Y,{spellCheck:(!!em||!eg)&&Y.spellCheck,autoCorrect:em||!eg?Y.autoCorrect:"false",autoCapitalize:em||!eg?Y.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!g,zindex:-1,suppressContentEditableWarning:!0,ref:J,style:to({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},D),onBeforeInput:(0,d.useCallback)(e=>{if(!em&&!g&&!tu(e,Y.onBeforeInput)&&ew.hasSelectableTarget(U,e.target)&&(e.preventDefault(),!ew.isComposing(U))){var t=e.data;u.ML.insertText(U,t)}},[g]),onInput:(0,d.useCallback)(e=>{if(ed){ed.handleInput();return}for(var t of Q.current)t();Q.current=[]},[]),onBlur:(0,d.useCallback)(e=>{if(!(g||et.isUpdatingSelection||!ew.hasSelectableTarget(U,e.target)||tu(e,Y.onBlur))){var t=ew.findDocumentOrShadowRoot(U);if(et.latestElement!==t.activeElement){var{relatedTarget:r}=e;if(!(r===ew.toDOMNode(U,U)||_(r)&&r.hasAttribute("data-slate-spacer"))){if(null!=r&&z(r)&&ew.hasDOMNode(U,r)){var a=ew.toSlateNode(U,r);if(u.W_.isElement(a)&&!U.isVoid(a))return}if(el){var n=t.getSelection();null==n||n.removeAllRanges()}O.delete(U)}}}},[g,Y.onBlur]),onClick:(0,d.useCallback)(e=>{if(ew.hasTarget(U,e.target)&&!tu(e,Y.onClick)&&z(e.target)){var t=ew.toSlateNode(U,e.target),r=ew.findPath(U,t);if(u.ML.hasPath(U,r)&&u.NB.get(U,r)===t){if(3===e.detail&&r.length>=1){var a=r;if(!u.ML.isBlock(U,t)){var n,o=u.ML.above(U,{match:e=>u.ML.isBlock(U,e),at:r});a=null!==(n=null==o?void 0:o[1])&&void 0!==n?n:r.slice(0,1)}var i=u.ML.range(U,a);u.YR.select(U,i);return}if(!g){var s=u.ML.start(U,r),l=u.ML.end(U,r),d=u.ML.void(U,{at:s}),c=u.ML.void(U,{at:l});if(d&&c&&u.y$.equals(d[1],c[1])){var f=u.ML.range(U,s);u.YR.select(U,f)}}}}},[g,Y.onClick]),onCompositionEnd:(0,d.useCallback)(e=>{if(ew.hasSelectableTarget(U,e.target)&&(ew.isComposing(U)&&(X(!1),S.set(U,!1)),null==ed||ed.handleCompositionEnd(e),!tu(e,Y.onCompositionEnd)&&!ei&&!el&&!ef&&!en&&!ev&&!ep&&!eh&&e.data)){var t=R.get(U);R.delete(U),void 0!==t&&(P.set(U,U.marks),U.marks=t),u.ML.insertText(U,e.data);var r=P.get(U);P.delete(U),void 0!==r&&(U.marks=r)}},[Y.onCompositionEnd]),onCompositionUpdate:(0,d.useCallback)(e=>{!ew.hasSelectableTarget(U,e.target)||tu(e,Y.onCompositionUpdate)||ew.isComposing(U)||(X(!0),S.set(U,!0))},[Y.onCompositionUpdate]),onCompositionStart:(0,d.useCallback)(e=>{if(ew.hasSelectableTarget(U,e.target)&&(null==ed||ed.handleCompositionStart(e),!tu(e,Y.onCompositionStart)&&!ei)){X(!0);var{selection:t}=U;if(t){if(u.e6.isExpanded(t)){u.ML.deleteFragment(U);return}var r=u.ML.above(U,{match:e=>u.ML.isInline(U,e),mode:"highest"});if(r){var[,a]=r;if(u.ML.isEnd(U,t.anchor,a)){var n=u.ML.after(U,a);u.YR.setSelection(U,{anchor:n,focus:n})}}}}},[Y.onCompositionStart]),onCopy:(0,d.useCallback)(e=>{ew.hasSelectableTarget(U,e.target)&&!tu(e,Y.onCopy)&&(e.preventDefault(),ew.setFragmentData(U,e.clipboardData,"copy"))},[Y.onCopy]),onCut:(0,d.useCallback)(e=>{if(!g&&ew.hasSelectableTarget(U,e.target)&&!tu(e,Y.onCut)){e.preventDefault(),ew.setFragmentData(U,e.clipboardData,"cut");var{selection:t}=U;if(t){if(u.e6.isExpanded(t))u.ML.deleteFragment(U);else{var r=u.NB.parent(U,t.anchor.path);u.ML.isVoid(U,r)&&u.YR.delete(U)}}}},[g,Y.onCut]),onDragOver:(0,d.useCallback)(e=>{if(ew.hasTarget(U,e.target)&&!tu(e,Y.onDragOver)){var t=ew.toSlateNode(U,e.target);u.ML.isVoid(U,t)&&e.preventDefault()}},[Y.onDragOver]),onDragStart:(0,d.useCallback)(e=>{if(!g&&ew.hasTarget(U,e.target)&&!tu(e,Y.onDragStart)){var t=ew.toSlateNode(U,e.target),r=ew.findPath(U,t);if(u.ML.isVoid(U,t)||u.ML.void(U,{at:r,voids:!0})){var a=u.ML.range(U,r);u.YR.select(U,a)}et.isDraggingInternally=!0,ew.setFragmentData(U,e.dataTransfer,"drag")}},[g,Y.onDragStart]),onDrop:(0,d.useCallback)(e=>{if(!g&&ew.hasTarget(U,e.target)&&!tu(e,Y.onDrop)){e.preventDefault();var t=U.selection,r=ew.findEventRange(U,e),a=e.dataTransfer;u.YR.select(U,r),et.isDraggingInternally&&t&&!u.e6.equals(t,r)&&!u.ML.void(U,{at:r,voids:!0})&&u.YR.delete(U,{at:t}),ew.insertData(U,a),ew.isFocused(U)||ew.focus(U)}et.isDraggingInternally=!1},[g,Y.onDrop]),onDragEnd:(0,d.useCallback)(e=>{!g&&et.isDraggingInternally&&Y.onDragEnd&&ew.hasTarget(U,e.target)&&Y.onDragEnd(e),et.isDraggingInternally=!1},[g,Y.onDragEnd]),onFocus:(0,d.useCallback)(e=>{if(!g&&!et.isUpdatingSelection&&ew.hasSelectableTarget(U,e.target)&&!tu(e,Y.onFocus)){var t=ew.toDOMNode(U,U),r=ew.findDocumentOrShadowRoot(U);if(et.latestElement=r.activeElement,es&&e.target!==t){t.focus();return}O.set(U,!0)}},[g,Y.onFocus]),onKeyDown:(0,d.useCallback)(e=>{if(!g&&ew.hasEditableTarget(U,e.target)){null==ed||ed.handleKeyDown(e);var{nativeEvent:t}=e;if(ew.isComposing(U)&&!1===t.isComposing&&(S.set(U,!1),X(!1)),!(tu(e,Y.onKeyDown)||ew.isComposing(U))){var{selection:r}=U,a=U.children[null!==r?r.focus.path[0]:0],o="rtl"===n()(u.NB.string(a));if(eJ.isRedo(t)){e.preventDefault(),"function"==typeof U.redo&&U.redo();return}if(eJ.isUndo(t)){e.preventDefault(),"function"==typeof U.undo&&U.undo();return}if(eJ.isMoveLineBackward(t)){e.preventDefault(),u.YR.move(U,{unit:"line",reverse:!0});return}if(eJ.isMoveLineForward(t)){e.preventDefault(),u.YR.move(U,{unit:"line"});return}if(eJ.isExtendLineBackward(t)){e.preventDefault(),u.YR.move(U,{unit:"line",edge:"focus",reverse:!0});return}if(eJ.isExtendLineForward(t)){e.preventDefault(),u.YR.move(U,{unit:"line",edge:"focus"});return}if(eJ.isMoveBackward(t)){e.preventDefault(),r&&u.e6.isCollapsed(r)?u.YR.move(U,{reverse:!o}):u.YR.collapse(U,{edge:"start"});return}if(eJ.isMoveForward(t)){e.preventDefault(),r&&u.e6.isCollapsed(r)?u.YR.move(U,{reverse:o}):u.YR.collapse(U,{edge:"end"});return}if(eJ.isMoveWordBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)&&u.YR.collapse(U,{edge:"focus"}),u.YR.move(U,{unit:"word",reverse:!o});return}if(eJ.isMoveWordForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)&&u.YR.collapse(U,{edge:"focus"}),u.YR.move(U,{unit:"word",reverse:o});return}if(em){if((ec||el)&&r&&(eJ.isDeleteBackward(t)||eJ.isDeleteForward(t))&&u.e6.isCollapsed(r)){var i=u.NB.parent(U,r.anchor.path);if(u.W_.isElement(i)&&u.ML.isVoid(U,i)&&(u.ML.isInline(U,i)||u.ML.isBlock(U,i))){e.preventDefault(),u.ML.deleteBackward(U,{unit:"block"});return}}}else{if(eJ.isBold(t)||eJ.isItalic(t)||eJ.isTransposeCharacter(t)){e.preventDefault();return}if(eJ.isSoftBreak(t)){e.preventDefault(),u.ML.insertSoftBreak(U);return}if(eJ.isSplitBlock(t)){e.preventDefault(),u.ML.insertBreak(U);return}if(eJ.isDeleteBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"backward"}):u.ML.deleteBackward(U);return}if(eJ.isDeleteForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"forward"}):u.ML.deleteForward(U);return}if(eJ.isDeleteLineBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"backward"}):u.ML.deleteBackward(U,{unit:"line"});return}if(eJ.isDeleteLineForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"forward"}):u.ML.deleteForward(U,{unit:"line"});return}if(eJ.isDeleteWordBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"backward"}):u.ML.deleteBackward(U,{unit:"word"});return}if(eJ.isDeleteWordForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"forward"}):u.ML.deleteForward(U,{unit:"word"});return}}}}},[g,Y.onKeyDown]),onPaste:(0,d.useCallback)(e=>{!g&&ew.hasSelectableTarget(U,e.target)&&!tu(e,Y.onPaste)&&(!em||K(e.nativeEvent))&&(e.preventDefault(),ew.insertData(U,e.clipboardData))},[g,Y.onPaste])}),d.createElement(ti,{decorations:eM,node:U,renderElement:m,renderPlaceholder:b,renderLeaf:w,selection:U.selection})))))},tl=e=>{var{attributes:t,children:r}=e;return d.createElement("span",Object.assign({},t),r,ei&&d.createElement("br",null))},td=()=>[],tc=(e,t)=>{if(!e.selection||e.selection&&u.e6.isCollapsed(e.selection)){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),(0,c.Z)(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},tu=(e,t)=>{if(!t)return!1;var r=t(e);return null!=r?r:e.isDefaultPrevented()||e.isPropagationStopped()},tf=(e,t)=>{if(!t)return!1;var r=t(e);return null!=r?r:e.defaultPrevented},tv=(0,d.createContext)(!1),th=()=>(0,d.useContext)(tv),tp=(0,d.createContext)({}),tg=["editor","children","onChange","value"],tm=e=>{var t,r,a,n,{editor:o,children:i,onChange:s,value:l}=e,c=p(e,tg),f=(0,d.useRef)(!1),[v,h]=d.useState(()=>{if(!u.NB.isNodeList(l))throw Error("[Slate] value is invalid! Expected a list of elements but got: ".concat(u.o4.stringify(l)));if(!u.ML.isEditor(o))throw Error("[Slate] editor is invalid! You passed: ".concat(u.o4.stringify(o)));return o.children=l,Object.assign(o,c),{v:0,editor:o}}),{selectorContext:g,onChange:m}=(t=(0,d.useRef)([]).current,r=(0,d.useRef)({editor:o}).current,a=(0,d.useCallback)(e=>{r.editor=e,t.forEach(t=>t(e))},[]),n=(0,d.useMemo)(()=>({getSlate:()=>r.editor,addEventListener:e=>(t.push(e),()=>{t.splice(t.indexOf(e),1)})}),[t,r]),{selectorContext:n,onChange:a}),w=(0,d.useCallback)(()=>{s&&s(o.children),h(e=>({v:e.v+1,editor:o})),m(o)},[s]);B.set(o,w),(0,d.useEffect)(()=>()=>{B.set(o,()=>{}),f.current=!0},[]);var[b,M]=(0,d.useState)(ew.isFocused(o));return(0,d.useEffect)(()=>{M(ew.isFocused(o))}),eb(()=>{var e=()=>M(ew.isFocused(o));return ea?(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)})},[]),d.createElement(tp.Provider,{value:g},d.createElement(e_.Provider,{value:v},d.createElement(eC.Provider,{value:v.editor},d.createElement(tv.Provider,{value:b},i))))},tw=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},tb=(e,t,r)=>{var a=ew.toDOMRange(e,t).getBoundingClientRect(),n=ew.toDOMRange(e,r).getBoundingClientRect();return tw(a,n)&&tw(n,a)},tM=(e,t)=>{var r=u.ML.range(e,u.e6.end(t)),a=Array.from(u.ML.positions(e,{at:t})),n=0,o=a.length,i=Math.floor(o/2);if(tb(e,u.ML.range(e,a[n]),r))return u.ML.range(e,a[n],r);if(a.length<2)return u.ML.range(e,a[a.length-1],r);for(;i!==a.length&&i!==n;)tb(e,u.ML.range(e,a[i]),r)?o=i:n=i,i=Math.floor((n+o)/2);return u.ML.range(e,a[o],r)};function tx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function tk(e){for(var t=1;t{var t=e,{apply:r,onChange:a,deleteBackward:n,addMark:o,removeMark:i}=t;return D.set(t,new WeakMap),t.addMark=(e,r)=>{var a,n;null===(a=T.get(t))||void 0===a||a(),!R.get(t)&&null!==(n=N.get(t))&&void 0!==n&&n.length&&R.set(t,null),P.delete(t),o(e,r)},t.removeMark=e=>{var r;!R.get(t)&&null!==(r=N.get(t))&&void 0!==r&&r.length&&R.set(t,null),P.delete(t),i(e)},t.deleteBackward=e=>{if("line"!==e)return n(e);if(t.selection&&u.e6.isCollapsed(t.selection)){var r=u.ML.above(t,{match:e=>u.ML.isBlock(t,e),at:t.selection});if(r){var[,a]=r,o=u.ML.range(t,a,t.selection.anchor),i=tM(t,o);u.e6.isCollapsed(i)||u.YR.delete(t,{at:i})}}},t.apply=e=>{var a,n=[],o=N.get(t);if(null!=o&&o.length){var i=o.map(t=>(function(e,t){var{path:r,diff:a,id:n}=e;switch(t.type){case"insert_text":if(!u.y$.equals(t.path,r)||t.offset>=a.end)return e;if(t.offset<=a.start)return{diff:{start:t.text.length+a.start,end:t.text.length+a.end,text:a.text},id:n,path:r};return{diff:{start:a.start,end:a.end+t.text.length,text:a.text},id:n,path:r};case"remove_text":if(!u.y$.equals(t.path,r)||t.offset>=a.end)return e;if(t.offset+t.text.length<=a.start)return{diff:{start:a.start-t.text.length,end:a.end-t.text.length,text:a.text},id:n,path:r};return{diff:{start:a.start,end:a.end-t.text.length,text:a.text},id:n,path:r};case"split_node":if(!u.y$.equals(t.path,r)||t.position>=a.end)return{diff:a,id:n,path:u.y$.transform(r,t,{affinity:"backward"})};if(t.position>a.start)return{diff:{start:a.start,end:Math.min(t.position,a.end),text:a.text},id:n,path:r};return{diff:{start:a.start-t.position,end:a.end-t.position,text:a.text},id:n,path:u.y$.transform(r,t,{affinity:"forward"})};case"merge_node":if(!u.y$.equals(t.path,r))return{diff:a,id:n,path:u.y$.transform(r,t)};return{diff:{start:a.start+t.position,end:a.end+t.position,text:a.text},id:n,path:u.y$.transform(r,t)}}var o=u.y$.transform(r,t);return o?{diff:a,path:o,id:n}:null})(t,e)).filter(Boolean);N.set(t,i)}var s=j.get(t);s&&j.set(t,e3(t,s,e));var l=W.get(t);if(null!=l&&l.at){var d=u.E9.isPoint(null==l?void 0:l.at)?e9(t,l.at,e):e3(t,l.at,e);W.set(t,d?tk(tk({},l),{},{at:d}):null)}switch(e.type){case"insert_text":case"remove_text":case"set_node":case"split_node":n.push(...tE(t,e.path));break;case"set_selection":null===(a=F.get(t))||void 0===a||a.unref(),F.delete(t);break;case"insert_node":case"remove_node":n.push(...tE(t,u.y$.parent(e.path)));break;case"merge_node":n.push(...tE(t,u.y$.previous(e.path)));break;case"move_node":n.push(...tE(t,u.y$.common(u.y$.parent(e.path),u.y$.parent(e.newPath))))}for(var[c,f]of(r(e),n)){var[v]=u.ML.node(t,c);L.set(v,f)}},t.setFragmentData=e=>{var{selection:r}=t;if(r){var[a,n]=u.e6.edges(r),o=u.ML.void(t,{at:a.path}),i=u.ML.void(t,{at:n.path});if(!u.e6.isCollapsed(r)||o){var s=ew.toDOMRange(t,r),l=s.cloneContents(),d=l.childNodes[0];if(l.childNodes.forEach(e=>{e.textContent&&""!==e.textContent.trim()&&(d=e)}),i){var[c]=i,f=s.cloneRange(),v=ew.toDOMNode(t,c);f.setEndAfter(v),l=f.cloneContents()}if(o&&(d=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach(e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""}),H(d)){var h=d.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(d),l.appendChild(h),d=h}var p=JSON.stringify(t.getFragment()),g=window.btoa(encodeURIComponent(p));d.setAttribute("data-slate-fragment",g),e.setData("application/x-slate-fragment",g);var m=l.ownerDocument.createElement("div");return m.appendChild(l),m.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(m),e.setData("text/html",m.innerHTML),e.setData("text/plain",G(m)),l.ownerDocument.body.removeChild(m),e}}},t.insertData=e=>{t.insertFragmentData(e)||t.insertTextData(e)},t.insertFragmentData=e=>{var r=e.getData("application/x-slate-fragment")||et(e);if(r){var a=JSON.parse(decodeURIComponent(window.atob(r)));return t.insertFragment(a),!0}return!1},t.insertTextData=e=>{var r=e.getData("text/plain");if(r){var a=r.split(/\r\n|\r|\n/),n=!1;for(var o of a)n&&u.YR.splitNodes(t,{always:!0}),t.insertText(o),n=!0;return!0}return!1},t.onChange=()=>{v.unstable_batchedUpdates(()=>{var e=B.get(t);e&&e(),a()})},t},tE=(e,t)=>{var r=[];for(var[a,n]of u.ML.levels(e,{at:t})){var o=ew.findKey(e,a);r.push([n,o])}return r}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/_app-5cf702a17305b813.js b/static/web/_next/static/chunks/pages/_app-4045b19cf45383fd.js similarity index 78% rename from static/web/_next/static/chunks/pages/_app-5cf702a17305b813.js rename to static/web/_next/static/chunks/pages/_app-4045b19cf45383fd.js index 0e35e85b2..9befe8235 100644 --- a/static/web/_next/static/chunks/pages/_app-5cf702a17305b813.js +++ b/static/web/_next/static/chunks/pages/_app-4045b19cf45383fd.js @@ -1,8 +1,8 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{92138:function(e,t,n){"use strict";n.r(t),n.d(t,{blue:function(){return C},cyan:function(){return E},geekblue:function(){return Z},generate:function(){return f},gold:function(){return g},green:function(){return x},grey:function(){return N},lime:function(){return w},magenta:function(){return k},orange:function(){return y},presetDarkPalettes:function(){return h},presetPalettes:function(){return p},presetPrimaryColors:function(){return d},purple:function(){return S},red:function(){return m},volcano:function(){return v},yellow:function(){return b}});var r=n(86500),o=n(1350),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function l(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function c(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function s(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)))}function u(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),f=5;f>0;f-=1){var d=a(r),p=l((0,o.uA)({h:c(d,f,!0),s:s(d,f,!0),v:u(d,f,!0)}));n.push(p)}n.push(l(r));for(var h=1;h<=4;h+=1){var m=a(r),v=l((0,o.uA)({h:c(m,h),s:s(m,h),v:u(m,h)}));n.push(v)}return"dark"===t.theme?i.map(function(e){var r,i,a,c=e.index,s=e.opacity;return l((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[c]),a=100*s/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))}):n}var d={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},p={},h={};Object.keys(d).forEach(function(e){p[e]=f(d[e]),p[e].primary=p[e][5],h[e]=f(d[e],{theme:"dark",backgroundColor:"#141414"}),h[e].primary=h[e][5]});var m=p.red,v=p.volcano,g=p.gold,y=p.orange,b=p.yellow,w=p.lime,x=p.green,E=p.cyan,C=p.blue,Z=p.geekblue,S=p.purple,k=p.magenta,N=p.grey},42135:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(1413),o=n(97685),i=n(4942),a=n(45987),l=n(67294),c=n(94184),s=n.n(c),u=n(63017),f=n(71002),d=n(92138),p=n(80334),h=n(44958);function m(e){return"object"===(0,f.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,f.Z)(e.icon)||"function"==typeof e.icon)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):t[n]=r,t},{})}function g(e){return(0,d.generate)(e)[0]}function y(e){return e?Array.isArray(e)?e:[e]:[]}var b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\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=(0,l.useContext)(u.Z).csp;(0,l.useEffect)(function(){(0,h.hq)(e,"@ant-design-icons",{prepend:!0,csp:t})},[])},w=["icon","className","onClick","style","primaryColor","secondaryColor"],x={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},E=function(e){var t,n=e.icon,o=e.className,i=e.onClick,c=e.style,s=e.primaryColor,u=e.secondaryColor,f=(0,a.Z)(e,w),d=x;if(s&&(d={primaryColor:s,secondaryColor:u||g(s)}),b(),t=m(n),(0,p.ZP)(t,"[@ant-design/icons] ".concat("icon should be icon definiton, but got ".concat(n))),!m(n))return null;var h=n;return h&&"function"==typeof h.icon&&(h=(0,r.Z)((0,r.Z)({},h),{},{icon:h.icon(d.primaryColor,d.secondaryColor)})),function e(t,n,o){return o?l.createElement(t.tag,(0,r.Z)((0,r.Z)({key:n},v(t.attrs)),o),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):l.createElement(t.tag,(0,r.Z)({key:n},v(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}(h.icon,"svg-".concat(h.name),(0,r.Z)({className:o,onClick:i,style:c,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f))};function C(e){var t=y(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return E.setTwoToneColors({primaryColor:r,secondaryColor:i})}E.displayName="IconReact",E.getTwoToneColors=function(){return(0,r.Z)({},x)},E.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;x.primaryColor=t,x.secondaryColor=n||g(t),x.calculated=!!n};var Z=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];C("#1890ff");var S=l.forwardRef(function(e,t){var n,c=e.className,f=e.icon,d=e.spin,p=e.rotate,h=e.tabIndex,m=e.onClick,v=e.twoToneColor,g=(0,a.Z)(e,Z),b=l.useContext(u.Z),w=b.prefixCls,x=void 0===w?"anticon":w,C=b.rootClassName,S=s()(C,x,(n={},(0,i.Z)(n,"".concat(x,"-").concat(f.name),!!f.name),(0,i.Z)(n,"".concat(x,"-spin"),!!d||"loading"===f.name),n),c),k=h;void 0===k&&m&&(k=-1);var N=y(v),_=(0,o.Z)(N,2),T=_[0],O=_[1];return l.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":f.name},g),{},{ref:t,tabIndex:k,onClick:m,className:S}),l.createElement(E,{icon:f,primaryColor:T,secondaryColor:O,style:p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0}))});S.displayName="AntdIcon",S.getTwoToneColor=function(){var e=E.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},S.setTwoToneColor=C;var k=S},63017:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},89739:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckCircleFilled";var c=o.forwardRef(l)},8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"check-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckCircleOutlined";var c=o.forwardRef(l)},63606:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckOutlined";var c=o.forwardRef(l)},4340:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseCircleFilled";var c=o.forwardRef(l)},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseCircleOutlined";var c=o.forwardRef(l)},97937:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseOutlined";var c=o.forwardRef(l)},57132:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CopyOutlined";var c=o.forwardRef(l)},80882:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="DownOutlined";var c=o.forwardRef(l)},86548:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 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.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 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-32z"}}]},name:"edit",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EditOutlined";var c=o.forwardRef(l)},89705:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EllipsisOutlined";var c=o.forwardRef(l)},21640:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="ExclamationCircleFilled";var c=o.forwardRef(l)},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="ExclamationCircleOutlined";var c=o.forwardRef(l)},90420:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EyeInvisibleOutlined";var c=o.forwardRef(l)},99611:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.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.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EyeOutlined";var c=o.forwardRef(l)},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="InfoCircleFilled";var c=o.forwardRef(l)},45605:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="InfoCircleOutlined";var c=o.forwardRef(l)},6171:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LeftOutlined";var c=o.forwardRef(l)},50888:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LoadingOutlined";var c=o.forwardRef(l)},38545:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-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"}}]},name:"message",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="MessageOutlined";var c=o.forwardRef(l)},25035:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="QuestionCircleOutlined";var c=o.forwardRef(l)},18073:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="RightOutlined";var c=o.forwardRef(l)},68795:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="SearchOutlined";var c=o.forwardRef(l)},28058:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="WarningOutlined";var c=o.forwardRef(l)},86500:function(e,t,n){"use strict";n.d(t,{GC:function(){return d},T6:function(){return h},VD:function(){return m},WE:function(){return s},Wl:function(){return p},Yt:function(){return v},lC:function(){return i},py:function(){return c},rW:function(){return o},s:function(){return f},ve:function(){return l},vq:function(){return u}});var r=n(90279);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=0,c=(o+i)/2;if(o===i)l=0,a=0;else{var s=o-i;switch(l=c>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6)?e+(t-e)*(6*n):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function l(e,t,n){if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,l=n,o=n;else{var o,i,l,c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;o=a(s,c,e+1/3),i=a(s,c,e),l=a(s,c,e-1/3)}return{r:255*o,g:255*i,b:255*l}}function c(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},48701:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(e,t,n){"use strict";n.d(t,{ky:function(){return d},uA:function(){return a},uz:function(){return f}});var r=n(86500),o=n(48701),i=n(90279);function a(e){var t={r:0,g:0,b:0},n=1,o=null,a=null,l=null,c=!1,s=!1;return"string"==typeof e&&(e=f(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),c=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(o=(0,i.JX)(e.s),a=(0,i.JX)(e.v),t=(0,r.WE)(e.h,o,a),c=!0,s="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(o=(0,i.JX)(e.s),l=(0,i.JX)(e.l),t=(0,r.ve)(e.h,o,l),c=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:c,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var l="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),s="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),u={CSS_UNIT:RegExp(l),rgb:RegExp("rgb"+c),rgba:RegExp("rgba"+s),hsl:RegExp("hsl"+c),hsla:RegExp("hsla"+s),hsv:RegExp("hsv"+c),hsva:RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=u.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=u.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=u.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=u.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=u.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=u.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=u.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=u.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=u.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return l},H:function(){return c}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),l=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t=0;return!t&&r&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(255*(t/100))))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(255*(t/100))))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(255*(t/100))))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;aMath.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return l},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return r}})},2788:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(97685),o=n(67294),i=n(73935),a=n(98924),l=n(42550),c=o.createContext(null),s=n(74902),u=n(8410),f=[],d=n(44958),p=n(74204),h="rc-util-locker-".concat(Date.now()),m=0,v=!1,g=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},y=o.forwardRef(function(e,t){var n,y,b,w,x=e.open,E=e.autoLock,C=e.getContainer,Z=(e.debug,e.autoDestroy),S=void 0===Z||Z,k=e.children,N=o.useState(x),_=(0,r.Z)(N,2),T=_[0],O=_[1],P=T||x;o.useEffect(function(){(S||x)&&O(x)},[x,S]);var R=o.useState(function(){return g(C)}),A=(0,r.Z)(R,2),M=A[0],j=A[1];o.useEffect(function(){var e=g(C);j(null!=e?e:null)});var L=function(e,t){var n=o.useState(function(){return(0,a.Z)()?document.createElement("div"):null}),i=(0,r.Z)(n,1)[0],l=o.useContext(c),d=o.useState(f),p=(0,r.Z)(d,2),h=p[0],m=p[1];function v(){i.parentElement||document.body.appendChild(i)}function g(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i)}return(0,u.Z)(function(){return e?l?l(v):v():g(),g},[e]),(0,u.Z)(function(){h.length&&(h.forEach(function(e){return e()}),m(f))},[h]),[i,l||function(e){m(function(t){return[e].concat((0,s.Z)(t))})}]}(P&&!M,0),F=(0,r.Z)(L,2),I=F[0],V=F[1],D=null!=M?M:I;n=!!(E&&x&&(0,a.Z)()&&(D===I||D===document.body)),y=o.useState(function(){return m+=1,"".concat(h,"_").concat(m)}),b=(0,r.Z)(y,1)[0],(0,u.Z)(function(){if(n){var e=(0,p.Z)(),t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,d.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),b)}else(0,d.jL)(b);return function(){(0,d.jL)(b)}},[n,b]);var z=null;k&&(0,l.Yr)(k)&&t&&(z=k.ref);var U=(0,l.x1)(z,t);if(!P||!(0,a.Z)()||void 0===M)return null;var B=!1===D||("boolean"==typeof w&&(v=w),v),H=k;return t&&(H=o.cloneElement(k,{ref:U})),o.createElement(c.Provider,{value:V},B?H:(0,i.createPortal)(H,D))})},86743:function(e,t,n){"use strict";var r=n(87462),o=n(97685),i=n(30470),a=n(67294),l=n(71577),c=n(6134);t.Z=function(e){var t=a.useRef(!1),n=a.useRef(null),s=(0,i.Z)(!1),u=(0,o.Z)(s,2),f=u[0],d=u[1],p=e.close,h=function(){null==p||p.apply(void 0,arguments)};a.useEffect(function(){var t=null;return e.autoFocus&&(t=setTimeout(function(){var e;null===(e=n.current)||void 0===e||e.focus()})),function(){t&&clearTimeout(t)}},[]);var m=function(e){e&&e.then&&(d(!0),e.then(function(){d(!1,!0),h.apply(void 0,arguments),t.current=!1},function(e){console.error(e),d(!1,!0),t.current=!1}))},v=e.type,g=e.children,y=e.prefixCls,b=e.buttonProps;return a.createElement(l.Z,(0,r.Z)({},(0,c.n)(v),{onClick:function(n){var r,o,i=e.actionFn;if(!t.current){if(t.current=!0,!i){h();return}if(e.emitEvent){if(o=i(n),e.quitOnNullishReturnValue&&!((r=o)&&r.then)){t.current=!1,h(n);return}}else if(i.length)o=i(p),t.current=!1;else if(!(o=i())){h();return}m(o)}},loading:f,prefixCls:y},b,{ref:n}),g)}},98787:function(e,t,n){"use strict";n.d(t,{E:function(){return o},Y:function(){return i}});var r=n(93355),o=(0,r.b)("success","processing","error","default","warning"),i=(0,r.b)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},5467:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce(function(t,n){return(n.startsWith("data-")||n.startsWith("aria-")||"role"===n)&&!n.startsWith("data-__")&&(t[n]=e[n]),t},{})}n.d(t,{Z:function(){return r}})},81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e?"function"==typeof e?e():e:null}},98082:function(e,t,n){"use strict";var r=n(97685),o=n(67294),i=n(31808);t.Z=function(){var e=o.useState(!1),t=(0,r.Z)(e,2),n=t[0],a=t[1];return o.useEffect(function(){a((0,i.fk)())},[]),n}},33603:function(e,t,n){"use strict";n.d(t,{mL:function(){return c},q0:function(){return l}});var r=n(93355),o=function(){return{height:0,opacity:0}},i=function(e){return{height:e.scrollHeight,opacity:1}},a=function(e,t){return(null==t?void 0:t.deadline)===!0||"height"===t.propertyName};(0,r.b)("bottomLeft","bottomRight","topLeft","topRight");var l=function(e){return void 0!==e&&("topLeft"===e||"topRight"===e)?"slide-down":"slide-up"},c=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};t.ZP={motionName:"ant-motion-collapse",onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:o,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}},80636:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(43159),i={adjustX:1,adjustY:1},a={adjustX:0,adjustY:0},l=[0,0];function c(e){return"boolean"==typeof e?e?i:a:(0,r.Z)((0,r.Z)({},a),e)}function s(e){var t=e.arrowWidth,n=void 0===t?4:t,i=e.horizontalArrowShift,a=void 0===i?16:i,s=e.verticalArrowShift,u=void 0===s?8:s,f=e.autoAdjustOverflow,d=e.arrowPointAtCenter,p={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(a+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(u+n)]},topRight:{points:["br","tc"],offset:[a+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(u+n)]},bottomRight:{points:["tr","bc"],offset:[a+n,4]},rightBottom:{points:["bl","cr"],offset:[4,u+n]},bottomLeft:{points:["tl","bc"],offset:[-(a+n),4]},leftBottom:{points:["br","cl"],offset:[-4,u+n]}};return Object.keys(p).forEach(function(e){p[e]=d?(0,r.Z)((0,r.Z)({},p[e]),{overflow:c(f),targetOffset:l}):(0,r.Z)((0,r.Z)({},o.C[e]),{overflow:c(f)}),p[e].ignoreShake=!0}),p}},96159:function(e,t,n){"use strict";n.d(t,{M2:function(){return i},Tm:function(){return l},l$:function(){return o},wm:function(){return a}});var r=n(67294),o=r.isValidElement;function i(e){return e&&o(e)&&e.type===r.Fragment}function a(e,t,n){return o(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}function l(e,t){return a(e,e,t)}},9708:function(e,t,n){"use strict";n.d(t,{F:function(){return l},Z:function(){return a}});var r=n(4942),o=n(94184),i=n.n(o);function a(e,t,n){var o;return i()((o={},(0,r.Z)(o,"".concat(e,"-status-success"),"success"===t),(0,r.Z)(o,"".concat(e,"-status-warning"),"warning"===t),(0,r.Z)(o,"".concat(e,"-status-error"),"error"===t),(0,r.Z)(o,"".concat(e,"-status-validating"),"validating"===t),(0,r.Z)(o,"".concat(e,"-has-feedback"),n),o))}(0,n(93355).b)("warning","error","");var l=function(e,t){return t||e}},31808:function(e,t,n){"use strict";n.d(t,{fk:function(){return a},jD:function(){return i}});var r,o=n(98924),i=function(){return(0,o.Z)()&&window.document.documentElement},a=function(){if(!i())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},93355:function(e,t,n){"use strict";n.d(t,{a:function(){return o},b:function(){return r}});var r=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=h++,r=t;return m[n]=(0,p.Z)(function t(){(r-=1)<=0?(e(),delete m[n]):m[n]=(0,p.Z)(t)}),n}v.cancel=function(e){void 0!==e&&(p.Z.cancel(m[e]),delete m[e])},v.ids=m;var g=n(96159);function y(e){return!e||null===e.offsetParent||e.hidden}var b=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;return(0,o.Z)(this,n),e=t.apply(this,arguments),e.containerRef=f.createRef(),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var o,i,l=e.props,c=l.insertExtraNode;if(!(l.disabled||!t||y(t)||t.className.includes("-leave"))){e.extraNode=document.createElement("div");var u=(0,a.Z)(e).extraNode,f=e.context.getPrefixCls;u.className="".concat(f(""),"-click-animating-node");var d=e.getAttributeName();if(t.setAttribute(d,"true"),n&&"#fff"!==n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&"rgba(255, 255, 255, 1)"!==n&&(!(p=(n||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/))||!p[1]||!p[2]||!p[3]||!(p[1]===p[2]&&p[2]===p[3]))&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){u.style.borderColor=n;var p,h=(null===(o=t.getRootNode)||void 0===o?void 0:o.call(t))||t.ownerDocument,m=null!==(i=h instanceof Document?h.body:Array.from(h.childNodes).find(function(e){return(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE}))&&void 0!==i?i:h;r=(0,s.hq)("\n [".concat(f(""),"-click-animating-without-extra-node='true']::after, .").concat(f(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),"antd-wave",{csp:e.csp,attachTo:m})}c&&t.appendChild(u),["transition","animation"].forEach(function(n){t.addEventListener("".concat(n,"start"),e.onTransitionStart),t.addEventListener("".concat(n,"end"),e.onTransitionEnd)})}},e.onTransitionStart=function(t){if(!e.destroyed){var n=e.containerRef.current;t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(!(!t||!t.getAttribute||t.getAttribute("disabled")||t.className.includes("disabled"))){var n=function(n){if(!("INPUT"===n.target.tagName||y(n.target))){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout(function(){return e.onClick(t,r)},0),v.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=v(function(){e.animationStart=!1},10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;if(e.csp=n,!f.isValidElement(r))return r;var o=e.containerRef;return(0,u.Yr)(r)&&(o=(0,u.sQ)(r.ref,e.containerRef)),(0,g.Tm)(r,{ref:o})},e}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1;var e=this.containerRef.current;e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var e=this.context.getPrefixCls;return this.props.insertExtraNode?"".concat(e(""),"-click-animating"):"".concat(e(""),"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(e){var t=this;if(e&&e!==this.extraNode&&e instanceof Element){var n=this.props.insertExtraNode,o=this.getAttributeName();e.setAttribute(o,"false"),r&&(r.innerHTML=""),n&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),["transition","animation"].forEach(function(n){e.removeEventListener("".concat(n,"start"),t.onTransitionStart),e.removeEventListener("".concat(n,"end"),t.onTransitionEnd)})}}},{key:"render",value:function(){return f.createElement(d.C,null,this.renderWave)}}]),n}(f.Component);b.contextType=d.E_;var w=b},14670:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(87462),o=n(97685),i=n(4942),a=n(89739),l=n(8751),c=n(4340),s=n(18429),u=n(97937),f=n(21640),d=n(11475),p=n(78860),h=n(45605),m=n(94184),v=n.n(m),g=n(62874),y=n(67294),b=n(53124),w=n(5467),x=n(96159),E=n(15671),C=n(43144),Z=n(60136),S=n(33643),k=function(e){(0,Z.Z)(n,e);var t=(0,S.Z)(n);function n(){var e;return(0,E.Z)(this,n),e=t.apply(this,arguments),e.state={error:void 0,info:{componentStack:""}},e}return(0,C.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,o=this.state,i=o.error,a=o.info,l=a&&a.componentStack?a.componentStack:null,c=void 0===t?(i||"").toString():t;return i?y.createElement(A,{type:"error",message:c,description:y.createElement("pre",null,void 0===n?l:n)}):r}}]),n}(y.Component),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},_={success:a.Z,info:p.Z,error:c.Z,warning:f.Z},T={success:l.Z,info:h.Z,error:s.Z,warning:d.Z},O=function(e){var t=e.description,n=e.icon,r=e.prefixCls,o=(t?T:_)[e.type]||null;return n?(0,x.wm)(n,y.createElement("span",{className:"".concat(r,"-icon")},n),function(){return{className:v()("".concat(r,"-icon"),(0,i.Z)({},n.props.className,n.props.className))}}):y.createElement(o,{className:"".concat(r,"-icon")})},P=function(e){var t=e.isClosable,n=e.closeText,r=e.prefixCls,o=e.closeIcon,i=e.handleClose;return t?y.createElement("button",{type:"button",onClick:i,className:"".concat(r,"-close-icon"),tabIndex:0},n?y.createElement("span",{className:"".concat(r,"-close-text")},n):o):null},R=function(e){var t,n,a=e.description,l=e.prefixCls,c=e.message,s=e.banner,f=e.className,d=e.style,p=e.onMouseEnter,h=e.onMouseLeave,m=e.onClick,x=e.afterClose,E=e.showIcon,C=e.closable,Z=e.closeText,S=e.closeIcon,k=void 0===S?y.createElement(u.Z,null):S,_=e.action,T=N(e,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),R=y.useState(!1),A=(0,o.Z)(R,2),M=A[0],j=A[1],L=y.useRef(),F=y.useContext(b.E_),I=F.getPrefixCls,V=F.direction,D=I("alert",l),z=function(e){var t;j(!0),null===(t=T.onClose)||void 0===t||t.call(T,e)},U=!!Z||C,B=void 0!==(t=T.type)?t:s?"warning":"info",H=!!s&&void 0===E||E,W=v()(D,"".concat(D,"-").concat(B),(n={},(0,i.Z)(n,"".concat(D,"-with-description"),!!a),(0,i.Z)(n,"".concat(D,"-no-icon"),!H),(0,i.Z)(n,"".concat(D,"-banner"),!!s),(0,i.Z)(n,"".concat(D,"-rtl"),"rtl"===V),n),void 0===f?"":f),q=(0,w.Z)(T);return y.createElement(g.Z,{visible:!M,motionName:"".concat(D,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(e){return{maxHeight:e.offsetHeight}},onLeaveEnd:x},function(e){var t=e.className,n=e.style;return y.createElement("div",(0,r.Z)({ref:L,"data-show":!M,className:v()(W,t),style:(0,r.Z)((0,r.Z)({},d),n),onMouseEnter:p,onMouseLeave:h,onClick:m,role:"alert"},q),H?y.createElement(O,{description:a,icon:T.icon,prefixCls:D,type:B}):null,y.createElement("div",{className:"".concat(D,"-content")},c?y.createElement("div",{className:"".concat(D,"-message")},c):null,a?y.createElement("div",{className:"".concat(D,"-description")},a):null),_?y.createElement("div",{className:"".concat(D,"-action")},_):null,y.createElement(P,{isClosable:!!U,closeText:Z,prefixCls:D,closeIcon:k,handleClose:z}))})};R.ErrorBoundary=k;var A=R},6134:function(e,t,n){"use strict";n.d(t,{n:function(){return T},Z:function(){return P}});var r=n(87462),o=n(4942),i=n(97685),a=n(71002),l=n(94184),c=n.n(l),s=n(98423),u=n(67294),f=n(53124),d=n(98866),p=n(97647),h=n(4173),m=n(96159),v=n(93355),g=n(68349),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=u.createContext(void 0),w=n(50888),x=n(62874),E=function(){return{width:0,opacity:0,transform:"scale(0)"}},C=function(e){return{width:e.scrollWidth,opacity:1,transform:"scale(1)"}},Z=function(e){var t=e.prefixCls,n=e.loading;return e.existIcon?u.createElement("span",{className:"".concat(t,"-loading-icon")},u.createElement(w.Z,null)):u.createElement(x.Z,{visible:!!n,motionName:"".concat(t,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:E,onAppearActive:C,onEnterStart:E,onEnterActive:C,onLeaveStart:C,onLeaveActive:E},function(e,n){var r=e.className,o=e.style;return u.createElement("span",{className:"".concat(t,"-loading-icon"),style:o,ref:n},u.createElement(w.Z,{className:r}))})},S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},k=/^[\u4e00-\u9fa5]{2}$/,N=k.test.bind(k);function _(e){return"text"===e||"link"===e}function T(e){return"danger"===e?{danger:!0}:{type:e}}(0,v.b)("default","primary","ghost","dashed","link","text"),(0,v.b)("default","circle","round"),(0,v.b)("submit","button","reset");var O=u.forwardRef(function(e,t){var n,l,v,y,w=e.loading,x=void 0!==w&&w,E=e.prefixCls,C=e.type,k=void 0===C?"default":C,T=e.danger,O=e.shape,P=void 0===O?"default":O,R=e.size,A=e.disabled,M=e.className,j=e.children,L=e.icon,F=e.ghost,I=e.block,V=e.htmlType,D=S(e,["loading","prefixCls","type","danger","shape","size","disabled","className","children","icon","ghost","block","htmlType"]),z=u.useContext(p.Z),U=u.useContext(d.Z),B=null!=A?A:U,H=u.useContext(b),W=u.useState(!!x),q=(0,i.Z)(W,2),$=q[0],K=q[1],G=u.useState(!1),Y=(0,i.Z)(G,2),X=Y[0],Q=Y[1],J=u.useContext(f.E_),ee=J.getPrefixCls,et=J.autoInsertSpaceInButton,en=J.direction,er=t||u.createRef(),eo=function(){return 1===u.Children.count(j)&&!L&&!_(k)},ei="boolean"==typeof x?x:(null==x?void 0:x.delay)||!0;u.useEffect(function(){var e=null;return"number"==typeof ei?e=window.setTimeout(function(){e=null,K(ei)},ei):K(ei),function(){e&&(window.clearTimeout(e),e=null)}},[ei]),u.useEffect(function(){if(er&&er.current&&!1!==et){var e=er.current.textContent;eo()&&N(e)?X||Q(!0):X&&Q(!1)}},[er]);var ea=function(t){var n=e.onClick;if($||B){t.preventDefault();return}null==n||n(t)},el=ee("btn",E),ec=!1!==et,es=(0,h.ri)(el,en),eu=es.compactSize,ef=es.compactItemClassnames,ed=eu||H||R||z,ep=ed&&({large:"lg",small:"sm",middle:void 0})[ed]||"",eh=(0,s.Z)(D,["navigate"]),em=c()(el,(y={},(0,o.Z)(y,"".concat(el,"-").concat(P),"default"!==P&&P),(0,o.Z)(y,"".concat(el,"-").concat(k),k),(0,o.Z)(y,"".concat(el,"-").concat(ep),ep),(0,o.Z)(y,"".concat(el,"-icon-only"),!j&&0!==j&&!!($?"loading":L)),(0,o.Z)(y,"".concat(el,"-background-ghost"),void 0!==F&&F&&!_(k)),(0,o.Z)(y,"".concat(el,"-loading"),$),(0,o.Z)(y,"".concat(el,"-two-chinese-chars"),X&&ec&&!$),(0,o.Z)(y,"".concat(el,"-block"),void 0!==I&&I),(0,o.Z)(y,"".concat(el,"-dangerous"),!!T),(0,o.Z)(y,"".concat(el,"-rtl"),"rtl"===en),(0,o.Z)(y,"".concat(el,"-disabled"),void 0!==eh.href&&B),y),ef,M),ev=L&&!$?L:u.createElement(Z,{existIcon:!!L,prefixCls:el,loading:!!$}),eg=j||0===j?(n=eo()&&ec,l=!1,v=[],u.Children.forEach(j,function(e){var t=(0,a.Z)(e),n="string"===t||"number"===t;if(l&&n){var r=v.length-1,o=v[r];v[r]="".concat(o).concat(e)}else v.push(e);l=n}),u.Children.map(v,function(e){return function(e,t){if(null!=e){var n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&"string"==typeof e.type&&N(e.props.children)?(0,m.Tm)(e,{children:e.props.children.split("").join(n)}):"string"==typeof e?N(e)?u.createElement("span",null,e.split("").join(n)):u.createElement("span",null,e):(0,m.M2)(e)?u.createElement("span",null,e):e}}(e,n)})):null;if(void 0!==eh.href)return u.createElement("a",(0,r.Z)({},eh,{className:em,onClick:ea,ref:er}),ev,eg);var ey=u.createElement("button",(0,r.Z)({},D,{type:void 0===V?"button":V,className:em,onClick:ea,disabled:B,ref:er}),ev,eg);return _(k)?ey:u.createElement(g.Z,{disabled:!!$},ey)});O.Group=function(e){var t,n=u.useContext(f.E_),i=n.getPrefixCls,a=n.direction,l=e.prefixCls,s=e.size,d=e.className,p=y(e,["prefixCls","size","className"]),h=i("btn-group",l),m="";switch(s){case"large":m="lg";break;case"small":m="sm"}var v=c()(h,(t={},(0,o.Z)(t,"".concat(h,"-").concat(m),m),(0,o.Z)(t,"".concat(h,"-rtl"),"rtl"===a),t),d);return u.createElement(b.Provider,{value:s},u.createElement("div",(0,r.Z)({},p,{className:v})))},O.__ANT_BUTTON=!0;var P=O},71577:function(e,t,n){"use strict";var r=n(6134);t.Z=r.Z},98866:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(67294),o=r.createContext(!1),i=function(e){var t=e.children,n=e.disabled,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)};t.Z=o},97647:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(67294),o=r.createContext(void 0),i=function(e){var t=e.children,n=e.size;return r.createElement(o.Consumer,null,function(e){return r.createElement(o.Provider,{value:n||e},t)})};t.Z=o},53124:function(e,t,n){"use strict";n.d(t,{C:function(){return a},E_:function(){return i},PG:function(){return l}});var r=n(87462),o=n(67294),i=o.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")}}),a=i.Consumer;function l(e){return function(t){var n=t.constructor;return n&&n.displayName||t.name,function(n){return o.createElement(a,null,function(i){var a=e.prefixCls,l=(0,i.getPrefixCls)(a,n.prefixCls);return o.createElement(t,(0,r.Z)({},i,n,{prefixCls:l}))})}}}},38080:function(e,t,n){"use strict";n.d(t,{ZP:function(){return et},w6:function(){return Q}});var r,o,i,a,l,c=n(87462),s=n(63017),u=n(71990),f=n(56982),d=n(67294),p=n(83008),h=n(67178),m=function(e){var t=e.locale,n=void 0===t?{}:t,r=e.children;e._ANT_MARK__,d.useEffect(function(){return(0,p.f)(n&&n.Modal),function(){(0,p.f)()}},[n]);var o=d.useMemo(function(){return(0,c.Z)((0,c.Z)({},n),{exist:!0})},[n]);return d.createElement(h.Z.Provider,{value:o},r)},v=n(23715),g=n(6213),y=n(12461),b=n(4942),w=n(8751),x=n(18429),E=n(97937),C=n(11475),Z=n(45605),S=n(94184),k=n.n(S),N=n(91127),_=n(97685),T=n(51550),O=n(53124),P={},R=4.5,A=24,M=24,j="",L="topRight",F=!1;function I(e,t){var n=e.placement,o=void 0===n?L:n,a=e.top,l=e.bottom,c=e.getContainer,s=void 0===c?r:c,u=e.prefixCls,f=Q(),d=f.getPrefixCls,p=f.getIconPrefixCls,h=d("notification",u||j),m=p(),v="".concat(h,"-").concat(o),g=P[v];if(g){Promise.resolve(g).then(function(e){t({prefixCls:"".concat(h,"-notice"),iconPrefixCls:m,instance:e})});return}var y=k()("".concat(h,"-").concat(o),(0,b.Z)({},"".concat(h,"-rtl"),!0===F));P[v]=new Promise(function(e){N.default.newInstance({prefixCls:h,className:y,style:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A,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}(o,a,l),getContainer:s,maxCount:i},function(n){e(n),t({prefixCls:"".concat(h,"-notice"),iconPrefixCls:m,instance:n})})})}var V={success:w.Z,info:Z.Z,error:x.Z,warning:C.Z};function D(e,t,n){var r=e.duration,i=e.icon,a=e.type,l=e.description,c=e.message,s=e.btn,u=e.onClose,f=e.onClick,p=e.key,h=e.style,m=e.className,v=e.closeIcon,g=e.props,y=void 0===r?R:r,w=null;i?w=d.createElement("span",{className:"".concat(t,"-icon")},e.icon):a&&(w=d.createElement(V[a]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(a)}));var x=d.createElement("span",{className:"".concat(t,"-close-x")},(void 0===v?o:v)||d.createElement(E.Z,{className:"".concat(t,"-close-icon")})),C=!l&&w?d.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:d.createElement(et,{iconPrefixCls:n},d.createElement("div",{className:w?"".concat(t,"-with-icon"):"",role:"alert"},w,d.createElement("div",{className:"".concat(t,"-message")},C,c),d.createElement("div",{className:"".concat(t,"-description")},l),s?d.createElement("span",{className:"".concat(t,"-btn")},s):null)),duration:y,closable:!0,closeIcon:x,onClose:u,onClick:f,key:p,style:h||{},className:k()(m,(0,b.Z)({},"".concat(t,"-").concat(a),!!a)),props:g}}var z={open:function(e){I(e,function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(D(e,n,r))})},close:function(e){Object.keys(P).forEach(function(t){return Promise.resolve(P[t]).then(function(t){t.removeNotice(e)})})},config:function(e){var t=e.duration,n=e.placement,a=e.bottom,l=e.top,c=e.getContainer,s=e.closeIcon,u=e.prefixCls;void 0!==u&&(j=u),void 0!==t&&(R=t),void 0!==n?L=n:e.rtl&&(L="topLeft"),void 0!==a&&(M=a),void 0!==l&&(A=l),void 0!==c&&(r=c),void 0!==s&&(o=s),void 0!==e.rtl&&(F=e.rtl),void 0!==e.maxCount&&(i=e.maxCount)},destroy:function(){Object.keys(P).forEach(function(e){Promise.resolve(P[e]).then(function(e){e.destroy()}),delete P[e]})}};["success","info","warning","error"].forEach(function(e){z[e]=function(t){return z.open((0,c.Z)((0,c.Z)({},t),{type:e}))}}),z.warn=z.warning,z.useNotification=function(){var e,t=null,n=(0,T.Z)({add:function(e,n){null==t||t.component.add(e,n)}}),r=(0,_.Z)(n,2),o=r[0],i=r[1],a=d.useRef({});return a.current.open=function(n){var r=e("notification",n.prefixCls);I((0,c.Z)((0,c.Z)({},n),{prefixCls:r}),function(e){var r=e.prefixCls;t=e.instance,o(D(n,r))})},["success","info","warning","error"].forEach(function(e){a.current[e]=function(t){return a.current.open((0,c.Z)((0,c.Z)({},t),{type:e}))}}),[a.current,d.createElement(O.C,{key:"holder"},function(t){return e=t.getPrefixCls,i})]};var U=n(92138),B=n(10274),H=n(98924),W=n(44958),q="-ant-".concat(Date.now(),"-").concat(Math.random()),$=n(98866),K=n(97647),G=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];function Y(){return a||"ant"}function X(){return l||"anticon"}var Q=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(Y(),"-").concat(e):Y())},getIconPrefixCls:X,getRootPrefixCls:function(e,t){return e||a||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):Y())}}},J=function(e){var t,n,r=e.children,o=e.csp,i=e.autoInsertSpaceInButton,a=e.form,l=e.locale,p=e.componentSize,h=e.direction,v=e.space,y=e.virtual,b=e.dropdownMatchSelectWidth,w=e.legacyLocale,x=e.parentContext,E=e.iconPrefixCls,C=e.componentDisabled,Z=d.useCallback(function(t,n){var r=e.prefixCls;if(n)return n;var o=r||x.getPrefixCls("");return t?"".concat(o,"-").concat(t):o},[x.getPrefixCls,e.prefixCls]),S=(0,c.Z)((0,c.Z)({},x),{csp:o,autoInsertSpaceInButton:i,locale:l||w,direction:h,space:v,virtual:y,dropdownMatchSelectWidth:b,getPrefixCls:Z});G.forEach(function(t){var n=e[t];n&&(S[t]=n)});var k=(0,f.Z)(function(){return S},S,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]})}),N=d.useMemo(function(){return{prefixCls:E,csp:o}},[E,o]),_=r,T={};return l&&(T=(null===(t=l.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=g.Z.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),a&&a.validateMessages&&(T=(0,c.Z)((0,c.Z)({},T),a.validateMessages)),Object.keys(T).length>0&&(_=d.createElement(u.FormProvider,{validateMessages:T},r)),l&&(_=d.createElement(m,{locale:l,_ANT_MARK__:"internalMark"},_)),(E||o)&&(_=d.createElement(s.Z.Provider,{value:N},_)),p&&(_=d.createElement(K.q,{size:p},_)),void 0!==C&&(_=d.createElement($.n,{disabled:C},_)),d.createElement(O.E_.Provider,{value:k},_)},ee=function(e){return d.useEffect(function(){e.direction&&(y.ZP.config({rtl:"rtl"===e.direction}),z.config({rtl:"rtl"===e.direction}))},[e.direction]),d.createElement(v.Z,null,function(t,n,r){return d.createElement(O.C,null,function(t){return d.createElement(J,(0,c.Z)({parentContext:t,legacyLocale:r},e))})})};ee.ConfigContext=O.E_,ee.SizeContext=K.Z,ee.config=function(e){var t,n=e.prefixCls,r=e.iconPrefixCls,o=e.theme;void 0!==n&&(a=n),void 0!==r&&(l=r),o&&(t=function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=function(e,t){var o=new B.C(e),i=(0,U.generate)(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=i[1],n["".concat(t,"-color-hover")]=i[4],n["".concat(t,"-color-active")]=i[6],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=i[0],n["".concat(t,"-color-deprecated-border")]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");var i=new B.C(t.primaryColor),a=(0,U.generate)(i.toRgbString());a.forEach(function(e,t){n["primary-".concat(t+1)]=e}),n["primary-color-deprecated-l-35"]=r(i,function(e){return e.lighten(35)}),n["primary-color-deprecated-l-20"]=r(i,function(e){return e.lighten(20)}),n["primary-color-deprecated-t-20"]=r(i,function(e){return e.tint(20)}),n["primary-color-deprecated-t-50"]=r(i,function(e){return e.tint(50)}),n["primary-color-deprecated-f-12"]=r(i,function(e){return e.setAlpha(.12*e.getAlpha())});var l=new B.C(a[0]);n["primary-color-active-deprecated-f-30"]=r(l,function(e){return e.setAlpha(.3*e.getAlpha())}),n["primary-color-active-deprecated-d-02"]=r(l,function(e){return e.darken(2)})}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var c=Object.keys(n).map(function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")});return"\n :root {\n ".concat(c.join("\n"),"\n }\n ").trim()}(Y(),o),(0,H.Z)()&&(0,W.hq)(t,"".concat(q,"-dynamic-theme")))};var et=ee},65223:function(e,t,n){"use strict";n.d(t,{RV:function(){return s},Rk:function(){return u},Ux:function(){return d},aM:function(){return f},q3:function(){return l},qI:function(){return c}});var r=n(87462),o=n(71990),i=n(98423),a=n(67294),l=a.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),c=a.createContext(null),s=function(e){var t=(0,i.Z)(e,["prefixCls"]);return a.createElement(o.FormProvider,(0,r.Z)({},t))},u=a.createContext({prefixCls:""}),f=a.createContext({}),d=function(e){var t=e.children,n=e.status,o=e.override,i=(0,a.useContext)(f),l=(0,a.useMemo)(function(){var e=(0,r.Z)({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,o,i]);return a.createElement(f.Provider,{value:l},t)}},82586:function(e,t,n){"use strict";n.d(t,{ZP:function(){return C},D7:function(){return w},rJ:function(){return x},nH:function(){return E}});var r=n(4942),o=n(87462),i=n(71002),a=n(4340),l=n(94184),c=n.n(l),s=n(59775),u=n(42550),f=n(67294),d=n(53124),p=n(98866),h=n(97647),m=n(65223),v=n(4173),g=n(9708),y=n(72922),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function w(e){return null==e?"":String(e)}function x(e,t,n,r){if(n){var o=t;if("click"===t.type){var i=e.cloneNode(!0);o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",n(o);return}if(void 0!==r){o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(o);return}n(o)}}function E(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}var C=(0,f.forwardRef)(function(e,t){var n,l,w,x,E=e.prefixCls,C=e.bordered,Z=void 0===C||C,S=e.status,k=e.size,N=e.disabled,_=e.onBlur,T=e.onFocus,O=e.suffix,P=e.allowClear,R=e.addonAfter,A=e.addonBefore,M=e.className,j=e.onChange,L=b(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),F=f.useContext(d.E_),I=F.getPrefixCls,V=F.direction,D=F.input,z=I("input",E),U=(0,f.useRef)(null),B=(0,v.ri)(z,V),H=B.compactSize,W=B.compactItemClassnames,q=f.useContext(h.Z),$=H||k||q,K=f.useContext(p.Z),G=(0,f.useContext)(m.aM),Y=G.status,X=G.hasFeedback,Q=G.feedbackIcon,J=(0,g.F)(Y,S),ee=!!(e.prefix||e.suffix||e.allowClear)||!!X,et=(0,f.useRef)(ee);(0,f.useEffect)(function(){ee&&et.current,et.current=ee},[ee]);var en=(0,y.Z)(U,!0),er=(X||O)&&f.createElement(f.Fragment,null,O,X&&Q);return"object"===(0,i.Z)(P)&&(null==P?void 0:P.clearIcon)?x=P:P&&(x={clearIcon:f.createElement(a.Z,null)}),f.createElement(s.default,(0,o.Z)({ref:(0,u.sQ)(t,U),prefixCls:z,autoComplete:null==D?void 0:D.autoComplete},L,{disabled:(null!=N?N:K)||void 0,onBlur:function(e){en(),null==_||_(e)},onFocus:function(e){en(),null==T||T(e)},suffix:er,allowClear:x,className:c()(M,W),onChange:function(e){en(),null==j||j(e)},addonAfter:R&&f.createElement(v.BR,null,f.createElement(m.Ux,{override:!0,status:!0},R)),addonBefore:A&&f.createElement(v.BR,null,f.createElement(m.Ux,{override:!0,status:!0},A)),inputClassName:c()((n={},(0,r.Z)(n,"".concat(z,"-sm"),"small"===$),(0,r.Z)(n,"".concat(z,"-lg"),"large"===$),(0,r.Z)(n,"".concat(z,"-rtl"),"rtl"===V),(0,r.Z)(n,"".concat(z,"-borderless"),!Z),n),!ee&&(0,g.Z)(z,J)),affixWrapperClassName:c()((l={},(0,r.Z)(l,"".concat(z,"-affix-wrapper-sm"),"small"===$),(0,r.Z)(l,"".concat(z,"-affix-wrapper-lg"),"large"===$),(0,r.Z)(l,"".concat(z,"-affix-wrapper-rtl"),"rtl"===V),(0,r.Z)(l,"".concat(z,"-affix-wrapper-borderless"),!Z),l),(0,g.Z)("".concat(z,"-affix-wrapper"),J,X)),wrapperClassName:c()((0,r.Z)({},"".concat(z,"-group-rtl"),"rtl"===V)),groupClassName:c()((w={},(0,r.Z)(w,"".concat(z,"-group-wrapper-sm"),"small"===$),(0,r.Z)(w,"".concat(z,"-group-wrapper-lg"),"large"===$),(0,r.Z)(w,"".concat(z,"-group-wrapper-rtl"),"rtl"===V),w),(0,g.Z)("".concat(z,"-group-wrapper"),J,X))}))})},80173:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(71002),o=n(4942),i=n(87462),a=n(97685),l=n(74902),c=n(94184),s=n.n(c),u=n(57239),f=n(21770),d=n(98423),p=n(67294),h=n(53124),m=n(98866),v=n(97647),g=n(65223),y=n(9708),b=n(15671),w=n(43144),x=n(60136),E=n(33643),C=n(4340),Z=n(96159),S=(0,n(93355).b)("text","input"),k=function(e){(0,x.Z)(n,e);var t=(0,E.Z)(n);function n(){return(0,b.Z)(this,n),t.apply(this,arguments)}return(0,w.Z)(n,[{key:"renderClearIcon",value:function(e){var t,n=this.props,r=n.value,i=n.disabled,a=n.readOnly,l=n.handleReset,c=n.suffix,u="".concat(e,"-clear-icon");return p.createElement(C.Z,{onClick:l,onMouseDown:function(e){return e.preventDefault()},className:s()((t={},(0,o.Z)(t,"".concat(u,"-hidden"),!(!i&&!a&&r)),(0,o.Z)(t,"".concat(u,"-has-suffix"),!!c),t),u),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(e,t,n){var r,i,a=this.props,l=a.value,c=a.allowClear,u=a.className,f=a.style,d=a.direction,h=a.bordered,m=a.hidden,v=a.status,g=n.status,b=n.hasFeedback;if(!c)return(0,Z.Tm)(t,{value:l});var w=s()("".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(0,y.Z)("".concat(e,"-affix-wrapper"),(0,y.F)(g,v),b),(i={},(0,o.Z)(i,"".concat(e,"-affix-wrapper-rtl"),"rtl"===d),(0,o.Z)(i,"".concat(e,"-affix-wrapper-borderless"),!h),(0,o.Z)(i,"".concat(u),!((r=this.props).addonBefore||r.addonAfter)&&u),i));return p.createElement("span",{className:w,style:f,hidden:m},(0,Z.Tm)(t,{style:null,value:l}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this;return p.createElement(g.aM.Consumer,null,function(t){var n=e.props,r=n.prefixCls,o=n.inputType,i=n.element;if(o===S[0])return e.renderTextAreaWithClearIcon(r,i,t)})}}]),n}(p.Component),N=n(82586),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function T(e,t){return(0,l.Z)(e||"").slice(0,t).join("")}function O(e,t,n,r){var o=n;return e?o=T(n,r):(0,l.Z)(t||"").lengthr&&(o=t),o}var P=p.forwardRef(function(e,t){var n=e.prefixCls,c=e.bordered,b=void 0===c||c,w=e.showCount,x=void 0!==w&&w,E=e.maxLength,C=e.className,Z=e.style,S=e.size,P=e.disabled,R=e.onCompositionStart,A=e.onCompositionEnd,M=e.onChange,j=e.status,L=_(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),F=p.useContext(h.E_),I=F.getPrefixCls,V=F.direction,D=p.useContext(v.Z),z=p.useContext(m.Z),U=null!=P?P:z,B=p.useContext(g.aM),H=B.status,W=B.hasFeedback,q=B.isFormItemInput,$=B.feedbackIcon,K=(0,y.F)(H,j),G=p.useRef(null),Y=p.useRef(null),X=p.useState(!1),Q=(0,a.Z)(X,2),J=Q[0],ee=Q[1],et=p.useRef(),en=p.useRef(0),er=(0,f.Z)(L.defaultValue,{value:L.value}),eo=(0,a.Z)(er,2),ei=eo[0],ea=eo[1],el=L.hidden,ec=function(e,t){void 0===L.value&&(ea(e),null==t||t())},es=Number(E)>0,eu=I("input",n);p.useImperativeHandle(t,function(){var e;return{resizableTextArea:null===(e=G.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,N.nH)(null===(n=null===(t=G.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=G.current)||void 0===e?void 0:e.blur()}}});var ef=p.createElement(u.default,(0,i.Z)({},(0,d.Z)(L,["allowClear"]),{disabled:U,className:s()((eh={},(0,o.Z)(eh,"".concat(eu,"-borderless"),!b),(0,o.Z)(eh,C,C&&!x),(0,o.Z)(eh,"".concat(eu,"-sm"),"small"===D||"small"===S),(0,o.Z)(eh,"".concat(eu,"-lg"),"large"===D||"large"===S),eh),(0,y.Z)(eu,K)),style:x?{resize:null==Z?void 0:Z.resize}:Z,prefixCls:eu,onCompositionStart:function(e){ee(!0),et.current=ei,en.current=e.currentTarget.selectionStart,null==R||R(e)},onChange:function(e){var t=e.target.value;!J&&es&&(t=O(e.target.selectionStart>=E+1||e.target.selectionStart===t.length||!e.target.selectionStart,ei,t,E)),ec(t),(0,N.rJ)(e.currentTarget,e,M,t)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;es&&(n=O(en.current>=E+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,E)),n!==ei&&(ec(n),(0,N.rJ)(e.currentTarget,e,M,n)),null==A||A(e)},ref:G})),ed=(0,N.D7)(ei);!J&&es&&(null===L.value||void 0===L.value)&&(ed=T(ed,E));var ep=p.createElement(k,(0,i.Z)({disabled:U},L,{prefixCls:eu,direction:V,inputType:"text",value:ed,element:ef,handleReset:function(e){var t,n,r;ec(""),null===(t=G.current)||void 0===t||t.focus(),(0,N.rJ)(null===(r=null===(n=G.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,M)},ref:Y,bordered:b,status:j,style:x?void 0:Z}));if(x||W){var eh,em,ev=(0,l.Z)(ed).length,eg="";return eg="object"===(0,r.Z)(x)?x.formatter({value:ed,count:ev,maxLength:E}):"".concat(ev).concat(es?" / ".concat(E):""),p.createElement("div",{hidden:el,className:s()("".concat(eu,"-textarea"),(em={},(0,o.Z)(em,"".concat(eu,"-textarea-rtl"),"rtl"===V),(0,o.Z)(em,"".concat(eu,"-textarea-show-count"),x),(0,o.Z)(em,"".concat(eu,"-textarea-in-form-item"),q),em),(0,y.Z)("".concat(eu,"-textarea"),K,W),C),style:Z,"data-count":eg},ep,W&&p.createElement("span",{className:"".concat(eu,"-textarea-suffix")},$))}return ep})},72922:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t){var n=(0,r.useRef)([]),o=function(){n.current.push(setTimeout(function(){var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))}))};return(0,r.useEffect)(function(){return t&&o(),function(){return n.current.forEach(function(e){e&&clearTimeout(e)})}},[]),o}},69677:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(87462),o=n(4942),i=n(94184),a=n.n(i),l=n(67294),c=n(53124),s=n(65223),u=n(82586),f=n(97685),d=n(71002),p=n(90420),h=n(99611),m=n(98423),v=n(42550),g=n(72922),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=function(e){return e?l.createElement(h.Z,null):l.createElement(p.Z,null)},w={click:"onClick",hover:"onMouseOver"},x=l.forwardRef(function(e,t){var n=e.visibilityToggle,i=void 0===n||n,s="object"===(0,d.Z)(i)&&void 0!==i.visible,p=(0,l.useState)(function(){return!!s&&i.visible}),h=(0,f.Z)(p,2),x=h[0],E=h[1],C=(0,l.useRef)(null);l.useEffect(function(){s&&E(i.visible)},[s,i]);var Z=(0,g.Z)(C),S=function(){e.disabled||(x&&Z(),E(function(e){var t,n=!e;return"object"===(0,d.Z)(i)&&(null===(t=i.onVisibleChange)||void 0===t||t.call(i,n)),n}))},k=function(t){var n,r=e.action,i=e.iconRender,a=w[void 0===r?"click":r]||"",c=(void 0===i?b:i)(x),s=(n={},(0,o.Z)(n,a,S),(0,o.Z)(n,"className","".concat(t,"-icon")),(0,o.Z)(n,"key","passwordIcon"),(0,o.Z)(n,"onMouseDown",function(e){e.preventDefault()}),(0,o.Z)(n,"onMouseUp",function(e){e.preventDefault()}),n);return l.cloneElement(l.isValidElement(c)?c:l.createElement("span",null,c),s)};return l.createElement(c.C,null,function(n){var c=n.getPrefixCls,s=e.className,f=e.prefixCls,d=e.inputPrefixCls,p=e.size,h=y(e,["className","prefixCls","inputPrefixCls","size"]),g=c("input",d),b=c("input-password",f),w=i&&k(b),E=a()(b,s,(0,o.Z)({},"".concat(b,"-").concat(p),!!p)),Z=(0,r.Z)((0,r.Z)({},(0,m.Z)(h,["suffix","iconRender","visibilityToggle"])),{type:x?"text":"password",className:E,prefixCls:g,suffix:w});return p&&(Z.size=p),l.createElement(u.ZP,(0,r.Z)({ref:(0,v.sQ)(t,C)},Z))})}),E=n(68795),C=n(71577),Z=n(97647),S=n(4173),k=n(96159),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},_=l.forwardRef(function(e,t){var n,i,s=e.prefixCls,f=e.inputPrefixCls,d=e.className,p=e.size,h=e.suffix,m=e.enterButton,g=void 0!==m&&m,y=e.addonAfter,b=e.loading,w=e.disabled,x=e.onSearch,_=e.onChange,T=e.onCompositionStart,O=e.onCompositionEnd,P=N(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),R=l.useContext(c.E_),A=R.getPrefixCls,M=R.direction,j=l.useContext(Z.Z),L=l.useRef(!1),F=A("input-search",s),I=A("input",f),V=(0,S.ri)(F,M).compactSize||p||j,D=l.useRef(null),z=function(e){var t;document.activeElement===(null===(t=D.current)||void 0===t?void 0:t.input)&&e.preventDefault()},U=function(e){var t,n;x&&x(null===(n=null===(t=D.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},B="boolean"==typeof g?l.createElement(E.Z,null):null,H="".concat(F,"-button"),W=g||{},q=W.type&&!0===W.type.__ANT_BUTTON;i=q||"button"===W.type?(0,k.Tm)(W,(0,r.Z)({onMouseDown:z,onClick:function(e){var t,n;null===(n=null===(t=null==W?void 0:W.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),U(e)},key:"enterButton"},q?{className:H,size:V}:{})):l.createElement(C.Z,{className:H,type:g?"primary":void 0,size:V,disabled:w,key:"enterButton",onMouseDown:z,onClick:U,loading:b,icon:B},g),y&&(i=[i,(0,k.Tm)(y,{key:"addonAfter"})]);var $=a()(F,(n={},(0,o.Z)(n,"".concat(F,"-rtl"),"rtl"===M),(0,o.Z)(n,"".concat(F,"-").concat(V),!!V),(0,o.Z)(n,"".concat(F,"-with-button"),!!g),n),d);return l.createElement(u.ZP,(0,r.Z)({ref:(0,v.sQ)(D,t),onPressEnter:function(e){L.current||b||U(e)}},P,{size:V,onCompositionStart:function(e){L.current=!0,null==T||T(e)},onCompositionEnd:function(e){L.current=!1,null==O||O(e)},prefixCls:I,addonAfter:i,suffix:h,onChange:function(e){e&&e.target&&"click"===e.type&&x&&x(e.target.value,e),_&&_(e)},className:$,disabled:w}))}),T=n(80173),O=u.ZP;O.Group=function(e){var t,n=(0,l.useContext)(c.E_),i=n.getPrefixCls,u=n.direction,f=e.prefixCls,d=e.className,p=i("input-group",f),h=a()(p,(t={},(0,o.Z)(t,"".concat(p,"-lg"),"large"===e.size),(0,o.Z)(t,"".concat(p,"-sm"),"small"===e.size),(0,o.Z)(t,"".concat(p,"-compact"),e.compact),(0,o.Z)(t,"".concat(p,"-rtl"),"rtl"===u),t),void 0===d?"":d),m=(0,l.useContext)(s.aM),v=(0,l.useMemo)(function(){return(0,r.Z)((0,r.Z)({},m),{isFormItemInput:!1})},[m]);return l.createElement("span",{className:h,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},l.createElement(s.aM.Provider,{value:v},e.children))},O.Search=_,O.TextArea=T.Z,O.Password=x;var P=O},7293:function(e,t,n){"use strict";n.d(t,{D:function(){return E},Z:function(){return Z}});var r,o=n(4942),i=n(87462),a=n(97685),l=n(1413),c=n(67294),s={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"},u=n(42135),f=function(e,t){return c.createElement(u.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:s}))};f.displayName="BarsOutlined";var d=c.forwardRef(f),p=n(6171),h=n(18073),m=n(94184),v=n.n(m),g=n(98423),y=n(53124),b=n(2897),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},E=c.createContext({}),C=(r=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r+=1,"".concat(e).concat(r)}),Z=c.forwardRef(function(e,t){var n,r,l,s,u,f,m,Z,S,k,N,_=e.prefixCls,T=e.className,O=e.trigger,P=e.children,R=e.defaultCollapsed,A=e.theme,M=e.style,j=e.collapsible,L=void 0!==j&&j,F=e.reverseArrow,I=void 0!==F&&F,V=e.width,D=e.collapsedWidth,z=void 0===D?80:D,U=e.zeroWidthTriggerStyle,B=e.breakpoint,H=e.onCollapse,W=e.onBreakpoint,q=w(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),$=(0,c.useContext)(b.Gs).siderHook,K=(0,c.useState)("collapsed"in q?q.collapsed:void 0!==R&&R),G=(0,a.Z)(K,2),Y=G[0],X=G[1],Q=(0,c.useState)(!1),J=(0,a.Z)(Q,2),ee=J[0],et=J[1];(0,c.useEffect)(function(){"collapsed"in q&&X(q.collapsed)},[q.collapsed]);var en=function(e,t){"collapsed"in q||X(e),null==H||H(e,t)},er=(0,c.useRef)();er.current=function(e){et(e.matches),null==W||W(e.matches),Y!==e.matches&&en(e.matches,"responsive")},(0,c.useEffect)(function(){function e(e){return er.current(e)}if("undefined"!=typeof window){var t,n=window.matchMedia;if(n&&B&&B in x){t=n("(max-width: ".concat(x[B],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null==t||t.removeEventListener("change",e)}catch(n){null==t||t.removeListener(e)}}},[B]),(0,c.useEffect)(function(){var e=C("ant-sider-");return $.addSider(e),function(){return $.removeSider(e)}},[]);var eo=function(){en(!Y,"clickTrigger")},ei=(0,c.useContext)(y.E_).getPrefixCls,ea=c.useMemo(function(){return{siderCollapsed:Y}},[Y]);return c.createElement(E.Provider,{value:ea},(r=ei("layout-sider",_),l=(0,g.Z)(q,["collapsed"]),f=!isNaN(parseFloat(u=s=Y?z:void 0===V?200:V))&&isFinite(u)?"".concat(s,"px"):String(s),m=0===parseFloat(String(z||0))?c.createElement("span",{onClick:eo,className:v()("".concat(r,"-zero-width-trigger"),"".concat(r,"-zero-width-trigger-").concat(I?"right":"left")),style:U},O||c.createElement(d,null)):null,Z=({expanded:I?c.createElement(h.Z,null):c.createElement(p.Z,null),collapsed:I?c.createElement(p.Z,null):c.createElement(h.Z,null)})[Y?"collapsed":"expanded"],S=null!==O?m||c.createElement("div",{className:"".concat(r,"-trigger"),onClick:eo,style:{width:f}},O||Z):null,k=(0,i.Z)((0,i.Z)({},void 0===M?{}:M),{flex:"0 0 ".concat(f),maxWidth:f,minWidth:f,width:f}),N=v()(r,"".concat(r,"-").concat(void 0===A?"dark":A),(n={},(0,o.Z)(n,"".concat(r,"-collapsed"),!!Y),(0,o.Z)(n,"".concat(r,"-has-trigger"),L&&null!==O&&!m),(0,o.Z)(n,"".concat(r,"-below"),!!ee),(0,o.Z)(n,"".concat(r,"-zero-width"),0===parseFloat(f)),n),T),c.createElement("aside",(0,i.Z)({className:N},l,{style:k,ref:t}),c.createElement("div",{className:"".concat(r,"-children")},P),L||ee&&m?S:null)))})},97183:function(e,t,n){"use strict";var r=n(2897),o=n(7293),i=r.ZP;i.Header=r.h4,i.Footer=r.$_,i.Content=r.VY,i.Sider=o.Z,t.Z=i},2897:function(e,t,n){"use strict";n.d(t,{$_:function(){return y},Gs:function(){return d},VY:function(){return b},h4:function(){return g}});var r=n(74902),o=n(4942),i=n(97685),a=n(87462),l=n(94184),c=n.n(l),s=n(67294),u=n(53124),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},d=s.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function p(e){var t=e.suffixCls,n=e.tagName;return e.displayName,function(e){return s.forwardRef(function(r,o){var i=(0,s.useContext(u.E_).getPrefixCls)(t,r.prefixCls);return s.createElement(e,(0,a.Z)({ref:o,prefixCls:i,tagName:n},r))})}}var h=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.children,i=e.tagName,l=f(e,["prefixCls","className","children","tagName"]),u=c()(n,r);return s.createElement(i,(0,a.Z)((0,a.Z)({className:u},l),{ref:t}),o)}),m=s.forwardRef(function(e,t){var n,l=s.useContext(u.E_).direction,p=s.useState([]),h=(0,i.Z)(p,2),m=h[0],v=h[1],g=e.prefixCls,y=e.className,b=e.children,w=e.hasSider,x=e.tagName,E=f(e,["prefixCls","className","children","hasSider","tagName"]),C=c()(g,(n={},(0,o.Z)(n,"".concat(g,"-has-sider"),"boolean"==typeof w?w:m.length>0),(0,o.Z)(n,"".concat(g,"-rtl"),"rtl"===l),n),y),Z=s.useMemo(function(){return{siderHook:{addSider:function(e){v(function(t){return[].concat((0,r.Z)(t),[e])})},removeSider:function(e){v(function(t){return t.filter(function(t){return t!==e})})}}}},[]);return s.createElement(d.Provider,{value:Z},s.createElement(x,(0,a.Z)({ref:t,className:C},E),b))}),v=p({suffixCls:"layout",tagName:"section",displayName:"Layout"})(m),g=p({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(h),y=p({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(h),b=p({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(h);t.ZP=v},23715:function(e,t,n){"use strict";n.d(t,{Z:function(){return l},E:function(){return c}});var r=n(87462),o=n(67294),i=n(67178),a=n(6213).Z,l=function(e){var t=e.componentName,n=void 0===t?"global":t,l=e.defaultLocale,c=e.children,s=o.useContext(i.Z);return c(o.useMemo(function(){var e,t=l||a[n],o=null!==(e=null==s?void 0:s[n])&&void 0!==e?e:{};return(0,r.Z)((0,r.Z)({},t instanceof Function?t():t),o||{})},[n,l,s]),o.useMemo(function(){var e=s&&s.locale;return s&&s.exist&&!e?a.locale:e},[s]),s)},c=function(e,t){var n=o.useContext(i.Z);return[o.useMemo(function(){var o,i=t||a[e],l=null!==(o=null==n?void 0:n[e])&&void 0!==o?o:{};return(0,r.Z)((0,r.Z)({},"function"==typeof i?i():i),l||{})},[e,t,n])]}},67178:function(e,t,n){"use strict";var r=(0,n(67294).createContext)(void 0);t.Z=r},6213:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(62906),o=n(87462),i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},a={lang:(0,o.Z)({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"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:(0,o.Z)({},i)},l="${label} is not a valid ${type}",c={locale:"en",Pagination:r.Z,DatePicker:a,TimePicker:i,Calendar:a,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:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},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"}}},76529:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(87462),o=n(67294),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},a=o.createContext(null),l=function(e){var t=e.children,n=i(e,["children"]),l=o.useContext(a),c=o.useMemo(function(){return(0,r.Z)((0,r.Z)({},l),n)},[l,n.prefixCls,n.mode,n.selectable]);return o.createElement(a.Provider,{value:c},t)};t.Z=a},66516:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(15671),o=n(43144),i=n(60136),a=n(33643),l=n(87462),c=n(89705),s=n(94184),u=n.n(s),f=n(97868),d=n(66680),p=n(98423),h=n(67294),m=n(53124),v=n(7293),g=n(33603),y=n(96159),b=n(71002),w=n(4942),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},E=function(e){var t=e.prefixCls,n=e.className,r=e.dashed,o=x(e,["prefixCls","className","dashed"]),i=(0,h.useContext(m.E_).getPrefixCls)("menu",t),a=u()((0,w.Z)({},"".concat(i,"-item-divider-dashed"),!!r),n);return h.createElement(f.iz,(0,l.Z)({className:a},o))},C=n(50344),Z=n(94199),S=(0,h.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},N=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(this,n),e=t.apply(this,arguments),e.renderItem=function(t){var n,r,o=t.siderCollapsed,i=e.context,a=i.prefixCls,c=i.firstLevel,s=i.inlineCollapsed,d=i.direction,p=i.disableMenuItemTitleTooltip,m=e.props,v=m.className,g=m.children,b=e.props,x=b.title,E=b.icon,S=b.danger,N=k(b,["title","icon","danger"]),_=x;void 0===x?_=c?g:"":!1===x&&(_="");var T={title:_};o||s||(T.title=null,T.open=!1);var O=(0,C.Z)(g).length,P=h.createElement(f.ck,(0,l.Z)({},N,{className:u()((n={},(0,w.Z)(n,"".concat(a,"-item-danger"),S),(0,w.Z)(n,"".concat(a,"-item-only-child"),(E?O+1:O)===1),n),v),title:"string"==typeof x?x:void 0}),(0,y.Tm)(E,{className:u()((0,y.l$)(E)?null===(r=E.props)||void 0===r?void 0:r.className:"","".concat(a,"-item-icon"))}),e.renderItemChildren(s));return p||(P=h.createElement(Z.Z,(0,l.Z)({},T,{placement:"rtl"===d?"left":"right",overlayClassName:"".concat(a,"-inline-collapsed-tooltip")}),P)),P},e}return(0,o.Z)(n,[{key:"renderItemChildren",value:function(e){var t=this.context,n=t.prefixCls,r=t.firstLevel,o=this.props,i=o.icon,a=o.children,l=h.createElement("span",{className:"".concat(n,"-title-content")},a);return(!i||(0,y.l$)(a)&&"span"===a.type)&&a&&e&&r&&"string"==typeof a?h.createElement("div",{className:"".concat(n,"-inline-collapsed-noicon")},a.charAt(0)):l}},{key:"render",value:function(){return h.createElement(v.D.Consumer,null,this.renderItem)}}]),n}(h.Component);N.contextType=S;var _=function(e){var t,n,r=e.popupClassName,o=e.icon,i=e.title,a=e.theme,c=h.useContext(S),s=c.prefixCls,d=c.inlineCollapsed,m=c.antdMenuTheme,v=(0,f.Xl)();if(o){var g=(0,y.l$)(i)&&"span"===i.type;n=h.createElement(h.Fragment,null,(0,y.Tm)(o,{className:u()((0,y.l$)(o)?null===(t=o.props)||void 0===t?void 0:t.className:"","".concat(s,"-item-icon"))}),g?i:h.createElement("span",{className:"".concat(s,"-title-content")},i))}else n=d&&!v.length&&i&&"string"==typeof i?h.createElement("div",{className:"".concat(s,"-inline-collapsed-noicon")},i.charAt(0)):h.createElement("span",{className:"".concat(s,"-title-content")},i);var b=h.useMemo(function(){return(0,l.Z)((0,l.Z)({},c),{firstLevel:!1})},[c]);return h.createElement(S.Provider,{value:b},h.createElement(f.Wd,(0,l.Z)({},(0,p.Z)(e,["icon"]),{title:n,popupClassName:u()(s,"".concat(s,"-").concat(a||m),r)})))},T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},O=n(76529),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},R=(0,h.forwardRef)(function(e,t){var n,r,o=h.useContext(O.Z)||{},i=h.useContext(m.E_),a=i.getPrefixCls,s=i.getPopupContainer,v=i.direction,w=a(),x=e.prefixCls,C=e.className,Z=e.theme,k=void 0===Z?"light":Z,R=e.expandIcon,A=e._internalDisableMenuItemTitleTooltip,M=e.inlineCollapsed,j=e.siderCollapsed,L=e.items,F=e.children,I=e.mode,V=e.selectable,D=e.onClick,z=P(e,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","mode","selectable","onClick"]),U=(0,p.Z)(z,["collapsedWidth"]),B=h.useMemo(function(){return L?function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,b.Z)(t)){var r=t.label,o=t.children,i=t.key,a=t.type,c=T(t,["label","children","key","type"]),s=null!=i?i:"tmp-".concat(n);return o||"group"===a?"group"===a?h.createElement(f.BW,(0,l.Z)({key:s},c,{title:r}),e(o)):h.createElement(_,(0,l.Z)({key:s},c,{title:r}),e(o)):"divider"===a?h.createElement(E,(0,l.Z)({key:s},c)):h.createElement(N,(0,l.Z)({key:s},c),r)}return null}).filter(function(e){return e})}(L):L},[L])||F;null===(n=o.validator)||void 0===n||n.call(o,{mode:I});var H=(0,d.Z)(function(){var e;null==D||D.apply(void 0,arguments),null===(e=null==o?void 0:o.onClick)||void 0===e||e.call(o)}),W=o.mode||I,q=null!=V?V:o.selectable,$=h.useMemo(function(){return void 0!==j?j:M},[M,j]),K={horizontal:{motionName:"".concat(w,"-slide-up")},inline:g.ZP,other:{motionName:"".concat(w,"-zoom-big")}},G=a("menu",x||o.prefixCls),Y=u()("".concat(G,"-").concat(k),C);r="function"==typeof R?R:(0,y.Tm)(R||o.expandIcon,{className:"".concat(G,"-submenu-expand-icon")});var X=h.useMemo(function(){return{prefixCls:G,inlineCollapsed:$||!1,antdMenuTheme:k,direction:v,firstLevel:!0,disableMenuItemTitleTooltip:A}},[G,$,k,v,A]);return h.createElement(O.Z.Provider,{value:null},h.createElement(S.Provider,{value:X},h.createElement(f.ZP,(0,l.Z)({getPopupContainer:s,overflowedIndicator:h.createElement(c.Z,null),overflowedIndicatorPopupClassName:"".concat(G,"-").concat(k),mode:W,selectable:q,onClick:H},U,{inlineCollapsed:$,className:Y,prefixCls:G,direction:v,defaultMotions:K,expandIcon:r,ref:t}),B)))}),A=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(this,n),e=t.apply(this,arguments),e.focus=function(t){var n;null===(n=e.menu)||void 0===n||n.focus(t)},e}return(0,o.Z)(n,[{key:"render",value:function(){var e=this;return h.createElement(v.D.Consumer,null,function(t){return h.createElement(R,(0,l.Z)({ref:function(t){e.menu=t}},e.props,t))})}}]),n}(h.Component);A.Divider=E,A.Item=N,A.SubMenu=_,A.ItemGroup=f.BW;var M=A},12461:function(e,t,n){"use strict";n.d(t,{Df:function(){return M},ZP:function(){return j},S$:function(){return _},z$:function(){return P}});var r,o,i,a,l=n(87462),c=n(4942),s=n(89739),u=n(4340),f=n(21640),d=n(78860),p=n(50888),h=n(94184),m=n.n(h),v=n(91127),g=n(67294),y=n(38080),b=n(97685),w=n(51550),x=n(53124),E=3,C=1,Z="",S="move-up",k=!1,N=!1;function _(){return C++}function T(e,t){var n=e.prefixCls,l=e.getPopupContainer,c=(0,y.w6)(),s=c.getPrefixCls,u=c.getRootPrefixCls,f=c.getIconPrefixCls,d=s("message",n||Z),p=u(e.rootPrefixCls,d),h=f();if(r){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:r});return}var m={prefixCls:d,transitionName:k?S:"".concat(p,"-").concat(S),style:{top:o},getContainer:i||l,maxCount:a};v.default.newInstance(m,function(e){if(r){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:r});return}r=e,t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:e})})}var O={info:d.Z,success:s.Z,error:u.Z,warning:f.Z,loading:p.Z},P=Object.keys(O);function R(e,t,n){var r,o=void 0!==e.duration?e.duration:E,i=O[e.type],a=m()("".concat(t,"-custom-content"),(r={},(0,c.Z)(r,"".concat(t,"-").concat(e.type),e.type),(0,c.Z)(r,"".concat(t,"-rtl"),!0===N),r));return{key:e.key,duration:o,style:e.style||{},className:e.className,content:g.createElement(y.ZP,{iconPrefixCls:n},g.createElement("div",{className:a},e.icon||i&&g.createElement(i,null),g.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}var A={open:function(e){var t=e.key||_(),n=new Promise(function(n){var r=function(){return"function"==typeof e.onClose&&e.onClose(),n(!0)};T(e,function(n){var o=n.prefixCls,i=n.iconPrefixCls;n.instance.notice(R((0,l.Z)((0,l.Z)({},e),{key:t,onClose:r}),o,i))})}),o=function(){r&&r.removeNotice(t)};return o.then=function(e,t){return n.then(e,t)},o.promise=n,o},config:function(e){void 0!==e.top&&(o=e.top,r=null),void 0!==e.duration&&(E=e.duration),void 0!==e.prefixCls&&(Z=e.prefixCls),void 0!==e.getContainer&&(i=e.getContainer,r=null),void 0!==e.transitionName&&(S=e.transitionName,r=null,k=!0),void 0!==e.maxCount&&(a=e.maxCount,r=null),void 0!==e.rtl&&(N=e.rtl)},destroy:function(e){r&&(e?(0,r.removeNotice)(e):((0,r.destroy)(),r=null))}};function M(e,t){e[t]=function(n,r,o){return"[object Object]"===Object.prototype.toString.call(n)&&n.content?e.open((0,l.Z)((0,l.Z)({},n),{type:t})):("function"==typeof r&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}}P.forEach(function(e){return M(A,e)}),A.warn=A.warning,A.useMessage=function(){var e,t,n=null,r=(0,w.Z)({add:function(e,t){null==n||n.component.add(e,t)}}),o=(0,b.Z)(r,2),i=o[0],a=o[1],c=g.useRef({});return c.current.open=function(r){var o=e("message",r.prefixCls),a=e(),c=r.key||_(),s=new Promise(function(e){var s=function(){return"function"==typeof r.onClose&&r.onClose(),e(!0)};T((0,l.Z)((0,l.Z)({},r),{prefixCls:o,rootPrefixCls:a,getPopupContainer:t}),function(e){var t=e.prefixCls;n=e.instance,i(R((0,l.Z)((0,l.Z)({},r),{key:c,onClose:s}),t))})}),u=function(){n&&n.removeNotice(c)};return u.then=function(e,t){return s.then(e,t)},u.promise=s,u},P.forEach(function(e){return M(c.current,e)}),[c.current,g.createElement(x.C,{key:"holder"},function(n){return e=n.getPrefixCls,t=n.getPopupContainer,a})]};var j=A},85402:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r,o=n(74902),i=n(87462),a=n(8751),l=n(18429),c=n(11475),s=n(45605),u=n(38135),f=n(67294),d=n(38080),p=n(4942),h=n(94184),m=n.n(h),v=n(86743),g=n(33603),y=n(97937),b=n(38425),w=n(71577),x=n(6134),E=n(53124),C=n(65223),Z=n(23715),S=n(31808),k=n(83008),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};(0,S.jD)()&&document.documentElement.addEventListener("click",function(e){r={x:e.pageX,y:e.pageY},setTimeout(function(){r=null},100)},!0);var _=function(e){var t,n,o=f.useContext(E.E_),a=o.getPopupContainer,l=o.getPrefixCls,c=o.direction,s=function(t){var n=e.onCancel;null==n||n(t)},u=function(t){var n=e.onOk;null==n||n(t)},d=e.prefixCls,h=e.footer,v=e.visible,S=e.open,_=e.wrapClassName,T=e.centered,O=e.getContainer,P=e.closeIcon,R=e.focusTriggerAfterClose,A=e.width,M=N(e,["prefixCls","footer","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose","width"]),j=l("modal",d),L=l(),F=f.createElement(Z.Z,{componentName:"Modal",defaultLocale:(0,k.A)()},function(t){var n=e.okText,r=e.okType,o=e.cancelText,a=e.confirmLoading;return f.createElement(f.Fragment,null,f.createElement(w.Z,(0,i.Z)({onClick:s},e.cancelButtonProps),o||t.cancelText),f.createElement(w.Z,(0,i.Z)({},(0,x.n)(void 0===r?"primary":r),{loading:void 0!==a&&a,onClick:u},e.okButtonProps),null!=n?n:t.okText))}),I=f.createElement("span",{className:"".concat(j,"-close-x")},P||f.createElement(y.Z,{className:"".concat(j,"-close-icon")})),V=m()(_,(t={},(0,p.Z)(t,"".concat(j,"-centered"),!!T),(0,p.Z)(t,"".concat(j,"-wrap-rtl"),"rtl"===c),t));return f.createElement(C.Ux,{status:!0,override:!0},f.createElement(b.Z,(0,i.Z)({width:void 0===A?520:A},M,{getContainer:void 0===O?a:O,prefixCls:j,wrapClassName:V,footer:void 0===h?F:h,visible:void 0!==S&&S||v,mousePosition:null!==(n=M.mousePosition)&&void 0!==n?n:r,onClose:s,closeIcon:I,focusTriggerAfterClose:void 0===R||R,transitionName:(0,g.mL)(L,"zoom",e.transitionName),maskTransitionName:(0,g.mL)(L,"fade",e.maskTransitionName)})))},T=function(e){var t=e.icon,n=e.onCancel,r=e.onOk,o=e.close,i=e.zIndex,a=e.afterClose,l=e.visible,c=e.open,s=e.keyboard,u=e.centered,h=e.getContainer,y=e.maskStyle,b=e.okText,w=e.okButtonProps,x=e.cancelText,E=e.cancelButtonProps,C=e.direction,Z=e.prefixCls,S=e.wrapClassName,k=e.rootPrefixCls,N=e.iconPrefixCls,T=e.bodyStyle,O=e.closable,P=e.closeIcon,R=e.modalRender,A=e.focusTriggerAfterClose,M=e.okType||"primary",j="".concat(Z,"-confirm"),L=!("okCancel"in e)||e.okCancel,F=e.width||416,I=e.style||{},V=void 0===e.mask||e.mask,D=void 0!==e.maskClosable&&e.maskClosable,z=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),U=m()(j,"".concat(j,"-").concat(e.type),(0,p.Z)({},"".concat(j,"-rtl"),"rtl"===C),e.className),B=L&&f.createElement(v.Z,{actionFn:n,close:o,autoFocus:"cancel"===z,buttonProps:E,prefixCls:"".concat(k,"-btn")},x);return f.createElement(d.ZP,{prefixCls:k,iconPrefixCls:N,direction:C},f.createElement(_,{prefixCls:Z,className:U,wrapClassName:m()((0,p.Z)({},"".concat(j,"-centered"),!!e.centered),S),onCancel:function(){return null==o?void 0:o({triggerCancel:!0})},open:c||l,title:"",footer:"",transitionName:(0,g.mL)(k,"zoom",e.transitionName),maskTransitionName:(0,g.mL)(k,"fade",e.maskTransitionName),mask:V,maskClosable:D,maskStyle:y,style:I,bodyStyle:T,width:F,zIndex:i,afterClose:a,keyboard:s,centered:u,getContainer:h,closable:void 0!==O&&O,closeIcon:P,modalRender:R,focusTriggerAfterClose:A},f.createElement("div",{className:"".concat(j,"-body-wrapper")},f.createElement("div",{className:"".concat(j,"-body")},t,void 0===e.title?null:f.createElement("span",{className:"".concat(j,"-title")},e.title),f.createElement("div",{className:"".concat(j,"-content")},e.content)),f.createElement("div",{className:"".concat(j,"-btns")},B,f.createElement(v.Z,{type:M,actionFn:r,close:o,autoFocus:"ok"===z,buttonProps:w,prefixCls:"".concat(k,"-btn")},b)))))},O=[],P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},R="";function A(e){var t,n=document.createDocumentFragment(),r=(0,i.Z)((0,i.Z)({},e),{close:c,open:!0});function a(){for(var t=arguments.length,r=Array(t),i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},u=function(e){var t=e.title,n=e.content,r=e.prefixCls;return t||n?o.createElement(o.Fragment,null,t&&o.createElement("div",{className:"".concat(r,"-title")},(0,l.Z)(t)),o.createElement("div",{className:"".concat(r,"-inner-content")},(0,l.Z)(n))):null},f=o.forwardRef(function(e,t){var n=e.prefixCls,l=e.title,f=e.content,d=e._overlay,p=e.placement,h=e.trigger,m=e.mouseEnterDelay,v=e.mouseLeaveDelay,g=e.overlayStyle,y=s(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),b=o.useContext(i.E_).getPrefixCls,w=b("popover",n),x=b();return o.createElement(a.Z,(0,r.Z)({placement:void 0===p?"top":p,trigger:void 0===h?"hover":h,mouseEnterDelay:void 0===m?.1:m,mouseLeaveDelay:void 0===v?.1:v,overlayStyle:void 0===g?{}:g},y,{prefixCls:w,ref:t,overlay:d||o.createElement(u,{prefixCls:w,title:l,content:f}),transitionName:(0,c.mL)(x,"zoom-big",y.transitionName)}))});t.Z=f},4173:function(e,t,n){"use strict";n.d(t,{BR:function(){return p},ri:function(){return d}});var r=n(87462),o=n(4942),i=n(94184),a=n.n(i),l=n(50344),c=n(67294),s=n(53124),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},f=c.createContext(null),d=function(e,t){var n=c.useContext(f),r=c.useMemo(function(){if(!n)return"";var r,i=n.compactDirection,l=n.isFirstItem,c=n.isLastItem,s="vertical"===i?"-vertical-":"-";return a()((r={},(0,o.Z)(r,"".concat(e,"-compact").concat(s,"item"),!0),(0,o.Z)(r,"".concat(e,"-compact").concat(s,"first-item"),l),(0,o.Z)(r,"".concat(e,"-compact").concat(s,"last-item"),c),(0,o.Z)(r,"".concat(e,"-compact").concat(s,"item-rtl"),"rtl"===t),r))},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},p=function(e){var t=e.children;return c.createElement(f.Provider,{value:null},t)},h=function(e){var t=e.children,n=u(e,["children"]);return c.createElement(f.Provider,{value:n},t)};t.ZP=function(e){var t,n=c.useContext(s.E_),i=n.getPrefixCls,d=n.direction,p=e.size,m=void 0===p?"middle":p,v=e.direction,g=e.block,y=e.prefixCls,b=e.className,w=e.children,x=u(e,["size","direction","block","prefixCls","className","children"]),E=i("space-compact",y),C=a()(E,(t={},(0,o.Z)(t,"".concat(E,"-rtl"),"rtl"===d),(0,o.Z)(t,"".concat(E,"-block"),g),(0,o.Z)(t,"".concat(E,"-vertical"),"vertical"===v),t),b),Z=c.useContext(f),S=(0,l.Z)(w),k=c.useMemo(function(){return S.map(function(e,t){var n=e&&e.key||"".concat(E,"-item-").concat(t);return c.createElement(h,{key:n,compactSize:m,compactDirection:v,isFirstItem:0===t&&(!Z||(null==Z?void 0:Z.isFirstItem)),isLastItem:t===S.length-1&&(!Z||(null==Z?void 0:Z.isLastItem))},e)})},[m,S,Z]);return 0===S.length?null:c.createElement("div",(0,r.Z)({className:C},x),k)}},26713:function(e,t,n){"use strict";n.d(t,{u:function(){return m},Z:function(){return y}});var r=n(87462),o=n(4942),i=n(97685),a=n(94184),l=n.n(a),c=n(50344),s=n(67294),u=n(53124),f=n(98082);function d(e){var t=e.className,n=e.direction,i=e.index,a=e.marginDirection,l=e.children,c=e.split,u=e.wrap,f=s.useContext(m),d=f.horizontalSize,p=f.verticalSize,h=f.latestIndex,v=f.supportFlexGap,g={};return(!v&&("vertical"===n?it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},m=s.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),v={small:8,middle:16,large:24},g=function(e){var t,n=s.useContext(u.E_),a=n.getPrefixCls,p=n.space,g=n.direction,y=e.size,b=void 0===y?(null==p?void 0:p.size)||"small":y,w=e.align,x=e.className,E=e.children,C=e.direction,Z=void 0===C?"horizontal":C,S=e.prefixCls,k=e.split,N=e.style,_=e.wrap,T=void 0!==_&&_,O=h(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),P=(0,f.Z)(),R=s.useMemo(function(){return(Array.isArray(b)?b:[b,b]).map(function(e){return"string"==typeof e?v[e]:e||0})},[b]),A=(0,i.Z)(R,2),M=A[0],j=A[1],L=(0,c.Z)(E,{keepEmpty:!0}),F=void 0===w&&"horizontal"===Z?"center":w,I=a("space",S),V=l()(I,"".concat(I,"-").concat(Z),(t={},(0,o.Z)(t,"".concat(I,"-rtl"),"rtl"===g),(0,o.Z)(t,"".concat(I,"-align-").concat(F),F),t),x),D="".concat(I,"-item"),z="rtl"===g?"marginLeft":"marginRight",U=0,B=L.map(function(e,t){null!=e&&(U=t);var n=e&&e.key||"".concat(D,"-").concat(t);return s.createElement(d,{className:D,key:n,direction:Z,index:t,marginDirection:z,split:k,wrap:T},e)}),H=s.useMemo(function(){return{horizontalSize:M,verticalSize:j,latestIndex:U,supportFlexGap:P}},[M,j,U,P]);if(0===L.length)return null;var W={};return T&&(W.flexWrap="wrap",P||(W.marginBottom=-j)),P&&(W.columnGap=M,W.rowGap=j),s.createElement("div",(0,r.Z)({className:V,style:(0,r.Z)((0,r.Z)({},W),N)},O),s.createElement(m.Provider,{value:H},B))};g.Compact=p.ZP;var y=g},94199:function(e,t,n){"use strict";var r=n(4942),o=n(97685),i=n(87462),a=n(94184),l=n.n(a),c=n(43763),s=n(21770),u=n(67294),f=n(53124),d=n(98787),p=n(33603),h=n(80636),m=n(96159),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},g=function(e,t){var n={},r=(0,i.Z)({},e);return t.forEach(function(t){e&&t in e&&(n[t]=e[t],delete r[t])}),{picked:n,omitted:r}},y=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),b=u.forwardRef(function(e,t){var n,a,d,b=u.useContext(f.E_),w=b.getPopupContainer,x=b.getPrefixCls,E=b.direction,C=(0,s.Z)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),Z=(0,o.Z)(C,2),S=Z[0],k=Z[1],N=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},_=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||(0,h.Z)({arrowPointAtCenter:void 0!==n&&n,autoAdjustOverflow:void 0===r||r})},T=e.getPopupContainer,O=e.placement,P=e.mouseEnterDelay,R=e.mouseLeaveDelay,A=v(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay"]),M=e.prefixCls,j=e.openClassName,L=e.getTooltipContainer,F=e.overlayClassName,I=e.color,V=e.overlayInnerStyle,D=e.children,z=x("tooltip",M),U=x(),B=S;!("open"in e)&&!("visible"in e)&&N()&&(B=!1);var H=function(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){var r=g(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=r.picked,a=r.omitted,c=(0,i.Z)((0,i.Z)({display:"inline-block"},o),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),s=(0,i.Z)((0,i.Z)({},a),{pointerEvents:"none"}),f=(0,m.Tm)(e,{style:s,className:null});return u.createElement("span",{style:c,className:l()(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},f)}return e}((0,m.l$)(D)&&!(0,m.M2)(D)?D:u.createElement("span",null,D),z),W=H.props,q=W.className&&"string"!=typeof W.className?W.className:l()(W.className,(0,r.Z)({},j||"".concat(z,"-open"),!0)),$=l()(F,(d={},(0,r.Z)(d,"".concat(z,"-rtl"),"rtl"===E),(0,r.Z)(d,"".concat(z,"-").concat(I),I&&y.test(I)),d)),K=V,G={};return I&&!y.test(I)&&(K=(0,i.Z)((0,i.Z)({},V),{background:I}),G={"--antd-arrow-background-color":I}),u.createElement(c.default,(0,i.Z)({},A,{placement:void 0===O?"top":O,mouseEnterDelay:void 0===P?.1:P,mouseLeaveDelay:void 0===R?.1:R,prefixCls:z,overlayClassName:$,getTooltipContainer:T||L||w,ref:t,builtinPlacements:_(),overlay:(n=e.title,a=e.overlay,0===n?n:a||n||""),visible:B,onVisibleChange:function(t){var n,r;k(!N()&&t),N()||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},onPopupAlign:function(e,t){var n=_(),r=Object.keys(n).find(function(e){var r,o;return n[e].points[0]===(null===(r=t.points)||void 0===r?void 0:r[0])&&n[e].points[1]===(null===(o=t.points)||void 0===o?void 0:o[1])});if(r){var o=e.getBoundingClientRect(),i={top:"50%",left:"50%"};/top|Bottom/.test(r)?i.top="".concat(o.height-t.offset[1],"px"):/Top|bottom/.test(r)&&(i.top="".concat(-t.offset[1],"px")),/left|Right/.test(r)?i.left="".concat(o.width-t.offset[0],"px"):/right|Left/.test(r)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayInnerStyle:K,arrowContent:u.createElement("span",{className:"".concat(z,"-arrow-content"),style:G}),motion:{motionName:(0,p.mL)(U,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),B?(0,m.Tm)(H,{className:q}):H)});t.Z=b},84485:function(e,t,n){"use strict";n.d(t,{Z:function(){return ei}});var r=n(87462),o=n(67294),i=n(4942),a=n(71002),l=n(97685),c=n(63606),s=n(57132),u=n(86548),f=n(94184),d=n.n(f),p=n(20640),h=n.n(p),m=n(48555),v=n(50344),g=n(8410),y=n(21770),b=n(98423),w=n(42550),x=n(53124),E=n(23715),C=n(15105),Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},S={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},k=o.forwardRef(function(e,t){var n=e.style,i=e.noStyle,a=e.disabled,l=Z(e,["style","noStyle","disabled"]),c={};return i||(c=(0,r.Z)({},S)),a&&(c.pointerEvents="none"),c=(0,r.Z)((0,r.Z)({},c),n),o.createElement("div",(0,r.Z)({role:"button",tabIndex:0,ref:t},l,{onKeyDown:function(e){e.keyCode===C.Z.ENTER&&e.preventDefault()},onKeyUp:function(t){var n=t.keyCode,r=e.onClick;n===C.Z.ENTER&&r&&r()},style:c}))}),N=n(79370),_=n(94199),T=n(1413),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},P=n(42135),R=function(e,t){return o.createElement(P.Z,(0,T.Z)((0,T.Z)({},e),{},{ref:t,icon:O}))};R.displayName="EnterOutlined";var A=o.forwardRef(R),M=n(80173),j=n(96159),L=function(e){var t=e.prefixCls,n=e["aria-label"],r=e.className,a=e.style,c=e.direction,s=e.maxLength,u=e.autoSize,f=e.value,p=e.onSave,h=e.onCancel,m=e.onEnd,v=e.component,g=e.enterIcon,y=void 0===g?o.createElement(A,null):g,b=o.useRef(null),w=o.useRef(!1),x=o.useRef(),E=o.useState(f),Z=(0,l.Z)(E,2),S=Z[0],k=Z[1];o.useEffect(function(){k(f)},[f]),o.useEffect(function(){if(b.current&&b.current.resizableTextArea){var e=b.current.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}},[]);var N=function(){p(S.trim())},_=v?"".concat(t,"-").concat(v):"",T=d()(t,"".concat(t,"-edit-content"),(0,i.Z)({},"".concat(t,"-rtl"),"rtl"===c),r,_);return o.createElement("div",{className:T,style:a},o.createElement(M.Z,{ref:b,maxLength:s,value:S,onChange:function(e){k(e.target.value.replace(/[\n\r]/g,""))},onKeyDown:function(e){var t=e.keyCode;w.current||(x.current=t)},onKeyUp:function(e){var t=e.keyCode,n=e.ctrlKey,r=e.altKey,o=e.metaKey,i=e.shiftKey;x.current!==t||w.current||n||r||o||i||(t===C.Z.ENTER?(N(),null==m||m()):t===C.Z.ESC&&h())},onCompositionStart:function(){w.current=!0},onCompositionEnd:function(){w.current=!1},onBlur:function(){N()},"aria-label":n,rows:1,autoSize:void 0===u||u}),null!==y?(0,j.Tm)(y,{className:"".concat(t,"-edit-content-confirm")}):null)};function F(e,t){return o.useMemo(function(){var n=!!e;return[n,(0,r.Z)((0,r.Z)({},t),n&&"object"===(0,a.Z)(e)?e:null)]},[e])}var I=function(e,t){var n=o.useRef(!1);o.useEffect(function(){n.current?e():n.current=!0},t)},V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},D=o.forwardRef(function(e,t){var n=e.prefixCls,a=e.component,l=e.className,c=e.setContentRef,s=e.children,u=e.direction,f=V(e,["prefixCls","component","className","setContentRef","children","direction"]),p=o.useContext(x.E_),h=p.getPrefixCls,m=p.direction,v=t;c&&(v=(0,w.sQ)(t,c));var g=h("typography",n),y=d()(g,(0,i.Z)({},"".concat(g,"-rtl"),"rtl"===(null!=u?u:m)),l);return o.createElement(void 0===a?"article":a,(0,r.Z)({className:y,ref:v},f),s)});function z(e){var t=(0,a.Z)(e);return"string"===t||"number"===t}function U(e,t){for(var n=0,r=[],o=0;ot){var l=t-n;return r.push(String(i).slice(0,l)),r}r.push(i),n=a}return e}var B=function(e){var t=e.enabledMeasure,n=e.children,i=e.text,a=e.width,c=e.fontSize,s=e.rows,u=e.onEllipsis,f=o.useState([0,0,0]),d=(0,l.Z)(f,2),p=(0,l.Z)(d[0],3),h=p[0],m=p[1],y=p[2],b=d[1],w=o.useState(0),x=(0,l.Z)(w,2),E=x[0],C=x[1],Z=o.useState(0),S=(0,l.Z)(Z,2),k=S[0],N=S[1],_=o.useRef(null),T=o.useRef(null),O=o.useMemo(function(){return(0,v.Z)(i)},[i]),P=o.useMemo(function(){var e;return e=0,O.forEach(function(t){z(t)?e+=String(t).length:e+=1}),e},[O]),R=o.useMemo(function(){return t&&3===E?n(U(O,m),mt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function q(e,t,n){return!0===e||void 0===e?t:e||n&&t}function $(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}var K=o.forwardRef(function(e,t){var n,f,p,C=e.prefixCls,Z=e.className,S=e.style,T=e.type,O=e.disabled,P=e.children,R=e.ellipsis,A=e.editable,M=e.copyable,j=e.component,V=e.title,z=W(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),U=o.useContext(x.E_),K=U.getPrefixCls,G=U.direction,Y=(0,E.E)("Text")[0],X=o.useRef(null),Q=o.useRef(null),J=K("typography",C),ee=(0,b.Z)(z,["mark","code","delete","underline","strong","keyboard","italic"]),et=F(A),en=(0,l.Z)(et,2),er=en[0],eo=en[1],ei=(0,y.Z)(!1,{value:eo.editing}),ea=(0,l.Z)(ei,2),el=ea[0],ec=ea[1],es=eo.triggerType,eu=void 0===es?["icon"]:es,ef=function(e){var t;e&&(null===(t=eo.onStart)||void 0===t||t.call(eo)),ec(e)};I(function(){var e;el||null===(e=Q.current)||void 0===e||e.focus()},[el]);var ed=function(e){null==e||e.preventDefault(),ef(!0)},ep=F(M),eh=(0,l.Z)(ep,2),em=eh[0],ev=eh[1],eg=o.useState(!1),ey=(0,l.Z)(eg,2),eb=ey[0],ew=ey[1],ex=o.useRef(),eE={};ev.format&&(eE.format=ev.format);var eC=function(){window.clearTimeout(ex.current)},eZ=function(e){var t;null==e||e.preventDefault(),null==e||e.stopPropagation(),h()(ev.text||String(P)||"",eE),ew(!0),eC(),ex.current=window.setTimeout(function(){ew(!1)},3e3),null===(t=ev.onCopy)||void 0===t||t.call(ev,e)};o.useEffect(function(){return eC},[]);var eS=o.useState(!1),ek=(0,l.Z)(eS,2),eN=ek[0],e_=ek[1],eT=o.useState(!1),eO=(0,l.Z)(eT,2),eP=eO[0],eR=eO[1],eA=o.useState(!1),eM=(0,l.Z)(eA,2),ej=eM[0],eL=eM[1],eF=o.useState(!1),eI=(0,l.Z)(eF,2),eV=eI[0],eD=eI[1],ez=o.useState(!1),eU=(0,l.Z)(ez,2),eB=eU[0],eH=eU[1],eW=o.useState(!0),eq=(0,l.Z)(eW,2),e$=eq[0],eK=eq[1],eG=F(R,{expandable:!1}),eY=(0,l.Z)(eG,2),eX=eY[0],eQ=eY[1],eJ=eX&&!ej,e0=eQ.rows,e1=void 0===e0?1:e0,e2=o.useMemo(function(){return!eJ||void 0!==eQ.suffix||eQ.onEllipsis||eQ.expandable||er||em},[eJ,eQ,er,em]);(0,g.Z)(function(){eX&&!e2&&(e_((0,N.G)("webkitLineClamp")),eR((0,N.G)("textOverflow")))},[e2,eX]);var e4=o.useMemo(function(){return!e2&&(1===e1?eP:eN)},[e2,eP,eN]),e5=eJ&&(e4?eB:eV),e6=eJ&&1===e1&&e4,e3=eJ&&e1>1&&e4,e8=function(e){var t;eL(!0),null===(t=eQ.onExpand)||void 0===t||t.call(eQ,e)},e7=o.useState(0),e9=(0,l.Z)(e7,2),te=e9[0],tt=e9[1],tn=o.useState(0),tr=(0,l.Z)(tn,2),to=tr[0],ti=tr[1],ta=function(e){var t;eD(e),eV!==e&&(null===(t=eQ.onEllipsis)||void 0===t||t.call(eQ,e))};o.useEffect(function(){var e=X.current;if(eX&&e4&&e){var t=e3?e.offsetHeightt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Y=o.forwardRef(function(e,t){var n=e.ellipsis,i=e.rel,a=G(e,["ellipsis","rel"]),l=(0,r.Z)((0,r.Z)({},a),{rel:void 0===i&&"_blank"===a.target?"noopener noreferrer":i});return delete l.navigate,o.createElement(K,(0,r.Z)({},l,{ref:t,ellipsis:!!n,component:"a"}))}),X=o.forwardRef(function(e,t){return o.createElement(K,(0,r.Z)({ref:t},e,{component:"div"}))}),Q=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},J=o.forwardRef(function(e,t){var n=e.ellipsis,i=Q(e,["ellipsis"]),l=o.useMemo(function(){return n&&"object"===(0,a.Z)(n)?(0,b.Z)(n,["expandable","rows"]):n},[n]);return o.createElement(K,(0,r.Z)({ref:t},i,{ellipsis:l,component:"span"}))}),ee=n(93355),et=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},en=(0,ee.a)(1,2,3,4,5),er=o.forwardRef(function(e,t){var n,i=e.level,a=void 0===i?1:i,l=et(e,["level"]);return n=en.includes(a)?"h".concat(a):"h1",o.createElement(K,(0,r.Z)({ref:t},l,{component:n}))}),eo=D;eo.Text=J,eo.Link=Y,eo.Title=er,eo.Paragraph=X;var ei=eo},94184:function(e,t){var n; /*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{92138:function(e,t,n){"use strict";n.r(t),n.d(t,{blue:function(){return C},cyan:function(){return E},geekblue:function(){return Z},generate:function(){return f},gold:function(){return g},green:function(){return x},grey:function(){return N},lime:function(){return w},magenta:function(){return k},orange:function(){return y},presetDarkPalettes:function(){return h},presetPalettes:function(){return p},presetPrimaryColors:function(){return d},purple:function(){return S},red:function(){return m},volcano:function(){return v},yellow:function(){return b}});var r=n(86500),o=n(1350),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function l(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function c(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function s(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)))}function u(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),f=5;f>0;f-=1){var d=a(r),p=l((0,o.uA)({h:c(d,f,!0),s:s(d,f,!0),v:u(d,f,!0)}));n.push(p)}n.push(l(r));for(var h=1;h<=4;h+=1){var m=a(r),v=l((0,o.uA)({h:c(m,h),s:s(m,h),v:u(m,h)}));n.push(v)}return"dark"===t.theme?i.map(function(e){var r,i,a,c=e.index,s=e.opacity;return l((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[c]),a=100*s/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))}):n}var d={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},p={},h={};Object.keys(d).forEach(function(e){p[e]=f(d[e]),p[e].primary=p[e][5],h[e]=f(d[e],{theme:"dark",backgroundColor:"#141414"}),h[e].primary=h[e][5]});var m=p.red,v=p.volcano,g=p.gold,y=p.orange,b=p.yellow,w=p.lime,x=p.green,E=p.cyan,C=p.blue,Z=p.geekblue,S=p.purple,k=p.magenta,N=p.grey},42135:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(1413),o=n(97685),i=n(4942),a=n(45987),l=n(67294),c=n(94184),s=n.n(c),u=n(63017),f=n(71002),d=n(92138),p=n(80334),h=n(44958);function m(e){return"object"===(0,f.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,f.Z)(e.icon)||"function"==typeof e.icon)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):t[n]=r,t},{})}function g(e){return(0,d.generate)(e)[0]}function y(e){return e?Array.isArray(e)?e:[e]:[]}var b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\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=(0,l.useContext)(u.Z).csp;(0,l.useEffect)(function(){(0,h.hq)(e,"@ant-design-icons",{prepend:!0,csp:t})},[])},w=["icon","className","onClick","style","primaryColor","secondaryColor"],x={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},E=function(e){var t,n=e.icon,o=e.className,i=e.onClick,c=e.style,s=e.primaryColor,u=e.secondaryColor,f=(0,a.Z)(e,w),d=x;if(s&&(d={primaryColor:s,secondaryColor:u||g(s)}),b(),t=m(n),(0,p.ZP)(t,"[@ant-design/icons] ".concat("icon should be icon definiton, but got ".concat(n))),!m(n))return null;var h=n;return h&&"function"==typeof h.icon&&(h=(0,r.Z)((0,r.Z)({},h),{},{icon:h.icon(d.primaryColor,d.secondaryColor)})),function e(t,n,o){return o?l.createElement(t.tag,(0,r.Z)((0,r.Z)({key:n},v(t.attrs)),o),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):l.createElement(t.tag,(0,r.Z)({key:n},v(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}(h.icon,"svg-".concat(h.name),(0,r.Z)({className:o,onClick:i,style:c,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f))};function C(e){var t=y(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return E.setTwoToneColors({primaryColor:r,secondaryColor:i})}E.displayName="IconReact",E.getTwoToneColors=function(){return(0,r.Z)({},x)},E.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;x.primaryColor=t,x.secondaryColor=n||g(t),x.calculated=!!n};var Z=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];C("#1890ff");var S=l.forwardRef(function(e,t){var n,c=e.className,f=e.icon,d=e.spin,p=e.rotate,h=e.tabIndex,m=e.onClick,v=e.twoToneColor,g=(0,a.Z)(e,Z),b=l.useContext(u.Z),w=b.prefixCls,x=void 0===w?"anticon":w,C=b.rootClassName,S=s()(C,x,(n={},(0,i.Z)(n,"".concat(x,"-").concat(f.name),!!f.name),(0,i.Z)(n,"".concat(x,"-spin"),!!d||"loading"===f.name),n),c),k=h;void 0===k&&m&&(k=-1);var N=y(v),_=(0,o.Z)(N,2),T=_[0],O=_[1];return l.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":f.name},g),{},{ref:t,tabIndex:k,onClick:m,className:S}),l.createElement(E,{icon:f,primaryColor:T,secondaryColor:O,style:p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0}))});S.displayName="AntdIcon",S.getTwoToneColor=function(){var e=E.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},S.setTwoToneColor=C;var k=S},63017:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},89739:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckCircleFilled";var c=o.forwardRef(l)},8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"check-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckCircleOutlined";var c=o.forwardRef(l)},63606:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckOutlined";var c=o.forwardRef(l)},4340:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseCircleFilled";var c=o.forwardRef(l)},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseCircleOutlined";var c=o.forwardRef(l)},97937:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseOutlined";var c=o.forwardRef(l)},57132:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CopyOutlined";var c=o.forwardRef(l)},80882:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="DownOutlined";var c=o.forwardRef(l)},86548:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 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.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 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-32z"}}]},name:"edit",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EditOutlined";var c=o.forwardRef(l)},89705:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EllipsisOutlined";var c=o.forwardRef(l)},21640:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="ExclamationCircleFilled";var c=o.forwardRef(l)},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="ExclamationCircleOutlined";var c=o.forwardRef(l)},90420:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EyeInvisibleOutlined";var c=o.forwardRef(l)},99611:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.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.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EyeOutlined";var c=o.forwardRef(l)},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="InfoCircleFilled";var c=o.forwardRef(l)},45605:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="InfoCircleOutlined";var c=o.forwardRef(l)},6171:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LeftOutlined";var c=o.forwardRef(l)},50888:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LoadingOutlined";var c=o.forwardRef(l)},38545:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-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"}}]},name:"message",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="MessageOutlined";var c=o.forwardRef(l)},25035:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="QuestionCircleOutlined";var c=o.forwardRef(l)},18073:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="RightOutlined";var c=o.forwardRef(l)},68795:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="SearchOutlined";var c=o.forwardRef(l)},28058:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="WarningOutlined";var c=o.forwardRef(l)},86500:function(e,t,n){"use strict";n.d(t,{GC:function(){return d},T6:function(){return h},VD:function(){return m},WE:function(){return s},Wl:function(){return p},Yt:function(){return v},lC:function(){return i},py:function(){return c},rW:function(){return o},s:function(){return f},ve:function(){return l},vq:function(){return u}});var r=n(90279);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=0,c=(o+i)/2;if(o===i)l=0,a=0;else{var s=o-i;switch(l=c>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6)?e+(t-e)*(6*n):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function l(e,t,n){if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,l=n,o=n;else{var o,i,l,c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;o=a(s,c,e+1/3),i=a(s,c,e),l=a(s,c,e-1/3)}return{r:255*o,g:255*i,b:255*l}}function c(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},48701:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(e,t,n){"use strict";n.d(t,{ky:function(){return d},uA:function(){return a},uz:function(){return f}});var r=n(86500),o=n(48701),i=n(90279);function a(e){var t={r:0,g:0,b:0},n=1,o=null,a=null,l=null,c=!1,s=!1;return"string"==typeof e&&(e=f(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),c=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(o=(0,i.JX)(e.s),a=(0,i.JX)(e.v),t=(0,r.WE)(e.h,o,a),c=!0,s="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(o=(0,i.JX)(e.s),l=(0,i.JX)(e.l),t=(0,r.ve)(e.h,o,l),c=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:c,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var l="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),s="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),u={CSS_UNIT:RegExp(l),rgb:RegExp("rgb"+c),rgba:RegExp("rgba"+s),hsl:RegExp("hsl"+c),hsla:RegExp("hsla"+s),hsv:RegExp("hsv"+c),hsva:RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=u.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=u.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=u.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=u.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=u.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=u.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=u.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=u.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=u.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return l},H:function(){return c}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),l=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t=0;return!t&&r&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(255*(t/100))))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(255*(t/100))))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(255*(t/100))))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;aMath.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return l},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return r}})},2788:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(97685),o=n(67294),i=n(73935),a=n(98924),l=n(42550),c=o.createContext(null),s=n(74902),u=n(8410),f=[],d=n(44958),p=n(74204),h="rc-util-locker-".concat(Date.now()),m=0,v=!1,g=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},y=o.forwardRef(function(e,t){var n,y,b,w,x=e.open,E=e.autoLock,C=e.getContainer,Z=(e.debug,e.autoDestroy),S=void 0===Z||Z,k=e.children,N=o.useState(x),_=(0,r.Z)(N,2),T=_[0],O=_[1],P=T||x;o.useEffect(function(){(S||x)&&O(x)},[x,S]);var R=o.useState(function(){return g(C)}),A=(0,r.Z)(R,2),M=A[0],j=A[1];o.useEffect(function(){var e=g(C);j(null!=e?e:null)});var L=function(e,t){var n=o.useState(function(){return(0,a.Z)()?document.createElement("div"):null}),i=(0,r.Z)(n,1)[0],l=o.useContext(c),d=o.useState(f),p=(0,r.Z)(d,2),h=p[0],m=p[1];function v(){i.parentElement||document.body.appendChild(i)}function g(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i)}return(0,u.Z)(function(){return e?l?l(v):v():g(),g},[e]),(0,u.Z)(function(){h.length&&(h.forEach(function(e){return e()}),m(f))},[h]),[i,l||function(e){m(function(t){return[e].concat((0,s.Z)(t))})}]}(P&&!M,0),F=(0,r.Z)(L,2),I=F[0],V=F[1],D=null!=M?M:I;n=!!(E&&x&&(0,a.Z)()&&(D===I||D===document.body)),y=o.useState(function(){return m+=1,"".concat(h,"_").concat(m)}),b=(0,r.Z)(y,1)[0],(0,u.Z)(function(){if(n){var e=(0,p.Z)(),t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,d.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),b)}else(0,d.jL)(b);return function(){(0,d.jL)(b)}},[n,b]);var z=null;k&&(0,l.Yr)(k)&&t&&(z=k.ref);var U=(0,l.x1)(z,t);if(!P||!(0,a.Z)()||void 0===M)return null;var B=!1===D||("boolean"==typeof w&&(v=w),v),H=k;return t&&(H=o.cloneElement(k,{ref:U})),o.createElement(c.Provider,{value:V},B?H:(0,i.createPortal)(H,D))})},86743:function(e,t,n){"use strict";var r=n(87462),o=n(97685),i=n(30470),a=n(67294),l=n(71577),c=n(6134);t.Z=function(e){var t=a.useRef(!1),n=a.useRef(null),s=(0,i.Z)(!1),u=(0,o.Z)(s,2),f=u[0],d=u[1],p=e.close,h=function(){null==p||p.apply(void 0,arguments)};a.useEffect(function(){var t=null;return e.autoFocus&&(t=setTimeout(function(){var e;null===(e=n.current)||void 0===e||e.focus()})),function(){t&&clearTimeout(t)}},[]);var m=function(e){e&&e.then&&(d(!0),e.then(function(){d(!1,!0),h.apply(void 0,arguments),t.current=!1},function(e){console.error(e),d(!1,!0),t.current=!1}))},v=e.type,g=e.children,y=e.prefixCls,b=e.buttonProps;return a.createElement(l.Z,(0,r.Z)({},(0,c.n)(v),{onClick:function(n){var r,o,i=e.actionFn;if(!t.current){if(t.current=!0,!i){h();return}if(e.emitEvent){if(o=i(n),e.quitOnNullishReturnValue&&!((r=o)&&r.then)){t.current=!1,h(n);return}}else if(i.length)o=i(p),t.current=!1;else if(!(o=i())){h();return}m(o)}},loading:f,prefixCls:y},b,{ref:n}),g)}},98787:function(e,t,n){"use strict";n.d(t,{E:function(){return o},Y:function(){return i}});var r=n(93355),o=(0,r.b)("success","processing","error","default","warning"),i=(0,r.b)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},5467:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce(function(t,n){return(n.startsWith("data-")||n.startsWith("aria-")||"role"===n)&&!n.startsWith("data-__")&&(t[n]=e[n]),t},{})}n.d(t,{Z:function(){return r}})},81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e?"function"==typeof e?e():e:null}},98082:function(e,t,n){"use strict";var r=n(97685),o=n(67294),i=n(31808);t.Z=function(){var e=o.useState(!1),t=(0,r.Z)(e,2),n=t[0],a=t[1];return o.useEffect(function(){a((0,i.fk)())},[]),n}},33603:function(e,t,n){"use strict";n.d(t,{mL:function(){return c},q0:function(){return l}});var r=n(93355),o=function(){return{height:0,opacity:0}},i=function(e){return{height:e.scrollHeight,opacity:1}},a=function(e,t){return(null==t?void 0:t.deadline)===!0||"height"===t.propertyName};(0,r.b)("bottomLeft","bottomRight","topLeft","topRight");var l=function(e){return void 0!==e&&("topLeft"===e||"topRight"===e)?"slide-down":"slide-up"},c=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};t.ZP={motionName:"ant-motion-collapse",onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:o,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}},80636:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(43159),i={adjustX:1,adjustY:1},a={adjustX:0,adjustY:0},l=[0,0];function c(e){return"boolean"==typeof e?e?i:a:(0,r.Z)((0,r.Z)({},a),e)}function s(e){var t=e.arrowWidth,n=void 0===t?4:t,i=e.horizontalArrowShift,a=void 0===i?16:i,s=e.verticalArrowShift,u=void 0===s?8:s,f=e.autoAdjustOverflow,d=e.arrowPointAtCenter,p={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(a+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(u+n)]},topRight:{points:["br","tc"],offset:[a+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(u+n)]},bottomRight:{points:["tr","bc"],offset:[a+n,4]},rightBottom:{points:["bl","cr"],offset:[4,u+n]},bottomLeft:{points:["tl","bc"],offset:[-(a+n),4]},leftBottom:{points:["br","cl"],offset:[-4,u+n]}};return Object.keys(p).forEach(function(e){p[e]=d?(0,r.Z)((0,r.Z)({},p[e]),{overflow:c(f),targetOffset:l}):(0,r.Z)((0,r.Z)({},o.C[e]),{overflow:c(f)}),p[e].ignoreShake=!0}),p}},96159:function(e,t,n){"use strict";n.d(t,{M2:function(){return i},Tm:function(){return l},l$:function(){return o},wm:function(){return a}});var r=n(67294),o=r.isValidElement;function i(e){return e&&o(e)&&e.type===r.Fragment}function a(e,t,n){return o(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}function l(e,t){return a(e,e,t)}},9708:function(e,t,n){"use strict";n.d(t,{F:function(){return l},Z:function(){return a}});var r=n(4942),o=n(94184),i=n.n(o);function a(e,t,n){var o;return i()((o={},(0,r.Z)(o,"".concat(e,"-status-success"),"success"===t),(0,r.Z)(o,"".concat(e,"-status-warning"),"warning"===t),(0,r.Z)(o,"".concat(e,"-status-error"),"error"===t),(0,r.Z)(o,"".concat(e,"-status-validating"),"validating"===t),(0,r.Z)(o,"".concat(e,"-has-feedback"),n),o))}(0,n(93355).b)("warning","error","");var l=function(e,t){return t||e}},31808:function(e,t,n){"use strict";n.d(t,{fk:function(){return a},jD:function(){return i}});var r,o=n(98924),i=function(){return(0,o.Z)()&&window.document.documentElement},a=function(){if(!i())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},93355:function(e,t,n){"use strict";n.d(t,{a:function(){return o},b:function(){return r}});var r=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=h++,r=t;return m[n]=(0,p.Z)(function t(){(r-=1)<=0?(e(),delete m[n]):m[n]=(0,p.Z)(t)}),n}v.cancel=function(e){void 0!==e&&(p.Z.cancel(m[e]),delete m[e])},v.ids=m;var g=n(96159);function y(e){return!e||null===e.offsetParent||e.hidden}var b=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;return(0,o.Z)(this,n),e=t.apply(this,arguments),e.containerRef=f.createRef(),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var o,i,l=e.props,c=l.insertExtraNode;if(!(l.disabled||!t||y(t)||t.className.includes("-leave"))){e.extraNode=document.createElement("div");var u=(0,a.Z)(e).extraNode,f=e.context.getPrefixCls;u.className="".concat(f(""),"-click-animating-node");var d=e.getAttributeName();if(t.setAttribute(d,"true"),n&&"#fff"!==n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&"rgba(255, 255, 255, 1)"!==n&&(!(p=(n||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/))||!p[1]||!p[2]||!p[3]||!(p[1]===p[2]&&p[2]===p[3]))&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){u.style.borderColor=n;var p,h=(null===(o=t.getRootNode)||void 0===o?void 0:o.call(t))||t.ownerDocument,m=null!==(i=h instanceof Document?h.body:Array.from(h.childNodes).find(function(e){return(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE}))&&void 0!==i?i:h;r=(0,s.hq)("\n [".concat(f(""),"-click-animating-without-extra-node='true']::after, .").concat(f(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),"antd-wave",{csp:e.csp,attachTo:m})}c&&t.appendChild(u),["transition","animation"].forEach(function(n){t.addEventListener("".concat(n,"start"),e.onTransitionStart),t.addEventListener("".concat(n,"end"),e.onTransitionEnd)})}},e.onTransitionStart=function(t){if(!e.destroyed){var n=e.containerRef.current;t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(!(!t||!t.getAttribute||t.getAttribute("disabled")||t.className.includes("disabled"))){var n=function(n){if(!("INPUT"===n.target.tagName||y(n.target))){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout(function(){return e.onClick(t,r)},0),v.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=v(function(){e.animationStart=!1},10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;if(e.csp=n,!f.isValidElement(r))return r;var o=e.containerRef;return(0,u.Yr)(r)&&(o=(0,u.sQ)(r.ref,e.containerRef)),(0,g.Tm)(r,{ref:o})},e}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1;var e=this.containerRef.current;e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var e=this.context.getPrefixCls;return this.props.insertExtraNode?"".concat(e(""),"-click-animating"):"".concat(e(""),"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(e){var t=this;if(e&&e!==this.extraNode&&e instanceof Element){var n=this.props.insertExtraNode,o=this.getAttributeName();e.setAttribute(o,"false"),r&&(r.innerHTML=""),n&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),["transition","animation"].forEach(function(n){e.removeEventListener("".concat(n,"start"),t.onTransitionStart),e.removeEventListener("".concat(n,"end"),t.onTransitionEnd)})}}},{key:"render",value:function(){return f.createElement(d.C,null,this.renderWave)}}]),n}(f.Component);b.contextType=d.E_;var w=b},14670:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(87462),o=n(97685),i=n(4942),a=n(89739),l=n(8751),c=n(4340),s=n(18429),u=n(97937),f=n(21640),d=n(11475),p=n(78860),h=n(45605),m=n(94184),v=n.n(m),g=n(62874),y=n(67294),b=n(53124),w=n(5467),x=n(96159),E=n(15671),C=n(43144),Z=n(60136),S=n(33643),k=function(e){(0,Z.Z)(n,e);var t=(0,S.Z)(n);function n(){var e;return(0,E.Z)(this,n),e=t.apply(this,arguments),e.state={error:void 0,info:{componentStack:""}},e}return(0,C.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,o=this.state,i=o.error,a=o.info,l=a&&a.componentStack?a.componentStack:null,c=void 0===t?(i||"").toString():t;return i?y.createElement(A,{type:"error",message:c,description:y.createElement("pre",null,void 0===n?l:n)}):r}}]),n}(y.Component),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},_={success:a.Z,info:p.Z,error:c.Z,warning:f.Z},T={success:l.Z,info:h.Z,error:s.Z,warning:d.Z},O=function(e){var t=e.description,n=e.icon,r=e.prefixCls,o=(t?T:_)[e.type]||null;return n?(0,x.wm)(n,y.createElement("span",{className:"".concat(r,"-icon")},n),function(){return{className:v()("".concat(r,"-icon"),(0,i.Z)({},n.props.className,n.props.className))}}):y.createElement(o,{className:"".concat(r,"-icon")})},P=function(e){var t=e.isClosable,n=e.closeText,r=e.prefixCls,o=e.closeIcon,i=e.handleClose;return t?y.createElement("button",{type:"button",onClick:i,className:"".concat(r,"-close-icon"),tabIndex:0},n?y.createElement("span",{className:"".concat(r,"-close-text")},n):o):null},R=function(e){var t,n,a=e.description,l=e.prefixCls,c=e.message,s=e.banner,f=e.className,d=e.style,p=e.onMouseEnter,h=e.onMouseLeave,m=e.onClick,x=e.afterClose,E=e.showIcon,C=e.closable,Z=e.closeText,S=e.closeIcon,k=void 0===S?y.createElement(u.Z,null):S,_=e.action,T=N(e,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),R=y.useState(!1),A=(0,o.Z)(R,2),M=A[0],j=A[1],L=y.useRef(),F=y.useContext(b.E_),I=F.getPrefixCls,V=F.direction,D=I("alert",l),z=function(e){var t;j(!0),null===(t=T.onClose)||void 0===t||t.call(T,e)},U=!!Z||C,B=void 0!==(t=T.type)?t:s?"warning":"info",H=!!s&&void 0===E||E,W=v()(D,"".concat(D,"-").concat(B),(n={},(0,i.Z)(n,"".concat(D,"-with-description"),!!a),(0,i.Z)(n,"".concat(D,"-no-icon"),!H),(0,i.Z)(n,"".concat(D,"-banner"),!!s),(0,i.Z)(n,"".concat(D,"-rtl"),"rtl"===V),n),void 0===f?"":f),q=(0,w.Z)(T);return y.createElement(g.Z,{visible:!M,motionName:"".concat(D,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(e){return{maxHeight:e.offsetHeight}},onLeaveEnd:x},function(e){var t=e.className,n=e.style;return y.createElement("div",(0,r.Z)({ref:L,"data-show":!M,className:v()(W,t),style:(0,r.Z)((0,r.Z)({},d),n),onMouseEnter:p,onMouseLeave:h,onClick:m,role:"alert"},q),H?y.createElement(O,{description:a,icon:T.icon,prefixCls:D,type:B}):null,y.createElement("div",{className:"".concat(D,"-content")},c?y.createElement("div",{className:"".concat(D,"-message")},c):null,a?y.createElement("div",{className:"".concat(D,"-description")},a):null),_?y.createElement("div",{className:"".concat(D,"-action")},_):null,y.createElement(P,{isClosable:!!U,closeText:Z,prefixCls:D,closeIcon:k,handleClose:z}))})};R.ErrorBoundary=k;var A=R},6134:function(e,t,n){"use strict";n.d(t,{n:function(){return T},Z:function(){return P}});var r=n(87462),o=n(4942),i=n(97685),a=n(71002),l=n(94184),c=n.n(l),s=n(98423),u=n(67294),f=n(53124),d=n(98866),p=n(97647),h=n(4173),m=n(96159),v=n(93355),g=n(68349),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=u.createContext(void 0),w=n(50888),x=n(62874),E=function(){return{width:0,opacity:0,transform:"scale(0)"}},C=function(e){return{width:e.scrollWidth,opacity:1,transform:"scale(1)"}},Z=function(e){var t=e.prefixCls,n=e.loading;return e.existIcon?u.createElement("span",{className:"".concat(t,"-loading-icon")},u.createElement(w.Z,null)):u.createElement(x.Z,{visible:!!n,motionName:"".concat(t,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:E,onAppearActive:C,onEnterStart:E,onEnterActive:C,onLeaveStart:C,onLeaveActive:E},function(e,n){var r=e.className,o=e.style;return u.createElement("span",{className:"".concat(t,"-loading-icon"),style:o,ref:n},u.createElement(w.Z,{className:r}))})},S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},k=/^[\u4e00-\u9fa5]{2}$/,N=k.test.bind(k);function _(e){return"text"===e||"link"===e}function T(e){return"danger"===e?{danger:!0}:{type:e}}(0,v.b)("default","primary","ghost","dashed","link","text"),(0,v.b)("default","circle","round"),(0,v.b)("submit","button","reset");var O=u.forwardRef(function(e,t){var n,l,v,y,w=e.loading,x=void 0!==w&&w,E=e.prefixCls,C=e.type,k=void 0===C?"default":C,T=e.danger,O=e.shape,P=void 0===O?"default":O,R=e.size,A=e.disabled,M=e.className,j=e.children,L=e.icon,F=e.ghost,I=e.block,V=e.htmlType,D=S(e,["loading","prefixCls","type","danger","shape","size","disabled","className","children","icon","ghost","block","htmlType"]),z=u.useContext(p.Z),U=u.useContext(d.Z),B=null!=A?A:U,H=u.useContext(b),W=u.useState(!!x),q=(0,i.Z)(W,2),$=q[0],K=q[1],G=u.useState(!1),Y=(0,i.Z)(G,2),X=Y[0],Q=Y[1],J=u.useContext(f.E_),ee=J.getPrefixCls,et=J.autoInsertSpaceInButton,en=J.direction,er=t||u.createRef(),eo=function(){return 1===u.Children.count(j)&&!L&&!_(k)},ei="boolean"==typeof x?x:(null==x?void 0:x.delay)||!0;u.useEffect(function(){var e=null;return"number"==typeof ei?e=window.setTimeout(function(){e=null,K(ei)},ei):K(ei),function(){e&&(window.clearTimeout(e),e=null)}},[ei]),u.useEffect(function(){if(er&&er.current&&!1!==et){var e=er.current.textContent;eo()&&N(e)?X||Q(!0):X&&Q(!1)}},[er]);var ea=function(t){var n=e.onClick;if($||B){t.preventDefault();return}null==n||n(t)},el=ee("btn",E),ec=!1!==et,es=(0,h.ri)(el,en),eu=es.compactSize,ef=es.compactItemClassnames,ed=eu||H||R||z,ep=ed&&({large:"lg",small:"sm",middle:void 0})[ed]||"",eh=(0,s.Z)(D,["navigate"]),em=c()(el,(y={},(0,o.Z)(y,"".concat(el,"-").concat(P),"default"!==P&&P),(0,o.Z)(y,"".concat(el,"-").concat(k),k),(0,o.Z)(y,"".concat(el,"-").concat(ep),ep),(0,o.Z)(y,"".concat(el,"-icon-only"),!j&&0!==j&&!!($?"loading":L)),(0,o.Z)(y,"".concat(el,"-background-ghost"),void 0!==F&&F&&!_(k)),(0,o.Z)(y,"".concat(el,"-loading"),$),(0,o.Z)(y,"".concat(el,"-two-chinese-chars"),X&&ec&&!$),(0,o.Z)(y,"".concat(el,"-block"),void 0!==I&&I),(0,o.Z)(y,"".concat(el,"-dangerous"),!!T),(0,o.Z)(y,"".concat(el,"-rtl"),"rtl"===en),(0,o.Z)(y,"".concat(el,"-disabled"),void 0!==eh.href&&B),y),ef,M),ev=L&&!$?L:u.createElement(Z,{existIcon:!!L,prefixCls:el,loading:!!$}),eg=j||0===j?(n=eo()&&ec,l=!1,v=[],u.Children.forEach(j,function(e){var t=(0,a.Z)(e),n="string"===t||"number"===t;if(l&&n){var r=v.length-1,o=v[r];v[r]="".concat(o).concat(e)}else v.push(e);l=n}),u.Children.map(v,function(e){return function(e,t){if(null!=e){var n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&"string"==typeof e.type&&N(e.props.children)?(0,m.Tm)(e,{children:e.props.children.split("").join(n)}):"string"==typeof e?N(e)?u.createElement("span",null,e.split("").join(n)):u.createElement("span",null,e):(0,m.M2)(e)?u.createElement("span",null,e):e}}(e,n)})):null;if(void 0!==eh.href)return u.createElement("a",(0,r.Z)({},eh,{className:em,onClick:ea,ref:er}),ev,eg);var ey=u.createElement("button",(0,r.Z)({},D,{type:void 0===V?"button":V,className:em,onClick:ea,disabled:B,ref:er}),ev,eg);return _(k)?ey:u.createElement(g.Z,{disabled:!!$},ey)});O.Group=function(e){var t,n=u.useContext(f.E_),i=n.getPrefixCls,a=n.direction,l=e.prefixCls,s=e.size,d=e.className,p=y(e,["prefixCls","size","className"]),h=i("btn-group",l),m="";switch(s){case"large":m="lg";break;case"small":m="sm"}var v=c()(h,(t={},(0,o.Z)(t,"".concat(h,"-").concat(m),m),(0,o.Z)(t,"".concat(h,"-rtl"),"rtl"===a),t),d);return u.createElement(b.Provider,{value:s},u.createElement("div",(0,r.Z)({},p,{className:v})))},O.__ANT_BUTTON=!0;var P=O},71577:function(e,t,n){"use strict";var r=n(6134);t.Z=r.Z},98866:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(67294),o=r.createContext(!1),i=function(e){var t=e.children,n=e.disabled,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)};t.Z=o},97647:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(67294),o=r.createContext(void 0),i=function(e){var t=e.children,n=e.size;return r.createElement(o.Consumer,null,function(e){return r.createElement(o.Provider,{value:n||e},t)})};t.Z=o},53124:function(e,t,n){"use strict";n.d(t,{C:function(){return a},E_:function(){return i},PG:function(){return l}});var r=n(87462),o=n(67294),i=o.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")}}),a=i.Consumer;function l(e){return function(t){var n=t.constructor;return n&&n.displayName||t.name,function(n){return o.createElement(a,null,function(i){var a=e.prefixCls,l=(0,i.getPrefixCls)(a,n.prefixCls);return o.createElement(t,(0,r.Z)({},i,n,{prefixCls:l}))})}}}},38080:function(e,t,n){"use strict";n.d(t,{ZP:function(){return et},w6:function(){return Q}});var r,o,i,a,l,c=n(87462),s=n(63017),u=n(71990),f=n(56982),d=n(67294),p=n(83008),h=n(67178),m=function(e){var t=e.locale,n=void 0===t?{}:t,r=e.children;e._ANT_MARK__,d.useEffect(function(){return(0,p.f)(n&&n.Modal),function(){(0,p.f)()}},[n]);var o=d.useMemo(function(){return(0,c.Z)((0,c.Z)({},n),{exist:!0})},[n]);return d.createElement(h.Z.Provider,{value:o},r)},v=n(23715),g=n(6213),y=n(12461),b=n(4942),w=n(8751),x=n(18429),E=n(97937),C=n(11475),Z=n(45605),S=n(94184),k=n.n(S),N=n(91127),_=n(97685),T=n(51550),O=n(53124),P={},R=4.5,A=24,M=24,j="",L="topRight",F=!1;function I(e,t){var n=e.placement,o=void 0===n?L:n,a=e.top,l=e.bottom,c=e.getContainer,s=void 0===c?r:c,u=e.prefixCls,f=Q(),d=f.getPrefixCls,p=f.getIconPrefixCls,h=d("notification",u||j),m=p(),v="".concat(h,"-").concat(o),g=P[v];if(g){Promise.resolve(g).then(function(e){t({prefixCls:"".concat(h,"-notice"),iconPrefixCls:m,instance:e})});return}var y=k()("".concat(h,"-").concat(o),(0,b.Z)({},"".concat(h,"-rtl"),!0===F));P[v]=new Promise(function(e){N.default.newInstance({prefixCls:h,className:y,style:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A,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}(o,a,l),getContainer:s,maxCount:i},function(n){e(n),t({prefixCls:"".concat(h,"-notice"),iconPrefixCls:m,instance:n})})})}var V={success:w.Z,info:Z.Z,error:x.Z,warning:C.Z};function D(e,t,n){var r=e.duration,i=e.icon,a=e.type,l=e.description,c=e.message,s=e.btn,u=e.onClose,f=e.onClick,p=e.key,h=e.style,m=e.className,v=e.closeIcon,g=e.props,y=void 0===r?R:r,w=null;i?w=d.createElement("span",{className:"".concat(t,"-icon")},e.icon):a&&(w=d.createElement(V[a]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(a)}));var x=d.createElement("span",{className:"".concat(t,"-close-x")},(void 0===v?o:v)||d.createElement(E.Z,{className:"".concat(t,"-close-icon")})),C=!l&&w?d.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:d.createElement(et,{iconPrefixCls:n},d.createElement("div",{className:w?"".concat(t,"-with-icon"):"",role:"alert"},w,d.createElement("div",{className:"".concat(t,"-message")},C,c),d.createElement("div",{className:"".concat(t,"-description")},l),s?d.createElement("span",{className:"".concat(t,"-btn")},s):null)),duration:y,closable:!0,closeIcon:x,onClose:u,onClick:f,key:p,style:h||{},className:k()(m,(0,b.Z)({},"".concat(t,"-").concat(a),!!a)),props:g}}var z={open:function(e){I(e,function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(D(e,n,r))})},close:function(e){Object.keys(P).forEach(function(t){return Promise.resolve(P[t]).then(function(t){t.removeNotice(e)})})},config:function(e){var t=e.duration,n=e.placement,a=e.bottom,l=e.top,c=e.getContainer,s=e.closeIcon,u=e.prefixCls;void 0!==u&&(j=u),void 0!==t&&(R=t),void 0!==n?L=n:e.rtl&&(L="topLeft"),void 0!==a&&(M=a),void 0!==l&&(A=l),void 0!==c&&(r=c),void 0!==s&&(o=s),void 0!==e.rtl&&(F=e.rtl),void 0!==e.maxCount&&(i=e.maxCount)},destroy:function(){Object.keys(P).forEach(function(e){Promise.resolve(P[e]).then(function(e){e.destroy()}),delete P[e]})}};["success","info","warning","error"].forEach(function(e){z[e]=function(t){return z.open((0,c.Z)((0,c.Z)({},t),{type:e}))}}),z.warn=z.warning,z.useNotification=function(){var e,t=null,n=(0,T.Z)({add:function(e,n){null==t||t.component.add(e,n)}}),r=(0,_.Z)(n,2),o=r[0],i=r[1],a=d.useRef({});return a.current.open=function(n){var r=e("notification",n.prefixCls);I((0,c.Z)((0,c.Z)({},n),{prefixCls:r}),function(e){var r=e.prefixCls;t=e.instance,o(D(n,r))})},["success","info","warning","error"].forEach(function(e){a.current[e]=function(t){return a.current.open((0,c.Z)((0,c.Z)({},t),{type:e}))}}),[a.current,d.createElement(O.C,{key:"holder"},function(t){return e=t.getPrefixCls,i})]};var U=n(92138),B=n(10274),H=n(98924),W=n(44958),q="-ant-".concat(Date.now(),"-").concat(Math.random()),$=n(98866),K=n(97647),G=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];function Y(){return a||"ant"}function X(){return l||"anticon"}var Q=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(Y(),"-").concat(e):Y())},getIconPrefixCls:X,getRootPrefixCls:function(e,t){return e||a||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):Y())}}},J=function(e){var t,n,r=e.children,o=e.csp,i=e.autoInsertSpaceInButton,a=e.form,l=e.locale,p=e.componentSize,h=e.direction,v=e.space,y=e.virtual,b=e.dropdownMatchSelectWidth,w=e.legacyLocale,x=e.parentContext,E=e.iconPrefixCls,C=e.componentDisabled,Z=d.useCallback(function(t,n){var r=e.prefixCls;if(n)return n;var o=r||x.getPrefixCls("");return t?"".concat(o,"-").concat(t):o},[x.getPrefixCls,e.prefixCls]),S=(0,c.Z)((0,c.Z)({},x),{csp:o,autoInsertSpaceInButton:i,locale:l||w,direction:h,space:v,virtual:y,dropdownMatchSelectWidth:b,getPrefixCls:Z});G.forEach(function(t){var n=e[t];n&&(S[t]=n)});var k=(0,f.Z)(function(){return S},S,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]})}),N=d.useMemo(function(){return{prefixCls:E,csp:o}},[E,o]),_=r,T={};return l&&(T=(null===(t=l.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=g.Z.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),a&&a.validateMessages&&(T=(0,c.Z)((0,c.Z)({},T),a.validateMessages)),Object.keys(T).length>0&&(_=d.createElement(u.FormProvider,{validateMessages:T},r)),l&&(_=d.createElement(m,{locale:l,_ANT_MARK__:"internalMark"},_)),(E||o)&&(_=d.createElement(s.Z.Provider,{value:N},_)),p&&(_=d.createElement(K.q,{size:p},_)),void 0!==C&&(_=d.createElement($.n,{disabled:C},_)),d.createElement(O.E_.Provider,{value:k},_)},ee=function(e){return d.useEffect(function(){e.direction&&(y.ZP.config({rtl:"rtl"===e.direction}),z.config({rtl:"rtl"===e.direction}))},[e.direction]),d.createElement(v.Z,null,function(t,n,r){return d.createElement(O.C,null,function(t){return d.createElement(J,(0,c.Z)({parentContext:t,legacyLocale:r},e))})})};ee.ConfigContext=O.E_,ee.SizeContext=K.Z,ee.config=function(e){var t,n=e.prefixCls,r=e.iconPrefixCls,o=e.theme;void 0!==n&&(a=n),void 0!==r&&(l=r),o&&(t=function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=function(e,t){var o=new B.C(e),i=(0,U.generate)(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=i[1],n["".concat(t,"-color-hover")]=i[4],n["".concat(t,"-color-active")]=i[6],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=i[0],n["".concat(t,"-color-deprecated-border")]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");var i=new B.C(t.primaryColor),a=(0,U.generate)(i.toRgbString());a.forEach(function(e,t){n["primary-".concat(t+1)]=e}),n["primary-color-deprecated-l-35"]=r(i,function(e){return e.lighten(35)}),n["primary-color-deprecated-l-20"]=r(i,function(e){return e.lighten(20)}),n["primary-color-deprecated-t-20"]=r(i,function(e){return e.tint(20)}),n["primary-color-deprecated-t-50"]=r(i,function(e){return e.tint(50)}),n["primary-color-deprecated-f-12"]=r(i,function(e){return e.setAlpha(.12*e.getAlpha())});var l=new B.C(a[0]);n["primary-color-active-deprecated-f-30"]=r(l,function(e){return e.setAlpha(.3*e.getAlpha())}),n["primary-color-active-deprecated-d-02"]=r(l,function(e){return e.darken(2)})}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var c=Object.keys(n).map(function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")});return"\n :root {\n ".concat(c.join("\n"),"\n }\n ").trim()}(Y(),o),(0,H.Z)()&&(0,W.hq)(t,"".concat(q,"-dynamic-theme")))};var et=ee},65223:function(e,t,n){"use strict";n.d(t,{RV:function(){return s},Rk:function(){return u},Ux:function(){return d},aM:function(){return f},q3:function(){return l},qI:function(){return c}});var r=n(87462),o=n(71990),i=n(98423),a=n(67294),l=a.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),c=a.createContext(null),s=function(e){var t=(0,i.Z)(e,["prefixCls"]);return a.createElement(o.FormProvider,(0,r.Z)({},t))},u=a.createContext({prefixCls:""}),f=a.createContext({}),d=function(e){var t=e.children,n=e.status,o=e.override,i=(0,a.useContext)(f),l=(0,a.useMemo)(function(){var e=(0,r.Z)({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,o,i]);return a.createElement(f.Provider,{value:l},t)}},82586:function(e,t,n){"use strict";n.d(t,{ZP:function(){return C},D7:function(){return w},rJ:function(){return x},nH:function(){return E}});var r=n(4942),o=n(87462),i=n(71002),a=n(4340),l=n(94184),c=n.n(l),s=n(59775),u=n(42550),f=n(67294),d=n(53124),p=n(98866),h=n(97647),m=n(65223),v=n(4173),g=n(9708),y=n(72922),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function w(e){return null==e?"":String(e)}function x(e,t,n,r){if(n){var o=t;if("click"===t.type){var i=e.cloneNode(!0);o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",n(o);return}if(void 0!==r){o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(o);return}n(o)}}function E(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}var C=(0,f.forwardRef)(function(e,t){var n,l,w,x,E=e.prefixCls,C=e.bordered,Z=void 0===C||C,S=e.status,k=e.size,N=e.disabled,_=e.onBlur,T=e.onFocus,O=e.suffix,P=e.allowClear,R=e.addonAfter,A=e.addonBefore,M=e.className,j=e.onChange,L=b(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),F=f.useContext(d.E_),I=F.getPrefixCls,V=F.direction,D=F.input,z=I("input",E),U=(0,f.useRef)(null),B=(0,v.ri)(z,V),H=B.compactSize,W=B.compactItemClassnames,q=f.useContext(h.Z),$=H||k||q,K=f.useContext(p.Z),G=(0,f.useContext)(m.aM),Y=G.status,X=G.hasFeedback,Q=G.feedbackIcon,J=(0,g.F)(Y,S),ee=!!(e.prefix||e.suffix||e.allowClear)||!!X,et=(0,f.useRef)(ee);(0,f.useEffect)(function(){ee&&et.current,et.current=ee},[ee]);var en=(0,y.Z)(U,!0),er=(X||O)&&f.createElement(f.Fragment,null,O,X&&Q);return"object"===(0,i.Z)(P)&&(null==P?void 0:P.clearIcon)?x=P:P&&(x={clearIcon:f.createElement(a.Z,null)}),f.createElement(s.default,(0,o.Z)({ref:(0,u.sQ)(t,U),prefixCls:z,autoComplete:null==D?void 0:D.autoComplete},L,{disabled:(null!=N?N:K)||void 0,onBlur:function(e){en(),null==_||_(e)},onFocus:function(e){en(),null==T||T(e)},suffix:er,allowClear:x,className:c()(M,W),onChange:function(e){en(),null==j||j(e)},addonAfter:R&&f.createElement(v.BR,null,f.createElement(m.Ux,{override:!0,status:!0},R)),addonBefore:A&&f.createElement(v.BR,null,f.createElement(m.Ux,{override:!0,status:!0},A)),inputClassName:c()((n={},(0,r.Z)(n,"".concat(z,"-sm"),"small"===$),(0,r.Z)(n,"".concat(z,"-lg"),"large"===$),(0,r.Z)(n,"".concat(z,"-rtl"),"rtl"===V),(0,r.Z)(n,"".concat(z,"-borderless"),!Z),n),!ee&&(0,g.Z)(z,J)),affixWrapperClassName:c()((l={},(0,r.Z)(l,"".concat(z,"-affix-wrapper-sm"),"small"===$),(0,r.Z)(l,"".concat(z,"-affix-wrapper-lg"),"large"===$),(0,r.Z)(l,"".concat(z,"-affix-wrapper-rtl"),"rtl"===V),(0,r.Z)(l,"".concat(z,"-affix-wrapper-borderless"),!Z),l),(0,g.Z)("".concat(z,"-affix-wrapper"),J,X)),wrapperClassName:c()((0,r.Z)({},"".concat(z,"-group-rtl"),"rtl"===V)),groupClassName:c()((w={},(0,r.Z)(w,"".concat(z,"-group-wrapper-sm"),"small"===$),(0,r.Z)(w,"".concat(z,"-group-wrapper-lg"),"large"===$),(0,r.Z)(w,"".concat(z,"-group-wrapper-rtl"),"rtl"===V),w),(0,g.Z)("".concat(z,"-group-wrapper"),J,X))}))})},80173:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(71002),o=n(4942),i=n(87462),a=n(97685),l=n(74902),c=n(94184),s=n.n(c),u=n(57239),f=n(21770),d=n(98423),p=n(67294),h=n(53124),m=n(98866),v=n(97647),g=n(65223),y=n(9708),b=n(15671),w=n(43144),x=n(60136),E=n(33643),C=n(4340),Z=n(96159),S=(0,n(93355).b)("text","input"),k=function(e){(0,x.Z)(n,e);var t=(0,E.Z)(n);function n(){return(0,b.Z)(this,n),t.apply(this,arguments)}return(0,w.Z)(n,[{key:"renderClearIcon",value:function(e){var t,n=this.props,r=n.value,i=n.disabled,a=n.readOnly,l=n.handleReset,c=n.suffix,u="".concat(e,"-clear-icon");return p.createElement(C.Z,{onClick:l,onMouseDown:function(e){return e.preventDefault()},className:s()((t={},(0,o.Z)(t,"".concat(u,"-hidden"),!(!i&&!a&&r)),(0,o.Z)(t,"".concat(u,"-has-suffix"),!!c),t),u),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(e,t,n){var r,i,a=this.props,l=a.value,c=a.allowClear,u=a.className,f=a.style,d=a.direction,h=a.bordered,m=a.hidden,v=a.status,g=n.status,b=n.hasFeedback;if(!c)return(0,Z.Tm)(t,{value:l});var w=s()("".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(0,y.Z)("".concat(e,"-affix-wrapper"),(0,y.F)(g,v),b),(i={},(0,o.Z)(i,"".concat(e,"-affix-wrapper-rtl"),"rtl"===d),(0,o.Z)(i,"".concat(e,"-affix-wrapper-borderless"),!h),(0,o.Z)(i,"".concat(u),!((r=this.props).addonBefore||r.addonAfter)&&u),i));return p.createElement("span",{className:w,style:f,hidden:m},(0,Z.Tm)(t,{style:null,value:l}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this;return p.createElement(g.aM.Consumer,null,function(t){var n=e.props,r=n.prefixCls,o=n.inputType,i=n.element;if(o===S[0])return e.renderTextAreaWithClearIcon(r,i,t)})}}]),n}(p.Component),N=n(82586),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function T(e,t){return(0,l.Z)(e||"").slice(0,t).join("")}function O(e,t,n,r){var o=n;return e?o=T(n,r):(0,l.Z)(t||"").lengthr&&(o=t),o}var P=p.forwardRef(function(e,t){var n=e.prefixCls,c=e.bordered,b=void 0===c||c,w=e.showCount,x=void 0!==w&&w,E=e.maxLength,C=e.className,Z=e.style,S=e.size,P=e.disabled,R=e.onCompositionStart,A=e.onCompositionEnd,M=e.onChange,j=e.status,L=_(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),F=p.useContext(h.E_),I=F.getPrefixCls,V=F.direction,D=p.useContext(v.Z),z=p.useContext(m.Z),U=null!=P?P:z,B=p.useContext(g.aM),H=B.status,W=B.hasFeedback,q=B.isFormItemInput,$=B.feedbackIcon,K=(0,y.F)(H,j),G=p.useRef(null),Y=p.useRef(null),X=p.useState(!1),Q=(0,a.Z)(X,2),J=Q[0],ee=Q[1],et=p.useRef(),en=p.useRef(0),er=(0,f.Z)(L.defaultValue,{value:L.value}),eo=(0,a.Z)(er,2),ei=eo[0],ea=eo[1],el=L.hidden,ec=function(e,t){void 0===L.value&&(ea(e),null==t||t())},es=Number(E)>0,eu=I("input",n);p.useImperativeHandle(t,function(){var e;return{resizableTextArea:null===(e=G.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,N.nH)(null===(n=null===(t=G.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=G.current)||void 0===e?void 0:e.blur()}}});var ef=p.createElement(u.default,(0,i.Z)({},(0,d.Z)(L,["allowClear"]),{disabled:U,className:s()((eh={},(0,o.Z)(eh,"".concat(eu,"-borderless"),!b),(0,o.Z)(eh,C,C&&!x),(0,o.Z)(eh,"".concat(eu,"-sm"),"small"===D||"small"===S),(0,o.Z)(eh,"".concat(eu,"-lg"),"large"===D||"large"===S),eh),(0,y.Z)(eu,K)),style:x?{resize:null==Z?void 0:Z.resize}:Z,prefixCls:eu,onCompositionStart:function(e){ee(!0),et.current=ei,en.current=e.currentTarget.selectionStart,null==R||R(e)},onChange:function(e){var t=e.target.value;!J&&es&&(t=O(e.target.selectionStart>=E+1||e.target.selectionStart===t.length||!e.target.selectionStart,ei,t,E)),ec(t),(0,N.rJ)(e.currentTarget,e,M,t)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;es&&(n=O(en.current>=E+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,E)),n!==ei&&(ec(n),(0,N.rJ)(e.currentTarget,e,M,n)),null==A||A(e)},ref:G})),ed=(0,N.D7)(ei);!J&&es&&(null===L.value||void 0===L.value)&&(ed=T(ed,E));var ep=p.createElement(k,(0,i.Z)({disabled:U},L,{prefixCls:eu,direction:V,inputType:"text",value:ed,element:ef,handleReset:function(e){var t,n,r;ec(""),null===(t=G.current)||void 0===t||t.focus(),(0,N.rJ)(null===(r=null===(n=G.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,M)},ref:Y,bordered:b,status:j,style:x?void 0:Z}));if(x||W){var eh,em,ev=(0,l.Z)(ed).length,eg="";return eg="object"===(0,r.Z)(x)?x.formatter({value:ed,count:ev,maxLength:E}):"".concat(ev).concat(es?" / ".concat(E):""),p.createElement("div",{hidden:el,className:s()("".concat(eu,"-textarea"),(em={},(0,o.Z)(em,"".concat(eu,"-textarea-rtl"),"rtl"===V),(0,o.Z)(em,"".concat(eu,"-textarea-show-count"),x),(0,o.Z)(em,"".concat(eu,"-textarea-in-form-item"),q),em),(0,y.Z)("".concat(eu,"-textarea"),K,W),C),style:Z,"data-count":eg},ep,W&&p.createElement("span",{className:"".concat(eu,"-textarea-suffix")},$))}return ep})},72922:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t){var n=(0,r.useRef)([]),o=function(){n.current.push(setTimeout(function(){var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))}))};return(0,r.useEffect)(function(){return t&&o(),function(){return n.current.forEach(function(e){e&&clearTimeout(e)})}},[]),o}},69677:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(87462),o=n(4942),i=n(94184),a=n.n(i),l=n(67294),c=n(53124),s=n(65223),u=n(82586),f=n(97685),d=n(71002),p=n(90420),h=n(99611),m=n(98423),v=n(42550),g=n(72922),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=function(e){return e?l.createElement(h.Z,null):l.createElement(p.Z,null)},w={click:"onClick",hover:"onMouseOver"},x=l.forwardRef(function(e,t){var n=e.visibilityToggle,i=void 0===n||n,s="object"===(0,d.Z)(i)&&void 0!==i.visible,p=(0,l.useState)(function(){return!!s&&i.visible}),h=(0,f.Z)(p,2),x=h[0],E=h[1],C=(0,l.useRef)(null);l.useEffect(function(){s&&E(i.visible)},[s,i]);var Z=(0,g.Z)(C),S=function(){e.disabled||(x&&Z(),E(function(e){var t,n=!e;return"object"===(0,d.Z)(i)&&(null===(t=i.onVisibleChange)||void 0===t||t.call(i,n)),n}))},k=function(t){var n,r=e.action,i=e.iconRender,a=w[void 0===r?"click":r]||"",c=(void 0===i?b:i)(x),s=(n={},(0,o.Z)(n,a,S),(0,o.Z)(n,"className","".concat(t,"-icon")),(0,o.Z)(n,"key","passwordIcon"),(0,o.Z)(n,"onMouseDown",function(e){e.preventDefault()}),(0,o.Z)(n,"onMouseUp",function(e){e.preventDefault()}),n);return l.cloneElement(l.isValidElement(c)?c:l.createElement("span",null,c),s)};return l.createElement(c.C,null,function(n){var c=n.getPrefixCls,s=e.className,f=e.prefixCls,d=e.inputPrefixCls,p=e.size,h=y(e,["className","prefixCls","inputPrefixCls","size"]),g=c("input",d),b=c("input-password",f),w=i&&k(b),E=a()(b,s,(0,o.Z)({},"".concat(b,"-").concat(p),!!p)),Z=(0,r.Z)((0,r.Z)({},(0,m.Z)(h,["suffix","iconRender","visibilityToggle"])),{type:x?"text":"password",className:E,prefixCls:g,suffix:w});return p&&(Z.size=p),l.createElement(u.ZP,(0,r.Z)({ref:(0,v.sQ)(t,C)},Z))})}),E=n(68795),C=n(71577),Z=n(97647),S=n(4173),k=n(96159),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},_=l.forwardRef(function(e,t){var n,i,s=e.prefixCls,f=e.inputPrefixCls,d=e.className,p=e.size,h=e.suffix,m=e.enterButton,g=void 0!==m&&m,y=e.addonAfter,b=e.loading,w=e.disabled,x=e.onSearch,_=e.onChange,T=e.onCompositionStart,O=e.onCompositionEnd,P=N(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),R=l.useContext(c.E_),A=R.getPrefixCls,M=R.direction,j=l.useContext(Z.Z),L=l.useRef(!1),F=A("input-search",s),I=A("input",f),V=(0,S.ri)(F,M).compactSize||p||j,D=l.useRef(null),z=function(e){var t;document.activeElement===(null===(t=D.current)||void 0===t?void 0:t.input)&&e.preventDefault()},U=function(e){var t,n;x&&x(null===(n=null===(t=D.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},B="boolean"==typeof g?l.createElement(E.Z,null):null,H="".concat(F,"-button"),W=g||{},q=W.type&&!0===W.type.__ANT_BUTTON;i=q||"button"===W.type?(0,k.Tm)(W,(0,r.Z)({onMouseDown:z,onClick:function(e){var t,n;null===(n=null===(t=null==W?void 0:W.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),U(e)},key:"enterButton"},q?{className:H,size:V}:{})):l.createElement(C.Z,{className:H,type:g?"primary":void 0,size:V,disabled:w,key:"enterButton",onMouseDown:z,onClick:U,loading:b,icon:B},g),y&&(i=[i,(0,k.Tm)(y,{key:"addonAfter"})]);var $=a()(F,(n={},(0,o.Z)(n,"".concat(F,"-rtl"),"rtl"===M),(0,o.Z)(n,"".concat(F,"-").concat(V),!!V),(0,o.Z)(n,"".concat(F,"-with-button"),!!g),n),d);return l.createElement(u.ZP,(0,r.Z)({ref:(0,v.sQ)(D,t),onPressEnter:function(e){L.current||b||U(e)}},P,{size:V,onCompositionStart:function(e){L.current=!0,null==T||T(e)},onCompositionEnd:function(e){L.current=!1,null==O||O(e)},prefixCls:I,addonAfter:i,suffix:h,onChange:function(e){e&&e.target&&"click"===e.type&&x&&x(e.target.value,e),_&&_(e)},className:$,disabled:w}))}),T=n(80173),O=u.ZP;O.Group=function(e){var t,n=(0,l.useContext)(c.E_),i=n.getPrefixCls,u=n.direction,f=e.prefixCls,d=e.className,p=i("input-group",f),h=a()(p,(t={},(0,o.Z)(t,"".concat(p,"-lg"),"large"===e.size),(0,o.Z)(t,"".concat(p,"-sm"),"small"===e.size),(0,o.Z)(t,"".concat(p,"-compact"),e.compact),(0,o.Z)(t,"".concat(p,"-rtl"),"rtl"===u),t),void 0===d?"":d),m=(0,l.useContext)(s.aM),v=(0,l.useMemo)(function(){return(0,r.Z)((0,r.Z)({},m),{isFormItemInput:!1})},[m]);return l.createElement("span",{className:h,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},l.createElement(s.aM.Provider,{value:v},e.children))},O.Search=_,O.TextArea=T.Z,O.Password=x;var P=O},7293:function(e,t,n){"use strict";n.d(t,{D:function(){return E},Z:function(){return Z}});var r,o=n(4942),i=n(87462),a=n(97685),l=n(1413),c=n(67294),s={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"},u=n(42135),f=function(e,t){return c.createElement(u.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:s}))};f.displayName="BarsOutlined";var d=c.forwardRef(f),p=n(6171),h=n(18073),m=n(94184),v=n.n(m),g=n(98423),y=n(53124),b=n(2897),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},E=c.createContext({}),C=(r=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r+=1,"".concat(e).concat(r)}),Z=c.forwardRef(function(e,t){var n,r,l,s,u,f,m,Z,S,k,N,_=e.prefixCls,T=e.className,O=e.trigger,P=e.children,R=e.defaultCollapsed,A=e.theme,M=e.style,j=e.collapsible,L=void 0!==j&&j,F=e.reverseArrow,I=void 0!==F&&F,V=e.width,D=e.collapsedWidth,z=void 0===D?80:D,U=e.zeroWidthTriggerStyle,B=e.breakpoint,H=e.onCollapse,W=e.onBreakpoint,q=w(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),$=(0,c.useContext)(b.Gs).siderHook,K=(0,c.useState)("collapsed"in q?q.collapsed:void 0!==R&&R),G=(0,a.Z)(K,2),Y=G[0],X=G[1],Q=(0,c.useState)(!1),J=(0,a.Z)(Q,2),ee=J[0],et=J[1];(0,c.useEffect)(function(){"collapsed"in q&&X(q.collapsed)},[q.collapsed]);var en=function(e,t){"collapsed"in q||X(e),null==H||H(e,t)},er=(0,c.useRef)();er.current=function(e){et(e.matches),null==W||W(e.matches),Y!==e.matches&&en(e.matches,"responsive")},(0,c.useEffect)(function(){function e(e){return er.current(e)}if("undefined"!=typeof window){var t,n=window.matchMedia;if(n&&B&&B in x){t=n("(max-width: ".concat(x[B],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null==t||t.removeEventListener("change",e)}catch(n){null==t||t.removeListener(e)}}},[B]),(0,c.useEffect)(function(){var e=C("ant-sider-");return $.addSider(e),function(){return $.removeSider(e)}},[]);var eo=function(){en(!Y,"clickTrigger")},ei=(0,c.useContext)(y.E_).getPrefixCls,ea=c.useMemo(function(){return{siderCollapsed:Y}},[Y]);return c.createElement(E.Provider,{value:ea},(r=ei("layout-sider",_),l=(0,g.Z)(q,["collapsed"]),f=!isNaN(parseFloat(u=s=Y?z:void 0===V?200:V))&&isFinite(u)?"".concat(s,"px"):String(s),m=0===parseFloat(String(z||0))?c.createElement("span",{onClick:eo,className:v()("".concat(r,"-zero-width-trigger"),"".concat(r,"-zero-width-trigger-").concat(I?"right":"left")),style:U},O||c.createElement(d,null)):null,Z=({expanded:I?c.createElement(h.Z,null):c.createElement(p.Z,null),collapsed:I?c.createElement(p.Z,null):c.createElement(h.Z,null)})[Y?"collapsed":"expanded"],S=null!==O?m||c.createElement("div",{className:"".concat(r,"-trigger"),onClick:eo,style:{width:f}},O||Z):null,k=(0,i.Z)((0,i.Z)({},void 0===M?{}:M),{flex:"0 0 ".concat(f),maxWidth:f,minWidth:f,width:f}),N=v()(r,"".concat(r,"-").concat(void 0===A?"dark":A),(n={},(0,o.Z)(n,"".concat(r,"-collapsed"),!!Y),(0,o.Z)(n,"".concat(r,"-has-trigger"),L&&null!==O&&!m),(0,o.Z)(n,"".concat(r,"-below"),!!ee),(0,o.Z)(n,"".concat(r,"-zero-width"),0===parseFloat(f)),n),T),c.createElement("aside",(0,i.Z)({className:N},l,{style:k,ref:t}),c.createElement("div",{className:"".concat(r,"-children")},P),L||ee&&m?S:null)))})},97183:function(e,t,n){"use strict";var r=n(2897),o=n(7293),i=r.ZP;i.Header=r.h4,i.Footer=r.$_,i.Content=r.VY,i.Sider=o.Z,t.Z=i},2897:function(e,t,n){"use strict";n.d(t,{$_:function(){return y},Gs:function(){return d},VY:function(){return b},h4:function(){return g}});var r=n(74902),o=n(4942),i=n(97685),a=n(87462),l=n(94184),c=n.n(l),s=n(67294),u=n(53124),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},d=s.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function p(e){var t=e.suffixCls,n=e.tagName;return e.displayName,function(e){return s.forwardRef(function(r,o){var i=(0,s.useContext(u.E_).getPrefixCls)(t,r.prefixCls);return s.createElement(e,(0,a.Z)({ref:o,prefixCls:i,tagName:n},r))})}}var h=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.children,i=e.tagName,l=f(e,["prefixCls","className","children","tagName"]),u=c()(n,r);return s.createElement(i,(0,a.Z)((0,a.Z)({className:u},l),{ref:t}),o)}),m=s.forwardRef(function(e,t){var n,l=s.useContext(u.E_).direction,p=s.useState([]),h=(0,i.Z)(p,2),m=h[0],v=h[1],g=e.prefixCls,y=e.className,b=e.children,w=e.hasSider,x=e.tagName,E=f(e,["prefixCls","className","children","hasSider","tagName"]),C=c()(g,(n={},(0,o.Z)(n,"".concat(g,"-has-sider"),"boolean"==typeof w?w:m.length>0),(0,o.Z)(n,"".concat(g,"-rtl"),"rtl"===l),n),y),Z=s.useMemo(function(){return{siderHook:{addSider:function(e){v(function(t){return[].concat((0,r.Z)(t),[e])})},removeSider:function(e){v(function(t){return t.filter(function(t){return t!==e})})}}}},[]);return s.createElement(d.Provider,{value:Z},s.createElement(x,(0,a.Z)({ref:t,className:C},E),b))}),v=p({suffixCls:"layout",tagName:"section",displayName:"Layout"})(m),g=p({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(h),y=p({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(h),b=p({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(h);t.ZP=v},23715:function(e,t,n){"use strict";n.d(t,{Z:function(){return l},E:function(){return c}});var r=n(87462),o=n(67294),i=n(67178),a=n(6213).Z,l=function(e){var t=e.componentName,n=void 0===t?"global":t,l=e.defaultLocale,c=e.children,s=o.useContext(i.Z);return c(o.useMemo(function(){var e,t=l||a[n],o=null!==(e=null==s?void 0:s[n])&&void 0!==e?e:{};return(0,r.Z)((0,r.Z)({},t instanceof Function?t():t),o||{})},[n,l,s]),o.useMemo(function(){var e=s&&s.locale;return s&&s.exist&&!e?a.locale:e},[s]),s)},c=function(e,t){var n=o.useContext(i.Z);return[o.useMemo(function(){var o,i=t||a[e],l=null!==(o=null==n?void 0:n[e])&&void 0!==o?o:{};return(0,r.Z)((0,r.Z)({},"function"==typeof i?i():i),l||{})},[e,t,n])]}},67178:function(e,t,n){"use strict";var r=(0,n(67294).createContext)(void 0);t.Z=r},6213:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(62906),o=n(87462),i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},a={lang:(0,o.Z)({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"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:(0,o.Z)({},i)},l="${label} is not a valid ${type}",c={locale:"en",Pagination:r.Z,DatePicker:a,TimePicker:i,Calendar:a,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:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},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"}}},76529:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(87462),o=n(67294),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},a=o.createContext(null),l=function(e){var t=e.children,n=i(e,["children"]),l=o.useContext(a),c=o.useMemo(function(){return(0,r.Z)((0,r.Z)({},l),n)},[l,n.prefixCls,n.mode,n.selectable]);return o.createElement(a.Provider,{value:c},t)};t.Z=a},66516:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(15671),o=n(43144),i=n(60136),a=n(33643),l=n(87462),c=n(89705),s=n(94184),u=n.n(s),f=n(97868),d=n(66680),p=n(98423),h=n(67294),m=n(53124),v=n(7293),g=n(33603),y=n(96159),b=n(71002),w=n(4942),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},E=function(e){var t=e.prefixCls,n=e.className,r=e.dashed,o=x(e,["prefixCls","className","dashed"]),i=(0,h.useContext(m.E_).getPrefixCls)("menu",t),a=u()((0,w.Z)({},"".concat(i,"-item-divider-dashed"),!!r),n);return h.createElement(f.iz,(0,l.Z)({className:a},o))},C=n(50344),Z=n(94199),S=(0,h.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},N=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(this,n),e=t.apply(this,arguments),e.renderItem=function(t){var n,r,o=t.siderCollapsed,i=e.context,a=i.prefixCls,c=i.firstLevel,s=i.inlineCollapsed,d=i.direction,p=i.disableMenuItemTitleTooltip,m=e.props,v=m.className,g=m.children,b=e.props,x=b.title,E=b.icon,S=b.danger,N=k(b,["title","icon","danger"]),_=x;void 0===x?_=c?g:"":!1===x&&(_="");var T={title:_};o||s||(T.title=null,T.open=!1);var O=(0,C.Z)(g).length,P=h.createElement(f.ck,(0,l.Z)({},N,{className:u()((n={},(0,w.Z)(n,"".concat(a,"-item-danger"),S),(0,w.Z)(n,"".concat(a,"-item-only-child"),(E?O+1:O)===1),n),v),title:"string"==typeof x?x:void 0}),(0,y.Tm)(E,{className:u()((0,y.l$)(E)?null===(r=E.props)||void 0===r?void 0:r.className:"","".concat(a,"-item-icon"))}),e.renderItemChildren(s));return p||(P=h.createElement(Z.Z,(0,l.Z)({},T,{placement:"rtl"===d?"left":"right",overlayClassName:"".concat(a,"-inline-collapsed-tooltip")}),P)),P},e}return(0,o.Z)(n,[{key:"renderItemChildren",value:function(e){var t=this.context,n=t.prefixCls,r=t.firstLevel,o=this.props,i=o.icon,a=o.children,l=h.createElement("span",{className:"".concat(n,"-title-content")},a);return(!i||(0,y.l$)(a)&&"span"===a.type)&&a&&e&&r&&"string"==typeof a?h.createElement("div",{className:"".concat(n,"-inline-collapsed-noicon")},a.charAt(0)):l}},{key:"render",value:function(){return h.createElement(v.D.Consumer,null,this.renderItem)}}]),n}(h.Component);N.contextType=S;var _=function(e){var t,n,r=e.popupClassName,o=e.icon,i=e.title,a=e.theme,c=h.useContext(S),s=c.prefixCls,d=c.inlineCollapsed,m=c.antdMenuTheme,v=(0,f.Xl)();if(o){var g=(0,y.l$)(i)&&"span"===i.type;n=h.createElement(h.Fragment,null,(0,y.Tm)(o,{className:u()((0,y.l$)(o)?null===(t=o.props)||void 0===t?void 0:t.className:"","".concat(s,"-item-icon"))}),g?i:h.createElement("span",{className:"".concat(s,"-title-content")},i))}else n=d&&!v.length&&i&&"string"==typeof i?h.createElement("div",{className:"".concat(s,"-inline-collapsed-noicon")},i.charAt(0)):h.createElement("span",{className:"".concat(s,"-title-content")},i);var b=h.useMemo(function(){return(0,l.Z)((0,l.Z)({},c),{firstLevel:!1})},[c]);return h.createElement(S.Provider,{value:b},h.createElement(f.Wd,(0,l.Z)({},(0,p.Z)(e,["icon"]),{title:n,popupClassName:u()(s,"".concat(s,"-").concat(a||m),r)})))},T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},O=n(76529),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},R=(0,h.forwardRef)(function(e,t){var n,r,o=h.useContext(O.Z)||{},i=h.useContext(m.E_),a=i.getPrefixCls,s=i.getPopupContainer,v=i.direction,w=a(),x=e.prefixCls,C=e.className,Z=e.theme,k=void 0===Z?"light":Z,R=e.expandIcon,A=e._internalDisableMenuItemTitleTooltip,M=e.inlineCollapsed,j=e.siderCollapsed,L=e.items,F=e.children,I=e.mode,V=e.selectable,D=e.onClick,z=P(e,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","mode","selectable","onClick"]),U=(0,p.Z)(z,["collapsedWidth"]),B=h.useMemo(function(){return L?function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,b.Z)(t)){var r=t.label,o=t.children,i=t.key,a=t.type,c=T(t,["label","children","key","type"]),s=null!=i?i:"tmp-".concat(n);return o||"group"===a?"group"===a?h.createElement(f.BW,(0,l.Z)({key:s},c,{title:r}),e(o)):h.createElement(_,(0,l.Z)({key:s},c,{title:r}),e(o)):"divider"===a?h.createElement(E,(0,l.Z)({key:s},c)):h.createElement(N,(0,l.Z)({key:s},c),r)}return null}).filter(function(e){return e})}(L):L},[L])||F;null===(n=o.validator)||void 0===n||n.call(o,{mode:I});var H=(0,d.Z)(function(){var e;null==D||D.apply(void 0,arguments),null===(e=null==o?void 0:o.onClick)||void 0===e||e.call(o)}),W=o.mode||I,q=null!=V?V:o.selectable,$=h.useMemo(function(){return void 0!==j?j:M},[M,j]),K={horizontal:{motionName:"".concat(w,"-slide-up")},inline:g.ZP,other:{motionName:"".concat(w,"-zoom-big")}},G=a("menu",x||o.prefixCls),Y=u()("".concat(G,"-").concat(k),C);r="function"==typeof R?R:(0,y.Tm)(R||o.expandIcon,{className:"".concat(G,"-submenu-expand-icon")});var X=h.useMemo(function(){return{prefixCls:G,inlineCollapsed:$||!1,antdMenuTheme:k,direction:v,firstLevel:!0,disableMenuItemTitleTooltip:A}},[G,$,k,v,A]);return h.createElement(O.Z.Provider,{value:null},h.createElement(S.Provider,{value:X},h.createElement(f.ZP,(0,l.Z)({getPopupContainer:s,overflowedIndicator:h.createElement(c.Z,null),overflowedIndicatorPopupClassName:"".concat(G,"-").concat(k),mode:W,selectable:q,onClick:H},U,{inlineCollapsed:$,className:Y,prefixCls:G,direction:v,defaultMotions:K,expandIcon:r,ref:t}),B)))}),A=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(this,n),e=t.apply(this,arguments),e.focus=function(t){var n;null===(n=e.menu)||void 0===n||n.focus(t)},e}return(0,o.Z)(n,[{key:"render",value:function(){var e=this;return h.createElement(v.D.Consumer,null,function(t){return h.createElement(R,(0,l.Z)({ref:function(t){e.menu=t}},e.props,t))})}}]),n}(h.Component);A.Divider=E,A.Item=N,A.SubMenu=_,A.ItemGroup=f.BW;var M=A},12461:function(e,t,n){"use strict";n.d(t,{Df:function(){return M},ZP:function(){return j},S$:function(){return _},z$:function(){return P}});var r,o,i,a,l=n(87462),c=n(4942),s=n(89739),u=n(4340),f=n(21640),d=n(78860),p=n(50888),h=n(94184),m=n.n(h),v=n(91127),g=n(67294),y=n(38080),b=n(97685),w=n(51550),x=n(53124),E=3,C=1,Z="",S="move-up",k=!1,N=!1;function _(){return C++}function T(e,t){var n=e.prefixCls,l=e.getPopupContainer,c=(0,y.w6)(),s=c.getPrefixCls,u=c.getRootPrefixCls,f=c.getIconPrefixCls,d=s("message",n||Z),p=u(e.rootPrefixCls,d),h=f();if(r){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:r});return}var m={prefixCls:d,transitionName:k?S:"".concat(p,"-").concat(S),style:{top:o},getContainer:i||l,maxCount:a};v.default.newInstance(m,function(e){if(r){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:r});return}r=e,t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:e})})}var O={info:d.Z,success:s.Z,error:u.Z,warning:f.Z,loading:p.Z},P=Object.keys(O);function R(e,t,n){var r,o=void 0!==e.duration?e.duration:E,i=O[e.type],a=m()("".concat(t,"-custom-content"),(r={},(0,c.Z)(r,"".concat(t,"-").concat(e.type),e.type),(0,c.Z)(r,"".concat(t,"-rtl"),!0===N),r));return{key:e.key,duration:o,style:e.style||{},className:e.className,content:g.createElement(y.ZP,{iconPrefixCls:n},g.createElement("div",{className:a},e.icon||i&&g.createElement(i,null),g.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}var A={open:function(e){var t=e.key||_(),n=new Promise(function(n){var r=function(){return"function"==typeof e.onClose&&e.onClose(),n(!0)};T(e,function(n){var o=n.prefixCls,i=n.iconPrefixCls;n.instance.notice(R((0,l.Z)((0,l.Z)({},e),{key:t,onClose:r}),o,i))})}),o=function(){r&&r.removeNotice(t)};return o.then=function(e,t){return n.then(e,t)},o.promise=n,o},config:function(e){void 0!==e.top&&(o=e.top,r=null),void 0!==e.duration&&(E=e.duration),void 0!==e.prefixCls&&(Z=e.prefixCls),void 0!==e.getContainer&&(i=e.getContainer,r=null),void 0!==e.transitionName&&(S=e.transitionName,r=null,k=!0),void 0!==e.maxCount&&(a=e.maxCount,r=null),void 0!==e.rtl&&(N=e.rtl)},destroy:function(e){r&&(e?(0,r.removeNotice)(e):((0,r.destroy)(),r=null))}};function M(e,t){e[t]=function(n,r,o){return"[object Object]"===Object.prototype.toString.call(n)&&n.content?e.open((0,l.Z)((0,l.Z)({},n),{type:t})):("function"==typeof r&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}}P.forEach(function(e){return M(A,e)}),A.warn=A.warning,A.useMessage=function(){var e,t,n=null,r=(0,w.Z)({add:function(e,t){null==n||n.component.add(e,t)}}),o=(0,b.Z)(r,2),i=o[0],a=o[1],c=g.useRef({});return c.current.open=function(r){var o=e("message",r.prefixCls),a=e(),c=r.key||_(),s=new Promise(function(e){var s=function(){return"function"==typeof r.onClose&&r.onClose(),e(!0)};T((0,l.Z)((0,l.Z)({},r),{prefixCls:o,rootPrefixCls:a,getPopupContainer:t}),function(e){var t=e.prefixCls;n=e.instance,i(R((0,l.Z)((0,l.Z)({},r),{key:c,onClose:s}),t))})}),u=function(){n&&n.removeNotice(c)};return u.then=function(e,t){return s.then(e,t)},u.promise=s,u},P.forEach(function(e){return M(c.current,e)}),[c.current,g.createElement(x.C,{key:"holder"},function(n){return e=n.getPrefixCls,t=n.getPopupContainer,a})]};var j=A},85402:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r,o=n(74902),i=n(87462),a=n(8751),l=n(18429),c=n(11475),s=n(45605),u=n(38135),f=n(67294),d=n(38080),p=n(4942),h=n(94184),m=n.n(h),v=n(86743),g=n(33603),y=n(97937),b=n(38425),w=n(71577),x=n(6134),E=n(53124),C=n(65223),Z=n(23715),S=n(31808),k=n(83008),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};(0,S.jD)()&&document.documentElement.addEventListener("click",function(e){r={x:e.pageX,y:e.pageY},setTimeout(function(){r=null},100)},!0);var _=function(e){var t,n,o=f.useContext(E.E_),a=o.getPopupContainer,l=o.getPrefixCls,c=o.direction,s=function(t){var n=e.onCancel;null==n||n(t)},u=function(t){var n=e.onOk;null==n||n(t)},d=e.prefixCls,h=e.footer,v=e.visible,S=e.open,_=e.wrapClassName,T=e.centered,O=e.getContainer,P=e.closeIcon,R=e.focusTriggerAfterClose,A=e.width,M=N(e,["prefixCls","footer","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose","width"]),j=l("modal",d),L=l(),F=f.createElement(Z.Z,{componentName:"Modal",defaultLocale:(0,k.A)()},function(t){var n=e.okText,r=e.okType,o=e.cancelText,a=e.confirmLoading;return f.createElement(f.Fragment,null,f.createElement(w.Z,(0,i.Z)({onClick:s},e.cancelButtonProps),o||t.cancelText),f.createElement(w.Z,(0,i.Z)({},(0,x.n)(void 0===r?"primary":r),{loading:void 0!==a&&a,onClick:u},e.okButtonProps),null!=n?n:t.okText))}),I=f.createElement("span",{className:"".concat(j,"-close-x")},P||f.createElement(y.Z,{className:"".concat(j,"-close-icon")})),V=m()(_,(t={},(0,p.Z)(t,"".concat(j,"-centered"),!!T),(0,p.Z)(t,"".concat(j,"-wrap-rtl"),"rtl"===c),t));return f.createElement(C.Ux,{status:!0,override:!0},f.createElement(b.Z,(0,i.Z)({width:void 0===A?520:A},M,{getContainer:void 0===O?a:O,prefixCls:j,wrapClassName:V,footer:void 0===h?F:h,visible:void 0!==S&&S||v,mousePosition:null!==(n=M.mousePosition)&&void 0!==n?n:r,onClose:s,closeIcon:I,focusTriggerAfterClose:void 0===R||R,transitionName:(0,g.mL)(L,"zoom",e.transitionName),maskTransitionName:(0,g.mL)(L,"fade",e.maskTransitionName)})))},T=function(e){var t=e.icon,n=e.onCancel,r=e.onOk,o=e.close,i=e.zIndex,a=e.afterClose,l=e.visible,c=e.open,s=e.keyboard,u=e.centered,h=e.getContainer,y=e.maskStyle,b=e.okText,w=e.okButtonProps,x=e.cancelText,E=e.cancelButtonProps,C=e.direction,Z=e.prefixCls,S=e.wrapClassName,k=e.rootPrefixCls,N=e.iconPrefixCls,T=e.bodyStyle,O=e.closable,P=e.closeIcon,R=e.modalRender,A=e.focusTriggerAfterClose,M=e.okType||"primary",j="".concat(Z,"-confirm"),L=!("okCancel"in e)||e.okCancel,F=e.width||416,I=e.style||{},V=void 0===e.mask||e.mask,D=void 0!==e.maskClosable&&e.maskClosable,z=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),U=m()(j,"".concat(j,"-").concat(e.type),(0,p.Z)({},"".concat(j,"-rtl"),"rtl"===C),e.className),B=L&&f.createElement(v.Z,{actionFn:n,close:o,autoFocus:"cancel"===z,buttonProps:E,prefixCls:"".concat(k,"-btn")},x);return f.createElement(d.ZP,{prefixCls:k,iconPrefixCls:N,direction:C},f.createElement(_,{prefixCls:Z,className:U,wrapClassName:m()((0,p.Z)({},"".concat(j,"-centered"),!!e.centered),S),onCancel:function(){return null==o?void 0:o({triggerCancel:!0})},open:c||l,title:"",footer:"",transitionName:(0,g.mL)(k,"zoom",e.transitionName),maskTransitionName:(0,g.mL)(k,"fade",e.maskTransitionName),mask:V,maskClosable:D,maskStyle:y,style:I,bodyStyle:T,width:F,zIndex:i,afterClose:a,keyboard:s,centered:u,getContainer:h,closable:void 0!==O&&O,closeIcon:P,modalRender:R,focusTriggerAfterClose:A},f.createElement("div",{className:"".concat(j,"-body-wrapper")},f.createElement("div",{className:"".concat(j,"-body")},t,void 0===e.title?null:f.createElement("span",{className:"".concat(j,"-title")},e.title),f.createElement("div",{className:"".concat(j,"-content")},e.content)),f.createElement("div",{className:"".concat(j,"-btns")},B,f.createElement(v.Z,{type:M,actionFn:r,close:o,autoFocus:"ok"===z,buttonProps:w,prefixCls:"".concat(k,"-btn")},b)))))},O=[],P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},R="";function A(e){var t,n=document.createDocumentFragment(),r=(0,i.Z)((0,i.Z)({},e),{close:c,open:!0});function a(){for(var t=arguments.length,r=Array(t),i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},u=function(e){var t=e.title,n=e.content,r=e.prefixCls;return t||n?o.createElement(o.Fragment,null,t&&o.createElement("div",{className:"".concat(r,"-title")},(0,l.Z)(t)),o.createElement("div",{className:"".concat(r,"-inner-content")},(0,l.Z)(n))):null},f=o.forwardRef(function(e,t){var n=e.prefixCls,l=e.title,f=e.content,d=e._overlay,p=e.placement,h=e.trigger,m=e.mouseEnterDelay,v=e.mouseLeaveDelay,g=e.overlayStyle,y=s(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),b=o.useContext(i.E_).getPrefixCls,w=b("popover",n),x=b();return o.createElement(a.Z,(0,r.Z)({placement:void 0===p?"top":p,trigger:void 0===h?"hover":h,mouseEnterDelay:void 0===m?.1:m,mouseLeaveDelay:void 0===v?.1:v,overlayStyle:void 0===g?{}:g},y,{prefixCls:w,ref:t,overlay:d||o.createElement(u,{prefixCls:w,title:l,content:f}),transitionName:(0,c.mL)(x,"zoom-big",y.transitionName)}))});t.Z=f},4173:function(e,t,n){"use strict";n.d(t,{BR:function(){return p},ri:function(){return d}});var r=n(87462),o=n(4942),i=n(94184),a=n.n(i),l=n(50344),c=n(67294),s=n(53124),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},f=c.createContext(null),d=function(e,t){var n=c.useContext(f),r=c.useMemo(function(){if(!n)return"";var r,i=n.compactDirection,l=n.isFirstItem,c=n.isLastItem,s="vertical"===i?"-vertical-":"-";return a()((r={},(0,o.Z)(r,"".concat(e,"-compact").concat(s,"item"),!0),(0,o.Z)(r,"".concat(e,"-compact").concat(s,"first-item"),l),(0,o.Z)(r,"".concat(e,"-compact").concat(s,"last-item"),c),(0,o.Z)(r,"".concat(e,"-compact").concat(s,"item-rtl"),"rtl"===t),r))},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},p=function(e){var t=e.children;return c.createElement(f.Provider,{value:null},t)},h=function(e){var t=e.children,n=u(e,["children"]);return c.createElement(f.Provider,{value:n},t)};t.ZP=function(e){var t,n=c.useContext(s.E_),i=n.getPrefixCls,d=n.direction,p=e.size,m=void 0===p?"middle":p,v=e.direction,g=e.block,y=e.prefixCls,b=e.className,w=e.children,x=u(e,["size","direction","block","prefixCls","className","children"]),E=i("space-compact",y),C=a()(E,(t={},(0,o.Z)(t,"".concat(E,"-rtl"),"rtl"===d),(0,o.Z)(t,"".concat(E,"-block"),g),(0,o.Z)(t,"".concat(E,"-vertical"),"vertical"===v),t),b),Z=c.useContext(f),S=(0,l.Z)(w),k=c.useMemo(function(){return S.map(function(e,t){var n=e&&e.key||"".concat(E,"-item-").concat(t);return c.createElement(h,{key:n,compactSize:m,compactDirection:v,isFirstItem:0===t&&(!Z||(null==Z?void 0:Z.isFirstItem)),isLastItem:t===S.length-1&&(!Z||(null==Z?void 0:Z.isLastItem))},e)})},[m,S,Z]);return 0===S.length?null:c.createElement("div",(0,r.Z)({className:C},x),k)}},26713:function(e,t,n){"use strict";n.d(t,{u:function(){return m},Z:function(){return y}});var r=n(87462),o=n(4942),i=n(97685),a=n(94184),l=n.n(a),c=n(50344),s=n(67294),u=n(53124),f=n(98082);function d(e){var t=e.className,n=e.direction,i=e.index,a=e.marginDirection,l=e.children,c=e.split,u=e.wrap,f=s.useContext(m),d=f.horizontalSize,p=f.verticalSize,h=f.latestIndex,v=f.supportFlexGap,g={};return(!v&&("vertical"===n?it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},m=s.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),v={small:8,middle:16,large:24},g=function(e){var t,n=s.useContext(u.E_),a=n.getPrefixCls,p=n.space,g=n.direction,y=e.size,b=void 0===y?(null==p?void 0:p.size)||"small":y,w=e.align,x=e.className,E=e.children,C=e.direction,Z=void 0===C?"horizontal":C,S=e.prefixCls,k=e.split,N=e.style,_=e.wrap,T=void 0!==_&&_,O=h(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),P=(0,f.Z)(),R=s.useMemo(function(){return(Array.isArray(b)?b:[b,b]).map(function(e){return"string"==typeof e?v[e]:e||0})},[b]),A=(0,i.Z)(R,2),M=A[0],j=A[1],L=(0,c.Z)(E,{keepEmpty:!0}),F=void 0===w&&"horizontal"===Z?"center":w,I=a("space",S),V=l()(I,"".concat(I,"-").concat(Z),(t={},(0,o.Z)(t,"".concat(I,"-rtl"),"rtl"===g),(0,o.Z)(t,"".concat(I,"-align-").concat(F),F),t),x),D="".concat(I,"-item"),z="rtl"===g?"marginLeft":"marginRight",U=0,B=L.map(function(e,t){null!=e&&(U=t);var n=e&&e.key||"".concat(D,"-").concat(t);return s.createElement(d,{className:D,key:n,direction:Z,index:t,marginDirection:z,split:k,wrap:T},e)}),H=s.useMemo(function(){return{horizontalSize:M,verticalSize:j,latestIndex:U,supportFlexGap:P}},[M,j,U,P]);if(0===L.length)return null;var W={};return T&&(W.flexWrap="wrap",P||(W.marginBottom=-j)),P&&(W.columnGap=M,W.rowGap=j),s.createElement("div",(0,r.Z)({className:V,style:(0,r.Z)((0,r.Z)({},W),N)},O),s.createElement(m.Provider,{value:H},B))};g.Compact=p.ZP;var y=g},94199:function(e,t,n){"use strict";var r=n(4942),o=n(97685),i=n(87462),a=n(94184),l=n.n(a),c=n(43763),s=n(21770),u=n(67294),f=n(53124),d=n(98787),p=n(33603),h=n(80636),m=n(96159),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},g=function(e,t){var n={},r=(0,i.Z)({},e);return t.forEach(function(t){e&&t in e&&(n[t]=e[t],delete r[t])}),{picked:n,omitted:r}},y=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),b=u.forwardRef(function(e,t){var n,a,d,b=u.useContext(f.E_),w=b.getPopupContainer,x=b.getPrefixCls,E=b.direction,C=(0,s.Z)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),Z=(0,o.Z)(C,2),S=Z[0],k=Z[1],N=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},_=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||(0,h.Z)({arrowPointAtCenter:void 0!==n&&n,autoAdjustOverflow:void 0===r||r})},T=e.getPopupContainer,O=e.placement,P=e.mouseEnterDelay,R=e.mouseLeaveDelay,A=v(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay"]),M=e.prefixCls,j=e.openClassName,L=e.getTooltipContainer,F=e.overlayClassName,I=e.color,V=e.overlayInnerStyle,D=e.children,z=x("tooltip",M),U=x(),B=S;!("open"in e)&&!("visible"in e)&&N()&&(B=!1);var H=function(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){var r=g(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=r.picked,a=r.omitted,c=(0,i.Z)((0,i.Z)({display:"inline-block"},o),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),s=(0,i.Z)((0,i.Z)({},a),{pointerEvents:"none"}),f=(0,m.Tm)(e,{style:s,className:null});return u.createElement("span",{style:c,className:l()(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},f)}return e}((0,m.l$)(D)&&!(0,m.M2)(D)?D:u.createElement("span",null,D),z),W=H.props,q=W.className&&"string"!=typeof W.className?W.className:l()(W.className,(0,r.Z)({},j||"".concat(z,"-open"),!0)),$=l()(F,(d={},(0,r.Z)(d,"".concat(z,"-rtl"),"rtl"===E),(0,r.Z)(d,"".concat(z,"-").concat(I),I&&y.test(I)),d)),K=V,G={};return I&&!y.test(I)&&(K=(0,i.Z)((0,i.Z)({},V),{background:I}),G={"--antd-arrow-background-color":I}),u.createElement(c.default,(0,i.Z)({},A,{placement:void 0===O?"top":O,mouseEnterDelay:void 0===P?.1:P,mouseLeaveDelay:void 0===R?.1:R,prefixCls:z,overlayClassName:$,getTooltipContainer:T||L||w,ref:t,builtinPlacements:_(),overlay:(n=e.title,a=e.overlay,0===n?n:a||n||""),visible:B,onVisibleChange:function(t){var n,r;k(!N()&&t),N()||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},onPopupAlign:function(e,t){var n=_(),r=Object.keys(n).find(function(e){var r,o;return n[e].points[0]===(null===(r=t.points)||void 0===r?void 0:r[0])&&n[e].points[1]===(null===(o=t.points)||void 0===o?void 0:o[1])});if(r){var o=e.getBoundingClientRect(),i={top:"50%",left:"50%"};/top|Bottom/.test(r)?i.top="".concat(o.height-t.offset[1],"px"):/Top|bottom/.test(r)&&(i.top="".concat(-t.offset[1],"px")),/left|Right/.test(r)?i.left="".concat(o.width-t.offset[0],"px"):/right|Left/.test(r)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayInnerStyle:K,arrowContent:u.createElement("span",{className:"".concat(z,"-arrow-content"),style:G}),motion:{motionName:(0,p.mL)(U,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),B?(0,m.Tm)(H,{className:q}):H)});t.Z=b},84485:function(e,t,n){"use strict";n.d(t,{Z:function(){return ei}});var r=n(87462),o=n(67294),i=n(4942),a=n(71002),l=n(97685),c=n(63606),s=n(57132),u=n(86548),f=n(94184),d=n.n(f),p=n(20640),h=n.n(p),m=n(48555),v=n(50344),g=n(8410),y=n(21770),b=n(98423),w=n(42550),x=n(53124),E=n(23715),C=n(15105),Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},S={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},k=o.forwardRef(function(e,t){var n=e.style,i=e.noStyle,a=e.disabled,l=Z(e,["style","noStyle","disabled"]),c={};return i||(c=(0,r.Z)({},S)),a&&(c.pointerEvents="none"),c=(0,r.Z)((0,r.Z)({},c),n),o.createElement("div",(0,r.Z)({role:"button",tabIndex:0,ref:t},l,{onKeyDown:function(e){e.keyCode===C.Z.ENTER&&e.preventDefault()},onKeyUp:function(t){var n=t.keyCode,r=e.onClick;n===C.Z.ENTER&&r&&r()},style:c}))}),N=n(79370),_=n(94199),T=n(1413),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},P=n(42135),R=function(e,t){return o.createElement(P.Z,(0,T.Z)((0,T.Z)({},e),{},{ref:t,icon:O}))};R.displayName="EnterOutlined";var A=o.forwardRef(R),M=n(80173),j=n(96159),L=function(e){var t=e.prefixCls,n=e["aria-label"],r=e.className,a=e.style,c=e.direction,s=e.maxLength,u=e.autoSize,f=e.value,p=e.onSave,h=e.onCancel,m=e.onEnd,v=e.component,g=e.enterIcon,y=void 0===g?o.createElement(A,null):g,b=o.useRef(null),w=o.useRef(!1),x=o.useRef(),E=o.useState(f),Z=(0,l.Z)(E,2),S=Z[0],k=Z[1];o.useEffect(function(){k(f)},[f]),o.useEffect(function(){if(b.current&&b.current.resizableTextArea){var e=b.current.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}},[]);var N=function(){p(S.trim())},_=v?"".concat(t,"-").concat(v):"",T=d()(t,"".concat(t,"-edit-content"),(0,i.Z)({},"".concat(t,"-rtl"),"rtl"===c),r,_);return o.createElement("div",{className:T,style:a},o.createElement(M.Z,{ref:b,maxLength:s,value:S,onChange:function(e){k(e.target.value.replace(/[\n\r]/g,""))},onKeyDown:function(e){var t=e.keyCode;w.current||(x.current=t)},onKeyUp:function(e){var t=e.keyCode,n=e.ctrlKey,r=e.altKey,o=e.metaKey,i=e.shiftKey;x.current!==t||w.current||n||r||o||i||(t===C.Z.ENTER?(N(),null==m||m()):t===C.Z.ESC&&h())},onCompositionStart:function(){w.current=!0},onCompositionEnd:function(){w.current=!1},onBlur:function(){N()},"aria-label":n,rows:1,autoSize:void 0===u||u}),null!==y?(0,j.Tm)(y,{className:"".concat(t,"-edit-content-confirm")}):null)};function F(e,t){return o.useMemo(function(){var n=!!e;return[n,(0,r.Z)((0,r.Z)({},t),n&&"object"===(0,a.Z)(e)?e:null)]},[e])}var I=function(e,t){var n=o.useRef(!1);o.useEffect(function(){n.current?e():n.current=!0},t)},V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},D=o.forwardRef(function(e,t){var n=e.prefixCls,a=e.component,l=e.className,c=e.setContentRef,s=e.children,u=e.direction,f=V(e,["prefixCls","component","className","setContentRef","children","direction"]),p=o.useContext(x.E_),h=p.getPrefixCls,m=p.direction,v=t;c&&(v=(0,w.sQ)(t,c));var g=h("typography",n),y=d()(g,(0,i.Z)({},"".concat(g,"-rtl"),"rtl"===(null!=u?u:m)),l);return o.createElement(void 0===a?"article":a,(0,r.Z)({className:y,ref:v},f),s)});function z(e){var t=(0,a.Z)(e);return"string"===t||"number"===t}function U(e,t){for(var n=0,r=[],o=0;ot){var l=t-n;return r.push(String(i).slice(0,l)),r}r.push(i),n=a}return e}var B=function(e){var t=e.enabledMeasure,n=e.children,i=e.text,a=e.width,c=e.fontSize,s=e.rows,u=e.onEllipsis,f=o.useState([0,0,0]),d=(0,l.Z)(f,2),p=(0,l.Z)(d[0],3),h=p[0],m=p[1],y=p[2],b=d[1],w=o.useState(0),x=(0,l.Z)(w,2),E=x[0],C=x[1],Z=o.useState(0),S=(0,l.Z)(Z,2),k=S[0],N=S[1],_=o.useRef(null),T=o.useRef(null),O=o.useMemo(function(){return(0,v.Z)(i)},[i]),P=o.useMemo(function(){var e;return e=0,O.forEach(function(t){z(t)?e+=String(t).length:e+=1}),e},[O]),R=o.useMemo(function(){return t&&3===E?n(U(O,m),mt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function q(e,t,n){return!0===e||void 0===e?t:e||n&&t}function $(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}var K=o.forwardRef(function(e,t){var n,f,p,C=e.prefixCls,Z=e.className,S=e.style,T=e.type,O=e.disabled,P=e.children,R=e.ellipsis,A=e.editable,M=e.copyable,j=e.component,V=e.title,z=W(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),U=o.useContext(x.E_),K=U.getPrefixCls,G=U.direction,Y=(0,E.E)("Text")[0],X=o.useRef(null),Q=o.useRef(null),J=K("typography",C),ee=(0,b.Z)(z,["mark","code","delete","underline","strong","keyboard","italic"]),et=F(A),en=(0,l.Z)(et,2),er=en[0],eo=en[1],ei=(0,y.Z)(!1,{value:eo.editing}),ea=(0,l.Z)(ei,2),el=ea[0],ec=ea[1],es=eo.triggerType,eu=void 0===es?["icon"]:es,ef=function(e){var t;e&&(null===(t=eo.onStart)||void 0===t||t.call(eo)),ec(e)};I(function(){var e;el||null===(e=Q.current)||void 0===e||e.focus()},[el]);var ed=function(e){null==e||e.preventDefault(),ef(!0)},ep=F(M),eh=(0,l.Z)(ep,2),em=eh[0],ev=eh[1],eg=o.useState(!1),ey=(0,l.Z)(eg,2),eb=ey[0],ew=ey[1],ex=o.useRef(),eE={};ev.format&&(eE.format=ev.format);var eC=function(){window.clearTimeout(ex.current)},eZ=function(e){var t;null==e||e.preventDefault(),null==e||e.stopPropagation(),h()(ev.text||String(P)||"",eE),ew(!0),eC(),ex.current=window.setTimeout(function(){ew(!1)},3e3),null===(t=ev.onCopy)||void 0===t||t.call(ev,e)};o.useEffect(function(){return eC},[]);var eS=o.useState(!1),ek=(0,l.Z)(eS,2),eN=ek[0],e_=ek[1],eT=o.useState(!1),eO=(0,l.Z)(eT,2),eP=eO[0],eR=eO[1],eA=o.useState(!1),eM=(0,l.Z)(eA,2),ej=eM[0],eL=eM[1],eF=o.useState(!1),eI=(0,l.Z)(eF,2),eV=eI[0],eD=eI[1],ez=o.useState(!1),eU=(0,l.Z)(ez,2),eB=eU[0],eH=eU[1],eW=o.useState(!0),eq=(0,l.Z)(eW,2),e$=eq[0],eK=eq[1],eG=F(R,{expandable:!1}),eY=(0,l.Z)(eG,2),eX=eY[0],eQ=eY[1],eJ=eX&&!ej,e0=eQ.rows,e1=void 0===e0?1:e0,e2=o.useMemo(function(){return!eJ||void 0!==eQ.suffix||eQ.onEllipsis||eQ.expandable||er||em},[eJ,eQ,er,em]);(0,g.Z)(function(){eX&&!e2&&(e_((0,N.G)("webkitLineClamp")),eR((0,N.G)("textOverflow")))},[e2,eX]);var e4=o.useMemo(function(){return!e2&&(1===e1?eP:eN)},[e2,eP,eN]),e5=eJ&&(e4?eB:eV),e6=eJ&&1===e1&&e4,e3=eJ&&e1>1&&e4,e8=function(e){var t;eL(!0),null===(t=eQ.onExpand)||void 0===t||t.call(eQ,e)},e7=o.useState(0),e9=(0,l.Z)(e7,2),te=e9[0],tt=e9[1],tn=o.useState(0),tr=(0,l.Z)(tn,2),to=tr[0],ti=tr[1],ta=function(e){var t;eD(e),eV!==e&&(null===(t=eQ.onEllipsis)||void 0===t||t.call(eQ,e))};o.useEffect(function(){var e=X.current;if(eX&&e4&&e){var t=e3?e.offsetHeightt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Y=o.forwardRef(function(e,t){var n=e.ellipsis,i=e.rel,a=G(e,["ellipsis","rel"]),l=(0,r.Z)((0,r.Z)({},a),{rel:void 0===i&&"_blank"===a.target?"noopener noreferrer":i});return delete l.navigate,o.createElement(K,(0,r.Z)({},l,{ref:t,ellipsis:!!n,component:"a"}))}),X=o.forwardRef(function(e,t){return o.createElement(K,(0,r.Z)({ref:t},e,{component:"div"}))}),Q=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},J=o.forwardRef(function(e,t){var n=e.ellipsis,i=Q(e,["ellipsis"]),l=o.useMemo(function(){return n&&"object"===(0,a.Z)(n)?(0,b.Z)(n,["expandable","rows"]):n},[n]);return o.createElement(K,(0,r.Z)({ref:t},i,{ellipsis:l,component:"span"}))}),ee=n(93355),et=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},en=(0,ee.a)(1,2,3,4,5),er=o.forwardRef(function(e,t){var n,i=e.level,a=void 0===i?1:i,l=et(e,["level"]);return n=en.includes(a)?"h".concat(a):"h1",o.createElement(K,(0,r.Z)({ref:t},l,{component:n}))}),eo=D;eo.Text=J,eo.Link=Y,eo.Title=er,eo.Paragraph=X;var ei=eo},94184:function(e,t){var n; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/ !function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},93645:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function o(e){return e?r[e]:r.trunc}},59910:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){return(0,o.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(t).getTime()}},11699:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59910),o=n(13882),i=n(93645);function a(e,t,n){(0,o.Z)(2,arguments);var a=(0,r.Z)(e,t)/1e3;return(0,i.u)(null==n?void 0:n.roundingMethod)(a)}},19013:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13882);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){(0,r.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===o(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),o=n(80401),i=n(57667),a=n(21327),l=n(81866);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tu))return!1;var d=c.get(e),p=c.get(t);if(d&&p)return d==t&&p==e;var h=-1,m=!0,v=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h-1&&e%1==0&&e-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:function(e,t,n){var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,l=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=l},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(r){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35694:function(e,t,n){var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=c},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,l=a&&a.exports===i?r.Buffer:void 0,c=l?l.isBuffer:void 0;e.exports=c||o},18446:function(e,t,n){var r=n(90939);e.exports=function(e,t){return r(e,t)}},23560:function(e,t,n){var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},36719:function(e,t,n){var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,l=a?o(a):r;e.exports=l},3674:function(e,t,n){var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(12295)}])},50738:function(e,t,n){"use strict";n.d(t,{C:function(){return c}});var r=n(85893);n(67294);var o=n(94184),i=n.n(o),a=n(29403),l=n.n(a);let c=e=>{let{variant:t="simple"}=e,n=i()(l().root,{[l().simple]:"simple"===t,[l().contrast]:"contrast"===t});return(0,r.jsx)("div",{className:n,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95.68623352050781 104.46271514892578",className:"logo-svg",children:(0,r.jsx)("g",{transform:"matrix(1 0 0 1 -37.08803939819336 -18.940391540527344)",children:(0,r.jsx)("g",{children:(0,r.jsxs)("g",{children:[(0,r.jsx)("g",{children:(0,r.jsxs)("g",{transform:"matrix(1.0445680396949917 0 0 1.0445679172996596 36.34559138380523 18.877718021903796)",children:[(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient120",gradientTransform:"rotate(-90 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#1f2022",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#635e69",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient120)",d:"M91.5 75.35Q93.05 71.15 91.65 67.7 90.35 64.5 86.65 62.3 83.2 60.3 78.3 59.4 73.85 58.6 68.6 58.7 63.55 58.85 58.8 59.8 54.25 60.75 50.8 62.2 47.4 63.65 45.5 65.35 43.6 67.15 43.5 69.05 43.35 71.3 45.8 73.9 48.05 76.3 52.1 78.6 56.15 80.9 61.05 82.55 66.3 84.3 71.4 84.8 74.7 85.1 77.55 84.9 80.65 84.6 83.3 83.6 86.15 82.5 88.15 80.55 90.4 78.4 91.5 75.35M70.6 67.5Q72.3 68.4 73.1 69.7 73.9 71.15 73.45 73 73.1 74.3 72.3 75.25 71.55 76.1 70.3 76.6 69.25 77.05 67.75 77.25 66.3 77.4 64.85 77.3 62.3 77.15 59.25 76.3 56.6 75.5 54.15 74.3 51.9 73.2 50.45 72 49.05 70.75 49.1 69.8 49.2 69 50.25 68.25 51.3 67.55 53.15 67 55 66.4 57.25 66.1 59.8 65.8 62.1 65.8 64.65 65.85 66.7 66.2 68.9 66.65 70.6 67.5Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient121",gradientTransform:"rotate(-180 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#2087e2",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#b63fff",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient121)",d:"M66.6 15.05Q66.4 9.65 63.9 6.05 61.25 2.1 56.1 0.65 54.95 0.3 53.65 0.15 52.5 0 51.3 0.1 50.2 0.1 49.1 0.35 48.15 0.55 47 1 43.3 2.45 40.3 6.1 37.5 9.4 35.5 14.3 33.75 18.45 32.7 23.4 31.7 28.05 31.35 32.85 31.05 37.2 31.3 41.2 31.6 45.15 32.4 48.35 34 54.9 37.3 56.4 37.6 56.55 37.9 56.65L39.2 56.85Q39.45 56.85 39.95 56.8 42.05 56.6 44.7 55.05 47.25 53.5 50.05 50.8 53.05 47.9 55.85 44.05 58.8 40.05 61.1 35.6 63.8 30.35 65.25 25.3 66.75 19.75 66.6 15.05M47.55 23.15Q48.05 23.25 48.4 23.4 52.45 24.8 52.55 29.85 52.6 34 50 39.4 47.85 43.9 44.85 47.3 42.05 50.5 40.15 50.7L39.9 50.75 39.45 50.7 39.2 50.6Q37.8 49.95 37.25 46.35 36.7 42.7 37.3 38 37.95 32.75 39.75 28.8 41.9 24.1 45.05 23.25 45.6 23.1 45.85 23.1 46.25 23.05 46.65 23.05 47.05 23.05 47.55 23.15Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient122",gradientTransform:"rotate(-90 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#100f0f",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient122)",d:"M2.7 33.6Q2.1 34.4 1.7 35.35 1.25 36.5 1.05 37.7 0 42.6 2.2 47.2 4 51 8 54.35 11.55 57.3 16 59.15 20.5 61 23.85 60.85 24.5 60.85 25.25 60.7 26 60.55 26.5 60.3 27 60.05 27.45 59.65 27.9 59.25 28.15 58.75 29.35 56.45 27.5 51.65 25.6 47 21.75 42.1 17.75 37 13.4 34.05 8.7 30.9 5.45 31.7 4.65 31.9 3.95 32.4 3.25 32.85 2.7 33.6M10.1 43.55Q10.35 43.1 10.6 42.85 10.85 42.6 11.2 42.4 11.6 42.25 11.9 42.2 13.5 41.9 15.95 43.6 18.15 45.05 20.35 47.7 22.35 50.1 23.55 52.4 24.7 54.75 24.25 55.7 24.15 55.9 24 56 23.85 56.2 23.65 56.25 23.55 56.35 23.25 56.4L22.7 56.5Q21.1 56.6 18.55 55.6 16.05 54.6 13.85 52.95 11.5 51.2 10.35 49.15 9.05 46.8 9.75 44.45 9.9 43.95 10.1 43.55Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient123",gradientTransform:"rotate(-180 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#222020",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient123)",d:"M34.95 74.2L34.75 74.2Q33.2 74.15 31.9 75.25 30.7 76.3 29.85 78.25 29.1 80 28.8 82.2 28.5 84.4 28.7 86.65 29.1 91.4 31.5 94.7 34.3 98.5 39.3 99.7L39.4 99.7 39.7 99.8 39.85 99.8Q45.3 100.85 47.15 97.75 48 96.3 48 94.05 47.95 91.9 47.2 89.35 46.45 86.75 45.1 84.15 43.75 81.5 42.05 79.35 40.25 77.1 38.45 75.75 36.55 74.35 34.95 74.2M33.55 80.4Q34.35 78.2 35.6 78.3L35.65 78.3Q36.9 78.45 38.6 80.9 40.3 83.35 41.15 86.05 42.1 89 41.55 90.75 40.9 92.6 38.35 92.25L38.3 92.25 38.25 92.2 38.1 92.2Q35.6 91.7 34.25 89.6 33.1 87.7 32.95 85 32.8 82.35 33.55 80.4Z"})]}),(0,r.jsxs)("g",{transform:"matrix(0.9999999999999999 0 0 1 0 5.684341886080802e-14)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient124",gradientTransform:"rotate(-180 .5 .5)",children:[" ",(0,r.jsx)("stop",{offset:"0",stopColor:"#1e1c1c",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient124)",d:"M22.7 69.65Q22.25 69.3 21.6 69.05 20.95 68.8 20.25 68.7 19.6 68.55 18.85 68.5 16.7 68.45 14.65 69.15 12.65 69.8 11.4 71.1 10.15 72.5 10.2 74.2 10.25 76.05 11.95 78.2 12.4 78.75 13.05 79.4 13.55 79.9 14.2 80.3 14.7 80.6 15.3 80.85 16 81.1 16.4 81.1 18.2 81.35 19.9 80.35 21.55 79.4 22.75 77.65 24 75.85 24.3 73.95 24.6 71.85 23.55 70.5 23.15 70 22.7 69.65M21.7 71.7Q22.15 72.3 21.9 73.3 21.7 74.25 21 75.25 20.3 76.2 19.4 76.75 18.45 77.35 17.55 77.25L17 77.15Q16.7 77.05 16.45 76.85 16.25 76.75 15.9 76.45 15.7 76.25 15.4 75.9 14.5 74.75 14.7 73.8 14.8 72.95 15.75 72.3 16.6 71.7 17.8 71.4 19 71.1 20.1 71.15L20.65 71.2 21.1 71.3Q21.3 71.4 21.45 71.5L21.7 71.7Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient125",gradientTransform:"rotate(-360 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,r.jsx)("path",{fill:"url(#gradient125)",d:"M52.6 19.25Q59.6 19.25 66.2 20.95 66.7 17.8 66.6 15.05 66.4 9.65 63.9 6.05 61.25 2.1 56.1 0.65 54.95 0.3 53.65 0.15 52.5 0 51.3 0.1 50.2 0.1 49.1 0.35 48.15 0.55 47 1 43.3 2.45 40.3 6.1 37.5 9.4 35.5 14.3 33.85 18.3 32.8 22.85 42.25 19.25 52.6 19.25Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient126",gradientTransform:"rotate(-360 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,r.jsx)("path",{fill:"url(#gradient126)",d:"M1.05 37.7Q0 42.6 2.2 47.2 2.95 48.8 4.05 50.25 7.55 41.65 14.4 34.75 14 34.45 13.4 34.05 8.7 30.9 5.45 31.7 4.65 31.9 3.95 32.4 3.25 32.85 2.7 33.6 2.1 34.4 1.7 35.35 1.25 36.5 1.05 37.7Z"})]})]})}),(0,r.jsx)("g",{transform:"matrix(1.219512230276127 0 0 1.2195122143630526 32.82519274395008 88.56945194723018)",children:(0,r.jsx)("path",{fill:"#000000",fillOpacity:"1",d:""})})]})})})})})}},39664:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(85893);n(67294);var o=n(94184),i=n.n(o);let a=e=>{let{status:t}=e,{type:n,icon:o,message:a}=t||{},l=i()({"status-container":!0,["status-".concat(n)]:n,empty:!a});return(0,r.jsxs)("span",{className:l,children:[o?(0,r.jsx)("span",{className:"status-icon",children:o}):null,a?(0,r.jsx)("span",{className:"status-message",children:a}):null]})}},40117:function(e,t,n){"use strict";n.d(t,{mG:function(){return en},A8:function(){return et},Kx:function(){return ee},Sk:function(){return er},xA:function(){return eo},nv:function(){return ei}});var r=n(85893),o=n(67294),i=n(94184),a=n.n(i),l=n(69677),c=n(87462),s=n(4942),u=n(71002),f=n(97685),d=n(80882),p=n(1413),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},m=n(42135),v=function(e,t){return o.createElement(m.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:h}))};v.displayName="UpOutlined";var g=o.forwardRef(v),y=n(45987),b=n(15105),w=n(8410),x=n(42550),E=n(15671),C=n(43144);function Z(){return"function"==typeof BigInt}function S(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),i=o[0]||"0",a=o[1]||"0";"0"===i&&"0"===a&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:i,decimalStr:a,fullStr:"".concat(l).concat(r)}}function k(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function N(e){var t=String(e);if(k(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return(null==r?void 0:r[1])&&(n+=r[1].length),n}return t.includes(".")&&T(t)?t.length-t.indexOf(".")-1:0}function _(e){var t=String(e);if(k(e)){if(e>Number.MAX_SAFE_INTEGER)return String(Z()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":_(this.number):this.origin}}]),e}(),R=function(){function e(t){if((0,E.Z)(this,e),this.origin="",this.negative=void 0,this.integer=void 0,this.decimal=void 0,this.decimalLen=void 0,this.empty=void 0,this.nan=void 0,!t&&0!==t||!String(t).trim()){this.empty=!0;return}if(this.origin=String(t),"-"===t){this.nan=!0;return}var n=t;if(k(n)&&(n=Number(n)),T(n="string"==typeof n?n:_(n))){var r=S(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var i=o[1]||"0";this.decimal=BigInt(i),this.decimalLen=i.length}else this.nan=!0}return(0,C.Z)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){return BigInt("".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0")))}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);if(n.isInvalidate())return this;var r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),o=S((this.alignDecimal(r)+n.alignDecimal(r)).toString()),i=o.negativeStr,a=o.trimStr,l="".concat(i).concat(a.padStart(r+1,"0"));return new e("".concat(l.slice(0,-r),".").concat(l.slice(-r)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return 0>=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":S("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function A(e){return Z()?new R(e):new P(e)}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=S(e),i=o.negativeStr,a=o.integerStr,l=o.decimalStr,c="".concat(t).concat(l),s="".concat(i).concat(a);if(n>=0){var u=Number(l[n]);return u>=5&&!r?M(A(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,r):0===n?s:"".concat(s).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return".0"===c?s:"".concat(s).concat(c)}var j=n(31131);function L(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,i=e.upDisabled,l=e.downDisabled,u=e.onStep,f=o.useRef(),d=o.useRef();d.current=u;var p=function(e,t){e.preventDefault(),d.current(t),f.current=setTimeout(function e(){d.current(t),f.current=setTimeout(e,200)},600)},h=function(){clearTimeout(f.current)};if(o.useEffect(function(){return h},[]),(0,j.Z)())return null;var m="".concat(t,"-handler"),v=a()(m,"".concat(m,"-up"),(0,s.Z)({},"".concat(m,"-up-disabled"),i)),g=a()(m,"".concat(m,"-down"),(0,s.Z)({},"".concat(m,"-down-disabled"),l)),y={unselectable:"on",role:"button",onMouseUp:h,onMouseLeave:h};return o.createElement("div",{className:"".concat(m,"-wrap")},o.createElement("span",(0,c.Z)({},y,{onMouseDown:function(e){p(e,!0)},"aria-label":"Increase Value","aria-disabled":i,className:v}),n||o.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),o.createElement("span",(0,c.Z)({},y,{onMouseDown:function(e){p(e,!1)},"aria-label":"Decrease Value","aria-disabled":l,className:g}),r||o.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}var F=n(80334),I=n(75164),V=function(){var e=(0,o.useRef)(0),t=function(){I.Z.cancel(e.current)};return(0,o.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,I.Z)(function(){n()})}},D=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],z=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},U=function(e){var t=A(e);return t.isInvalidate()?null:t},B=o.forwardRef(function(e,t){var n,r,i,l=e.prefixCls,d=void 0===l?"rc-input-number":l,p=e.className,h=e.style,m=e.min,v=e.max,g=e.step,E=void 0===g?1:g,C=e.defaultValue,Z=e.value,S=e.disabled,k=e.readOnly,P=e.upHandler,R=e.downHandler,j=e.keyboard,I=e.controls,B=e.stringMode,H=e.parser,W=e.formatter,q=e.precision,$=e.decimalSeparator,K=e.onChange,G=e.onInput,Y=e.onPressEnter,X=e.onStep,Q=(0,y.Z)(e,D),J="".concat(d,"-input"),ee=o.useRef(null),et=o.useState(!1),en=(0,f.Z)(et,2),er=en[0],eo=en[1],ei=o.useRef(!1),ea=o.useRef(!1),el=o.useRef(!1),ec=o.useState(function(){return A(null!=Z?Z:C)}),es=(0,f.Z)(ec,2),eu=es[0],ef=es[1],ed=o.useCallback(function(e,t){return t?void 0:q>=0?q:Math.max(N(e),N(E))},[q,E]),ep=o.useCallback(function(e){var t=String(e);if(H)return H(t);var n=t;return $&&(n=n.replace($,".")),n.replace(/[^\w.-]+/g,"")},[H,$]),eh=o.useRef(""),em=o.useCallback(function(e,t){if(W)return W(e,{userTyping:t,input:String(eh.current)});var n="number"==typeof e?_(e):e;if(!t){var r=ed(n,t);T(n)&&($||r>=0)&&(n=M(n,$||".",r))}return n},[W,ed,$]),ev=o.useState(function(){var e=null!=C?C:Z;return eu.isInvalidate()&&["string","number"].includes((0,u.Z)(e))?Number.isNaN(e)?"":e:em(eu.toString(),!1)}),eg=(0,f.Z)(ev,2),ey=eg[0],eb=eg[1];function ew(e,t){eb(em(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}eh.current=ey;var ex=o.useMemo(function(){return U(v)},[v,q]),eE=o.useMemo(function(){return U(m)},[m,q]),eC=o.useMemo(function(){return!(!ex||!eu||eu.isInvalidate())&&ex.lessEquals(eu)},[ex,eu]),eZ=o.useMemo(function(){return!(!eE||!eu||eu.isInvalidate())&&eu.lessEquals(eE)},[eE,eu]),eS=(n=ee.current,r=(0,o.useRef)(null),[function(){try{var e=n.selectionStart,t=n.selectionEnd,o=n.value,i=o.substring(0,e),a=o.substring(t);r.current={start:e,end:t,value:o,beforeTxt:i,afterTxt:a}}catch(l){}},function(){if(n&&r.current&&er)try{var e=n.value,t=r.current,o=t.beforeTxt,i=t.afterTxt,a=t.start,l=e.length;if(e.endsWith(i))l=e.length-r.current.afterTxt.length;else if(e.startsWith(o))l=o.length;else{var c=o[a-1],s=e.indexOf(c,a-1);-1!==s&&(l=s+1)}n.setSelectionRange(l,l)}catch(u){(0,F.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(u.message))}}]),ek=(0,f.Z)(eS,2),eN=ek[0],e_=ek[1],eT=function(e){return ex&&!e.lessEquals(ex)?ex:eE&&!eE.lessEquals(e)?eE:null},eO=function(e){return!eT(e)},eP=function(e,t){var n=e,r=eO(n)||n.isEmpty();if(n.isEmpty()||t||(n=eT(n)||n,r=!0),!k&&!S&&r){var o,i=n.toString(),a=ed(i,t);return a>=0&&!eO(n=A(M(i,".",a)))&&(n=A(M(i,".",a,!0))),n.equals(eu)||(o=n,void 0===Z&&ef(o),null==K||K(n.isEmpty()?null:z(B,n)),void 0===Z&&ew(n,t)),n}return eu},eR=V(),eA=function e(t){if(eN(),eb(t),!ea.current){var n=A(ep(t));n.isNaN()||eP(n,!0)}null==G||G(t),eR(function(){var n=t;H||(n=t.replace(/。/g,".")),n!==t&&e(n)})},eM=function(e){if((!e||!eC)&&(e||!eZ)){ei.current=!1;var t,n=A(el.current?O(E):E);e||(n=n.negate());var r=eP((eu||A(0)).add(n.toString()),!1);null==X||X(z(B,r),{offset:el.current?O(E):E,type:e?"up":"down"}),null===(t=ee.current)||void 0===t||t.focus()}},ej=function(e){var t=A(ep(ey)),n=t;n=t.isNaN()?eu:eP(t,e),void 0!==Z?ew(eu,!1):n.isNaN()||ew(n,!1)};return(0,w.o)(function(){eu.isInvalidate()||ew(eu,!1)},[q]),(0,w.o)(function(){var e=A(Z);ef(e);var t=A(ep(ey));e.equals(t)&&ei.current&&!W||ew(e,ei.current)},[Z]),(0,w.o)(function(){W&&e_()},[ey]),o.createElement("div",{className:a()(d,p,(i={},(0,s.Z)(i,"".concat(d,"-focused"),er),(0,s.Z)(i,"".concat(d,"-disabled"),S),(0,s.Z)(i,"".concat(d,"-readonly"),k),(0,s.Z)(i,"".concat(d,"-not-a-number"),eu.isNaN()),(0,s.Z)(i,"".concat(d,"-out-of-range"),!eu.isInvalidate()&&!eO(eu)),i)),style:h,onFocus:function(){eo(!0)},onBlur:function(){ej(!1),eo(!1),ei.current=!1},onKeyDown:function(e){var t=e.which,n=e.shiftKey;ei.current=!0,n?el.current=!0:el.current=!1,t===b.Z.ENTER&&(ea.current||(ei.current=!1),ej(!1),null==Y||Y(e)),!1!==j&&!ea.current&&[b.Z.UP,b.Z.DOWN].includes(t)&&(eM(b.Z.UP===t),e.preventDefault())},onKeyUp:function(){ei.current=!1,el.current=!1},onCompositionStart:function(){ea.current=!0},onCompositionEnd:function(){ea.current=!1,eA(ee.current.value)},onBeforeInput:function(){ei.current=!0}},(void 0===I||I)&&o.createElement(L,{prefixCls:d,upNode:P,downNode:R,upDisabled:eC,downDisabled:eZ,onStep:eM}),o.createElement("div",{className:"".concat(J,"-wrap")},o.createElement("input",(0,c.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":m,"aria-valuemax":v,"aria-valuenow":eu.isInvalidate()?null:eu.toString(),step:E},Q,{ref:(0,x.sQ)(ee,t),className:J,value:ey,onChange:function(e){eA(e.target.value)},disabled:S,readOnly:k}))))});B.displayName="InputNumber";var H=n(53124),W=n(98866),q=n(97647),$=n(65223),K=n(4173),G=n(96159),Y=n(9708),X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Q=o.forwardRef(function(e,t){var n=o.useContext(H.E_),r=n.getPrefixCls,i=n.direction,l=o.useContext(q.Z),p=o.useState(!1),h=(0,f.Z)(p,2),m=h[0],v=h[1],y=o.useRef(null);o.useImperativeHandle(t,function(){return y.current});var b=e.className,w=e.size,x=e.disabled,E=e.prefixCls,C=e.addonBefore,Z=e.addonAfter,S=e.prefix,k=e.bordered,N=void 0===k||k,_=e.readOnly,T=e.status,O=e.controls,P=X(e,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),R=r("input-number",E),A=(0,K.ri)(R,i),M=A.compactSize,j=A.compactItemClassnames,L=o.createElement(g,{className:"".concat(R,"-handler-up-inner")}),F=o.createElement(d.Z,{className:"".concat(R,"-handler-down-inner")});"object"===(0,u.Z)(O)&&(L=void 0===O.upIcon?L:o.createElement("span",{className:"".concat(R,"-handler-up-inner")},O.upIcon),F=void 0===O.downIcon?F:o.createElement("span",{className:"".concat(R,"-handler-down-inner")},O.downIcon));var I=(0,o.useContext)($.aM),V=I.hasFeedback,D=I.status,z=I.isFormItemInput,U=I.feedbackIcon,Q=(0,Y.F)(D,T),J=M||w||l,ee=o.useContext(W.Z),et=null!=x?x:ee,en=a()((eo={},(0,s.Z)(eo,"".concat(R,"-lg"),"large"===J),(0,s.Z)(eo,"".concat(R,"-sm"),"small"===J),(0,s.Z)(eo,"".concat(R,"-rtl"),"rtl"===i),(0,s.Z)(eo,"".concat(R,"-borderless"),!N),(0,s.Z)(eo,"".concat(R,"-in-form-item"),z),eo),(0,Y.Z)(R,Q),j,b),er=o.createElement(B,(0,c.Z)({ref:y,disabled:et,className:en,upHandler:L,downHandler:F,prefixCls:R,readOnly:_,controls:"boolean"==typeof O?O:void 0},P));if(null!=S||V){var eo,ei,ea=a()("".concat(R,"-affix-wrapper"),(0,Y.Z)("".concat(R,"-affix-wrapper"),Q,V),(ei={},(0,s.Z)(ei,"".concat(R,"-affix-wrapper-focused"),m),(0,s.Z)(ei,"".concat(R,"-affix-wrapper-disabled"),e.disabled),(0,s.Z)(ei,"".concat(R,"-affix-wrapper-sm"),"small"===l),(0,s.Z)(ei,"".concat(R,"-affix-wrapper-lg"),"large"===l),(0,s.Z)(ei,"".concat(R,"-affix-wrapper-rtl"),"rtl"===i),(0,s.Z)(ei,"".concat(R,"-affix-wrapper-readonly"),_),(0,s.Z)(ei,"".concat(R,"-affix-wrapper-borderless"),!N),(0,s.Z)(ei,"".concat(b),!(C||Z)&&b),ei));er=o.createElement("div",{className:ea,style:e.style,onMouseUp:function(){return y.current.focus()}},S&&o.createElement("span",{className:"".concat(R,"-prefix")},S),(0,G.Tm)(er,{style:null,value:e.value,onFocus:function(t){var n;v(!0),null===(n=e.onFocus)||void 0===n||n.call(e,t)},onBlur:function(t){var n;v(!1),null===(n=e.onBlur)||void 0===n||n.call(e,t)}}),V&&o.createElement("span",{className:"".concat(R,"-suffix")},U))}if(null!=C||null!=Z){var el,ec="".concat(R,"-group"),es="".concat(ec,"-addon"),eu=C?o.createElement("div",{className:es},C):null,ef=Z?o.createElement("div",{className:es},Z):null,ed=a()("".concat(R,"-wrapper"),ec,(0,s.Z)({},"".concat(ec,"-rtl"),"rtl"===i)),ep=a()("".concat(R,"-group-wrapper"),(el={},(0,s.Z)(el,"".concat(R,"-group-wrapper-sm"),"small"===l),(0,s.Z)(el,"".concat(R,"-group-wrapper-lg"),"large"===l),(0,s.Z)(el,"".concat(R,"-group-wrapper-rtl"),"rtl"===i),el),(0,Y.Z)("".concat(R,"-group-wrapper"),Q,V),b);er=o.createElement("div",{className:ep,style:e.style},o.createElement("div",{className:ed},eu&&o.createElement($.Ux,{status:!0,override:!0},eu),(0,G.Tm)(er,{style:null,disabled:et}),ef&&o.createElement($.Ux,{status:!0,override:!0},ef)))}return er}),J=n(39664);let ee="default",et="password",en="numeric",er="textarea",eo="url",ei=e=>{let{className:t,disabled:n,fieldName:o,label:i,maxLength:c,onBlur:s,onChange:u,onPressEnter:f,pattern:d,placeholder:p,required:h,status:m,tip:v,type:g,useTrim:y,value:b}=e,w=e=>{if(u){let t=g===en?e:e.target.value;u({fieldName:o,value:y?t.trim():t})}},x=e=>{let t=e.target.value;s&&s({value:t})},E=()=>{f&&f()},C=l.Z,Z={};g===er?(C=l.Z.TextArea,Z={autoSize:!0}):g===et?(C=l.Z.Password,Z={visibilityToggle:!0}):g===en?(C=Q,Z={type:"number",min:1,max:10**c-1}):g===eo&&(Z={type:"url",pattern:d});let S="field-".concat(o),{type:k}=m||{},N=a()({"formfield-container":!0,"textfield-container":!0,["type-".concat(g)]:!0,required:h,["status-".concat(k)]:m});return(0,r.jsxs)("div",{className:N,children:[i?(0,r.jsx)("div",{className:"label-side",children:(0,r.jsx)("label",{htmlFor:S,className:"formfield-label",children:i})}):null,(0,r.jsxs)("div",{className:"input-side",children:[(0,r.jsx)("div",{className:"input-group",children:(0,r.jsx)(C,{id:S,className:"field ".concat(t," ").concat(S),...Z,...g!==en&&{allowClear:!0},placeholder:p,maxLength:c,onChange:w,onBlur:x,onPressEnter:E,disabled:n,value:b})}),(0,r.jsx)(J.E,{status:m}),(0,r.jsx)("p",{className:"field-tip",children:v})]})]})};ei.defaultProps={className:"",disabled:!1,label:"",maxLength:255,placeholder:"",required:!1,status:null,tip:"",type:ee,value:"",pattern:"",useTrim:!1,useTrimLead:!1,onSubmit(){},onBlur(){},onChange(){},onPressEnter(){}}},10135:function(e,t,n){"use strict";n.d(t,{$7:function(){return v},Kx:function(){return p},Sk:function(){return h},xA:function(){return m}});var r=n(85893),o=n(71577),i=n(94184),a=n.n(i),l=n(67294),c=n(90745),s=n(41983),u=n(99519),f=n(39664),d=n(40117);let p="default",h="textarea",m="url",v=e=>{let{apiPath:t,configPath:n="",initialValue:i,useTrim:p,useTrimLead:h,...m}=e,[v,g]=(0,l.useState)(null),[y,b]=(0,l.useState)(!1),w=(0,l.useContext)(u.aC),{setFieldInConfigState:x}=w||{},E=null,{fieldName:C,required:Z,tip:S,status:k,value:N,onChange:_,onSubmit:T}=m,O=()=>{g(null),b(!1),clearTimeout(E),E=null};(0,l.useEffect)(()=>{Z&&(""===N||null===N)||N===i?b(!1):(O(),b(!0))},[N]);let P=e=>{let{fieldName:t,value:n}=e;if(_){let r=n;p?r=n.trim():h&&(r=n.replace(/^\s+/g,"")),_({fieldName:t,value:r})}},R=e=>{let{value:t}=e;_&&Z&&""===t&&_({fieldName:C,value:i})},A=async()=>{(Z&&""!==N||N!==i)&&(g((0,s.kg)(s.Jk)),await (0,c.Si)({apiPath:t,data:{value:N},onSuccess(){x({fieldName:C,value:N,path:n}),g((0,s.kg)(s.zv))},onError(e){g((0,s.kg)(s.Un,"There was an error: ".concat(e)))}}),E=setTimeout(O,c.sI),T&&T())},M=a()({"textfield-with-submit-container":!0,submittable:y});return(0,r.jsxs)("div",{className:M,children:[(0,r.jsx)("div",{className:"textfield-component",children:(0,r.jsx)(d.nv,{...m,onSubmit:null,onBlur:R,onChange:P})}),(0,r.jsxs)("div",{className:"formfield-container lower-container",children:[(0,r.jsx)("p",{className:"label-spacer"}),(0,r.jsxs)("div",{className:"lower-content",children:[(0,r.jsx)("div",{className:"field-tip",children:S}),(0,r.jsx)(f.E,{status:k||v}),(0,r.jsx)("div",{className:"update-button-container",children:(0,r.jsx)(o.Z,{type:"primary",size:"small",className:"submit-button",onClick:A,disabled:!y,children:"Update"})})]})]})]})};v.defaultProps={configPath:"",initialValue:""}},10227:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,n,r){return!1},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(92648).Z,o=n(17273).Z,i=r(n(67294)),a=n(41003),l=n(67795),c=n(54465),s=n(72692),u=n(48245),f=n(69246),d=n(10227),p=n(33468);let h=new Set;function m(e,t,n,r){if(a.isLocalURL(t)){if(!r.bypassPrefetchedCheck){let o=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,i=t+"%"+n+"%"+o;if(h.has(i))return;h.add(i)}Promise.resolve(e.prefetch(t,n,r)).catch(e=>{})}}function v(e){return"string"==typeof e?e:l.formatUrl(e)}let g=i.default.forwardRef(function(e,t){let n,r;let{href:l,as:h,children:g,prefetch:y,passHref:b,replace:w,shallow:x,scroll:E,locale:C,onClick:Z,onMouseEnter:S,onTouchStart:k,legacyBehavior:N=!1}=e,_=o(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=g,N&&("string"==typeof n||"number"==typeof n)&&(n=i.default.createElement("a",null,n));let T=!1!==y,O=i.default.useContext(s.RouterContext),P=i.default.useContext(u.AppRouterContext),R=null!=O?O:P,A=!O,{href:M,as:j}=i.default.useMemo(()=>{if(!O){let e=v(l);return{href:e,as:h?v(h):e}}let[t,n]=a.resolveHref(O,l,!0);return{href:t,as:h?a.resolveHref(O,h):n||t}},[O,l,h]),L=i.default.useRef(M),F=i.default.useRef(j);N&&(r=i.default.Children.only(n));let I=N?r&&"object"==typeof r&&r.ref:t,[V,D,z]=f.useIntersection({rootMargin:"200px"}),U=i.default.useCallback(e=>{(F.current!==j||L.current!==M)&&(z(),F.current=j,L.current=M),V(e),I&&("function"==typeof I?I(e):"object"==typeof I&&(I.current=e))},[j,I,M,z,V]);i.default.useEffect(()=>{R&&D&&T&&m(R,M,j,{locale:C})},[j,M,D,C,T,null==O?void 0:O.locale,R]);let B={ref:U,onClick(e){N||"function"!=typeof Z||Z(e),N&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),R&&!e.defaultPrevented&&function(e,t,n,r,o,l,c,s,u,f){let{nodeName:d}=e.currentTarget,p="A"===d.toUpperCase();if(p&&(function(e){let{target:t}=e.currentTarget;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!a.isLocalURL(n)))return;e.preventDefault();let h=()=>{"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:l,locale:s,scroll:c}):t[o?"replace":"push"](r||n,{forceOptimisticNavigation:!f})};u?i.default.startTransition(h):h()}(e,R,M,j,w,x,E,C,A,T)},onMouseEnter(e){N||"function"!=typeof S||S(e),N&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),R&&(T||!A)&&m(R,M,j,{locale:C,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart(e){N||"function"!=typeof k||k(e),N&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),R&&(T||!A)&&m(R,M,j,{locale:C,priority:!0,bypassPrefetchedCheck:!0})}};if(!N||b||"a"===r.type&&!("href"in r.props)){let H=void 0!==C?C:null==O?void 0:O.locale,W=(null==O?void 0:O.isLocaleDomain)&&d.getDomainLocale(j,H,null==O?void 0:O.locales,null==O?void 0:O.domainLocales);B.href=W||p.addBasePath(c.addLocale(j,H,null==O?void 0:O.defaultLocale))}return N?i.default.cloneElement(r,B):i.default.createElement("a",Object.assign({},_,B),n)});t.default=g,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){let{rootRef:t,rootMargin:n,disabled:c}=e,s=c||!i,[u,f]=r.useState(!1),[d,p]=r.useState(null);r.useEffect(()=>{if(i){if(!s&&!u&&d&&d.tagName){let e=function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:i,elements:o},l.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let t=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);t>-1&&l.splice(t,1)}}}(d,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!u){let r=o.requestIdleCallback(()=>f(!0));return()=>o.cancelIdleCallback(r)}},[d,s,n,t,u]);let h=r.useCallback(()=>{f(!1)},[]);return[p,u,h]};var r=n(67294),o=n(44686);let i="function"==typeof IntersectionObserver,a=new Map,l=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12295:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ed}});var r=n(85893);n(63785),n(75575),n(58090),n(45354),n(34146);var o=n(11163),i=n(4480),a=n(67294),l=n(99519),c=n(82661),s=n(45697),u=n.n(s),f=n(41664),d=n.n(f),p=n(9008),h=n.n(p),m=n(11699),v=n(97183),g=n(14670),y=n(84485),b=n(55241),w=n(66516),x=n(26713),E=n(94199),C=n(71577),Z=n(1413),S={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 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"},k=n(42135),N=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:S}))};N.displayName="PlayCircleFilled";var _=a.forwardRef(N),T={icon:{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-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-square",theme:"filled"},O=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:T}))};O.displayName="MinusSquareFilled";var P=a.forwardRef(O),R={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},A=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:R}))};A.displayName="HomeOutlined";var M=a.forwardRef(A),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z"}}]},name:"line-chart",theme:"outlined"},L=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:j}))};L.displayName="LineChartOutlined";var F=a.forwardRef(L),I=n(38545),V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},D=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:V}))};D.displayName="SettingOutlined";var z=a.forwardRef(D),U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"},B=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:U}))};B.displayName="ToolOutlined";var H=a.forwardRef(B),W={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z"}}]},name:"experiment",theme:"outlined"},q=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:W}))};q.displayName="ExperimentOutlined";var $=a.forwardRef(q),K=n(25035),G=n(86548),Y=n(94184),X=n.n(Y),Q=n(64777),J=n(70241),ee=n(50738),et=n(10135),en=n(90745),er=n(69677),eo=n(85402),ei=n(41983);let{TextArea:ea}=er.Z,el=e=>{let{open:t,handleClose:n}=e,[o,i]=(0,a.useState)(""),[l,c]=(0,a.useState)(!1),[s,u]=(0,a.useState)(null);function f(){c(!1),u(null),n()}async function d(){c(!0);try{await (0,Q.rQ)(Q.e_,{data:{value:o},method:"POST",auth:!0}),u(ei.zv),setTimeout(f,1e3)}catch(e){console.error(e),u(ei.Un)}c(!1)}return(0,r.jsx)(eo.Z,{destroyOnClose:!0,width:600,title:"Post to Followers",open:t,onCancel:n,footer:[(0,r.jsx)(C.Z,{onClick:()=>n(),children:"Cancel"}),(0,r.jsx)(C.Z,{type:"primary",onClick:d,disabled:l||s,loading:l,children:(null==s?void 0:s.toUpperCase())||"Post"})],children:(0,r.jsx)(ea,{placeholder:"Tell the world about your streaming plans...",size:"large",showCount:!0,maxLength:500,style:{height:"150px",width:"100%"},onChange:function(e){i(e.target.value)}})})},ec=e=>{let{children:t}=e,n=(0,a.useContext)(l.aC),{serverConfig:i,online:s,broadcaster:u,versionNumber:f}=n||{},{instanceDetails:p,chatDisabled:Z,federation:S}=i,{enabled:k}=S,[N,T]=(0,a.useState)(""),[O,R]=(0,a.useState)(!1),A=(0,a.useContext)(c.k),j=(0,o.useRouter)(),{route:L}=j||{},{Header:V,Footer:D,Content:U,Sider:B}=v.Z,[W,q]=(0,a.useState)(""),Y=async()=>{try{let e=await (0,Q.GR)(f);q(e)}catch(t){console.log("==== error",t)}};(0,a.useEffect)(()=>{Y()},[f]),(0,a.useEffect)(()=>{T(p.streamTitle)},[p]);let er=e=>{let{value:t}=e;T(t)},eo=()=>{R(!0)},ei=X()({"app-container":!0,online:s}),ea=()=>{A.setMessage(null)},ec=A.message?(0,r.jsx)(g.Z,{message:A.message,afterClose:ea,banner:!0,closable:!0}):null,es=u?(0,J.wS)((0,m.Z)(new Date,new Date(u.time))):"",eu=s?(0,r.jsx)("img",{src:"/thumbnail.jpg",className:"online-thumbnail",alt:"current thumbnail",width:"1rem"}):null,ef=s?(0,r.jsx)(_,{}):(0,r.jsx)(P,{}),ed=(0,r.jsx)(y.Z.Text,{children:"Thumbnail"}),ep=(0,r.jsxs)("div",{className:"online-status-indicator",children:[(0,r.jsx)("span",{className:"status-label",children:s?"Online ".concat(es):"Offline"}),(0,r.jsx)("span",{className:"status-icon",children:ef})]}),eh=s?(0,r.jsx)(b.Z,{content:eu,title:ed,trigger:"hover",children:ep}):ep,em=[{label:(0,r.jsx)(d(),{href:"/admin/webhooks",children:"Webhooks"}),key:"webhooks"},{label:(0,r.jsx)(d(),{href:"/admin/access-tokens",children:"Access Tokens"}),key:"access-tokens"},{label:(0,r.jsx)(d(),{href:"/admin/actions",children:"External Actions"}),key:"actions"}],ev=[{label:(0,r.jsx)(d(),{href:"/admin/chat/messages",children:"Messages"}),key:"messages"},{label:(0,r.jsx)(d(),{href:"/admin/chat/users",children:"Users"}),key:"chat-users"}],eg=[{label:(0,r.jsx)(d(),{href:"/admin/hardware-info",children:"Hardware"}),key:"hardware-info"},{label:(0,r.jsx)(d(),{href:"/admin/stream-health",children:"Stream Health"}),key:"stream-health"},{label:(0,r.jsx)(d(),{href:"/admin/logs",children:"Logs"}),key:"logs"},k&&{label:(0,r.jsx)(d(),{href:"/admin/federation/actions",children:"Social Actions"}),key:"federation-activities"}],ey=[{label:(0,r.jsx)(d(),{href:"/admin/config-public-details",children:"General"}),key:"config-public-details"},{label:(0,r.jsx)(d(),{href:"/admin/config-server-details",children:"Server Setup"}),key:"config-server-details"},{label:(0,r.jsx)(d(),{href:"/admin/config/streamkeys/",children:"Server Setup"}),key:"config-streamkeys"},{label:(0,r.jsx)(d(),{href:"/admin/config-video",children:"Video"}),key:"config-video"},{label:(0,r.jsx)(d(),{href:"/admin/config-chat",children:"Chat"}),key:"config-chat"},{label:(0,r.jsx)(d(),{href:"/admin/config-federation",children:"Social"}),key:"config-federation"},{label:(0,r.jsx)(d(),{href:"/admin/config-notify",children:"Notifications"}),key:"config-notify"},{label:(0,r.jsx)(d(),{href:"/admin/config/appearance",children:"Appearance"}),key:"config-appearance"},{label:(0,r.jsx)(d(),{href:"/admin/config-storage",children:"S3 Storage"}),key:"config-storage"}],eb=[{label:(0,r.jsx)(d(),{href:"/admin",children:"Home"}),icon:(0,r.jsx)(M,{}),key:"home"},{label:(0,r.jsx)(d(),{href:"/admin/viewer-info",children:"Viewers"}),icon:(0,r.jsx)(F,{}),key:"viewer-info"},!Z&&{key:"chat-config",label:(0,r.jsx)(d(),{href:"/admin/viewer-info",children:"Chat & Users"}),icon:(0,r.jsx)(I.Z,{}),children:ev},k&&{key:"fediverse-followers",label:(0,r.jsx)(d(),{href:"/admin/federation/followers",children:"Followers"}),icon:(0,r.jsx)("img",{alt:"fediverse icon",src:"/admin/fediverse-white.png",width:"15rem",style:{opacity:.6,position:"relative",top:"-1px"}})},{key:"configuration",label:"Configuration",icon:(0,r.jsx)(z,{}),children:ey},{key:"utilities",label:"Utilities",icon:(0,r.jsx)(H,{}),children:eg},{key:"integrations",label:"Integrations",icon:(0,r.jsx)($,{}),children:em},W&&{key:"upgrade",label:(0,r.jsx)(d(),{href:"/upgrade",children:"Upgrade to v".concat("".concat(W)||"")})},{key:"help",label:"Help",icon:(0,r.jsx)(K.Z,{})}];return(0,r.jsxs)(v.Z,{className:ei,children:[(0,r.jsxs)(h(),{children:[(0,r.jsx)("title",{children:"Owncast Admin"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"})]}),(0,r.jsxs)(B,{width:240,className:"side-nav",children:[(0,r.jsxs)("h1",{className:"owncast-title",children:[(0,r.jsx)("span",{className:"logo-container",children:(0,r.jsx)(ee.C,{variant:"simple"})}),(0,r.jsx)("span",{className:"title-label",children:"Owncast Admin"})]}),(0,r.jsx)(w.Z,{defaultSelectedKeys:[L.substring(1)||"home"],defaultOpenKeys:W?["utilities-menu"]:[],mode:"inline",className:"menu-container",items:eb})]}),(0,r.jsxs)(v.Z,{className:"layout-main",children:[(0,r.jsxs)(V,{className:"layout-header",children:[(0,r.jsx)(x.Z,{direction:"horizontal",children:(0,r.jsx)(E.Z,{title:"Compose post to your followers",children:(0,r.jsx)(C.Z,{type:"primary",shape:"circle",icon:(0,r.jsx)(G.Z,{}),size:"large",onClick:eo,style:{display:k?"block":"none"}})})}),(0,r.jsx)("div",{className:"global-stream-title-container",children:(0,r.jsx)(et.$7,{fieldName:"streamTitle",...en.$t,placeholder:"What are you streaming now",value:N,initialValue:p.streamTitle,onChange:er})}),(0,r.jsx)(x.Z,{direction:"horizontal",children:eh})]}),ec,(0,r.jsx)(U,{className:"main-content-container",children:t}),(0,r.jsx)(D,{className:"footer-container",children:(0,r.jsxs)("a",{href:"https://owncast.online/?source=admin",target:"_blank",rel:"noopener noreferrer",children:["About Owncast v",f]})})]}),(0,r.jsx)(el,{open:O,handleClose:()=>R(!1)})]})};ec.propTypes={children:u().element.isRequired};let es=e=>{let{Component:t,pageProps:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/main-layout.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/form-textfields.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-socialhandles.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-storage.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-edit-string-tags.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-video-variants.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-public-details.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/home.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/chat.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/pages.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/offline-notice.css"}),(0,r.jsx)(l.ZP,{children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(ec,{children:(0,r.jsx)(t,{...n})})})})]})},eu=e=>{let{Component:t,pageProps:n}=e;return(0,r.jsx)("div",{children:(0,r.jsx)(t,{...n})})},ef=e=>{let{Component:t,pageProps:n}=e;(0,a.useEffect)(()=>{"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/serviceWorker.js").then(e=>{console.debug("Service Worker registration successful with scope: ",e.scope)},e=>{console.error("Service Worker registration failed: ",e)})})},[]);let l=(0,o.useRouter)();return l.pathname.startsWith("/admin")?(0,r.jsx)(es,{pageProps:n,Component:t,router:l}):(0,r.jsx)(i.Wh,{children:(0,r.jsx)(eu,{pageProps:n,Component:t,router:l})})};var ed=ef},82661:function(e,t,n){"use strict";n.d(t,{k:function(){return l}});var r=n(85893),o=n(67294),i=n(45697),a=n.n(i);let l=o.createContext({message:null,setMessage:e=>null}),c=e=>{let{children:t}=e,[n,i]=(0,o.useState)("");return(0,r.jsx)(l.Provider,{value:{message:n,setMessage:i},children:t})};c.propTypes={children:a().element.isRequired},t.Z=c},64777:function(e,t,n){"use strict";n.d(t,{$i:function(){return R},$l:function(){return B},Bu:function(){return g},E8:function(){return j},GC:function(){return w},GR:function(){return $},HP:function(){return M},IO:function(){return _},Kp:function(){return h},Kt:function(){return W},M_:function(){return O},N$:function(){return V},NE:function(){return c},NM:function(){return v},Q_:function(){return s},RB:function(){return y},UJ:function(){return z},WB:function(){return a},WE:function(){return Z},WQ:function(){return C},Wr:function(){return N},XA:function(){return T},Y9:function(){return L},a_:function(){return p},ao:function(){return f},bl:function(){return u},e_:function(){return A},hn:function(){return S},iG:function(){return P},iV:function(){return d},jr:function(){return b},kb:function(){return F},kg:function(){return H},ms:function(){return k},nx:function(){return x},op:function(){return I},qk:function(){return m},rQ:function(){return U},sG:function(){return E},um:function(){return D}});var r=n(34155);let o=r.env.NEXT_PUBLIC_ADMIN_USERNAME,i=r.env.NEXT_PUBLIC_ADMIN_STREAMKEY,a="/",l="".concat(a,"api/admin/"),c=15e3,s="".concat(l,"status"),u="".concat(l,"serverconfig"),f="".concat(l,"config"),d="".concat(l,"viewersOverTime"),p="".concat(l,"viewers"),h="".concat(l,"chat/clients"),m="".concat(l,"chat/users/disabled"),v="".concat(l,"chat/users/setenabled"),g="".concat(l,"chat/users/ipbans"),y="".concat(l,"chat/users/ipbans/remove"),b="".concat(l,"chat/users/setmoderator"),w="".concat(l,"chat/users/moderators"),x="".concat(l,"hardwarestats"),E="".concat(l,"logs"),C="".concat(l,"logs/warnings"),Z="".concat(l,"chat/messages"),S="/api/admin/chat/messagevisibility",k="".concat(l,"accesstokens"),N="".concat(l,"accesstokens/delete"),_="".concat(l,"accesstokens/create"),T="".concat(l,"webhooks"),O="".concat(l,"webhooks/delete"),P="".concat(l,"webhooks/create"),R="".concat(a,"api/socialplatforms"),A="".concat(l,"federation/send"),M="".concat(l,"followers"),j="".concat(l,"followers/pending"),L="".concat(l,"followers/blocked"),F="".concat(l,"followers/approve"),I="".concat(l,"federation/actions"),V="".concat(l,"metrics/video"),D="".concat(l,"config/streamkeys"),z="".concat(l,"yp/reset");async function U(e,t){let{data:n,method:r="GET",auth:a=!0}=t||{},l={method:r};if(n&&(l.body=JSON.stringify(n)),a&&o&&i){let c=btoa("".concat(o,":").concat(i));l.headers={Authorization:"Basic ".concat(c)},l.mode="cors",l.credentials="include"}try{let s=await fetch(e,l),u=await s.json();if(!s.ok){let f=u.message||"An error has occurred: ".concat(s.status);throw Error(f)}return u}catch(d){return console.error(d),d}}async function B(e,t){let n={method:"GET",auth:!1,...t};return U(e,n)}async function H(e){try{let t=await fetch(e,{referrerPolicy:"no-referrer",referrer:""});if(!t.ok){let n="An error has occured: ".concat(t.status);throw Error(n)}let r=await t.json();return r}catch(o){console.log(o)}return{}}async function W(){return H("https://api.github.com/repos/owncast/owncast/releases/latest")}let q=/^\d+(\.\d+){0,2}$/;async function $(e){let t=await W(),n=t.tag_name;return("v"===n.substr(0,1)&&(n=n.substr(1)),!function(e,t){if(!e||!t||0===e.length||0===t.length)return!1;if(e===t)return!0;if(q.test(e)&&q.test(t)){let n=e.split(".");for(;n.length<3;)n.push("0");let r=t.split(".");for(;r.length<3;)r.push("0");for(let o=0;o<3;o++){let i=parseInt(n[o],10),a=parseInt(r[o],10);if(i!==a)return i>a}return!0}return e>=t}(e,n))?n:null}},90745:function(e,t,n){"use strict";n.d(t,{$Z:function(){return ep},$t:function(){return C},$w:function(){return f},AA:function(){return l},AN:function(){return B},AP:function(){return m},BF:function(){return $},B_:function(){return Y},CJ:function(){return v},CQ:function(){return b},Dg:function(){return U},EY:function(){return j},FE:function(){return q},HM:function(){return eo},I$:function(){return ea},IX:function(){return k},KB:function(){return T},Kl:function(){return H},LC:function(){return W},ME:function(){return A},P:function(){return L},RE:function(){return E},SS:function(){return er},Si:function(){return x},Xc:function(){return K},Xq:function(){return ee},ZQ:function(){return N},_X:function(){return F},c9:function(){return d},cf:function(){return g},cj:function(){return R},d$:function(){return c},dL:function(){return Q},dR:function(){return X},dj:function(){return z},gX:function(){return I},i3:function(){return el},kB:function(){return D},lT:function(){return P},mv:function(){return ed},nm:function(){return J},os:function(){return y},oy:function(){return ef},pE:function(){return w},rE:function(){return O},rd:function(){return S},rs:function(){return Z},sI:function(){return a},sv:function(){return p},t$:function(){return ei},tQ:function(){return _},vv:function(){return h},wC:function(){return ec},x8:function(){return et},yC:function(){return en},y_:function(){return M},yi:function(){return G},yj:function(){return V},z_:function(){return es},zm:function(){return eu}});var r=n(64777),o=n(40117),i=n(37174);let a=3e3,l="/pagecontent",c="/customstyles",s="/serverurl",u="/nsfw",f="/s3",d="/socialhandles",p="/video/streamlatencylevel",h="/video/streamoutputvariants",m="/directoryenabled",v="/chat/forbiddenusernames",g="/chat/suggestedusernames",y="/externalactions",b="/video/codec",w="/federation/blockdomains";async function x(e){let{apiPath:t,data:n,onSuccess:o,onError:i}=e,a=await (0,r.rQ)("".concat(r.ao).concat(t),{data:n,method:"POST",auth:!0});a.success&&o?o(a.message):i&&i(a.message)}let E={apiPath:"/name",configPath:"instanceDetails",maxLength:255,placeholder:"Owncast site name",label:"Name",tip:"The name of your Owncast server",required:!0,useTrimLead:!0},C={apiPath:"/streamtitle",configPath:"instanceDetails",maxLength:100,placeholder:"Doing cool things...",label:"Stream Title",tip:"What is your stream about today?"},Z={apiPath:"/serversummary",configPath:"instanceDetails",maxLength:500,placeholder:"",label:"About",tip:"A brief blurb about you, your server, or what your stream is about."},S={apiPath:"/offlinemessage",configPath:"instanceDetails",maxLength:2500,placeholder:"An optional message you can leave people when your stream is not live.",label:"Offline Message",tip:"An optional message you can leave people when your stream is not live."},k={apiPath:"/welcomemessage",configPath:"instanceDetails",maxLength:2500,placeholder:"",label:"Welcome Message",tip:"A system chat message sent to viewers when they first connect to chat. Leave blank to disable."},N={apiPath:"/logo",configPath:"instanceDetails",maxLength:255,placeholder:"/img/mylogo.png",label:"Logo",tip:"Upload your logo if you have one. We recommend that you use a square image that is at least 256x256. SVGs are discouraged as they cannot be displayed on all social media platforms."},_={apiPath:"/key",configPath:"",maxLength:255,placeholder:"abc123",label:"Admin Password",tip:"Save this password somewhere safe, you will need it to login to the admin dashboard!",required:!0},T={apiPath:"/ffmpegpath",configPath:"",maxLength:255,placeholder:"/usr/local/bin/ffmpeg",label:"FFmpeg Path",tip:"Absolute file path of the FFMPEG application on your server",required:!0},O={apiPath:"/webserverport",configPath:"",maxLength:6,placeholder:"8080",label:"Owncast port",tip:"What port is your Owncast web server listening? Default is 8080",required:!0},P={apiPath:"/rtmpserverport",configPath:"",maxLength:6,placeholder:"1935",label:"RTMP port",tip:"What port should accept inbound broadcasts? Default is 1935",required:!0},R={apiPath:s,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server.",type:o.xA,pattern:i.a,useTrim:!0},A={apiPath:"/sockethostoverride",configPath:"",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Websocket host override",tip:"The direct URL of your Owncast server.",type:o.xA,pattern:i.a,useTrim:!0},M={apiPath:"/tags",configPath:"instanceDetails",maxLength:24,placeholder:"Add a new tag",required:!0,label:"",tip:""},j={apiPath:u,configPath:"instanceDetails",label:"NSFW?",tip:"Turn this ON if you plan to steam explicit or adult content. Please respectfully set this flag so unexpected eyes won't accidentally see it in the Directory."},L={apiPath:m,configPath:"yp",label:"Enable directory",tip:"Turn this ON to request to show up in the directory."},F={apiPath:"/hideviewercount",configPath:"",label:"Hide viewer count",tip:"Turn this ON to hide the viewer count the web page."},I={framerate:24,videoPassthrough:!1,videoBitrate:800,audioPassthrough:!0,audioBitrate:0,cpuUsageLevel:3,scaledHeight:null,scaledWidth:null,name:""},V={apiPath:"/chat/disable",configPath:"",label:"Chat",tip:"Turn the chat functionality on/off on your Owncast server.",useSubmit:!0},D={apiPath:"/chat/joinmessagesenabled",configPath:"",label:"Join Messages",tip:"Show when a viewer joins the chat.",useSubmit:!0},z={apiPath:"/chat/establishedusermode",configPath:"",label:"Established users only",tip:"Only users who have previously been established for some time may chat.",useSubmit:!0},U={apiPath:v,placeholder:"username",label:"Forbidden usernames",tip:"A list of words in chat usernames you disallow."},B={apiPath:g,placeholder:"username",label:"Default usernames",tip:"An optional list of chat usernames that new users get assigned. If the list holds less then 10 items, random names will be generated. Users can change their usernames afterwards and the same username may be given out multple times.",min_not_reached:"At least 10 items are required for this feature.",no_entries:"The default name generator is used."},H={apiPath:"/federation/enable",configPath:"federation",label:"Enable Social Features",tip:"Send and receive activities on the Fediverse.",useSubmit:!0},W={apiPath:"/federation/private",configPath:"federation",label:"Private",tip:"Follow requests will require approval and only followers will see your activity.",useSubmit:!0},q={apiPath:"/federation/showengagement",configPath:"showEngagement",label:"Show engagement",tip:"Following, liking and sharing will appear in the chat feed.",useSubmit:!0},$={apiPath:"/federation/livemessage",configPath:"federation",maxLength:500,placeholder:"My stream has started, tune in!",label:"Now Live message",tip:"The message sent announcing that your live stream has begun. Tags will be automatically added. Leave blank to disable."},K={apiPath:"/federation/username",configPath:"federation",maxLength:10,placeholder:"owncast",default:"owncast",label:"Username",tip:'The username used for sending and receiving activities from the Fediverse. For example, if you use "bob" as a username you would send messages to the fediverse from @bob@yourserver. Once people start following your instance you should not change this.'},G={apiPath:s,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.",type:o.xA,pattern:i.a,useTrim:!0},Y={apiPath:u,configPath:"instanceDetails",label:"Potentially NSFW",tip:"Turn this ON if you plan to steam explicit or adult content so previews of your stream can be marked as potentially sensitive."},X={apiPath:w,configPath:"federation",label:"Blocked domains",placeholder:"bad.domain.biz",tip:"You can block specific domains from interacting with you."},Q={audioBitrate:{min:600,max:1200,defaultValue:800,unit:"kbps",incrementBy:100,tip:"nothing to see here"},videoPassthrough:{tip:"If enabled, all other settings will be disabled. Otherwise configure as desired."},audioPassthrough:{tip:"If No is selected, then you should set your desired Audio Bitrate."},scaledWidth:{fieldName:"scaledWidth",label:"Resized Width",maxLength:4,placeholder:"1080",tip:"Optionally resize this content's width."},scaledHeight:{fieldName:"scaledHeight",label:"Resized Height",maxLength:4,placeholder:"720",tip:"Optionally resize this content's height."}},J={min:24,max:120,defaultValue:24,unit:"fps",incrementBy:null,tip:"Reducing your framerate will decrease the amount of video that needs to be encoded and sent to your viewers, saving CPU and bandwidth at the expense of smoothness. A lower value is generally is fine for most content."},ee={[J.min]:"".concat(J.min," ").concat(J.unit),25:" ",30:" ",50:" ",60:" ",90:" ",[J.max]:"".concat(J.max," ").concat(J.unit)},et={[J.min]:"".concat(J.min,"fps - Good for film, presentations, music, low power/bandwidth servers."),25:"25fps - Good for film, presentations, music, low power/bandwidth servers.",30:"30fps - Good for slow/casual games, chat, general purpose.",50:"50fps - Good for fast/action games, sports, HD video.",60:"60fps - Good for fast/action games, sports, HD video.",90:"90fps - Good for newer fast games and hardware.",[J.max]:"".concat(J.max,"fps - Experimental, use at your own risk!")},en={min:400,max:6e3,defaultValue:1200,unit:"kbps",incrementBy:100,tip:"The overall quality of your stream is generally impacted most by bitrate."},er={fieldName:"name",label:"Name",maxLength:15,placeholder:"HD or Low",tip:"Human-readable name for for displaying in the player."},eo={[en.min]:"".concat(en.min," ").concat(en.unit),3e3:3e3,4500:4500,[en.max]:"".concat(en.max," ").concat(en.unit)},ei={1:"lowest",2:"",3:"",4:"",5:"highest"},ea={1:"Lowest hardware usage - lowest quality video",2:"Low hardware usage - low quality video",3:"Medium hardware usage - average quality video",4:"High hardware usage - high quality video",5:"Highest hardware usage - higher quality video"},el={VIDEO_HEIGHT:1080,VIDEO_BITRATE:3e3,HELP_TEXT:"You have only set one video quality variant. If your server has the computing resources, consider adding another, lower-quality variant, so more people can view your content!"},ec={url:"",platform:""},es="OTHER_SOCIAL_HANDLE_OPTION",eu={accessKey:{fieldName:"accessKey",label:"Access Key",maxLength:255,placeholder:"access key 123",tip:""},acl:{fieldName:"acl",label:"ACL",maxLength:255,placeholder:"",tip:"Optional specific access control value to add to your content. Generally not required."},bucket:{fieldName:"bucket",label:"Bucket",maxLength:255,placeholder:"bucket 123",tip:"Create a new bucket for each Owncast instance you may be running."},endpoint:{fieldName:"endpoint",label:"Endpoint",maxLength:255,placeholder:"https://your.s3.provider.endpoint.com",tip:'The full URL (with "https://") endpoint from your storage provider.',useTrim:!0,type:o.xA,pattern:i.a},region:{fieldName:"region",label:"Region",maxLength:255,placeholder:"region 123",tip:""},secret:{fieldName:"secret",label:"Secret key",maxLength:255,placeholder:"your secret key",tip:""},servingEndpoint:{fieldName:"servingEndpoint",label:"Serving Endpoint",maxLength:255,placeholder:"http://cdn.ss3.provider.endpoint.com",tip:"Optional URL that content should be accessed from instead of the default. Used with CDNs and specific storage providers. Generally not required.",type:o.xA,pattern:i.a,useTrim:!0},forcePathStyle:{fieldName:"forcePathStyle",label:"Force path-style",tip:"If your S3 provider doesn't support virtual-hosted-style URLs set this to ON (i.e. Oracle Cloud Object Storage)"}},ef={webhookUrl:{fieldName:"webhook",label:"Webhook URL",maxLength:255,placeholder:"https://discord.com/api/webhooks/837/jf38-6iNEv",tip:"The webhook assigned to your channel.",type:o.xA,pattern:i.a,useTrim:!0},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:300,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},ed={goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},ep={apiKey:{fieldName:"apiKey",label:"API Key",maxLength:200,tip:"",placeholder:"gaUQhRC2lqfrEFfElBXJgOctU"},apiSecret:{fieldName:"apiSecret",label:"API Secret",maxLength:200,tip:"",placeholder:"IIz4jFZMWbUKdFOEGUprFjRwIslG56d1SPQlolJYjXwJ2y2qKS"},accessToken:{fieldName:"accessToken",label:"Access Token",maxLength:200,tip:"",placeholder:"952540400-EEiwe9fkuSvWjnNC82YFa9kgpqbyAP3J7FjE2dkka"},accessTokenSecret:{fieldName:"accessTokenSecret",label:"Access Token Secret",maxLength:200,tip:"",placeholder:"xO0AZWNGfZxpNsYPg3zNEKhAsPPGvNZFlzQArA2khI9Kg"},bearerToken:{fieldName:"bearerToken",label:"Bearer Token",maxLength:200,tip:"",placeholder:"AAAAAAAAAAAAAAFqpXwEAAnnepHkjA8XD5ftx5jUadYIRtPtaq7AAAAwpXPpDWKDcdhiWr0tVDjsgW%2B4awGOM9VQ%3XPoMFuWcHsE42TK"},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}}},70241:function(e,t,n){"use strict";n.d(t,{AB:function(){return s},Qr:function(){return a},t5:function(){return i},wS:function(){return c}});var r=n(42238),o=n.n(r);function i(e){let t=e.split(":");t[t.length-1]="";let n=t.join(":");return"[::1]"===(n=n.slice(0,n.length-1))||"127.0.0.1"===n?"Localhost":n}function a(e){return!e||0===Object.keys(e).length&&e.constructor===Object}function l(e,t,n){return String(t.repeat(n)+e).slice(-n)}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=Number.isFinite(+e)?Math.abs(e):0,n=Math.floor(t/86400),r=n>0?"".concat(n," day").concat(n>1?"s":""," "):"",o=Math.floor(t/3600%24),i=o||n?l("".concat(o,":"),"0",3):"",a=l("".concat(Math.floor(t/60%60),":"),"0",3),c=l("".concat(Math.floor(t%60)),"0",2);return r+i+a+c}function s(e){let t=o()(e),{device:n,os:r,browser:i}=t,{major:a,name:l}=i,{version:c,name:s}=r,{model:u,type:f}=n;return"libmpv"===e?"mpv media player":l&&a&&s?"".concat(l," ").concat(a," on ").concat(s," ").concat(c,"\n ").concat(u||f?" (".concat(u||f,")"):""):e}},41983:function(e,t,n){"use strict";n.d(t,{Jk:function(){return u},Un:function(){return c},dG:function(){return d},kg:function(){return h},zv:function(){return f}});var r=n(85893),o=n(89739),i=n(21640),a=n(50888),l=n(28058);let c="error",s="invalid",u="proessing",f="success",d="warning",p={[f]:{type:f,icon:(0,r.jsx)(o.Z,{style:{color:"green"}}),message:"Success!"},[c]:{type:c,icon:(0,r.jsx)(i.Z,{style:{color:"red"}}),message:"An error occurred."},[s]:{type:s,icon:(0,r.jsx)(i.Z,{style:{color:"red"}}),message:"An error occurred."},[u]:{type:u,icon:(0,r.jsx)(a.Z,{}),message:""},[d]:{type:d,icon:(0,r.jsx)(l.Z,{style:{color:"#fc0"}}),message:""}};function h(e,t){return e&&p[e]?t?{type:e,icon:p[e].icon,message:t}:p[e]:null}},99519:function(e,t,n){"use strict";n.d(t,{aC:function(){return f}});var r=n(85893),o=n(67294),i=n(45697),a=n.n(i),l=n(64777),c=n(90745);let s={streamKeys:[],adminPassword:"",instanceDetails:{customStyles:"",extraPageContent:"",logo:"",name:"",nsfw:!1,socialHandles:[],streamTitle:"",summary:"",tags:[],title:"",welcomeMessage:"",offlineMessage:"",appearanceVariables:{}},ffmpegPath:"",rtmpServerPort:"",webServerPort:"",socketHostOverride:null,s3:{accessKey:"",acl:"",bucket:"",enabled:!1,endpoint:"",region:"",secret:"",servingEndpoint:"",forcePathStyle:!1},yp:{enabled:!1,instanceUrl:""},videoSettings:{latencyLevel:4,cpuUsageLevel:3,videoQualityVariants:[c.gX]},federation:{enabled:!1,isPrivate:!1,username:"",goLiveMessage:"",showEngagement:!0,blockedDomains:[]},notifications:{browser:{enabled:!1,goLiveMessage:""},discord:{enabled:!1,webhook:"",goLiveMessage:""},twitter:{enabled:!1,goLiveMessage:"",apiKey:"",apiSecret:"",accessToken:"",accessTokenSecret:"",bearerToken:""}},externalActions:[],supportedCodecs:[],videoCodec:"",forbiddenUsernames:[],suggestedUsernames:[],chatDisabled:!1,chatJoinMessagesEnabled:!0,chatEstablishedUserMode:!1,hideViewerCount:!1},u={broadcastActive:!1,broadcaster:null,currentBroadcast:null,online:!1,viewerCount:0,sessionMaxViewerCount:0,sessionPeakViewerCount:0,overallPeakViewerCount:0,versionNumber:"0.0.0",streamTitle:"",chatDisabled:!1,health:{healthy:!0,healthPercentage:100,message:"",representation:0}},f=o.createContext({...u,serverConfig:s,setFieldInConfigState:e=>null}),d=e=>{let{children:t}=e,[n,i]=(0,o.useState)(u),[a,c]=(0,o.useState)(s),d=async()=>{try{let e=await (0,l.rQ)(l.Q_);i({...e})}catch(t){}},p=async()=>{try{let e=await (0,l.rQ)(l.bl);c(e)}catch(t){}},h=e=>{let{fieldName:t,value:n,path:r}=e,o=r?{...a,[r]:{...a[r],[t]:n}}:{...a,[t]:n};c(o)};(0,o.useEffect)(()=>{let e=null;return d(),e=setInterval(d,l.NE),p(),()=>{clearInterval(e)}},[]);let m={...n,serverConfig:a,setFieldInConfigState:h};return(0,r.jsx)(f.Provider,{value:m,children:t})};d.propTypes={children:a().element.isRequired},t.ZP=d},37174:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},a:function(){return r}});let r="https?://.*";function o(e){try{let t=new URL(e);if(""===t.protocol||""===t.hostname||!["http:","https:"].includes(t.protocol))return!1}catch(n){return!1}return!0}},63785:function(){},34146:function(){},45354:function(){},58090:function(){},75575:function(){},29403:function(e){e.exports={root:"OwncastLogo_root__uDVJf",contrast:"OwncastLogo_contrast__rDMJY",simple:"OwncastLogo_simple___hC9r"}},9008:function(e,t,n){e.exports=n(83121)},41664:function(e,t,n){e.exports=n(31551)},11163:function(e,t,n){e.exports=n(80880)},34155:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(r){n=a}}();var c=[],s=!1,u=-1;function f(){s&&r&&(s=!1,r.length?c=r.concat(c):u=-1,c.length&&d())}function d(){if(!s){var e=l(f);s=!0;for(var t=c.length;t;){for(r=c,c=[];++u1)for(var n=1;n1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}}):e}function R(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function A(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length){n(a);return}var l=r;r+=1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},D={integer:function(e){return D.number(e)&&parseInt(e,10)===e},float:function(e){return D.number(e)&&!D.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return RegExp(e),!0}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!D.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(V.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(I())},hex:function(e){return"string"==typeof e&&!!e.match(V.hex)}},z="enum",U={required:F,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(P(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t){F(e,t,n,r,o);return}var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?D[i](t)||r.push(P(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(P(o.messages.types[i],e.fullField,e.type))},range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,c=t,s=null,u="string"==typeof t,f=Array.isArray(t);if("number"==typeof t?s="number":u?s="string":f&&(s="array"),!s)return!1;f&&(c=t.length),u&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?c!==e.len&&r.push(P(o.messages[s].len,e.fullField,e.len)):a&&!l&&ce.max?r.push(P(o.messages[s].max,e.fullField,e.max)):a&&l&&(ce.max)&&r.push(P(o.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[z]=Array.isArray(e[z])?e[z]:[],-1===e[z].indexOf(t)&&r.push(P(o.messages[z],e.fullField,e[z].join(", ")))},pattern:function(e,t,n,r,o){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(P(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||RegExp(e.pattern).test(t)||r.push(P(o.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},B=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t,i)&&!e.required)return n();U.required(e,t,r,a,o,i),R(t,i)||U.type(e,t,r,a,o)}n(a)},H={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t,"string")&&!e.required)return n();U.required(e,t,r,i,o,"string"),R(t,"string")||(U.type(e,t,r,i,o),U.range(e,t,r,i,o),U.pattern(e,t,r,i,o),!0===e.whitespace&&U.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),R(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t)&&!e.required)return n();U.required(e,t,r,i,o),R(t)||U.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();U.required(e,t,r,i,o,"array"),null!=t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t,"string")&&!e.required)return n();U.required(e,t,r,i,o),R(t,"string")||U.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t,"date")&&!e.required)return n();U.required(e,t,r,a,o),!R(t,"date")&&(i=t instanceof Date?t:new Date(t),U.type(e,i,r,a,o),i&&U.range(e,i.getTime(),r,a,o))}n(a)},url:B,hex:B,email:B,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;U.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t)&&!e.required)return n();U.required(e,t,r,i,o)}n(i)}};function W(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var q=W(),$=function(){function e(e){this.rules=null,this._messages=q,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})},t.messages=function(e){return e&&(this._messages=L(W(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var i=t,a=n,l=r;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,i),Promise.resolve(i);if(a.messages){var c=this.messages();c===q&&(c=W()),L(c,a.messages),a.messages=c}else a.messages=this.messages();var s={};(a.keys||Object.keys(this.rules)).forEach(function(e){var n=o.rules[e],r=i[e];n.forEach(function(n){var a=n;"function"==typeof a.transform&&(i===t&&(i=Z({},i)),r=i[e]=a.transform(r)),(a="function"==typeof a?{validator:a}:Z({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),s[e]=s[e]||[],s[e].push({rule:a,value:r,source:i,field:e}))})});var u={};return function(e,t,n,r,o){if(t.first){var i=new Promise(function(t,i){var a;A((a=[],Object.keys(e).forEach(function(t){a.push.apply(a,e[t]||[])}),a),n,function(e){return r(e),e.length?i(new M(e,O(e))):t(o)})});return i.catch(function(e){return e}),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],l=Object.keys(e),c=l.length,s=0,u=[],f=new Promise(function(t,i){var f=function(e){if(u.push.apply(u,e),++s===c)return r(u),u.length?i(new M(u,O(u))):t(o)};l.length||(r(u),t(o)),l.forEach(function(t){var r=e[t];-1!==a.indexOf(t)?A(r,n,f):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e||[]),++o===i&&n(r)}e.forEach(function(e){t(e,a)})}(r,n,f)})});return f.catch(function(e){return e}),f}(s,a,function(t,n){var r,o=t.rule,l=("object"===o.type||"array"===o.type)&&("object"==typeof o.fields||"object"==typeof o.defaultField);function c(e,t){return Z({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function s(r){void 0===r&&(r=[]);var s=Array.isArray(r)?r:[r];!a.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==o.message&&(s=[].concat(o.message));var f=s.map(j(o,i));if(a.first&&f.length)return u[o.field]=1,n(f);if(l){if(o.required&&!t.value)return void 0!==o.message?f=[].concat(o.message).map(j(o,i)):a.error&&(f=[a.error(o,P(a.messages.required,o.field))]),n(f);var d={};o.defaultField&&Object.keys(t.value).map(function(e){d[e]=o.defaultField});var p={};Object.keys(d=Z({},d,t.rule.fields)).forEach(function(e){var t=d[e],n=Array.isArray(t)?t:[t];p[e]=n.map(c.bind(null,e))});var h=new e(p);h.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),h.validate(t.value,t.rule.options||a,function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)})}else n(f)}if(l=l&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,s,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,s,t.source,a)}catch(f){null==console.error||console.error(f),a.suppressValidatorError||setTimeout(function(){throw f},0),s(f.message)}!0===r?s():!1===r?s("function"==typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?s(r):r instanceof Error&&s(r.message)}r&&r.then&&r.then(function(){return s()},function(e){return s(e)})},function(e){!function(e){for(var t=[],n={},r=0;r3&&void 0!==arguments[3]&&arguments[3];return function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!X(e,t.slice(0,-1))?e:function e(t,n,r,o){if(!n.length)return r;var i,a=(0,Q.Z)(n),l=a[0],u=a.slice(1);return i=t||"number"!=typeof l?Array.isArray(t)?(0,s.Z)(t):(0,c.Z)({},t):[],o&&void 0===r&&1===u.length?delete i[l][u[0]]:i[l]=e(i[l],u,r,o),i}(e,t,n,r)}(e,t,n,r)}function en(e,t){var n={};return t.forEach(function(t){var r=X(e,t);n=et(n,t,r)}),n}function er(e,t){return e&&e.some(function(e){return ea(e,t)})}function eo(e){return"object"===(0,Y.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function ei(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,s.Z)(e.slice(0,n)),[o],(0,s.Z)(e.slice(n,t)),(0,s.Z)(e.slice(t+1,r))):i<0?[].concat((0,s.Z)(e.slice(0,t)),(0,s.Z)(e.slice(t+1,n+1)),[o],(0,s.Z)(e.slice(n+1,r))):e}var es="CODE_LOGIC_ERROR";function eu(e,t,n,r,o){return ef.apply(this,arguments)}function ef(){return(ef=(0,E.Z)((0,x.Z)().mark(function e(t,n,r,i,a){var u,f,d,p,h,m,v,g,y;return(0,x.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return delete(u=(0,c.Z)({},r)).ruleIndex,u.validator&&(f=u.validator,u.validator=function(){try{return f.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(es)}}),d=null,u&&"array"===u.type&&u.defaultField&&(d=u.defaultField,delete u.defaultField),p=new $((0,l.Z)({},t,[u])),h=ei({},G,i.validateMessages),p.messages(h),m=[],e.prev=9,e.next=12,Promise.resolve(p.validate((0,l.Z)({},t,n),(0,c.Z)({},i)));case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(9),e.t0.errors&&(m=e.t0.errors.map(function(e,t){var n=e.message,r=n===es?h.default:n;return o.isValidElement(r)?o.cloneElement(r,{key:"error_".concat(t)}):r}));case 17:if(!(!m.length&&d)){e.next=22;break}return e.next=20,Promise.all(n.map(function(e,n){return eu("".concat(t,".").concat(n),e,d,i,a)}));case 20:return v=e.sent,e.abrupt("return",v.reduce(function(e,t){return[].concat((0,s.Z)(e),(0,s.Z)(t))},[]));case 22:return g=(0,c.Z)((0,c.Z)({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),y=m.map(function(e){return"string"==typeof e?function(e,t){return e.replace(/\$\{\w+\}/g,function(e){return t[e.slice(2,-1)]})}(e,g):e}),e.abrupt("return",y);case 25:case"end":return e.stop()}},e,null,[[9,14]])}))).apply(this,arguments)}function ed(){return(ed=(0,E.Z)((0,x.Z)().mark(function e(t){return(0,x.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then(function(e){var t;return(t=[]).concat.apply(t,(0,s.Z)(e))}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ep(){return(ep=(0,E.Z)((0,x.Z)().mark(function e(t){var n;return(0,x.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=0,e.abrupt("return",new Promise(function(e){t.forEach(function(r){r.then(function(r){r.errors.length&&e([r]),(n+=1)===t.length&&e([])})})}));case 2:case"end":return e.stop()}},e)}))).apply(this,arguments)}var eh=["name"],em=[];function ev(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var eg=function(e){(0,p.Z)(n,e);var t=(0,h.Z)(n);function n(e){var r;return(0,u.Z)(this,n),(r=t.call(this,e)).state={resetCount:0},r.cancelRegisterFunc=null,r.mounted=!1,r.touched=!1,r.dirty=!1,r.validatePromise=null,r.prevValidating=void 0,r.errors=em,r.warnings=em,r.cancelRegister=function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,ee(o)),r.cancelRegisterFunc=null},r.getNamePath=function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName;return void 0!==t?[].concat((0,s.Z)(void 0===n?[]:n),(0,s.Z)(t)):[]},r.getRules=function(){var e=r.props,t=e.rules,n=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(n):e})},r.refresh=function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})},r.triggerMetaEvent=function(e){var t=r.props.onMetaChange;null==t||t((0,c.Z)((0,c.Z)({},r.getMeta()),{},{destroy:e}))},r.onStoreChange=function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,l=void 0===a?[]:a,c=o.onReset,s=n.store,u=r.getNamePath(),f=r.getValue(e),d=r.getValue(s),p=t&&er(t,u);switch("valueUpdate"===n.type&&"external"===n.source&&f!==d&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=em,r.warnings=em,r.triggerMetaEvent()),n.type){case"reset":if(!t||p){r.touched=!1,r.dirty=!1,r.validatePromise=null,r.errors=em,r.warnings=em,r.triggerMetaEvent(),null==c||c(),r.refresh();return}break;case"remove":if(i){r.reRender();return}break;case"setField":if(p){var h=n.data;"touched"in h&&(r.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(r.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(r.errors=h.errors||em),"warnings"in h&&(r.warnings=h.warnings||em),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if(i&&!u.length&&ev(i,e,s,f,d,n)){r.reRender();return}break;case"dependenciesUpdate":if(l.map(ee).some(function(e){return er(n.relatedFields,e)})){r.reRender();return}break;default:if(p||(!l.length||u.length||i)&&ev(i,e,s,f,d,n)){r.reRender();return}}!0===i&&r.reRender()},r.validateRules=function(e){var t=r.getNamePath(),n=r.getValue(),o=Promise.resolve().then(function(){if(!r.mounted)return[];var i=r.props,a=i.validateFirst,l=i.messageVariables,u=(e||{}).triggerName,f=r.getRules();u&&(f=f.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||w(t).includes(u)}));var d=function(e,t,n,r,o,i){var a,l,s=e.join("."),u=n.map(function(e,t){var n=e.validator,r=(0,c.Z)((0,c.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:em;if(r.validatePromise===o){r.validatePromise=null;var t,n=[],i=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,o=void 0===r?em:r;t?i.push.apply(i,(0,s.Z)(o)):n.push.apply(n,(0,s.Z)(o))}),r.errors=n,r.warnings=i,r.triggerMetaEvent(),r.reRender()}}),d});return r.validatePromise=o,r.dirty=!0,r.errors=em,r.warnings=em,r.triggerMetaEvent(),r.reRender(),o},r.isFieldValidating=function(){return!!r.validatePromise},r.isFieldTouched=function(){return r.touched},r.isFieldDirty=function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(g).getInitialValue)(r.getNamePath())},r.getErrors=function(){return r.errors},r.getWarnings=function(){return r.warnings},r.isListField=function(){return r.props.isListField},r.isList=function(){return r.props.isList},r.isPreserve=function(){return r.props.preserve},r.getMeta=function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath()}},r.getOnlyChild=function(e){if("function"==typeof e){var t=r.getMeta();return(0,c.Z)((0,c.Z)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,m.Z)(e);return 1===n.length&&o.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},r.getValue=function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return X(e||t(!0),n)},r.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.trigger,o=t.validateTrigger,i=t.getValueFromEvent,a=t.normalize,s=t.valuePropName,u=t.getValueProps,f=t.fieldContext,d=void 0!==o?o:f.validateTrigger,p=r.getNamePath(),h=f.getInternalHooks,m=f.getFieldsValue,v=h(g).dispatch,y=r.getValue(),b=e[n],x=(0,c.Z)((0,c.Z)({},e),(u||function(e){return(0,l.Z)({},s,e)})(y));return x[n]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,n=Array(t),o=0;o=0&&t<=n.length?(u.keys=[].concat((0,s.Z)(u.keys.slice(0,t)),[u.id],(0,s.Z)(u.keys.slice(t))),o([].concat((0,s.Z)(n.slice(0,t)),[e],(0,s.Z)(n.slice(t))))):(u.keys=[].concat((0,s.Z)(u.keys),[u.id]),o([].concat((0,s.Z)(n),[e]))),u.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(u.keys=u.keys.filter(function(e,t){return!n.has(t)}),o(t.filter(function(e,t){return!n.has(t)})))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(u.keys=ec(u.keys,e,t),o(ec(n,e,t)))}}},t)})))},ex=n(97685),eE="__@field_split__";function eC(e){return e.map(function(e){return"".concat((0,Y.Z)(e),":").concat(e)}).join(eE)}var eZ=function(){function e(){(0,u.Z)(this,e),this.kvs=new Map}return(0,f.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(eC(e),t)}},{key:"get",value:function(e){return this.kvs.get(eC(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(eC(e))}},{key:"map",value:function(e){return(0,s.Z)(this.kvs.entries()).map(function(t){var n=(0,ex.Z)(t,2),r=n[0],o=n[1];return e({key:r.split(eE).map(function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,ex.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o}),value:o})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null}),e}}]),e}(),eS=["name","errors"],ek=(0,f.Z)(function e(t){var n=this;(0,u.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===g?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,v.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){if(n.initialValues=e||{},t){var r,o=ei({},e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map(function(t){var n=t.key;o=et(o,n,X(e,n))}),n.prevWithoutPreserves=null,n.updateStore(o)}},this.destroyForm=function(){var e=new eZ;n.getFieldEntities(!0).forEach(function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),n.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=X(n.initialValues,e);return e.length?J(t):t},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.watchList=[],this.registerWatch=function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter(function(t){return t!==e})}},this.notifyWatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue();n.watchList.forEach(function(n){n(t,e)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(e){n.store=e},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter(function(e){return e.getNamePath().length}):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new eZ;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=ee(e);return t.get(n)||{INVALIDATE_NAME_PATH:ee(e)}})},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),o=[];return r.forEach(function(n){var r,i="INVALIDATE_NAME_PATH"in n?n.INVALIDATE_NAME_PATH:n.getNamePath();!(!e&&(null===(r=n.isListField)||void 0===r?void 0:r.call(n)))&&(t?t("getMeta"in n?n.getMeta():null)&&o.push(i):o.push(i))}),en(n.store,o.map(ee))},this.getFieldValue=function(e){n.warningUnhooked();var t=ee(e);return X(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:ee(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})},this.getFieldError=function(e){n.warningUnhooked();var t=ee(e);return n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){n.warningUnhooked();var t=ee(e);return n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var e,t=arguments.length,r=Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=new eZ,o=n.getFieldEntities(!0);o.forEach(function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,(0,s.Z)((0,s.Z)(o).map(function(e){return e.entity})))})):e=o,function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))(0,v.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)(0,v.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);t.skipExist&&void 0!==a||n.updateStore(et(n.store,o,(0,s.Z)(i)[0].value))}}}})}(e)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore(ei({},n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),n.notifyWatch();return}var r=e.map(ee);r.forEach(function(e){var t=n.getInitialValue(e);n.updateStore(et(n.store,e,t))}),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)},this.setFields=function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var o=e.name,i=(e.errors,(0,a.Z)(e,eS)),l=ee(o);r.push(l),"value"in i&&n.updateStore(et(n.store,l,i.value)),n.notifyObservers(t,[l],{type:"setField",data:e})}),n.notifyWatch(r)},this.getFields=function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,c.Z)((0,c.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o})},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===X(n.store,r)&&n.updateStore(et(n.store,r,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null==t||t},this.registerField=function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(t){return t!==e}),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every(function(e){return!ea(e.getNamePath(),t)})){var l=n.store;n.updateStore(et(l,t,a,!0)),n.notifyObservers(l,[t],{type:"remove"}),n.triggerDependenciesUpdate(l,t)}}n.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=(0,c.Z)((0,c.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,o)})}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,s.Z)(r))}),r},this.updateValue=function(e,t){var r=ee(e),o=n.store;n.updateStore(et(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(en(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,s.Z)(i)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;if(e){var r=ei(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(e,t){n.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new eZ;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=ee(t);o.update(n,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(n){(o.get(n)||new Set).forEach(function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}})}(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new eZ;t.forEach(function(e){var t=e.name,n=e.errors;i.set(t,n)}),o.forEach(function(e){e.errors=i.get(e.name)||e.errors})}r(o.filter(function(t){return er(e,t.name)}),o)}},this.validateFields=function(e,t){n.warningUnhooked();var r,o,i,a=!!e,l=a?e.map(ee):[],u=[];n.getFieldEntities(!0).forEach(function(r){if(a||l.push(r.getNamePath()),(null==t?void 0:t.recursive)&&a){var o=r.getNamePath();o.every(function(t,n){return e[n]===t||void 0===e[n]})&&l.push(o)}if(r.props.rules&&r.props.rules.length){var i=r.getNamePath();if(!a||er(l,i)){var f=r.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},G),n.validateMessages)},t));u.push(f.then(function(){return{name:i,errors:[],warnings:[]}}).catch(function(e){var t,n=[],r=[];return(null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,o=e.errors;t?r.push.apply(r,(0,s.Z)(o)):n.push.apply(n,(0,s.Z)(o))}),n.length)?Promise.reject({name:i,errors:n,warnings:r}):{name:i,errors:n,warnings:r}}))}}});var f=(r=!1,o=u.length,i=[],u.length?new Promise(function(e,t){u.forEach(function(n,a){n.catch(function(e){return r=!0,e}).then(function(n){o-=1,i[a]=n,o>0||(r&&t(i),e(i))})})}):Promise.resolve([]));n.lastValidatePromise=f,f.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)});var d=f.then(function(){return n.lastValidatePromise===f?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:t,outOfDate:n.lastValidatePromise!==f})});return d.catch(function(e){return e}),d},this.submit=function(){n.warningUnhooked(),n.validateFields().then(function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}}).catch(function(e){var t=n.callbacks.onFinishFailed;t&&t(e)})},this.forceRootUpdate=t}),eN=function(e){var t=o.useRef(),n=o.useState({}),r=(0,ex.Z)(n,2)[1];if(!t.current){if(e)t.current=e;else{var i=new ek(function(){r({})});t.current=i.getForm()}}return[t.current]},e_=o.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eT=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,i=e.children,a=o.useContext(e_),s=o.useRef({});return o.createElement(e_.Provider,{value:(0,c.Z)((0,c.Z)({},a),{},{validateMessages:(0,c.Z)((0,c.Z)({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:s.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=(0,c.Z)((0,c.Z)({},s.current),{},(0,l.Z)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.Z)({},s.current);delete t[e],s.current=t,a.unregisterForm(e)}})},i)},eO=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];function eP(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}var eR=function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),o=1;o0;if(P||R){var t=f(I),n=(0,p.Z)(t).length,a="object"===(0,o.Z)(R)?R.formatter({value:t,count:n,maxLength:O}):"".concat(n).concat(e?" / ".concat(O):"");return i.createElement(i.Fragment,null,!!R&&i.createElement("span",{className:l()("".concat(k,"-show-count-suffix"),(0,r.Z)({},"".concat(k,"-show-count-has-suffix"),!!P))},a),P)}return null}(),disabled:N}))})},97868:function(e,t,n){"use strict";n.d(t,{iz:function(){return eI},ck:function(){return q},BW:function(){return eF},sN:function(){return q},GP:function(){return eF},Wd:function(){return ep},ZP:function(){return eD},Xl:function(){return j}});var r=n(87462),o=n(4942),i=n(1413),a=n(74902),l=n(97685),c=n(45987),s=n(67294),u=n(94184),f=n.n(u),d=n(96774),p=n.n(d),h=n(21770),m=n(80334),v=n(34243),g=n(15671),y=n(43144),b=n(60136),w=n(33643),x=n(15105),E=n(98423),C=n(56982),Z=["children","locked"],S=s.createContext(null);function k(e){var t=e.children,n=e.locked,r=(0,c.Z)(e,Z),o=s.useContext(S),a=(0,C.Z)(function(){var e;return e=(0,i.Z)({},o),Object.keys(r).forEach(function(t){var n=r[t];void 0!==n&&(e[t]=n)}),e},[o,r],function(e,t){return!n&&(e[0]!==t[0]||!p()(e[1],t[1]))});return s.createElement(S.Provider,{value:a},t)}function N(e,t,n,r){var o=s.useContext(S),i=o.activeKey,a=o.onActive,l=o.onInactive,c={active:i===e};return t||(c.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),a(e)},c.onMouseLeave=function(t){null==r||r({key:e,domEvent:t}),l(e)}),c}var _=["item"];function T(e){var t=e.item,n=(0,c.Z)(e,_);return Object.defineProperty(n,"item",{get:function(){return(0,m.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function O(e){var t=e.icon,n=e.props,r=e.children;return("function"==typeof t?s.createElement(t,(0,i.Z)({},n)):t)||r||null}function P(e){var t=s.useContext(S),n=t.mode,r=t.rtl,o=t.inlineIndent;return"inline"!==n?null:r?{paddingRight:e*o}:{paddingLeft:e*o}}var R=s.createContext(null);function A(){return s.useContext(R)}var M=s.createContext([]);function j(e){var t=s.useContext(M);return s.useMemo(function(){return void 0!==e?[].concat((0,a.Z)(t),[e]):t},[t,e])}var L=s.createContext(null),F=s.createContext(null);function I(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function V(e){return I(s.useContext(F),e)}var D=s.createContext({}),z=["title","attribute","elementRef"],U=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],B=["active"],H=function(e){(0,b.Z)(n,e);var t=(0,w.Z)(n);function n(){return(0,g.Z)(this,n),t.apply(this,arguments)}return(0,y.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=(0,c.Z)(e,z),a=(0,E.Z)(i,["eventKey"]);return(0,m.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),s.createElement(v.Z.Item,(0,r.Z)({},n,{title:"string"==typeof t?t:void 0},a,{ref:o}))}}]),n}(s.Component),W=function(e){var t,n=e.style,l=e.className,u=e.eventKey,d=(e.warnKey,e.disabled),p=e.itemIcon,h=e.children,m=e.role,v=e.onMouseEnter,g=e.onMouseLeave,y=e.onClick,b=e.onKeyDown,w=e.onFocus,E=(0,c.Z)(e,U),C=V(u),Z=s.useContext(S),k=Z.prefixCls,_=Z.onItemClick,R=Z.disabled,A=Z.overflowDisabled,M=Z.itemIcon,L=Z.selectedKeys,F=Z.onActive,I=s.useContext(D)._internalRenderMenuItem,z="".concat(k,"-item"),W=s.useRef(),q=s.useRef(),$=R||d,K=j(u),G=function(e){return{key:u,keyPath:(0,a.Z)(K).reverse(),item:W.current,domEvent:e}},Y=N(u,$,v,g),X=Y.active,Q=(0,c.Z)(Y,B),J=L.includes(u),ee=P(K.length),et={};"option"===e.role&&(et["aria-selected"]=J);var en=s.createElement(H,(0,r.Z)({ref:W,elementRef:q,role:null===m?"none":m||"menuitem",tabIndex:d?null:-1,"data-menu-id":A&&C?null:C},E,Q,et,{component:"li","aria-disabled":d,style:(0,i.Z)((0,i.Z)({},ee),n),className:f()(z,(t={},(0,o.Z)(t,"".concat(z,"-active"),X),(0,o.Z)(t,"".concat(z,"-selected"),J),(0,o.Z)(t,"".concat(z,"-disabled"),$),t),l),onClick:function(e){if(!$){var t=G(e);null==y||y(T(t)),_(t)}},onKeyDown:function(e){if(null==b||b(e),e.which===x.Z.ENTER){var t=G(e);null==y||y(T(t)),_(t)}},onFocus:function(e){F(u),null==w||w(e)}}),h,s.createElement(O,{props:(0,i.Z)((0,i.Z)({},e),{},{isSelected:J}),icon:p||M}));return I&&(en=I(en,e,{selected:J})),en},q=function(e){var t=e.eventKey,n=A(),r=j(t);return(s.useEffect(function(){if(n)return n.registerPath(t,r),function(){n.unregisterPath(t,r)}},[r]),n)?null:s.createElement(W,e)},$=n(71002),K=n(50344),G=["label","children","key","type"];function Y(e,t){return(0,K.Z)(e).map(function(e,n){if(s.isValidElement(e)){var r,o,i=e.key,l=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i;null==l&&(l="tmp_key-".concat([].concat((0,a.Z)(t),[n]).join("-")));var c={key:l,eventKey:l};return s.cloneElement(e,c)}return e})}function X(e){var t=s.useRef(e);t.current=e;var n=s.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o1&&(E.motionAppear=!1);var C=E.onVisibleChanged;return(E.onVisibleChanged=function(e){return v.current||e||w(!0),null==C?void 0:C(e)},b)?null:s.createElement(k,{mode:c,locked:!v.current},s.createElement(ec.Z,(0,r.Z)({visible:x},E,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),function(e){var n=e.className,r=e.style;return s.createElement(J,{id:t,className:n,style:r},a)}))}var eu=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ef=["active"],ed=function(e){var t,n=e.style,a=e.className,u=e.title,d=e.eventKey,p=(e.warnKey,e.disabled),h=e.internalPopupClose,m=e.children,g=e.itemIcon,y=e.expandIcon,b=e.popupClassName,w=e.popupOffset,x=e.onClick,E=e.onMouseEnter,C=e.onMouseLeave,Z=e.onTitleClick,_=e.onTitleMouseEnter,R=e.onTitleMouseLeave,A=(0,c.Z)(e,eu),M=V(d),F=s.useContext(S),I=F.prefixCls,z=F.mode,U=F.openKeys,B=F.disabled,H=F.overflowDisabled,W=F.activeKey,q=F.selectedKeys,$=F.itemIcon,K=F.expandIcon,G=F.onItemClick,Y=F.onOpenChange,Q=F.onActive,ee=s.useContext(D)._internalRenderSubMenuItem,et=s.useContext(L).isSubPathKey,en=j(),er="".concat(I,"-submenu"),eo=B||p,ei=s.useRef(),ea=s.useRef(),ec=y||K,ed=U.includes(d),ep=!H&&ed,eh=et(q,d),em=N(d,eo,_,R),ev=em.active,eg=(0,c.Z)(em,ef),ey=s.useState(!1),eb=(0,l.Z)(ey,2),ew=eb[0],ex=eb[1],eE=function(e){eo||ex(e)},eC=s.useMemo(function(){return ev||"inline"!==z&&(ew||et([W],d))},[z,ev,W,ew,d,et]),eZ=P(en.length),eS=X(function(e){null==x||x(T(e)),G(e)}),ek=M&&"".concat(M,"-popup"),eN=s.createElement("div",(0,r.Z)({role:"menuitem",style:eZ,className:"".concat(er,"-title"),tabIndex:eo?null:-1,ref:ei,title:"string"==typeof u?u:null,"data-menu-id":H&&M?null:M,"aria-expanded":ep,"aria-haspopup":!0,"aria-controls":ek,"aria-disabled":eo,onClick:function(e){eo||(null==Z||Z({key:d,domEvent:e}),"inline"===z&&Y(d,!ed))},onFocus:function(){Q(d)}},eg),u,s.createElement(O,{icon:"horizontal"!==z?ec:null,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:ep,isSubMenu:!0})},s.createElement("i",{className:"".concat(er,"-arrow")}))),e_=s.useRef(z);if("inline"!==z&&en.length>1?e_.current="vertical":e_.current=z,!H){var eT=e_.current;eN=s.createElement(el,{mode:eT,prefixCls:er,visible:!h&&ep&&"inline"!==z,popupClassName:b,popupOffset:w,popup:s.createElement(k,{mode:"horizontal"===eT?"vertical":eT},s.createElement(J,{id:ek,ref:ea},m)),disabled:eo,onVisibleChange:function(e){"inline"!==z&&Y(d,e)}},eN)}var eO=s.createElement(v.Z.Item,(0,r.Z)({role:"none"},A,{component:"li",style:n,className:f()(er,"".concat(er,"-").concat(z),a,(t={},(0,o.Z)(t,"".concat(er,"-open"),ep),(0,o.Z)(t,"".concat(er,"-active"),eC),(0,o.Z)(t,"".concat(er,"-selected"),eh),(0,o.Z)(t,"".concat(er,"-disabled"),eo),t)),onMouseEnter:function(e){eE(!0),null==E||E({key:d,domEvent:e})},onMouseLeave:function(e){eE(!1),null==C||C({key:d,domEvent:e})}}),eN,!H&&s.createElement(es,{id:ek,open:ep,keyPath:en},m));return ee&&(eO=ee(eO,e,{selected:eh,active:eC,open:ep,disabled:eo})),s.createElement(k,{onItemClick:eS,mode:"horizontal"===z?"vertical":z,itemIcon:g||$,expandIcon:ec},eO)};function ep(e){var t,n=e.eventKey,r=e.children,o=j(n),i=Y(r,o),a=A();return s.useEffect(function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}},[o]),t=a?i:s.createElement(ed,e,i),s.createElement(M.Provider,{value:o},t)}var eh=n(88603),em=x.Z.LEFT,ev=x.Z.RIGHT,eg=x.Z.UP,ey=x.Z.DOWN,eb=x.Z.ENTER,ew=x.Z.ESC,ex=x.Z.HOME,eE=x.Z.END,eC=[eg,ey,em,ev];function eZ(e,t){return(0,eh.tS)(e,!0).filter(function(e){return t.has(e)})}function eS(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=eZ(e,t),i=o.length,a=o.findIndex(function(e){return n===e});return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var ek=Math.random().toFixed(5).toString().slice(2),eN=0,e_="__RC_UTIL_PATH_SPLIT__",eT=function(e){return e.join(e_)},eO="rc-menu-more",eP=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],eR=[],eA=s.forwardRef(function(e,t){var n,u,d,m,g,y,b,w,x,E,C,Z,S,N,_,O,P,A,M,j,V,z,U,B,H,W,K,Q=e.prefixCls,J=void 0===Q?"rc-menu":Q,ee=e.rootClassName,en=e.style,er=e.className,eo=e.tabIndex,ei=e.items,ea=e.children,el=e.direction,ec=e.id,es=e.mode,eu=void 0===es?"vertical":es,ef=e.inlineCollapsed,ed=e.disabled,eh=e.disabledOverflow,eA=e.subMenuOpenDelay,eM=e.subMenuCloseDelay,ej=e.forceSubMenuRender,eL=e.defaultOpenKeys,eV=e.openKeys,eD=e.activeKey,ez=e.defaultActiveFirst,eU=e.selectable,eB=void 0===eU||eU,eH=e.multiple,eW=void 0!==eH&&eH,eq=e.defaultSelectedKeys,e$=e.selectedKeys,eK=e.onSelect,eG=e.onDeselect,eY=e.inlineIndent,eX=e.motion,eQ=e.defaultMotions,eJ=e.triggerSubMenuAction,e0=e.builtinPlacements,e1=e.itemIcon,e2=e.expandIcon,e4=e.overflowedIndicator,e5=void 0===e4?"...":e4,e6=e.overflowedIndicatorPopupClassName,e3=e.getPopupContainer,e8=e.onClick,e7=e.onOpenChange,e9=e.onKeyDown,te=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),tt=e._internalRenderSubMenuItem,tn=(0,c.Z)(e,eP),tr=s.useMemo(function(){var e;return e=ea,ei&&(e=function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,$.Z)(t)){var o=t.label,i=t.children,a=t.key,l=t.type,u=(0,c.Z)(t,G),f=null!=a?a:"tmp-".concat(n);return i||"group"===l?"group"===l?s.createElement(eF,(0,r.Z)({key:f},u,{title:o}),e(i)):s.createElement(ep,(0,r.Z)({key:f},u,{title:o}),e(i)):"divider"===l?s.createElement(eI,(0,r.Z)({key:f},u)):s.createElement(q,(0,r.Z)({key:f},u),o)}return null}).filter(function(e){return e})}(ei)),Y(e,eR)},[ea,ei]),to=s.useState(!1),ti=(0,l.Z)(to,2),ta=ti[0],tl=ti[1],tc=s.useRef(),ts=(n=(0,h.Z)(ec,{value:ec}),d=(u=(0,l.Z)(n,2))[0],m=u[1],s.useEffect(function(){eN+=1;var e="".concat(ek,"-").concat(eN);m("rc-menu-uuid-".concat(e))},[]),d),tu="rtl"===el,tf=s.useMemo(function(){return("inline"===eu||"vertical"===eu)&&ef?["vertical",ef]:[eu,!1]},[eu,ef]),td=(0,l.Z)(tf,2),tp=td[0],th=td[1],tm=s.useState(0),tv=(0,l.Z)(tm,2),tg=tv[0],ty=tv[1],tb=tg>=tr.length-1||"horizontal"!==tp||eh,tw=(0,h.Z)(eL,{value:eV,postState:function(e){return e||eR}}),tx=(0,l.Z)(tw,2),tE=tx[0],tC=tx[1],tZ=function(e){tC(e),null==e7||e7(e)},tS=s.useState(tE),tk=(0,l.Z)(tS,2),tN=tk[0],t_=tk[1],tT="inline"===tp,tO=s.useRef(!1);s.useEffect(function(){tT&&t_(tE)},[tE]),s.useEffect(function(){tO.current&&(tT?tC(tN):tZ(eR))},[tT]),s.useEffect(function(){return tO.current=!0,function(){tO.current=!1}},[]);var tP=(g=s.useState({}),y=(0,l.Z)(g,2)[1],b=(0,s.useRef)(new Map),w=(0,s.useRef)(new Map),x=s.useState([]),C=(E=(0,l.Z)(x,2))[0],Z=E[1],S=(0,s.useRef)(0),N=(0,s.useRef)(!1),_=function(){N.current||y({})},O=(0,s.useCallback)(function(e,t){var n=eT(t);w.current.set(n,e),b.current.set(e,n),S.current+=1;var r=S.current;Promise.resolve().then(function(){r===S.current&&_()})},[]),P=(0,s.useCallback)(function(e,t){var n=eT(t);w.current.delete(n),b.current.delete(e)},[]),A=(0,s.useCallback)(function(e){Z(e)},[]),M=(0,s.useCallback)(function(e,t){var n=(b.current.get(e)||"").split(e_);return t&&C.includes(n[0])&&n.unshift(eO),n},[C]),j=(0,s.useCallback)(function(e,t){return e.some(function(e){return M(e,!0).includes(t)})},[M]),V=(0,s.useCallback)(function(e){var t="".concat(b.current.get(e)).concat(e_),n=new Set;return(0,a.Z)(w.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(w.current.get(e))}),n},[]),s.useEffect(function(){return function(){N.current=!0}},[]),{registerPath:O,unregisterPath:P,refreshOverflowKeys:A,isSubPathKey:j,getKeyPath:M,getKeys:function(){var e=(0,a.Z)(b.current.keys());return C.length&&e.push(eO),e},getSubPathKeys:V}),tR=tP.registerPath,tA=tP.unregisterPath,tM=tP.refreshOverflowKeys,tj=tP.isSubPathKey,tL=tP.getKeyPath,tF=tP.getKeys,tI=tP.getSubPathKeys,tV=s.useMemo(function(){return{registerPath:tR,unregisterPath:tA}},[tR,tA]),tD=s.useMemo(function(){return{isSubPathKey:tj}},[tj]);s.useEffect(function(){tM(tb?eR:tr.slice(tg+1).map(function(e){return e.key}))},[tg,tb]);var tz=(0,h.Z)(eD||ez&&(null===(W=tr[0])||void 0===W?void 0:W.key),{value:eD}),tU=(0,l.Z)(tz,2),tB=tU[0],tH=tU[1],tW=X(function(e){tH(e)}),tq=X(function(){tH(void 0)});(0,s.useImperativeHandle)(t,function(){return{list:tc.current,focus:function(e){var t,n,r,o,i=null!=tB?tB:null===(t=tr.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key;i&&(null===(n=tc.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(I(ts,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}});var t$=(0,h.Z)(eq||[],{value:e$,postState:function(e){return Array.isArray(e)?e:null==e?eR:[e]}}),tK=(0,l.Z)(t$,2),tG=tK[0],tY=tK[1],tX=function(e){if(eB){var t,n=e.key,r=tG.includes(n);tY(t=eW?r?tG.filter(function(e){return e!==n}):[].concat((0,a.Z)(tG),[n]):[n]);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:t});r?null==eG||eG(o):null==eK||eK(o)}!eW&&tE.length&&"inline"!==tp&&tZ(eR)},tQ=X(function(e){null==e8||e8(T(e)),tX(e)}),tJ=X(function(e,t){var n=tE.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tp){var r=tI(e);n=n.filter(function(e){return!r.has(e)})}p()(tE,n)||tZ(n)}),t0=X(e3),t1=(z=function(e,t){var n=null!=t?t:!tE.includes(e);tJ(e,n)},U=s.useRef(),(B=s.useRef()).current=tB,H=function(){et.Z.cancel(U.current)},s.useEffect(function(){return function(){H()}},[]),function(e){var t=e.which;if([].concat(eC,[eb,ew,ex,eE]).includes(t)){var n=function(){return c=new Set,s=new Map,u=new Map,tF().forEach(function(e){var t=document.querySelector("[data-menu-id='".concat(I(ts,e),"']"));t&&(c.add(t),u.set(t,e),s.set(e,t))}),c};n();var r=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(s.get(tB),c),i=u.get(r),a=function(e,t,n,r){var i,a,l,c,s="prev",u="next",f="children",d="parent";if("inline"===e&&r===eb)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,eg,s),(0,o.Z)(i,ey,u),i),h=(a={},(0,o.Z)(a,em,n?u:s),(0,o.Z)(a,ev,n?s:u),(0,o.Z)(a,ey,f),(0,o.Z)(a,eb,f),a),m=(l={},(0,o.Z)(l,eg,s),(0,o.Z)(l,ey,u),(0,o.Z)(l,eb,f),(0,o.Z)(l,ew,d),(0,o.Z)(l,em,n?f:d),(0,o.Z)(l,ev,n?d:f),l);switch(null===(c=({inline:p,horizontal:h,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(t?"":"Sub")])||void 0===c?void 0:c[r]){case s:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(tp,1===tL(i,!0).length,tu,t);if(!a&&t!==ex&&t!==eE)return;(eC.includes(t)||[ex,eE].includes(t))&&e.preventDefault();var l=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=u.get(e);tH(r),H(),U.current=(0,et.Z)(function(){B.current===r&&t.focus()})}};if([ex,eE].includes(t)||a.sibling||!r){var c,s,u,f,d=eZ(f=r&&"inline"!==tp?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(r):tc.current,c);l(t===ex?d[0]:t===eE?d[d.length-1]:eS(f,c,r,a.offset))}else if(a.inlineTrigger)z(i);else if(a.offset>0)z(i,!0),H(),U.current=(0,et.Z)(function(){n();var e=r.getAttribute("aria-controls");l(eS(document.getElementById(e),c))},5);else if(a.offset<0){var p=tL(i,!0),h=p[p.length-2],m=s.get(h);z(h,!1),l(m)}}null==e9||e9(e)});s.useEffect(function(){tl(!0)},[]);var t2=s.useMemo(function(){return{_internalRenderMenuItem:te,_internalRenderSubMenuItem:tt}},[te,tt]),t4="horizontal"!==tp||eh?tr:tr.map(function(e,t){return s.createElement(k,{key:e.key,overflowDisabled:t>tg},e)}),t5=s.createElement(v.Z,(0,r.Z)({id:ec,ref:tc,prefixCls:"".concat(J,"-overflow"),component:"ul",itemComponent:q,className:f()(J,"".concat(J,"-root"),"".concat(J,"-").concat(tp),er,(K={},(0,o.Z)(K,"".concat(J,"-inline-collapsed"),th),(0,o.Z)(K,"".concat(J,"-rtl"),tu),K),ee),dir:el,style:en,role:"menu",tabIndex:void 0===eo?0:eo,data:t4,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?tr.slice(-t):null;return s.createElement(ep,{eventKey:eO,title:e5,disabled:tb,internalPopupClose:0===t,popupClassName:e6},n)},maxCount:"horizontal"!==tp||eh?v.Z.INVALIDATE:v.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){ty(e)},onKeyDown:t1},tn));return s.createElement(D.Provider,{value:t2},s.createElement(F.Provider,{value:ts},s.createElement(k,{prefixCls:J,rootClassName:ee,mode:tp,openKeys:tE,rtl:tu,disabled:ed,motion:ta?eX:null,defaultMotions:ta?eQ:null,activeKey:tB,onActive:tW,onInactive:tq,selectedKeys:tG,inlineIndent:void 0===eY?24:eY,subMenuOpenDelay:void 0===eA?.1:eA,subMenuCloseDelay:void 0===eM?.1:eM,forceSubMenuRender:ej,builtinPlacements:e0,triggerSubMenuAction:void 0===eJ?"hover":eJ,getPopupContainer:t0,itemIcon:e1,expandIcon:e2,onItemClick:tQ,onOpenChange:tJ},s.createElement(L.Provider,{value:tD},t5),s.createElement("div",{style:{display:"none"},"aria-hidden":!0},s.createElement(R.Provider,{value:tV},tr)))))}),eM=["className","title","eventKey","children"],ej=["children"],eL=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,c.Z)(e,eM),a=s.useContext(S).prefixCls,l="".concat(a,"-item-group");return s.createElement("li",(0,r.Z)({},i,{onClick:function(e){return e.stopPropagation()},className:f()(l,t)}),s.createElement("div",{className:"".concat(l,"-title"),title:"string"==typeof n?n:void 0},n),s.createElement("ul",{className:"".concat(l,"-list")},o))};function eF(e){var t=e.children,n=(0,c.Z)(e,ej),r=Y(t,j(n.eventKey));return A()?r:s.createElement(eL,(0,E.Z)(n,["warnKey"]),r)}function eI(e){var t=e.className,n=e.style,r=s.useContext(S).prefixCls;return A()?null:s.createElement("li",{className:f()("".concat(r,"-item-divider"),t),style:n})}var eV=eA;eV.Item=q,eV.SubMenu=ep,eV.ItemGroup=eF,eV.Divider=eI;var eD=eV},62874:function(e,t,n){"use strict";n.d(t,{V:function(){return ei},Z:function(){return ea}});var r,o,i,a=n(4942),l=n(1413),c=n(97685),s=n(71002),u=n(67294),f=n(34203),d=n(42550),p=n(94184),h=n.n(p),m=n(98924);function v(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var g=(r=(0,m.Z)(),o="undefined"!=typeof window?window:{},i={animationend:v("Animation","AnimationEnd"),transitionend:v("Transition","TransitionEnd")},!r||("AnimationEvent"in o||delete i.animationend.animation,"TransitionEvent"in o||delete i.transitionend.transition),i),y={};(0,m.Z)()&&(y=document.createElement("div").style);var b={};function w(e){if(b[e])return b[e];var t=g[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,L.Z)(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i},t]},I=(0,m.Z)()?u.useLayoutEffect:u.useEffect,V=[R,A,M,"end"];function D(e){return e===M||"end"===e}var z=function(e,t){var n=(0,j.Z)(P),r=(0,c.Z)(n,2),o=r[0],i=r[1],a=F(),l=(0,c.Z)(a,2),s=l[0],f=l[1];return I(function(){if(o!==P&&"end"!==o){var e=V[V.indexOf(o)+1],n=t(o);!1===n?i(e,!0):s(function(t){function r(){t.isCanceled()||i(e,!0)}!0===n?r():Promise.resolve(n).then(r)})}},[e,o]),u.useEffect(function(){return function(){f()}},[]),[function(){i(R,!0)},o]},U=function(e){var t=(0,u.useRef)(),n=(0,u.useRef)(e);n.current=e;var r=u.useCallback(function(e){n.current(e)},[]);function o(e){e&&(e.removeEventListener(S,r),e.removeEventListener(Z,r))}return u.useEffect(function(){return function(){o(t.current)}},[]),[function(e){t.current&&t.current!==e&&o(t.current),e&&e!==t.current&&(e.addEventListener(S,r),e.addEventListener(Z,r),t.current=e)},o]},B=n(15671),H=n(43144),W=n(60136),q=n(33643),$=function(e){(0,W.Z)(n,e);var t=(0,q.Z)(n);function n(){return(0,B.Z)(this,n),t.apply(this,arguments)}return(0,H.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(u.Component),K=function(e){var t=e;function n(e){return!!(e.motionName&&t)}"object"===(0,s.Z)(e)&&(t=e.transitionSupport);var r=u.forwardRef(function(e,t){var r,o,i,s=e.visible,p=void 0===s||s,m=e.removeOnLeave,v=e.forceRender,g=e.children,y=e.motionName,b=e.leavedClassName,w=e.eventProps,x=n(e),E=(0,u.useRef)(),C=(0,u.useRef)(),Z=function(e,t,n,r){var o=r.motionEnter,i=void 0===o||o,s=r.motionAppear,f=void 0===s||s,d=r.motionLeave,p=void 0===d||d,h=r.motionDeadline,m=r.motionLeaveImmediately,v=r.onAppearPrepare,g=r.onEnterPrepare,y=r.onLeavePrepare,b=r.onAppearStart,w=r.onEnterStart,x=r.onLeaveStart,E=r.onAppearActive,C=r.onEnterActive,Z=r.onLeaveActive,S=r.onAppearEnd,k=r.onEnterEnd,P=r.onLeaveEnd,L=r.onVisibleChanged,F=(0,j.Z)(),V=(0,c.Z)(F,2),B=V[0],H=V[1],W=(0,j.Z)(N),q=(0,c.Z)(W,2),$=q[0],K=q[1],G=(0,j.Z)(null),Y=(0,c.Z)(G,2),X=Y[0],Q=Y[1],J=(0,u.useRef)(!1),ee=(0,u.useRef)(null),et=(0,u.useRef)(!1);function en(e){var t,r=n();if(!e||e.deadline||e.target===r){var o=et.current;$===_&&o?t=null==S?void 0:S(r,e):$===T&&o?t=null==k?void 0:k(r,e):$===O&&o&&(t=null==P?void 0:P(r,e)),$!==N&&o&&!1!==t&&(K(N,!0),Q(null,!0))}}var er=U(en),eo=(0,c.Z)(er,1)[0],ei=u.useMemo(function(){var e,t,n;switch($){case _:return e={},(0,a.Z)(e,R,v),(0,a.Z)(e,A,b),(0,a.Z)(e,M,E),e;case T:return t={},(0,a.Z)(t,R,g),(0,a.Z)(t,A,w),(0,a.Z)(t,M,C),t;case O:return n={},(0,a.Z)(n,R,y),(0,a.Z)(n,A,x),(0,a.Z)(n,M,Z),n;default:return{}}},[$]),ea=z($,function(e){if(e===R){var t,r=ei[R];return!!r&&r(n())}return es in ei&&Q((null===(t=ei[es])||void 0===t?void 0:t.call(ei,n(),null))||null),es===M&&(eo(n()),h>0&&(clearTimeout(ee.current),ee.current=setTimeout(function(){en({deadline:!0})},h))),!0}),el=(0,c.Z)(ea,2),ec=el[0],es=el[1],eu=D(es);et.current=eu,I(function(){H(t);var n,r=J.current;J.current=!0,e&&(!r&&t&&f&&(n=_),r&&t&&i&&(n=T),(r&&!t&&p||!r&&m&&!t&&p)&&(n=O),n&&(K(n),ec()))},[t]),(0,u.useEffect)(function(){($!==_||f)&&($!==T||i)&&($!==O||p)||K(N)},[f,i,p]),(0,u.useEffect)(function(){return function(){J.current=!1,clearTimeout(ee.current)}},[]);var ef=u.useRef(!1);(0,u.useEffect)(function(){B&&(ef.current=!0),void 0!==B&&$===N&&((ef.current||B)&&(null==L||L(B)),ef.current=!0)},[B,$]);var ed=X;return ei[R]&&es===A&&(ed=(0,l.Z)({transition:"none"},ed)),[$,es,ed,null!=B?B:t]}(x,p,function(){try{return E.current instanceof HTMLElement?E.current:(0,f.Z)(C.current)}catch(e){return null}},e),S=(0,c.Z)(Z,4),P=S[0],L=S[1],F=S[2],V=S[3],B=u.useRef(V);V&&(B.current=!0);var H=u.useCallback(function(e){E.current=e,(0,d.mH)(t,e)},[t]),W=(0,l.Z)((0,l.Z)({},w),{},{visible:p});return g?P!==N&&n(e)?(L===R?i="prepare":D(L)?i="active":L===A&&(i="start"),r=g((0,l.Z)((0,l.Z)({},W),{},{className:h()(k(y,P),(o={},(0,a.Z)(o,k(y,"".concat(P,"-").concat(i)),i),(0,a.Z)(o,y,"string"==typeof y),o)),style:F}),H)):r=V?g((0,l.Z)({},W),H):!(void 0===m||m)&&B.current?g((0,l.Z)((0,l.Z)({},W),{},{className:b}),H):v?g((0,l.Z)((0,l.Z)({},W),{},{style:{display:"none"}}),H):null:r=null,u.isValidElement(r)&&(0,d.Yr)(r)&&!r.ref&&(r=u.cloneElement(r,{ref:H})),u.createElement($,{ref:C},r)});return r.displayName="CSSMotion",r}(C),G=n(87462),Y=n(45987),X="keep",Q="remove",J="removed";function ee(e){var t;return t=e&&"object"===(0,s.Z)(e)&&"key"in e?e:{key:e},(0,l.Z)((0,l.Z)({},t),{},{key:String(t.key)})}function et(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ee)}var en=["component","children","onVisibleChanged","onAllRemoved"],er=["status"],eo=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ei=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K,n=function(e){(0,W.Z)(r,e);var n=(0,q.Z)(r);function r(){var e;(0,B.Z)(this,r);for(var t=arguments.length,o=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=et(e),a=et(t);i.forEach(function(e){for(var t=!1,i=r;i1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==Q})).forEach(function(t){t.key===e&&(t.status=X)})}),n})(r,et(n)).filter(function(e){var t=r.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==J||e.status!==Q})}}}]),r}(u.Component);return n.defaultProps={component:"div"},n}(C),ea=K},51784:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(87462),o=n(4942),i=n(15671),a=n(43144),l=n(60136),c=n(33643),s=n(67294),u=n(73935),f=n(94184),d=n.n(f),p=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;a=l&&(a.key=i[0].notice.key,a.updateMark=w(),a.userPassKey=o,i.shift()),i.push({notice:a,holderCallback:n})),{notices:i}})},e.remove=function(t){e.setState(function(e){return{notices:e.notices.filter(function(e){var n=e.notice,r=n.key,o=n.userPassKey;return(null!=o?o:r)!==t})}})},e.noticePropsMap={},e}return(0,l.Z)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r="".concat(t,"-").concat(n)),r}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,a=n.className,l=n.closeIcon,c=n.style,s=[];return t.forEach(function(n,o){var a=n.notice,c=n.holderCallback,u=o===t.length-1?a.updateMark:void 0,f=a.key,d=a.userPassKey,p=(0,i.Z)((0,i.Z)((0,i.Z)({prefixCls:r,closeIcon:l},a),a.props),{},{key:f,noticeKey:d||f,updateMark:u,onClose:function(t){var n;e.remove(t),null===(n=a.onClose)||void 0===n||n.call(a)},onClick:a.onClick,children:a.content});s.push(f),e.noticePropsMap[f]={props:p,holderCallback:c}}),u.createElement("div",{className:p()(r,a),style:c},u.createElement(h.V,{keys:s,motionName:this.getTransitionName(),onVisibleChanged:function(t,n){var r=n.key;t||delete e.noticePropsMap[r]}},function(t){var n=t.key,a=t.className,l=t.style,c=t.visible,s=e.noticePropsMap[n],f=s.props,d=s.holderCallback;return d?u.createElement("div",{key:n,className:p()(a,"".concat(r,"-hook-holder")),style:(0,i.Z)({},l),ref:function(t){void 0!==n&&(t?(e.hookRefs.set(n,t),d(t,f)):e.hookRefs.delete(n))}}):u.createElement(m.Z,(0,o.Z)({},f,{className:p()(a,null==f?void 0:f.className),style:(0,i.Z)((0,i.Z)({},l),null==f?void 0:f.style),visible:c}))}))}}]),n}(u.Component);x.newInstance=void 0,x.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},x.newInstance=function(e,t){var n=e||{},i=n.getContainer,a=(0,r.Z)(n,g),l=document.createElement("div");i?i().appendChild(l):document.body.appendChild(l);var c=!1;(0,f.s)(u.createElement(x,(0,o.Z)({},a,{ref:function(e){c||(c=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){(0,f.v)(l),l.parentNode&&l.parentNode.removeChild(l)},useNotification:function(){return(0,v.Z)(e)}}))}})),l)};var E=x},51550:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(74902),o=n(87462),i=n(97685),a=n(67294),l=n(51784);function c(e){var t=a.useRef({}),n=a.useState([]),c=(0,i.Z)(n,2),s=c[0],u=c[1];return[function(n){var i=!0;e.add(n,function(e,n){var c=n.key;if(e&&(!t.current[c]||i)){var s=a.createElement(l.Z,(0,o.Z)({},n,{holder:e}));t.current[c]=s,u(function(e){var t=e.findIndex(function(e){return e.key===n.key});if(-1===t)return[].concat((0,r.Z)(e),[s]);var o=(0,r.Z)(e);return o[t]=s,o})}i=!1})},a.createElement(a.Fragment,null,s)]}},34243:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(87462),o=n(1413),i=n(97685),a=n(45987),l=n(67294),c=n(94184),s=n.n(c),u=n(48555),f=n(8410),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0,h=l.forwardRef(function(e,t){var n,i=e.prefixCls,c=e.invalidate,f=e.item,h=e.renderItem,m=e.responsive,v=e.responsiveDisabled,g=e.registerSize,y=e.itemKey,b=e.className,w=e.style,x=e.children,E=e.display,C=e.order,Z=e.component,S=(0,a.Z)(e,d),k=m&&!E;l.useEffect(function(){return function(){g(y,null)}},[]);var N=h&&f!==p?h(f):x;c||(n={opacity:k?0:1,height:k?0:p,overflowY:k?"hidden":p,order:m?C:p,pointerEvents:k?"none":p,position:k?"absolute":p});var _={};k&&(_["aria-hidden"]=!0);var T=l.createElement(void 0===Z?"div":Z,(0,r.Z)({className:s()(!c&&i,b),style:(0,o.Z)((0,o.Z)({},n),w)},_,S,{ref:t}),N);return m&&(T=l.createElement(u.default,{onResize:function(e){g(y,e.offsetWidth)},disabled:v},T)),T});h.displayName="Item";var m=n(75164),v=n(30470),g=["component"],y=["className"],b=["className"],w=l.forwardRef(function(e,t){var n=l.useContext(E);if(!n){var o=e.component,i=(0,a.Z)(e,g);return l.createElement(void 0===o?"div":o,(0,r.Z)({},i,{ref:t}))}var c=n.className,u=(0,a.Z)(n,y),f=e.className,d=(0,a.Z)(e,b);return l.createElement(E.Provider,{value:null},l.createElement(h,(0,r.Z)({ref:t,className:s()(c,f)},u,d)))});w.displayName="RawItem";var x=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],E=l.createContext(null),C="responsive",Z="invalidate";function S(e){return"+ ".concat(e.length," ...")}var k=l.forwardRef(function(e,t){var n,c,d,p,g,y,b=e.prefixCls,w=void 0===b?"rc-overflow":b,k=e.data,N=void 0===k?[]:k,_=e.renderItem,T=e.renderRawItem,O=e.itemKey,P=e.itemWidth,R=void 0===P?10:P,A=e.ssr,M=e.style,j=e.className,L=e.maxCount,F=e.renderRest,I=e.renderRawRest,V=e.suffix,D=e.component,z=e.itemComponent,U=e.onVisibleChange,B=(0,a.Z)(e,x),H=(n=(0,v.Z)({}),c=(0,i.Z)(n,2)[1],d=(0,l.useRef)([]),p=0,g=0,function(e){var t=p;return p+=1,d.current.lengthL,eR=(0,l.useMemo)(function(){var e=N;return eT?e=null===K&&W?N:N.slice(0,Math.min(N.length,Y/R)):"number"==typeof L&&(e=N.slice(0,L)),e},[N,R,K,L,eT]),eA=(0,l.useMemo)(function(){return eT?N.slice(ex+1):N.slice(eR.length)},[N,eR,eT,ex]),eM=(0,l.useCallback)(function(e,t){var n;return"function"==typeof O?O(e):null!==(n=O&&(null==e?void 0:e[O]))&&void 0!==n?n:t},[O]),ej=(0,l.useCallback)(_||function(e){return e},[_]);function eL(e,t,n){(eb!==e||void 0!==t&&t!==em)&&(ew(e),n||(eS(eY){eL(r-1,e-o-ef+el);break}}V&&eI(0)+ef>Y&&ev(null)}},[Y,J,el,ef,eM,eR]);var eV=eZ&&!!eA.length,eD={};null!==em&&eT&&(eD={position:"absolute",left:em,top:0});var ez={prefixCls:ek,responsive:eT,component:z,invalidate:eO},eU=T?function(e,t){var n=eM(e,t);return l.createElement(E.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},ez),{},{order:t,item:e,itemKey:n,registerSize:eF,display:t<=ex})},T(e,t))}:function(e,t){var n=eM(e,t);return l.createElement(h,(0,r.Z)({},ez,{order:t,key:n,item:e,renderItem:ej,itemKey:n,registerSize:eF,display:t<=ex}))},eB={order:eV?ex:Number.MAX_SAFE_INTEGER,className:"".concat(ek,"-rest"),registerSize:function(e,t){ec(t),eo(el)},display:eV};if(I)I&&(y=l.createElement(E.Provider,{value:(0,o.Z)((0,o.Z)({},ez),eB)},I(eA)));else{var eH=F||S;y=l.createElement(h,(0,r.Z)({},ez,eB),"function"==typeof eH?eH(eA):eH)}var eW=l.createElement(void 0===D?"div":D,(0,r.Z)({className:s()(!eO&&w,j),style:M,ref:t},B),eR.map(eU),eP?y:null,V&&l.createElement(h,(0,r.Z)({},ez,{responsive:e_,responsiveDisabled:!eT,order:ex,className:"".concat(ek,"-suffix"),registerSize:function(e,t){ed(t)},display:!0,style:eD}),V));return e_&&(eW=l.createElement(u.default,{onResize:function(e,t){G(t.clientWidth)},disabled:!eT},eW)),eW});k.displayName="Overflow",k.Item=w,k.RESPONSIVE=C,k.INVALIDATE=Z;var N=k},62906:function(e,t){"use strict";t.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},48555:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var r=n(87462),o=n(67294),i=n(50344);n(80334);var a=n(1413),l=n(42550),c=n(34203),s=n(91033),u=new Map,f=new s.Z(function(e){e.forEach(function(e){var t,n=e.target;null===(t=u.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),d=n(15671),p=n(43144),h=n(60136),m=n(33643),v=function(e){(0,h.Z)(n,e);var t=(0,m.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,p.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),g=o.createContext(null);function y(e){var t=e.children,n=e.disabled,r=o.useRef(null),i=o.useRef(null),s=o.useContext(g),d="function"==typeof t,p=d?t(r):t,h=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!d&&o.isValidElement(p)&&(0,l.Yr)(p),y=m?p.ref:null,b=o.useMemo(function(){return(0,l.sQ)(y,r)},[y,r]),w=o.useRef(e);w.current=e;var x=o.useCallback(function(e){var t=w.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,l=o.height,c=e.offsetWidth,u=e.offsetHeight,f=Math.floor(i),d=Math.floor(l);if(h.current.width!==f||h.current.height!==d||h.current.offsetWidth!==c||h.current.offsetHeight!==u){var p={width:f,height:d,offsetWidth:c,offsetHeight:u};h.current=p;var m=(0,a.Z)((0,a.Z)({},p),{},{offsetWidth:c===Math.round(i)?i:c,offsetHeight:u===Math.round(l)?l:u});null==s||s(m,e,r),n&&Promise.resolve().then(function(){n(m,e)})}},[]);return o.useEffect(function(){var e=(0,c.Z)(r.current)||(0,c.Z)(i.current);return e&&!n&&(u.has(e)||(u.set(e,new Set),f.observe(e)),u.get(e).add(x)),function(){u.has(e)&&(u.get(e).delete(x),u.get(e).size||(f.unobserve(e),u.delete(e)))}},[r.current,n]),o.createElement(v,{ref:i},m?o.cloneElement(p,{ref:b}):p)}function b(e){var t=e.children;return("function"==typeof t?[t]:(0,i.Z)(t)).map(function(t,n){var i=(null==t?void 0:t.key)||"".concat("rc-observer-key","-").concat(n);return o.createElement(y,(0,r.Z)({},e,{key:i}),t)})}b.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(g),l=o.useCallback(function(e,t,o){r.current+=1;var l=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then(function(){l===r.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,o)},[n,a]);return o.createElement(g.Provider,{value:l},t)};var w=b},57239:function(e,t,n){"use strict";n.r(t),n.d(t,{ResizableTextArea:function(){return Z},default:function(){return S}});var r,o=n(87462),i=n(15671),a=n(43144),l=n(60136),c=n(33643),s=n(67294),u=n(4942),f=n(1413),d=n(71002),p=n(97685),h=n(45987),m=n(48555),v=n(8410),g=n(75164),y=n(21770),b=n(94184),w=n.n(b),x=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],E={},C=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Z=s.forwardRef(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-textarea":n,a=(e.onPressEnter,e.defaultValue),l=e.value,c=e.autoSize,b=e.onResize,Z=e.className,S=e.style,k=e.disabled,N=e.onChange,_=(e.onInternalAutoSize,(0,h.Z)(e,C)),T=(0,y.Z)(a,{value:l,postState:function(e){return null!=e?e:""}}),O=(0,p.Z)(T,2),P=O[0],R=O[1],A=s.useRef();s.useImperativeHandle(t,function(){return{textArea:A.current}});var M=s.useMemo(function(){return c&&"object"===(0,d.Z)(c)?[c.minRows,c.maxRows]:[]},[c]),j=(0,p.Z)(M,2),L=j[0],F=j[1],I=!!c,V=function(){try{if(document.activeElement===A.current){var e=A.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;A.current.setSelectionRange(t,n),A.current.scrollTop=r}}catch(o){}},D=s.useState(2),z=(0,p.Z)(D,2),U=z[0],B=z[1],H=s.useState(),W=(0,p.Z)(H,2),q=W[0],$=W[1],K=function(){B(0)};(0,v.Z)(function(){I&&K()},[l,L,F,I]),(0,v.Z)(function(){if(0===U)B(1);else if(1===U){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&E[n])return E[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l={sizingStyle:x.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(E[n]=l),l}(e,n),l=a.paddingSize,c=a.borderSize,s=a.boxSizing,u=a.sizingStyle;r.setAttribute("style","".concat(u,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var f=void 0,d=void 0,p=r.scrollHeight;if("border-box"===s?p+=c:"content-box"===s&&(p-=l),null!==o||null!==i){r.value=" ";var h=r.scrollHeight-l;null!==o&&(f=h*o,"border-box"===s&&(f=f+l+c),p=Math.max(f,p)),null!==i&&(d=h*i,"border-box"===s&&(d=d+l+c),t=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:t,resize:"none"};return f&&(m.minHeight=f),d&&(m.maxHeight=d),m}(A.current,!1,L,F);B(2),$(e)}else V()},[U]);var G=s.useRef(),Y=function(){g.Z.cancel(G.current)};s.useEffect(function(){return Y},[]);var X=(0,f.Z)((0,f.Z)({},S),I?q:null);return(0===U||1===U)&&(X.overflowY="hidden",X.overflowX="hidden"),s.createElement(m.default,{onResize:function(e){2===U&&(null==b||b(e),c&&(Y(),G.current=(0,g.Z)(function(){K()})))},disabled:!(c||b)},s.createElement("textarea",(0,o.Z)({},_,{ref:A,style:X,className:w()(i,Z,(0,u.Z)({},"".concat(i,"-disabled"),k)),disabled:k,value:P,onChange:function(e){R(e.target.value),null==N||N(e)}})))}),S=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(e){(0,i.Z)(this,n),(r=t.call(this,e)).resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,o=t.onKeyDown;13===e.keyCode&&n&&n(e),o&&o(e)};var r,o=void 0===e.value||null===e.value?e.defaultValue:e.value;return r.state={value:o},r}return(0,a.Z)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return s.createElement(Z,(0,o.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(s.Component)},43763:function(e,t,n){"use strict";n.r(t),n.d(t,{Popup:function(){return d},default:function(){return p}});var r=n(87462),o=n(71002),i=n(1413),a=n(45987),l=n(67294),c=n(81263),s=n(43159),u=n(94184),f=n.n(u);function d(e){var t=e.showArrow,n=e.arrowContent,r=e.children,o=e.prefixCls,i=e.id,a=e.overlayInnerStyle,c=e.className,s=e.style;return l.createElement("div",{className:f()("".concat(o,"-content"),c),style:s},!1!==t&&l.createElement("div",{className:"".concat(o,"-arrow"),key:"arrow"},n),l.createElement("div",{className:"".concat(o,"-inner"),id:i,role:"tooltip",style:a},"function"==typeof r?r():r))}var p=(0,l.forwardRef)(function(e,t){var n=e.overlayClassName,u=e.trigger,f=e.mouseEnterDelay,p=e.mouseLeaveDelay,h=e.overlayStyle,m=e.prefixCls,v=void 0===m?"rc-tooltip":m,g=e.children,y=e.onVisibleChange,b=e.afterVisibleChange,w=e.transitionName,x=e.animation,E=e.motion,C=e.placement,Z=e.align,S=e.destroyTooltipOnHide,k=void 0!==S&&S,N=e.defaultVisible,_=e.getTooltipContainer,T=e.overlayInnerStyle,O=e.arrowContent,P=e.overlay,R=e.id,A=e.showArrow,M=(0,a.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),j=(0,l.useRef)(null);(0,l.useImperativeHandle)(t,function(){return j.current});var L=(0,i.Z)({},M);"visible"in e&&(L.popupVisible=e.visible);var F=!1,I=!1;if("boolean"==typeof k)F=k;else if(k&&"object"===(0,o.Z)(k)){var V=k.keepParent;F=!0===V,I=!1===V}return l.createElement(c.Z,(0,r.Z)({popupClassName:n,prefixCls:v,popup:function(){return l.createElement(d,{showArrow:A,arrowContent:O,key:"content",prefixCls:v,id:R,overlayInnerStyle:T},P)},action:void 0===u?["hover"]:u,builtinPlacements:s.C,popupPlacement:void 0===C?"right":C,ref:j,popupAlign:void 0===Z?{}:Z,getPopupContainer:_,onPopupVisibleChange:y,afterPopupVisibleChange:b,popupTransitionName:w,popupAnimation:x,popupMotion:E,defaultPopupVisible:N,destroyPopupOnHide:F,autoDestroy:I,mouseLeaveDelay:void 0===p?.1:p,popupStyle:h,mouseEnterDelay:void 0===f?0:f},L),g)})},43159:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r={adjustX:1,adjustY:1},o=[0,0],i={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:o}}},81263:function(e,t,n){"use strict";n.d(t,{Z:function(){return eQ}});var r,o,i,a=n(1413),l=n(87462),c=n(15671),s=n(43144),u=n(97326),f=n(60136),d=n(33643),p=n(4942),h=n(67294),m=n(73935),v=n(75164),g=n(94999),y=n(34203),b=n(42550),w=n(64019),x=n(98924),E=(0,h.forwardRef)(function(e,t){var n=e.didUpdate,r=e.getContainer,o=e.children,i=(0,h.useRef)(),a=(0,h.useRef)();(0,h.useImperativeHandle)(t,function(){return{}});var l=(0,h.useRef)(!1);return!l.current&&(0,x.Z)()&&(a.current=r(),i.current=a.current.parentNode,l.current=!0),(0,h.useEffect)(function(){null==n||n(e)}),(0,h.useEffect)(function(){return null===a.current.parentNode&&null!==i.current&&i.current.appendChild(a.current),function(){var e,t;null===(e=a.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(a.current)}},[]),a.current?m.createPortal(o,a.current):null}),C=n(94184),Z=n.n(C),S=n(97685),k=n(45987),N=n(31131),_=n(62874);function T(e){var t=e.prefixCls,n=e.motion,r=e.animation,o=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:o?{motionName:o}:null)}function O(e){var t=e.prefixCls,n=e.visible,r=e.zIndex,o=e.mask,i=e.maskMotion,c=e.maskAnimation,s=e.maskTransitionName;if(!o)return null;var u={};return(i||s||c)&&(u=(0,a.Z)({motionAppear:!0},T({motion:i,prefixCls:t,transitionName:s,animation:c}))),h.createElement(_.Z,(0,l.Z)({},u,{visible:n,removeOnLeave:!0}),function(e){var n=e.className;return h.createElement("div",{style:{zIndex:r},className:Z()("".concat(t,"-mask"),n)})})}var P=n(71002),R=n(5110);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function M(e){for(var t=1;tNumber(c))&&(c=e.style[t]||0),c=Math.floor(parseFloat(c))||0),void 0===r&&(r=l?1:-1);var s=void 0!==a||l,u=a||c;return -1===r?s?u-ec(e,["border","padding"],o):c:s?1===r?u:u+(2===r?-ec(e,["border"],o):ec(e,["margin"],o)):c+ec(e,el.slice(r),o)}ei(["Width","Height"],function(e){es["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],es["viewport".concat(e)](n))},es["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}});var ef={position:"absolute",visibility:"hidden",display:"block"};function ed(){for(var e,t=arguments.length,n=Array(t),r=0;r=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function eb(e){if(eh.isWindow(e)||9===e.nodeType){var t,n,r,o=eh.getWindow(e);t={left:eh.getWindowScrollLeft(o),top:eh.getWindowScrollTop(o)},n=eh.viewportWidth(o),r=eh.viewportHeight(o)}else t=eh.offset(e),n=eh.outerWidth(e),r=eh.outerHeight(e);return t.width=n,t.height=r,t}function ew(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,l=e.top;return"c"===n?l+=i/2:"b"===n&&(l+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:l}}function ex(e,t,n,r,o){var i=ew(t,n[1]),a=ew(e,n[0]),l=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-l[0]+r[0]-o[0]),top:Math.round(e.top-l[1]+r[1]-o[1])}}function eE(e,t,n){return e.leftn.right}function eC(e,t,n){return e.topn.bottom}function eZ(e,t,n){var r=[];return eh.each(e,function(e){r.push(e.replace(t,function(e){return n[e]}))}),r}function eS(e,t){return e[t]=-e[t],e}function ek(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function eN(e,t){e[0]=ek(e[0],t.width),e[1]=ek(e[1],t.height)}function e_(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],l=n.overflow,c=n.source||e;i=[].concat(i),a=[].concat(a);var s={},u=0,f=ey(c,!!(l=l||{}).alwaysByViewport),d=eb(c);eN(i,d),eN(a,t);var p=ex(d,t,o,i,a),h=eh.merge(d,p);if(f&&(l.adjustX||l.adjustY)&&r){if(l.adjustX&&eE(p,d,f)){var m,v,g,y,b=eZ(o,/[lr]/gi,{l:"r",r:"l"}),w=eS(i,0),x=eS(a,0);(y=ex(d,t,b,w,x)).left>f.right||y.left+d.widthf.bottom||E.top+d.height=f.left&&v.left+g.width>f.right&&(g.width-=v.left+g.width-f.right),s.adjustX&&v.left+g.width>f.right&&(v.left=Math.max(f.right-g.width,f.left)),s.adjustY&&v.top=f.top&&v.top+g.height>f.bottom&&(g.height-=v.top+g.height-f.bottom),s.adjustY&&v.top+g.height>f.bottom&&(v.top=Math.max(f.bottom-g.height,f.top)),h=eh.mix(v,g))}return h.width!==d.width&&eh.css(c,"width",eh.width(c)+h.width-d.width),h.height!==d.height&&eh.css(c,"height",eh.height(c)+h.height-d.height),eh.offset(c,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:s}}function eT(e,t,n){var r,o,i=n.target||t,a=eb(i),l=(r=ey(i,n.overflow&&n.overflow.alwaysByViewport),o=eb(i),!!r&&!(o.left+o.width<=r.left)&&!(o.top+o.height<=r.top)&&!(o.left>=r.right)&&!(o.top>=r.bottom));return e_(e,a,n,l)}eT.__getOffsetParent=ev,eT.__getVisibleRectForElement=ey;var eO=n(18446),eP=n.n(eO),eR=n(91033);function eA(e,t){var n=null,r=null,o=new eR.Z(function(e){var o=(0,S.Z)(e,1)[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),a=i.width,l=i.height,c=Math.floor(a),s=Math.floor(l);(n!==c||r!==s)&&Promise.resolve().then(function(){t({width:c,height:s})}),n=c,r=s}});return e&&o.observe(e),function(){o.disconnect()}}var eM=function(e,t){var n=h.useRef(!1),r=h.useRef(null);function o(){window.clearTimeout(r.current)}return[function i(a){if(o(),n.current&&!0!==a)r.current=window.setTimeout(function(){n.current=!1,i()},t);else{if(!1===e())return;n.current=!0,r.current=window.setTimeout(function(){n.current=!1},t)}},function(){n.current=!1,o()}]};function ej(e){return"function"!=typeof e?null:e()}function eL(e){return"object"===(0,P.Z)(e)&&e?e:null}var eF=h.forwardRef(function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,a=e.onAlign,l=e.monitorWindowResize,c=e.monitorBufferTime,s=h.useRef({}),u=h.useRef(),f=h.Children.only(n),d=h.useRef({});d.current.disabled=r,d.current.target=o,d.current.align=i,d.current.onAlign=a;var p=eM(function(){var e=d.current,t=e.disabled,n=e.target,r=e.align,o=e.onAlign;if(!t&&n){var i,a,l,c,f,p,h,m,v,y,b,w=u.current,x=ej(n),E=eL(n);s.current.element=x,s.current.point=E,s.current.align=r;var C=document.activeElement;return x&&(0,R.Z)(x)?b=eT(w,x,r):E&&(c=(l=eh.getDocument(w)).defaultView||l.parentWindow,f=eh.getWindowScrollLeft(c),p=eh.getWindowScrollTop(c),h=eh.viewportWidth(c),m=eh.viewportHeight(c),v={left:i="pageX"in E?E.pageX:f+E.clientX,top:a="pageY"in E?E.pageY:p+E.clientY,width:0,height:0},y=[r.points[0],"cc"],b=e_(w,v,M(M({},r),{},{points:y}),i>=0&&i<=f+h&&a>=0&&a<=p+m)),C!==document.activeElement&&(0,g.Z)(w,C)&&"function"==typeof C.focus&&C.focus(),o&&b&&o(w,b),!0}return!1},void 0===c?0:c),m=(0,S.Z)(p,2),v=m[0],y=m[1],x=h.useRef({cancel:function(){}}),E=h.useRef({cancel:function(){}});h.useEffect(function(){var e,t=ej(o),n=eL(o);u.current!==E.current.element&&(E.current.cancel(),E.current.element=u.current,E.current.cancel=eA(u.current,v)),s.current.element===t&&((e=s.current.point)===n||e&&n&&("pageX"in n&&"pageY"in n?e.pageX===n.pageX&&e.pageY===n.pageY:"clientX"in n&&"clientY"in n&&e.clientX===n.clientX&&e.clientY===n.clientY))&&eP()(s.current.align,i)||(v(),x.current.element!==t&&(x.current.cancel(),x.current.element=t,x.current.cancel=eA(t,v)))}),h.useEffect(function(){r?y():v()},[r]);var C=h.useRef(null);return h.useEffect(function(){l?C.current||(C.current=(0,w.Z)(window,"resize",v)):C.current&&(C.current.remove(),C.current=null)},[l]),h.useEffect(function(){return function(){x.current.cancel(),E.current.cancel(),C.current&&C.current.remove(),y()}},[]),h.useImperativeHandle(t,function(){return{forceAlign:function(){return v(!0)}}}),h.isValidElement(f)&&(f=h.cloneElement(f,{ref:(0,b.sQ)(f.ref,u)})),f});eF.displayName="Align";var eI=n(8410),eV=n(74165),eD=n(15861),ez=n(30470),eU=["measure","alignPre","align",null,"motion"],eB=function(e,t){var n=(0,ez.Z)(null),r=(0,S.Z)(n,2),o=r[0],i=r[1],a=(0,h.useRef)();function l(){v.Z.cancel(a.current)}return(0,h.useEffect)(function(){i("measure",!0)},[e]),(0,h.useEffect)(function(){"measure"===o&&t(),o&&(a.current=(0,v.Z)((0,eD.Z)((0,eV.Z)().mark(function e(){var t,n;return(0,eV.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(n=eU[(t=eU.indexOf(o))+1])&&-1!==t&&i(n,!0);case 3:case"end":return e.stop()}},e)}))))},[o]),(0,h.useEffect)(function(){return function(){l()}},[]),[o,function(e){l(),a.current=(0,v.Z)(function(){i(function(e){switch(o){case"align":return"motion";case"motion":return"stable"}return e},!0),null==e||e()})}]},eH=function(e){var t=h.useState({width:0,height:0}),n=(0,S.Z)(t,2),r=n[0],o=n[1];return[h.useMemo(function(){var t={};if(e){var n=r.width,o=r.height;-1!==e.indexOf("height")&&o?t.height=o:-1!==e.indexOf("minHeight")&&o&&(t.minHeight=o),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t},[e,r]),function(e){var t=e.offsetWidth,n=e.offsetHeight,r=e.getBoundingClientRect(),i=r.width,a=r.height;1>Math.abs(t-i)&&1>Math.abs(n-a)&&(t=i,n=a),o({width:t,height:n})}]},eW=h.forwardRef(function(e,t){var n=e.visible,r=e.prefixCls,o=e.className,i=e.style,c=e.children,s=e.zIndex,u=e.stretch,f=e.destroyPopupOnHide,d=e.forceRender,p=e.align,m=e.point,v=e.getRootDomNode,g=e.getClassNameFromAlign,y=e.onAlign,b=e.onMouseEnter,w=e.onMouseLeave,x=e.onMouseDown,E=e.onTouchStart,C=e.onClick,k=(0,h.useRef)(),N=(0,h.useRef)(),O=(0,h.useState)(),P=(0,S.Z)(O,2),R=P[0],A=P[1],M=eH(u),j=(0,S.Z)(M,2),L=j[0],F=j[1],I=eB(n,function(){u&&F(v())}),V=(0,S.Z)(I,2),D=V[0],z=V[1],U=(0,h.useState)(0),B=(0,S.Z)(U,2),H=B[0],W=B[1],q=(0,h.useRef)();function $(){var e;null===(e=k.current)||void 0===e||e.forceAlign()}function K(e,t){var n=g(t);R!==n&&A(n),W(function(e){return e+1}),"align"===D&&(null==y||y(e,t))}(0,eI.Z)(function(){"alignPre"===D&&W(0)},[D]),(0,eI.Z)(function(){"align"===D&&(H<3?$():z(function(){var e;null===(e=q.current)||void 0===e||e.call(q)}))},[H]);var G=(0,a.Z)({},T(e));function Y(){return new Promise(function(e){q.current=e})}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(e){var t=G[e];G[e]=function(e,n){return z(),null==t?void 0:t(e,n)}}),h.useEffect(function(){G.motionName||"motion"!==D||z()},[G.motionName,D]),h.useImperativeHandle(t,function(){return{forceAlign:$,getElement:function(){return N.current}}});var X=(0,a.Z)((0,a.Z)({},L),{},{zIndex:s,opacity:"motion"!==D&&"stable"!==D&&n?0:void 0,pointerEvents:n||"stable"===D?void 0:"none"},i),Q=!0;null!=p&&p.points&&("align"===D||"stable"===D)&&(Q=!1);var J=c;return h.Children.count(c)>1&&(J=h.createElement("div",{className:"".concat(r,"-content")},c)),h.createElement(_.Z,(0,l.Z)({visible:n,ref:N,leavedClassName:"".concat(r,"-hidden")},G,{onAppearPrepare:Y,onEnterPrepare:Y,removeOnLeave:f,forceRender:d}),function(e,t){var n=e.className,i=e.style,l=Z()(r,o,R,n);return h.createElement(eF,{target:m||v,key:"popup",ref:k,monitorWindowResize:!0,disabled:Q,align:p,onAlign:K},h.createElement("div",{ref:t,className:l,onMouseEnter:b,onMouseLeave:w,onMouseDownCapture:x,onTouchStartCapture:E,onClick:C,style:(0,a.Z)((0,a.Z)({},i),X)},J))})});eW.displayName="PopupInner";var eq=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.visible,o=e.zIndex,i=e.children,c=e.mobile,s=(c=void 0===c?{}:c).popupClassName,u=c.popupStyle,f=c.popupMotion,d=c.popupRender,p=e.onClick,m=h.useRef();h.useImperativeHandle(t,function(){return{forceAlign:function(){},getElement:function(){return m.current}}});var v=(0,a.Z)({zIndex:o},u),g=i;return h.Children.count(i)>1&&(g=h.createElement("div",{className:"".concat(n,"-content")},i)),d&&(g=d(g)),h.createElement(_.Z,(0,l.Z)({visible:r,ref:m,removeOnLeave:!0},void 0===f?{}:f),function(e,t){var r=e.className,o=e.style,i=Z()(n,s,r);return h.createElement("div",{ref:t,className:i,onClick:p,style:(0,a.Z)((0,a.Z)({},o),v)},g)})});eq.displayName="MobilePopupInner";var e$=["visible","mobile"],eK=h.forwardRef(function(e,t){var n=e.visible,r=e.mobile,o=(0,k.Z)(e,e$),i=(0,h.useState)(n),c=(0,S.Z)(i,2),s=c[0],u=c[1],f=(0,h.useState)(!1),d=(0,S.Z)(f,2),p=d[0],m=d[1],v=(0,a.Z)((0,a.Z)({},o),{},{visible:s});(0,h.useEffect)(function(){u(n),n&&r&&m((0,N.Z)())},[n,r]);var g=p?h.createElement(eq,(0,l.Z)({},v,{mobile:r,ref:t})):h.createElement(eW,(0,l.Z)({},v,{ref:t}));return h.createElement("div",null,h.createElement(O,v),g)});eK.displayName="Popup";var eG=h.createContext(null);function eY(){}var eX=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],eQ=(r=function(e){(0,f.Z)(n,e);var t=(0,d.Z)(n);function n(e){var r,o;return(0,c.Z)(this,n),r=t.call(this,e),(0,p.Z)((0,u.Z)(r),"popupRef",h.createRef()),(0,p.Z)((0,u.Z)(r),"triggerRef",h.createRef()),(0,p.Z)((0,u.Z)(r),"portalContainer",void 0),(0,p.Z)((0,u.Z)(r),"attachId",void 0),(0,p.Z)((0,u.Z)(r),"clickOutsideHandler",void 0),(0,p.Z)((0,u.Z)(r),"touchOutsideHandler",void 0),(0,p.Z)((0,u.Z)(r),"contextMenuOutsideHandler1",void 0),(0,p.Z)((0,u.Z)(r),"contextMenuOutsideHandler2",void 0),(0,p.Z)((0,u.Z)(r),"mouseDownTimeout",void 0),(0,p.Z)((0,u.Z)(r),"focusTime",void 0),(0,p.Z)((0,u.Z)(r),"preClickTime",void 0),(0,p.Z)((0,u.Z)(r),"preTouchTime",void 0),(0,p.Z)((0,u.Z)(r),"delayTimer",void 0),(0,p.Z)((0,u.Z)(r),"hasPopupMouseDown",void 0),(0,p.Z)((0,u.Z)(r),"onMouseEnter",function(e){var t=r.props.mouseEnterDelay;r.fireEvents("onMouseEnter",e),r.delaySetPopupVisible(!0,t,t?null:e)}),(0,p.Z)((0,u.Z)(r),"onMouseMove",function(e){r.fireEvents("onMouseMove",e),r.setPoint(e)}),(0,p.Z)((0,u.Z)(r),"onMouseLeave",function(e){r.fireEvents("onMouseLeave",e),r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)}),(0,p.Z)((0,u.Z)(r),"onPopupMouseEnter",function(){r.clearDelayTimer()}),(0,p.Z)((0,u.Z)(r),"onPopupMouseLeave",function(e){var t;e.relatedTarget&&!e.relatedTarget.setTimeout&&(0,g.Z)(null===(t=r.popupRef.current)||void 0===t?void 0:t.getElement(),e.relatedTarget)||r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)}),(0,p.Z)((0,u.Z)(r),"onFocus",function(e){r.fireEvents("onFocus",e),r.clearDelayTimer(),r.isFocusToShow()&&(r.focusTime=Date.now(),r.delaySetPopupVisible(!0,r.props.focusDelay))}),(0,p.Z)((0,u.Z)(r),"onMouseDown",function(e){r.fireEvents("onMouseDown",e),r.preClickTime=Date.now()}),(0,p.Z)((0,u.Z)(r),"onTouchStart",function(e){r.fireEvents("onTouchStart",e),r.preTouchTime=Date.now()}),(0,p.Z)((0,u.Z)(r),"onBlur",function(e){r.fireEvents("onBlur",e),r.clearDelayTimer(),r.isBlurToHide()&&r.delaySetPopupVisible(!1,r.props.blurDelay)}),(0,p.Z)((0,u.Z)(r),"onContextMenu",function(e){e.preventDefault(),r.fireEvents("onContextMenu",e),r.setPopupVisible(!0,e)}),(0,p.Z)((0,u.Z)(r),"onContextMenuClose",function(){r.isContextMenuToShow()&&r.close()}),(0,p.Z)((0,u.Z)(r),"onClick",function(e){if(r.fireEvents("onClick",e),r.focusTime){var t;if(r.preClickTime&&r.preTouchTime?t=Math.min(r.preClickTime,r.preTouchTime):r.preClickTime?t=r.preClickTime:r.preTouchTime&&(t=r.preTouchTime),20>Math.abs(t-r.focusTime))return;r.focusTime=0}r.preClickTime=0,r.preTouchTime=0,r.isClickToShow()&&(r.isClickToHide()||r.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var n=!r.state.popupVisible;(r.isClickToHide()&&!n||n&&r.isClickToShow())&&r.setPopupVisible(!r.state.popupVisible,e)}),(0,p.Z)((0,u.Z)(r),"onPopupMouseDown",function(){if(r.hasPopupMouseDown=!0,clearTimeout(r.mouseDownTimeout),r.mouseDownTimeout=window.setTimeout(function(){r.hasPopupMouseDown=!1},0),r.context){var e;(e=r.context).onPopupMouseDown.apply(e,arguments)}}),(0,p.Z)((0,u.Z)(r),"onDocumentClick",function(e){if(!r.props.mask||r.props.maskClosable){var t=e.target,n=r.getRootDomNode(),o=r.getPopupDomNode();(!(0,g.Z)(n,t)||r.isContextMenuOnly())&&!(0,g.Z)(o,t)&&!r.hasPopupMouseDown&&r.close()}}),(0,p.Z)((0,u.Z)(r),"getRootDomNode",function(){var e=r.props.getTriggerDOMNode;if(e)return e(r.triggerRef.current);try{var t=(0,y.Z)(r.triggerRef.current);if(t)return t}catch(n){}return m.findDOMNode((0,u.Z)(r))}),(0,p.Z)((0,u.Z)(r),"getPopupClassNameFromAlign",function(e){var t=[],n=r.props,o=n.popupPlacement,i=n.builtinPlacements,a=n.prefixCls,l=n.alignPoint,c=n.getPopupClassNameFromAlign;return o&&i&&t.push(function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},i=[];return r.Children.forEach(t,function(t){(null!=t||n.keepEmpty)&&(Array.isArray(t)?i=i.concat(e(t)):(0,o.isFragment)(t)&&t.props?i=i.concat(e(t.props.children,n)):i.push(t))}),i}}});var r=n(67294),o=n(11805)},64019:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e,t,n,o){var i=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return e.addEventListener&&e.addEventListener(t,i,o),{remove:function(){e.removeEventListener&&e.removeEventListener(t,i,o)}}}},98924:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(t,{Z:function(){return r}})},94999:function(e,t,n){"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{Z:function(){return r}})},44958:function(e,t,n){"use strict";n.d(t,{hq:function(){return p},jL:function(){return d}});var r=n(98924),o=n(94999),i="data-rc-order",a=new Map;function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function c(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function s(e){return Array.from((a.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var n=t.csp,o=t.prepend,a=document.createElement("style");a.setAttribute(i,"queue"===o?"prependQueue":o?"prepend":"append"),(null==n?void 0:n.nonce)&&(a.nonce=null==n?void 0:n.nonce),a.innerHTML=e;var l=c(t),u=l.firstChild;if(o){if("queue"===o){var f=s(l).filter(function(e){return["prepend","prependQueue"].includes(e.getAttribute(i))});if(f.length)return l.insertBefore(a,f[f.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s(c(t)).find(function(n){return n.getAttribute(l(t))===e})}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(e,t);n&&c(t).removeChild(n)}function p(e,t){var n,r,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var n=a.get(e);if(!n||!(0,o.Z)(document,n)){var r=u("",t),i=r.parentNode;a.set(e,i),e.removeChild(r)}}(c(s),s);var d=f(t,s);if(d)return(null===(n=s.csp)||void 0===n?void 0:n.nonce)&&d.nonce!==(null===(r=s.csp)||void 0===r?void 0:r.nonce)&&(d.nonce=null===(i=s.csp)||void 0===i?void 0:i.nonce),d.innerHTML!==e&&(d.innerHTML=e),d;var p=u(e,s);return p.setAttribute(l(s),t),p}},34203:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e){return e instanceof HTMLElement?e:r.findDOMNode(e)}},88603:function(e,t,n){"use strict";n.d(t,{tS:function(){return a}});var r=n(74902),o=n(5110);function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,o.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),a=Number(i),l=null;return i&&!Number.isNaN(a)?l=a:r&&null===l&&(l=0),r&&e.disabled&&(l=null),null!==l&&(l>=0||t&&l<0)}return!1}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.Z)(e.querySelectorAll("*")).filter(function(e){return i(e,t)});return i(e,t)&&n.unshift(e),n}},5110:function(e,t){"use strict";t.Z=function(e){if(!e)return!1;if(e instanceof HTMLElement&&e.offsetParent)return!0;if(e instanceof SVGGraphicsElement&&e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e instanceof HTMLElement&&e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}return!1}},79370:function(e,t,n){"use strict";n.d(t,{G:function(){return a}});var r=n(98924),o=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},i=function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function a(e,t){return Array.isArray(e)||void 0===t?o(e):i(e,t)}},15105:function(e,t){"use strict";var n={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>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE||e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY||e>=n.A&&e<=n.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},38135:function(e,t,n){"use strict";n.d(t,{s:function(){return g},v:function(){return b}});var r,o,i=n(74165),a=n(15861),l=n(71002),c=n(1413),s=n(73935),u=(0,c.Z)({},r||(r=n.t(s,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(h){}function m(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.Z)(t)&&(t.usingClientEntryPoint=e)}var v="__rc_react_root__";function g(e,t){if(o){var n,r;n=t,m(!0),r=n[v]||o(n),m(!1),r.render(e),n[v]=r;return}d(e,t)}function y(){return(y=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[v])||void 0===e||e.unmount(),delete t[v]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function b(e){return w.apply(this,arguments)}function w(){return(w=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==o)){e.next=2;break}return e.abrupt("return",function(e){return y.apply(this,arguments)}(t));case 2:p(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},74204:function(e,t,n){"use strict";var r;function o(e){if("undefined"==typeof document)return 0;if(e||void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var i=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),r=i-a}return r}function i(e){var t=e.match(/^(.*)px$/),n=Number(null==t?void 0:t[1]);return Number.isNaN(n)?o():n}function a(e){if("undefined"==typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:i(n),height:i(r)}}n.d(t,{Z:function(){return o},o:function(){return a}})},66680:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o