@egen-civitas/esm-app-shell 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +65 -0
- package/dist/041385d2e6609cdb.js +1 -0
- package/dist/{b26d89ff925072b9.js.map → 041385d2e6609cdb.js.map} +1 -1
- package/dist/07272be7a5f095b6.js +1 -0
- package/dist/07272be7a5f095b6.js.map +1 -0
- package/dist/{0c744e2c29257d99.js.map → 0aca20dc054957b8.js.map} +1 -1
- package/dist/0c9fa749e5f5ac1e.js.map +1 -0
- package/dist/0ea62ab7dc553144.js.map +1 -0
- package/dist/{502a9fc73519b790.js → 1684748e84d14c1f.js} +1 -1
- package/dist/{502a9fc73519b790.js.map → 1684748e84d14c1f.js.map} +1 -1
- package/dist/17ab233e5949fa90.js.map +1 -0
- package/dist/{57b9ecf632f0e340.js → 213c57e74d964fee.js} +1 -1
- package/dist/{57b9ecf632f0e340.js.map → 213c57e74d964fee.js.map} +1 -1
- package/dist/{581f98c04407e41f.js → 2563e5bd5fa5230b.js} +1 -1
- package/dist/{581f98c04407e41f.js.map → 2563e5bd5fa5230b.js.map} +1 -1
- package/dist/268aba9c3b3240d8.js.map +1 -0
- package/dist/{a270b4dd4ebfc781.js → 28f3fecda0a24386.js} +1 -1
- package/dist/{a270b4dd4ebfc781.js.map → 28f3fecda0a24386.js.map} +1 -1
- package/dist/2a682a4337b1cf49.js.map +1 -0
- package/dist/2e9ad839f5135f19.js.map +1 -0
- package/dist/399dbfe7aa74b2fe.js.map +1 -0
- package/dist/39bfc9f5bddac47e.js.map +1 -0
- package/dist/{0814045b95073400.js.map → 3b5dc2267d2672a9.js.map} +1 -1
- package/dist/{8fec4ca250238f97.js.map → 40c5c037b8c78ee1.js.map} +1 -1
- package/dist/{1e69402e3a0af2ff.js.map → 41c9050ec396a0bc.js.map} +1 -1
- package/dist/{e1bc6457d8075d44.js.map → 475d1b64ad987c36.js.map} +1 -1
- package/dist/4789e902f2dfbe42.js.map +1 -0
- package/dist/489c8eee38a78ed4.js +1 -0
- package/dist/{a3487e3a30f88260.js.map → 489c8eee38a78ed4.js.map} +1 -1
- package/dist/4e01c80e3fdb7b2e.js.map +1 -0
- package/dist/52c47b3446e930b2.js.map +1 -0
- package/dist/545329093c0ce77f.js.map +1 -0
- package/dist/59bad67a3834588f.js +1 -0
- package/dist/59bad67a3834588f.js.map +1 -0
- package/dist/{27bce5d96d2f77ca.js.map → 5ad49928ffd2c870.js.map} +1 -1
- package/dist/6b5bbb19136bbbb7.js.map +1 -0
- package/dist/{0adb30e61ecef82b.js → 6da2f0022b478a43.js} +1 -1
- package/dist/{0adb30e61ecef82b.js.map → 6da2f0022b478a43.js.map} +1 -1
- package/dist/70487c4e731b04b7.js.map +1 -0
- package/dist/707482e209cb44c2.js.map +1 -0
- package/dist/74653689a945ce5c.js.map +1 -0
- package/dist/791b6cd161fe1f09.js.map +1 -0
- package/dist/7d8da0e72c8c7cb3.js.map +1 -0
- package/dist/7e84336a04f07cd6.js.map +1 -0
- package/dist/{8ddcc15d74514394.js → 7f1fcd7152a25252.js} +1 -1
- package/dist/{8ddcc15d74514394.js.map → 7f1fcd7152a25252.js.map} +1 -1
- package/dist/7f533a096f0fea09.js.map +1 -0
- package/dist/82a74477d30cd376.js.map +1 -0
- package/dist/{f0f589ec7f07c107.js → 8547b7bae0e9efbb.js} +1 -1
- package/dist/{f0f589ec7f07c107.js.map → 8547b7bae0e9efbb.js.map} +1 -1
- package/dist/871fb8b9954ba9d8.js.map +1 -0
- package/dist/{141c89b50671ef30.css → 888ab4f4534f9acb.css} +1 -1
- package/dist/888ab4f4534f9acb.css.map +1 -0
- package/dist/{bfaa506435501bf2.js → 8addbc90bfee31f9.js} +1 -1
- package/dist/{bfaa506435501bf2.js.map → 8addbc90bfee31f9.js.map} +1 -1
- package/dist/8ff878b5325f851a.js.map +1 -0
- package/dist/93466768026f5731.js.map +1 -0
- package/dist/9b83356aafc91034.js.map +1 -0
- package/dist/9d3b72699ae42645.js.map +1 -0
- package/dist/9e812e0ebbccf35a.js.map +1 -0
- package/dist/{9e5cdbc2a32ca8d0.js.map → a19d6b0bbe5d643b.js.map} +1 -1
- package/dist/a39dbd9a3c914cab.js.map +1 -0
- package/dist/{e30dd69f1360bbc1.js → ab588f08403e50b7.js} +1 -1
- package/dist/{e30dd69f1360bbc1.js.map → ab588f08403e50b7.js.map} +1 -1
- package/dist/b833d73c8a59a0c7.js.map +1 -0
- package/dist/bf3a9577bf632120.js.map +1 -0
- package/dist/c18393f118f80bc5.js +1 -0
- package/dist/c18393f118f80bc5.js.map +1 -0
- package/dist/{83dc1d7715f4c775.js → c46f170c8ebb1360.js} +1 -1
- package/dist/{83dc1d7715f4c775.js.map → c46f170c8ebb1360.js.map} +1 -1
- package/dist/c744c27c626a118f.js.map +1 -0
- package/dist/c888a1e49882e1cf.js.map +1 -0
- package/dist/c8b47f630b81e34f.js.map +1 -0
- package/dist/{556869ad73c921e4.js → c912e86130ce5147.js} +1 -1
- package/dist/{556869ad73c921e4.js.map → c912e86130ce5147.js.map} +1 -1
- package/dist/cc481a228229d3f7.js.map +1 -0
- package/dist/{8e4cb8f13154a6cd.js → cf4b9d901a6c0179.js} +1 -1
- package/dist/{8e4cb8f13154a6cd.js.map → cf4b9d901a6c0179.js.map} +1 -1
- package/dist/d20b47d5f87c54b6.js +1 -0
- package/dist/{489af18d10e95c33.js.map → d20b47d5f87c54b6.js.map} +1 -1
- package/dist/d2afc3ce14282482.js.map +1 -0
- package/dist/d83a83098967eaca.js.map +1 -0
- package/dist/dd06fc0c9fe61599.js.map +1 -0
- package/dist/{0934a87ec4dea730.js → de2f8e23f6d58ec6.js} +1 -1
- package/dist/{0934a87ec4dea730.js.map → de2f8e23f6d58ec6.js.map} +1 -1
- package/dist/e1ed8cd6144ce29d.js.map +1 -0
- package/dist/e234173d7d20e8c7.js.map +1 -0
- package/dist/e306d8616b888fc6.js.map +1 -0
- package/dist/eb27d690cf45cd5e.js +20 -0
- package/dist/eb27d690cf45cd5e.js.map +1 -0
- package/dist/{egen.5798ce8569e2ee79.css → egen.a395d41c58c43ffb.css} +1 -1
- package/dist/{egen.ea92e1a1482ffdff.js → egen.f35ccbd9a7ae43e2.js} +3 -3
- package/dist/{egen.ea92e1a1482ffdff.js.map → egen.f35ccbd9a7ae43e2.js.map} +1 -1
- package/dist/{99e304b895626c07.js.map → f5791bcc8684e186.js.map} +1 -1
- package/dist/f6ddae3f4c93e9b1.js.map +1 -0
- package/dist/{a939dc1c6ea65630.js.map → f8c1afe5f74a2996.js.map} +1 -1
- package/dist/fe1c6d3803e77b0d.js.map +1 -0
- package/dist/index.html +3 -5
- package/dist/{manifest.9cc7139c6a3ecc6d6a10f36bf13d0f8f.json → manifest.60265363becdf876d27bddc4588dc7c2.json} +9 -9
- package/package.json +5 -5
- package/dist/03d4a849136f75e2.js.map +0 -1
- package/dist/078f2b646f32858d.js.map +0 -1
- package/dist/09a305e14c26aa4c.js +0 -20
- package/dist/09a305e14c26aa4c.js.map +0 -1
- package/dist/11c6a16217d5c241.js.map +0 -1
- package/dist/141c89b50671ef30.css.map +0 -1
- package/dist/16736525c17727a4.js.map +0 -1
- package/dist/19c6a4c0f5f2052a.js.map +0 -1
- package/dist/1a3a2203030dffe6.js.map +0 -1
- package/dist/220cb11d3a40fc8e.js.map +0 -1
- package/dist/26224992e9359abf.js.map +0 -1
- package/dist/2dafb64938a05c09.js.map +0 -1
- package/dist/3226b9dce374cfd8.js.map +0 -1
- package/dist/3531596e8069c4d9.js.map +0 -1
- package/dist/38c4a2be14349256.js +0 -1
- package/dist/38c4a2be14349256.js.map +0 -1
- package/dist/3a514ffe1449f112.js.map +0 -1
- package/dist/466eb8533d54eb17.js.map +0 -1
- package/dist/473a04df05042572.js.map +0 -1
- package/dist/489af18d10e95c33.js +0 -1
- package/dist/4a70bfb1d89ef9d8.js.map +0 -1
- package/dist/4e2e880f3075f383.js.map +0 -1
- package/dist/527a8151d02e78c0.js.map +0 -1
- package/dist/543d1449c583d3d6.js.map +0 -1
- package/dist/55034790dd202e9d.js.map +0 -1
- package/dist/65f7ae8668cebf63.js.map +0 -1
- package/dist/756c5c57e606bfaa.js.map +0 -1
- package/dist/83dac8ce5a42f6f7.js.map +0 -1
- package/dist/8ccead60884a5fe9.js.map +0 -1
- package/dist/8d5640b98d32d70d.js.map +0 -1
- package/dist/9e4b4869285320fb.js.map +0 -1
- package/dist/a3487e3a30f88260.js +0 -1
- package/dist/a4f34a5fc0acd9a7.js.map +0 -1
- package/dist/a596a87f6e69e13e.js.map +0 -1
- package/dist/b257be1cb4af320f.js.map +0 -1
- package/dist/b26d89ff925072b9.js +0 -1
- package/dist/b303ce93bfc54180.js +0 -1
- package/dist/b303ce93bfc54180.js.map +0 -1
- package/dist/b6fb6eb0cf04ce43.js.map +0 -1
- package/dist/b7d7454711f5b0c9.js.map +0 -1
- package/dist/b91dbd471a8314db.js.map +0 -1
- package/dist/ba5eb96d9a97ab51.js +0 -1
- package/dist/ba5eb96d9a97ab51.js.map +0 -1
- package/dist/bacbf7e4a2f620e3.js.map +0 -1
- package/dist/c08533523e8b58aa.js.map +0 -1
- package/dist/c9369f78899b4e0b.js.map +0 -1
- package/dist/dd175f4da5c666f6.js.map +0 -1
- package/dist/e1980a6ee88e2f73.js.map +0 -1
- package/dist/e2e22b77045db80d.js.map +0 -1
- package/dist/e3ef9613d39b0459.js.map +0 -1
- package/dist/e9d3c0839bc8e5b5.js.map +0 -1
- package/dist/f39d9ceca266f139.js.map +0 -1
- package/dist/fb7e83442ac8eec2.js.map +0 -1
- package/dist/ff7326e558269cf0.js.map +0 -1
- /package/dist/{0c744e2c29257d99.js → 0aca20dc054957b8.js} +0 -0
- /package/dist/{bacbf7e4a2f620e3.js → 0c9fa749e5f5ac1e.js} +0 -0
- /package/dist/{b91dbd471a8314db.js → 0ea62ab7dc553144.js} +0 -0
- /package/dist/{078f2b646f32858d.js → 17ab233e5949fa90.js} +0 -0
- /package/dist/{543d1449c583d3d6.js → 268aba9c3b3240d8.js} +0 -0
- /package/dist/{03d4a849136f75e2.js → 2a682a4337b1cf49.js} +0 -0
- /package/dist/{65f7ae8668cebf63.js → 2e9ad839f5135f19.js} +0 -0
- /package/dist/{473a04df05042572.js → 399dbfe7aa74b2fe.js} +0 -0
- /package/dist/{11c6a16217d5c241.js → 39bfc9f5bddac47e.js} +0 -0
- /package/dist/{0814045b95073400.js → 3b5dc2267d2672a9.js} +0 -0
- /package/dist/{8fec4ca250238f97.js → 40c5c037b8c78ee1.js} +0 -0
- /package/dist/{1e69402e3a0af2ff.js → 41c9050ec396a0bc.js} +0 -0
- /package/dist/{e1bc6457d8075d44.js → 475d1b64ad987c36.js} +0 -0
- /package/dist/{2dafb64938a05c09.js → 4789e902f2dfbe42.js} +0 -0
- /package/dist/{16736525c17727a4.js → 4e01c80e3fdb7b2e.js} +0 -0
- /package/dist/{a4f34a5fc0acd9a7.js → 52c47b3446e930b2.js} +0 -0
- /package/dist/{756c5c57e606bfaa.js → 545329093c0ce77f.js} +0 -0
- /package/dist/{27bce5d96d2f77ca.js → 5ad49928ffd2c870.js} +0 -0
- /package/dist/{fb7e83442ac8eec2.js → 6b5bbb19136bbbb7.js} +0 -0
- /package/dist/{f39d9ceca266f139.js → 70487c4e731b04b7.js} +0 -0
- /package/dist/{26224992e9359abf.js → 707482e209cb44c2.js} +0 -0
- /package/dist/{a596a87f6e69e13e.js → 74653689a945ce5c.js} +0 -0
- /package/dist/{3226b9dce374cfd8.js → 791b6cd161fe1f09.js} +0 -0
- /package/dist/{1a3a2203030dffe6.js → 7d8da0e72c8c7cb3.js} +0 -0
- /package/dist/{b257be1cb4af320f.js → 7e84336a04f07cd6.js} +0 -0
- /package/dist/{b7d7454711f5b0c9.js → 7f533a096f0fea09.js} +0 -0
- /package/dist/{8ccead60884a5fe9.js → 82a74477d30cd376.js} +0 -0
- /package/dist/{c9369f78899b4e0b.js → 871fb8b9954ba9d8.js} +0 -0
- /package/dist/{3a514ffe1449f112.js → 8ff878b5325f851a.js} +0 -0
- /package/dist/{4a70bfb1d89ef9d8.js → 93466768026f5731.js} +0 -0
- /package/dist/{220cb11d3a40fc8e.js → 9b83356aafc91034.js} +0 -0
- /package/dist/{527a8151d02e78c0.js → 9d3b72699ae42645.js} +0 -0
- /package/dist/{466eb8533d54eb17.js → 9e812e0ebbccf35a.js} +0 -0
- /package/dist/{9e5cdbc2a32ca8d0.js → a19d6b0bbe5d643b.js} +0 -0
- /package/dist/{55034790dd202e9d.js → a39dbd9a3c914cab.js} +0 -0
- /package/dist/{c08533523e8b58aa.js → b833d73c8a59a0c7.js} +0 -0
- /package/dist/{e2e22b77045db80d.js → bf3a9577bf632120.js} +0 -0
- /package/dist/{ff7326e558269cf0.js → c744c27c626a118f.js} +0 -0
- /package/dist/{e1980a6ee88e2f73.js → c888a1e49882e1cf.js} +0 -0
- /package/dist/{9e4b4869285320fb.js → c8b47f630b81e34f.js} +0 -0
- /package/dist/{e9d3c0839bc8e5b5.js → cc481a228229d3f7.js} +0 -0
- /package/dist/{e3ef9613d39b0459.js → d2afc3ce14282482.js} +0 -0
- /package/dist/{dd175f4da5c666f6.js → d83a83098967eaca.js} +0 -0
- /package/dist/{4e2e880f3075f383.js → dd06fc0c9fe61599.js} +0 -0
- /package/dist/{19c6a4c0f5f2052a.js → e1ed8cd6144ce29d.js} +0 -0
- /package/dist/{83dac8ce5a42f6f7.js → e234173d7d20e8c7.js} +0 -0
- /package/dist/{8d5640b98d32d70d.js → e306d8616b888fc6.js} +0 -0
- /package/dist/{99e304b895626c07.js → f5791bcc8684e186.js} +0 -0
- /package/dist/{b6fb6eb0cf04ce43.js → f6ddae3f4c93e9b1.js} +0 -0
- /package/dist/{a939dc1c6ea65630.js → f8c1afe5f74a2996.js} +0 -0
- /package/dist/{3531596e8069c4d9.js → fe1c6d3803e77b0d.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"11c6a16217d5c241.js","sources":["webpack://@egen-civitas/esm-app-shell/json|/home/president/Github/National/EGEN/FRONTEND ALLs/Frontend-esm-framework/packages/framework/esm-translations/translations/sw_KE.json"],"names":["JSON"],"mappings":"qIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"141c89b50671ef30.css","sources":["webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/cards/card-header.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/cards/decorated-card/decorated-card.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/_glass.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/custom-overflow-menu/custom-overflow-menu.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/icons/icons.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/dashboard-extension/dashboard.module.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/_layer.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/utilities/_keyframes.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/utilities/_visually-hidden.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/components/popover/_popover.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/utilities/_layout.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/utilities/_component-reset.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/utilities/_button-reset.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/utilities/_focus-outline.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/components/tooltip/_tooltip.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/components/button/_button.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/components/button/_mixins.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/utilities/_skeleton.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/styles/scss/utilities/_high-contrast-mode.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/datepicker/datepicker.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/empty-card/empty-card.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/error-state/error-state.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/fields/dynamic-field.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/left-nav/left-nav.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/location-picker/location-picker.module.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/_vars.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/numeric-datapoint/numeric-datapoint.module.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/colors/index.scss","webpack://@egen-civitas/esm-app-shell/../../../node_modules/@carbon/type/scss/_styles.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/page-header/page-header.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/pagination/pagination.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/entity-banner/actions-menu/entity-banner-actions-menu.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/entity-banner/contact-details/entity-banner-contact-details.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/entity-banner/entity-info/entity-banner-entity-info.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/entity-photo/entity-photo.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/pictograms/pictograms.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/snackbars/snackbar.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/glass-card/liquid-glass-card.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/toasts/toast.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces/action-menu-button/action-menu-button.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces/container/action-menu.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces/notification/workspace-notification.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces/container/workspace.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces2/workspace2.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces2/action-menu2/action-menu-button2.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces2/action-menu2/action-menu2.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces2/workspace-windows-and-menu.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/cascading-nav-dropdown/cascading-nav-dropdown.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/sheet/sheet.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/containers/folder-gallery/folder-gallery.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/containers/layout-grid/layout-grid.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/master-detail/entity-detail-browser/entity-detail-browser.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/dialogs/card-modal/card-modal.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/selections/select-popover/select-popover.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/selections/interactive-selector/interactive-selector.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/carousel/image-swiper/image-swiper.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/carousel/circular-gallery/circular-gallery.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/carousel/testimonial-card/testimonial-card.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/carousel/testimonial-card/testimonial-card-stack.module.scss","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/carousel/slider/slider.module.scss"],"names":[],"mappings":"AAIA,4MAQE,gLASF,yCAEE,gUAMF,2CAEE,iSAQA,kLCzBF,yDAKA,2CAIA,sLAOA,kFAOA,mKAQA,8DAIA,sKAUA,yDAIA,2DAIA,4MAQA,+LAWA,oJAOA,0DAOA,8DAIA,kHASA,+JAKA,kKAKA,wMASA,mCAIA,oCAIA,yDAOA,uFAIA,qFAKA,qDAKA,sDAKA,wDAKA,yDAOA,6PASA,6IAMA,qUASA,6PASA,6HAKA,4JASA,0IAQA,6IAQA,kJAQA,qJAeA,4IClOE,8cAeA,y1BAiBA,0DD8MF,8CAIA,2mBAiBA,sNAQA,gSAiBA,4EAIA,gFAIA,2EAIA,sGAMA,qIAQA,6FAKA,4GE7VA,oDAIE,0EAKF,sMAWA,0CAIA,sFAME,2DCjCA,2DCEF,oFAMA,8DCGA,q3BAQA,62BAIA,+2BAKE,sNCXF,sGAUA,sGAUA,odCbA,uMC8GE,iDAOA,gFAOA,oLAGE,6YAOA,maASF,0OAKA,mLAQA,0DAQA,6GAKA,8jBCrGM,msBC1EN,wHFyMA,kGAMA,iIAUA,6EAMA,yGAOA,sJAYE,iNAQA,sNAQF,uIAMA,gcAoBA,iGAWA,8qEAQA,6jBAkBA,yjBAkBA,0yKAYA,0yKAaA,m6OAkBA,m6OAkBA,8pCAMA,2wJAcA,kgOAcA,ywJAWA,s2NAcA,iiBAsBA,u+SAqBE,itCA6BA,2iVAOF,8lKAmBA,0xBAuBE,iwDAkCA,m9YAYF,mrEAQA,oqCAMA,ywJAcA,kgOAUA,gwJAWA,g2NAUA,miBAsBA,6+SAmBE,6sCA6BA,4iVAOF,muLAmBA,0xBAuBE,6vDAkCA,o9YAYF,6qEAUA,s0IAcA,+zIAWA,05gBAwBA,ylTAsBA,8rVAqBE,2yBAOF,05gBAiDE,u7BAMA,m4VA8BA,m+hBAMF,2xBAuBE,mwDAoCA,uhXAmCA,y0jBAIA,6hjBAUF,6rEAUA,o1IAgBA,i0IAgBA,05gBAwBA,wlTAsBA,isVAqBE,uyBAOF,05gBAiDE,m7BAMA,i6VA8BA,q8hBAMF,2xBAuBE,+vDAkCA,qjXAmCA,u2jBAIA,6hjBAQF,oGAMA,w8VAuBA,4wWAwBA,2EAIA,61DEt/CA,2HCSA,wDH0FA,kGItFE,qCJsFF,yDAIA,yBACE,4EAk5CF,oJAMA,2MAWA,sEKjgDA,uDAIA,kWAuCA,8JAgBA,kSA7CA,u3DHxBA,wHCSA,uDEuBA,uIDjCE,qCCiCF,wDAMA,4FAIA,4SCmDA,0xGJ7FA,2HK2DA,seAaA,kmED6BA,kEAKA,gJCCA,yBACE,4FAKF,mOAOA,6FAIA,8KDRE,sEAKF,kJCdA,yBACE,8FAKF,mOAOA,+FAIA,8KDOE,wGAMF,uLC9BA,yBACE,8FAKF,oOAOA,+FAIA,gLDuBE,yBACE,uEAKF,0HAKA,2JAMA,mYAYF,i+DCrEA,yBACE,sGAKF,mOAOA,sGAIA,8KDkEE,qwDAOA,qBACE,+EAKF,kJAKA,sZAYA,qFAKF,oLAQE,yDAIA,yEAKE,mNAMF,iLAKA,q/DAQF,iFAKA,6RAMA,uHAIA,uEAIA,yPAOA,uZAUA,6IAUA,uFAIA,yJC5MA,yBACE,6FAKF,qOAOA,8FAIA,kLDqME,wEAIA,sMC1NF,yBACE,2FAKF,mOAOA,4FAIA,8KDmNI,qBACE,2HAMF,gIAKA,qLAMA,6XAYF,4+DClQF,yBACE,2FAKF,mOAOA,4FAIA,8KD+PI,mvDAKA,qBACE,uEAKF,uEAIA,sZAeJ,6XAaA,2EAKA,kHAKA,sGAKA,qMEhbA,mOAQA,i6DAUE,uCAVF,+ECnBA,oEH2bA,8EErZE,2GF4ZF,0CAIA,kDAIA,wFAKE,qIAIA,oMASF,oIAIA,sGAIA,2JAGE,oHAKF,2JAGE,mHAKF,2JAQA,kwDG5fA,oEHkgBA,gFAKA,8IAIA,uDAzeA,uLAiBA,kHAQA,qGAIA,s2HAWE,0BACE,6GAvDJ,yJAMA,kgEAgDE,0BACE,8GAvDJ,0JAMA,wgEAgDE,0BACE,8GAvDJ,0JAMA,wgEAgDE,0BACE,8GAvDJ,0JAMA,ugEAyDI,kJAOJ,0BACE,4II7FJ,gMAQE,gONaE,qCMbF,6IAKA,kHN0BE,qCM1BF,iEAGE,kFAKF,qJAQF,sJAGE,6LAKA,wMAIA,mNAIA,okBAQA,8OAIA,gLAUF,4GAUA,0GAWA,qHAaA,0CAIA,wCAIA,0CAKA,klDAQA,wCAIA,2CAIA,wCAIA,qDAMA,mDAIA,iDAIA,kGAMA,qKAIA,uJASA,0GAYA,kDAKA,qLAMA,gHAGE,kDAHF,4DAQA,4KAQA,0HASA,yIR/ME,wHQkNA,yEAKA,yFAIA,0FAIA,4EAOF,iGAIA,uDAKA,oDAKA,mDAKA,6XRzPE,wHQ6PA,qFAMA,wEAKA,6EAGE,wbR3QF,+UQ+QI,qKAOA,sSAMA,wIN7RF,qCM6RE,mHAIA,4KNjQF,qCMiQE,2HAIA,wbAOA,oPAKA,iIAKF,2LRrTF,oTQwTI,+GAMF,qFAIA,kLRlUF,yRQqUI,opEAcA,uLAQA,0LAKA,mMAKA,kGAKA,uGAUN,yCAGE,qIAOA,wUAOA,wUAME,2DAIA,kIAIA,6JAKA,yHAOJ,6YAcE,sxDAYA,mIAIA,qJAOA,4JAKA,uDAMI,sHAMA,sFAMA,2FC1eN,gDAIA,0WAOA,uIAQA,oGCnBA,8SAOA,8SAMA,oGCGA,0HAOA,wDAUA,+IAMA,gJAMA,gJAQA,0UAUE,yMAIA,+CAIA,mEAQA,+FAKF,6EAIA,6EAMA,6OAaA,0CAMA,2RAeA,qEAIA,wDAKA,sEAKA,2DAOA,8RAMA,oNAOA,gTAKA,mGAKA,wGAIA,oFAKA,gGAIA,kaASA,gRAKA,6LAOA,mSASA,kGAKA,wGAIA,qEAIA,gGAIA,oHAMA,4KAOA,wFAKA,wGAIA,gEAIA,gGAIA,oHAYA,2KAOA,uFAKA,uGAIA,mHAIA,6HASA,gGAIA,gDAIA,sIAYE,0GAIA,kJAKA,yFATA,yGAIA,gJAKA,wFATA,uGAIA,8IAKA,sFAKF,kiBAOA,8hBAOA,shBASA,sIAIA,gIAeA,8NAaA,6EAKA,yFAIA,yFAIA,wFAMA,sOAOA,0FAIA,yFAIA,uFAIA,gFAIA,qHAcE,oEAIA,6HAQF,uCACE,8KC7cF,kyDAKE,2WAKE,uKAMA,gmEAYF,4DAOA,6DCnCF,gSAIA,iXASA,kFAMA,wEAOA,wVAMA,yECKa,uDDIb,kHAOE,yEAKF,8CAIA,2GAOA,2CEgCE,gKC1FA,mLFMW,yGGwDD,yGAqBH,+FH9DI,yLEcX,0LAMA,uKAUA,8CF7CW,4RCUH,4PGw0BN,yTHx0BM,kDDfG,4LEkFX,yfDnEQ,2QC6ER,kEAMA,qEAMA,uEAMA,kEAMA,oEAMA,wEGjIF,mXASA,gFAMA,6OAKE,iECpBF,gSAIA,ihBAYA,8FAME,wNAQF,6FAME,qNAQF,iEAMA,uXAQE,mECzDF,4SAQI,qFAGE,6ECXN,mLAOA,sUAKA,mRAIE,uGAKF,8EAIE,uIAKF,gDAIA,uDAKA,uCCvCA,wMAMA,mFAIA,0CAIA,4RAOA,qFAOA,gFAOA,oGAOA,6XAUA,+GAOA,yGAMA,4CAKA,wTAQA,4DAKA,mUAQA,2CAGE,0EAIA,wEAIA,uEAOA,2SAMF,sFAOA,2CAIA,2EAKA,4CAIA,2CAIA,6SAOE,mEAKA,wEAIA,kFChKF,uDAKA,+IAUA,wLCdE,2DCDF,gGASA,+FASA,0FAKA,wEAIA,sECZA,iFAOA,8CAIA,wCAGE,mDAKF,2CAIA,qIAOA,sCAIA,wCAIA,uCAIA,0DAOA,8DAKA,+DAKA,gEAKA,+DASA,4JAIA,2JAIA,6JAIA,6JAIA,4JAIA,4JAIA,+JASA,8DAIA,qQAKA,qQAKA,qQAKA,uQAKA,sQAKA,qQC7IA,2DAKA,4IAOE,iTAKF,oGAIA,wFAOA,qGAMA,2FAIA,wFAIA,2FAIA,uFAIA,gDAKA,wOAWA,uLAOA,sLAOA,qVAeE,yHAQF,4GAQA,sEAIA,gRAUA,qGAIE,uEAKF,yIAKE,gHAKF,mGAIE,qEAOF,+IAOA,yCAIA,uCACE,0EC5KF,mJAOE,0IAKA,iFAIA,gVdMQ,sDcKV,oGAME,qTAYA,6GAWA,kMAME,qGAMA,iFAQF,wOAaA,mJAIE,uGAIA,0VAKA,oGCpGJ,yCAIA,yCAME,kEAGE,sVAcA,qLAQF,4PAYA,iIAKE,kFAMF,mGAOF,qIAWM,oHChFN,wQCQA,qIAOA,yCAIA,2EAQE,mEAGE,8FAKF,oEAGE,4FAKF,sQAOE,uSAGE,gFAKF,gHAOA,8IAIE,yFAIA,yHAMJ,yFAIA,8GAKA,kFAKA,0QAYA,yJAOE,mHAIA,6GAKF,yJAOE,mHAIA,6GAKF,yJAOE,mHAIA,6GAKF,qIAMA,yEAKA,wEAIA,wJAOA,oEAOA,8GAIE,mGAIA,yIAIE,yGAMJ,2EAIA,iJAWE,oHAKF,4IAMA,gEAIA,kEAIA,0IAOA,yEAIA,oEAIA,+FASI,uHAMF,kFAGE,qHClQN,iGAGE,kFAGA,iFAGA,kFASA,63DASE,qvEAWA,6FAOF,ktEAUE,0HAWF,mFAIE,6FAMJ,kGAOA,yCAME,oQAOE,qSAGE,8EAOF,+IAIE,0FAIA,0HAMJ,oIAMA,mEAKE,2GAQF,4GAIE,iGAIA,uIAIE,uGAQJ,oEAMA,yBACE,sEAKF,iFAEE,kGAKA,8GAKF,+EAIA,kGAIA,oFAUI,2IAMF,iFAGE,oHCzNN,mJAOE,0IAKA,gVAMA,sDAKF,oGAME,qTAYA,6GAWA,4VAOA,kLAOE,iFAQF,wOAaA,2MAIE,qKAIA,uZAKA,gKnBXJ,oZoBvFA,yCAIA,yCAME,0FAKE,23DAOA,uwEAUA,oLAQF,4PAYA,iIAKE,kFAMF,2GAME,oEAMJ,qICjFA,mFAOE,mIAMA,4JAUF,6GAKE,6CClBF,oEAOA,gYAaE,iHAIA,yGAMF,yDAKA,0HAQA,oFAWA,8EAMA,oKASA,4XAUA,wEAQA,sLASE,0DAKF,oLASA,6HAOA,6UAUE,0RAIA,sFAMF,6FAQA,mUAeE,sJAOF,yDAKA,yGAQA,wFAKA,yJAOA,uCACE,oICjMF,2GAWA,uGAMA,iDAMA,oLAQA,+MAWA,wIAMA,oIAMA,mDAKA,wGAME,4DAOF,oGAOA,4KAQE,mDAOF,iHAQA,2LAQA,gIAMA,kGAME,yBANF,uEAYA,uCACE,6CC/HF,uJASA,wJAUA,yIAYA,qRAQA,0UAYA,iaAYA,mRAcA,2GAQA,yTAWA,+DAIE,sDAOF,0VAYA,qcAeA,sMAcA,8XAaA,oMASA,8jBC7JA,+LAmBE,yBAnBF,2EA0BA,gEAKA,gIAOA,yCAIA,2PAeE,yBAfF,uCAoBA,uNAYA,mNAQA,gDASA,8NAaA,kJASA,4EChIA,uJAQA,0IAOA,oGAMA,4CAIA,8FAYA,gHAQA,oKAUA,oNAUA,+CAIA,yLAOA,sEAMA,qJAMA,yKAOA,2HAQA,+DAKA,uNAUE,yGAKF,sFAOA,+SAaE,4CAKF,oDAMA,4WAkBE,4FAIE,+EAMJ,2EAMA,8FAOA,4KAQE,+CAgBF,mQAaA,6XAiBE,yGAKF,yDAKA,0EAMA,2FAMA,sEAMA,sDAIA,kLAUA,kHAUA,4EAME,ygDAUF,uCACE,mIC9TF,iEAKA,sGAMA,oLAMA,8JAWA,oEAKA,waAiBE,0HAMF,uCACE,6CAUF,uYAcE,mDAKF,8CAIA,gDC5FA,+aAiBE,yEAIA,yGAMF,yFAQA,sFAMA,yEAIA,oJAMA,qDAMA,qIAQA,gWAgBA,yGAMA,gaAYA,kIAMA,qLAOA,oLASA,4HAOA,2KAQE,0RAIA,+CAKF,oEAMA,yJAOA,0NAYE,yEAKF,mGAIA,yFAQA,kFAOA,2KAQA,wHAKA,2FAMA,wGAKA,0DC7MA,sQAcA,8HASA,+lBAWE,yBAXF,4CAkBA,gPAQE,yBARF,kIAcA,yCAMA,gKAYA,khBAqBE,yGAMF,8KASA,sNAgBA,oiBAmBA,6FAMA,iQAOA,oPASA,qHAYA,gIAMA,gDAIA,kDCvMA,0OASA,mdAYE,oDAKF,6KC1BA,oEAKA,ioBAiBA,kFAQA,kHAUA,oDAKA,iDAIA,gDAIA,mKAME,kEAOF,qiBAmBE,sRAOA,wFAIA,2HAIA,oEAIE,+EAKF,yBA3CF,qDAiDA,qGAIE,qGAIA,sGAIA,yBAZF,oDAiBA,qGAIE,oGAIA,qGAIA,yBAZF,qDAiBA,uCACE,0EC9IF,0dAiBA,wCAGE,mDAKF,+OAWA,kNAQA,kPCjDA,uGCDA,+CAMA,8DAKA,gDAIA,+CAIA,yCAIA,2DAKA,yEAiBA,qFAOA,yCAIA,wCAMA,6CAIA,mDAKA,2DAKA,+DAQA,qRAqBE,6CAIA,0GAMF,qEAIA,qEAIA,6EAKA,uGAUA,sEAMA,qPAUE,yGAMF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"16736525c17727a4.js","sources":["webpack://@egen-civitas/esm-app-shell/json|/home/president/Github/National/EGEN/FRONTEND ALLs/Frontend-esm-framework/packages/framework/esm-translations/translations/vi.json"],"names":["JSON"],"mappings":"qIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,ioH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"19c6a4c0f5f2052a.js","sources":["webpack://@egen-civitas/esm-app-shell/json|/home/president/Github/National/EGEN/FRONTEND ALLs/Frontend-esm-framework/packages/framework/esm-translations/translations/cs.json"],"names":["JSON"],"mappings":"oIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"1a3a2203030dffe6.js","sources":["webpack://@egen-civitas/esm-app-shell/json|/home/president/Github/National/EGEN/FRONTEND ALLs/Frontend-esm-framework/packages/framework/esm-translations/translations/uz.json"],"names":["JSON"],"mappings":"qIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"220cb11d3a40fc8e.js","sources":["webpack://@egen-civitas/esm-app-shell/json|/home/president/Github/National/EGEN/FRONTEND ALLs/Frontend-esm-framework/packages/framework/esm-translations/translations/lg.json"],"names":["JSON"],"mappings":"qIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"26224992e9359abf.js","sources":["webpack://@egen-civitas/esm-app-shell/json|/home/president/Github/National/EGEN/FRONTEND ALLs/Frontend-esm-framework/packages/framework/esm-translations/translations/en_US.json"],"names":["JSON"],"mappings":"qIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"2dafb64938a05c09.js","sources":["webpack://@egen-civitas/esm-app-shell/json|/home/president/Github/National/EGEN/FRONTEND ALLs/Frontend-esm-framework/packages/framework/esm-translations/translations/qu.json"],"names":["JSON"],"mappings":"qIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"3226b9dce374cfd8.js","sources":["webpack://@egen-civitas/esm-app-shell/json|/home/president/Github/National/EGEN/FRONTEND ALLs/Frontend-esm-framework/packages/framework/esm-translations/translations/uk.json"],"names":["JSON"],"mappings":"qIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"3531596e8069c4d9.js","sources":["webpack://@egen-civitas/esm-app-shell/json|/home/president/Github/National/EGEN/FRONTEND ALLs/Frontend-esm-framework/packages/framework/esm-translations/translations/de.json"],"names":["JSON"],"mappings":"qIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,6xI"}
|
package/dist/38c4a2be14349256.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["2434"],{3433(e,t,r){r.r(t),r.d(t,{useFetchers:()=>r8,unstable_HistoryRouter:()=>rV,useLoaderData:()=>t1,ScrollRestoration:()=>rQ,Route:()=>ri,MemoryRouter:()=>rn,useMatches:()=>t0,redirect:()=>eS,useOutletContext:()=>tU,createRoutesFromElements:()=>rv,useLinkClickHandler:()=>r1,useRouteError:()=>t4,generatePath:()=>et,replace:()=>eR,useHref:()=>tD,useParams:()=>tI,UNSAFE_ViewTransitionContext:()=>rM,useRoutes:()=>tB,useSubmit:()=>r7,UNSAFE_NavigationContext:()=>tx,Navigate:()=>ra,UNSAFE_ErrorResponseImpl:()=>ex,UNSAFE_FetchersContext:()=>rU,useAsyncError:()=>t5,createRoutesFromChildren:()=>rv,unstable_usePrompt:()=>nn,useFetcher:()=>r6,useBlocker:()=>t8,createHashRouter:()=>rj,UNSAFE_useRouteId:()=>tG,useMatch:()=>tT,useNavigation:()=>tQ,HashRouter:()=>r$,useFormAction:()=>r5,useResolvedPath:()=>tN,defer:()=>ew,Router:()=>ru,Routes:()=>rs,useActionData:()=>t3,useRouteLoaderData:()=>t2,Await:()=>rc,matchPath:()=>er,UNSAFE_DataRouterContext:()=>tS,BrowserRouter:()=>rK,NavigationType:()=>l,Form:()=>rG,UNSAFE_RouteContext:()=>tk,createSearchParams:()=>rP,RouterProvider:()=>rH,UNSAFE_LocationContext:()=>tP,parsePath:()=>V,Outlet:()=>ro,createMemoryRouter:()=>ry,UNSAFE_useScrollRestoration:()=>nt,useNavigate:()=>tO,matchRoutes:()=>X,createPath:()=>$,resolvePath:()=>ei,useInRouterContext:()=>tL,useOutlet:()=>tF,useAsyncValue:()=>t7,useViewTransitionState:()=>na,Link:()=>rY,AbortedDeferredError:()=>eb,renderMatches:()=>rp,NavLink:()=>rX,UNSAFE_DataRouterStateContext:()=>tE,json:()=>ey,useSearchParams:()=>r2,redirectDocument:()=>eE,useBeforeUnload:()=>nr,useLocation:()=>t_,createBrowserRouter:()=>rT,isRouteErrorResponse:()=>eP,useNavigationType:()=>tA,useRevalidator:()=>tZ});var n,a,o,i,u,s,c,l,f,d,h,v=r(5845),p=r(6233);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function y(e){if(Array.isArray(e))return e}function b(e,t,r,n,a,o,i){try{var u=e[o](i),s=u.value}catch(e){r(e);return}u.done?t(s):Promise.resolve(s).then(n,a)}function g(e){return function(){var t=this,r=arguments;return new Promise(function(n,a){var o=e.apply(t,r);function i(e){b(o,n,a,i,u,"next",e)}function u(e){b(o,n,a,i,u,"throw",e)}i(void 0)})}}function w(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function S(e,t,r){return(S=j()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&C(a,r.prototype),a}).apply(null,arguments)}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function P(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function k(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){return y(e)||function(e,t){var r,n,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var o=[],i=!0,u=!1;try{for(a=a.call(e);!(i=(r=a.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){u=!0,n=e}finally{try{i||null==a.return||a.return()}finally{if(u)throw n}}return o}}(e,t)||A(e,t)||k()}function L(e){return function(e){if(Array.isArray(e))return m(e)}(e)||P(e)||A(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function A(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}}function T(e){var t="function"==typeof Map?new Map:void 0;return(T=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return S(e,arguments,R(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),C(r,e)})(e)}function j(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j=function(){return!!e})()}function O(e,t){var r,n,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(i,"next",{value:s(0)}),u(i,"throw",{value:s(1)}),u(i,"return",{value:s(2)}),"function"==typeof Symbol&&u(i,Symbol.iterator,{value:function(){return this}}),i;function s(u){return function(s){var c=[u,s];if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&c[0]?n.return:c[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;switch(n=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){o.label=c[1];break}if(6===c[0]&&o.label<a[1]){o.label=a[1],a=c;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(c);break}a[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],n=0}finally{r=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}function M(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function U(){return(U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}(n=l||(l={})).Pop="POP",n.Push="PUSH",n.Replace="REPLACE";var F="popstate";function I(e){void 0===e&&(e={});var t,r=e.initialEntries,n=e.initialIndex,a=e.v5Compat,o=void 0!==a&&a;t=(void 0===r?["/"]:r).map(function(e,t){return f(e,"string"==typeof e?null:e.state,0===t?"default":void 0)});var i=c(null==n?t.length-1:n),u=l.Pop,s=null;function c(e){return Math.min(Math.max(e,0),t.length-1)}function f(e,r,n){void 0===r&&(r=null);var a=K(t?t[i].pathname:"/",e,r,n);return H("/"===a.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),a}function d(e){return"string"==typeof e?e:$(e)}return{get index(){return i},get action(){return u},get location(){return t[i]},createHref:d,createURL:function(e){return new URL(d(e),"http://localhost")},encodeLocation:function(e){var t="string"==typeof e?V(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push:function(e,r){u=l.Push;var n=f(e,r);i+=1,t.splice(i,t.length,n),o&&s&&s({action:u,location:n,delta:1})},replace:function(e,r){u=l.Replace;var n=f(e,r);t[i]=n,o&&s&&s({action:u,location:n,delta:0})},go:function(e){u=l.Pop;var r=c(i+e),n=t[r];i=r,s&&s({action:u,location:n,delta:e})},listen:function(e){return s=e,function(){s=null}}}}function N(e){return void 0===e&&(e={}),J(function(e,t){var r=e.location;return K("",{pathname:r.pathname,search:r.search,hash:r.hash},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:$(t)},null,e)}function B(e){return void 0===e&&(e={}),J(function(e,t){var r=V(e.location.hash.substr(1)),n=r.pathname,a=void 0===n?"/":n,o=r.search,i=r.hash;return a.startsWith("/")||a.startsWith(".")||(a="/"+a),K("",{pathname:a,search:void 0===o?"":o,hash:void 0===i?"":i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){var r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){var a=e.location.href,o=a.indexOf("#");n=-1===o?a:a.slice(0,o)}return n+"#"+("string"==typeof t?t:$(t))},function(e,t){H("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function z(e,t){if(!1===e||null==e)throw Error(t)}function H(e,t){if(!e){"u">typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function W(e,t){return{usr:e.state,key:e.key,idx:t}}function K(e,t,r,n){return void 0===r&&(r=null),U({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?V(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function $(e){var t=e.pathname,r=void 0===t?"/":t,n=e.search,a=void 0===n?"":n,o=e.hash,i=void 0===o?"":o;return a&&"?"!==a&&(r+="?"===a.charAt(0)?a:"?"+a),i&&"#"!==i&&(r+="#"===i.charAt(0)?i:"#"+i),r}function V(e){var t={};if(e){var r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));var n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function J(e,t,r,n){void 0===n&&(n={});var a=n.window,o=void 0===a?document.defaultView:a,i=n.v5Compat,u=void 0!==i&&i,s=o.history,c=l.Pop,f=null,d=h();function h(){return(s.state||{idx:null}).idx}function v(){c=l.Pop;var e=h(),t=null==e?null:e-d;d=e,f&&f({action:c,location:m.location,delta:t})}function p(e){var t="null"!==o.location.origin?o.location.origin:o.location.href,r="string"==typeof e?e:$(e);return z(t,"No window.location.(origin|href) available to create URL for href: "+(r=r.replace(/ $/,"%20"))),new URL(r,t)}null==d&&(d=0,s.replaceState(U({},s.state,{idx:d}),""));var m={get action(){return c},get location(){return e(o,s)},listen:function(e){if(f)throw Error("A history only accepts one active listener");return o.addEventListener(F,v),f=e,function(){o.removeEventListener(F,v),f=null}},createHref:function(e){return t(o,e)},createURL:p,encodeLocation:function(e){var t=p(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=l.Push;var n=K(m.location,e,t);r&&r(n,e);var a=W(n,d=h()+1),i=m.createHref(n);try{s.pushState(a,"",i)}catch(e){if(x(e,DOMException)&&"DataCloneError"===e.name)throw e;o.location.assign(i)}u&&f&&f({action:c,location:m.location,delta:1})},replace:function(e,t){c=l.Replace;var n=K(m.location,e,t);r&&r(n,e);var a=W(n,d=h()),o=m.createHref(n);s.replaceState(a,"",o),u&&f&&f({action:c,location:m.location,delta:0})},go:function(e){return s.go(e)}};return m}(a=f||(f={})).data="data",a.deferred="deferred",a.redirect="redirect",a.error="error";var q=new Set(["lazy","caseSensitive","path","id","index","children"]);function Y(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map(function(e,a){var o=L(r).concat([String(a)]),i="string"==typeof e.id?e.id:o.join("-");if(z(!0!==e.index||!e.children,"Cannot specify children on an index route"),z(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),!0===e.index){var u=U({},e,t(e),{id:i});return n[i]=u,u}var s=U({},e,t(e),{id:i,children:void 0});return n[i]=s,e.children&&(s.children=Y(e.children,t,o,n)),s})}function X(e,t,r){return void 0===r&&(r="/"),G(e,t,r,!1)}function G(e,t,r,n){var a=ea(("string"==typeof t?V(t):t).pathname||"/",r);if(null==a)return null;var o=function e(t,r,n,a){void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===a&&(a="");var o=function(t,o,i){var u,s,c,l,f={relativePath:void 0===i?t.path||"":i,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};f.relativePath.startsWith("/")&&(z(f.relativePath.startsWith(a),'Absolute route path "'+f.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),f.relativePath=f.relativePath.slice(a.length));var d=eh([a,f.relativePath]),h=n.concat(f);t.children&&t.children.length>0&&(z(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+d+'".'),e(t.children,r,h,d)),(null!=t.path||t.index)&&r.push({path:d,score:(u=d,s=t.index,l=(c=u.split("/")).length,c.some(ee)&&(l+=-2),s&&(l+=2),c.filter(function(e){return!ee(e)}).reduce(function(e,t){return e+(Z.test(t)?3:""===t?1:10)},l)),routesMeta:h})};return t.forEach(function(e,t){var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?")){var n=!0,a=!1,i=void 0;try{for(var u,s=(function e(t){var r=t.split("/");if(0===r.length)return[];var n=y(r)||P(r)||A(r)||k(),a=n[0],o=n.slice(1),i=a.endsWith("?"),u=a.replace(/\?$/,"");if(0===o.length)return i?[u,""]:[u];var s=e(o.join("/")),c=[];return c.push.apply(c,L(s.map(function(e){return""===e?u:[u,e].join("/")}))),i&&c.push.apply(c,L(s)),c.map(function(e){return t.startsWith("/")&&""===e?"/":e})})(e.path)[Symbol.iterator]();!(n=(u=s.next()).done);n=!0){var c=u.value;o(e,t,c)}}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}}else o(e,t)}),r}(e);o.sort(function(e,t){var r,n;return e.score!==t.score?t.score-e.score:(r=e.routesMeta.map(function(e){return e.childrenIndex}),n=t.routesMeta.map(function(e){return e.childrenIndex}),r.length===n.length&&r.slice(0,-1).every(function(e,t){return e===n[t]})?r[r.length-1]-n[n.length-1]:0)});for(var i=null,u=en(a),s=0;null==i&&s<o.length;++s)i=function(e,t,r){void 0===r&&(r=!1);for(var n=e.routesMeta,a={},o="/",i=[],u=0;u<n.length;++u){var s=n[u],c=u===n.length-1,l="/"===o?t:t.slice(o.length)||"/",f=er({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!f&&c&&r&&!n[n.length-1].route.index&&(f=er({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!f)return null;Object.assign(a,f.params),i.push({params:a,pathname:eh([o,f.pathname]),pathnameBase:ev(eh([o,f.pathnameBase])),route:d}),"/"!==f.pathnameBase&&(o=eh([o,f.pathnameBase]))}return i}(o[s],u,n);return i}function Q(e,t){var r=e.route,n=e.pathname,a=e.params;return{id:r.id,pathname:n,params:a,data:t[r.id],handle:r.handle}}var Z=/^:[\w-]+$/,ee=function(e){return"*"===e};function et(e,t){void 0===t&&(t={});var r=e;r.endsWith("*")&&"*"!==r&&!r.endsWith("/*")&&(H(!1,'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),r=r.replace(/\*$/,"/*"));var n=r.startsWith("/")?"/":"",a=function(e){return null==e?"":"string"==typeof e?e:String(e)};return n+r.split(/\/+/).map(function(e,r,n){if(r===n.length-1&&"*"===e)return a(t["*"]);var o=e.match(/^:([\w-]+)(\??)$/);if(o){var i=D(o,3),u=i[1],s=i[2],c=t[u];return z("?"===s||null!=c,'Missing ":'+u+'" param'),a(c)}return e.replace(/\?$/g,"")}).filter(function(e){return!!e}).join("/")}function er(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});var r,n,a,o,i,u=D((r=e.path,n=e.caseSensitive,a=e.end,void 0===n&&(n=!1),void 0===a&&(a=!0),H("*"===r||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),o=[],i="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,function(e,t,r){return o.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)"}),r.endsWith("*")?(o.push({paramName:"*"}),i+="*"===r||"/*"===r?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?i+="\\/*$":""!==r&&"/"!==r&&(i+="(?:(?=\\/|$))"),[new RegExp(i,n?void 0:"i"),o]),2),s=u[0],c=u[1],l=t.match(s);if(!l)return null;var f=l[0],d=f.replace(/(.)\/+$/,"$1"),h=l.slice(1);return{params:c.reduce(function(e,t,r){var n=t.paramName,a=t.isOptional;if("*"===n){var o=h[r]||"";d=f.slice(0,f.length-o.length).replace(/(.)\/+$/,"$1")}var i=h[r];return a&&!i?e[n]=void 0:e[n]=(i||"").replace(/%2F/g,"/"),e},{}),pathname:f,pathnameBase:d,pattern:e}}function en(e){try{return e.split("/").map(function(e){return decodeURIComponent(e).replace(/\//g,"%2F")}).join("/")}catch(t){return H(!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 ea(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}var eo=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function ei(e,t){void 0===t&&(t="/");var r,n,a="string"==typeof e?V(e):e,o=a.pathname,i=a.search,u=a.hash;return o?(r=o,eo.test(r))?n=o:(o.includes("//")&&H(!1,"Pathnames cannot have embedded double slashes - normalizing "+o+" -> "+(o=ed(o))),n=o.startsWith("/")?eu(o.substring(1),"/"):eu(o,t)):n=t,{pathname:n,search:ep(void 0===i?"":i),hash:em(void 0===u?"":u)}}function eu(e,t){var r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(function(e){".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function es(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 <Link to="..."> and the router will parse it for you.'}function ec(e){return e.filter(function(e,t){return 0===t||e.route.path&&e.route.path.length>0})}function el(e,t){var r=ec(e);return t?r.map(function(e,t){return t===r.length-1?e.pathname:e.pathnameBase}):r.map(function(e){return e.pathnameBase})}function ef(e,t,r,n){void 0===n&&(n=!1),"string"==typeof e?a=V(e):(z(!(a=U({},e)).pathname||!a.pathname.includes("?"),es("?","pathname","search",a)),z(!a.pathname||!a.pathname.includes("#"),es("#","pathname","hash",a)),z(!a.search||!a.search.includes("#"),es("#","search","hash",a)));var a,o,i=""===e||""===a.pathname,u=i?"/":a.pathname;if(null==u)o=r;else{var s=t.length-1;if(!n&&u.startsWith("..")){for(var c=u.split("/");".."===c[0];)c.shift(),s-=1;a.pathname=c.join("/")}o=s>=0?t[s]:"/"}var l=ei(a,o),f=u&&"/"!==u&&u.endsWith("/"),d=(i||"."===u)&&r.endsWith("/");return!l.pathname.endsWith("/")&&(f||d)&&(l.pathname+="/"),l}var ed=function(e){return e.replace(/\/\/+/g,"/")},eh=function(e){return ed(e.join("/"))},ev=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},ep=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},em=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},ey=function(e,t){void 0===t&&(t={});var r="number"==typeof t?{status:t}:t,n=new Headers(r.headers);return n.has("Content-Type")||n.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),U({},r,{headers:n}))},eb=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function t(){var e,r;return w(this,t),e=t,r=arguments,e=R(e),function(e,t){if(t&&("object"===_(t)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,j()?Reflect.construct(e,r||[],R(this).constructor):e.apply(this,r))}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e),t}(T(Error)),eg=function(){var e;function t(e,r){var n,a=this;w(this,t),this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],z(e&&(void 0===e?"undefined":_(e))==="object"&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise(function(e,t){return n=t}),this.controller=new AbortController;var o=function(){return n(new eb("Deferred data aborted"))};this.unlistenAbortSignal=function(){return a.controller.signal.removeEventListener("abort",o)},this.controller.signal.addEventListener("abort",o),this.data=Object.entries(e).reduce(function(e,t){var r=D(t,2),n=r[0],o=r[1];return Object.assign(e,E({},n,a.trackPromise(n,o)))},{}),this.done&&this.unlistenAbortSignal(),this.init=r}return e=[{key:"trackPromise",value:function(e,t){var r=this;if(!x(t,Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);var n=Promise.race([t,this.abortPromise]).then(function(t){return r.onSettle(n,e,void 0,t)},function(t){return r.onSettle(n,e,t)});return n.catch(function(){}),Object.defineProperty(n,"_tracked",{get:function(){return!0}}),n}},{key:"onSettle",value:function(e,t,r,n){if(this.controller.signal.aborted&&x(r,eb))return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:function(){return r}}),Promise.reject(r);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===r&&void 0===n){var a=Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:function(){return a}}),this.emit(!1,t),Promise.reject(a)}return void 0===n?(Object.defineProperty(e,"_error",{get:function(){return r}}),this.emit(!1,t),Promise.reject(r)):(Object.defineProperty(e,"_data",{get:function(){return n}}),this.emit(!1,t),n)}},{key:"emit",value:function(e,t){this.subscribers.forEach(function(r){return r(e,t)})}},{key:"subscribe",value:function(e){var t=this;return this.subscribers.add(e),function(){return t.subscribers.delete(e)}}},{key:"cancel",value:function(){var e=this;this.controller.abort(),this.pendingKeysSet.forEach(function(t,r){return e.pendingKeysSet.delete(r)}),this.emit(!0)}},{key:"resolveData",value:function(e){return g(function(){var t,r,n;return O(this,function(a){switch(a.label){case 0:if(t=this,r=!1,this.done)return[3,2];return n=function(){return t.cancel()},e.addEventListener("abort",n),[4,new Promise(function(r){t.subscribe(function(a){e.removeEventListener("abort",n),(a||t.done)&&r(a)})})];case 1:r=a.sent(),a.label=2;case 2:return[2,r]}})}).call(this)}},{key:"done",get:function(){return 0===this.pendingKeysSet.size}},{key:"unwrappedData",get:function(){return z(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce(function(e,t){var r=D(t,2);return Object.assign(e,E({},r[0],function(e){if(!(x(e,Promise)&&!0===e._tracked))return e;if(e._error)throw e._error;return e._data}(r[1])))},{})}},{key:"pendingKeys",get:function(){return Array.from(this.pendingKeysSet)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}(),ew=function(e,t){return void 0===t&&(t={}),new eg(e,"number"==typeof t?{status:t}:t)},eS=function(e,t){void 0===t&&(t=302);var r=t;"number"==typeof r?r={status:r}:void 0===r.status&&(r.status=302);var n=new Headers(r.headers);return n.set("Location",e),new Response(null,U({},r,{headers:n}))},eE=function(e,t){var r=eS(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r},eR=function(e,t){var r=eS(e,t);return r.headers.set("X-Remix-Replace","true"),r},ex=function e(t,r,n,a){w(this,e),void 0===a&&(a=!1),this.status=t,this.statusText=r||"",this.internal=a,x(n,Error)?(this.data=n.toString(),this.error=n):this.data=n};function eP(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var ek=["post","put","patch","delete"],eC=new Set(ek),eD=new Set(["get"].concat(L(ek))),eL=new Set([301,302,303,307,308]),e_=new Set([307,308]),eA={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},eT={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ej={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},eO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,eM=function(e){return{hasErrorBoundary:!!e.hasErrorBoundary}},eU="remix-router-transitions";function eF(e){var t,r,n,a,o,i=e.window?e.window:"u">typeof window?window:void 0,u=void 0!==i&&void 0!==i.document&&void 0!==i.document.createElement,s=!u;if(z(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){var c=e.detectErrorBoundary;t=function(e){return{hasErrorBoundary:c(e)}}}else t=eM;var d={},h=Y(e.routes,t,void 0,d),v=e.basename||"/",p=e.dataStrategy||eV,m=e.patchRoutesOnNavigation,y=U({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),b=null,w=new Set,S=null,R=null,P=null,k=null!=e.hydrationData,C=X(h,e.history.location,v),A=!1,T=null;if(null==C&&!m){var j=e2(404,{pathname:e.history.location.pathname}),F=e1(h),I=F.matches,N=F.route;C=I,T=E({},N.id,j)}if(C&&!e.hydrationData&&ty(C,h,e.history.location.pathname).active&&(C=null),C)if(C.some(function(e){return e.route.lazy}))n=!1;else if(C.some(function(e){return e.route.loader}))if(y.v7_partialHydration){var B=e.hydrationData?e.hydrationData.loaderData:null,W=e.hydrationData?e.hydrationData.errors:null;if(W){var $=C.findIndex(function(e){return void 0!==W[e.route.id]});n=C.slice(0,$+1).every(function(e){return!eH(e.route,B,W)})}else n=C.every(function(e){return!eH(e.route,B,W)})}else n=null!=e.hydrationData;else n=!0;else if(n=!1,C=[],y.v7_partialHydration){var V=ty(null,h,e.history.location.pathname);V.active&&V.matches&&(A=!0,C=V.matches)}var J={historyAction:e.history.action,location:e.history.location,matches:C,initialized:n,navigation:eA,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||T,fetchers:new Map,blockers:new Map},Z=l.Pop,ee=!1,et=!1,er=new Map,en=null,eo=!1,ei=!1,eu=[],es=new Set,ec=new Map,el=0,ef=-1,ed=new Map,eh=new Set,ev=new Map,ep=new Map,em=new Set,ey=new Map,eb=new Map,eg=void 0;function ew(e,t){void 0===t&&(t={}),J=U({},J,e);var r=[],n=[];y.v7_fetcherPersist&&J.fetchers.forEach(function(e,t){"idle"===e.state&&(em.has(t)?n.push(t):r.push(t))}),em.forEach(function(e){J.fetchers.has(e)||ec.has(e)||n.push(e)}),L(w).forEach(function(e){return e(J,{deletedFetchers:n,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})}),y.v7_fetcherPersist?(r.forEach(function(e){return J.fetchers.delete(e)}),n.forEach(function(e){return eX(e)})):n.forEach(function(e){return em.delete(e)})}function eS(t,n,a){var o,i,u,s,c=(void 0===a?{}:a).flushSync,f=null!=J.actionData&&null!=J.navigation.formMethod&&te(J.navigation.formMethod)&&"loading"===J.navigation.state&&(null==(o=t.state)?void 0:o._isRedirect)!==!0;u=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:f?J.actionData:null;var d=n.loaderData?eQ(J.loaderData,n.loaderData,n.matches||[],n.errors):J.loaderData,v=J.blockers;v.size>0&&(v=new Map(v)).forEach(function(e,t){return v.set(t,ej)});var p=!0===ee||null!=J.navigation.formMethod&&te(J.navigation.formMethod)&&(null==(i=t.state)?void 0:i._isRedirect)!==!0;if(r&&(h=r,r=void 0),eo||Z===l.Pop||(Z===l.Push?e.history.push(t,t.state):Z===l.Replace&&e.history.replace(t,t.state)),Z===l.Pop){var m=er.get(J.location.pathname);m&&m.has(t.pathname)?s={currentLocation:J.location,nextLocation:t}:er.has(t.pathname)&&(s={currentLocation:t,nextLocation:J.location})}else if(et){var y=er.get(J.location.pathname);y?y.add(t.pathname):(y=new Set([t.pathname]),er.set(J.location.pathname,y)),s={currentLocation:J.location,nextLocation:t}}ew(U({},n,{actionData:u,loaderData:d,historyAction:Z,location:t,initialized:!0,navigation:eA,revalidation:"idle",restoreScrollPosition:tm(t,n.matches||J.matches),preventScrollReset:p,blockers:v}),{viewTransitionOpts:s,flushSync:!0===c}),Z=l.Pop,ee=!1,et=!1,eo=!1,ei=!1,eu=[]}function eE(t,n,a){return g(function(){var i,u,s,c,d,p,m,b,w,R,x,k,C,L,_,T,j,M;return O(this,function(F){var I,N,B,z,H,W,K,$,V,q,Y,G,Q,er,en,ea,ed,ep,eb,eg,eE;switch(F.label){case 0:if(o&&o.abort(),o=null,Z=t,eo=!0===(a&&a.startUninterruptedRevalidation),I=J.location,N=J.matches,S&&P&&(S[tp(I,N)]=P()),ee=!0===(a&&a.preventScrollReset),et=!0===(a&&a.enableViewTransition),i=r||h,u=a&&a.overrideNavigation,s=null!=a&&a.initialHydration&&J.matches&&J.matches.length>0&&!A?J.matches:X(i,n,v),c=!0===(a&&a.flushSync),s&&J.initialized&&!ei&&(B=J.location,z=n,B.pathname===z.pathname&&B.search===z.search&&(""===B.hash?""!==z.hash:B.hash===z.hash||""!==z.hash||!1))&&!(a&&a.submission&&te(a.submission.formMethod)))return eS(n,{matches:s},{flushSync:c}),[2];if((d=ty(s,i,n.pathname)).active&&d.matches&&(s=d.matches),!s)return m=(p=th(n.pathname)).error,eS(n,{matches:p.notFoundMatches,loaderData:{},errors:E({},p.route.id,m)},{flushSync:c}),[2];if(o=new AbortController,b=eq(e.history,n,o.signal,a&&a.submission),!(a&&a.pendingError))return[3,1];return w=[e0(s).route.id,{type:f.error,error:a.pendingError}],[3,3];case 1:if(!(a&&a.submission&&te(a.submission.formMethod)))return[3,3];return[4,(H=b,W=n,K=a.submission,$=s,V=d.active,q={replace:a.replace,flushSync:c},g(function(){var t,r,n,a,o,i,u,s,c;return O(this,function(d){switch(d.label){case 0:var h;if(void 0===q&&(q={}),eF(),ew({navigation:{state:"submitting",location:W,formMethod:(h=K).formMethod,formAction:h.formAction,formEncType:h.formEncType,formData:h.formData,json:h.json,text:h.text}},{flushSync:!0===q.flushSync}),!V)return[3,2];return[4,tb($,W.pathname,H.signal)];case 1:if("aborted"===(t=d.sent()).type)return[2,{shortCircuited:!0}];if("error"===t.type)return r=e0(t.partialMatches).route.id,[2,{matches:t.partialMatches,pendingActionResult:[r,{type:f.error,error:t.error}]}];if(!t.matches)return a=(n=th(W.pathname)).notFoundMatches,o=n.error,[2,{matches:a,pendingActionResult:[n.route.id,{type:f.error,error:o}]}];$=t.matches;d.label=2;case 2:if(!(!(u=tn($,W)).route.action&&!u.route.lazy))return[3,3];return i={type:f.error,error:e2(405,{method:H.method,pathname:W.pathname,routeId:u.route.id})},[3,5];case 3:return[4,eC("action",J,H,[u],$,null)];case 4:if(i=d.sent()[u.route.id],H.signal.aborted)return[2,{shortCircuited:!0}];d.label=5;case 5:if(!e6(i))return[3,7];return s=q&&null!=q.replace?q.replace:eJ(i.response.headers.get("Location"),new URL(H.url),v,e.history)===J.location.pathname+J.location.search,[4,ek(H,i,!0,{submission:K,replace:s})];case 6:return d.sent(),[2,{shortCircuited:!0}];case 7:if(e7(i))throw e2(400,{type:"defer-action"});if(e5(i))return c=e0($,u.route.id),!0!==(q&&q.replace)&&(Z=l.Push),[2,{matches:$,pendingActionResult:[c.route.id,i]}];return[2,{matches:$,pendingActionResult:[u.route.id,i]}]}})})())];case 2:if((R=F.sent()).shortCircuited)return[2];if(R.pendingActionResult&&(k=(x=D(R.pendingActionResult,2))[0],e5(C=x[1])&&eP(C.error)&&404===C.error.status))return o=null,eS(n,{matches:R.matches,loaderData:{},errors:E({},k,C.error)}),[2];s=R.matches||s,w=R.pendingActionResult,u=to(n,a.submission),c=!1,d.active=!1,b=eq(e.history,b.url,b.signal),F.label=3;case 3:return[4,(Y=b,G=n,Q=s,er=d.active,en=u,ea=a&&a.submission,ed=a&&a.fetcherSubmission,ep=a&&a.replace,eb=a&&!0===a.initialHydration,eg=c,eE=w,g(function(){var t,n,a,i,u,s,c,l,f,d,p,m,b,g,w,S,R,x,P,k,C,L,_,A,T,j;return O(this,function(O){switch(O.label){case 0:if(t=en||to(G,ea),n=ea||ed||ta(t),a=!eo&&(!y.v7_partialHydration||!eb),!er)return[3,2];return a&&(i=eR(eE),ew(U({navigation:t},void 0!==i?{actionData:i}:{}),{flushSync:eg})),[4,tb(Q,G.pathname,Y.signal)];case 1:if("aborted"===(u=O.sent()).type)return[2,{shortCircuited:!0}];if("error"===u.type)return s=e0(u.partialMatches).route.id,[2,{matches:u.partialMatches,loaderData:{},errors:E({},s,u.error)}];if(!u.matches)return l=(c=th(G.pathname)).error,[2,{matches:c.notFoundMatches,loaderData:{},errors:E({},c.route.id,l)}];Q=u.matches;O.label=2;case 2:if(f=r||h,p=(d=D(ez(e.history,J,Q,n,G,y.v7_partialHydration&&!0===eb,y.v7_skipActionErrorRevalidation,ei,eu,es,em,ev,eh,f,v,eE),2))[0],m=d[1],tv(function(e){return!(Q&&Q.some(function(t){return t.route.id===e}))||p&&p.some(function(t){return t.route.id===e})}),ef=++el,0===p.length&&0===m.length)return b=ts(),eS(G,U({matches:Q,loaderData:{},errors:eE&&e5(eE[1])?E({},eE[0],eE[1].error):null},eZ(eE),b?{fetchers:new Map(J.fetchers)}:{}),{flushSync:eg}),[2,{shortCircuited:!0}];return a&&(g={},er||(g.navigation=t,void 0!==(w=eR(eE))&&(g.actionData=w)),m.length>0&&(m.forEach(function(e){var t=J.fetchers.get(e.key),r=ti(void 0,t?t.data:void 0);J.fetchers.set(e.key,r)}),g.fetchers=new Map(J.fetchers)),ew(g,{flushSync:eg})),m.forEach(function(e){e4(e.key),e.controller&&ec.set(e.key,e.controller)}),S=function(){return m.forEach(function(e){return e4(e.key)})},o&&o.signal.addEventListener("abort",S),[4,eD(J,Q,p,m,Y)];case 3:if(x=(R=O.sent()).loaderResults,P=R.fetcherResults,Y.signal.aborted)return[2,{shortCircuited:!0}];if(o&&o.signal.removeEventListener("abort",S),m.forEach(function(e){return ec.delete(e.key)}),!(k=e3(x)))return[3,5];return[4,ek(Y,k.result,!0,{replace:ep})];case 4:case 6:return O.sent(),[2,{shortCircuited:!0}];case 5:if(!(k=e3(P)))return[3,7];return eh.add(k.key),[4,ek(Y,k.result,!0,{replace:ep})];case 7:return L=(C=eG(J,Q,x,eE,m,P,ey)).loaderData,_=C.errors,ey.forEach(function(e,t){e.subscribe(function(r){(r||e.done)&&ey.delete(t)})}),y.v7_partialHydration&&eb&&J.errors&&(_=U({},J.errors,_)),A=ts(),T=tc(ef),j=A||T||m.length>0,[2,U({matches:Q,loaderData:L,errors:_},j?{fetchers:new Map(J.fetchers)}:{})]}})})())];case 4:if(_=(L=F.sent()).shortCircuited,T=L.matches,j=L.loaderData,M=L.errors,_)return[2];return o=null,eS(n,U({matches:T||s},eZ(w),{loaderData:j,errors:M})),[2]}})})()}function eR(e){if(e&&!e5(e[1]))return E({},e[0],e[1].data);if(J.actionData)if(0===Object.keys(J.actionData).length)return null;else return J.actionData}function ek(t,r,n,a){return g(function(){var s,c,f,d,h,p,m,y,b,g,w,S,E,R,x,P;return O(this,function(k){switch(k.label){case 0:if(c=(s=void 0===a?{}:a).submission,f=s.fetcherSubmission,d=s.preventScrollReset,h=s.replace,r.response.headers.has("X-Remix-Revalidate")&&(ei=!0),z(p=r.response.headers.get("Location"),"Expected a Location header on the redirect Response"),p=eJ(p,new URL(t.url),v,e.history),m=K(J.location,p,{_isRedirect:!0}),u&&(y=!1,r.response.headers.has("X-Remix-Reload-Document")?y=!0:eO.test(p)&&(y=(b=e.history.createURL(p)).origin!==i.location.origin||null==ea(b.pathname,v)),y))return h?i.location.replace(p):i.location.assign(p),[2];if(o=null,g=!0===h||r.response.headers.has("X-Remix-Replace")?l.Replace:l.Push,S=(w=J.navigation).formMethod,E=w.formAction,R=w.formEncType,!c&&!f&&S&&E&&R&&(c=ta(J.navigation)),x=c||f,!(e_.has(r.response.status)&&x&&te(x.formMethod)))return[3,2];return[4,eE(g,m,{submission:U({},x,{formAction:p}),preventScrollReset:d||ee,enableViewTransition:n?et:void 0})];case 1:return k.sent(),[3,4];case 2:return P=to(m,c),[4,eE(g,m,{overrideNavigation:P,fetcherSubmission:f,preventScrollReset:d||ee,enableViewTransition:n?et:void 0})];case 3:k.sent(),k.label=4;case 4:return[2]}})})()}function eC(e,r,n,a,o,i){return g(function(){var r,u,s,c,l,h,m,b,w,S,E,R,P;return O(this,function(k){var C,A,T,j,M,F,I,N,B,W;switch(k.label){case 0:u={},k.label=1;case 1:return k.trys.push([1,3,,4]),[4,(C=p,A=e,T=n,j=a,M=o,F=i,I=d,N=t,g(function(){var e,t;return O(this,function(r){switch(r.label){case 0:return e=M.map(function(e){var t;return e.route.lazy?(t=e.route,g(function(){var e,r,n,a;return O(this,function(o){switch(o.label){case 0:if(!t.lazy)return[2];return[4,t.lazy()];case 1:if(e=o.sent(),!t.lazy)return[2];for(var i in z(r=I[t.id],"No route found in manifest"),n={},e)H(!(a=void 0!==r[i]&&"hasErrorBoundary"!==i),'Route "'+r.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+i+'" will be ignored.'),a||q.has(i)||(n[i]=e[i]);return Object.assign(r,n),Object.assign(r,U({},N(r),{lazy:void 0})),[2]}})})()):void 0}),[4,C({matches:M.map(function(t,r){var n=e[r],a=j.some(function(e){return e.route.id===t.route.id});return U({},t,{shouldLoad:a,resolve:function(e){return g(function(){return O(this,function(r){var o,i,u,s,c,l;return e&&"GET"===T.method&&(t.route.lazy||t.route.loader)&&(a=!0),[2,a?(o=A,i=T,u=t,s=n,c=e,l=void 0,g(function(){var e,t,r,n,a,d,h,v,p,m;return O(this,function(y){switch(y.label){case 0:r=function(e){var r,n=new Promise(function(e,t){return r=t});t=function(){return r()},i.signal.addEventListener("abort",t);var a=function(t){return"function"!=typeof e?Promise.reject(Error("You cannot call the handler for a route which defines a boolean "+('"'+o+'" [routeId: ')+u.route.id+"]")):e.apply(void 0,[{request:i,params:u.params,context:l}].concat(L(void 0!==t?[t]:[])))};return Promise.race([g(function(){return O(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,c?c(function(e){return a(e)}):a()];case 1:return[2,{type:"data",result:e.sent()}];case 2:return[2,{type:"error",result:e.sent()}];case 3:return[2]}})})(),n])},y.label=1;case 1:if(y.trys.push([1,12,13,14]),n=u.route[o],!s)return[3,8];if(!n)return[3,3];return[4,Promise.all([r(n).catch(function(e){a=e}),s])];case 2:if(d=D.apply(void 0,[y.sent(),1])[0],void 0!==a)throw a;return e=d,[3,7];case 3:return[4,s];case 4:if(y.sent(),!(n=u.route[o]))return[3,6];return[4,r(n)];case 5:return e=y.sent(),[3,7];case 6:if("action"!==o)return[2,{type:f.data,result:void 0}];throw v=(h=new URL(i.url)).pathname+h.search,e2(405,{method:i.method,pathname:v,routeId:u.route.id});case 7:return[3,11];case 8:if(n)return[3,9];throw e2(404,{pathname:(p=new URL(i.url)).pathname+p.search});case 9:return[4,r(n)];case 10:e=y.sent(),y.label=11;case 11:return z(void 0!==e.result,"You defined "+("action"===o?"an action":"a loader")+" for route "+('"'+u.route.id+"\" but didn't return anything from your `")+o+"` function. Please return a value or `null`."),[3,14];case 12:return m=y.sent(),[2,{type:f.error,result:m}];case 13:return t&&i.signal.removeEventListener("abort",t),[7];case 14:return[2,e]}})})()):Promise.resolve({type:f.data,result:void 0})]})})()}})}),request:T,params:M[0].params,fetcherKey:F,context:void 0})];case 1:t=r.sent(),r.label=2;case 2:return r.trys.push([2,4,,5]),[4,Promise.all(e)];case 3:case 4:return r.sent(),[3,5];case 5:return[2,t]}})})())];case 2:return r=k.sent(),[3,4];case 3:return s=k.sent(),a.forEach(function(e){u[e.route.id]={type:f.error,error:s}}),[2,u];case 4:c=!0,l=!1,h=void 0,k.label=5;case 5:k.trys.push([5,11,12,13]),m=Object.entries(r)[Symbol.iterator](),k.label=6;case 6:if(c=(b=m.next()).done)return[3,10];if(S=(w=D(b.value,2))[0],!(e9((B=E=w[1]).result)&&eL.has(B.result.status)))return[3,7];return R=E.result,u[S]={type:f.redirect,response:function(e,t,r,n,a,o){var i=e.headers.get("Location");if(z(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!eO.test(i)){var u=n.slice(0,n.findIndex(function(e){return e.route.id===r})+1);i=eI(new URL(t.url),u,a,!0,i,o),e.headers.set("Location",i)}return e}(R,n,S,o,v,y.v7_relativeSplatPath)},[3,9];case 7:return[4,(W=E,g(function(){var e,t,r,n,a,o,i,u,s,c,l,d,h;return O(this,function(v){switch(v.label){case 0:if(e=W.result,t=W.type,!e9(e))return[3,10];v.label=1;case 1:if(v.trys.push([1,8,,9]),!((n=e.headers.get("Content-Type"))&&/\bapplication\/json\b/.test(n)))return[3,5];if(null!=e.body)return[3,2];return r=null,[3,4];case 2:return[4,e.json()];case 3:r=v.sent(),v.label=4;case 4:return[3,7];case 5:return[4,e.text()];case 6:r=v.sent(),v.label=7;case 7:return[3,9];case 8:return a=v.sent(),[2,{type:f.error,error:a}];case 9:if(t===f.error)return[2,{type:f.error,error:new ex(e.status,e.statusText,r),statusCode:e.status,headers:e.headers}];return[2,{type:f.data,data:r,statusCode:e.status,headers:e.headers}];case 10:var p;if(t===f.error){if(e8(e)){if(x(e.data,Error))return[2,{type:f.error,error:e.data,statusCode:null==(u=e.init)?void 0:u.status,headers:null!=(s=e.init)&&s.headers?new Headers(e.init.headers):void 0}];return[2,{type:f.error,error:new ex((null==(o=e.init)?void 0:o.status)||500,void 0,e.data),statusCode:eP(e)?e.status:void 0,headers:null!=(i=e.init)&&i.headers?new Headers(e.init.headers):void 0}]}return[2,{type:f.error,error:e,statusCode:eP(e)?e.status:void 0}]}if((p=e)&&(void 0===p?"undefined":_(p))==="object"&&"object"===_(p.data)&&"function"==typeof p.subscribe&&"function"==typeof p.cancel&&"function"==typeof p.resolveData)return[2,{type:f.deferred,deferredData:e,statusCode:null==(c=e.init)?void 0:c.status,headers:(null==(l=e.init)?void 0:l.headers)&&new Headers(e.init.headers)}];if(e8(e))return[2,{type:f.data,data:e.data,statusCode:null==(d=e.init)?void 0:d.status,headers:null!=(h=e.init)&&h.headers?new Headers(e.init.headers):void 0}];return[2,{type:f.data,data:e}]}})})())];case 8:u[S]=k.sent(),k.label=9;case 9:return c=!0,[3,6];case 10:return[3,13];case 11:return P=k.sent(),l=!0,h=P,[3,13];case 12:try{c||null==m.return||m.return()}finally{if(l)throw h}return[7];case 13:return[2,u]}})})()}function eD(t,r,n,a,o){return g(function(){var i,u,s,c,l;return O(this,function(d){switch(d.label){case 0:return i=t.matches,u=eC("loader",t,o,n,r,null),s=Promise.all(a.map(function(r){return g(function(){var n;return O(this,function(a){switch(a.label){case 0:if(!(r.matches&&r.match&&r.controller))return[3,2];return[4,eC("loader",t,eq(e.history,r.path,r.controller.signal),[r.match],r.matches,r.key)];case 1:return n=a.sent()[r.match.route.id],[2,E({},r.key,n)];case 2:return[2,Promise.resolve(E({},r.key,{type:f.error,error:e2(404,{pathname:r.path})}))];case 3:return[2]}})})()})),[4,u];case 1:return c=d.sent(),[4,s];case 2:var h,v,p,m,y,b,w,S;return l=d.sent().reduce(function(e,t){return Object.assign(e,t)},{}),[4,Promise.all([(h=r,v=c,p=o.signal,m=i,y=t.loaderData,g(function(){var e,t,r;return O(this,function(n){switch(n.label){case 0:e=function(e){var r,n,a,o,i,u;return O(this,function(s){switch(s.label){case 0:if(n=(r=D(t[e],2))[0],a=r[1],!(o=h.find(function(e){return(null==e?void 0:e.route.id)===n})))return[2,"continue"];if(u=null!=(i=m.find(function(e){return e.route.id===o.route.id}))&&!eW(i,o)&&(y&&y[o.route.id])!==void 0,!(e7(a)&&u))return[3,2];return[4,tt(a,p,!1).then(function(e){e&&(v[n]=e)})];case 1:s.sent(),s.label=2;case 2:return[2]}})},t=Object.entries(v),r=0,n.label=1;case 1:if(!(r<t.length))return[3,4];return[5,M(e(r))];case 2:n.sent(),n.label=3;case 3:return r++,[3,1];case 4:return[2]}})})()),(b=r,w=l,S=a,g(function(){var e,t;return O(this,function(r){switch(r.label){case 0:e=function(e){var t,r,n,a,o;return O(this,function(i){switch(i.label){case 0:if(r=(t=S[e]).key,n=t.routeId,a=t.controller,o=w[r],!b.find(function(e){return(null==e?void 0:e.route.id)===n}))return[2,"continue"];if(!e7(o))return[3,2];return z(a,"Expected an AbortController for revalidating fetcher deferred result"),[4,tt(o,a.signal,!0).then(function(e){e&&(w[r]=e)})];case 1:i.sent(),i.label=2;case 2:return[2]}})},t=0,r.label=1;case 1:if(!(t<S.length))return[3,4];return[5,M(e(t))];case 2:r.sent(),r.label=3;case 3:return t++,[3,1];case 4:return[2]}})})())])];case 3:return d.sent(),[2,{loaderResults:c,fetcherResults:l}]}})})()}function eF(){var e;ei=!0,(e=eu).push.apply(e,L(tv())),ev.forEach(function(e,t){ec.has(t)&&es.add(t),e4(t)})}function eB(e,t,r){void 0===r&&(r={}),J.fetchers.set(e,t),ew({fetchers:new Map(J.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function eK(e,t,r,n){void 0===n&&(n={});var a=e0(J.matches,t);eX(e),ew({errors:E({},a.route.id,r),fetchers:new Map(J.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function eY(e){return ep.set(e,(ep.get(e)||0)+1),em.has(e)&&em.delete(e),J.fetchers.get(e)||eT}function eX(e){var t=J.fetchers.get(e);ec.has(e)&&!(t&&"loading"===t.state&&ed.has(e))&&e4(e),ev.delete(e),ed.delete(e),eh.delete(e),y.v7_fetcherPersist&&em.delete(e),es.delete(e),J.fetchers.delete(e)}function e4(e){var t=ec.get(e);t&&(t.abort(),ec.delete(e))}function tr(e){var t=!0,r=!1,n=void 0;try{for(var a,o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value,u=eY(i),s=tu(u.data);J.fetchers.set(i,s)}}catch(e){r=!0,n=e}finally{try{t||null==o.return||o.return()}finally{if(r)throw n}}}function ts(){var e=[],t=!1,r=!0,n=!1,a=void 0;try{for(var o,i=eh[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var u=o.value,s=J.fetchers.get(u);z(s,"Expected fetcher: "+u),"loading"===s.state&&(eh.delete(u),e.push(u),t=!0)}}catch(e){n=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw a}}return tr(e),t}function tc(e){var t=[],r=!0,n=!1,a=void 0;try{for(var o,i=ed[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var u=D(o.value,2),s=u[0];if(u[1]<e){var c=J.fetchers.get(s);z(c,"Expected fetcher: "+s),"loading"===c.state&&(e4(s),ed.delete(s),t.push(s))}}}catch(e){n=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw a}}return tr(t),t.length>0}function tl(e){J.blockers.delete(e),eb.delete(e)}function tf(e,t){var r=J.blockers.get(e)||ej;z("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);var n=new Map(J.blockers);n.set(e,t),ew({blockers:n})}function td(e){var t=e.currentLocation,r=e.nextLocation,n=e.historyAction;if(0!==eb.size){eb.size>1&&H(!1,"A router only supports one blocker at a time");var a=Array.from(eb.entries()),o=D(a[a.length-1],2),i=o[0],u=o[1],s=J.blockers.get(i);if((!s||"proceeding"!==s.state)&&u({currentLocation:t,nextLocation:r,historyAction:n}))return i}}function th(e){var t=e2(404,{pathname:e}),n=e1(r||h),a=n.matches,o=n.route;return tv(),{notFoundMatches:a,route:o,error:t}}function tv(e){var t=[];return ey.forEach(function(r,n){(!e||e(n))&&(r.cancel(),t.push(n),ey.delete(n))}),t}function tp(e,t){return R&&R(e,t.map(function(e){return Q(e,J.loaderData)}))||e.key}function tm(e,t){if(S){var r=S[tp(e,t)];if("number"==typeof r)return r}return null}function ty(e,t,r){if(m){if(!e)return{active:!0,matches:G(t,r,v,!0)||[]};else if(Object.keys(e[0].params).length>0)return{active:!0,matches:G(t,r,v,!0)}}return{active:!1,matches:null}}function tb(e,n,a,o){return g(function(){var i,u,s;return O(this,function(c){switch(c.label){case 0:if(i=function(){var e,i,s,c,l;return O(this,function(f){switch(f.label){case 0:e=null==r,i=r||h,s=d,f.label=1;case 1:return f.trys.push([1,3,4,5]),[4,m({signal:a,path:n,matches:u,fetcherKey:o,patch:function(e,r){a.aborted||e$(e,r,i,s,t)}})];case 2:return f.sent(),[3,5];case 3:return[2,{v:{type:"error",error:f.sent(),partialMatches:u}}];case 4:return e&&!a.aborted&&(h=L(h)),[7];case 5:if(a.aborted)return[2,{v:{type:"aborted"}}];if(c=X(i,n,v))return[2,{v:{type:"success",matches:c}}];if(!(l=G(i,n,v,!0))||u.length===l.length&&u.every(function(e,t){return e.route.id===l[t].route.id}))return[2,{v:{type:"success",matches:null}}];return u=l,[2]}})},!m)return[2,{type:"success",matches:e}];u=e,c.label=1;case 1:return[5,M(i())];case 2:if("object"===_(s=c.sent()))return[2,s.v];return[3,1];case 3:return[2]}})})()}return a={get basename(){return v},get future(){return y},get state(){return J},get routes(){return h},get window(){return i},initialize:function(){if(b=e.history.listen(function(t){var r=t.action,n=t.location,a=t.delta;if(eg){eg(),eg=void 0;return}H(0===eb.size||null!=a,"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.");var o=td({currentLocation:J.location,nextLocation:n,historyAction:r});if(o&&null!=a){var i=new Promise(function(e){eg=e});e.history.go(-1*a),tf(o,{state:"blocked",location:n,proceed:function(){tf(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),i.then(function(){return e.history.go(a)})},reset:function(){var e=new Map(J.blockers);e.set(o,ej),ew({blockers:e})}});return}return eE(r,n)}),u){!function(e,t){try{var r=e.sessionStorage.getItem(eU);if(r){var n=JSON.parse(r),a=!0,o=!1,i=void 0;try{for(var u,s=Object.entries(n||{})[Symbol.iterator]();!(a=(u=s.next()).done);a=!0){var c=D(u.value,2),l=c[0],f=c[1];f&&Array.isArray(f)&&t.set(l,new Set(f||[]))}}catch(e){o=!0,i=e}finally{try{a||null==s.return||s.return()}finally{if(o)throw i}}}}catch(e){}}(i,er);var t=function(){return function(e,t){if(t.size>0){var r={},n=!0,a=!1,o=void 0;try{for(var i,u=t[Symbol.iterator]();!(n=(i=u.next()).done);n=!0){var s=D(i.value,2),c=s[0],l=s[1];r[c]=L(l)}}catch(e){a=!0,o=e}finally{try{n||null==u.return||u.return()}finally{if(a)throw o}}try{e.sessionStorage.setItem(eU,JSON.stringify(r))}catch(e){H(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(i,er)};i.addEventListener("pagehide",t),en=function(){return i.removeEventListener("pagehide",t)}}return J.initialized||eE(l.Pop,J.location,{initialHydration:!0}),a},subscribe:function(e){return w.add(e),function(){return w.delete(e)}},enableScrollRestoration:function(e,t,r){if(S=e,P=t,R=r||null,!k&&J.navigation===eA){k=!0;var n=tm(J.location,J.matches);null!=n&&ew({restoreScrollPosition:n})}return function(){S=null,P=null,R=null}},navigate:function t(r,n){return g(function(){var a,o,i,u,s,c,f,d,h,p,m,b;return O(this,function(g){switch(g.label){case 0:if("number"==typeof r)return e.history.go(r),[2];if(a=eI(J.location,J.matches,v,y.v7_prependBasename,r,y.v7_relativeSplatPath,null==n?void 0:n.fromRouteId,null==n?void 0:n.relative),i=(o=eN(y.v7_normalizeFormMethod,!1,a,n)).path,u=o.submission,s=o.error,c=J.location,f=K(J.location,i,n&&n.state),f=U({},f,e.history.encodeLocation(f)),d=n&&null!=n.replace?n.replace:void 0,h=l.Push,!0===d?h=l.Replace:!1===d||null!=u&&te(u.formMethod)&&u.formAction===J.location.pathname+J.location.search&&(h=l.Replace),p=n&&"preventScrollReset"in n?!0===n.preventScrollReset:void 0,m=!0===(n&&n.flushSync),b=td({currentLocation:c,nextLocation:f,historyAction:h}))return tf(b,{state:"blocked",location:f,proceed:function(){tf(b,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),t(r,n)},reset:function(){var e=new Map(J.blockers);e.set(b,ej),ew({blockers:e})}}),[2];return[4,eE(h,f,{submission:u,pendingError:s,preventScrollReset:p,replace:n&&n.replace,enableViewTransition:n&&n.viewTransition,flushSync:m})];case 1:return[2,g.sent()]}})})()},fetch:function(t,n,a,i){if(s)throw 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.");e4(t);var u,c,l,f,d,p,m,b,w,S,E,R,x,P,k,C,L,_,A=!0===(i&&i.flushSync),T=r||h,j=eI(J.location,J.matches,v,y.v7_prependBasename,a,y.v7_relativeSplatPath,n,null==i?void 0:i.relative),M=X(T,j,v),U=ty(M,T,j);if(U.active&&U.matches&&(M=U.matches),!M)return void eK(t,n,e2(404,{pathname:j}),{flushSync:A});var F=eN(y.v7_normalizeFormMethod,!0,j,i),I=F.path,N=F.submission,B=F.error;if(B)return void eK(t,n,B,{flushSync:A});var H=tn(M,I),W=!0===(i&&i.preventScrollReset);N&&te(N.formMethod)?(u=t,c=n,l=I,f=H,d=M,p=U.active,m=A,b=W,w=N,g(function(){var t,n,a,i,s,g,S,E,R,x,P,k,C,L,_,A,T,j,M,U,F,I,N,B;function H(e){if(!e.route.action&&!e.route.lazy){var t=e2(405,{method:w.formMethod,pathname:l,routeId:c});return eK(u,c,t,{flushSync:m}),!0}return!1}return O(this,function(O){switch(O.label){case 0:var W,K;if(eF(),ev.delete(u),!p&&H(f))return[2];if(t=J.fetchers.get(u),eB(u,(W=w,K=t,{state:"submitting",formMethod:W.formMethod,formAction:W.formAction,formEncType:W.formEncType,formData:W.formData,json:W.json,text:W.text,data:K?K.data:void 0}),{flushSync:m}),n=new AbortController,a=eq(e.history,l,n.signal,w),!p)return[3,2];return[4,tb(d,new URL(a.url).pathname,a.signal,u)];case 1:if("aborted"===(i=O.sent()).type)return[2];if("error"===i.type)return eK(u,c,i.error,{flushSync:m}),[2];if(!i.matches)return eK(u,c,e2(404,{pathname:l}),{flushSync:m}),[2];else if(H(f=tn(d=i.matches,l)))return[2];O.label=2;case 2:return ec.set(u,n),s=el,[4,eC("action",J,a,[f],d,u)];case 3:if(g=O.sent()[f.route.id],a.signal.aborted)return ec.get(u)===n&&ec.delete(u),[2];if(y.v7_fetcherPersist&&em.has(u)){if(e6(g)||e5(g))return eB(u,tu(void 0)),[2]}else{if(e6(g)){if(ec.delete(u),ef>s)return eB(u,tu(void 0)),[2];return eh.add(u),eB(u,ti(w)),[2,ek(a,g,!1,{fetcherSubmission:w,preventScrollReset:b})]}if(e5(g))return eK(u,c,g.error),[2]}if(e7(g))throw e2(400,{type:"defer-action"});return S=J.navigation.location||J.location,E=eq(e.history,S,n.signal),R=r||h,z(x="idle"!==J.navigation.state?X(R,J.navigation.location,v):J.matches,"Didn't find any matches after fetcher action"),P=++el,ed.set(u,P),k=ti(w,g.data),J.fetchers.set(u,k),L=(C=D(ez(e.history,J,x,w,S,!1,y.v7_skipActionErrorRevalidation,ei,eu,es,em,ev,eh,R,v,[f.route.id,g]),2))[0],(_=C[1]).filter(function(e){return e.key!==u}).forEach(function(e){var t=e.key,r=J.fetchers.get(t),n=ti(void 0,r?r.data:void 0);J.fetchers.set(t,n),e4(t),e.controller&&ec.set(t,e.controller)}),ew({fetchers:new Map(J.fetchers)}),A=function(){return _.forEach(function(e){return e4(e.key)})},n.signal.addEventListener("abort",A),[4,eD(J,x,L,_,E)];case 4:if(j=(T=O.sent()).loaderResults,M=T.fetcherResults,n.signal.aborted)return[2];if(n.signal.removeEventListener("abort",A),ed.delete(u),ec.delete(u),_.forEach(function(e){return ec.delete(e.key)}),U=e3(j))return[2,ek(E,U.result,!1,{preventScrollReset:b})];if(U=e3(M))return eh.add(U.key),[2,ek(E,U.result,!1,{preventScrollReset:b})];return I=(F=eG(J,x,j,void 0,_,M,ey)).loaderData,N=F.errors,J.fetchers.has(u)&&(B=tu(g.data),J.fetchers.set(u,B)),tc(P),"loading"===J.navigation.state&&P>ef?(z(Z,"Expected pending action"),o&&o.abort(),eS(J.navigation.location,{matches:x,loaderData:I,errors:N,fetchers:new Map(J.fetchers)})):(ew({errors:N,loaderData:eQ(J.loaderData,I,x,N),fetchers:new Map(J.fetchers)}),ei=!1),[2]}})})()):(ev.set(t,{routeId:n,path:I}),S=t,E=n,R=I,x=H,P=M,k=U.active,C=A,L=W,_=N,g(function(){var t,r,n,a,o,i;return O(this,function(u){switch(u.label){case 0:if(t=J.fetchers.get(S),eB(S,ti(_,t?t.data:void 0),{flushSync:C}),r=new AbortController,n=eq(e.history,R,r.signal),!k)return[3,2];return[4,tb(P,new URL(n.url).pathname,n.signal,S)];case 1:if("aborted"===(a=u.sent()).type)return[2];if("error"===a.type)return eK(S,E,a.error,{flushSync:C}),[2];if(!a.matches)return eK(S,E,e2(404,{pathname:R}),{flushSync:C}),[2];x=tn(P=a.matches,R);u.label=2;case 2:return ec.set(S,r),o=el,[4,eC("loader",J,n,[x],P,S)];case 3:if(!e7(i=u.sent()[x.route.id]))return[3,5];return[4,tt(i,n.signal,!0)];case 4:i=u.sent()||i,u.label=5;case 5:if(ec.get(S)===r&&ec.delete(S),n.signal.aborted)return[2];if(em.has(S))return eB(S,tu(void 0)),[2];if(!e6(i))return[3,8];if(!(ef>o))return[3,6];return eB(S,tu(void 0)),[2];case 6:return eh.add(S),[4,ek(n,i,!1,{preventScrollReset:L})];case 7:return u.sent(),[2];case 8:if(e5(i))return eK(S,E,i.error),[2];return z(!e7(i),"Unhandled fetcher deferred data"),eB(S,tu(i.data)),[2]}})})())},revalidate:function(){if(eF(),ew({revalidation:"loading"}),"submitting"!==J.navigation.state){if("idle"===J.navigation.state)return void eE(J.historyAction,J.location,{startUninterruptedRevalidation:!0});eE(Z||J.historyAction,J.navigation.location,{overrideNavigation:J.navigation,enableViewTransition:!0===et})}},createHref:function(t){return e.history.createHref(t)},encodeLocation:function(t){return e.history.encodeLocation(t)},getFetcher:eY,deleteFetcher:function(e){var t=(ep.get(e)||0)-1;t<=0?(ep.delete(e),em.add(e),y.v7_fetcherPersist||eX(e)):ep.set(e,t),ew({fetchers:new Map(J.fetchers)})},dispose:function(){b&&b(),en&&en(),w.clear(),o&&o.abort(),J.fetchers.forEach(function(e,t){return eX(t)}),J.blockers.forEach(function(e,t){return tl(t)})},getBlocker:function(e,t){var r=J.blockers.get(e)||ej;return eb.get(e)!==t&&eb.set(e,t),r},deleteBlocker:tl,patchRoutes:function(e,n){var a=null==r;e$(e,n,r||h,d,t),a&&(h=L(h),ew({}))},_internalFetchControllers:ec,_internalActiveDeferreds:ey,_internalSetRoutes:function(e){r=Y(e,t,void 0,d={})}}}function eI(e,t,r,n,a,o,i,u){if(i){f=[];var s=!0,c=!1,l=void 0;try{for(var f,d,h,v=t[Symbol.iterator]();!(s=(h=v.next()).done);s=!0){var p=h.value;if(f.push(p),p.route.id===i){d=p;break}}}catch(e){c=!0,l=e}finally{try{s||null==v.return||v.return()}finally{if(c)throw l}}}else f=t,d=t[t.length-1];var m=ef(a||".",el(f,o),ea(e.pathname,r)||e.pathname,"path"===u);if(null==a&&(m.search=e.search,m.hash=e.hash),(null==a||""===a||"."===a)&&d){var y=tr(m.search);if(d.route.index&&!y)m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index";else if(!d.route.index&&y){var b=new URLSearchParams(m.search),g=b.getAll("index");b.delete("index"),g.filter(function(e){return e}).forEach(function(e){return b.append("index",e)});var w=b.toString();m.search=w?"?"+w:""}}return n&&"/"!==r&&(m.pathname="/"===m.pathname?r:eh([r,m.pathname])),$(m)}function eN(e,t,r,n){if(!n||!(null!=n&&("formData"in n&&null!=n.formData||"body"in n&&void 0!==n.body)))return{path:r};if(n.formMethod&&(a=n.formMethod,!eD.has(a.toLowerCase())))return{path:r,error:e2(405,{method:n.formMethod})};var a,o,i,u=function(){return{path:r,error:e2(400,{type:"invalid-body"})}},s=n.formMethod||"get",c=e?s.toUpperCase():s.toLowerCase(),l=e4(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!te(c))return u();var f="string"==typeof n.body?n.body:x(n.body,FormData)||x(n.body,URLSearchParams)?Array.from(n.body.entries()).reduce(function(e,t){var r=D(t,2);return""+e+r[0]+"="+r[1]+"\n"},""):String(n.body);return{path:r,submission:{formMethod:c,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:f}}}else if("application/json"===n.formEncType){if(!te(c))return u();try{var d="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:c,formAction:l,formEncType:n.formEncType,formData:void 0,json:d,text:void 0}}}catch(e){return u()}}}if(z("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=eY(n.formData),i=n.formData;else if(x(n.body,FormData))o=eY(n.body),i=n.body;else if(x(n.body,URLSearchParams))i=eX(o=n.body);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=eX(o)}catch(e){return u()}var h={formMethod:c,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(te(h.formMethod))return{path:r,submission:h};var v=V(r);return t&&v.search&&tr(v.search)&&o.append("index",""),v.search="?"+o,{path:$(v),submission:h}}function eB(e,t,r){void 0===r&&(r=!1);var n=e.findIndex(function(e){return e.route.id===t});return n>=0?e.slice(0,r?n+1:n):e}function ez(e,t,r,n,a,o,i,u,s,c,l,f,d,h,v,p){var m=p?e5(p[1])?p[1].error:p[1].data:void 0,y=e.createURL(t.location),b=e.createURL(a),g=r;o&&t.errors?g=eB(r,Object.keys(t.errors)[0],!0):p&&e5(p[1])&&(g=eB(r,p[0]));var w=p?p[1].statusCode:void 0,S=i&&w&&w>=400,E=g.filter(function(e,r){var a,i,c,l,f,d=e.route;if(d.lazy)return!0;if(null==d.loader)return!1;if(o)return eH(d,t.loaderData,t.errors);if(a=t.loaderData,i=t.matches[r],c=e,l=!i||c.route.id!==i.route.id,f=void 0===a[c.route.id],l||f||s.some(function(t){return t===e.route.id}))return!0;var h=t.matches[r];return eK(e,U({currentUrl:y,currentParams:h.params,nextUrl:b,nextParams:e.params},n,{actionResult:m,actionStatus:w,defaultShouldRevalidate:!S&&(u||y.pathname+y.search===b.pathname+b.search||y.search!==b.search||eW(h,e))}))}),R=[];return f.forEach(function(e,a){if(!(o||!r.some(function(t){return t.route.id===e.routeId})||l.has(a))){var i=X(h,e.path,v);if(!i)return void R.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});var s=t.fetchers.get(a),f=tn(i,e.path),p=!1;d.has(a)?p=!1:c.has(a)?(c.delete(a),p=!0):p=s&&"idle"!==s.state&&void 0===s.data?u:eK(f,U({currentUrl:y,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:m,actionStatus:w,defaultShouldRevalidate:!S&&u})),p&&R.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:f,controller:new AbortController})}}),[E,R]}function eH(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;var n=null!=t&&void 0!==t[e.id],a=null!=r&&void 0!==r[e.id];return(!!n||!a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!n&&!a)}function eW(e,t){var r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function eK(e,t){if(e.route.shouldRevalidate){var r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function e$(e,t,r,n,a){if(e){var o,i,u,s=n[e];z(s,"No route found to patch children into: routeId = "+e),s.children||(s.children=[]),u=s.children}else u=r;var c=Y(t.filter(function(e){return!u.some(function(t){return function e(t,r){return"id"in t&&"id"in r&&t.id===r.id||t.index===r.index&&t.path===r.path&&t.caseSensitive===r.caseSensitive&&((!t.children||0===t.children.length)&&(!r.children||0===r.children.length)||t.children.every(function(t,n){var a;return null==(a=r.children)?void 0:a.some(function(r){return e(t,r)})}))}(e,t)})}),a,[e||"_","patch",String((null==(i=u)?void 0:i.length)||"0")],n);(o=u).push.apply(o,L(c))}function eV(e){return g(function(){var t;return O(this,function(r){switch(r.label){case 0:return[4,Promise.all((t=e.matches.filter(function(e){return e.shouldLoad})).map(function(e){return e.resolve()}))];case 1:return[2,r.sent().reduce(function(e,r,n){return Object.assign(e,E({},t[n].route.id,r))},{})]}})})()}function eJ(e,t,r,n){var a=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(eO.test(e)){var o=new URL(e.startsWith("//")?t.protocol+e:e);if(a.includes(o.protocol))throw Error("Invalid redirect location");var i=null!=ea(o.pathname,r);if(o.origin===t.origin&&i)return ed(o.pathname)+o.search+o.hash}try{var u=n.createURL(e);if(a.includes(u.protocol))throw Error("Invalid redirect location")}catch(e){}return e}function eq(e,t,r,n){var a=e.createURL(e4(t)).toString(),o={signal:r};if(n&&te(n.formMethod)){var i=n.formMethod,u=n.formEncType;o.method=i.toUpperCase(),"application/json"===u?(o.headers=new Headers({"Content-Type":u}),o.body=JSON.stringify(n.json)):"text/plain"===u?o.body=n.text:"application/x-www-form-urlencoded"===u&&n.formData?o.body=eY(n.formData):o.body=n.formData}return new Request(a,o)}function eY(e){var t=new URLSearchParams,r=!0,n=!1,a=void 0;try{for(var o,i=e.entries()[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var u=D(o.value,2),s=u[0],c=u[1];t.append(s,"string"==typeof c?c:c.name)}}catch(e){n=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw a}}return t}function eX(e){var t=new FormData,r=!0,n=!1,a=void 0;try{for(var o,i=e.entries()[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var u=D(o.value,2),s=u[0],c=u[1];t.append(s,c)}}catch(e){n=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw a}}return t}function eG(e,t,r,n,a,o,i){var u,s,c,l,f,d,h=(s={},c=null,l=!1,f={},d=n&&e5(n[1])?n[1].error:void 0,t.forEach(function(e){if(e.route.id in r){var n=e.route.id,a=r[n];if(z(!e6(a),"Cannot handle redirect results in processLoaderData"),e5(a)){var o=a.error;void 0!==d&&(o=d,d=void 0),c=c||{},1;var h=e0(t,n);null==c[h.route.id]&&(c[h.route.id]=o);s[n]=void 0,l||(l=!0,u=eP(a.error)?a.error.status:500),a.headers&&(f[n]=a.headers)}else e7(a)?(i.set(n,a.deferredData),s[n]=a.deferredData.data,null==a.statusCode||200===a.statusCode||l||(u=a.statusCode)):(s[n]=a.data,a.statusCode&&200!==a.statusCode&&!l&&(u=a.statusCode)),a.headers&&(f[n]=a.headers)}}),void 0!==d&&n&&(c=E({},n[0],d),s[n[0]]=void 0),{loaderData:s,errors:c,statusCode:u||200,loaderHeaders:f}),v=h.loaderData,p=h.errors;return a.forEach(function(t){var r=t.key,n=t.match,a=t.controller,i=o[r];if(z(i,"Did not find corresponding fetcher result"),!a||!a.signal.aborted)if(e5(i)){var u=e0(e.matches,null==n?void 0:n.route.id);p&&p[u.route.id]||(p=U({},p,E({},u.route.id,i.error))),e.fetchers.delete(r)}else if(e6(i))z(!1,"Unhandled fetcher revalidation redirect");else if(e7(i))z(!1,"Unhandled fetcher deferred data");else{var s=tu(i.data);e.fetchers.set(r,s)}}),{loaderData:v,errors:p}}function eQ(e,t,r,n){var a=U({},t),o=!0,i=!1,u=void 0;try{for(var s,c=r[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value,f=l.route.id;if(t.hasOwnProperty(f)?void 0!==t[f]&&(a[f]=t[f]):void 0!==e[f]&&l.route.loader&&(a[f]=e[f]),n&&n.hasOwnProperty(f))break}}catch(e){i=!0,u=e}finally{try{o||null==c.return||c.return()}finally{if(i)throw u}}return a}function eZ(e){return e?e5(e[1])?{actionData:{}}:{actionData:E({},e[0],e[1].data)}:{}}function e0(e,t){return(t?e.slice(0,e.findIndex(function(e){return e.route.id===t})+1):L(e)).reverse().find(function(e){return!0===e.route.hasErrorBoundary})||e[0]}function e1(e){var t=1===e.length?e[0]:e.find(function(e){return e.index||!e.path||"/"===e.path})||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function e2(e,t){var r=void 0===t?{}:t,n=r.pathname,a=r.routeId,o=r.method,i=r.type;r.message;var u="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(u="Bad Request",o&&n&&a?s="You made a "+o+' request to "'+n+'" but did not provide a `loader` for route "'+a+'", so there is no way to handle the request.':"defer-action"===i?s="defer() is not supported in actions":"invalid-body"===i&&(s="Unable to encode submission body")):403===e?(u="Forbidden",s='Route "'+a+'" does not match URL "'+n+'"'):404===e?(u="Not Found",s='No route matches URL "'+n+'"'):405===e&&(u="Method Not Allowed",o&&n&&a?s="You made a "+o.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+a+'", so there is no way to handle the request.':o&&(s='Invalid request method "'+o.toUpperCase()+'"')),new ex(e||500,u,Error(s),!0)}function e3(e){for(var t=Object.entries(e),r=t.length-1;r>=0;r--){var n=D(t[r],2),a=n[0],o=n[1];if(e6(o))return{key:a,result:o}}}function e4(e){var t="string"==typeof e?V(e):e;return $(U({},t,{hash:""}))}function e7(e){return e.type===f.deferred}function e5(e){return e.type===f.error}function e6(e){return(e&&e.type)===f.redirect}function e8(e){return(void 0===e?"undefined":_(e))==="object"&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function e9(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"===_(e.headers)&&void 0!==e.body}function te(e){return eC.has(e.toLowerCase())}function tt(e,t,r){return g(function(){return O(this,function(n){switch(n.label){case 0:return void 0===r&&(r=!1),[4,e.deferredData.resolveData(t)];case 1:if(n.sent())return[2];if(r)try{return[2,{type:f.data,data:e.deferredData.unwrappedData}]}catch(e){return[2,{type:f.error,error:e}]}return[2,{type:f.data,data:e.deferredData.data}]}})})()}function tr(e){return new URLSearchParams(e).getAll("index").some(function(e){return""===e})}function tn(e,t){var r="string"==typeof t?V(t).search:t.search;if(e[e.length-1].route.index&&tr(r||""))return e[e.length-1];var n=ec(e);return n[n.length-1]}function ta(e){var t=e.formMethod,r=e.formAction,n=e.formEncType,a=e.text,o=e.formData,i=e.json;if(t&&r&&n){if(null!=a)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};else if(null!=o)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};else if(void 0!==i)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function to(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 ti(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 tu(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 ts(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function tc(e,t,r){return t=th(t),function(e,t){var r;if(t&&("object"==((r=t)&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e,tg()?Reflect.construct(t,r||[],th(e).constructor):t.apply(e,r))}function tl(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function tf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function td(e,t,r){return t&&tf(e.prototype,t),r&&tf(e,r),e}function th(e){return(th=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tv(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tm(e,t)}function tp(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function tm(e,t){return(tm=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ty(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var o=[],i=!0,u=!1;try{for(a=a.call(e);!(i=(r=a.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){u=!0,n=e}finally{try{i||null==a.return||a.return()}finally{if(u)throw n}}return o}}(e,t)||tb(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tb(e,t){if(e){if("string"==typeof e)return ts(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ts(e,t)}}function tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tg=function(){return!!e})()}function tw(){return(tw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}Symbol("deferred");var tS=v.createContext(null),tE=v.createContext(null),tR=v.createContext(null),tx=v.createContext(null),tP=v.createContext(null),tk=v.createContext({outlet:null,matches:[],isDataRoute:!1}),tC=v.createContext(null);function tD(e,t){var r=(void 0===t?{}:t).relative;tL()||z(!1);var n=v.useContext(tx),a=n.basename,o=n.navigator,i=tN(e,{relative:r}),u=i.hash,s=i.pathname,c=i.search,l=s;return"/"!==a&&(l="/"===s?a:eh([a,s])),o.createHref({pathname:l,search:c,hash:u})}function tL(){return null!=v.useContext(tP)}function t_(){return tL()||z(!1),v.useContext(tP).location}function tA(){return v.useContext(tP).navigationType}function tT(e){tL()||z(!1);var t=t_().pathname;return v.useMemo(function(){return er(e,en(t))},[t,e])}function tj(e){v.useContext(tx).static||v.useLayoutEffect(e)}function tO(){var e,t,r,n,a,o,i,u,s,c,l,f;return v.useContext(tk).isDataRoute?(e=tq(tV.UseNavigateStable).router,t=tX(tJ.UseNavigateStable),r=v.useRef(!1),tj(function(){r.current=!0}),v.useCallback(function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,tw({fromRouteId:t},a)))},[e,t])):(tL()||z(!1),n=v.useContext(tS),o=(a=v.useContext(tx)).basename,i=a.future,u=a.navigator,s=v.useContext(tk).matches,c=t_().pathname,l=JSON.stringify(el(s,i.v7_relativeSplatPath)),f=v.useRef(!1),tj(function(){f.current=!0}),v.useCallback(function(e,t){if(void 0===t&&(t={}),f.current){if("number"==typeof e)return void u.go(e);var r=ef(e,JSON.parse(l),c,"path"===t.relative);null==n&&"/"!==o&&(r.pathname="/"===r.pathname?o:eh([o,r.pathname])),(t.replace?u.replace:u.push)(r,t.state,t)}},[o,u,l,c,n]))}var tM=v.createContext(null);function tU(){return v.useContext(tM)}function tF(e){var t=v.useContext(tk).outlet;return t?v.createElement(tM.Provider,{value:e},t):t}function tI(){var e=v.useContext(tk).matches,t=e[e.length-1];return t?t.params:{}}function tN(e,t){var r=(void 0===t?{}:t).relative,n=v.useContext(tx).future,a=v.useContext(tk).matches,o=t_().pathname,i=JSON.stringify(el(a,n.v7_relativeSplatPath));return v.useMemo(function(){return ef(e,JSON.parse(i),o,"path"===r)},[e,i,o,r])}function tB(e,t){return tz(e,t)}function tz(e,t,r,n){tL()||z(!1);var a=v.useContext(tx).navigator,o=v.useContext(tk).matches,i=o[o.length-1],u=i?i.params:{};i&&i.pathname;var s=i?i.pathnameBase:"/";i&&i.route;var c=t_();if(t){var f,d,h="string"==typeof t?V(t):t;"/"===s||(null==(d=h.pathname)?void 0:d.startsWith(s))||z(!1),f=h}else f=c;var p=f.pathname||"/",m=p;if("/"!==s){var y=s.replace(/^\//,"").split("/");m="/"+p.replace(/^\//,"").split("/").slice(y.length).join("/")}var b=X(e,{pathname:m}),g=t$(b&&b.map(function(e){return Object.assign({},e,{params:Object.assign({},u,e.params),pathname:eh([s,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?s:eh([s,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})}),o,r,n);return t&&g?v.createElement(tP.Provider,{value:{location:tw({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:l.Pop}},g):g}var tH=v.createElement(function(){var e=t4(),t=eP(e)?e.status+" "+e.statusText:tp(e,Error)?e.message:JSON.stringify(e),r=tp(e,Error)?e.stack:null;return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),r?v.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},r):null,null)},null),tW=function(e){function t(e){var r;return tl(this,t),(r=tc(this,t,[e])).state={location:e.location,revalidation:e.revalidation,error:e.error},r}return tv(t,e),td(t,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return void 0!==this.state.error?v.createElement(tk.Provider,{value:this.props.routeContext},v.createElement(tC.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),t}(v.Component);function tK(e){var t=e.routeContext,r=e.match,n=e.children,a=v.useContext(tS);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),v.createElement(tk.Provider,{value:t},n)}function t$(e,t,r,n){if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(null==(o=n)||!o.v7_partialHydration||0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}var a,o,i=e,u=null==(a=r)?void 0:a.errors;if(null!=u){var s=i.findIndex(function(e){return e.route.id&&(null==u?void 0:u[e.route.id])!==void 0});s>=0||z(!1),i=i.slice(0,Math.min(i.length,s+1))}var c=!1,l=-1;if(r&&n&&n.v7_partialHydration)for(var f=0;f<i.length;f++){var d=i[f];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(l=f),d.route.id){var h=r.loaderData,p=r.errors,m=d.route.loader&&void 0===h[d.route.id]&&(!p||void 0===p[d.route.id]);if(d.route.lazy||m){c=!0,i=l>=0?i.slice(0,l+1):[i[0]];break}}}return i.reduceRight(function(e,n,a){var o,s,f=!1,d=null,h=null;r&&(s=u&&n.route.id?u[n.route.id]:void 0,d=n.route.errorElement||tH,c&&(l<0&&0===a?(o="route-fallback",t9[o]||(t9[o]=!0),f=!0,h=null):l===a&&(f=!0,h=n.route.hydrateFallbackElement||null)));var p=t.concat(i.slice(0,a+1)),m=function(){var t;return t=s?d:f?h:n.route.Component?v.createElement(n.route.Component,null):n.route.element?n.route.element:e,v.createElement(tK,{match:n,routeContext:{outlet:e,matches:p,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===a)?v.createElement(tW,{location:r.location,revalidation:r.revalidation,component:d,error:s,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var tV=((o=tV||{}).UseBlocker="useBlocker",o.UseRevalidator="useRevalidator",o.UseNavigateStable="useNavigate",o),tJ=((i=tJ||{}).UseBlocker="useBlocker",i.UseLoaderData="useLoaderData",i.UseActionData="useActionData",i.UseRouteError="useRouteError",i.UseNavigation="useNavigation",i.UseRouteLoaderData="useRouteLoaderData",i.UseMatches="useMatches",i.UseRevalidator="useRevalidator",i.UseNavigateStable="useNavigate",i.UseRouteId="useRouteId",i);function tq(e){var t=v.useContext(tS);return t||z(!1),t}function tY(e){var t=v.useContext(tE);return t||z(!1),t}function tX(e){var t,r=((t=v.useContext(tk))||z(!1),t),n=r.matches[r.matches.length-1];return n.route.id||z(!1),n.route.id}function tG(){return tX(tJ.UseRouteId)}function tQ(){return tY(tJ.UseNavigation).navigation}function tZ(){var e=tq(tV.UseRevalidator),t=tY(tJ.UseRevalidator);return v.useMemo(function(){return{revalidate:e.router.revalidate,state:t.revalidation}},[e.router.revalidate,t.revalidation])}function t0(){var e=tY(tJ.UseMatches),t=e.matches,r=e.loaderData;return v.useMemo(function(){return t.map(function(e){return Q(e,r)})},[t,r])}function t1(){var e=tY(tJ.UseLoaderData),t=tX(tJ.UseLoaderData);return e.errors&&null!=e.errors[t]?void console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")"):e.loaderData[t]}function t2(e){return tY(tJ.UseRouteLoaderData).loaderData[e]}function t3(){var e=tY(tJ.UseActionData),t=tX(tJ.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function t4(){var e,t=v.useContext(tC),r=tY(tJ.UseRouteError),n=tX(tJ.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}function t7(){var e=v.useContext(tR);return null==e?void 0:e._data}function t5(){var e=v.useContext(tR);return null==e?void 0:e._error}var t6=0;function t8(e){var t=tq(tV.UseBlocker),r=t.router,n=t.basename,a=tY(tJ.UseBlocker),o=ty(v.useState(""),2),i=o[0],u=o[1],s=v.useCallback(function(t){if("function"!=typeof e)return!!e;if("/"===n)return e(t);var r=t.currentLocation,a=t.nextLocation,o=t.historyAction;return e({currentLocation:tw({},r,{pathname:ea(r.pathname,n)||r.pathname}),nextLocation:tw({},a,{pathname:ea(a.pathname,n)||a.pathname}),historyAction:o})},[n,e]);return v.useEffect(function(){var e=String(++t6);return u(e),function(){return r.deleteBlocker(e)}},[r]),v.useEffect(function(){""!==i&&r.getBlocker(i,s)},[r,i,s]),i&&a.blockers.has(i)?a.blockers.get(i):ej}var t9={},re=function(e,t,r){};function rt(e,t){(null==e?void 0:e.v7_startTransition)===void 0&&re("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(null==e?void 0:e.v7_relativeSplatPath)!==void 0||t&&void 0!==t.v7_relativeSplatPath||re("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&re("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&re("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&re("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&re("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}var rr=v.startTransition;function rn(e){var t=e.basename,r=e.children,n=e.initialEntries,a=e.initialIndex,o=e.future,i=v.useRef();null==i.current&&(i.current=I({initialEntries:n,initialIndex:a,v5Compat:!0}));var u=i.current,s=ty(v.useState({action:u.action,location:u.location}),2),c=s[0],l=s[1],f=(o||{}).v7_startTransition,d=v.useCallback(function(e){f&&rr?rr(function(){return l(e)}):l(e)},[l,f]);return v.useLayoutEffect(function(){return u.listen(d)},[u,d]),v.useEffect(function(){return rt(o)},[o]),v.createElement(ru,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:u,future:o})}function ra(e){var t=e.to,r=e.replace,n=e.state,a=e.relative;tL()||z(!1);var o=v.useContext(tx),i=o.future;o.static;var u=v.useContext(tk).matches,s=t_().pathname,c=tO(),l=JSON.stringify(ef(t,el(u,i.v7_relativeSplatPath),s,"path"===a));return v.useEffect(function(){return c(JSON.parse(l),{replace:r,state:n,relative:a})},[c,l,a,r,n]),null}function ro(e){return tF(e.context)}function ri(e){z(!1)}function ru(e){var t=e.basename,r=e.children,n=e.location,a=e.navigationType,o=void 0===a?l.Pop:a,i=e.navigator,u=e.static,s=void 0!==u&&u,c=e.future;tL()&&z(!1);var f=(void 0===t?"/":t).replace(/^\/*/,"/"),d=v.useMemo(function(){return{basename:f,navigator:i,static:s,future:tw({v7_relativeSplatPath:!1},c)}},[f,c,i,s]);"string"==typeof n&&(n=V(n));var h=n.pathname,p=void 0===h?"/":h,m=n.search,y=void 0===m?"":m,b=n.hash,g=void 0===b?"":b,w=n.state,S=void 0===w?null:w,E=n.key,R=void 0===E?"default":E,x=v.useMemo(function(){var e=ea(p,f);return null==e?null:{location:{pathname:e,search:y,hash:g,state:S,key:R},navigationType:o}},[f,p,y,g,S,R,o]);return null==x?null:v.createElement(tx.Provider,{value:d},v.createElement(tP.Provider,{children:void 0===r?null:r,value:x}))}function rs(e){var t=e.children,r=e.location;return tz(rv(t),r)}function rc(e){var t=e.children,r=e.errorElement,n=e.resolve;return v.createElement(rd,{resolve:n,errorElement:r},v.createElement(rh,null,t))}var rl=((u=rl||{})[u.pending=0]="pending",u[u.success=1]="success",u[u.error=2]="error",u),rf=new Promise(function(){}),rd=function(e){function t(e){var r;return tl(this,t),(r=tc(this,t,[e])).state={error:null},r}return tv(t,e),td(t,[{key:"componentDidCatch",value:function(e,t){console.error("<Await> caught the following error during render",e,t)}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.errorElement,n=e.resolve,a=null,o=rl.pending;if(tp(n,Promise))if(this.state.error){o=rl.error;var i=this.state.error;Object.defineProperty(a=Promise.reject().catch(function(){}),"_tracked",{get:function(){return!0}}),Object.defineProperty(a,"_error",{get:function(){return i}})}else n._tracked?o="_error"in(a=n)?rl.error:"_data"in a?rl.success:rl.pending:(o=rl.pending,Object.defineProperty(n,"_tracked",{get:function(){return!0}}),a=n.then(function(e){return Object.defineProperty(n,"_data",{get:function(){return e}})},function(e){return Object.defineProperty(n,"_error",{get:function(){return e}})}));else o=rl.success,Object.defineProperty(a=Promise.resolve(),"_tracked",{get:function(){return!0}}),Object.defineProperty(a,"_data",{get:function(){return n}});if(o===rl.error&&tp(a._error,eb))throw rf;if(o===rl.error&&!r)throw a._error;if(o===rl.error)return v.createElement(tR.Provider,{value:a,children:r});if(o===rl.success)return v.createElement(tR.Provider,{value:a,children:t});throw a}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}}]),t}(v.Component);function rh(e){var t=e.children,r=t7(),n="function"==typeof t?t(r):t;return v.createElement(v.Fragment,null,n)}function rv(e,t){void 0===t&&(t=[]);var r=[];return v.Children.forEach(e,function(e,n){if(v.isValidElement(e)){var a,o=((function(e){if(Array.isArray(e))return ts(e)})(a=t)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||tb(a)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([n]);if(e.type===v.Fragment)return void r.push.apply(r,rv(e.props.children,o));e.type!==ri&&z(!1),e.props.index&&e.props.children&&z(!1);var i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=rv(e.props.children,o)),r.push(i)}}),r}function rp(e){return t$(e)}function rm(e){var t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:v.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:v.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:v.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function ry(e,t){return eF({basename:null==t?void 0:t.basename,future:tw({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:I({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:rm,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}function rb(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function rg(e,t,r,n,a,o,i){try{var u=e[o](i),s=u.value}catch(e){r(e);return}u.done?t(s):Promise.resolve(s).then(n,a)}function rw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var o=[],i=!0,u=!1;try{for(a=a.call(e);!(i=(r=a.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){u=!0,n=e}finally{try{i||null==a.return||a.return()}finally{if(u)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rb(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rb(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rS(){return(rS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function rE(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}var rR="application/x-www-form-urlencoded";function rx(e){return null!=e&&"string"==typeof e.tagName}function rP(e){var t,r;return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||(t=e,null!=(r=URLSearchParams)&&"u">typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](t):t instanceof r)?e:Object.keys(e).reduce(function(t,r){var n=e[r];return t.concat(Array.isArray(n)?n.map(function(e){return[r,e]}):[[r,n]])},[]))}var rk=null,rC=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function rD(e){return null==e||rC.has(e)?e:null}var rL=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],r_=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],rA=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function rT(e,t){return eF({basename:null==t?void 0:t.basename,future:rS({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:N({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||rO(),routes:e,mapRouteProperties:rm,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function rj(e,t){return eF({basename:null==t?void 0:t.basename,future:rS({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:B({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||rO(),routes:e,mapRouteProperties:rm,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function rO(){var e,t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=rS({},t,{errors:function(e){if(!e)return null;var t=Object.entries(e),r={},n=!0,a=!1,o=void 0;try{for(var i,u=t[Symbol.iterator]();!(n=(i=u.next()).done);n=!0){var s=rw(i.value,2),c=s[0],l=s[1];if(l&&"RouteErrorResponse"===l.__type)r[c]=new ex(l.status,l.statusText,l.data,!0===l.internal);else if(l&&"Error"===l.__type){if(l.__subType){var f=window[l.__subType];if("function"==typeof f)try{var d=new f(l.message);d.stack="",r[c]=d}catch(e){}}if(null==r[c]){var h=Error(l.message);h.stack="",r[c]=h}}else r[c]=l}}catch(e){a=!0,o=e}finally{try{n||null==u.return||u.return()}finally{if(a)throw o}}return r}(t.errors)})),t}var rM=v.createContext({isTransitioning:!1}),rU=v.createContext(new Map),rF=v.startTransition,rI=p.flushSync,rN=v.useId;function rB(e){rI?rI(e):e()}var rz=function e(){var t=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.status="pending",this.promise=new Promise(function(e,r){t.resolve=function(r){"pending"===t.status&&(t.status="resolved",e(r))},t.reject=function(e){"pending"===t.status&&(t.status="rejected",r(e))}})};function rH(e){var t=e.fallbackElement,r=e.router,n=e.future,a=rw(v.useState(r.state),2),o=a[0],i=a[1],u=rw(v.useState(),2),s=u[0],c=u[1],l=rw(v.useState({isTransitioning:!1}),2),f=l[0],d=l[1],h=rw(v.useState(),2),p=h[0],m=h[1],y=rw(v.useState(),2),b=y[0],g=y[1],w=rw(v.useState(),2),S=w[0],E=w[1],R=v.useRef(new Map),x=(n||{}).v7_startTransition,P=v.useCallback(function(e){if(x)rF?rF(e):e();else e()},[x]),k=v.useCallback(function(e,t){var n=t.deletedFetchers,a=t.flushSync,o=t.viewTransitionOpts;e.fetchers.forEach(function(e,t){void 0!==e.data&&R.current.set(t,e.data)}),n.forEach(function(e){return R.current.delete(e)});var u=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(!o||u)return void(a?rB(function(){return i(e)}):P(function(){return i(e)}));if(a){rB(function(){b&&(p&&p.resolve(),b.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:o.currentLocation,nextLocation:o.nextLocation})});var s=r.window.document.startViewTransition(function(){rB(function(){return i(e)})});s.finished.finally(function(){rB(function(){m(void 0),g(void 0),c(void 0),d({isTransitioning:!1})})}),rB(function(){return g(s)});return}b?(p&&p.resolve(),b.skipTransition(),E({state:e,currentLocation:o.currentLocation,nextLocation:o.nextLocation})):(c(e),d({isTransitioning:!0,flushSync:!1,currentLocation:o.currentLocation,nextLocation:o.nextLocation}))},[r.window,b,p,R,P]);v.useLayoutEffect(function(){return r.subscribe(k)},[r,k]),v.useEffect(function(){f.isTransitioning&&!f.flushSync&&m(new rz)},[f]),v.useEffect(function(){if(p&&s&&r.window){var e=p.promise,t=r.window.document.startViewTransition(function(){var t;return(t=function(){return function(e,t){var r,n,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(i,"next",{value:s(0)}),u(i,"throw",{value:s(1)}),u(i,"return",{value:s(2)}),"function"==typeof Symbol&&u(i,Symbol.iterator,{value:function(){return this}}),i;function s(u){return function(s){var c=[u,s];if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&c[0]?n.return:c[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;switch(n=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){o.label=c[1];break}if(6===c[0]&&o.label<a[1]){o.label=a[1],a=c;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(c);break}a[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],n=0}finally{r=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:return P(function(){return i(s)}),[4,e];case 1:return t.sent(),[2]}})},function(){var e=this,r=arguments;return new Promise(function(n,a){var o=t.apply(e,r);function i(e){rg(o,n,a,i,u,"next",e)}function u(e){rg(o,n,a,i,u,"throw",e)}i(void 0)})})()});t.finished.finally(function(){m(void 0),g(void 0),c(void 0),d({isTransitioning:!1})}),g(t)}},[P,s,p,r.window]),v.useEffect(function(){p&&s&&o.location.key===s.location.key&&p.resolve()},[p,b,o.location,s]),v.useEffect(function(){!f.isTransitioning&&S&&(c(S.state),d({isTransitioning:!0,flushSync:!1,currentLocation:S.currentLocation,nextLocation:S.nextLocation}),E(void 0))},[f.isTransitioning,S]),v.useEffect(function(){},[]);var C=v.useMemo(function(){return{createHref:r.createHref,encodeLocation:r.encodeLocation,go:function(e){return r.navigate(e)},push:function(e,t,n){return r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})},replace:function(e,t,n){return r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}}},[r]),D=r.basename||"/",L=v.useMemo(function(){return{router:r,navigator:C,static:!1,basename:D}},[r,C,D]),_=v.useMemo(function(){return{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},[r.future.v7_relativeSplatPath]);return v.useEffect(function(){return rt(n,r.future)},[n,r.future]),v.createElement(v.Fragment,null,v.createElement(tS.Provider,{value:L},v.createElement(tE.Provider,{value:o},v.createElement(rU.Provider,{value:R.current},v.createElement(rM.Provider,{value:f},v.createElement(ru,{basename:D,location:o.location,navigationType:o.historyAction,navigator:C,future:_},o.initialized||r.future.v7_partialHydration?v.createElement(rW,{routes:r.routes,future:r.future,state:o}):t))))),null)}var rW=v.memo(function(e){var t=e.routes,r=e.future;return tz(t,void 0,e.state,r)});function rK(e){var t=e.basename,r=e.children,n=e.future,a=e.window,o=v.useRef();null==o.current&&(o.current=N({window:a,v5Compat:!0}));var i=o.current,u=rw(v.useState({action:i.action,location:i.location}),2),s=u[0],c=u[1],l=(n||{}).v7_startTransition,f=v.useCallback(function(e){l&&rF?rF(function(){return c(e)}):c(e)},[c,l]);return v.useLayoutEffect(function(){return i.listen(f)},[i,f]),v.useEffect(function(){return rt(n)},[n]),v.createElement(ru,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:i,future:n})}function r$(e){var t=e.basename,r=e.children,n=e.future,a=e.window,o=v.useRef();null==o.current&&(o.current=B({window:a,v5Compat:!0}));var i=o.current,u=rw(v.useState({action:i.action,location:i.location}),2),s=u[0],c=u[1],l=(n||{}).v7_startTransition,f=v.useCallback(function(e){l&&rF?rF(function(){return c(e)}):c(e)},[c,l]);return v.useLayoutEffect(function(){return i.listen(f)},[i,f]),v.useEffect(function(){return rt(n)},[n]),v.createElement(ru,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:i,future:n})}function rV(e){var t=e.basename,r=e.children,n=e.future,a=e.history,o=rw(v.useState({action:a.action,location:a.location}),2),i=o[0],u=o[1],s=(n||{}).v7_startTransition,c=v.useCallback(function(e){s&&rF?rF(function(){return u(e)}):u(e)},[u,s]);return v.useLayoutEffect(function(){return a.listen(c)},[a,c]),v.useEffect(function(){return rt(n)},[n]),v.createElement(ru,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:a,future:n})}var rJ="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,rq=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rY=v.forwardRef(function(e,t){var r,n=e.onClick,a=e.relative,o=e.reloadDocument,i=e.replace,u=e.state,s=e.target,c=e.to,l=e.preventScrollReset,f=e.viewTransition,d=rE(e,rL),h=v.useContext(tx).basename,p=!1;if("string"==typeof c&&rq.test(c)&&(r=c,rJ))try{var m=new URL(window.location.href),y=new URL(c.startsWith("//")?m.protocol+c:c),b=ea(y.pathname,h);y.origin===m.origin&&null!=b?c=b+y.search+y.hash:p=!0}catch(e){}var g=tD(c,{relative:a}),w=r1(c,{replace:i,state:u,target:s,preventScrollReset:l,relative:a,viewTransition:f});return v.createElement("a",rS({},d,{href:r||g,onClick:p||o?n:function(e){n&&n(e),e.defaultPrevented||w(e)},ref:t,target:s}))}),rX=v.forwardRef(function(e,t){var r,n=e["aria-current"],a=e.caseSensitive,o=e.className,i=void 0===o?"":o,u=e.end,s=void 0!==u&&u,c=e.style,l=e.to,f=e.viewTransition,d=e.children,h=rE(e,r_),p=tN(l,{relative:h.relative}),m=t_(),y=v.useContext(tE),b=v.useContext(tx),g=b.navigator,w=b.basename,S=null!=y&&na(p)&&!0===f,E=g.encodeLocation?g.encodeLocation(p).pathname:p.pathname,R=m.pathname,x=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;void 0!==a&&a||(R=R.toLowerCase(),x=x?x.toLowerCase():null,E=E.toLowerCase()),x&&w&&(x=ea(x,w)||x);var P="/"!==E&&E.endsWith("/")?E.length-1:E.length,k=R===E||!s&&R.startsWith(E)&&"/"===R.charAt(P),C=null!=x&&(x===E||!s&&x.startsWith(E)&&"/"===x.charAt(E.length)),D={isActive:k,isPending:C,isTransitioning:S},L=k?void 0===n?"page":n:void 0;r="function"==typeof i?i(D):[i,k?"active":null,C?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");var _="function"==typeof c?c(D):c;return v.createElement(rY,rS({},h,{"aria-current":L,className:r,ref:t,style:_,to:l,viewTransition:f}),"function"==typeof d?d(D):d)}),rG=v.forwardRef(function(e,t){var r=e.fetcherKey,n=e.navigate,a=e.reloadDocument,o=e.replace,i=e.state,u=e.method,s=void 0===u?"get":u,c=e.action,l=e.onSubmit,f=e.relative,d=e.preventScrollReset,h=e.viewTransition,p=rE(e,rA),m=r7(),y=r5(c,{relative:f}),b="get"===s.toLowerCase()?"get":"post";return v.createElement("form",rS({ref:t,method:b,action:y,onSubmit:a?l:function(e){if(l&&l(e),!e.defaultPrevented){e.preventDefault();var t=e.nativeEvent.submitter,a=(null==t?void 0:t.getAttribute("formmethod"))||s;m(t||e.currentTarget,{fetcherKey:r,method:a,navigate:n,replace:o,state:i,relative:f,preventScrollReset:d,viewTransition:h})}}},p))});function rQ(e){return nt({getKey:e.getKey,storageKey:e.storageKey}),null}function rZ(e){var t=v.useContext(tS);return t||z(!1),t}function r0(e){var t=v.useContext(tE);return t||z(!1),t}function r1(e,t){var r=void 0===t?{}:t,n=r.target,a=r.replace,o=r.state,i=r.preventScrollReset,u=r.relative,s=r.viewTransition,c=tO(),l=t_(),f=tN(e,{relative:u});return v.useCallback(function(t){0!==t.button||n&&"_self"!==n||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),c(e,{replace:void 0!==a?a:$(l)===$(f),state:o,preventScrollReset:i,relative:u,viewTransition:s}))},[l,c,f,a,o,n,e,i,u,s])}function r2(e){var t=v.useRef(rP(e)),r=v.useRef(!1),n=t_(),a=v.useMemo(function(){var e,a,o;return e=n.search,a=r.current?null:t.current,o=rP(e),a&&a.forEach(function(e,t){o.has(t)||a.getAll(t).forEach(function(e){o.append(t,e)})}),o},[n.search]),o=tO(),i=v.useCallback(function(e,t){var n=rP("function"==typeof e?e(a):e);r.current=!0,o("?"+n,t)},[o,a]);return[a,i]}(s=d||(d={})).UseScrollRestoration="useScrollRestoration",s.UseSubmit="useSubmit",s.UseSubmitFetcher="useSubmitFetcher",s.UseFetcher="useFetcher",s.useViewTransitionState="useViewTransitionState",(c=h||(h={})).UseFetcher="useFetcher",c.UseFetchers="useFetchers",c.UseScrollRestoration="useScrollRestoration";var r3=0,r4=function(){return"__"+String(++r3)+"__"};function r7(){var e=rZ(d.UseSubmit).router,t=v.useContext(tx).basename,r=tG();return v.useCallback(function(n,a){if(void 0===a&&(a={}),"u"<typeof document)throw Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");var o=function(e,t){if(rx(e)&&"form"===e.tagName.toLowerCase()){var r,n,a,o,i,u=e.getAttribute("action");n=u?ea(u,t):null,r=e.getAttribute("method")||"get",a=rD(e.getAttribute("enctype"))||rR,o=new FormData(e)}else if(rx(e)&&"button"===e.tagName.toLowerCase()||rx(e)&&"input"===e.tagName.toLowerCase()&&("submit"===e.type||"image"===e.type)){var s=e.form;if(null==s)throw Error('Cannot submit a <button> or <input type="submit"> without a <form>');var c=e.getAttribute("formaction")||s.getAttribute("action");if(n=c?ea(c,t):null,r=e.getAttribute("formmethod")||s.getAttribute("method")||"get",a=rD(e.getAttribute("formenctype"))||rD(s.getAttribute("enctype"))||rR,o=new FormData(s,e),!function(){if(null===rk)try{new FormData(document.createElement("form"),0),rk=!1}catch(e){rk=!0}return rk}()){var l=e.name,f=e.type,d=e.value;if("image"===f){var h=l?l+".":"";o.append(h+"x","0"),o.append(h+"y","0")}else l&&o.append(l,d)}}else if(rx(e))throw Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');else r="get",n=null,a=rR,i=e;return o&&"text/plain"===a&&(i=o,o=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:o,body:i}}(n,t),i=o.action,u=o.method,s=o.encType,c=o.formData,l=o.body;if(!1===a.navigate){var f=a.fetcherKey||r4();e.fetch(f,r,a.action||i,{preventScrollReset:a.preventScrollReset,formData:c,body:l,formMethod:a.method||u,formEncType:a.encType||s,flushSync:a.flushSync})}else e.navigate(a.action||i,{preventScrollReset:a.preventScrollReset,formData:c,body:l,formMethod:a.method||u,formEncType:a.encType||s,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function r5(e,t){var r=(void 0===t?{}:t).relative,n=v.useContext(tx).basename,a=v.useContext(tk);a||z(!1);var o=rw(a.matches.slice(-1),1)[0],i=rS({},tN(e||".",{relative:r})),u=t_();if(null==e){i.search=u.search;var s=new URLSearchParams(i.search),c=s.getAll("index");if(c.some(function(e){return""===e})){s.delete("index"),c.filter(function(e){return e}).forEach(function(e){return s.append("index",e)});var l=s.toString();i.search=l?"?"+l:""}}return(!e||"."===e)&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(i.pathname="/"===i.pathname?n:eh([n,i.pathname])),$(i)}function r6(e){var t,r=(void 0===e?{}:e).key,n=rZ(d.UseFetcher).router,a=r0(h.UseFetcher),o=v.useContext(rU),i=v.useContext(tk),u=null==(t=i.matches[i.matches.length-1])?void 0:t.route.id;o||z(!1),i||z(!1),null==u&&z(!1);var s=rN?rN():"",c=rw(v.useState(r||s),2),l=c[0],f=c[1];r&&r!==l?f(r):l||f(r4()),v.useEffect(function(){return n.getFetcher(l),function(){n.deleteFetcher(l)}},[n,l]);var p=v.useCallback(function(e,t){u||z(!1),n.fetch(l,u,e,t)},[l,u,n]),m=r7(),y=v.useCallback(function(e,t){m(e,rS({},t,{navigate:!1,fetcherKey:l}))},[l,m]),b=v.useMemo(function(){return v.forwardRef(function(e,t){return v.createElement(rG,rS({},e,{navigate:!1,fetcherKey:l,ref:t}))})},[l]),g=a.fetchers.get(l)||eT,w=o.get(l);return v.useMemo(function(){return rS({Form:b,submit:y,load:p},g,{data:w})},[b,y,p,g,w])}function r8(){return Array.from(r0(h.UseFetchers).fetchers.entries()).map(function(e){var t=rw(e,2),r=t[0],n=t[1];return rS({},n,{key:r})})}var r9="react-router-scroll-positions",ne={};function nt(e){var t,r,n=void 0===e?{}:e,a=n.getKey,o=n.storageKey,i=rZ(d.UseScrollRestoration).router,u=r0(h.UseScrollRestoration),s=u.restoreScrollPosition,c=u.preventScrollReset,l=v.useContext(tx).basename,f=t_(),p=t0(),m=tQ();v.useEffect(function(){return window.history.scrollRestoration="manual",function(){window.history.scrollRestoration="auto"}},[]),t=v.useCallback(function(){"idle"===m.state&&(ne[(a?a(f,p):null)||f.key]=window.scrollY);try{sessionStorage.setItem(o||r9,JSON.stringify(ne))}catch(e){}window.history.scrollRestoration="auto"},[o,a,m.state,f,p]),r=void 0,v.useEffect(function(){var e=null!=r?{capture:r}:void 0;return window.addEventListener("pagehide",t,e),function(){window.removeEventListener("pagehide",t,e)}},[t,r]),"u">typeof document&&(v.useLayoutEffect(function(){try{var e=sessionStorage.getItem(o||r9);e&&(ne=JSON.parse(e))}catch(e){}},[o]),v.useLayoutEffect(function(){var e=a&&"/"!==l?function(e,t){return a(rS({},e,{pathname:ea(e.pathname,l)||e.pathname}),t)}:a,t=null==i?void 0:i.enableScrollRestoration(ne,function(){return window.scrollY},e);return function(){return t&&t()}},[i,l,a]),v.useLayoutEffect(function(){if(!1!==s){if("number"==typeof s)return void window.scrollTo(0,s);if(f.hash){var e=document.getElementById(decodeURIComponent(f.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==c&&window.scrollTo(0,0)}},[f,s,c]))}function nr(e,t){var r=(t||{}).capture;v.useEffect(function(){var t=null!=r?{capture:r}:void 0;return window.addEventListener("beforeunload",e,t),function(){window.removeEventListener("beforeunload",e,t)}},[e,r])}function nn(e){var t=e.when,r=e.message,n=t8(t);v.useEffect(function(){"blocked"===n.state&&(window.confirm(r)?setTimeout(n.proceed,0):n.reset())},[n,r]),v.useEffect(function(){"blocked"!==n.state||t||n.reset()},[n,t])}function na(e,t){void 0===t&&(t={});var r=v.useContext(rM);null==r&&z(!1);var n=rZ(d.useViewTransitionState).basename,a=tN(e,{relative:t.relative});if(!r.isTransitioning)return!1;var o=ea(r.currentLocation.pathname,n)||r.currentLocation.pathname,i=ea(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=er(a.pathname,i)||null!=er(a.pathname,o)}}}]);
|