From 9d4992db253147d419b5445b2ef4eb7323834e23 Mon Sep 17 00:00:00 2001 From: Leon Jacobs Date: Tue, 17 Dec 2024 10:05:41 +0200 Subject: [PATCH] (chore) bump deps --- go.mod | 38 +- go.sum | 42 + web/ui/dist/assets/index-CrWKgE3H.js | 408 +++++ web/ui/dist/assets/index-DewcPO5K.css | 1 - web/ui/dist/assets/index-Kdb9YQmt.js | 421 ----- web/ui/dist/assets/index-fv2PW088.css | 1 + web/ui/dist/index.html | 4 +- web/ui/package-lock.json | 2305 ++++++++++--------------- 8 files changed, 1345 insertions(+), 1875 deletions(-) create mode 100644 web/ui/dist/assets/index-CrWKgE3H.js delete mode 100644 web/ui/dist/assets/index-DewcPO5K.css delete mode 100644 web/ui/dist/assets/index-Kdb9YQmt.js create mode 100644 web/ui/dist/assets/index-fv2PW088.css diff --git a/go.mod b/go.mod index 24dfb5ae..49c0d3bb 100644 --- a/go.mod +++ b/go.mod @@ -4,24 +4,24 @@ go 1.23.0 require ( github.com/charmbracelet/glamour v0.8.0 - github.com/charmbracelet/lipgloss v0.13.0 + github.com/charmbracelet/lipgloss v1.0.0 github.com/charmbracelet/log v0.4.0 - github.com/charmbracelet/x/term v0.2.0 - github.com/chromedp/cdproto v0.0.0-20241014181340-cb3a7a1d51d7 - github.com/chromedp/chromedp v0.11.0 + github.com/charmbracelet/x/term v0.2.1 + github.com/chromedp/cdproto v0.0.0-20241208230723-d1c7de7e5dd2 + github.com/chromedp/chromedp v0.11.2 github.com/corona10/goimagehash v1.1.0 github.com/glebarez/sqlite v1.11.0 - github.com/go-chi/chi/v5 v5.1.0 + github.com/go-chi/chi/v5 v5.2.0 github.com/go-chi/cors v1.2.1 github.com/go-rod/rod v0.116.2 github.com/lair-framework/go-nmap v0.0.0-20191202052157-3507e0b03523 - github.com/projectdiscovery/wappalyzergo v0.1.24 + github.com/projectdiscovery/wappalyzergo v0.2.7 github.com/spf13/cobra v1.8.1 github.com/swaggo/http-swagger v1.3.4 github.com/swaggo/swag v1.16.4 github.com/ysmood/gson v0.7.3 gorm.io/driver/mysql v1.5.7 - gorm.io/driver/postgres v1.5.9 + gorm.io/driver/postgres v1.5.11 gorm.io/gorm v1.25.12 ) @@ -31,7 +31,7 @@ require ( github.com/alecthomas/chroma/v2 v2.14.0 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/aymerick/douceur v0.2.0 // indirect - github.com/charmbracelet/x/ansi v0.3.2 // indirect + github.com/charmbracelet/x/ansi v0.6.0 // indirect github.com/chromedp/sysutil v1.1.0 // indirect github.com/dlclark/regexp2 v1.11.4 // indirect github.com/dustin/go-humanize v1.0.1 // indirect @@ -56,7 +56,7 @@ require ( github.com/jinzhu/now v1.1.5 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect - github.com/mailru/easyjson v0.7.7 // indirect + github.com/mailru/easyjson v0.9.0 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.16 // indirect github.com/microcosm-cc/bluemonday v1.0.27 // indirect @@ -74,17 +74,17 @@ require ( github.com/ysmood/leakless v0.9.0 // indirect github.com/yuin/goldmark v1.7.8 // indirect github.com/yuin/goldmark-emoji v1.0.4 // indirect - golang.org/x/crypto v0.28.0 // indirect - golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect - golang.org/x/net v0.30.0 // indirect - golang.org/x/sync v0.8.0 // indirect - golang.org/x/sys v0.26.0 // indirect - golang.org/x/term v0.25.0 // indirect - golang.org/x/text v0.19.0 // indirect - golang.org/x/tools v0.26.0 // indirect + golang.org/x/crypto v0.31.0 // indirect + golang.org/x/exp v0.0.0-20241215155358-4a5509556b9e // indirect + golang.org/x/net v0.32.0 // indirect + golang.org/x/sync v0.10.0 // indirect + golang.org/x/sys v0.28.0 // indirect + golang.org/x/term v0.27.0 // indirect + golang.org/x/text v0.21.0 // indirect + golang.org/x/tools v0.28.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - modernc.org/libc v1.61.0 // indirect + modernc.org/libc v1.61.4 // indirect modernc.org/mathutil v1.6.0 // indirect modernc.org/memory v1.8.0 // indirect - modernc.org/sqlite v1.33.1 // indirect + modernc.org/sqlite v1.34.2 // indirect ) diff --git a/go.sum b/go.sum index 020d3f5e..f96cf874 100644 --- a/go.sum +++ b/go.sum @@ -18,16 +18,22 @@ github.com/charmbracelet/glamour v0.8.0 h1:tPrjL3aRcQbn++7t18wOpgLyl8wrOHUEDS7IZ github.com/charmbracelet/glamour v0.8.0/go.mod h1:ViRgmKkf3u5S7uakt2czJ272WSg2ZenlYEZXT2x7Bjw= github.com/charmbracelet/lipgloss v0.13.0 h1:4X3PPeoWEDCMvzDvGmTajSyYPcZM4+y8sCA/SsA3cjw= github.com/charmbracelet/lipgloss v0.13.0/go.mod h1:nw4zy0SBX/F/eAO1cWdcvy6qnkDUxr8Lw7dvFrAIbbY= +github.com/charmbracelet/lipgloss v1.0.0 h1:O7VkGDvqEdGi93X+DeqsQ7PKHDgtQfF8j8/O2qFMQNg= +github.com/charmbracelet/lipgloss v1.0.0/go.mod h1:U5fy9Z+C38obMs+T+tJqst9VGzlOYGj4ri9reL3qUlo= github.com/charmbracelet/log v0.4.0 h1:G9bQAcx8rWA2T3pWvx7YtPTPwgqpk7D68BX21IRW8ZM= github.com/charmbracelet/log v0.4.0/go.mod h1:63bXt/djrizTec0l11H20t8FDSvA4CRZJ1KH22MdptM= github.com/charmbracelet/x/ansi v0.2.3 h1:VfFN0NUpcjBRd4DnKfRaIRo53KRgey/nhOoEqosGDEY= github.com/charmbracelet/x/ansi v0.2.3/go.mod h1:dk73KoMTT5AX5BsX0KrqhsTqAnhZZoCBjs7dGWp4Ktw= github.com/charmbracelet/x/ansi v0.3.2 h1:wsEwgAN+C9U06l9dCVMX0/L3x7ptvY1qmjMwyfE6USY= github.com/charmbracelet/x/ansi v0.3.2/go.mod h1:dk73KoMTT5AX5BsX0KrqhsTqAnhZZoCBjs7dGWp4Ktw= +github.com/charmbracelet/x/ansi v0.6.0 h1:qOznutrb93gx9oMiGf7caF7bqqubh6YIM0SWKyA08pA= +github.com/charmbracelet/x/ansi v0.6.0/go.mod h1:KBUFw1la39nl0dLl10l5ORDAqGXaeurTQmwyyVKse/Q= github.com/charmbracelet/x/exp/golden v0.0.0-20240806155701-69247e0abc2a h1:G99klV19u0QnhiizODirwVksQB91TJKV/UaTnACcG30= github.com/charmbracelet/x/exp/golden v0.0.0-20240806155701-69247e0abc2a/go.mod h1:wDlXFlCrmJ8J+swcL/MnGUuYnqgQdW9rhSD61oNMb6U= github.com/charmbracelet/x/term v0.2.0 h1:cNB9Ot9q8I711MyZ7myUR5HFWL/lc3OpU8jZ4hwm0x0= github.com/charmbracelet/x/term v0.2.0/go.mod h1:GVxgxAbjUrmpvIINHIQnJJKpMlHiZ4cktEQCN6GWyF0= +github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ= +github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg= github.com/chromedp/cdproto v0.0.0-20240801214329-3f85d328b335 h1:bATMoZLH2QGct1kzDxfmeBUQI/QhQvB0mBrOTct+YlQ= github.com/chromedp/cdproto v0.0.0-20240801214329-3f85d328b335/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= github.com/chromedp/cdproto v0.0.0-20240919203636-12af5e8a671f h1:dEjjp+iN34En5Pl9XIi978DmR2/CMwuOxoPWtiHixKQ= @@ -35,10 +41,14 @@ github.com/chromedp/cdproto v0.0.0-20240919203636-12af5e8a671f/go.mod h1:GKljq0V github.com/chromedp/cdproto v0.0.0-20241003230502-a4a8f7c660df/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= github.com/chromedp/cdproto v0.0.0-20241014181340-cb3a7a1d51d7 h1:VDBgUGgdCBw9lTKwp0KPExhnqmGfGVJQTER2MehoICk= github.com/chromedp/cdproto v0.0.0-20241014181340-cb3a7a1d51d7/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= +github.com/chromedp/cdproto v0.0.0-20241208230723-d1c7de7e5dd2 h1:fJob5N/Eprtd427U84kFpQhAHIEqJYuDzveaL6T4Xsk= +github.com/chromedp/cdproto v0.0.0-20241208230723-d1c7de7e5dd2/go.mod h1:4XqMl3iIW08jtieURWL6Tt5924w21pxirC6th662XUM= github.com/chromedp/chromedp v0.10.0 h1:bRclRYVpMm/UVD76+1HcRW9eV3l58rFfy7AdBvKab1E= github.com/chromedp/chromedp v0.10.0/go.mod h1:ei/1ncZIqXX1YnAYDkxhD4gzBgavMEUu7JCKvztdomE= github.com/chromedp/chromedp v0.11.0 h1:1PT6O4g39sBAFjlljIHTpxmCSk8meeYL6+R+oXH4bWA= github.com/chromedp/chromedp v0.11.0/go.mod h1:jsD7OHrX0Qmskqb5Y4fn4jHnqquqW22rkMFgKbECsqg= +github.com/chromedp/chromedp v0.11.2 h1:ZRHTh7DjbNTlfIv3NFTbB7eVeu5XCNkgrpcGSpn2oX0= +github.com/chromedp/chromedp v0.11.2/go.mod h1:lr8dFRLKsdTTWb75C/Ttol2vnBKOSnt0BW8R9Xaupi8= github.com/chromedp/sysutil v1.0.0 h1:+ZxhTpfpZlmchB58ih/LBHX52ky7w2VhQVKQMucy3Ic= github.com/chromedp/sysutil v1.0.0/go.mod h1:kgWmDdq8fTzXYcKIBqIYvRRTnYb9aNS9moAV0xufSww= github.com/chromedp/sysutil v1.1.0 h1:PUFNv5EcprjqXZD9nJb9b/c9ibAbxiYo4exNWZyipwM= @@ -61,6 +71,8 @@ github.com/glebarez/sqlite v1.11.0 h1:wSG0irqzP6VurnMEpFGer5Li19RpIRi2qvQz++w0GM github.com/glebarez/sqlite v1.11.0/go.mod h1:h8/o8j5wiAsqSPoWELDUdJXhjAhsVliSn7bWZjOhrgQ= github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.2.0 h1:Aj1EtB0qR2Rdo2dG4O94RIU35w2lvQSj6BRA4+qwFL0= +github.com/go-chi/chi/v5 v5.2.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/go-chi/cors v1.2.1 h1:xEC8UT3Rlp2QuWNEr4Fs/c2EAGVKBwy/1vHx3bppil4= github.com/go-chi/cors v1.2.1/go.mod h1:sSbTewc+6wYHBBCW7ytsFSn836hqM7JxpglAy2Vzc58= github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4= @@ -124,6 +136,8 @@ github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69 github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mailru/easyjson v0.9.0 h1:PrnmzHw7262yW8sTBwxi1PdJA3Iw/EKBa8psRf7d9a4= +github.com/mailru/easyjson v0.9.0/go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= @@ -149,6 +163,8 @@ github.com/projectdiscovery/wappalyzergo v0.1.21 h1:IBzws+/YyXctWMZOjADRIG3ghv07 github.com/projectdiscovery/wappalyzergo v0.1.21/go.mod h1:wnvmbC10pQTOoCKnCTmWKP20rpEtqrMJZvzuTuleeyw= github.com/projectdiscovery/wappalyzergo v0.1.24 h1:A80Zq6HwfmqHw/uLvCdbpSd6SGF0ztxEK0vGGD16gZ8= github.com/projectdiscovery/wappalyzergo v0.1.24/go.mod h1:wnvmbC10pQTOoCKnCTmWKP20rpEtqrMJZvzuTuleeyw= +github.com/projectdiscovery/wappalyzergo v0.2.7 h1:q6iTFUYOQpP6C+/jM+n2SKM++It4ralQlpToUAgOOBE= +github.com/projectdiscovery/wappalyzergo v0.2.7/go.mod h1:WpHOWq/ZRxu4d4vvV/gr/rD+RH7zcLbGcVrwDuIVSMg= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -167,6 +183,7 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/swaggo/files v1.0.1 h1:J1bVJ4XHZNq0I46UU90611i9/YzdrF7x92oX1ig5IdE= github.com/swaggo/files v1.0.1/go.mod h1:0qXmMNH6sXNf+73t65aKeB+ApmgxdnkQzVTAj2uaMUg= github.com/swaggo/http-swagger v1.3.4 h1:q7t/XLx0n15H1Q9/tk3Y9L4n210XzJF5WtnDX64a5ww= @@ -205,15 +222,20 @@ golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= +golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= +golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/exp v0.0.0-20240904232852-e7e105dedf7e h1:I88y4caeGeuDQxgdoFPUq097j7kNfw6uvuiNxUBfcBk= golang.org/x/exp v0.0.0-20240904232852-e7e105dedf7e/go.mod h1:akd2r19cwCdwSwWeIdzYQGa/EZZyqcOdwWiwj5L5eKQ= golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 h1:e66Fs6Z+fZTbFBAxKfP3PALWBtpfqks2bwGcexMxgtk= golang.org/x/exp v0.0.0-20240909161429-701f63a606c0/go.mod h1:2TbTHSBQa924w8M6Xs1QcRcFwyucIwBGpK1p2f1YFFY= golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c h1:7dEasQXItcW1xKJ2+gg5VOiBnqWrJc+rq0DPKyvvdbY= golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8= +golang.org/x/exp v0.0.0-20241215155358-4a5509556b9e h1:4qufH0hlUYs6AO6XmZC3GqfDPGSXHVXUFR6OND+iJX4= +golang.org/x/exp v0.0.0-20241215155358-4a5509556b9e/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0= golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= +golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= @@ -222,10 +244,14 @@ golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4= golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU= +golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI= +golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ= +golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -238,6 +264,8 @@ golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= +golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= @@ -245,6 +273,8 @@ golang.org/x/term v0.24.0 h1:Mh5cbb+Zk2hqqXNO7S1iTjEphVL+jb8ZWaqh/g+JWkM= golang.org/x/term v0.24.0/go.mod h1:lOBK/LVxemqiMij05LGJ0tzNr8xlmwBRJ81PX6wVLH8= golang.org/x/term v0.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24= golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M= +golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q= +golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= @@ -253,6 +283,8 @@ golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= +golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= @@ -260,6 +292,8 @@ golang.org/x/tools v0.25.0 h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE= golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg= golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ= golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0= +golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8= +golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= @@ -271,6 +305,8 @@ gorm.io/driver/mysql v1.5.7 h1:MndhOPYOfEp2rHKgkZIhJ16eVUIRf2HmzgoPmh7FCWo= gorm.io/driver/mysql v1.5.7/go.mod h1:sEtPWMiqiN1N1cMXoXmBbd8C6/l+TESwriotuRRpkDM= gorm.io/driver/postgres v1.5.9 h1:DkegyItji119OlcaLjqN11kHoUgZ/j13E0jkJZgD6A8= gorm.io/driver/postgres v1.5.9/go.mod h1:DX3GReXH+3FPWGrrgffdvCk3DQ1dwDPdmbenSkweRGI= +gorm.io/driver/postgres v1.5.11 h1:ubBVAfbKEUld/twyKZ0IYn9rSQh448EdelLYk9Mv314= +gorm.io/driver/postgres v1.5.11/go.mod h1:DX3GReXH+3FPWGrrgffdvCk3DQ1dwDPdmbenSkweRGI= gorm.io/gorm v1.25.7/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= gorm.io/gorm v1.25.11 h1:/Wfyg1B/je1hnDx3sMkX+gAlxrlZpn6X0BXRlwXlvHg= gorm.io/gorm v1.25.11/go.mod h1:xh7N7RHfYlNc5EmcI/El95gXusucDrQnHXe0+CgWcLQ= @@ -278,8 +314,10 @@ gorm.io/gorm v1.25.12 h1:I0u8i2hWQItBq1WfE0o2+WuL9+8L21K9e2HHSTE/0f8= gorm.io/gorm v1.25.12/go.mod h1:xh7N7RHfYlNc5EmcI/El95gXusucDrQnHXe0+CgWcLQ= modernc.org/cc/v4 v4.21.4 h1:3Be/Rdo1fpr8GrQ7IVw9OHtplU4gWbb+wNgeoBMmGLQ= modernc.org/cc/v4 v4.21.4/go.mod h1:HM7VJTZbUCR3rV8EYBi9wxnJ0ZBRiGE5OeGXNA0IsLQ= +modernc.org/cc/v4 v4.23.1 h1:WqJoPL3x4cUufQVHkXpXX7ThFJ1C4ik80i2eXEXbhD8= modernc.org/ccgo/v4 v4.21.0 h1:kKPI3dF7RIag8YcToh5ZwDcVMIv6VGa0ED5cvh0LMW4= modernc.org/ccgo/v4 v4.21.0/go.mod h1:h6kt6H/A2+ew/3MW/p6KEoQmrq/i3pr0J/SiwiaF/g0= +modernc.org/ccgo/v4 v4.23.1 h1:N49a7JiWGWV7lkPE4yYcvjkBGZQi93/JabRYjdWmJXc= modernc.org/fileutil v1.3.0 h1:gQ5SIzK3H9kdfai/5x41oQiKValumqNTDXMvKo62HvE= modernc.org/fileutil v1.3.0/go.mod h1:XatxS8fZi3pS8/hKG2GH/ArUogfxjpEKs3Ku3aK4JyQ= modernc.org/gc/v2 v2.5.0 h1:bJ9ChznK1L1mUtAQtxi0wi5AtAs5jQuw4PrPHO5pb6M= @@ -288,6 +326,8 @@ modernc.org/libc v1.60.1 h1:at373l8IFRTkJIkAU85BIuUoBM4T1b51ds0E1ovPG2s= modernc.org/libc v1.60.1/go.mod h1:xJuobKuNxKH3RUatS7GjR+suWj+5c2K7bi4m/S5arOY= modernc.org/libc v1.61.0 h1:eGFcvWpqlnoGwzZeZe3PWJkkKbM/3SUGyk1DVZQ0TpE= modernc.org/libc v1.61.0/go.mod h1:DvxVX89wtGTu+r72MLGhygpfi3aUGgZRdAYGCAVVud0= +modernc.org/libc v1.61.4 h1:wVyqEx6tlltte9lPTjq0kDAdtdM9c4JH8rU6M1ZVawA= +modernc.org/libc v1.61.4/go.mod h1:VfXVuM/Shh5XsMNrh3C6OkfL78G3loa4ZC/Ljv9k7xc= modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= modernc.org/memory v1.8.0 h1:IqGTL6eFMaDZZhEWwcREgeMXYwmW83LYW8cROZYkg+E= @@ -300,6 +340,8 @@ modernc.org/sqlite v1.32.0 h1:6BM4uGza7bWypsw4fdLRsLxut6bHe4c58VeqjRgST8s= modernc.org/sqlite v1.32.0/go.mod h1:UqoylwmTb9F+IqXERT8bW9zzOWN8qwAIcLdzeBZs4hA= modernc.org/sqlite v1.33.1 h1:trb6Z3YYoeM9eDL1O8do81kP+0ejv+YzgyFo+Gwy0nM= modernc.org/sqlite v1.33.1/go.mod h1:pXV2xHxhzXZsgT/RtTFAPY6JJDEvOTcTdwADQCCWD4k= +modernc.org/sqlite v1.34.2 h1:J9n76TPsfYYkFkZ9Uy1QphILYifiVEwwOT7yP5b++2Y= +modernc.org/sqlite v1.34.2/go.mod h1:dnR723UrTtjKpoHCAMN0Q/gZ9MT4r+iRvIBb9umWFkU= modernc.org/strutil v1.2.0 h1:agBi9dp1I+eOnxXeiZawM8F4LawKv4NzGWSaLfyeNZA= modernc.org/strutil v1.2.0/go.mod h1:/mdcBmfOibveCTBxUl5B5l6W+TTH1FXPLHZE6bTosX0= modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= diff --git a/web/ui/dist/assets/index-CrWKgE3H.js b/web/ui/dist/assets/index-CrWKgE3H.js new file mode 100644 index 00000000..bbda7e1b --- /dev/null +++ b/web/ui/dist/assets/index-CrWKgE3H.js @@ -0,0 +1,408 @@ +function K_(e,t){for(var r=0;rn[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var df=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function He(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Y_={exports:{}},fh={},q_={exports:{}},Ce={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Tu=Symbol.for("react.element"),TL=Symbol.for("react.portal"),AL=Symbol.for("react.fragment"),ML=Symbol.for("react.strict_mode"),NL=Symbol.for("react.profiler"),kL=Symbol.for("react.provider"),$L=Symbol.for("react.context"),RL=Symbol.for("react.forward_ref"),IL=Symbol.for("react.suspense"),DL=Symbol.for("react.memo"),LL=Symbol.for("react.lazy"),z1=Symbol.iterator;function FL(e){return e===null||typeof e!="object"?null:(e=z1&&e[z1]||e["@@iterator"],typeof e=="function"?e:null)}var X_={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Q_=Object.assign,Z_={};function Zs(e,t,r){this.props=e,this.context=t,this.refs=Z_,this.updater=r||X_}Zs.prototype.isReactComponent={};Zs.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Zs.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function J_(){}J_.prototype=Zs.prototype;function gx(e,t,r){this.props=e,this.context=t,this.refs=Z_,this.updater=r||X_}var yx=gx.prototype=new J_;yx.constructor=gx;Q_(yx,Zs.prototype);yx.isPureReactComponent=!0;var U1=Array.isArray,ej=Object.prototype.hasOwnProperty,xx={current:null},tj={key:!0,ref:!0,__self:!0,__source:!0};function rj(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)ej.call(t,n)&&!tj.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1>>1,$=T[G];if(0>>1;Go(Z,U))ie<$&&0>o(Q,Z)?(T[G]=Q,T[ie]=U,G=ie):(T[G]=Z,T[X]=U,G=X);else if(ie<$&&0>o(Q,U))T[G]=Q,T[ie]=U,G=ie;else break e}}return A}function o(T,A){var U=T.sortIndex-A.sortIndex;return U!==0?U:T.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,f=null,d=3,h=!1,g=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(T){for(var A=r(c);A!==null;){if(A.callback===null)n(c);else if(A.startTime<=T)n(c),A.sortIndex=A.expirationTime,t(l,A);else break;A=r(c)}}function O(T){if(v=!1,w(T),!g)if(r(l)!==null)g=!0,D(P);else{var A=r(c);A!==null&&z(O,A.startTime-T)}}function P(T,A){g=!1,v&&(v=!1,x(C),C=-1),h=!0;var U=d;try{for(w(A),f=r(l);f!==null&&(!(f.expirationTime>A)||T&&!j());){var G=f.callback;if(typeof G=="function"){f.callback=null,d=f.priorityLevel;var $=G(f.expirationTime<=A);A=e.unstable_now(),typeof $=="function"?f.callback=$:f===r(l)&&n(l),w(A)}else n(l);f=r(l)}if(f!==null)var K=!0;else{var X=r(c);X!==null&&z(O,X.startTime-A),K=!1}return K}finally{f=null,d=U,h=!1}}var S=!1,E=null,C=-1,_=5,N=-1;function j(){return!(e.unstable_now()-N<_)}function M(){if(E!==null){var T=e.unstable_now();N=T;var A=!0;try{A=E(!0,T)}finally{A?L():(S=!1,E=null)}}else S=!1}var L;if(typeof y=="function")L=function(){y(M)};else if(typeof MessageChannel<"u"){var k=new MessageChannel,F=k.port2;k.port1.onmessage=M,L=function(){F.postMessage(null)}}else L=function(){b(M,0)};function D(T){E=T,S||(S=!0,L())}function z(T,A){C=b(function(){T(e.unstable_now())},A)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){g||h||(g=!0,D(P))},e.unstable_forceFrameRate=function(T){0>T||125G?(T.sortIndex=U,t(c,T),r(l)===null&&T===r(c)&&(v?(x(C),C=-1):v=!0,z(O,U-G))):(T.sortIndex=$,t(l,T),g||h||(g=!0,D(P))),T},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(T){var A=d;return function(){var U=d;d=A;try{return T.apply(this,arguments)}finally{d=U}}}})(lj);sj.exports=lj;var XL=sj.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var QL=m,Er=XL;function J(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),jg=Object.prototype.hasOwnProperty,ZL=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,H1={},V1={};function JL(e){return jg.call(V1,e)?!0:jg.call(H1,e)?!1:ZL.test(e)?V1[e]=!0:(H1[e]=!0,!1)}function e3(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function t3(e,t,r,n){if(t===null||typeof t>"u"||e3(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function rr(e,t,r,n,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Wt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Wt[e]=new rr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Wt[t]=new rr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Wt[e]=new rr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Wt[e]=new rr(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Wt[e]=new rr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Wt[e]=new rr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Wt[e]=new rr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Wt[e]=new rr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Wt[e]=new rr(e,5,!1,e.toLowerCase(),null,!1,!1)});var wx=/[\-:]([a-z])/g;function Sx(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(wx,Sx);Wt[t]=new rr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(wx,Sx);Wt[t]=new rr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(wx,Sx);Wt[t]=new rr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Wt[e]=new rr(e,1,!1,e.toLowerCase(),null,!1,!1)});Wt.xlinkHref=new rr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Wt[e]=new rr(e,1,!1,e.toLowerCase(),null,!0,!0)});function Px(e,t,r,n){var o=Wt.hasOwnProperty(t)?Wt[t]:null;(o!==null?o.type!==0:n||!(2s||o[a]!==i[s]){var l=` +`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{iv=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Jl(e):""}function r3(e){switch(e.tag){case 5:return Jl(e.type);case 16:return Jl("Lazy");case 13:return Jl("Suspense");case 19:return Jl("SuspenseList");case 0:case 2:case 15:return e=av(e.type,!1),e;case 11:return e=av(e.type.render,!1),e;case 1:return e=av(e.type,!0),e;default:return""}}function Ng(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case za:return"Fragment";case Ba:return"Portal";case Tg:return"Profiler";case Ox:return"StrictMode";case Ag:return"Suspense";case Mg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fj:return(e.displayName||"Context")+".Consumer";case uj:return(e._context.displayName||"Context")+".Provider";case Ex:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cx:return t=e.displayName||null,t!==null?t:Ng(e.type)||"Memo";case $o:t=e._payload,e=e._init;try{return Ng(e(t))}catch{}}return null}function n3(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ng(t);case 8:return t===Ox?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ei(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pj(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function o3(e){var t=pj(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){n=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mf(e){e._valueTracker||(e._valueTracker=o3(e))}function hj(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=pj(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Sd(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function kg(e,t){var r=t.checked;return st({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function K1(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ei(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function mj(e,t){t=t.checked,t!=null&&Px(e,"checked",t,!1)}function $g(e,t){mj(e,t);var r=ei(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Rg(e,t.type,r):t.hasOwnProperty("defaultValue")&&Rg(e,t.type,ei(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Y1(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Rg(e,t,r){(t!=="number"||Sd(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ec=Array.isArray;function os(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=vf.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Oc(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var sc={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},i3=["Webkit","ms","Moz","O"];Object.keys(sc).forEach(function(e){i3.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),sc[t]=sc[e]})});function xj(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||sc.hasOwnProperty(e)&&sc[e]?(""+t).trim():t+"px"}function bj(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=xj(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var a3=st({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Lg(e,t){if(t){if(a3[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(J(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(J(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(J(61))}if(t.style!=null&&typeof t.style!="object")throw Error(J(62))}}function Fg(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Bg=null;function _x(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zg=null,is=null,as=null;function Q1(e){if(e=Nu(e)){if(typeof zg!="function")throw Error(J(280));var t=e.stateNode;t&&(t=vh(t),zg(e.stateNode,e.type,t))}}function wj(e){is?as?as.push(e):as=[e]:is=e}function Sj(){if(is){var e=is,t=as;if(as=is=null,Q1(e),t)for(e=0;e>>=0,e===0?32:31-(g3(e)/y3|0)|0}var gf=64,yf=4194304;function tc(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Cd(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~o;s!==0?n=tc(s):(i&=a,i!==0&&(n=tc(i)))}else a=r&~o,a!==0?n=tc(a):i!==0&&(n=tc(i));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Au(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-cn(t),e[t]=r}function S3(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=cc),aS=" ",sS=!1;function Uj(e,t){switch(e){case"keyup":return X3.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wj(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ua=!1;function Z3(e,t){switch(e){case"compositionend":return Wj(t);case"keypress":return t.which!==32?null:(sS=!0,aS);case"textInput":return e=t.data,e===aS&&sS?null:e;default:return null}}function J3(e,t){if(Ua)return e==="compositionend"||!Rx&&Uj(e,t)?(e=Bj(),od=Nx=Bo=null,Ua=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fS(r)}}function Kj(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Kj(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yj(){for(var e=window,t=Sd();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Sd(e.document)}return t}function Ix(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function l4(e){var t=Yj(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Kj(r.ownerDocument.documentElement,r)){if(n!==null&&Ix(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=dS(r,i);var a=dS(r,n);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Wa=null,Kg=null,fc=null,Yg=!1;function pS(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Yg||Wa==null||Wa!==Sd(n)||(n=Wa,"selectionStart"in n&&Ix(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),fc&&Ac(fc,n)||(fc=n,n=Td(Kg,"onSelect"),0Ga||(e.current=ey[Ga],ey[Ga]=null,Ga--)}function qe(e,t){Ga++,ey[Ga]=e.current,e.current=t}var ti={},Xt=ui(ti),cr=ui(!1),Zi=ti;function ys(e,t){var r=e.type.contextTypes;if(!r)return ti;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ur(e){return e=e.childContextTypes,e!=null}function Md(){tt(cr),tt(Xt)}function bS(e,t,r){if(Xt.current!==ti)throw Error(J(168));qe(Xt,t),qe(cr,r)}function nT(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(J(108,n3(e)||"Unknown",o));return st({},r,n)}function Nd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ti,Zi=Xt.current,qe(Xt,e),qe(cr,cr.current),!0}function wS(e,t,r){var n=e.stateNode;if(!n)throw Error(J(169));r?(e=nT(e,t,Zi),n.__reactInternalMemoizedMergedChildContext=e,tt(cr),tt(Xt),qe(Xt,e)):tt(cr),qe(cr,r)}var Jn=null,gh=!1,bv=!1;function oT(e){Jn===null?Jn=[e]:Jn.push(e)}function b4(e){gh=!0,oT(e)}function fi(){if(!bv&&Jn!==null){bv=!0;var e=0,t=Be;try{var r=Jn;for(Be=1;e>=a,o-=a,eo=1<<32-cn(t)+o|r<C?(_=E,E=null):_=E.sibling;var N=d(x,E,w[C],O);if(N===null){E===null&&(E=_);break}e&&E&&N.alternate===null&&t(x,E),y=i(N,y,C),S===null?P=N:S.sibling=N,S=N,E=_}if(C===w.length)return r(x,E),rt&&Ci(x,C),P;if(E===null){for(;CC?(_=E,E=null):_=E.sibling;var j=d(x,E,N.value,O);if(j===null){E===null&&(E=_);break}e&&E&&j.alternate===null&&t(x,E),y=i(j,y,C),S===null?P=j:S.sibling=j,S=j,E=_}if(N.done)return r(x,E),rt&&Ci(x,C),P;if(E===null){for(;!N.done;C++,N=w.next())N=f(x,N.value,O),N!==null&&(y=i(N,y,C),S===null?P=N:S.sibling=N,S=N);return rt&&Ci(x,C),P}for(E=n(x,E);!N.done;C++,N=w.next())N=h(E,x,C,N.value,O),N!==null&&(e&&N.alternate!==null&&E.delete(N.key===null?C:N.key),y=i(N,y,C),S===null?P=N:S.sibling=N,S=N);return e&&E.forEach(function(M){return t(x,M)}),rt&&Ci(x,C),P}function b(x,y,w,O){if(typeof w=="object"&&w!==null&&w.type===za&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case hf:e:{for(var P=w.key,S=y;S!==null;){if(S.key===P){if(P=w.type,P===za){if(S.tag===7){r(x,S.sibling),y=o(S,w.props.children),y.return=x,x=y;break e}}else if(S.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===$o&&OS(P)===S.type){r(x,S.sibling),y=o(S,w.props),y.ref=Al(x,S,w),y.return=x,x=y;break e}r(x,S);break}else t(x,S);S=S.sibling}w.type===za?(y=Ki(w.props.children,x.mode,O,w.key),y.return=x,x=y):(O=dd(w.type,w.key,w.props,null,x.mode,O),O.ref=Al(x,y,w),O.return=x,x=O)}return a(x);case Ba:e:{for(S=w.key;y!==null;){if(y.key===S)if(y.tag===4&&y.stateNode.containerInfo===w.containerInfo&&y.stateNode.implementation===w.implementation){r(x,y.sibling),y=o(y,w.children||[]),y.return=x,x=y;break e}else{r(x,y);break}else t(x,y);y=y.sibling}y=jv(w,x.mode,O),y.return=x,x=y}return a(x);case $o:return S=w._init,b(x,y,S(w._payload),O)}if(ec(w))return g(x,y,w,O);if(El(w))return v(x,y,w,O);Ef(x,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,y!==null&&y.tag===6?(r(x,y.sibling),y=o(y,w),y.return=x,x=y):(r(x,y),y=_v(w,x.mode,O),y.return=x,x=y),a(x)):r(x,y)}return b}var bs=lT(!0),cT=lT(!1),Rd=ui(null),Id=null,qa=null,Bx=null;function zx(){Bx=qa=Id=null}function Ux(e){var t=Rd.current;tt(Rd),e._currentValue=t}function ny(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function ls(e,t){Id=e,Bx=qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(sr=!0),e.firstContext=null)}function Br(e){var t=e._currentValue;if(Bx!==e)if(e={context:e,memoizedValue:t,next:null},qa===null){if(Id===null)throw Error(J(308));qa=e,Id.dependencies={lanes:0,firstContext:e}}else qa=qa.next=e;return t}var Di=null;function Wx(e){Di===null?Di=[e]:Di.push(e)}function uT(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,Wx(t)):(r.next=o.next,o.next=r),t.interleaved=r,fo(e,n)}function fo(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Ro=!1;function Hx(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function fT(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function io(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yo(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,Ae&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,fo(e,r)}return o=n.interleaved,o===null?(t.next=t,Wx(n)):(t.next=o.next,o.next=t),n.interleaved=t,fo(e,r)}function ad(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Tx(e,r)}}function ES(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};i===null?o=i=a:i=i.next=a,r=r.next}while(r!==null);i===null?o=i=t:i=i.next=t}else o=i=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Dd(e,t,r,n){var o=e.updateQueue;Ro=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?i=c:a.next=c,a=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==a&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(i!==null){var f=o.baseState;a=0,u=c=l=null,s=i;do{var d=s.lane,h=s.eventTime;if((n&d)===d){u!==null&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,v=s;switch(d=t,h=r,v.tag){case 1:if(g=v.payload,typeof g=="function"){f=g.call(h,f,d);break e}f=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,d=typeof g=="function"?g.call(h,f,d):g,d==null)break e;f=st({},f,d);break e;case 2:Ro=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[s]:d.push(s))}else h={eventTime:h,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=h,l=f):u=u.next=h,a|=d;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;d=s,s=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(u===null&&(l=f),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);ta|=a,e.lanes=a,e.memoizedState=f}}function CS(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=Sv.transition;Sv.transition={};try{e(!1),t()}finally{Be=r,Sv.transition=n}}function jT(){return zr().memoizedState}function O4(e,t,r){var n=Xo(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},TT(e))AT(t,r);else if(r=uT(e,t,r,n),r!==null){var o=er();un(r,e,n,o),MT(r,t,n)}}function E4(e,t,r){var n=Xo(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(TT(e))AT(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,dn(s,a)){var l=t.interleaved;l===null?(o.next=o,Wx(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=uT(e,t,o,n),r!==null&&(o=er(),un(r,e,n,o),MT(r,t,n))}}function TT(e){var t=e.alternate;return e===at||t!==null&&t===at}function AT(e,t){dc=Fd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function MT(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Tx(e,r)}}var Bd={readContext:Br,useCallback:Ht,useContext:Ht,useEffect:Ht,useImperativeHandle:Ht,useInsertionEffect:Ht,useLayoutEffect:Ht,useMemo:Ht,useReducer:Ht,useRef:Ht,useState:Ht,useDebugValue:Ht,useDeferredValue:Ht,useTransition:Ht,useMutableSource:Ht,useSyncExternalStore:Ht,useId:Ht,unstable_isNewReconciler:!1},C4={readContext:Br,useCallback:function(e,t){return bn().memoizedState=[e,t===void 0?null:t],e},useContext:Br,useEffect:jS,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,ld(4194308,4,PT.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ld(4194308,4,e,t)},useInsertionEffect:function(e,t){return ld(4,2,e,t)},useMemo:function(e,t){var r=bn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=bn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=O4.bind(null,at,e),[n.memoizedState,e]},useRef:function(e){var t=bn();return e={current:e},t.memoizedState=e},useState:_S,useDebugValue:Zx,useDeferredValue:function(e){return bn().memoizedState=e},useTransition:function(){var e=_S(!1),t=e[0];return e=P4.bind(null,e[1]),bn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=at,o=bn();if(rt){if(r===void 0)throw Error(J(407));r=r()}else{if(r=t(),Nt===null)throw Error(J(349));ea&30||mT(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,jS(gT.bind(null,n,i,e),[e]),n.flags|=2048,Lc(9,vT.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=bn(),t=Nt.identifierPrefix;if(rt){var r=to,n=eo;r=(n&~(1<<32-cn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ic++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[_n]=t,e[kc]=n,zT(e,t,!1,!1),t.stateNode=e;e:{switch(a=Fg(r,n),r){case"dialog":Qe("cancel",e),Qe("close",e),o=n;break;case"iframe":case"object":case"embed":Qe("load",e),o=n;break;case"video":case"audio":for(o=0;oPs&&(t.flags|=128,n=!0,Ml(i,!1),t.lanes=4194304)}else{if(!n)if(e=Ld(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ml(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!rt)return Vt(t),null}else 2*pt()-i.renderingStartTime>Ps&&r!==1073741824&&(t.flags|=128,n=!0,Ml(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(r=i.last,r!==null?r.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=pt(),t.sibling=null,r=ot.current,qe(ot,n?r&1|2:r&1),t):(Vt(t),null);case 22:case 23:return ob(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?gr&1073741824&&(Vt(t),t.subtreeFlags&6&&(t.flags|=8192)):Vt(t),null;case 24:return null;case 25:return null}throw Error(J(156,t.tag))}function $4(e,t){switch(Lx(t),t.tag){case 1:return ur(t.type)&&Md(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ws(),tt(cr),tt(Xt),Kx(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gx(t),null;case 13:if(tt(ot),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(J(340));xs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tt(ot),null;case 4:return ws(),null;case 10:return Ux(t.type._context),null;case 22:case 23:return ob(),null;case 24:return null;default:return null}}var _f=!1,Kt=!1,R4=typeof WeakSet=="function"?WeakSet:Set,se=null;function Xa(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){ft(e,t,n)}else r.current=null}function dy(e,t,r){try{r()}catch(n){ft(e,t,n)}}var FS=!1;function I4(e,t){if(qg=_d,e=Yj(),Ix(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,s=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var h;f!==r||o!==0&&f.nodeType!==3||(s=a+o),f!==i||n!==0&&f.nodeType!==3||(l=a+n),f.nodeType===3&&(a+=f.nodeValue.length),(h=f.firstChild)!==null;)d=f,f=h;for(;;){if(f===e)break t;if(d===r&&++c===o&&(s=a),d===i&&++u===n&&(l=a),(h=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=h}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(Xg={focusedElem:e,selectionRange:r},_d=!1,se=t;se!==null;)if(t=se,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,se=e;else for(;se!==null;){t=se;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var v=g.memoizedProps,b=g.memoizedState,x=t.stateNode,y=x.getSnapshotBeforeUpdate(t.elementType===t.type?v:Qr(t.type,v),b);x.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(J(163))}}catch(O){ft(t,t.return,O)}if(e=t.sibling,e!==null){e.return=t.return,se=e;break}se=t.return}return g=FS,FS=!1,g}function pc(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&dy(t,r,i)}o=o.next}while(o!==n)}}function bh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function py(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function HT(e){var t=e.alternate;t!==null&&(e.alternate=null,HT(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[_n],delete t[kc],delete t[Jg],delete t[y4],delete t[x4])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function VT(e){return e.tag===5||e.tag===3||e.tag===4}function BS(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||VT(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function hy(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Ad));else if(n!==4&&(e=e.child,e!==null))for(hy(e,t,r),e=e.sibling;e!==null;)hy(e,t,r),e=e.sibling}function my(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(my(e,t,r),e=e.sibling;e!==null;)my(e,t,r),e=e.sibling}var Lt=null,Jr=!1;function jo(e,t,r){for(r=r.child;r!==null;)GT(e,t,r),r=r.sibling}function GT(e,t,r){if(An&&typeof An.onCommitFiberUnmount=="function")try{An.onCommitFiberUnmount(dh,r)}catch{}switch(r.tag){case 5:Kt||Xa(r,t);case 6:var n=Lt,o=Jr;Lt=null,jo(e,t,r),Lt=n,Jr=o,Lt!==null&&(Jr?(e=Lt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Lt.removeChild(r.stateNode));break;case 18:Lt!==null&&(Jr?(e=Lt,r=r.stateNode,e.nodeType===8?xv(e.parentNode,r):e.nodeType===1&&xv(e,r),jc(e)):xv(Lt,r.stateNode));break;case 4:n=Lt,o=Jr,Lt=r.stateNode.containerInfo,Jr=!0,jo(e,t,r),Lt=n,Jr=o;break;case 0:case 11:case 14:case 15:if(!Kt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&dy(r,t,a),o=o.next}while(o!==n)}jo(e,t,r);break;case 1:if(!Kt&&(Xa(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){ft(r,t,s)}jo(e,t,r);break;case 21:jo(e,t,r);break;case 22:r.mode&1?(Kt=(n=Kt)||r.memoizedState!==null,jo(e,t,r),Kt=n):jo(e,t,r);break;default:jo(e,t,r)}}function zS(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new R4),t.forEach(function(n){var o=V4.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Yr(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=a),n&=~i}if(n=o,n=pt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*L4(n/1960))-n,10e?16:e,zo===null)var n=!1;else{if(e=zo,zo=null,Wd=0,Ae&6)throw Error(J(331));var o=Ae;for(Ae|=4,se=e.current;se!==null;){var i=se,a=i.child;if(se.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lpt()-rb?Gi(e,0):tb|=r),fr(e,t)}function eA(e,t){t===0&&(e.mode&1?(t=yf,yf<<=1,!(yf&130023424)&&(yf=4194304)):t=1);var r=er();e=fo(e,t),e!==null&&(Au(e,t,r),fr(e,r))}function H4(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),eA(e,r)}function V4(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(J(314))}n!==null&&n.delete(t),eA(e,r)}var tA;tA=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||cr.current)sr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return sr=!1,N4(e,t,r);sr=!!(e.flags&131072)}else sr=!1,rt&&t.flags&1048576&&iT(t,$d,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;cd(e,t),e=t.pendingProps;var o=ys(t,Xt.current);ls(t,r),o=qx(null,t,n,e,o,r);var i=Xx();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ur(n)?(i=!0,Nd(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Hx(t),o.updater=xh,t.stateNode=o,o._reactInternals=t,iy(t,n,e,r),t=ly(null,t,n,!0,i,r)):(t.tag=0,rt&&i&&Dx(t),Zt(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(cd(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=K4(n),e=Qr(n,e),o){case 0:t=sy(null,t,n,e,r);break e;case 1:t=IS(null,t,n,e,r);break e;case 11:t=$S(null,t,n,e,r);break e;case 14:t=RS(null,t,n,Qr(n.type,e),r);break e}throw Error(J(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Qr(n,o),sy(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Qr(n,o),IS(e,t,n,o,r);case 3:e:{if(LT(t),e===null)throw Error(J(387));n=t.pendingProps,i=t.memoizedState,o=i.element,fT(e,t),Dd(t,n,null,r);var a=t.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Ss(Error(J(423)),t),t=DS(e,t,n,r,o);break e}else if(n!==o){o=Ss(Error(J(424)),t),t=DS(e,t,n,r,o);break e}else for(Sr=Ko(t.stateNode.containerInfo.firstChild),Pr=t,rt=!0,nn=null,r=cT(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(xs(),n===o){t=po(e,t,r);break e}Zt(e,t,n,r)}t=t.child}return t;case 5:return dT(t),e===null&&ry(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Qg(n,o)?a=null:i!==null&&Qg(n,i)&&(t.flags|=32),DT(e,t),Zt(e,t,a,r),t.child;case 6:return e===null&&ry(t),null;case 13:return FT(e,t,r);case 4:return Vx(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=bs(t,null,n,r):Zt(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Qr(n,o),$S(e,t,n,o,r);case 7:return Zt(e,t,t.pendingProps,r),t.child;case 8:return Zt(e,t,t.pendingProps.children,r),t.child;case 12:return Zt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,qe(Rd,n._currentValue),n._currentValue=a,i!==null)if(dn(i.value,a)){if(i.children===o.children&&!cr.current){t=po(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(i.tag===1){l=io(-1,r&-r),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),ny(i.return,r,t),s.lanes|=r;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(J(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),ny(a,r,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Zt(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,ls(t,r),o=Br(o),n=n(o),t.flags|=1,Zt(e,t,n,r),t.child;case 14:return n=t.type,o=Qr(n,t.pendingProps),o=Qr(n.type,o),RS(e,t,n,o,r);case 15:return RT(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Qr(n,o),cd(e,t),t.tag=1,ur(n)?(e=!0,Nd(t)):e=!1,ls(t,r),NT(t,n,o),iy(t,n,o,r),ly(null,t,n,!0,e,r);case 19:return BT(e,t,r);case 22:return IT(e,t,r)}throw Error(J(156,t.tag))};function rA(e,t){return Tj(e,t)}function G4(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rr(e,t,r,n){return new G4(e,t,r,n)}function ab(e){return e=e.prototype,!(!e||!e.isReactComponent)}function K4(e){if(typeof e=="function")return ab(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ex)return 11;if(e===Cx)return 14}return 2}function Qo(e,t){var r=e.alternate;return r===null?(r=Rr(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function dd(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")ab(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case za:return Ki(r.children,o,i,t);case Ox:a=8,o|=8;break;case Tg:return e=Rr(12,r,t,o|2),e.elementType=Tg,e.lanes=i,e;case Ag:return e=Rr(13,r,t,o),e.elementType=Ag,e.lanes=i,e;case Mg:return e=Rr(19,r,t,o),e.elementType=Mg,e.lanes=i,e;case dj:return Sh(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uj:a=10;break e;case fj:a=9;break e;case Ex:a=11;break e;case Cx:a=14;break e;case $o:a=16,n=null;break e}throw Error(J(130,e==null?e:typeof e,""))}return t=Rr(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Ki(e,t,r,n){return e=Rr(7,e,n,t),e.lanes=r,e}function Sh(e,t,r,n){return e=Rr(22,e,n,t),e.elementType=dj,e.lanes=r,e.stateNode={isHidden:!1},e}function _v(e,t,r){return e=Rr(6,e,null,t),e.lanes=r,e}function jv(e,t,r){return t=Rr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Y4(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=lv(0),this.expirationTimes=lv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lv(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function sb(e,t,r,n,o,i,a,s,l){return e=new Y4(e,t,r,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Rr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hx(i),e}function q4(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(aA)}catch(e){console.error(e)}}aA(),aj.exports=jr;var di=aj.exports;const sA=He(di),e5=K_({__proto__:null,default:sA},[di]);var lA,qS=di;lA=qS.createRoot,qS.hydrateRoot;/** + * @remix-run/router v1.21.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Je(){return Je=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Os(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function r5(){return Math.random().toString(36).substr(2,8)}function QS(e,t){return{usr:e.state,key:e.key,idx:t}}function Bc(e,t,r,n){return r===void 0&&(r=null),Je({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pi(t):t,{state:r,key:t&&t.key||n||r5()})}function ri(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function pi(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function n5(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,a=o.history,s=vt.Pop,l=null,c=u();c==null&&(c=0,a.replaceState(Je({},a.state,{idx:c}),""));function u(){return(a.state||{idx:null}).idx}function f(){s=vt.Pop;let b=u(),x=b==null?null:b-c;c=b,l&&l({action:s,location:v.location,delta:x})}function d(b,x){s=vt.Push;let y=Bc(v.location,b,x);c=u()+1;let w=QS(y,c),O=v.createHref(y);try{a.pushState(w,"",O)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;o.location.assign(O)}i&&l&&l({action:s,location:v.location,delta:1})}function h(b,x){s=vt.Replace;let y=Bc(v.location,b,x);c=u();let w=QS(y,c),O=v.createHref(y);a.replaceState(w,"",O),i&&l&&l({action:s,location:v.location,delta:0})}function g(b){let x=o.location.origin!=="null"?o.location.origin:o.location.href,y=typeof b=="string"?b:ri(b);return y=y.replace(/ $/,"%20"),Se(x,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,x)}let v={get action(){return s},get location(){return e(o,a)},listen(b){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(XS,f),l=b,()=>{o.removeEventListener(XS,f),l=null}},createHref(b){return t(o,b)},createURL:g,encodeLocation(b){let x=g(b);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:d,replace:h,go(b){return a.go(b)}};return v}var Ue;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ue||(Ue={}));const o5=new Set(["lazy","caseSensitive","path","id","index","children"]);function i5(e){return e.index===!0}function Gd(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((o,i)=>{let a=[...r,String(i)],s=typeof o.id=="string"?o.id:a.join("-");if(Se(o.index!==!0||!o.children,"Cannot specify children on an index route"),Se(!n[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),i5(o)){let l=Je({},o,t(o),{id:s});return n[s]=l,l}else{let l=Je({},o,t(o),{id:s,children:void 0});return n[s]=l,o.children&&(l.children=Gd(o.children,t,a,n)),l}})}function ki(e,t,r){return r===void 0&&(r="/"),pd(e,t,r,!1)}function pd(e,t,r,n){let o=typeof t=="string"?pi(t):t,i=pn(o.pathname||"/",r);if(i==null)return null;let a=cA(e);s5(a);let s=null;for(let l=0;s==null&&l{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith("/")&&(Se(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let c=Nn([n,l.relativePath]),u=r.concat(l);i.children&&i.children.length>0&&(Se(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),cA(i.children,t,u,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:h5(c,i.index),routesMeta:u})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let l of uA(i.path))o(i,a,l)}),t}function uA(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return o?[i,""]:[i];let a=uA(n.join("/")),s=[];return s.push(...a.map(l=>l===""?i:[i,l].join("/"))),o&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function s5(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:m5(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const l5=/^:[\w-]+$/,c5=3,u5=2,f5=1,d5=10,p5=-2,ZS=e=>e==="*";function h5(e,t){let r=e.split("/"),n=r.length;return r.some(ZS)&&(n+=p5),t&&(n+=u5),r.filter(o=>!ZS(o)).reduce((o,i)=>o+(l5.test(i)?c5:i===""?f5:d5),n)}function m5(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function v5(e,t,r){r===void 0&&(r=!1);let{routesMeta:n}=e,o={},i="/",a=[];for(let s=0;s{let{paramName:d,isOptional:h}=u;if(d==="*"){let v=s[f]||"";a=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const g=s[f];return h&&!g?c[d]=void 0:c[d]=(g||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:a,pattern:e}}function g5(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Os(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l)=>(n.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function y5(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Os(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function pn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function x5(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?pi(e):e;return{pathname:r?r.startsWith("/")?r:b5(r,t):t,search:S5(n),hash:P5(o)}}function b5(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Tv(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function fA(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function fb(e,t){let r=fA(e);return t?r.map((n,o)=>o===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function db(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=pi(e):(o=Je({},e),Se(!o.pathname||!o.pathname.includes("?"),Tv("?","pathname","search",o)),Se(!o.pathname||!o.pathname.includes("#"),Tv("#","pathname","hash",o)),Se(!o.search||!o.search.includes("#"),Tv("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(a==null)s=r;else{let f=t.length-1;if(!n&&a.startsWith("..")){let d=a.split("/");for(;d[0]==="..";)d.shift(),f-=1;o.pathname=d.join("/")}s=f>=0?t[f]:"/"}let l=x5(o,s),c=a&&a!=="/"&&a.endsWith("/"),u=(i||a===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const Nn=e=>e.join("/").replace(/\/\/+/g,"/"),w5=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),S5=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,P5=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,pb=function(t,r){r===void 0&&(r=302);let n=r;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let o=new Headers(n.headers);return o.set("Location",t),new Response(null,Je({},n,{headers:o}))};class Yd{constructor(t,r,n,o){o===void 0&&(o=!1),this.status=t,this.statusText=r||"",this.internal=o,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function $u(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const dA=["post","put","patch","delete"],O5=new Set(dA),E5=["get",...dA],C5=new Set(E5),_5=new Set([301,302,303,307,308]),j5=new Set([307,308]),Av={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},T5={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},kl={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},hb=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,A5=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),pA="remix-router-transitions";function M5(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;Se(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let o;if(e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let R=e.detectErrorBoundary;o=B=>({hasErrorBoundary:R(B)})}else o=A5;let i={},a=Gd(e.routes,o,void 0,i),s,l=e.basename||"/",c=e.dataStrategy||R5,u=e.patchRoutesOnNavigation,f=Je({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),d=null,h=new Set,g=null,v=null,b=null,x=e.hydrationData!=null,y=ki(a,e.history.location,l),w=null;if(y==null&&!u){let R=ir(404,{pathname:e.history.location.pathname}),{matches:B,route:W}=cP(a);y=B,w={[W.id]:R}}y&&!e.hydrationData&&lf(y,a,e.history.location.pathname).active&&(y=null);let O;if(y)if(y.some(R=>R.route.lazy))O=!1;else if(!y.some(R=>R.route.loader))O=!0;else if(f.v7_partialHydration){let R=e.hydrationData?e.hydrationData.loaderData:null,B=e.hydrationData?e.hydrationData.errors:null;if(B){let W=y.findIndex(q=>B[q.route.id]!==void 0);O=y.slice(0,W+1).every(q=>!wy(q.route,R,B))}else O=y.every(W=>!wy(W.route,R,B))}else O=e.hydrationData!=null;else if(O=!1,y=[],f.v7_partialHydration){let R=lf(null,a,e.history.location.pathname);R.active&&R.matches&&(y=R.matches)}let P,S={historyAction:e.history.action,location:e.history.location,matches:y,initialized:O,navigation:Av,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||w,fetchers:new Map,blockers:new Map},E=vt.Pop,C=!1,_,N=!1,j=new Map,M=null,L=!1,k=!1,F=[],D=new Set,z=new Map,T=0,A=-1,U=new Map,G=new Set,$=new Map,K=new Map,X=new Set,Z=new Map,ie=new Map,Q;function pe(){if(d=e.history.listen(R=>{let{action:B,location:W,delta:q}=R;if(Q){Q(),Q=void 0;return}Os(ie.size===0||q!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ce=D1({currentLocation:S.location,nextLocation:W,historyAction:B});if(ce&&q!=null){let he=new Promise(ye=>{Q=ye});e.history.go(q*-1),sf(ce,{state:"blocked",location:W,proceed(){sf(ce,{state:"proceeding",proceed:void 0,reset:void 0,location:W}),he.then(()=>e.history.go(q))},reset(){let ye=new Map(S.blockers);ye.set(ce,kl),te({blockers:ye})}});return}return je(B,W)}),r){q5(t,j);let R=()=>X5(t,j);t.addEventListener("pagehide",R),M=()=>t.removeEventListener("pagehide",R)}return S.initialized||je(vt.Pop,S.location,{initialHydration:!0}),P}function Y(){d&&d(),M&&M(),h.clear(),_&&_.abort(),S.fetchers.forEach((R,B)=>af(B)),S.blockers.forEach((R,B)=>I1(B))}function re(R){return h.add(R),()=>h.delete(R)}function te(R,B){B===void 0&&(B={}),S=Je({},S,R);let W=[],q=[];f.v7_fetcherPersist&&S.fetchers.forEach((ce,he)=>{ce.state==="idle"&&(X.has(he)?q.push(he):W.push(he))}),[...h].forEach(ce=>ce(S,{deletedFetchers:q,viewTransitionOpts:B.viewTransitionOpts,flushSync:B.flushSync===!0})),f.v7_fetcherPersist&&(W.forEach(ce=>S.fetchers.delete(ce)),q.forEach(ce=>af(ce)))}function H(R,B,W){var q,ce;let{flushSync:he}=W===void 0?{}:W,ye=S.actionData!=null&&S.navigation.formMethod!=null&&en(S.navigation.formMethod)&&S.navigation.state==="loading"&&((q=R.state)==null?void 0:q._isRedirect)!==!0,fe;B.actionData?Object.keys(B.actionData).length>0?fe=B.actionData:fe=null:ye?fe=S.actionData:fe=null;let de=B.loaderData?sP(S.loaderData,B.loaderData,B.matches||[],B.errors):S.loaderData,ue=S.blockers;ue.size>0&&(ue=new Map(ue),ue.forEach((Te,It)=>ue.set(It,kl)));let me=C===!0||S.navigation.formMethod!=null&&en(S.navigation.formMethod)&&((ce=R.state)==null?void 0:ce._isRedirect)!==!0;s&&(a=s,s=void 0),L||E===vt.Pop||(E===vt.Push?e.history.push(R,R.state):E===vt.Replace&&e.history.replace(R,R.state));let _e;if(E===vt.Pop){let Te=j.get(S.location.pathname);Te&&Te.has(R.pathname)?_e={currentLocation:S.location,nextLocation:R}:j.has(R.pathname)&&(_e={currentLocation:R,nextLocation:S.location})}else if(N){let Te=j.get(S.location.pathname);Te?Te.add(R.pathname):(Te=new Set([R.pathname]),j.set(S.location.pathname,Te)),_e={currentLocation:S.location,nextLocation:R}}te(Je({},B,{actionData:fe,loaderData:de,historyAction:E,location:R,initialized:!0,navigation:Av,revalidation:"idle",restoreScrollPosition:F1(R,B.matches||S.matches),preventScrollReset:me,blockers:ue}),{viewTransitionOpts:_e,flushSync:he===!0}),E=vt.Pop,C=!1,N=!1,L=!1,k=!1,F=[]}async function we(R,B){if(typeof R=="number"){e.history.go(R);return}let W=by(S.location,S.matches,l,f.v7_prependBasename,R,f.v7_relativeSplatPath,B==null?void 0:B.fromRouteId,B==null?void 0:B.relative),{path:q,submission:ce,error:he}=JS(f.v7_normalizeFormMethod,!1,W,B),ye=S.location,fe=Bc(S.location,q,B&&B.state);fe=Je({},fe,e.history.encodeLocation(fe));let de=B&&B.replace!=null?B.replace:void 0,ue=vt.Push;de===!0?ue=vt.Replace:de===!1||ce!=null&&en(ce.formMethod)&&ce.formAction===S.location.pathname+S.location.search&&(ue=vt.Replace);let me=B&&"preventScrollReset"in B?B.preventScrollReset===!0:void 0,_e=(B&&B.flushSync)===!0,Te=D1({currentLocation:ye,nextLocation:fe,historyAction:ue});if(Te){sf(Te,{state:"blocked",location:fe,proceed(){sf(Te,{state:"proceeding",proceed:void 0,reset:void 0,location:fe}),we(R,B)},reset(){let It=new Map(S.blockers);It.set(Te,kl),te({blockers:It})}});return}return await je(ue,fe,{submission:ce,pendingError:he,preventScrollReset:me,replace:B&&B.replace,enableViewTransition:B&&B.viewTransition,flushSync:_e})}function ge(){if(Jm(),te({revalidation:"loading"}),S.navigation.state!=="submitting"){if(S.navigation.state==="idle"){je(S.historyAction,S.location,{startUninterruptedRevalidation:!0});return}je(E||S.historyAction,S.navigation.location,{overrideNavigation:S.navigation,enableViewTransition:N===!0})}}async function je(R,B,W){_&&_.abort(),_=null,E=R,L=(W&&W.startUninterruptedRevalidation)===!0,EL(S.location,S.matches),C=(W&&W.preventScrollReset)===!0,N=(W&&W.enableViewTransition)===!0;let q=s||a,ce=W&&W.overrideNavigation,he=ki(q,B,l),ye=(W&&W.flushSync)===!0,fe=lf(he,q,B.pathname);if(fe.active&&fe.matches&&(he=fe.matches),!he){let{error:Ke,notFoundMatches:$e,route:ct}=ev(B.pathname);H(B,{matches:$e,loaderData:{},errors:{[ct.id]:Ke}},{flushSync:ye});return}if(S.initialized&&!k&&z5(S.location,B)&&!(W&&W.submission&&en(W.submission.formMethod))){H(B,{matches:he},{flushSync:ye});return}_=new AbortController;let de=ja(e.history,B,_.signal,W&&W.submission),ue;if(W&&W.pendingError)ue=[$i(he).route.id,{type:Ue.error,error:W.pendingError}];else if(W&&W.submission&&en(W.submission.formMethod)){let Ke=await Ve(de,B,W.submission,he,fe.active,{replace:W.replace,flushSync:ye});if(Ke.shortCircuited)return;if(Ke.pendingActionResult){let[$e,ct]=Ke.pendingActionResult;if(xr(ct)&&$u(ct.error)&&ct.error.status===404){_=null,H(B,{matches:Ke.matches,loaderData:{},errors:{[$e]:ct.error}});return}}he=Ke.matches||he,ue=Ke.pendingActionResult,ce=Mv(B,W.submission),ye=!1,fe.active=!1,de=ja(e.history,de.url,de.signal)}let{shortCircuited:me,matches:_e,loaderData:Te,errors:It}=await lt(de,B,he,fe.active,ce,W&&W.submission,W&&W.fetcherSubmission,W&&W.replace,W&&W.initialHydration===!0,ye,ue);me||(_=null,H(B,Je({matches:_e||he},lP(ue),{loaderData:Te,errors:It})))}async function Ve(R,B,W,q,ce,he){he===void 0&&(he={}),Jm();let ye=K5(B,W);if(te({navigation:ye},{flushSync:he.flushSync===!0}),ce){let ue=await cf(q,B.pathname,R.signal);if(ue.type==="aborted")return{shortCircuited:!0};if(ue.type==="error"){let me=$i(ue.partialMatches).route.id;return{matches:ue.partialMatches,pendingActionResult:[me,{type:Ue.error,error:ue.error}]}}else if(ue.matches)q=ue.matches;else{let{notFoundMatches:me,error:_e,route:Te}=ev(B.pathname);return{matches:me,pendingActionResult:[Te.id,{type:Ue.error,error:_e}]}}}let fe,de=nc(q,B);if(!de.route.action&&!de.route.lazy)fe={type:Ue.error,error:ir(405,{method:R.method,pathname:B.pathname,routeId:de.route.id})};else if(fe=(await Eo("action",S,R,[de],q,null))[de.route.id],R.signal.aborted)return{shortCircuited:!0};if(Fi(fe)){let ue;return he&&he.replace!=null?ue=he.replace:ue=oP(fe.response.headers.get("Location"),new URL(R.url),l)===S.location.pathname+S.location.search,await Kr(R,fe,!0,{submission:W,replace:ue}),{shortCircuited:!0}}if(Uo(fe))throw ir(400,{type:"defer-action"});if(xr(fe)){let ue=$i(q,de.route.id);return(he&&he.replace)!==!0&&(E=vt.Push),{matches:q,pendingActionResult:[ue.route.id,fe]}}return{matches:q,pendingActionResult:[de.route.id,fe]}}async function lt(R,B,W,q,ce,he,ye,fe,de,ue,me){let _e=ce||Mv(B,he),Te=he||ye||fP(_e),It=!L&&(!f.v7_partialHydration||!de);if(q){if(It){let ut=hr(me);te(Je({navigation:_e},ut!==void 0?{actionData:ut}:{}),{flushSync:ue})}let Me=await cf(W,B.pathname,R.signal);if(Me.type==="aborted")return{shortCircuited:!0};if(Me.type==="error"){let ut=$i(Me.partialMatches).route.id;return{matches:Me.partialMatches,loaderData:{},errors:{[ut]:Me.error}}}else if(Me.matches)W=Me.matches;else{let{error:ut,notFoundMatches:Ea,route:Ol}=ev(B.pathname);return{matches:Ea,loaderData:{},errors:{[Ol.id]:ut}}}}let Ke=s||a,[$e,ct]=tP(e.history,S,W,Te,B,f.v7_partialHydration&&de===!0,f.v7_skipActionErrorRevalidation,k,F,D,X,$,G,Ke,l,me);if(tv(Me=>!(W&&W.some(ut=>ut.route.id===Me))||$e&&$e.some(ut=>ut.route.id===Me)),A=++T,$e.length===0&&ct.length===0){let Me=$1();return H(B,Je({matches:W,loaderData:{},errors:me&&xr(me[1])?{[me[0]]:me[1].error}:null},lP(me),Me?{fetchers:new Map(S.fetchers)}:{}),{flushSync:ue}),{shortCircuited:!0}}if(It){let Me={};if(!q){Me.navigation=_e;let ut=hr(me);ut!==void 0&&(Me.actionData=ut)}ct.length>0&&(Me.fetchers=mr(ct)),te(Me,{flushSync:ue})}ct.forEach(Me=>{_o(Me.key),Me.controller&&z.set(Me.key,Me.controller)});let Oa=()=>ct.forEach(Me=>_o(Me.key));_&&_.signal.addEventListener("abort",Oa);let{loaderResults:Sl,fetcherResults:Yn}=await wl(S,W,$e,ct,R);if(R.signal.aborted)return{shortCircuited:!0};_&&_.signal.removeEventListener("abort",Oa),ct.forEach(Me=>z.delete(Me.key));let yn=Af(Sl);if(yn)return await Kr(R,yn.result,!0,{replace:fe}),{shortCircuited:!0};if(yn=Af(Yn),yn)return G.add(yn.key),await Kr(R,yn.result,!0,{replace:fe}),{shortCircuited:!0};let{loaderData:rv,errors:Pl}=aP(S,W,Sl,me,ct,Yn,Z);Z.forEach((Me,ut)=>{Me.subscribe(Ea=>{(Ea||Me.done)&&Z.delete(ut)})}),f.v7_partialHydration&&de&&S.errors&&(Pl=Je({},S.errors,Pl));let Oi=$1(),uf=R1(A),ff=Oi||uf||ct.length>0;return Je({matches:W,loaderData:rv,errors:Pl},ff?{fetchers:new Map(S.fetchers)}:{})}function hr(R){if(R&&!xr(R[1]))return{[R[0]]:R[1].data};if(S.actionData)return Object.keys(S.actionData).length===0?null:S.actionData}function mr(R){return R.forEach(B=>{let W=S.fetchers.get(B.key),q=$l(void 0,W?W.data:void 0);S.fetchers.set(B.key,q)}),new Map(S.fetchers)}function Pa(R,B,W,q){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");_o(R);let ce=(q&&q.flushSync)===!0,he=s||a,ye=by(S.location,S.matches,l,f.v7_prependBasename,W,f.v7_relativeSplatPath,B,q==null?void 0:q.relative),fe=ki(he,ye,l),de=lf(fe,he,ye);if(de.active&&de.matches&&(fe=de.matches),!fe){Kn(R,B,ir(404,{pathname:ye}),{flushSync:ce});return}let{path:ue,submission:me,error:_e}=JS(f.v7_normalizeFormMethod,!0,ye,q);if(_e){Kn(R,B,_e,{flushSync:ce});return}let Te=nc(fe,ue),It=(q&&q.preventScrollReset)===!0;if(me&&en(me.formMethod)){Vn(R,B,ue,Te,fe,de.active,ce,It,me);return}$.set(R,{routeId:B,path:ue}),Gn(R,B,ue,Te,fe,de.active,ce,It,me)}async function Vn(R,B,W,q,ce,he,ye,fe,de){Jm(),$.delete(R);function ue(ht){if(!ht.route.action&&!ht.route.lazy){let Ca=ir(405,{method:de.formMethod,pathname:W,routeId:B});return Kn(R,B,Ca,{flushSync:ye}),!0}return!1}if(!he&&ue(q))return;let me=S.fetchers.get(R);Co(R,Y5(de,me),{flushSync:ye});let _e=new AbortController,Te=ja(e.history,W,_e.signal,de);if(he){let ht=await cf(ce,W,Te.signal);if(ht.type==="aborted")return;if(ht.type==="error"){Kn(R,B,ht.error,{flushSync:ye});return}else if(ht.matches){if(ce=ht.matches,q=nc(ce,W),ue(q))return}else{Kn(R,B,ir(404,{pathname:W}),{flushSync:ye});return}}z.set(R,_e);let It=T,$e=(await Eo("action",S,Te,[q],ce,R))[q.route.id];if(Te.signal.aborted){z.get(R)===_e&&z.delete(R);return}if(f.v7_fetcherPersist&&X.has(R)){if(Fi($e)||xr($e)){Co(R,No(void 0));return}}else{if(Fi($e))if(z.delete(R),A>It){Co(R,No(void 0));return}else return G.add(R),Co(R,$l(de)),Kr(Te,$e,!1,{fetcherSubmission:de,preventScrollReset:fe});if(xr($e)){Kn(R,B,$e.error);return}}if(Uo($e))throw ir(400,{type:"defer-action"});let ct=S.navigation.location||S.location,Oa=ja(e.history,ct,_e.signal),Sl=s||a,Yn=S.navigation.state!=="idle"?ki(Sl,S.navigation.location,l):S.matches;Se(Yn,"Didn't find any matches after fetcher action");let yn=++T;U.set(R,yn);let rv=$l(de,$e.data);S.fetchers.set(R,rv);let[Pl,Oi]=tP(e.history,S,Yn,de,ct,!1,f.v7_skipActionErrorRevalidation,k,F,D,X,$,G,Sl,l,[q.route.id,$e]);Oi.filter(ht=>ht.key!==R).forEach(ht=>{let Ca=ht.key,B1=S.fetchers.get(Ca),jL=$l(void 0,B1?B1.data:void 0);S.fetchers.set(Ca,jL),_o(Ca),ht.controller&&z.set(Ca,ht.controller)}),te({fetchers:new Map(S.fetchers)});let uf=()=>Oi.forEach(ht=>_o(ht.key));_e.signal.addEventListener("abort",uf);let{loaderResults:ff,fetcherResults:Me}=await wl(S,Yn,Pl,Oi,Oa);if(_e.signal.aborted)return;_e.signal.removeEventListener("abort",uf),U.delete(R),z.delete(R),Oi.forEach(ht=>z.delete(ht.key));let ut=Af(ff);if(ut)return Kr(Oa,ut.result,!1,{preventScrollReset:fe});if(ut=Af(Me),ut)return G.add(ut.key),Kr(Oa,ut.result,!1,{preventScrollReset:fe});let{loaderData:Ea,errors:Ol}=aP(S,Yn,ff,void 0,Oi,Me,Z);if(S.fetchers.has(R)){let ht=No($e.data);S.fetchers.set(R,ht)}R1(yn),S.navigation.state==="loading"&&yn>A?(Se(E,"Expected pending action"),_&&_.abort(),H(S.navigation.location,{matches:Yn,loaderData:Ea,errors:Ol,fetchers:new Map(S.fetchers)})):(te({errors:Ol,loaderData:sP(S.loaderData,Ea,Yn,Ol),fetchers:new Map(S.fetchers)}),k=!1)}async function Gn(R,B,W,q,ce,he,ye,fe,de){let ue=S.fetchers.get(R);Co(R,$l(de,ue?ue.data:void 0),{flushSync:ye});let me=new AbortController,_e=ja(e.history,W,me.signal);if(he){let $e=await cf(ce,W,_e.signal);if($e.type==="aborted")return;if($e.type==="error"){Kn(R,B,$e.error,{flushSync:ye});return}else if($e.matches)ce=$e.matches,q=nc(ce,W);else{Kn(R,B,ir(404,{pathname:W}),{flushSync:ye});return}}z.set(R,me);let Te=T,Ke=(await Eo("loader",S,_e,[q],ce,R))[q.route.id];if(Uo(Ke)&&(Ke=await mb(Ke,_e.signal,!0)||Ke),z.get(R)===me&&z.delete(R),!_e.signal.aborted){if(X.has(R)){Co(R,No(void 0));return}if(Fi(Ke))if(A>Te){Co(R,No(void 0));return}else{G.add(R),await Kr(_e,Ke,!1,{preventScrollReset:fe});return}if(xr(Ke)){Kn(R,B,Ke.error);return}Se(!Uo(Ke),"Unhandled fetcher deferred data"),Co(R,No(Ke.data))}}async function Kr(R,B,W,q){let{submission:ce,fetcherSubmission:he,preventScrollReset:ye,replace:fe}=q===void 0?{}:q;B.response.headers.has("X-Remix-Revalidate")&&(k=!0);let de=B.response.headers.get("Location");Se(de,"Expected a Location header on the redirect Response"),de=oP(de,new URL(R.url),l);let ue=Bc(S.location,de,{_isRedirect:!0});if(r){let $e=!1;if(B.response.headers.has("X-Remix-Reload-Document"))$e=!0;else if(hb.test(de)){const ct=e.history.createURL(de);$e=ct.origin!==t.location.origin||pn(ct.pathname,l)==null}if($e){fe?t.location.replace(de):t.location.assign(de);return}}_=null;let me=fe===!0||B.response.headers.has("X-Remix-Replace")?vt.Replace:vt.Push,{formMethod:_e,formAction:Te,formEncType:It}=S.navigation;!ce&&!he&&_e&&Te&&It&&(ce=fP(S.navigation));let Ke=ce||he;if(j5.has(B.response.status)&&Ke&&en(Ke.formMethod))await je(me,ue,{submission:Je({},Ke,{formAction:de}),preventScrollReset:ye||C,enableViewTransition:W?N:void 0});else{let $e=Mv(ue,ce);await je(me,ue,{overrideNavigation:$e,fetcherSubmission:he,preventScrollReset:ye||C,enableViewTransition:W?N:void 0})}}async function Eo(R,B,W,q,ce,he){let ye,fe={};try{ye=await I5(c,R,B,W,q,ce,he,i,o)}catch(de){return q.forEach(ue=>{fe[ue.route.id]={type:Ue.error,error:de}}),fe}for(let[de,ue]of Object.entries(ye))if(U5(ue)){let me=ue.result;fe[de]={type:Ue.redirect,response:F5(me,W,de,ce,l,f.v7_relativeSplatPath)}}else fe[de]=await L5(ue);return fe}async function wl(R,B,W,q,ce){let he=R.matches,ye=Eo("loader",R,ce,W,B,null),fe=Promise.all(q.map(async me=>{if(me.matches&&me.match&&me.controller){let Te=(await Eo("loader",R,ja(e.history,me.path,me.controller.signal),[me.match],me.matches,me.key))[me.match.route.id];return{[me.key]:Te}}else return Promise.resolve({[me.key]:{type:Ue.error,error:ir(404,{pathname:me.path})}})})),de=await ye,ue=(await fe).reduce((me,_e)=>Object.assign(me,_e),{});return await Promise.all([V5(B,de,ce.signal,he,R.loaderData),G5(B,ue,q)]),{loaderResults:de,fetcherResults:ue}}function Jm(){k=!0,F.push(...tv()),$.forEach((R,B)=>{z.has(B)&&D.add(B),_o(B)})}function Co(R,B,W){W===void 0&&(W={}),S.fetchers.set(R,B),te({fetchers:new Map(S.fetchers)},{flushSync:(W&&W.flushSync)===!0})}function Kn(R,B,W,q){q===void 0&&(q={});let ce=$i(S.matches,B);af(R),te({errors:{[ce.route.id]:W},fetchers:new Map(S.fetchers)},{flushSync:(q&&q.flushSync)===!0})}function N1(R){return f.v7_fetcherPersist&&(K.set(R,(K.get(R)||0)+1),X.has(R)&&X.delete(R)),S.fetchers.get(R)||T5}function af(R){let B=S.fetchers.get(R);z.has(R)&&!(B&&B.state==="loading"&&U.has(R))&&_o(R),$.delete(R),U.delete(R),G.delete(R),X.delete(R),D.delete(R),S.fetchers.delete(R)}function SL(R){if(f.v7_fetcherPersist){let B=(K.get(R)||0)-1;B<=0?(K.delete(R),X.add(R)):K.set(R,B)}else af(R);te({fetchers:new Map(S.fetchers)})}function _o(R){let B=z.get(R);B&&(B.abort(),z.delete(R))}function k1(R){for(let B of R){let W=N1(B),q=No(W.data);S.fetchers.set(B,q)}}function $1(){let R=[],B=!1;for(let W of G){let q=S.fetchers.get(W);Se(q,"Expected fetcher: "+W),q.state==="loading"&&(G.delete(W),R.push(W),B=!0)}return k1(R),B}function R1(R){let B=[];for(let[W,q]of U)if(q0}function PL(R,B){let W=S.blockers.get(R)||kl;return ie.get(R)!==B&&ie.set(R,B),W}function I1(R){S.blockers.delete(R),ie.delete(R)}function sf(R,B){let W=S.blockers.get(R)||kl;Se(W.state==="unblocked"&&B.state==="blocked"||W.state==="blocked"&&B.state==="blocked"||W.state==="blocked"&&B.state==="proceeding"||W.state==="blocked"&&B.state==="unblocked"||W.state==="proceeding"&&B.state==="unblocked","Invalid blocker state transition: "+W.state+" -> "+B.state);let q=new Map(S.blockers);q.set(R,B),te({blockers:q})}function D1(R){let{currentLocation:B,nextLocation:W,historyAction:q}=R;if(ie.size===0)return;ie.size>1&&Os(!1,"A router only supports one blocker at a time");let ce=Array.from(ie.entries()),[he,ye]=ce[ce.length-1],fe=S.blockers.get(he);if(!(fe&&fe.state==="proceeding")&&ye({currentLocation:B,nextLocation:W,historyAction:q}))return he}function ev(R){let B=ir(404,{pathname:R}),W=s||a,{matches:q,route:ce}=cP(W);return tv(),{notFoundMatches:q,route:ce,error:B}}function tv(R){let B=[];return Z.forEach((W,q)=>{(!R||R(q))&&(W.cancel(),B.push(q),Z.delete(q))}),B}function OL(R,B,W){if(g=R,b=B,v=W||null,!x&&S.navigation===Av){x=!0;let q=F1(S.location,S.matches);q!=null&&te({restoreScrollPosition:q})}return()=>{g=null,b=null,v=null}}function L1(R,B){return v&&v(R,B.map(q=>a5(q,S.loaderData)))||R.key}function EL(R,B){if(g&&b){let W=L1(R,B);g[W]=b()}}function F1(R,B){if(g){let W=L1(R,B),q=g[W];if(typeof q=="number")return q}return null}function lf(R,B,W){if(u)if(R){if(Object.keys(R[0].params).length>0)return{active:!0,matches:pd(B,W,l,!0)}}else return{active:!0,matches:pd(B,W,l,!0)||[]};return{active:!1,matches:null}}async function cf(R,B,W){if(!u)return{type:"success",matches:R};let q=R;for(;;){let ce=s==null,he=s||a,ye=i;try{await u({path:B,matches:q,patch:(ue,me)=>{W.aborted||nP(ue,me,he,ye,o)}})}catch(ue){return{type:"error",error:ue,partialMatches:q}}finally{ce&&!W.aborted&&(a=[...a])}if(W.aborted)return{type:"aborted"};let fe=ki(he,B,l);if(fe)return{type:"success",matches:fe};let de=pd(he,B,l,!0);if(!de||q.length===de.length&&q.every((ue,me)=>ue.route.id===de[me].route.id))return{type:"success",matches:null};q=de}}function CL(R){i={},s=Gd(R,o,void 0,i)}function _L(R,B){let W=s==null;nP(R,B,s||a,i,o),W&&(a=[...a],te({}))}return P={get basename(){return l},get future(){return f},get state(){return S},get routes(){return a},get window(){return t},initialize:pe,subscribe:re,enableScrollRestoration:OL,navigate:we,fetch:Pa,revalidate:ge,createHref:R=>e.history.createHref(R),encodeLocation:R=>e.history.encodeLocation(R),getFetcher:N1,deleteFetcher:SL,dispose:Y,getBlocker:PL,deleteBlocker:I1,patchRoutes:_L,_internalFetchControllers:z,_internalActiveDeferreds:Z,_internalSetRoutes:CL},P}function N5(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function by(e,t,r,n,o,i,a,s){let l,c;if(a){l=[];for(let f of t)if(l.push(f),f.route.id===a){c=f;break}}else l=t,c=t[t.length-1];let u=db(o||".",fb(l,i),pn(e.pathname,r)||e.pathname,s==="path");if(o==null&&(u.search=e.search,u.hash=e.hash),(o==null||o===""||o===".")&&c){let f=vb(u.search);if(c.route.index&&!f)u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&f){let d=new URLSearchParams(u.search),h=d.getAll("index");d.delete("index"),h.filter(v=>v).forEach(v=>d.append("index",v));let g=d.toString();u.search=g?"?"+g:""}}return n&&r!=="/"&&(u.pathname=u.pathname==="/"?r:Nn([r,u.pathname])),ri(u)}function JS(e,t,r,n){if(!n||!N5(n))return{path:r};if(n.formMethod&&!H5(n.formMethod))return{path:r,error:ir(405,{method:n.formMethod})};let o=()=>({path:r,error:ir(400,{type:"invalid-body"})}),i=n.formMethod||"get",a=e?i.toUpperCase():i.toLowerCase(),s=vA(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!en(a))return o();let d=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((h,g)=>{let[v,b]=g;return""+h+v+"="+b+` +`},""):String(n.body);return{path:r,submission:{formMethod:a,formAction:s,formEncType:n.formEncType,formData:void 0,json:void 0,text:d}}}else if(n.formEncType==="application/json"){if(!en(a))return o();try{let d=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:a,formAction:s,formEncType:n.formEncType,formData:void 0,json:d,text:void 0}}}catch{return o()}}}Se(typeof FormData=="function","FormData is not available in this environment");let l,c;if(n.formData)l=Sy(n.formData),c=n.formData;else if(n.body instanceof FormData)l=Sy(n.body),c=n.body;else if(n.body instanceof URLSearchParams)l=n.body,c=iP(l);else if(n.body==null)l=new URLSearchParams,c=new FormData;else try{l=new URLSearchParams(n.body),c=iP(l)}catch{return o()}let u={formMethod:a,formAction:s,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(en(u.formMethod))return{path:r,submission:u};let f=pi(r);return t&&f.search&&vb(f.search)&&l.append("index",""),f.search="?"+l,{path:ri(f),submission:u}}function eP(e,t,r){r===void 0&&(r=!1);let n=e.findIndex(o=>o.route.id===t);return n>=0?e.slice(0,r?n+1:n):e}function tP(e,t,r,n,o,i,a,s,l,c,u,f,d,h,g,v){let b=v?xr(v[1])?v[1].error:v[1].data:void 0,x=e.createURL(t.location),y=e.createURL(o),w=r;i&&t.errors?w=eP(r,Object.keys(t.errors)[0],!0):v&&xr(v[1])&&(w=eP(r,v[0]));let O=v?v[1].statusCode:void 0,P=a&&O&&O>=400,S=w.filter((C,_)=>{let{route:N}=C;if(N.lazy)return!0;if(N.loader==null)return!1;if(i)return wy(N,t.loaderData,t.errors);if(k5(t.loaderData,t.matches[_],C)||l.some(L=>L===C.route.id))return!0;let j=t.matches[_],M=C;return rP(C,Je({currentUrl:x,currentParams:j.params,nextUrl:y,nextParams:M.params},n,{actionResult:b,actionStatus:O,defaultShouldRevalidate:P?!1:s||x.pathname+x.search===y.pathname+y.search||x.search!==y.search||hA(j,M)}))}),E=[];return f.forEach((C,_)=>{if(i||!r.some(k=>k.route.id===C.routeId)||u.has(_))return;let N=ki(h,C.path,g);if(!N){E.push({key:_,routeId:C.routeId,path:C.path,matches:null,match:null,controller:null});return}let j=t.fetchers.get(_),M=nc(N,C.path),L=!1;d.has(_)?L=!1:c.has(_)?(c.delete(_),L=!0):j&&j.state!=="idle"&&j.data===void 0?L=s:L=rP(M,Je({currentUrl:x,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:r[r.length-1].params},n,{actionResult:b,actionStatus:O,defaultShouldRevalidate:P?!1:s})),L&&E.push({key:_,routeId:C.routeId,path:C.path,matches:N,match:M,controller:new AbortController})}),[S,E]}function wy(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=t!=null&&t[e.id]!==void 0,o=r!=null&&r[e.id]!==void 0;return!n&&o?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!n&&!o}function k5(e,t,r){let n=!t||r.route.id!==t.route.id,o=e[r.route.id]===void 0;return n||o}function hA(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function rP(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}function nP(e,t,r,n,o){var i;let a;if(e){let c=n[e];Se(c,"No route found to patch children into: routeId = "+e),c.children||(c.children=[]),a=c.children}else a=r;let s=t.filter(c=>!a.some(u=>mA(c,u))),l=Gd(s,o,[e||"_","patch",String(((i=a)==null?void 0:i.length)||"0")],n);a.push(...l)}function mA(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((r,n)=>{var o;return(o=t.children)==null?void 0:o.some(i=>mA(r,i))}):!1}async function $5(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let o=r[e.id];Se(o,"No route found in manifest");let i={};for(let a in n){let l=o[a]!==void 0&&a!=="hasErrorBoundary";Os(!l,'Route "'+o.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+a+'" will be ignored.')),!l&&!o5.has(a)&&(i[a]=n[a])}Object.assign(o,i),Object.assign(o,Je({},t(o),{lazy:void 0}))}async function R5(e){let{matches:t}=e,r=t.filter(o=>o.shouldLoad);return(await Promise.all(r.map(o=>o.resolve()))).reduce((o,i,a)=>Object.assign(o,{[r[a].route.id]:i}),{})}async function I5(e,t,r,n,o,i,a,s,l,c){let u=i.map(h=>h.route.lazy?$5(h.route,l,s):void 0),f=i.map((h,g)=>{let v=u[g],b=o.some(y=>y.route.id===h.route.id);return Je({},h,{shouldLoad:b,resolve:async y=>(y&&n.method==="GET"&&(h.route.lazy||h.route.loader)&&(b=!0),b?D5(t,n,h,v,y,c):Promise.resolve({type:Ue.data,result:void 0}))})}),d=await e({matches:f,request:n,params:i[0].params,fetcherKey:a,context:c});try{await Promise.all(u)}catch{}return d}async function D5(e,t,r,n,o,i){let a,s,l=c=>{let u,f=new Promise((g,v)=>u=v);s=()=>u(),t.signal.addEventListener("abort",s);let d=g=>typeof c!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+r.route.id+"]"))):c({request:t,params:r.params,context:i},...g!==void 0?[g]:[]),h=(async()=>{try{return{type:"data",result:await(o?o(v=>d(v)):d())}}catch(g){return{type:"error",result:g}}})();return Promise.race([h,f])};try{let c=r.route[e];if(n)if(c){let u,[f]=await Promise.all([l(c).catch(d=>{u=d}),n]);if(u!==void 0)throw u;a=f}else if(await n,c=r.route[e],c)a=await l(c);else if(e==="action"){let u=new URL(t.url),f=u.pathname+u.search;throw ir(405,{method:t.method,pathname:f,routeId:r.route.id})}else return{type:Ue.data,result:void 0};else if(c)a=await l(c);else{let u=new URL(t.url),f=u.pathname+u.search;throw ir(404,{pathname:f})}Se(a.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(c){return{type:Ue.error,result:c}}finally{s&&t.signal.removeEventListener("abort",s)}return a}async function L5(e){let{result:t,type:r}=e;if(gA(t)){let c;try{let u=t.headers.get("Content-Type");u&&/\bapplication\/json\b/.test(u)?t.body==null?c=null:c=await t.json():c=await t.text()}catch(u){return{type:Ue.error,error:u}}return r===Ue.error?{type:Ue.error,error:new Yd(t.status,t.statusText,c),statusCode:t.status,headers:t.headers}:{type:Ue.data,data:c,statusCode:t.status,headers:t.headers}}if(r===Ue.error){if(uP(t)){var n;if(t.data instanceof Error){var o;return{type:Ue.error,error:t.data,statusCode:(o=t.init)==null?void 0:o.status}}t=new Yd(((n=t.init)==null?void 0:n.status)||500,void 0,t.data)}return{type:Ue.error,error:t,statusCode:$u(t)?t.status:void 0}}if(W5(t)){var i,a;return{type:Ue.deferred,deferredData:t,statusCode:(i=t.init)==null?void 0:i.status,headers:((a=t.init)==null?void 0:a.headers)&&new Headers(t.init.headers)}}if(uP(t)){var s,l;return{type:Ue.data,data:t.data,statusCode:(s=t.init)==null?void 0:s.status,headers:(l=t.init)!=null&&l.headers?new Headers(t.init.headers):void 0}}return{type:Ue.data,data:t}}function F5(e,t,r,n,o,i){let a=e.headers.get("Location");if(Se(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!hb.test(a)){let s=n.slice(0,n.findIndex(l=>l.route.id===r)+1);a=by(new URL(t.url),s,o,!0,a,i),e.headers.set("Location",a)}return e}function oP(e,t,r){if(hb.test(e)){let n=e,o=n.startsWith("//")?new URL(t.protocol+n):new URL(n),i=pn(o.pathname,r)!=null;if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function ja(e,t,r,n){let o=e.createURL(vA(t)).toString(),i={signal:r};if(n&&en(n.formMethod)){let{formMethod:a,formEncType:s}=n;i.method=a.toUpperCase(),s==="application/json"?(i.headers=new Headers({"Content-Type":s}),i.body=JSON.stringify(n.json)):s==="text/plain"?i.body=n.text:s==="application/x-www-form-urlencoded"&&n.formData?i.body=Sy(n.formData):i.body=n.formData}return new Request(o,i)}function Sy(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function iP(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function B5(e,t,r,n,o){let i={},a=null,s,l=!1,c={},u=r&&xr(r[1])?r[1].error:void 0;return e.forEach(f=>{if(!(f.route.id in t))return;let d=f.route.id,h=t[d];if(Se(!Fi(h),"Cannot handle redirect results in processLoaderData"),xr(h)){let g=h.error;u!==void 0&&(g=u,u=void 0),a=a||{};{let v=$i(e,d);a[v.route.id]==null&&(a[v.route.id]=g)}i[d]=void 0,l||(l=!0,s=$u(h.error)?h.error.status:500),h.headers&&(c[d]=h.headers)}else Uo(h)?(n.set(d,h.deferredData),i[d]=h.deferredData.data,h.statusCode!=null&&h.statusCode!==200&&!l&&(s=h.statusCode),h.headers&&(c[d]=h.headers)):(i[d]=h.data,h.statusCode&&h.statusCode!==200&&!l&&(s=h.statusCode),h.headers&&(c[d]=h.headers))}),u!==void 0&&r&&(a={[r[0]]:u},i[r[0]]=void 0),{loaderData:i,errors:a,statusCode:s||200,loaderHeaders:c}}function aP(e,t,r,n,o,i,a){let{loaderData:s,errors:l}=B5(t,r,n,a);return o.forEach(c=>{let{key:u,match:f,controller:d}=c,h=i[u];if(Se(h,"Did not find corresponding fetcher result"),!(d&&d.signal.aborted))if(xr(h)){let g=$i(e.matches,f==null?void 0:f.route.id);l&&l[g.route.id]||(l=Je({},l,{[g.route.id]:h.error})),e.fetchers.delete(u)}else if(Fi(h))Se(!1,"Unhandled fetcher revalidation redirect");else if(Uo(h))Se(!1,"Unhandled fetcher deferred data");else{let g=No(h.data);e.fetchers.set(u,g)}}),{loaderData:s,errors:l}}function sP(e,t,r,n){let o=Je({},t);for(let i of r){let a=i.route.id;if(t.hasOwnProperty(a)?t[a]!==void 0&&(o[a]=t[a]):e[a]!==void 0&&i.route.loader&&(o[a]=e[a]),n&&n.hasOwnProperty(a))break}return o}function lP(e){return e?xr(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function $i(e,t){return(t?e.slice(0,e.findIndex(n=>n.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function cP(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function ir(e,t){let{pathname:r,routeId:n,method:o,type:i,message:a}=t===void 0?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(s="Bad Request",o&&r&&n?l="You made a "+o+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":i==="defer-action"?l="defer() is not supported in actions":i==="invalid-body"&&(l="Unable to encode submission body")):e===403?(s="Forbidden",l='Route "'+n+'" does not match URL "'+r+'"'):e===404?(s="Not Found",l='No route matches URL "'+r+'"'):e===405&&(s="Method Not Allowed",o&&r&&n?l="You made a "+o.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":o&&(l='Invalid request method "'+o.toUpperCase()+'"')),new Yd(e||500,s,new Error(l),!0)}function Af(e){let t=Object.entries(e);for(let r=t.length-1;r>=0;r--){let[n,o]=t[r];if(Fi(o))return{key:n,result:o}}}function vA(e){let t=typeof e=="string"?pi(e):e;return ri(Je({},t,{hash:""}))}function z5(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function U5(e){return gA(e.result)&&_5.has(e.result.status)}function Uo(e){return e.type===Ue.deferred}function xr(e){return e.type===Ue.error}function Fi(e){return(e&&e.type)===Ue.redirect}function uP(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function W5(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function gA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function H5(e){return C5.has(e.toLowerCase())}function en(e){return O5.has(e.toLowerCase())}async function V5(e,t,r,n,o){let i=Object.entries(t);for(let a=0;a(d==null?void 0:d.route.id)===s);if(!c)continue;let u=n.find(d=>d.route.id===c.route.id),f=u!=null&&!hA(u,c)&&(o&&o[c.route.id])!==void 0;Uo(l)&&f&&await mb(l,r,!1).then(d=>{d&&(t[s]=d)})}}async function G5(e,t,r){for(let n=0;n(c==null?void 0:c.route.id)===i)&&Uo(s)&&(Se(a,"Expected an AbortController for revalidating fetcher deferred result"),await mb(s,a.signal,!0).then(c=>{c&&(t[o]=c)}))}}async function mb(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:Ue.data,data:e.deferredData.unwrappedData}}catch(o){return{type:Ue.error,error:o}}return{type:Ue.data,data:e.deferredData.data}}}function vb(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function nc(e,t){let r=typeof t=="string"?pi(t).search:t.search;if(e[e.length-1].route.index&&vb(r||""))return e[e.length-1];let n=fA(e);return n[n.length-1]}function fP(e){let{formMethod:t,formAction:r,formEncType:n,text:o,formData:i,json:a}=e;if(!(!t||!r||!n)){if(o!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:o};if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:i,json:void 0,text:void 0};if(a!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:a,text:void 0}}}function Mv(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function K5(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function $l(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Y5(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function No(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function q5(e,t){try{let r=e.sessionStorage.getItem(pA);if(r){let n=JSON.parse(r);for(let[o,i]of Object.entries(n||{}))i&&Array.isArray(i)&&t.set(o,new Set(i||[]))}}catch{}}function X5(e,t){if(t.size>0){let r={};for(let[n,o]of t)r[n]=[...o];try{e.sessionStorage.setItem(pA,JSON.stringify(r))}catch(n){Os(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** + * React Router v6.28.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function qd(){return qd=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),m.useCallback(function(c,u){if(u===void 0&&(u={}),!s.current)return;if(typeof c=="number"){n.go(c);return}let f=db(c,JSON.parse(a),i,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Nn([t,f.pathname])),(u.replace?n.replace:n.push)(f,u.state,u)},[t,n,a,i,e])}const J5=m.createContext(null);function eF(e){let t=m.useContext(zn).outlet;return t&&m.createElement(J5.Provider,{value:e},t)}function tF(){let{matches:e}=m.useContext(zn),t=e[e.length-1];return t?t.params:{}}function Du(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=m.useContext(Bn),{matches:o}=m.useContext(zn),{pathname:i}=ma(),a=JSON.stringify(fb(o,n.v7_relativeSplatPath));return m.useMemo(()=>db(e,JSON.parse(a),i,r==="path"),[e,a,i,r])}function rF(e,t,r,n){Iu()||Se(!1);let{navigator:o}=m.useContext(Bn),{matches:i}=m.useContext(zn),a=i[i.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=ma(),u;u=c;let f=u.pathname||"/",d=f;if(l!=="/"){let v=l.replace(/^\//,"").split("/");d="/"+f.replace(/^\//,"").split("/").slice(v.length).join("/")}let h=ki(e,{pathname:d});return sF(h&&h.map(v=>Object.assign({},v,{params:Object.assign({},s,v.params),pathname:Nn([l,o.encodeLocation?o.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:Nn([l,o.encodeLocation?o.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,r,n)}function nF(){let e=SA(),t=$u(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return m.createElement(m.Fragment,null,m.createElement("h2",null,"Unexpected Application Error!"),m.createElement("h3",{style:{fontStyle:"italic"}},t),r?m.createElement("pre",{style:o},r):null,null)}const oF=m.createElement(nF,null);class iF extends m.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?m.createElement(zn.Provider,{value:this.props.routeContext},m.createElement(yA.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function aF(e){let{routeContext:t,match:r,children:n}=e,o=m.useContext(Ru);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),m.createElement(zn.Provider,{value:t},n)}function sF(e,t,r,n){var o;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var i;if(!r)return null;if(r.errors)e=r.matches;else if((i=n)!=null&&i.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let a=e,s=(o=r)==null?void 0:o.errors;if(s!=null){let u=a.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);u>=0||Se(!1),a=a.slice(0,Math.min(a.length,u+1))}let l=!1,c=-1;if(r&&n&&n.v7_partialHydration)for(let u=0;u=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((u,f,d)=>{let h,g=!1,v=null,b=null;r&&(h=s&&f.route.id?s[f.route.id]:void 0,v=f.route.errorElement||oF,l&&(c<0&&d===0?(hF("route-fallback"),g=!0,b=null):c===d&&(g=!0,b=f.route.hydrateFallbackElement||null)));let x=t.concat(a.slice(0,d+1)),y=()=>{let w;return h?w=v:g?w=b:f.route.Component?w=m.createElement(f.route.Component,null):f.route.element?w=f.route.element:w=u,m.createElement(aF,{match:f,routeContext:{outlet:u,matches:x,isDataRoute:r!=null},children:w})};return r&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?m.createElement(iF,{location:r.location,revalidation:r.revalidation,component:v,error:h,children:y(),routeContext:{outlet:null,matches:x,isDataRoute:!0}}):y()},null)}var bA=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(bA||{}),In=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(In||{});function lF(e){let t=m.useContext(Ru);return t||Se(!1),t}function jh(e){let t=m.useContext(gb);return t||Se(!1),t}function cF(e){let t=m.useContext(zn);return t||Se(!1),t}function Lu(e){let t=cF(),r=t.matches[t.matches.length-1];return r.route.id||Se(!1),r.route.id}function uF(){return Lu(In.UseRouteId)}function wA(){return jh(In.UseNavigation).navigation}function fF(){let e=jh(In.UseLoaderData),t=Lu(In.UseLoaderData);if(e.errors&&e.errors[t]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")");return}return e.loaderData[t]}function dF(){let e=jh(In.UseActionData),t=Lu(In.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function SA(){var e;let t=m.useContext(yA),r=jh(In.UseRouteError),n=Lu(In.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function pF(){let{router:e}=lF(bA.UseNavigateStable),t=Lu(In.UseNavigateStable),r=m.useRef(!1);return xA(()=>{r.current=!0}),m.useCallback(function(o,i){i===void 0&&(i={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,qd({fromRouteId:t},i)))},[e,t])}const dP={};function hF(e,t,r){dP[e]||(dP[e]=!0)}const pP={};function mF(e,t){pP[t]||(pP[t]=!0,console.warn(t))}const Ta=(e,t,r)=>mF(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+r+"."));function vF(e,t){e!=null&&e.v7_startTransition||Ta("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),!(e!=null&&e.v7_relativeSplatPath)&&(!t||!t.v7_relativeSplatPath)&&Ta("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(t.v7_fetcherPersist||Ta("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod||Ta("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),t.v7_partialHydration||Ta("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation||Ta("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}function gF(e){return eF(e.context)}function yF(e){let{basename:t="/",children:r=null,location:n,navigationType:o=vt.Pop,navigator:i,static:a=!1,future:s}=e;Iu()&&Se(!1);let l=t.replace(/^\/*/,"/"),c=m.useMemo(()=>({basename:l,navigator:i,static:a,future:qd({v7_relativeSplatPath:!1},s)}),[l,s,i,a]);typeof n=="string"&&(n=pi(n));let{pathname:u="/",search:f="",hash:d="",state:h=null,key:g="default"}=n,v=m.useMemo(()=>{let b=pn(u,l);return b==null?null:{location:{pathname:b,search:f,hash:d,state:h,key:g},navigationType:o}},[l,u,f,d,h,g,o]);return v==null?null:m.createElement(Bn.Provider,{value:c},m.createElement(yb.Provider,{children:r,value:v}))}new Promise(()=>{});function xF(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:m.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:m.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:m.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.28.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ni(){return ni=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}const hd="get",Nv="application/x-www-form-urlencoded";function Th(e){return e!=null&&typeof e.tagName=="string"}function bF(e){return Th(e)&&e.tagName.toLowerCase()==="button"}function wF(e){return Th(e)&&e.tagName.toLowerCase()==="form"}function SF(e){return Th(e)&&e.tagName.toLowerCase()==="input"}function PF(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function OF(e,t){return e.button===0&&(!t||t==="_self")&&!PF(e)}function Py(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(o=>[r,o]):[[r,n]])},[]))}function EF(e,t){let r=Py(e);return t&&t.forEach((n,o)=>{r.has(o)||t.getAll(o).forEach(i=>{r.append(o,i)})}),r}let Mf=null;function CF(){if(Mf===null)try{new FormData(document.createElement("form"),0),Mf=!1}catch{Mf=!0}return Mf}const _F=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function kv(e){return e!=null&&!_F.has(e)?null:e}function jF(e,t){let r,n,o,i,a;if(wF(e)){let s=e.getAttribute("action");n=s?pn(s,t):null,r=e.getAttribute("method")||hd,o=kv(e.getAttribute("enctype"))||Nv,i=new FormData(e)}else if(bF(e)||SF(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a